/*
Theme Name: Liebstückel
Theme URI: https://liebstueckel.heinmedia.dev
Author: heinmedia Kreativagentur
Description: Maßgeschneidertes Block-Theme für Prof. Dr. Liebstückel Consulting — 1:1-Nachbau des statischen Designs, Texte als Gutenberg-Blöcke editierbar.
Version: 0.11.2
Requires at least: 6.7
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: liebstueckel
*/

/* Aptos — vom Kunden gelieferte, lizenzierte Schnitte (woff2). Serif = Fließtext, Display = Überschriften. */
@font-face { font-family: "Aptos Serif"; src: url("/wp-content/themes/liebstueckel/assets/fonts/Aptos-Serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aptos Serif"; src: url("/wp-content/themes/liebstueckel/assets/fonts/Aptos-Serif-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Aptos Serif"; src: url("/wp-content/themes/liebstueckel/assets/fonts/Aptos-Serif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Aptos Display"; src: url("/wp-content/themes/liebstueckel/assets/fonts/Aptos-Display.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Aptos Display"; src: url("/wp-content/themes/liebstueckel/assets/fonts/Aptos-Display-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ============================================================
   Prof. Dr. Liebstückel Consulting — Homepage
   ============================================================ */
:root {
  --blue: #3f59a5;
  --blue-700: #344c8c;
  --blue-900: #26356a;
  --ink: #16213f;
  --ink-2: #2c3656;
  --muted: #5c647d;
  --orange: #ec6625;
  --orange-700: #cf531a;
  --paper: #ffffff;
  --bg: #f4f6fa;
  --mist: #eaeef6;
  --line: #e1e6f0;
  --navy: #121a32;
  --navy-2: #1b264a;

  --maxw: 1220px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 5px;
  --shadow-sm: 0 1px 2px rgba(22, 33, 63, .06), 0 2px 6px rgba(22, 33, 63, .05);
  --shadow-md: 0 6px 18px rgba(22, 33, 63, .08), 0 2px 6px rgba(22, 33, 63, .05);
  --shadow-lg: 0 24px 60px rgba(22, 33, 63, .16), 0 8px 20px rgba(22, 33, 63, .08);

  --ff-display: "Aptos Display", "Aptos", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ff-text: "Aptos Serif", Georgia, "Times New Roman", serif;

  --fs-text: 17.5px; /* Fließtext/Detailtext Leistungsseiten — zentral steuerbar (Kundenwunsch: Detailpunkte = Einleitungsgröße) */

  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--ff-text);
  color: var(--ink);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 {
  font-family: var(--ff-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* Gutenberg wrapper resets — let our own layout classes drive everything */
/* Template-Part-Wrapper auflösen, damit der Sticky-Header nicht in einem
   kurzen Wrapper „eingesperrt" ist (sonst löst er sich nach ~135px Scroll). */
.wp-block-template-part { display: contents; }
.wp-site-blocks > .wp-block-group,
.wp-block-post-content { margin: 0; }
.wp-block-group { margin-block: 0; }
.wp-block-heading { margin: 0; }
.entry-content > * { margin-block: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--orange);
  display: inline-block;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--ff-text);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  padding: 16px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease), color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(236, 102, 37, .28);
}
.btn-primary:hover { background: var(--orange-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(236,102,37,.34); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(63,89,165,.26); }
.btn-blue:hover { background: var(--blue-700); transform: translateY(-2px); }
/* Sekundär-Button: mehr als ein Nav-Link, weniger als der Primär-CTA */
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); box-shadow: none; }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(63,89,165,.22); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--blue);
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ============================================================ HEADER ============================================================ */
.site-topbar { background: var(--navy); color: rgba(255,255,255,.72); font-size: 13.5px; }
.site-topbar .container { display: flex; align-items: center; justify-content: space-between; min-height: 40px; gap: 20px; }
.site-topbar .tb-left { letter-spacing: .04em; }
.site-topbar .tb-right { display: flex; gap: 22px; align-items: center; }
.site-topbar a { display: inline-flex; align-items: center; gap: 7px; transition: color .2s; }
.site-topbar a:hover { color: #fff; }
.site-topbar svg { width: 14px; height: 14px; opacity: .8; }
@media (max-width: 760px) { .site-topbar .tb-left { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s var(--ease), border-color .3s, background .3s;
}
.site-header.scrolled {
  box-shadow: 0 1px 0 rgba(22,33,63,.06), 0 8px 30px rgba(22,33,63,.06);
  border-bottom-color: var(--line);
}
.site-header .container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 94px; gap: 24px; }
.site-header .brand { grid-column: 1; justify-self: start; }
.site-header .nav { grid-column: 2; justify-self: center; }
.site-header .header-cta { grid-column: 3; justify-self: end; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand .logo { height: 56px; width: auto; max-width: none; display: block; }
@media (max-width: 760px) { .brand .logo { height: 42px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-2);
  padding: 10px 12px; border-radius: 6px; white-space: nowrap;
  position: relative; transition: color .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 6px;
  height: 2px; background: var(--orange); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .btn { padding: 12px 20px; font-size: 14.5px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; cursor: pointer; align-items: center; justify-content: center;
}
.menu-toggle svg { width: 22px; height: 22px; color: var(--ink); }

@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(18,26,50,.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .3s var(--ease);
}
.mobile-nav.open { opacity: 1; pointer-events: auto; }
.mobile-nav .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 86vw);
  background: #fff; padding: 26px 26px 32px;
  display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform .34s var(--ease);
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open .panel { transform: none; }
.mobile-nav .panel .mhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.mobile-nav .panel .mhead .logo { height: 44px; }
.mobile-nav .panel a {
  font-size: 18px; font-weight: 500; padding: 13px 6px; border-bottom: 1px solid var(--mist); color: var(--ink);
}
.mobile-nav .panel a:hover { color: var(--blue); }
.mobile-nav .panel .btn { margin-top: 20px; }
.mclose { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; display: grid; place-items: center; }
.mclose svg { width: 22px; height: 22px; }

/* ============================================================ HERO ============================================================ */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(63,89,165,.10), transparent 60%),
    radial-gradient(700px 500px at -5% 110%, rgba(236,102,37,.06), transparent 55%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 55px 64px 72px;
  position: relative;
}
@media (max-width: 1080px) { .hero-grid { padding: 48px var(--pad) 56px; } }
.hero h1 {
  font-size: clamp(38px, 5.4vw, 66px);
  line-height: 1.04;
}
.hero h1 .hl,
.hero h1 mark { color: var(--blue); background: transparent; }
.hero .lead {
  font-size: clamp(17px, 1.55vw, 20px);
  color: var(--ink-2);
  margin-top: 24px;
  max-width: 38ch;
}
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 34px; }

.hero-media { position: relative; }
.hero-media .frame-main {
  position: relative;
  aspect-ratio: 4 / 4.4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--mist);
}
.hero-media .frame-main img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 18%; }
.hero-media .frame-sub {
  position: absolute; left: -38px; bottom: -34px;
  width: 47%; aspect-ratio: 3 / 2.1;
  border-radius: var(--radius); overflow: hidden;
  border: 5px solid #fff;
  box-shadow: var(--shadow-lg);
  background: var(--mist);
}
.hero-media .frame-sub img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute; right: -22px; top: -26px;
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 15px 20px; display: flex; align-items: center; gap: 14px;
  border-left: 4px solid var(--orange);
}
.hero-media .badge .num { font-family: var(--ff-display); font-weight: 600; font-size: 30px; color: var(--blue); line-height: 1; }
.hero-media .badge .lab { font-size: 12.5px; line-height: 1.25; color: var(--muted); max-width: 13ch; }
.hero-media .deco {
  position: absolute; right: -16px; bottom: 28px; width: 90px; height: 90px; z-index: -1;
  background-image: radial-gradient(var(--blue) 1.4px, transparent 1.4px);
  background-size: 13px 13px; opacity: .28;
}

