/* ============================================================================
   KYBERON — Design-System (gemeinsames Stylesheet für alle Seiten)
   ============================================================================
   Diese Datei ist die EINZIGE Quelle für Styles. Änderungen hier wirken
   sofort auf allen fünf Seiten — kein Nachziehen pro Datei mehr.

   Aufbau:
     1. Design-Tokens (:root)          — Farben, Radien, Fluid-Skalen
     2. Fluid Section-Paddings         — Klassennamen identisch zur Elementor-Instanz
     3. Basis / Reset / Typografie
     4. Header, Navigation, Buttons
     5. Startseiten-Sektionen          — Hero, QA, Cards, Callouts, Tabs, CTA
     6. Reveal-Animation
     7. Responsive
     8. Seiten-Komponenten             — page-hero, Accordion, Checkliste, Formular …
     9. LEGACY                         — nur für noch nicht harmonisierte Seiten

   Farb-Kontrakt (WCAG):
     --color-ocher-deep    NUR Flächen/Rahmen/Focus — niemals als Textfarbe
     --color-ocher-text    Ocker-Textrolle auf hellem Grund (5,1–5,3:1)
     --color-ocher-accent  Headline-Signatur, nur Large Text (3,22:1)

   Seiten-Hook: jede Seite trägt eine body-Klasse (.page-home, .page-team,
   .page-paragraf80, .page-leistungen, .page-kontakt) für die wenigen
   seitenspezifischen Abweichungen.
   ============================================================================ */

  :root {
    --color-bg: #faf3e6;            /* warmes Creme/Sand */
    --color-bg-card: #ffffff;
    --color-sage: #5b7a63;          /* gedecktes Salbeigrün, Leitfarbe */
    --color-sage-deep: #3f5b47;
    --color-sage-pale: #e3ead9;
    --color-ocher: #e0a83e;         /* Sonnengelb/Ocker, Akzent */
    --color-ocher-deep: #c98d1f;    /* nur Flächen/Rahmen/Focus — NICHT als Textfarbe (WCAG) */
    --color-ocher-text: #8a5f10;    /* Ocker-Textrolle: 5,26:1 auf #fff6e6 · 5,11:1 auf #faf3e6 */
    --color-ocher-accent: #b57d15;  /* Headline-Signatur (Large Text): 3,22:1 auf #faf3e6 */
    --color-ink: #3a352c;
    --color-ink-soft: #6b6458;
    --font-sans: "Seravek", "Gill Sans Nova", "Gill Sans", Corbel, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    --radius-lg: 28px;
    --radius-md: 18px;
    --content-max: 1160px;

    /* Verfeinerte Elevation: geschichtet + salbei-getönt statt einzelnem Blur-Schatten */
    --hairline: rgba(91, 122, 99, 0.12);
    --shadow-card: 0 1px 2px rgba(58, 53, 44, 0.04), 0 10px 30px rgba(91, 122, 99, 0.09);
    --shadow-card-hover: 0 2px 4px rgba(58, 53, 44, 0.05), 0 18px 44px rgba(91, 122, 99, 0.14);

    /* ===== Fluid Design System — identische Basis wie Elementor-Instanz ===== */
    /* Source: _Blueprint-Website/_Codevorlagen/fluid_containers.css + fluid_font_sizes.css */
    --fluid-side-padding-min: 1.25rem;
    --fluid-side-padding-max: 5rem;
    --section-xxl-padding-min: 9.375rem;
    --section-xxl-padding-max: 10rem;
    --section-xl-padding-min: 6.875rem;
    --section-xl-padding-max: 7.5rem;
    --section-l-padding-min: 5.625rem;
    --section-l-padding-max: 6.25rem;
    --section-m-padding-min: 5rem;
    --section-m-padding-max: 5rem;
    --section-s-padding-min: 3.75rem;
    --section-s-padding-max: 3.75rem;
    --section-xs-padding-min: 2.5rem;
    --section-xs-padding-max: 2.5rem;
    --section-xxs-padding-min: 1.5rem;
    --section-xxs-padding-max: 1.5rem;
    --section-header-padding-min: 1.25rem;
    --section-header-padding-max: 1.25rem;
    --section-hero-height: 100vh;
    --section-offset-header: 80px;
    --section-narrow: 62.5rem;
    --section-narrow-xs: 45rem;

    --fs-sm: clamp(0.8rem, 0.17vi + 0.76rem, 0.89rem);
    --fs-base: clamp(1rem, 0.34vi + 0.91rem, 1.19rem);
    --fs-md: clamp(1.25rem, 0.61vi + 1.1rem, 1.58rem);
    --fs-lg: clamp(1.56rem, 1vi + 1.31rem, 2.11rem);
    --fs-xl: clamp(1.95rem, 1.56vi + 1.56rem, 2.81rem);
    --fs-xxl: clamp(2.44rem, 2.38vi + 1.85rem, 3.75rem);
    --fs-xxxl: clamp(3.05rem, 3.54vi + 2.17rem, 5rem);
  }

  /* Section/Container Padding — Fluid Variants (Klassennamen identisch zu Elementor) */
  .section-xxl, .section-xl, .section-l, .section-m, .section-s, .section-xxs, .section-header {
    padding-left: clamp(var(--fluid-side-padding-min), 6.522vw + -0.217rem, var(--fluid-side-padding-max)) !important;
    padding-right: clamp(var(--fluid-side-padding-min), 6.522vw + -0.217rem, var(--fluid-side-padding-max)) !important;
  }
  .section-xxl { padding-top: clamp(var(--section-xxl-padding-min), 1.087vw + 9.13rem, var(--section-xxl-padding-max)); padding-bottom: clamp(var(--section-xxl-padding-min), 1.087vw + 9.13rem, var(--section-xxl-padding-max)); }
  .section-xl { padding-top: clamp(var(--section-xl-padding-min), 1.087vw + 6.63rem, var(--section-xl-padding-max)); padding-bottom: clamp(var(--section-xl-padding-min), 1.087vw + 6.63rem, var(--section-xl-padding-max)); }
  .section-l { padding-top: clamp(var(--section-l-padding-min), 1.087vw + 5.38rem, var(--section-l-padding-max)); padding-bottom: clamp(var(--section-l-padding-min), 1.087vw + 5.38rem, var(--section-l-padding-max)); }
  .section-m { padding-top: clamp(var(--section-m-padding-min), 0vw + 5rem, var(--section-m-padding-max)); padding-bottom: clamp(var(--section-m-padding-min), 0vw + 5rem, var(--section-m-padding-max)); }
  .section-s { padding-top: clamp(var(--section-s-padding-min), 0vw + 3.75rem, var(--section-s-padding-max)); padding-bottom: clamp(var(--section-s-padding-min), 0vw + 3.75rem, var(--section-s-padding-max)); }
  .section-xxs { padding-top: clamp(var(--section-xxs-padding-min), 0vw + 1.5rem, var(--section-xxs-padding-max)); padding-bottom: clamp(var(--section-xxs-padding-min), 0vw + 1.5rem, var(--section-xxs-padding-max)); }
  .section-header { padding-top: clamp(var(--section-header-padding-min), 0vw + 1.25rem, var(--section-header-padding-max)); padding-bottom: clamp(var(--section-header-padding-min), 0vw + 1.25rem, var(--section-header-padding-max)); }

  /* Fluid Font Size Utility Classes (T-Shirt-Skala, identisch zu Elementor) */
  .fs-sm { font-size: var(--fs-sm) !important; }
  .fs-base { font-size: var(--fs-base) !important; }
  .fs-md { font-size: var(--fs-md) !important; }
  .fs-lg { font-size: var(--fs-lg) !important; }
  .fs-xl { font-size: var(--fs-xl) !important; }
  .fs-xxl { font-size: var(--fs-xxl) !important; }
  .fs-xxxl { font-size: var(--fs-xxxl) !important; }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background:
      radial-gradient(ellipse 55% 45% at 100% 2%, rgba(91, 122, 99, 0.06) 0%, transparent 60%),
      radial-gradient(ellipse 50% 40% at 0% 22%, rgba(224, 168, 62, 0.055) 0%, transparent 60%),
      radial-gradient(ellipse 60% 40% at 100% 78%, rgba(224, 168, 62, 0.05) 0%, transparent 62%),
      linear-gradient(180deg, #fbf4e7 0%, var(--color-bg) 40%, #f6eeddff 100%);
    background-attachment: fixed;
    color: var(--color-ink-soft);
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    /* Verhindert horizontales Scrollen der ganzen Seite durch Bleeding-Komponenten
       wie .service-scroller. Der Scroll innerhalb des Scrollers (overflow-x: auto
       auf .service-scroller__track) bleibt davon unberührt. */
    overflow-x: clip;
  }
  img, svg { display: block; max-width: 100%; }
  a { color: inherit; }
  ul, ol { list-style: none; }

  ::selection { background: rgba(224, 168, 62, 0.34); color: var(--color-ink); }
  :focus-visible { outline: 2px solid var(--color-ocher-deep); outline-offset: 3px; border-radius: 4px; }

  /* Sticky-Header-Offset für Anker-Sprungziele */
  section[id], h2[id] { scroll-margin-top: var(--section-offset-header); }

  h1, h2, h3, h4 {
    font-family: var(--font-sans);
    color: var(--color-sage-deep);
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.22;
    text-wrap: balance;
  }

  strong.highlight {
    font-weight: 700;
    color: var(--color-sage-deep);
  }

  .container { max-width: var(--content-max); margin: 0 auto; }

  .eyebrow {
    display: inline-block;
    font-size: max(0.75rem, calc(var(--fs-sm) * 0.88));
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-ocher-text);
    background: #fff6e6;
    border: 1px solid rgba(201, 141, 31, 0.18);
    border-radius: 999px;
    padding: 0.45em 1.1em;
    margin-bottom: 1.3rem;
  }

  .num-highlight {
    font-size: 1.15em;
    font-weight: 700;
    color: #f0c877; /* auf Dunkelgrün heller statt dunkler — 4,73:1 auf #3f5b47 */
  }

  /* ============ Header ============ */
  header.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 243, 230, 0.88);
    backdrop-filter: blur(12px) saturate(1.15);
    -webkit-backdrop-filter: blur(12px) saturate(1.15);
    border-bottom: 1px solid var(--hairline);
  }
  .header-inner {
    max-width: var(--content-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .logo {
    font-size: var(--fs-md);
    font-weight: 700;
    color: var(--color-sage-deep);
    text-decoration: none;
  }
  nav.main-nav { display: flex; gap: 2.2rem; }
  nav.main-nav a {
    text-decoration: none;
    font-size: var(--fs-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    color: var(--color-ink-soft);
    padding-bottom: 0.2em;
    background: linear-gradient(var(--color-ocher), var(--color-ocher)) no-repeat left bottom / 0 2px;
    transition: color 0.2s ease, background-size 0.25s ease;
  }
  nav.main-nav a:hover, nav.main-nav a.active { color: var(--color-sage-deep); background-size: 100% 2px; }

  .btn {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 0.85rem 1.7rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  }
  .btn:active { transform: translateY(0); }
  .btn-primary {
    background: linear-gradient(170deg, #e6b04a 0%, var(--color-ocher) 55%, #d99f33 100%);
    color: #3a2a08;
    box-shadow: 0 1px 2px rgba(58, 42, 8, 0.12), 0 6px 16px rgba(201, 141, 31, 0.22);
  }
  .btn-primary:hover { background: var(--color-ocher-deep); transform: translateY(-2px); box-shadow: 0 2px 4px rgba(58, 42, 8, 0.12), 0 12px 26px rgba(201, 141, 31, 0.35); }
  .btn-outline {
    background: transparent;
    border-color: rgba(63, 91, 71, 0.55);
    color: var(--color-sage-deep);
  }
  .btn-outline:hover { background: var(--color-sage-pale); border-color: var(--color-sage-deep); }
  /* Dritte, schwächste CTA-Stufe: navigatorische Weiterlese-Links */
  .btn-text {
    background: none;
    border: none;
    padding: 0.85rem 0;
    color: var(--color-sage-deep);
    font-weight: 700;
    font-size: var(--fs-sm);
  }
  .btn-text:hover { text-decoration: underline; text-underline-offset: 0.25em; }

  .nav-toggle {
    display: none;
    background: var(--color-sage-pale);
    border: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-sage-deep);
  }
  .nav-toggle span { top: 50%; }
  .nav-toggle span::before { top: -7px; }
  .nav-toggle span::after { top: 7px; }

  /* ============ Hero ============ */
  .hero { overflow: hidden; }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: center;
  }
  .hero h1 {
    font-size: var(--fs-xxl);
    letter-spacing: -0.022em;
    max-width: 15ch;
    margin-bottom: 1.6rem;
  }
  .hero .lede {
    font-size: var(--fs-md);
    max-width: 42ch;
    margin-bottom: 2.3rem;
  }
  .hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; }

  .hero-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, var(--color-sage-pale) 0%, #d7e3cb 100%);
    transform: rotate(1.2deg);
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.7),
      0 0 0 9px rgba(255, 255, 255, 0.35),
      0 24px 60px rgba(91, 122, 99, 0.18);
  }

  /* ============ Frage-Antwort Sections ============ */
  .qa-section { text-align: center; }
  .qa-question {
    font-size: var(--fs-xl);
    max-width: 20ch;
    margin: 0 auto 2.6rem;
  }
  .qa-answer {
    text-align: left;
    max-width: 60ch;
    margin: 0 auto;
    font-size: var(--fs-base);
  }
  .qa-answer p + p { margin-top: 1.1rem; }

  /* ============ Problem cards ============ */
  .problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
    margin-top: 2.8rem;
  }
  .problem-card {
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2.1rem;
    text-align: left;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .problem-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .problem-card .emoji-swatch {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: linear-gradient(150deg, #fbe6c1 0%, #f3d59a 100%);
    box-shadow: inset 0 0 0 1px rgba(201, 141, 31, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
  }
  .problem-card .emoji-swatch svg { width: 24px; height: 24px; stroke: var(--color-ocher-deep); }
  .problem-card h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
  .problem-card p { font-size: var(--fs-base); }

  /* ============ Cost callout ============ */
  .cost-callout {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(ellipse 60% 55% at 50% 0%, rgba(224, 168, 62, 0.14) 0%, transparent 70%),
      linear-gradient(170deg, #46654f 0%, var(--color-sage-deep) 55%, #37503e 100%);
    color: #eef3ea;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 20px 50px rgba(63, 91, 71, 0.25);
    padding: 3.6rem 3.2rem;
    text-align: center;
  }
  .cost-callout .big-number {
    font-size: var(--fs-xxxl);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
    color: var(--color-ocher);
    line-height: 1;
    margin-bottom: 0.6rem;
  }
  .cost-callout h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 1rem; }
  .cost-callout p { max-width: 52ch; margin: 0 auto 1.6rem; color: #d9e3d3; }

  /* ============ Leistungs-Cluster ============ */
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 2.8rem;
  }
  .service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2.3rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
  .service-card h3 { font-size: var(--fs-md); margin-bottom: 0.7rem; }
  .service-card p { font-size: var(--fs-base); }

  /* ============ Plan Steps ============ */
  .plan-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
  }
  /* Gestrichelte Verbindungslinie zwischen den Schritten (nur Desktop) */
  .plan-steps::before {
    content: "";
    position: absolute;
    top: 34px;
    left: calc(16.66% + 44px);
    right: calc(16.66% + 44px);
    border-top: 2px dashed rgba(91, 122, 99, 0.28);
  }
  .plan-step { text-align: center; position: relative; }
  .plan-step .step-circle {
    width: 68px; height: 68px;
    border-radius: 50%;
    background: linear-gradient(160deg, #ecf1e3 0%, var(--color-sage-pale) 100%);
    box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 6px rgba(91, 122, 99, 0.16), var(--shadow-card);
    color: var(--color-sage-deep);
    font-size: var(--fs-lg);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
  }
  .plan-step h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
  .plan-step p { font-size: var(--fs-base); }

  /* ============ Final CTA ============ */
  .final-cta {
    text-align: center;
    background:
      radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255, 255, 255, 0.22) 0%, transparent 70%),
      linear-gradient(160deg, var(--color-ocher) 0%, #eec877 100%);
    border-radius: var(--radius-lg);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 20px 50px rgba(201, 141, 31, 0.22);
    margin: 0;
    padding: 4.5rem 3rem;
  }
  .final-cta h2 { color: #3a2a08; font-size: var(--fs-xl); max-width: 18ch; margin: 0 auto 1rem; }
  .final-cta p { max-width: 46ch; margin: 0 auto 2rem; color: #4d3a0d; } /* >= 4,9:1 gegen den dunkelsten Punkt des Ocker-Verlaufs */
  .final-cta .btn-primary { background: #3a2a08; color: #fdf3dc; }
  .final-cta .btn-primary:hover { background: #24190a; }

  /* ============ Footer ============ */
  footer { font-size: var(--fs-sm); border-top: 1px solid var(--hairline); }
  footer a { transition: color 0.2s ease; }
  footer a:hover { color: var(--color-sage-deep); }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.5rem;
  }
  .footer-grid h3 {
    color: var(--color-sage-deep);
    font-size: var(--fs-sm);
    font-weight: 700; /* hält die bisherige h5-Optik trotz h3-Semantik */
    margin-bottom: 0.9rem;
  }
  .footer-grid ul li { margin-bottom: 0.55rem; }
  .footer-grid ul a { text-decoration: none; }
  .footer-grid ul a:hover { text-decoration: underline; }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: var(--fs-sm);
    padding-top: 1.6rem;
    border-top: 1px solid var(--color-sage-pale);
  }

  /* ============ Reveal Animation ============ */
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .plan-step .step-circle.pulse { animation: none; }
    html { scroll-behavior: auto; }
  }

  /* ============ Redesign-Overrides (16.07.) ============ */
  /* Zweite Akzentfarbe für den jeweils zweiten Satz einer Headline.
     Steht ausschließlich auf H1/H2 (>= 24,96px) -> WCAG Large Text, 3:1 erfüllt. */
  .hl-accent { color: var(--color-ocher-accent); }

  /* Signatur der Mission-Sektion (einzige überlebende Regel des alten Guide-Blocks) */
  .guide-signature { font-size: var(--fs-sm); font-weight: 700; color: var(--color-ocher-text); }

  /* Gemeinsame Klasse für Sektions-Headlines ohne eigene Sektionsregel */
  .section-head { font-size: var(--fs-xl); max-width: 26ch; margin-bottom: 1rem; }
  .section-head--center { margin-inline: auto; }

  /* Problem-Sektion: dreizeilige Headline, letzter Satz allein in Zeile 3 */
  #problem .qa-question { max-width: 42ch; text-wrap: pretty; }
  #problem .qa-question .hl-accent { display: block; }
  #problem .qa-answer { max-width: 62ch; }

  /* Cost-Callout: größere Headline, breiterer Text, weniger Seiten-Padding */
  .cost-callout { padding-left: 2rem; padding-right: 2rem; }
  .cost-callout h3 { font-size: var(--fs-xl); }
  .cost-callout p { max-width: 66ch; }
  .cost-callout .big-number { font-size: clamp(4.5rem, 6vw + 2.5rem, 7.5rem); }
  /* Outline-Stufe auf Dunkelgrün invertiert */
  .cost-callout .btn-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; }
  .cost-callout .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

  /* Service-Cards: Foto oben statt Icon */
  .service-card { padding: 0; overflow: hidden; }
  .service-card__media {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }
  .service-card__body { padding: 1.9rem 2rem 2.2rem; }

  /* Plan: Headline einzeilig */
  #plan .qa-question { max-width: none; }

  /* Plan-Schritte: aktive, kurz pulsierende Zahl */
  .plan-step .step-circle { transition: background 0.4s ease, color 0.4s ease; }
  .plan-step .step-circle.is-active {
    background: linear-gradient(160deg, #eec877 0%, var(--color-ocher) 100%);
    color: #3a2a08;
    box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 6px rgba(224, 168, 62, 0.4), var(--shadow-card);
  }
  .plan-step .step-circle.pulse { animation: stepPulse 0.9s ease; }
  @keyframes stepPulse {
    0%   { box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 6px rgba(224, 168, 62, 0.6), 0 0 0 8px rgba(224, 168, 62, 0.5); }
    100% { box-shadow: 0 0 0 5px var(--color-bg), 0 0 0 6px rgba(224, 168, 62, 0), 0 0 0 28px rgba(224, 168, 62, 0); }
  }

  /* Szenario-Headline: breiter, zweifarbig, max. 3 Zeilen */
  .scenario-head { max-width: 46ch; margin-bottom: 2.6rem; font-size: var(--fs-xl); }
  .scenario-head span { display: block; }

  /* Szenarien: versetzte, alternierende Text/Bild-Kombination */
  .scenario-alt { display: flex; flex-direction: column; gap: 2.6rem; margin-top: 2.8rem; }
  .scenario-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 340px;
    background: linear-gradient(152deg, #ffffff 0%, #fdf8ee 100%);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .scenario-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  /* min-width: 0 — ohne dies bläht die min-content-Breite eines langen Kompositums
     (z. B. "Unternehmenseinsatz") die 1fr-Spalte über die Kartenbreite hinaus auf;
     overflow: hidden der Karte schneidet den Text dann ab (verifiziert bei 320px). */
  .scenario-item__media { min-height: 260px; min-width: 0; }
  .scenario-item__media img { width: 100%; height: 100%; object-fit: cover; }
  .scenario-item__text {
    align-self: center;
    padding: 2.6rem 2.8rem;
    min-width: 0;
  }
  /* hyphens: auto (lang="de") bricht lange Komposita sauber; break-word als Fallback */
  .scenario-item__text h3 {
    font-size: var(--fs-lg);
    margin-bottom: 0.7rem;
    hyphens: auto;
    overflow-wrap: break-word;
  }
  .scenario-item__text p { font-size: var(--fs-base); margin-bottom: 1.1rem; }
  .scenario-item__text a {
    display: inline-block;
    font-weight: 700;
    color: var(--color-sage-deep);
    text-decoration: none;
    transition: transform 0.2s ease;
  }
  .scenario-item__text a:hover { text-decoration: underline; text-underline-offset: 0.25em; transform: translateX(3px); }
  /* Versatz + alternierende Bildseite */
  .scenario-item--a { margin-right: 9%; }
  .scenario-item--b { margin-left: 9%; }
  .scenario-item--b .scenario-item__media { order: 2; }

  /* Problem-Sektion: Lead zentriert wie die Headline */
  #problem .qa-answer { text-align: center; }

  /* Vertrauens-Lead: vormals Inline-Styles am Container und am Absatz */
  #vertrauen .qa-answer { max-width: 58ch; margin: 0 auto 2rem; text-align: center; }

  /* Hero farblich absetzen + Divider zur Folge-Sektion */
  .hero {
    background:
      radial-gradient(ellipse 90% 70% at 78% 18%, rgba(224, 168, 62, 0.10) 0%, transparent 60%),
      linear-gradient(180deg, #fdf9f0 0%, #fbf5e8 55%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--hairline);
  }

  /* Hero: zwei versetzte, leicht überlappende Motive */
  .hero-visual {
    background: none;
    box-shadow: none;
    transform: none;
    /* Höhe an die Breite koppeln — hält die Überlappung der zwei Motive bei jeder Breite */
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  .hero-photo {
    position: absolute;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow:
      0 0 0 6px #fff,
      0 22px 50px rgba(91, 122, 99, 0.20);
  }
  .hero-photo--main {
    width: 74%;
    aspect-ratio: 4 / 5;
    top: 0; left: 0;
    transform: rotate(-1.4deg);
    z-index: 1;
  }
  .hero-photo--accent {
    width: 52%;
    aspect-ratio: 1 / 1;
    right: 0; bottom: 0;
    transform: rotate(2deg);
    box-shadow:
      0 0 0 6px #fff,
      0 16px 40px rgba(201, 141, 31, 0.22);
    z-index: 2;
  }

  /* Mission-Statement (ehem. Guide-Callout) — dezent, zweispaltig, im Raster */
  .mission-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-top: 1.4rem;
  }
  .mission-head {
    font-size: var(--fs-lg);
    line-height: 1.32;
    color: var(--color-sage-deep);
    max-width: 30ch;
    text-wrap: pretty;
  }
  .mission-head .hl-accent { display: block; }
  .mission-body { max-width: 60ch; }
  .mission-body p + p { margin-top: 1.1rem; }

  /* Vertrauens-Tabs (statt Button-artiger Pills) */
  .trust-tabs { max-width: 820px; margin: 2.6rem auto 0; }
  .tab-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    border-bottom: 1px solid var(--hairline);
  }
  .tab {
    font-family: var(--font-sans);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--color-ink-soft);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.7rem 1.05rem;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
  }
  .tab:hover { color: var(--color-sage-deep); }
  .tab[aria-selected="true"] {
    color: var(--color-sage-deep);
    background: #fff;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border-bottom-color: var(--color-ocher);
    box-shadow: 0 -2px 6px rgba(58, 53, 44, 0.05);
  }
  /* Alle Panes gestapelt -> Box immer gleich hoch, Button darunter springt nicht */
  .tab-panels {
    display: grid;
    margin-top: 1.6rem;
    background: #fff;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 2rem 2.2rem;
  }
  .tab-panel {
    grid-area: 1 / 1;
    max-width: 62ch;
    margin: 0 auto;
    text-align: left; /* stoppt die Zentrierungs-Vererbung aus der Sektion */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .tab-panel.is-active { visibility: visible; opacity: 1; }

  /* ============ Responsive ============ */
  @media (max-width: 980px) {
    .scenario-item { grid-template-columns: 1fr; min-height: 0; }
    .mission-grid { grid-template-columns: 1fr; gap: 1.2rem; }
    .mission-head { max-width: none; }
    .scenario-item--a, .scenario-item--b { margin-left: 0; margin-right: 0; }
    .scenario-item--b .scenario-item__media { order: 0; }
    .scenario-item__media { min-height: 210px; }
    .hero-grid { grid-template-columns: 1fr; }
    /* width:100% nötig: leeres Div + margin:auto kollabiert sonst auf 0 Breite */
    .hero-visual { width: 100%; max-width: 420px; margin: 0 auto; }
    .problem-cards { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .plan-steps { grid-template-columns: 1fr; gap: 2.5rem; }
    .plan-steps::before { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .final-cta { margin: 0; padding: 3rem 1.6rem; }
  }
  @media (max-width: 720px) {
    nav.main-nav { display: none; }
    .nav-toggle { display: block; }
    body.nav-open nav.main-nav {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%; left: 0; right: 0;
      background: var(--color-bg);
      padding: 1.4rem 2rem 2rem;
      gap: 1rem;
      border-radius: 0 0 var(--radius-lg) var(--radius-lg);
      box-shadow: 0 12px 24px rgba(0,0,0,0.08);
    }
    body.nav-open nav.main-nav a { align-self: flex-start; }
    .footer-grid { grid-template-columns: 1fr; }
  }

  /* ============================================================
     SEITEN-KOMPONENTEN
     Bausteine, die nur auf einzelnen Unterseiten vorkommen.
     Basis-Werte gelten für alle; Abweichungen einzelner Seiten
     werden über die body-Klasse (.page-*) gesetzt.
     ============================================================ */

  /* ---------- Unterseiten-Hero ----------
     Flächenbehandlung identisch zum Startseiten-Hero: Verlauf + Divider. */
  .page-hero {
    text-align: center;
    background:
      radial-gradient(ellipse 90% 70% at 78% 18%, rgba(224, 168, 62, 0.10) 0%, transparent 60%),
      linear-gradient(180deg, #fdf9f0 0%, #fbf5e8 55%, var(--color-bg) 100%);
    border-bottom: 1px solid var(--hairline);
  }
  .page-hero h1 { font-size: var(--fs-xxl); max-width: 26ch; margin: 0 auto 1.4rem; }
  .page-hero .lede { font-size: var(--fs-md); max-width: 58ch; margin: 0 auto; }
  .page-hero .cta-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

  /* Seitenspezifische Feinabstimmung der Hero-Zeilenumbrüche (Bestandswerte) */
  .page-team .page-hero h1,
  .page-kontakt .page-hero h1 { max-width: 22ch; }
  .page-leistungen .page-hero h1 { max-width: 28ch; }
  .page-team .page-hero .lede { max-width: 56ch; }
  .page-kontakt .page-hero .lede { max-width: 60ch; }
  .page-paragraf80 .page-hero .lede { margin-bottom: 1rem; }
  .page-paragraf80 .page-hero .lede + .lede {
    margin-top: 0.6rem;
    font-weight: 700;
    color: var(--color-sage-deep);
  }

  /* ---------- Eyebrow-Varianten ---------- */
  .eyebrow.on-dark {
    background: rgba(46, 69, 52, 0.55);
    color: #f0dca6;
    border: 1px solid rgba(240, 220, 166, 0.22);
  }
  /* Ocker-Textrolle statt Flächenfarbe — --color-ocher-deep verfehlt auf Weiß die WCAG-AA-Schwelle */
  .eyebrow.on-light {
    background: #ffffff;
    color: var(--color-ocher-text);
    border: 1px solid rgba(201, 141, 31, 0.22);
  }

  /* ---------- Cost-Callout: Zusatz auf Unterseiten ---------- */
  .cost-callout p strong { color: #fff; }
  .final-cta .phone-note { font-size: var(--fs-sm); color: #4d3a0d; margin-top: 1.2rem; }

  /* ---------- Accordion (team, §80) ----------
     Geschlossene Panels via visibility aus Screenreader- und Tab-Reihenfolge nehmen. */
  .accordion {
    max-width: 68ch;
    margin: 2.4rem auto 0;
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
  }
  .page-paragraf80 .accordion { max-width: 74ch; }
  .accordion-item + .accordion-item { border-top: 1px solid var(--color-sage-pale); }
  .accordion-trigger {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    font-weight: 700;
    color: var(--color-sage-deep);
    padding: 1.4rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  .accordion-trigger:hover { background: rgba(91, 122, 99, 0.04); }
  .accordion-trigger .toggle-icon {
    flex-shrink: 0;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--color-sage-pale);
    color: var(--color-sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  }
  .accordion-trigger .toggle-icon svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none;
    stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  }
  .accordion-item.open .accordion-trigger .toggle-icon {
    transform: rotate(90deg);
    background: var(--color-sage);
    color: #fff;
  }
  .accordion-panel {
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.35s ease, visibility 0s linear 0.35s;
  }
  .accordion-item.open .accordion-panel {
    max-height: 800px;
    visibility: visible;
    transition: max-height 0.35s ease, visibility 0s linear 0s;
  }
  .accordion-panel-inner { padding: 0 1.8rem 1.6rem; font-size: var(--fs-sm); }

  /* ---------- Checkliste (§80) ---------- */
  .checklist { max-width: 66ch; margin: 2.4rem auto 0; }
  .checklist li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-top: 1px solid var(--color-sage-pale);
    text-align: left;
  }
  .checklist li:last-child { border-bottom: 1px solid var(--color-sage-pale); }
  .checklist .bullet {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: var(--color-sage-pale);
    color: var(--color-sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .checklist .bullet svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none;
    stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  }
  .checklist strong { color: var(--color-sage-deep); }

  /* ---------- Portrait-Platzhalter (team) ----------
     Bewusst KEIN Foto: Initialen statt Stockbild einer fremden Person.
     Maße identisch zu .scenario-item__media — späterer Foto-Einbau ist ein reiner Markup-Tausch. */
  .portrait-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: linear-gradient(152deg, #ecf1e3 0%, var(--color-sage-pale) 100%);
    color: var(--color-sage-deep);
    font-size: var(--fs-xxl);
    font-weight: 800;
    letter-spacing: 0.02em;
  }

  /* ---------- Pull-Quote (team) ---------- */
  .pull-quote {
    position: relative;
    max-width: 46ch;
    margin: 0 auto;
    padding: 2.6rem 2.8rem 2.6rem 3.2rem;
    background: linear-gradient(152deg, #ffffff 0%, #fdf8ee 100%);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
  }
  .pull-quote::before {
    content: "";
    position: absolute;
    left: 0; top: 1.6rem; bottom: 1.6rem;
    width: 5px;
    border-radius: 0 5px 5px 0;
    background: linear-gradient(180deg, var(--color-ocher) 0%, #eec877 100%);
  }
  .pull-quote blockquote p {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-sage-deep);
    line-height: 1.5;
    margin-bottom: 1.2rem;
  }
  .pull-quote figcaption { font-size: var(--fs-sm); font-weight: 700; color: var(--color-ocher-text); }

  /* ---------- Kontakt-Karten & Formular (kontakt) ---------- */
  .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2rem; align-items: start; }
  .contact-card {
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .contact-card h3 { font-size: var(--fs-md); margin-bottom: 1.3rem; }
  .contact-detail { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.3rem; }
  .contact-detail:last-child { margin-bottom: 0; }
  .contact-detail .detail-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--color-sage-pale);
    color: var(--color-sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .contact-detail .detail-icon svg {
    width: 18px; height: 18px;
    stroke: currentColor; fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  .contact-detail .detail-body { flex: 1; min-width: 0; }
  .contact-detail .label {
    display: block;
    font-size: max(0.75rem, calc(var(--fs-sm) * 0.85));
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-ocher-text);
    margin-bottom: 0.25rem;
  }
  .contact-detail .value {
    font-size: var(--fs-base);
    font-weight: 600;
    color: var(--color-sage-deep);
    word-break: break-word;
  }

  .form-card {
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2.6rem;
    box-shadow: var(--shadow-card);
  }
  .form-card h3 { font-size: var(--fs-md); margin-bottom: 1.6rem; }
  .form-group { margin-bottom: 1.4rem; }
  .form-group label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-sage-deep);
    margin-bottom: 0.5rem;
  }
  .form-group .required { color: var(--color-ocher-text); }
  .form-group input, .form-group textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: var(--fs-base);
    color: var(--color-ink);
    background: var(--color-bg);
    border: 1.5px solid var(--color-sage-pale);
    border-radius: var(--radius-md);
    padding: 0.85rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  }
  .form-group input::placeholder, .form-group textarea::placeholder { color: rgba(107, 100, 88, 0.55); }
  .form-group input:hover, .form-group textarea:hover { border-color: rgba(91, 122, 99, 0.28); }
  .form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-sage);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(91, 122, 99, 0.12);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-hint { font-size: var(--fs-sm); color: var(--color-ink-soft); margin-top: 0.4rem; }
  .form-submit { width: 100%; text-align: center; font-size: var(--fs-base); border: none; padding: 1rem 1.7rem; }
  .form-note { font-size: var(--fs-sm); text-align: center; margin-top: 1rem; }
  .form-success {
    display: none;
    background: var(--color-sage-pale);
    color: var(--color-sage-deep);
    border: 1px solid rgba(63, 91, 71, 0.22);
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.4rem;
  }
  .form-success.is-visible { display: block; }

  /* ---------- Heading-Erweiterungen (team) ---------- */
  #wissen .qa-question { max-width: 34ch; text-wrap: pretty; }
  #wissen .qa-question .hl-accent { display: block; }
  .scenario-item__text p + p { margin-top: 1.1rem; }

  /* ============================================================
     LEGACY — NUR für die noch nicht harmonisierten Seiten
     (paragraf-80-betrvg.html, leistungen-beratung.html, kontakt.html)

     Diese Patterns wurden auf index.html und team.html bereits ersetzt.
     Sobald die drei Seiten durch die Design-Pipeline gelaufen sind,
     kann dieser gesamte Block ersatzlos gelöscht werden.
     ============================================================ */

  /* Alte Heading-Ebenen: Markup nutzt dort noch h4/h5 statt h3 */
  .problem-card h4 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
  .service-card h4 { font-size: var(--fs-md); margin-bottom: 0.7rem; }
  .plan-step h4 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
  .scenario-item__text h4 { font-size: var(--fs-lg); margin-bottom: 0.7rem; hyphens: auto; overflow-wrap: break-word; }
  .footer-grid h5 { color: var(--color-sage-deep); font-size: var(--fs-sm); margin-bottom: 0.9rem; }

  /* Alter Guide-Kasten (§80, Leistungen) — auf der Startseite durch .mission-grid ersetzt */
  .guide-section {
    background: linear-gradient(165deg, #e9efe0 0%, var(--color-sage-pale) 60%, #dde6d1 100%);
    border: 1px solid rgba(91, 122, 99, 0.14);
    border-radius: var(--radius-lg);
    /* Volle Container-Breite, damit der 2-Spalten-qa-section-grid-Inhalt mehr
       Atmungsraum hat und visuell genauso präsent wirkt wie die final-cta darunter. */
    margin: 0;
    padding: 4rem 3rem;
  }
  .guide-quote {
    font-size: var(--fs-lg);
    font-weight: 600;
    color: var(--color-sage-deep);
    line-height: 1.55;
    max-width: 62ch;
    margin: 0 auto 1.6rem;
  }
  .page-leistungen .guide-quote { max-width: 66ch; }

  /* Alte Szenario-Karten (Leistungen) — auf der Startseite durch .scenario-item ersetzt */
  .scenario-card {
    position: relative;
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2.2rem 2.2rem 2.2rem 2.6rem;
    box-shadow: var(--shadow-card);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .scenario-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .scenario-card::before {
    content: "";
    position: absolute;
    left: 0; top: 1.6rem; bottom: 1.6rem;
    width: 5px;
    border-radius: 0 5px 5px 0;
    background: linear-gradient(180deg, var(--color-ocher) 0%, #eec877 100%);
  }
  .scenario-card h4 { font-size: var(--fs-md); margin-bottom: 0.7rem; }
  .scenario-card p { font-size: var(--fs-base); }

  /* Alte Icon-Kacheln (Leistungen) — auf der Startseite durch Fotos ersetzt */
  .service-card .icon-swatch {
    width: 54px; height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(140deg, var(--color-ocher) 0%, #f0c877 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 4px 12px rgba(201, 141, 31, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
  }
  .service-card .icon-swatch svg {
    width: 26px; height: 26px;
    stroke: #3a2a08; fill: none;
    stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  }
  /* Legacy-Seiten nutzen .service-card noch mit Innenabstand statt Foto-Kachel */
  .page-leistungen .service-card { padding: 2.3rem; }

  /* ============ Responsive — Seiten-Komponenten ============ */
  @media (max-width: 980px) {
    .portrait-placeholder { min-height: 210px; }
    .contact-grid { grid-template-columns: 1fr; }
    /* Bestandswert nur der Kontaktseite — nicht global, sonst ändert sich das
       Mobile-Padding des Cost-Callouts auf allen anderen Seiten mit. */
    .page-kontakt .cost-callout { padding: 3rem 1.6rem; }
    /* Legacy — volle Container-Breite (matched .final-cta) */
    .guide-section { margin: 0; padding: 3rem 1.6rem; }
  }

  /* ============================================================
     REDESIGN-ERWEITERUNGEN (17.07., Pattern-Wünsche aus User-Review)
     ============================================================ */

  /* ---------- QA-Section: 2-Spalten (Überschrift links, Content rechts) ----------
     Standard-Variante: alles zentriert (text-align: center von .qa-section).
     Mit .qa-section-grid: Eyebrow in der linken Spalte oben, dann 2. Zeile mit Heading
     (qa-question) links und Content (qa-answer) rechts — bündig oben, qa-answer startet
     auf Höhe der qa-question, nicht auf Höhe der Eyebrow.
     Auf Mobile (≤ 980px) stapelt es wieder zu 1 Spalte. */
  .qa-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    grid-template-areas:
      "eyebrow ."
      "heading content";
    column-gap: 3rem;
    row-gap: 1.4rem;
    align-items: start;
    text-align: left;
  }
  .qa-section-grid > * { min-width: 0; }
  .qa-section-grid__eyebrow { grid-area: eyebrow; justify-self: start; }
  .qa-section-grid__heading { grid-area: heading; }
  .qa-section-grid__content { grid-area: content; max-width: none; }
  .qa-section-grid__content p + p { margin-top: 1.1rem; }
  @media (max-width: 980px) {
    .qa-section-grid {
      grid-template-columns: 1fr;
      grid-template-areas: "eyebrow" "heading" "content";
      row-gap: 1.2rem;
    }
  }

  /* ---------- Profile-Awards (team.html) ---------- */
  .profile-awards {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--hairline);
  }
  .profile-awards__label {
    display: inline-block;
    font-size: calc(var(--fs-sm) * 0.88);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-ocher-text);
    background: #fff6e6;
    border: 1px solid rgba(201, 141, 31, 0.18);
    border-radius: 999px;
    padding: 0.3em 0.95em;
    margin-bottom: 0.6rem;
  }
  .profile-awards p {
    font-size: var(--fs-sm);
    color: var(--color-ink-soft);
    line-height: 1.65;
  }

  /* ---------- Page-spezifische qa-answer-Zentrierungen ---------- */
  /* Entfernt: qa-answers sind jetzt linksbündig innerhalb des .qa-section-grid-Layouts.
     Wenn eine qa-section explizit zentriert sein soll, kann das pro Sektion per
     inline-style oder einer abweichenden Klasse gesteuert werden. */

  /* ---------- §80: "Wir brauchen keinen teuren Berater" — breiter, max 3 Zeilen ---------- */
  .page-paragraf80 #problem .qa-question {
    max-width: 38ch;
    text-wrap: balance;
  }
  @media (max-width: 720px) {
    .page-paragraf80 #problem .qa-question { max-width: 24ch; }
  }

  /* ---------- §80: Vier Leistungsbausteine — 2-Spalten mit sticky Heading ---------- */
  .leistungsbausteine {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 3rem;
    align-items: start;
  }
  .leistungsbausteine__head { position: sticky; top: calc(var(--section-offset-header) + 1.5rem); }
  .leistungsbausteine__head .eyebrow { margin-bottom: 0.9rem; }
  .leistungsbausteine__head h2 { font-size: var(--fs-xl); max-width: 18ch; margin: 0 0 0.8rem; }
  .leistungsbausteine__head p { font-size: var(--fs-base); color: var(--color-ink-soft); max-width: 36ch; }
  .leistungsbausteine__list { margin: 0; }
  @media (max-width: 980px) {
    .leistungsbausteine { grid-template-columns: 1fr; gap: 2rem; }
    .leistungsbausteine__head { position: static; }
  }

  /* ---------- Callout-Strip (dezenter Ersatz für .guide-section / .cost-callout-Hero-Stil) ---------- */
  .callout-strip {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    background: var(--color-sage-pale);
    border: 1px solid rgba(91, 122, 99, 0.18);
    border-radius: var(--radius-md);
    padding: 1.8rem 2rem;
  }
  .callout-strip__icon {
    flex-shrink: 0;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-sage-deep);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .callout-strip__icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .callout-strip__body { flex: 1; min-width: 0; }
  .callout-strip__label {
    display: inline-block;
    font-size: calc(var(--fs-sm) * 0.88);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-ocher-text);
    margin-bottom: 0.4rem;
  }
  .callout-strip__head { font-size: var(--fs-md); color: var(--color-sage-deep); font-weight: 600; margin-bottom: 0.4rem; line-height: 1.3; }
  .callout-strip__text { font-size: var(--fs-base); color: var(--color-ink-soft); }
  .callout-strip__text a { color: var(--color-sage-deep); font-weight: 700; text-decoration: none; }
  .callout-strip__text a:hover { text-decoration: underline; }
  @media (max-width: 720px) {
    .callout-strip { flex-direction: column; padding: 1.4rem 1.4rem; }
  }

  /* ---------- Audience-Grid (2 Zielgruppen-Karten: Betriebsräte + Personalräte) ---------- */
  .audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-top: 2.4rem;
  }
  .audience-card {
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    padding: 2rem 2.2rem;
    box-shadow: var(--shadow-card);
    text-align: left;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .audience-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .audience-card__label {
    display: inline-block;
    font-size: calc(var(--fs-sm) * 0.88);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-ocher-text);
    background: #fff6e6;
    border: 1px solid rgba(201, 141, 31, 0.18);
    border-radius: 999px;
    padding: 0.3em 0.95em;
    margin-bottom: 0.8rem;
  }
  .audience-card h3 { font-size: var(--fs-md); margin-bottom: 0.6rem; }
  .audience-card p { font-size: var(--fs-base); }
  @media (max-width: 720px) {
    .audience-grid { grid-template-columns: 1fr; }
  }

  /* ---------- Service-Scroller (horizontal scrollbare Cards) ---------- */
  .service-scroller {
    position: relative;
    /* Bleeding rechts: rechts über den Container hinaus bis zum Viewport-Rand */
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding-left: max(var(--fluid-side-padding-min), calc((100vw - var(--content-max)) / 2));
    padding-right: max(var(--fluid-side-padding-min), 1.5rem);
  }
  .service-scroller__track {
    display: grid;
    grid-auto-flow: column;
    /* Größere Mindestbreite → initial nur ~2,5 Cards sichtbar, die nächste ist
       schon angedeutet. Bleeding rechts bleibt erhalten. */
    grid-auto-columns: minmax(min(400px, 90vw), 1fr);
    gap: 1.4rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: max(var(--fluid-side-padding-min), calc((100vw - var(--content-max)) / 2));
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--color-sage-pale) transparent;
  }
  .service-scroller__track::-webkit-scrollbar { height: 8px; }
  .service-scroller__track::-webkit-scrollbar-thumb { background: var(--color-sage-pale); border-radius: 4px; }

  .service-scroller__card {
    scroll-snap-align: start;
    background: var(--color-bg-card);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .service-scroller__card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
  .service-scroller__media {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--color-sage-pale) 0%, #d7e3cb 100%);
    overflow: hidden;
    position: relative;
  }
  .service-scroller__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .service-scroller__card:hover .service-scroller__media img { transform: scale(1.04); }
  .service-scroller__body {
    padding: 1.6rem 1.8rem 1.9rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: linear-gradient(180deg, transparent 0%, rgba(91, 122, 99, 0.03) 100%);
  }
  .service-scroller__label {
    display: inline-block;
    font-size: calc(var(--fs-sm) * 0.85);
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-ocher-text);
    margin-bottom: 0.5rem;
    align-self: flex-start;
  }
  .service-scroller__body h3 { font-size: var(--fs-md); margin-bottom: 0.5rem; }
  .service-scroller__body p { font-size: var(--fs-base); flex: 1; }

  /* Navigations-Pfeile */
  .service-scroller__nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1.4rem;
    padding-right: max(var(--fluid-side-padding-min), 1.5rem);
  }
  .service-scroller__btn {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--color-sage);
    background: var(--color-bg-card);
    color: var(--color-sage-deep);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  }
  .service-scroller__btn:hover { background: var(--color-sage); color: #fff; }
  .service-scroller__btn:disabled { opacity: 0.35; cursor: not-allowed; }
  .service-scroller__btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
  @media (max-width: 720px) {
    .service-scroller__nav { padding-right: var(--fluid-side-padding-min); }
    .service-scroller__btn { width: 40px; height: 40px; }
  }