/* stats strip */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg); }
.stats .container { display: grid; grid-template-columns: repeat(5, 1fr); }
.stats .stat { padding: 34px 28px 34px 0; position: relative; }
.stats .stat + .stat { padding-left: 34px; border-left: 1px solid var(--line); }
.stats .stat .n {
  font-family: var(--ff-display); font-weight: 600;
  font-size: clamp(34px, 3.6vw, 46px); color: var(--ink); line-height: 1;
  display: flex; align-items: baseline; gap: 3px;
}
.stats .stat .n .u { font-size: .5em; color: var(--orange); font-weight: 600; }
.stats .stat .t { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.4; }

/* ============================================================ SECTION SHELL ============================================================ */
.section { padding: clamp(64px, 8vw, 116px) 0; }
.section.alt { background: var(--bg); }
.section.navy { background: var(--navy); color: #fff; }

.sec-head { max-width: 720px; margin-bottom: 52px; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); }
.sec-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.section.navy .sec-head h2 { color: #fff; }
.section.navy .sec-head p { color: rgba(255,255,255,.72); }

/* ============================================================ SERVICES ============================================================ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px 30px;
  display: grid; grid-template-rows: auto auto auto 1fr auto; align-content: start;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-num { font-family: var(--ff-display); font-size: 15px; font-weight: 600; color: var(--orange); letter-spacing: .04em; }
.svc-icon {
  width: 56px; height: 56px; border-radius: 12px; margin: 18px 0 22px;
  background: var(--mist); color: var(--blue);
  display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.svc-icon svg { width: 28px; height: 28px; }
.svc-card:hover .svc-icon { background: var(--blue); color: #fff; }
.svc-card h3 { font-size: 23px; width: 100%; min-height: 2.3em; }
.svc-card p { margin-top: 14px; color: var(--muted); font-size: 15.5px; }
.svc-card .svc-foot { margin-top: 24px; }
.svc-badge {
  position: absolute; top: 26px; right: 26px;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange); background: rgba(236,102,37,.10); padding: 6px 11px; border-radius: 999px;
}
.svc-card.feature { background: var(--blue); border-color: var(--blue); color: #fff; }
.svc-card.feature h3 { color: #fff; }
.svc-card.feature p { color: rgba(255,255,255,.82); }
.svc-card.feature .svc-icon { background: rgba(255,255,255,.14); color: #fff; }
.svc-card.feature:hover .svc-icon { background: var(--orange); }
.svc-card.feature .svc-num { color: #ffd9c4; }
.svc-card.feature .link-arrow { color: #fff; }
.svc-card.feature::before { background: var(--orange); }

/* ============================================================ ABOUT ============================================================ */
.about-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(36px, 5vw, 76px); align-items: center; }
.about-media { position: relative; }
.about-media .pf {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.6; background: var(--mist);
}
.about-media .pf img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.about-media .qbar {
  position: absolute; right: -26px; bottom: 36px; width: 64%;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--orange);
}
.about-media .qbar .ql { font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.about-media .qbar .qt { font-family: var(--ff-display); font-size: 18px; line-height: 1.3; }
.about-name { font-family: var(--ff-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); margin-top: 8px; }
.about-role { color: var(--blue); font-weight: 600; font-size: 16px; margin-top: 8px; }
.about-grid p.bio { margin-top: 22px; color: var(--ink-2); font-size: 17.5px; }
.about-copy p + p { margin-top: 16px; }
.creds { margin-top: 28px; display: grid; gap: 2px; }
.cred { display: flex; gap: 16px; padding: 15px 4px; border-top: 1px solid var(--line); align-items: flex-start; }
.cred:last-child { border-bottom: 1px solid var(--line); }
.cred .ck { color: var(--blue); flex: none; margin-top: 2px; }
.cred .ck svg { width: 20px; height: 20px; }
.cred .ct { font-size: 15.5px; color: var(--ink-2); }
.cred .ct b { color: var(--ink); font-weight: 600; }
.about-grid .link-arrow { margin-top: 30px; }

/* ============================================================ BOOKS ============================================================ */
.books-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.books-foot { margin-top: 36px; }
.book { display: flex; flex-direction: column; }
.book .cover {
  aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden;
  position: relative; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px 20px; color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  background: linear-gradient(155deg, var(--blue-700), var(--navy));
}
.book:nth-child(2) .cover { background: linear-gradient(155deg, #45619f, #2a3b6f); }
.book:nth-child(3) .cover { background: linear-gradient(155deg, var(--orange), var(--orange-700)); }
.book:nth-child(4) .cover { background: linear-gradient(155deg, #4a5fa0, #202c52); }
.book:hover .cover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.book .cover .ct-top { display: flex; justify-content: space-between; align-items: start; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .82; }
.book .cover .bt { font-family: var(--ff-display); font-weight: 600; font-size: 19px; line-height: 1.18; letter-spacing: -.01em; }
.book .cover .bt small { display:block; font-size: 12.5px; font-weight: 500; opacity: .8; margin-top: 8px; letter-spacing: 0; text-transform: none; font-family: var(--ff-text); }
.book .cover .spine { position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: rgba(0,0,0,.18); }
.book .meta { margin-top: 16px; }
.book .meta .ed { font-size: 13px; color: var(--muted); }
.book .meta .tag { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--orange); line-height: 1.35; }

/* ============================================================ CONTACT BAND ============================================================ */
.contact-band { position: relative; overflow: hidden; }
.contact-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 80% 0%, rgba(63,89,165,.5), transparent 60%);
  opacity: .5;
}
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(36px, 5vw, 72px); align-items: center; position: relative; }
.contact-band .eyebrow { color: var(--orange); }
.contact-band h2 { font-size: clamp(30px, 4vw, 48px); color: #fff; }
.contact-band .lead { margin-top: 20px; color: rgba(255,255,255,.78); font-size: 18px; max-width: 46ch; }
.contact-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 16px; }
.contact-meta { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 28px; }
.contact-meta a { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 15.5px; transition: color .2s; }
.contact-meta a:hover { color: #fff; }
.contact-meta .ic { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; }
.contact-meta .ic svg { width: 19px; height: 19px; }
.contact-person { position: relative; }
.contact-person .pp { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3.4; background: var(--navy-2); }
.contact-person .pp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.contact-person .cap { margin-top: 16px; color: rgba(255,255,255,.8); font-size: 14px; }
.contact-person .cap b { color: #fff; display: block; font-size: 16px; font-family: var(--ff-display); }

/* ============================================================ FOOTER ============================================================ */
.site-footer { background: #0c1326; color: rgba(255,255,255,.62); padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand .logo { height: 48px; }
.site-footer .fcol h4 { font-family: var(--ff-text); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; }
.site-footer .fcol a { display: block; padding: 6px 0; color: rgba(255,255,255,.72); transition: color .2s; }
.site-footer .fcol a:hover { color: #fff; }
.site-footer .fabout { color: rgba(255,255,255,.6); margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.fsocial { display: flex; gap: 10px; margin-top: 20px; }
.fsocial a { width: 40px; height: 40px; border-radius: 9px; background: rgba(255,255,255,.07); display: grid; place-items: center; transition: background .2s, transform .2s; }
.fsocial a:hover { background: var(--blue); transform: translateY(-2px); }
.fsocial svg { width: 18px; height: 18px; color: #fff; }
.footer-bottom { margin-top: 52px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.5); }
.footer-bottom .fb-links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ============================================================ REVEAL ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ============================================================ MODAL ============================================================ */
.modal-root { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: opacity .28s var(--ease); }
.modal-root.open { opacity: 1; pointer-events: auto; }
.modal-root .scrim { position: absolute; inset: 0; background: rgba(18,26,50,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.modal {
  position: relative; width: min(560px, 100%); background: #fff; border-radius: 10px;
  box-shadow: var(--shadow-lg); overflow: hidden; transform: translateY(16px) scale(.98);
  transition: transform .32s var(--ease); max-height: 92vh; overflow-y: auto;
}
.modal-root.open .modal { transform: none; }
.modal .mtop { padding: 28px 30px 0; }
.modal .mtop .eyebrow { margin-bottom: 12px; }
.modal h3 { font-size: 26px; }
.modal .msub { color: var(--muted); margin-top: 10px; font-size: 15.5px; }
.modal form { padding: 24px 30px 30px; display: grid; gap: 16px; }
.modal .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font-family: var(--ff-text); font-size: 15.5px; color: var(--ink);
  padding: 13px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(63,89,165,.13); }
.field textarea { resize: vertical; min-height: 92px; }
.field.err input, .field.err textarea { border-color: #d23f3f; }
.field .msg { color: #d23f3f; font-size: 12.5px; margin-top: 6px; display: none; }
.field.err .msg { display: block; }
.modal .mclose-x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: none; background: var(--bg); border-radius: 8px; cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.modal .mclose-x:hover { background: var(--mist); }
.modal .mclose-x svg { width: 20px; height: 20px; color: var(--ink-2); }
.modal .privacy { font-size: 12.5px; color: var(--muted); }
.modal-success { padding: 46px 36px; text-align: center; display: none; }
.modal-success.show { display: block; }
.modal-success .ok { width: 64px; height: 64px; border-radius: 50%; background: rgba(63,89,165,.12); color: var(--blue); display: grid; place-items: center; margin: 0 auto 22px; }
.modal-success .ok svg { width: 32px; height: 32px; }
.modal-success h3 { margin-bottom: 12px; }
.modal-success p { color: var(--muted); }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-media { max-width: 520px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .about-media .qbar { right: 0; }
  .books-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-person { max-width: 460px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .stats .container { grid-template-columns: 1fr 1fr; }
  .stats .stat { padding: 24px 18px 24px 0; }
  .stats .stat:nth-child(odd) { padding-left: 0; }
  .stats .stat:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .stats .stat:nth-child(3), .stats .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .svc-grid { grid-template-columns: 1fr; }
  .hero-media .frame-sub { left: 0; }
  .hero-media .badge { right: 0; }
  .modal .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .books-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: 1fr; }
  .stats .stat, .stats .stat:nth-child(even) { padding-left: 0; border-left: none !important; border-top: 1px solid var(--line); }
}

/* ============================================================
   NATIVE-BLOCK-ANPASSUNGEN (Modus 3 — Core-Blöcke statt HTML)
   Icons via CSS-Masken, Bilder als core/image, Buttons als core/button.
   ============================================================ */

/* --- core/image in die Design-Rahmen einpassen --- */
.frame-main figure, .frame-sub figure, .about-media .pf figure, .contact-person .pp figure,
.frame-main .wp-block-image, .frame-sub .wp-block-image, .about-media .pf .wp-block-image, .contact-person .pp .wp-block-image,
.projekte-media .pf figure, .projekte-media .pf .wp-block-image { margin: 0; height: 100%; }
.frame-main img, .frame-sub img, .about-media .pf img, .contact-person .pp img, .projekte-media .pf img {
  width: 100%; height: 100%; object-fit: cover;
}

/* --- Hero-Deko als ::after (kein eigenes Element) --- */
.hero-media { isolation: isolate; }
.hero-media::after {
  content: ""; position: absolute; right: -16px; bottom: 28px; width: 90px; height: 90px; z-index: -1;
  background-image: radial-gradient(var(--blue) 1.4px, transparent 1.4px);
  background-size: 13px 13px; opacity: .28; pointer-events: none;
}

/* --- Icon-Masken-Basis --- */
.svc-icon::before, .creds li::before,
.is-arrowlink > .wp-block-button__link::after, .with-arrow > .wp-block-button__link::after {
  content: ""; display: inline-block; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}

/* Service-Icon-Motive */
.svc-icon::before { width: 28px; height: 28px; }
.ic-audit::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M11 7v4l2.5 2.5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3Cpath d='M11 7v4l2.5 2.5'/%3E%3C/svg%3E"); }
.ic-migrate::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h11'/%3E%3Cpath d='m12 4 3 3-3 3'/%3E%3Cpath d='M20 17H9'/%3E%3Cpath d='m12 14-3 3 3 3'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h11'/%3E%3Cpath d='m12 4 3 3-3 3'/%3E%3Cpath d='M20 17H9'/%3E%3Cpath d='m12 14-3 3 3 3'/%3E%3C/svg%3E"); }
.ic-training::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v11H3z'/%3E%3Cpath d='M3 16l4 3M21 16l-4 3'/%3E%3Cpath d='M8 10h8M8 13h5'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h18v11H3z'/%3E%3Cpath d='M3 16l4 3M21 16l-4 3'/%3E%3Cpath d='M8 10h8M8 13h5'/%3E%3C/svg%3E"); }

/* --- Credentials als core/list --- */
ul.creds { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 2px; }
ul.creds li {
  position: relative; padding: 15px 4px 15px 38px; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-2); line-height: 1.5;
}
ul.creds li:last-child { border-bottom: 1px solid var(--line); }
ul.creds li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 20px; height: 20px; background-color: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
ul.creds li strong, ul.creds li b { color: var(--ink); font-weight: 600; }

/* --- Buttons auf Basis core/button --- */
.wp-block-buttons.cta-row, .wp-block-buttons.contact-actions { gap: 16px 22px; align-items: center; margin: 0; }
.cta-row { margin-top: 34px !important; }
.contact-actions { margin-top: 32px !important; }
.is-primary > .wp-block-button__link, .is-blue > .wp-block-button__link {
  font-family: var(--ff-text); font-size: 16px; font-weight: 600; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius); border: 1px solid transparent;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .25s var(--ease), background .2s var(--ease), box-shadow .25s var(--ease);
}
.is-primary > .wp-block-button__link { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(236,102,37,.28); }
.is-primary > .wp-block-button__link:hover { background: var(--orange-700); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(236,102,37,.34); }
.is-blue > .wp-block-button__link { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(63,89,165,.26); }
.is-blue > .wp-block-button__link:hover { background: var(--blue-700); transform: translateY(-2px); }
.is-arrowlink > .wp-block-button__link {
  background: transparent !important; color: var(--blue); padding: 0; box-shadow: none;
  font-family: var(--ff-text); font-weight: 600; font-size: 15.5px;
  display: inline-flex; align-items: center; gap: 8px;
}
.is-arrowlink > .wp-block-button__link::after, .with-arrow > .wp-block-button__link::after {
  width: 16px; height: 16px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  transition: transform .25s var(--ease);
}
.is-arrowlink > .wp-block-button__link:hover::after { transform: translateX(5px); }
.svc-card.feature .is-arrowlink > .wp-block-button__link,
.contact-band .is-arrowlink > .wp-block-button__link { color: #fff; }

/* --- Kontakt-Meta: Icon-Box als background-image --- */
.contact-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 36px; }
.contact-meta .cm { display: inline-flex; align-items: center; gap: 12px; color: rgba(255,255,255,.86); font-size: 15.5px; }
.contact-meta .cm a { color: inherit; }
.contact-meta .cm::before {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 10px;
  background-color: rgba(255,255,255,.08); background-repeat: no-repeat; background-position: center; background-size: 19px;
}
.contact-meta .cm.ic-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E"); }
.contact-meta .cm.ic-phone::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E"); }

/* --- Buch-Cover (native): Spine + Untertitel --- */
.book .cover::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: rgba(0,0,0,.18); }
.book .cover .bt { margin: 0; }
.book .cover .bt-sub { font-size: 12.5px; font-weight: 500; opacity: .8; margin-top: 8px; font-family: var(--ff-text); color: #fff; }
.book .ct-top { display: flex; justify-content: space-between; align-items: start; }
.book .ct-top p { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .82; color: #fff; margin: 0; }

/* --- Stats (native paragraphs) --- */
.stats .stat .t { margin-top: 12px; }

/* --- Section-Headings (native) --- */
.sec-head .wp-block-heading { font-size: clamp(30px, 4vw, 46px); }
.wp-block-group.hero-copy, .wp-block-group.about-copy, .wp-block-group.contact-copy { max-width: 100%; }

/* --- Über-mich: Abstand des Werdegang-Links --- */
.about-foot { margin-top: 30px; }

/* --- Projekte-Sektion (native, vorher Inline-Styles) --- */
.proj-sec { padding-top: 0; }
.proj-inner { padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.proj-head { font-size: clamp(28px, 3.6vw, 40px); }
.projekte-media .pf { aspect-ratio: 4 / 3.1; }
.projekte-media .pf img { object-position: 50% 18%; }

/* --- Bücher: echte Verlags-Cover (core/image, verlinkt) --- */
.book .bookcover { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); transition: transform .3s var(--ease), box-shadow .3s var(--ease); line-height: 0; background: var(--mist); }
.book .bookcover a { display: block; }
.book .bookcover img { width: 100%; height: auto; display: block; }
.book:hover .bookcover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* --- 5 Stat-Spalten nur im Tablet-Bereich (NICHT < 761px, sonst überschreibt es die Mobile-Regeln) --- */
@media (max-width: 1080px) and (min-width: 761px) { .stats .container { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   UNTERSEITEN (Leistungsseiten): Sub-Hero, Content, CTA-Strip
   ============================================================ */
.subhero { background: var(--bg); position: relative; overflow: hidden; }
.subhero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(900px 460px at 90% -20%, rgba(63,89,165,.10), transparent 60%);
}
.subhero .container, .subcontent .container, .cta-strip .container { max-width: 880px; position: relative; }
.subhero h1 { font-size: clamp(34px, 5vw, 54px); }
.subhero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); margin-top: 20px; max-width: 62ch; }
.subhero .cta-row { margin-top: 30px !important; }

.subcontent .container > * + * { margin-top: 18px; }
.subcontent .container > h2 { margin-top: 46px; font-size: clamp(24px, 3vw, 32px); }
.subcontent .container > h2:first-child { margin-top: 0; }
.subcontent p { color: var(--ink-2); font-size: var(--fs-text); }
.subcontent ul.creds { margin-top: 22px; }

.cta-strip { background: var(--navy); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); }
.cta-strip p { color: rgba(255,255,255,.78); margin-top: 14px; font-size: 18px; }
.cta-strip .eyebrow { color: var(--orange); justify-content: center; }
.cta-strip .wp-block-buttons { justify-content: center; margin-top: 28px; }

/* --- Sub-Hero zweispaltig (Leistungsseiten mit Foto) --- */
.subhero .container { max-width: 1140px; }
.subhero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.subhero-grid .subhero-copy { min-width: 0; }
.subhero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.1; background: var(--mist); margin: 0; }
.subhero-media figure, .subhero-media .wp-block-image { margin: 0; height: 100%; }
.subhero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Trainings-Hero: Hochformat-Foto nach oben ausrichten, damit der Vortragende (Hr. Liebstückel) sichtbar ist */
.subhero-media.media-top img { object-position: 50% 8%; }
@media (max-width: 1080px) {
  .subhero-grid { grid-template-columns: 1fr; gap: 34px; }
  .subhero-media { max-width: 560px; aspect-ratio: 16 / 10; }
}

/* --- Benefit-Box (Kunden-„Ihr Benefit") --- */
.benefit { background: var(--mist); border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 22px 26px; font-family: var(--ff-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--ink); line-height: 1.32; }
.benefit .lab { display: block; font-family: var(--ff-text); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 8px; }
.subcontent .container > .benefit { margin-top: 36px; }

/* ============================================================
   KONTAKTFORMULAR — Wunschtermin (Datum-Chips + freie Uhrzeit)
   ============================================================ */
.field.termin > label { margin-bottom: 9px; }
.termin-dates { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.termin-dates input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.termin-dates label {
  display: inline-block; padding: 9px 13px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--ff-text); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  background: var(--bg); cursor: pointer; transition: border-color .15s, background .15s, color .15s; margin: 0;
}
.termin-dates label:hover { border-color: var(--blue); }
.termin-dates input:checked + label { border-color: var(--blue); background: rgba(63,89,165,.10); color: var(--blue); }
.termin-dates input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   FEATURE-CARDS — grafische Listen-Alternative (Leistungsseiten)
   Greift die Service-Card-Sprache der Startseite auf.
   ============================================================ */
.subcontent .container > .feature-grid { margin-top: 26px; }
.feature-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.feature-card {
  position: relative; display: flex; gap: 15px; align-items: flex-start;
  flex: 1 1 calc(50% - 8px); max-width: calc(50% - 8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; overflow: hidden;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.feature-card::before {
  content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature-card:hover::before { transform: scaleY(1); }
.feature-card .fc-ic {
  flex: none; width: 38px; height: 38px; border-radius: 10px;
  background: var(--mist); color: var(--blue); display: grid; place-items: center;
  transition: background .3s, color .3s;
}
.feature-card:hover .fc-ic { background: var(--blue); color: #fff; }
.feature-card .fc-ic::before {
  content: ""; width: 20px; height: 20px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.feature-card .fc-tx { font-size: var(--fs-text); font-weight: 500; color: var(--ink-2); line-height: 1.45; padding-top: 4px; }
@media (max-width: 600px) { .feature-card { flex-basis: 100%; max-width: 100%; } }

/* ============================================================
   REFERENZ-NAMEN (Leistungsseiten) — dezente „Vertrauen von"-Zeile
   ============================================================ */
.ref-logos { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.ref-logos .rl-lab { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 18px; }
.ref-logos .rl-list { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 30px; }
.ref-logos .rl-item { font-family: var(--ff-display); font-weight: 600; font-size: clamp(16px, 1.7vw, 19px); color: var(--ink-2); opacity: .82; white-space: nowrap; }
.subcontent .container > .ref-logos { margin-top: 44px; }

/* Echte Logo-Bilder (einheitliche Höhe, Graustufe → Farbe bei Hover) */
.logo-strip { margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.subcontent .container > .logo-strip { margin-top: 44px; }
.logo-strip .ls-lab { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin: 0 0 22px; }
.logo-strip .ls-row { display: flex; flex-wrap: wrap; align-items: center; gap: 26px 40px; }
.logo-strip .ls-row figure { margin: 0; display: flex; align-items: center; }
.logo-strip .ls-row img {
  height: 40px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1); opacity: .6; transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-strip .ls-row a:hover img, .logo-strip .ls-row figure:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 560px) { .logo-strip .ls-row { gap: 22px 28px; } .logo-strip .ls-row img { height: 32px; } }

/* ============================================================
   KUNDEN-LOGO-MARQUEE (Leistungsseiten, direkt unter dem Hero)
   In Inhaltsbreite, an beiden Rändern ausgefadet, langsam & nahtlos
   scrollend. Track wird per app.js dupliziert (Endlos-Loop).
   ============================================================ */
.section.logo-band { padding-block: 8px 30px; }
.logo-marquee {
  position: relative; overflow: hidden; padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.logo-marquee .lm-track { display: flex; align-items: center; gap: 50px; width: max-content; }
.logo-marquee.lm-on .lm-track { animation: lm-scroll 40s linear infinite; will-change: transform; }
.logo-marquee.lm-on:hover .lm-track { animation-play-state: paused; }
.logo-marquee .lm-track figure { margin: 0; flex: none; }
.logo-marquee .lm-track img {
  height: 36px; width: auto; max-width: 168px; object-fit: contain; display: block;
  filter: grayscale(1); opacity: .55; transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-marquee .lm-track img:hover { filter: grayscale(0); opacity: 1; }
@keyframes lm-scroll { to { transform: translateX(calc(-1 * var(--lm-shift, 50%))); } }
@media (prefers-reduced-motion: reduce) { .logo-marquee.lm-on .lm-track { animation: none; } }
@media (max-width: 560px) { .logo-marquee .lm-track { gap: 36px; } .logo-marquee .lm-track img { height: 30px; } }

/* ============================================================
   TESTIMONIALS (Leistungsseiten) — dezente Zitatkarten
   ============================================================ */
.testi-grid { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.testi {
  position: relative; flex: 1 1 calc(50% - 9px); max-width: calc(50% - 9px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 30px 24px; box-shadow: var(--shadow-sm);
}
.testi::before {
  content: "\201E"; position: absolute; top: 6px; left: 20px;
  font-family: var(--ff-display); font-size: 60px; line-height: 1; color: var(--orange); opacity: .18;
}
.testi .tq { position: relative; font-size: 16px; line-height: 1.6; color: var(--ink-2); font-style: italic; }
.testi .tw { margin-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--muted); font-style: normal; }
.subcontent .container > .testi-grid { margin-top: 26px; }
@media (max-width: 680px) { .testi { flex-basis: 100%; max-width: 100%; } }

/* ============================================================
   DSAG-FAKTEN-KARTE (Über uns) — Logo + Zahlen + Link
   ============================================================ */
.dsag-card {
  display: flex; align-items: center; gap: clamp(24px, 4vw, 44px); flex-wrap: wrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; margin-top: 26px; box-shadow: var(--shadow-sm);
}
.dsag-card .dsag-logo { flex: none; width: 104px; height: 104px; display: grid; place-items: center; }
.dsag-card .dsag-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.dsag-card .dsag-facts { display: flex; gap: clamp(28px, 5vw, 52px); flex-wrap: wrap; flex: 1 1 240px; }
.dsag-fact .n { font-family: var(--ff-display); font-weight: 600; font-size: clamp(28px, 3vw, 36px); color: var(--blue); line-height: 1; }
.dsag-fact .t { font-size: 14px; color: var(--muted); margin-top: 8px; max-width: 22ch; }
.dsag-card .dsag-link { flex: none; }
.dsag-card .dsag-link a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue); }
.dsag-card .dsag-link a::after { content: "\2197"; font-size: 1.1em; }
@media (max-width: 560px) { .dsag-card { flex-direction: column; align-items: flex-start; text-align: left; } }

/* Award-Hervorhebung (Über uns) */
.award-box {
  display: flex; gap: 20px; align-items: flex-start; margin-top: 26px;
  background: linear-gradient(180deg, #fff, var(--bg)); border: 1px solid var(--line);
  border-left: 4px solid var(--orange); border-radius: var(--radius); padding: 24px 28px; box-shadow: var(--shadow-sm);
}
.award-box .aw-ic { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(236,102,37,.10); color: var(--orange); display: grid; place-items: center; }
.award-box .aw-ic::before {
  content: ""; width: 24px; height: 24px; background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='6'/%3E%3Cpath d='M15.477 12.89 17 22l-5-3-5 3 1.523-9.11'/%3E%3C/svg%3E") center/contain no-repeat;
}
.award-box .aw-t { font-family: var(--ff-display); font-weight: 600; font-size: 19px; color: var(--ink); }
.award-box .aw-d { font-size: 15px; color: var(--ink-2); margin-top: 6px; line-height: 1.5; }
.award-box .aw-d a { color: var(--blue); font-weight: 600; }

/* ============================================================
   ZWEITES PROFIL (Brigitta) — about-grid gespiegelt, ohne Quote-Bar
   ============================================================ */
.about-grid.flip { grid-template-columns: 1.08fr .92fr; }
.about-grid.flip .about-media { order: 2; }
.about-grid.flip .about-copy { order: 1; }
.about-media.plain .pf { aspect-ratio: 4 / 4.4; }
.about-media.plain .pf img { object-position: 50% 22%; }

/* ============================================================
   VIDEOS-SEITE — 4 Modi + Themenblock-Karten
   ============================================================ */
.video-total {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 26px;
  font-family: var(--ff-display); font-weight: 600; font-size: clamp(18px, 2vw, 22px); color: var(--ink);
}
.video-total .vt-num { font-size: clamp(30px, 4vw, 44px); color: var(--orange); line-height: 1; }
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
.mode { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.mode .mh { font-family: var(--ff-display); font-weight: 600; font-size: 16.5px; color: var(--ink); margin-bottom: 9px; display: flex; align-items: center; gap: 9px; }
.mode .mh::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); flex: none; }
.mode .mt { font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.video-card {
  display: flex; flex-direction: column; position: relative; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 26px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.video-card::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--blue); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease); }
.video-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.video-card:hover::before { transform: scaleY(1); }
.video-card .vc-badge { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--orange); background: rgba(236,102,37,.10); padding: 6px 11px; border-radius: 999px; }
.video-card h3 { font-size: 20px; margin-top: 16px; line-height: 1.2; }
.video-card .vc-topics { margin-top: 12px; font-size: 14.5px; color: var(--muted); line-height: 1.55; flex: 1; }
.video-card .vc-foot { margin-top: 20px; }
.video-card .vc-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--blue); }
.video-card .vc-foot a::after { content: "\2197"; font-size: 1.05em; transition: transform .25s var(--ease); }
.video-card:hover .vc-foot a::after { transform: translate(2px,-2px); }
@media (max-width: 980px) { .video-grid { grid-template-columns: repeat(2, 1fr); } .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .video-grid { grid-template-columns: 1fr; } .modes { grid-template-columns: 1fr; } }

/* ============================================================
   E-BITES-SEITE — Publikationskarten (Cover + Meta + Link)
   ============================================================ */
.ebites-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.subcontent .container > .ebites-grid { margin-top: 28px; }
.ebite-card {
  display: flex; gap: 20px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s;
}
.ebite-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.ebite-card .ec-cover { flex: none; width: 78px; }
.ebite-card .ec-cover figure { margin: 0; }
.ebite-card .ec-cover img { width: 100%; border-radius: 4px; box-shadow: var(--shadow-sm); display: block; }
.ebite-card .ec-body { min-width: 0; }
.ebite-card .ec-meta { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--orange); margin: 0 0 8px; }
.ebite-card .ec-body h3 { font-size: 18px; line-height: 1.25; }
.ebite-card .ec-desc { font-size: 14px; color: var(--muted); margin-top: 9px; line-height: 1.5; }
.ebite-card .ec-link { margin-top: 13px; }
.ebite-card .ec-link a { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 14px; color: var(--blue); }
.ebite-card .ec-link a::after { content: "\2197"; font-size: 1.05em; transition: transform .25s var(--ease); }
.ebite-card:hover .ec-link a::after { transform: translate(2px,-2px); }
@media (max-width: 680px) { .ebites-grid { grid-template-columns: 1fr; } }
