@charset "UTF-8";
/* ==========================================================================
   sencuris , Design-System "Premium Healthcare"
   Handgeschrieben, kein Framework. Ziel: WCAG 2.2 AA, CLS < 0.05, < 35 KB gzip.
   ========================================================================== */

@layer reset, tokens, base, layout, components, utilities;

/* ==========================================================================
   TOKENS
   ========================================================================== */
@layer tokens {
:root {
  color-scheme: light;

  /* ----------------------------------------------------------------------
     Zwei Markenfarben, direkt aus dem Logo ausgelesen:
       Blau  #2068B0   (dominante Fläche im Bildzeichen)
       Grün  #60B030   (Blatt und Figur)
     Alle Stufen sind Helligkeitsvarianten genau dieser Töne. Kein drittes
     Akzentsystem: Die Marke ist blau und grün, sonst nichts.
     Kontrastwerte gegen Weiß stehen als Kommentar dahinter.
     ---------------------------------------------------------------------- */

  /* --- Tinte, mit leichtem Blaustich zur Marke ------------------------- */
  --ink-900: #14202B;   /* 16.14:1 auf Papier */
  --ink-700: #33434F;   /*  9.98:1 */
  --ink-500: #5C6B75;   /*  5.38:1 */
  --ink-300: #9AA6AE;

  /* --- Marke Blau ------------------------------------------------------ */
  --brand-900: #0A2138;
  --brand-800: #103356;  /* 12.59:1 auf Papier */
  --brand-700: #154575;  /*  9.59:1 */
  --brand-600: #2069B1;  /* Logo-Blau */
  --brand-500: #277FD8;
  --brand-300: #75ADE6;
  --brand-100: #CBE0F6;
  --brand-050: #EDF4FB;

  /* --- Marke Grün ------------------------------------------------------ */
  --leaf-900: #1F380F;
  --leaf-800: #2C5016;
  --leaf-700: #39681C;   /* 6.16:1 auf Sand */
  --leaf-600: #468023;   /* 4.80:1 mit Weiß, CTA */
  --leaf-500: #60B030;   /* Logo-Grün, Flächen und Icons */
  --leaf-400: #7CCE4B;
  --leaf-100: #DEF2D2;
  --leaf-050: #F1F9EB;

  /* --- Papier ----------------------------------------------------------
     Der wichtigste Bruch zum Wettbewerb: Die Grundfläche ist kein Weiß und
     kein Dunkelblau, sondern warmes Papier. Das nimmt der Seite die Kälte,
     ohne eine dritte Markenfarbe einzuführen. */
  --paper:    #FFFCF7;
  --sand-050: #FBF6EE;
  --sand-100: #F4EDE1;
  --sand-200: #E8DCC9;
  --line:     #E2D8C8;
  --line-cool:#D3E0EC;

  /* Rückwärtskompatible Aliase, damit bestehende Regeln weiterlaufen. */
  --mist-050: var(--sand-050);
  --mist-100: var(--sand-100);
  --mist-200: var(--sand-200);

  /* --- Semantisch ------------------------------------------------------ */
  --success: #2E7D4F;
  --warning: #8A5B0E;
  --danger:  #A3211B;

  /* --- Effekte --------------------------------------------------------- */
  --glass-bg:     color-mix(in srgb, var(--paper) 78%, transparent);
  --glass-border: color-mix(in srgb, var(--paper) 45%, transparent);
  /* Wärmerer Schattenton als reines Schwarz, sonst wirkt er auf Papier grau. */
  --shadow-sm: 0 1px 2px rgb(58 42 24 / .05), 0 1px 3px rgb(58 42 24 / .07);
  --shadow-md: 0 4px 14px rgb(58 42 24 / .07), 0 2px 5px rgb(58 42 24 / .05);
  --shadow-lg: 0 14px 36px rgb(58 42 24 / .10), 0 5px 10px rgb(58 42 24 / .05);
  --shadow-xl: 0 30px 70px rgb(20 32 43 / .16);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 999px;

  /* Signaturform: asymmetrische Rundung. Wiederholt sich auf Bildern und
     Schlüsselflächen und ist das eine Element, das die Seite unverwechselbar
     macht, ohne verspielt zu wirken. */
  --radius-organic:     2.75rem .75rem 2.75rem .75rem;
  --radius-organic-alt: .75rem 2.75rem .75rem 2.75rem;

  /* --- Typografie ------------------------------------------------------ */
  --font-head: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-xs:   .875rem;
  --text-sm:   1rem;
  --text-base: 1.125rem;
  --text-lg:   clamp(1.25rem, .5vw + 1.1rem, 1.375rem);
  --text-xl:   clamp(1.5rem, 1vw + 1.25rem, 1.75rem);
  --h4:        clamp(1.25rem, .8vw + 1.05rem, 1.5rem);
  --h3:        clamp(1.5rem, 1.2vw + 1.2rem, 1.875rem);
  --h2:        clamp(1.9375rem, 2.2vw + 1.3rem, 2.75rem);
  --h1:        clamp(2.25rem, 3.6vw + 1.35rem, 3.75rem);
  --display:   clamp(2.5rem, 4vw + 1.4rem, 4.25rem);

  --lh-tight: 1.15;
  --lh-snug:  1.3;
  --lh-body:  1.72;
  --measure:  68ch;

  /* --- Spacing --------------------------------------------------------- */
  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;   --sp-10: 8rem;

  /* --- Layout ---------------------------------------------------------- */
  --content: 74ch;
  --wide:    1200px;
  --full:    1440px;
  --gutter:  clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.75rem;
}
}

/* ==========================================================================
   RESET
   ========================================================================== */
@layer reset {
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  min-block-size: 100vh;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-body);
  color: var(--ink-900);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis-weight: none;
}

img, picture, svg, video { display: block; max-inline-size: 100%; block-size: auto; }

/* Sicherheitsnetz für Inline-Icons: ohne diese Regel skaliert ein SVG ohne
   width/height auf die volle Containerbreite. Komponentenregeln in
   @layer components überschreiben das gezielt. */
svg { inline-size: 1.25em; block-size: 1.25em; flex: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: var(--brand-700); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--brand-800); }
:target { scroll-margin-block-start: calc(var(--header-h) + 1.5rem); }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 3px;
}
::selection { background: var(--brand-100); color: var(--brand-900); }
}

/* ==========================================================================
   BASE , Typografie
   ========================================================================== */
@layer base {
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -.015em;
  color: var(--brand-800);
  text-wrap: balance;
}
h1 { font-size: var(--h1); }
h2 { font-size: var(--h2); line-height: var(--lh-snug); }
h3 { font-size: var(--h3); line-height: var(--lh-snug); }
h4 { font-size: var(--h4); line-height: var(--lh-snug); }

p, li, dd, dt { text-wrap: pretty; }
.prose p, .prose li { max-inline-size: var(--measure); }

.prose > * + * { margin-block-start: var(--sp-4); }
.prose > * + h2 { margin-block-start: var(--sp-8); }
.prose > * + h3 { margin-block-start: var(--sp-6); }
.prose h2 + *, .prose h3 + * { margin-block-start: var(--sp-3); }

.prose ul, .prose ol { padding-inline-start: 1.35em; }
.prose ul { list-style: none; padding-inline-start: 0; }
.prose ul li {
  position: relative;
  padding-inline-start: 1.75rem;
  margin-block-start: var(--sp-2);
}
.prose ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: .35rem;
  inset-block-start: .68em;
  inline-size: .5rem; block-size: .5rem;
  border-radius: var(--radius-full);
  background: var(--leaf-600);
}
.prose ol li { margin-block-start: var(--sp-2); padding-inline-start: .35rem; }
.prose ol li::marker { color: var(--brand-600); font-weight: 600; }

.prose strong { font-weight: 650; color: var(--ink-900); }
.prose small { font-size: var(--text-sm); color: var(--ink-500); }

.lead {
  font-size: var(--text-lg);
  color: var(--ink-700);
  line-height: 1.6;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 650;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--brand-600);
  margin-block-end: var(--sp-3);
}
.eyebrow::before {
  content: ""; inline-size: 1.75rem; block-size: 2px;
  background: var(--leaf-600); border-radius: 2px;
}

.num { font-variant-numeric: tabular-nums; }
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
@layer layout {
.shell {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--gutter), 1fr)
    [wide-start] minmax(0, var(--wide))
    [wide-end]   minmax(var(--gutter), 1fr)
    [full-end];
}
.shell > * { grid-column: wide; }
.shell > .bleed { grid-column: full; }

.wrap { inline-size: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.wrap--narrow { inline-size: min(100% - 2 * var(--gutter), 46rem); margin-inline: auto; }

.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4.5vw, 3.5rem); }
.section--mist { background: var(--sand-050); }
.section--sand { background: var(--sand-100); }
.section--brand {
  background: linear-gradient(160deg, var(--brand-900) 0%, var(--brand-800) 58%, var(--brand-700) 100%);
  color: var(--paper);
}
.section--brand h2, .section--brand h3 { color: var(--paper); }
.section--brand a { color: var(--brand-300); }
.section--brand .lead { color: color-mix(in srgb, var(--paper) 88%, transparent); }

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

/* Money-Page-Layout: Inhalt + Sticky-Sidebar */
.layout-aside {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}
@media (min-width: 62rem) {
  .layout-aside { grid-template-columns: minmax(0, 1fr) 20rem; }
  .layout-aside > aside { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); }
}

.stack > * + * { margin-block-start: var(--sp-4); }
.stack-lg > * + * { margin-block-start: var(--sp-6); }
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
@layer components {

/* --- Skip-Link --------------------------------------------------------- */
.skip {
  position: absolute; inset-inline-start: 1rem; inset-block-start: -6rem;
  z-index: 200;
  padding: .75rem 1.25rem;
  background: var(--brand-800); color: var(--paper);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  font-weight: 600; text-decoration: none;
  transition: inset-block-start .18s ease;
}
.skip:focus { inset-block-start: 0; color: var(--paper); }

/* --- Buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-block-size: 3rem;
  padding: .8rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 650; font-size: var(--text-base);
  line-height: 1.2; text-align: center; text-decoration: none;
  border: 2px solid transparent;
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { inline-size: 1.15em; block-size: 1.15em; flex: none; }

.btn--primary { background: var(--leaf-600); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--leaf-800); color: var(--paper); box-shadow: var(--shadow-lg); }

.btn--brand { background: var(--brand-700); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--brand:hover { background: var(--brand-800); color: var(--paper); box-shadow: var(--shadow-lg); }

.btn--ghost { background: var(--paper); color: var(--brand-800); border-color: var(--line); }
.btn--ghost:hover { background: var(--brand-050); border-color: var(--brand-300); color: var(--brand-800); }

.btn--onbrand { background: var(--paper); color: var(--brand-800); }
.btn--onbrand:hover { background: var(--brand-050); color: var(--brand-900); }

.btn--outline-light { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 55%, transparent); }
.btn--outline-light:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); color: var(--paper); border-color: var(--paper); }

.btn--lg { min-block-size: 3.5rem; padding: 1rem 2rem; font-size: var(--text-lg); }
.btn--block { inline-size: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* --- Topbar ------------------------------------------------------------ */
.topbar {
  position: relative; z-index: 101;   /* über dem Mega-Scrim */
  background: linear-gradient(90deg, var(--brand-900) 0%, var(--brand-800) 62%, var(--leaf-800) 100%);
  color: color-mix(in srgb, var(--paper) 90%, transparent);
  font-size: var(--text-xs);
}
.topbar__inner {
  display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5);
  align-items: center; justify-content: flex-end;
  min-block-size: 2.5rem; padding-block: .35rem;
}
.topbar__claim { display: inline-flex; align-items: center; gap: .45rem; margin-inline-end: auto; }
.topbar__claim svg { color: var(--leaf-400); }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--paper); text-decoration: underline; }
@media (max-width: 40rem) { .topbar__claim { display: none; } }

/* --- Header ------------------------------------------------------------ */
.header {
  position: sticky; inset-block-start: 0; z-index: 100;
  background: var(--paper);
  border-block-end: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.header[data-scrolled] { box-shadow: 0 6px 24px rgb(10 33 56 / .10); }
.header[data-mega-open] { box-shadow: none; }

.header__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  min-block-size: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { block-size: 2.4rem; inline-size: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: .1rem; list-style: none; margin: 0; padding: 0; }
.nav__item { display: flex; }
.nav__item--cta { display: none; }

.nav__link {
  position: relative;
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .55rem .8rem;
  border-radius: var(--radius-sm);
  font-size: 1.0625rem; font-weight: 560;
  color: var(--ink-700); text-decoration: none;
  white-space: nowrap;
  transition: color .15s ease;
}
/* Grüner Unterstrich als Marken-Signal statt Hintergrundfläche. */
.nav__link::after {
  content: ""; position: absolute;
  inset-inline: .8rem; inset-block-end: .1rem;
  block-size: 3px; border-radius: 3px;
  background: var(--leaf-500);
  transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.4,0,.2,1);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--brand-700); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--brand-800); font-weight: 650; }
.nav__chev { inline-size: .7em; block-size: .7em; transition: transform .2s ease; }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

/* --- Mega-Menü --------------------------------------------------------- */
.mega {
  position: absolute; inset-inline: 0; inset-block-start: 100%;
  background: var(--paper);
  border-block-start: 1px solid var(--line);
  box-shadow: 0 24px 48px rgb(10 33 56 / .16);
  z-index: 99;
}
.mega[hidden] { display: none; }
.header:not([data-mega-open]) .mega { display: none; }

.mega::before {
  content: ""; position: absolute; inset-inline: 0; inset-block-start: 0;
  block-size: 3px;
  background: linear-gradient(90deg, var(--brand-600) 0%, var(--leaf-500) 100%);
}
.mega__inner {
  display: grid; gap: clamp(1.5rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}
@media (min-width: 76rem) { .mega__inner { grid-template-columns: minmax(0, 1fr) 19rem; } }

.mega__cols { display: grid; gap: clamp(1.25rem, 2.5vw, 2.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.mega__title {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--leaf-700);
  padding-block-end: .6rem; margin-block-end: .6rem;
  border-block-end: 2px solid var(--leaf-100);
}
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mega__col a {
  display: block; padding: .55rem .7rem;
  border-radius: var(--radius-md);
  text-decoration: none;
  border-inline-start: 3px solid transparent;
  transition: background-color .15s ease, border-color .15s ease;
}
.mega__col a b { display: block; font-weight: 620; color: var(--brand-800); line-height: 1.35; }
.mega__col a span { display: block; font-size: .9375rem; line-height: 1.45; color: var(--ink-500); margin-block-start: .1rem; }
.mega__col a:hover { background: var(--brand-050); border-inline-start-color: var(--leaf-500); }
.mega__col a:hover b { color: var(--brand-700); }
.mega__col a[aria-current="page"] { background: var(--leaf-050); border-inline-start-color: var(--leaf-600); }

.mega__promo {
  display: block; padding: var(--sp-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--brand-800) 0%, var(--brand-700) 55%, var(--leaf-800) 130%);
  color: var(--paper); text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .2s ease, box-shadow .2s ease;
}
.mega__promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: var(--paper); }
.mega__promo-icon {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 2.5rem; block-size: 2.5rem; margin-block-end: var(--sp-3);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--leaf-400) 26%, transparent);
  color: var(--leaf-400);
}
.mega__promo-eyebrow {
  display: block; font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-400);
}
.mega__promo b { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.25; margin-block: .3rem .5rem; }
.mega__promo-text { display: block; font-size: .9375rem; line-height: 1.5; color: color-mix(in srgb, var(--paper) 82%, transparent); }
.mega__promo-cta { display: inline-flex; align-items: center; gap: .4rem; margin-block-start: var(--sp-4); font-weight: 650; color: var(--leaf-400); }
.mega__promo:hover .mega__promo-cta svg { translate: .25rem 0; }
.mega__promo-cta svg { transition: translate .18s ease; }

.mega-scrim {
  position: fixed; inset: 0; z-index: 89;
  background: rgb(10 33 56 / .35);
  backdrop-filter: blur(2px);
  animation: fade .18s ease;
}
.mega-scrim[hidden] { display: none; }
@keyframes fade { from { opacity: 0 } to { opacity: 1 } }

.header__cta { display: none; flex: none; }
@media (min-width: 86rem) { .header__cta { display: inline-flex; } }

/* --- Burger ------------------------------------------------------------ */
.burger {
  display: inline-flex; align-items: center; justify-content: center;
  margin-inline-start: auto;
  inline-size: 3rem; block-size: 3rem;
  border-radius: var(--radius-md);
  color: var(--brand-800);
}
.burger:hover { background: var(--brand-050); }
.burger__box { position: relative; display: block; inline-size: 1.5rem; block-size: 1.125rem; }
.burger__bar, .burger__bar::before, .burger__bar::after {
  position: absolute; inline-size: 100%; block-size: 2.5px;
  border-radius: 2px; background: currentColor;
  transition: transform .22s ease, opacity .18s ease, top .22s ease;
}
.burger__bar { top: 50%; translate: 0 -50%; }
.burger__bar::before { content: ""; top: -.5rem; }
.burger__bar::after  { content: ""; top: .5rem; }
.burger[aria-expanded="true"] .burger__bar { background: transparent; }
.burger[aria-expanded="true"] .burger__bar::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__bar::after  { top: 0; transform: rotate(-45deg); }

/* --- Mobil ------------------------------------------------------------- */
@media (max-width: 75.99rem) {
  .nav { display: none; }
  .nav[data-open] {
    display: block;
    position: fixed;
    inset: var(--nav-top, var(--header-h)) 0 0;
    margin: 0; padding: var(--sp-4) var(--gutter) var(--sp-9);
    background: var(--paper);
    overflow-y: auto; overscroll-behavior: contain;
    border-block-start: 1px solid var(--line);
  }
  .nav[data-open] .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav[data-open] .nav__item { display: block; }
  .nav[data-open] .nav__link {
    inline-size: 100%; justify-content: space-between;
    padding: .95rem .25rem; font-size: var(--text-lg);
    border-block-end: 1px solid var(--mist-100);
    border-radius: 0;
  }
  .nav[data-open] .nav__link::after { display: none; }
  .nav[data-open] .nav__link[aria-current="page"] { color: var(--leaf-700); }

  .nav[data-open] .mega {
    position: static; display: none;
    box-shadow: none; border: 0;
    padding-block: 0 var(--sp-3);
  }
  .nav[data-open] .mega::before { display: none; }
  .nav[data-open] .nav__item[data-open] .mega { display: block; }
  .nav[data-open] .mega__inner { display: block; padding-block: var(--sp-3) 0; padding-inline: 0; inline-size: 100%; }
  .nav[data-open] .mega__cols { display: block; }
  .nav[data-open] .mega__col + .mega__col { margin-block-start: var(--sp-4); }
  .nav[data-open] .mega__promo { margin-block-start: var(--sp-4); }
  .nav[data-open] .nav__item--cta { display: block; margin-block-start: var(--sp-6); }
  .nav[data-open] .nav__item--cta .btn { min-block-size: 3.5rem; }

  .mega-scrim { display: none !important; }
}
@media (min-width: 76rem) { .burger { display: none; } }

/* --- Hero ---------------------------------------------------------------
   Hell statt dunkel. Kein Vollbild mit Schlagzeile darüber, sondern eine
   redaktionelle Aufmacherseite: große Serifenzeile auf Papier, daneben das
   Bild in der Signaturform, darüber überlappend die Rückrufkarte.
   Der grüne Bogen unten leitet in die nächste Sektion über. */
.hero {
  position: relative;
  background:
    radial-gradient(90% 70% at 12% 0%, var(--leaf-050) 0%, transparent 62%),
    radial-gradient(75% 65% at 96% 18%, var(--brand-050) 0%, transparent 58%),
    var(--paper);
  overflow: clip;
}
/* Feine Papierstruktur, damit die Fläche nicht flach wirkt. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgb(58 42 24 / .05) 1px, transparent 0);
  background-size: 22px 22px;
  opacity: .5; pointer-events: none;
}
.hero__inner {
  position: relative; z-index: 1;
  display: grid; gap: clamp(2.5rem, 4vw, 4rem);
  padding-block: clamp(2.25rem, 4vw, 3.5rem) clamp(2.5rem, 4vw, 4rem);
  align-items: center;
}
@media (min-width: 68rem) { .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: start; } }

.hero__body { max-inline-size: 38rem; }
.hero h1 {
  color: var(--brand-800);
  font-size: var(--display);
  letter-spacing: -.028em;
  line-height: 1.03;
}
/* Ein Wort der Überschrift trägt den grünen Unterstrich. */
.hero h1 em {
  font-style: normal; position: relative; white-space: nowrap;
}
.hero h1 em::after {
  content: ""; position: absolute; inset-inline: -.06em; inset-block-end: .06em;
  block-size: .17em; border-radius: .1em;
  background: var(--leaf-500); opacity: .45;
  z-index: -1;
}
.hero .lead { color: var(--ink-700); margin-block-start: var(--sp-5); font-size: clamp(1.1875rem, .5vw + 1.05rem, 1.375rem); }
.hero .eyebrow { color: var(--leaf-700); }
.hero .eyebrow::before { background: var(--leaf-500); }

.hero__proof { list-style: none; margin: var(--sp-6) 0 0; padding: 0; display: grid; gap: .8rem; }
.hero__proof li {
  display: flex; align-items: flex-start; gap: .7rem;
  font-size: 1.0625rem; line-height: 1.5; color: var(--ink-700);
}
.hero__proof svg { color: var(--leaf-600); margin-block-start: .18em; }
.hero__proof b { font-weight: 650; color: var(--ink-900); }
.hero .btn-row { margin-block-start: var(--sp-6); }

/* --- Bildseite mit überlappender Karte ---------------------------------- */
.hero__stage { position: relative; }
.hero__stage .media { border-radius: var(--radius-organic); box-shadow: var(--shadow-lg); }
/* Grüner Bogen hinter dem Bild als Signaturelement. */
.hero__stage::before {
  content: ""; position: absolute;
  inset-block-start: -6%; inset-inline-end: -7%;
  inline-size: 62%; aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--leaf-100), transparent 70%);
  z-index: -1;
}

.callback {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: var(--ink-900);
}
@media (min-width: 68rem) {
  .hero .callback { position: sticky; inset-block-start: calc(var(--header-h) + 1.5rem); }
}
.callback__head {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-5);
  background: linear-gradient(115deg, var(--leaf-050), var(--brand-050));
  border-block-end: 1px solid var(--line);
}
.callback__head img {
  inline-size: 4rem; block-size: 4rem; flex: none;
  border-radius: var(--radius-full); object-fit: cover;
  border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--leaf-500);
}
.callback__head b { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--brand-800); line-height: 1.25; }
.callback__head span { display: block; font-size: .9375rem; color: var(--ink-500); margin-block-start: .1rem; }

.callback__body { padding: var(--sp-5); }
.callback__phone {
  display: flex; align-items: center; gap: .6rem;
  font-size: 1.45rem; font-weight: 700; color: var(--brand-800);
  text-decoration: none; letter-spacing: -.02em;
}
.callback__phone svg { inline-size: 1.3rem; block-size: 1.3rem; color: var(--leaf-600); }
.callback__phone:hover { color: var(--brand-600); }
.callback__hours { font-size: .9375rem; color: var(--ink-500); margin-block-start: .25rem; }

.callback__sep {
  display: flex; align-items: center; gap: var(--sp-3);
  margin-block: var(--sp-5);
  font-size: var(--text-xs); font-weight: 650; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-300);
}
.callback__sep::before, .callback__sep::after { content: ""; flex: 1; block-size: 1px; background: var(--line); }
.callback .field { margin-block-end: var(--sp-3); }
.callback .field > label { font-size: .9375rem; }
.callback .input { min-block-size: 2.875rem; }
.callback__note {
  display: flex; gap: .5rem; align-items: flex-start;
  font-size: .875rem; line-height: 1.45; color: var(--ink-500);
  margin-block-start: var(--sp-4);
}
.callback__note svg { inline-size: 1rem; block-size: 1rem; color: var(--leaf-600); margin-block-start: .15em; }

/* --- Bildband unter dem Hero ------------------------------------------- */
.showband { position: relative; background: var(--sand-050); }
.showband__inner { padding-block: 0 clamp(2.5rem, 5vw, 4rem); }
.showband .media {
  border-radius: 3.5rem .75rem 3.5rem .75rem;
  box-shadow: var(--shadow-lg);
  margin-block-start: clamp(-2.5rem, -4vw, -1.5rem);
}
.showband__caption {
  display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5);
  align-items: baseline; justify-content: space-between;
  margin-block-start: var(--sp-4);
  font-size: var(--text-sm); color: var(--ink-500);
}
.showband__caption b { color: var(--brand-800); font-weight: 650; }

/* --- Trust-Kacheln (überlappend) --------------------------------------- */
.trustbar { position: relative; z-index: 2; margin-block-start: clamp(-3rem, -4vw, -2rem); }
.trustbar--flow { margin-block: clamp(2.5rem, 5vw, 4rem) 0; }
.trustbar__grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.trustbar__item {
  position: relative;
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-5);
  background: var(--paper);
}
.trustbar__item::before {
  content: ""; position: absolute; inset-block-start: 0; inset-inline: 0;
  block-size: 3px;
  background: linear-gradient(90deg, var(--brand-600), var(--leaf-500));
}
.trustbar__item svg { inline-size: 1.6rem; block-size: 1.6rem; color: var(--leaf-700); flex: none; margin-block-start: .1rem; }
.trustbar__item b { display: block; font-weight: 650; color: var(--brand-800); line-height: 1.35; }
.trustbar__item span { display: block; font-size: var(--text-sm); color: var(--ink-500); margin-block-start: .2rem; }

/* --- Antwortbox (LLM-Zitat) -------------------------------------------- */
.answer {
  border-inline-start: 4px solid var(--leaf-500);
  background: var(--sand-050);
  border-radius: 0 1.75rem 1.75rem 0;
  padding: var(--sp-5) var(--sp-6);
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--ink-700);
  max-inline-size: none;
}
.answer p { max-inline-size: none; }
.answer > * + * { margin-block-start: var(--sp-3); }

/* --- Hinweisboxen ------------------------------------------------------ */
.note {
  display: flex; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--brand-100);
  background: var(--brand-050);
  font-size: 1.0625rem;
  max-inline-size: none;
}
.note p { max-inline-size: none; }
.note svg { inline-size: 1.35rem; block-size: 1.35rem; flex: none; margin-block-start: .15rem; color: var(--brand-600); }
.note b { display: block; margin-block-end: .2rem; color: var(--brand-800); }
.note--new { border-color: color-mix(in srgb, var(--leaf-600) 32%, transparent); background: var(--leaf-100); }
.note--new svg { color: var(--leaf-800); }
.note--new b { color: var(--leaf-800); }
.note--warn { border-color: color-mix(in srgb, var(--warning) 34%, transparent); background: #FFF8E8; }
.note--warn svg, .note--warn b { color: var(--warning); }

/* --- Karten ------------------------------------------------------------ */
.card {
  container-type: inline-size;
  position: relative;
  display: flex; flex-direction: column;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) 0;
  background: transparent;
  border: 0;
  border-block-start: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  transition: border-color .25s ease;
}
/* Grüner Anriss, der beim Überfahren aufläuft. Ersetzt den Kastenrahmen. */
.card::before {
  content: ""; position: absolute; inset-block-start: -1px; inset-inline-start: 0;
  inline-size: 0; block-size: 3px; background: var(--leaf-500);
  transition: inline-size .35s cubic-bezier(.22,.8,.3,1);
}
.card > * + * { margin-block-start: var(--sp-3); }
.card h3 { font-size: var(--h4); }
.card p { color: var(--ink-700); font-size: 1.0625rem; max-inline-size: none; }
a.card, .card--link { text-decoration: none; color: inherit; }
a.card:hover, .card--link:hover { border-color: var(--line); }
a.card:hover::before, .card--link:hover::before { inline-size: 100%; }
a.card:hover h3, .card--link:hover h3 { color: var(--brand-600); }

.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 2.75rem; block-size: 2.75rem;
  border-radius: 1.1rem .3rem 1.1rem .3rem;
  background: var(--leaf-100); color: var(--leaf-800);
}
.card__icon svg { inline-size: 1.5rem; block-size: 1.5rem; }
.card__more {
  margin-block-start: auto; padding-block-start: var(--sp-3);
  font-weight: 650; color: var(--brand-700);
  display: inline-flex; align-items: center; gap: .4rem;
}
.card__more svg { inline-size: .9em; block-size: .9em; transition: translate .18s ease; }
a.card:hover .card__more svg, .card--link:hover .card__more svg { translate: .25rem 0; }

/* --- Stepper ----------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.steps li {
  position: relative;
  padding-inline-start: 4.25rem;
  padding-block-end: var(--sp-6);
  counter-increment: step;
}
.steps li::before {
  content: counter(step);
  position: absolute; inset-inline-start: 0; inset-block-start: -.15rem;
  display: grid; place-items: center;
  inline-size: 2.85rem; block-size: 2.85rem;
  border-radius: var(--radius-full);
  background: var(--brand-700); color: var(--paper);
  font-family: var(--font-head); font-size: 1.25rem; font-weight: 600;
  box-shadow: 0 0 0 5px var(--brand-050);
}
.steps li::after {
  content: ""; position: absolute;
  inset-inline-start: 1.4rem; inset-block: 2.9rem .55rem;
  inline-size: 2px; background: var(--mist-200);
}
.steps li:last-child { padding-block-end: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--h4); margin-block-end: var(--sp-2); }
.steps p { color: var(--ink-700); max-inline-size: 58ch; }

/* --- FAQ (natives details/summary) ------------------------------------- */
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-head);
  font-size: var(--h4); font-weight: 600; line-height: var(--lh-snug);
  color: var(--brand-800);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none;
  inline-size: 1.5rem; block-size: 1.5rem; margin-block-start: .2rem;
  background: currentColor;
  -webkit-mask: var(--icon-chevron) center / contain no-repeat;
  mask: var(--icon-chevron) center / contain no-repeat;
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq summary:hover { color: var(--brand-600); }
.faq__body { padding-block-end: var(--sp-5); }
.faq__body p { color: var(--ink-700); max-inline-size: var(--measure); }
.faq__body > * + * { margin-block-start: var(--sp-3); }

/* --- Tabellen ---------------------------------------------------------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data {
  inline-size: 100%; border-collapse: collapse;
  font-size: 1.0625rem;
  font-variant-numeric: tabular-nums;
}
table.data caption {
  text-align: start; font-size: var(--text-sm); color: var(--ink-500);
  padding-block-end: var(--sp-3);
}
table.data th, table.data td {
  padding: .8rem 1rem;
  border-block-end: 1px solid var(--line);
  text-align: start;
  vertical-align: top;
}
table.data thead th {
  background: var(--brand-800); color: var(--paper);
  font-weight: 600; white-space: nowrap;
  border-block-end: 0;
}
table.data thead th:first-child { border-start-start-radius: var(--radius-sm); }
table.data thead th:last-child  { border-start-end-radius: var(--radius-sm); }
table.data tbody tr:nth-child(even) { background: var(--mist-050); }
table.data td.n, table.data th.n { text-align: end; }
table.data tfoot td { font-weight: 650; background: var(--brand-050); border-block-end: 0; }

/* --- Ansprechpartner --------------------------------------------------- */
.person {
  padding: var(--sp-5);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.person img {
  inline-size: 6.5rem; block-size: 6.5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin-inline: auto;
  border: 4px solid var(--paper);
  box-shadow: 0 0 0 2px var(--brand-100);
}
.person b { display: block; margin-block-start: var(--sp-3); font-size: var(--text-lg); color: var(--brand-800); font-family: var(--font-head); }
.person small { display: block; color: var(--ink-500); font-size: var(--text-sm); }
.person .person__contact { margin-block-start: var(--sp-4); display: grid; gap: var(--sp-2); }
.person .person__contact a {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; text-decoration: none;
}
.person .person__contact a:hover { text-decoration: underline; }
.person .person__contact svg { inline-size: 1.1em; block-size: 1.1em; }
.person .btn { margin-block-start: var(--sp-4); }

/* --- Formulare --------------------------------------------------------- */
.field { display: grid; gap: .4rem; margin-block-end: var(--sp-4); }
.field > label, .fieldset__legend {
  font-weight: 600; font-size: 1.0625rem; color: var(--ink-900);
}
.field .hint { font-size: var(--text-sm); color: var(--ink-500); }
.req { color: var(--danger); }

.input, .select, .textarea {
  inline-size: 100%;
  min-block-size: 3.125rem;
  padding: .7rem .9rem;
  background: var(--paper);
  border: 2px solid var(--line-cool);
  border-radius: var(--radius-md);
  color: var(--ink-900);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.textarea { min-block-size: 8rem; resize: vertical; }
.select {
  appearance: none;
  background-image: var(--icon-chevron-img);
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 1rem;
  padding-inline-end: 2.6rem;
}
.input:hover, .select:hover, .textarea:hover { border-color: var(--brand-300); }
.input:focus, .select:focus, .textarea:focus {
  outline: none; border-color: var(--brand-600);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] {
  border-color: var(--danger); box-shadow: 0 0 0 4px color-mix(in srgb, var(--danger) 12%, transparent);
}
.field__error { font-size: var(--text-sm); color: var(--danger); font-weight: 600; }

fieldset { border: 0; padding: 0; margin: 0 0 var(--sp-5); }
.fieldset__legend { display: block; margin-block-end: var(--sp-3); }

.choices { display: grid; gap: .5rem; }
.choices--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.choice {
  display: flex; align-items: flex-start; gap: .7rem;
  min-block-size: 3rem;
  padding: .7rem .9rem;
  border: 2px solid var(--line-cool);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
  font-size: 1.0625rem; line-height: 1.4;
}
.choice:hover { border-color: var(--brand-300); background: var(--brand-050); }
.choice input { inline-size: 1.3rem; block-size: 1.3rem; margin: .1rem 0 0; accent-color: var(--brand-600); flex: none; }
.choice:has(input:checked) { border-color: var(--brand-600); background: var(--brand-050); }
.choice:has(input:focus-visible) { outline: 3px solid var(--brand-600); outline-offset: 2px; }

.hp { position: absolute !important; inset-inline-start: -9999px; inline-size: 1px; block-size: 1px; overflow: hidden; }

.form-card {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
}

/* --- Wizard ------------------------------------------------------------ */
.wizard__progress { margin-block-end: var(--sp-6); }
.wizard__bar { block-size: .5rem; background: var(--mist-200); border-radius: var(--radius-full); overflow: hidden; }
.wizard__bar i { display: block; block-size: 100%; background: var(--leaf-600); border-radius: inherit; transition: inline-size .3s ease; }
.wizard__meta { display: flex; justify-content: space-between; gap: var(--sp-3); margin-block-start: .6rem; font-size: var(--text-sm); color: var(--ink-500); font-weight: 600; }
.wizard__nav { display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; margin-block-start: var(--sp-6); padding-block-start: var(--sp-5); border-block-start: 1px solid var(--line); }
.js .wizard__step[hidden] { display: none; }
.wizard__step > h2 { font-size: var(--h3); margin-block-end: var(--sp-5); }

/* --- Rechner ----------------------------------------------------------- */
.calc { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 55rem) { .calc { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); align-items: start; } }
.calc__out {
  padding: var(--sp-5);
  background: linear-gradient(165deg, var(--brand-800), var(--brand-700));
  color: var(--paper);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.calc__out h3 { color: var(--paper); font-size: var(--h4); }
.calc__rows { margin-block: var(--sp-4); display: grid; gap: .55rem; font-variant-numeric: tabular-nums; }
.calc__row { display: flex; justify-content: space-between; gap: var(--sp-4); font-size: 1.0625rem; color: color-mix(in srgb, var(--paper) 88%, transparent); }
.calc__row b { font-weight: 650; color: var(--paper); }
.calc__total {
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--sp-4);
  padding-block-start: var(--sp-4);
  border-block-start: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
}
.calc__total span { font-weight: 650; }
.calc__total b { font-family: var(--font-head); font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; color: var(--paper); }
.calc__foot { font-size: var(--text-sm); color: color-mix(in srgb, var(--paper) 78%, transparent); margin-block-start: var(--sp-4); }

/* --- CTA-Band ---------------------------------------------------------- */
.cta-band { position: relative; overflow: clip; }
.cta-band__inner { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 55rem) { .cta-band__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.cta-band h2 { font-size: var(--h2); }

/* --- Breadcrumb -------------------------------------------------------- */
.crumbs { padding-block: var(--sp-4); font-size: var(--text-sm); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; margin: 0; padding: 0; color: var(--ink-500); }
.crumbs li { display: inline-flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "›"; color: var(--ink-300); }
.crumbs a { color: var(--ink-500); text-decoration: none; }
.crumbs a:hover { color: var(--brand-700); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-700); font-weight: 600; }

/* --- Seitenkopf -------------------------------------------------------- */
.pagehead { background: linear-gradient(170deg, var(--brand-050), var(--paper)); border-block-end: 1px solid var(--line); }
.pagehead__inner { padding-block: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.25rem); }
.pagehead .lead { margin-block-start: var(--sp-4); max-inline-size: 60ch; }

/* --- Standortliste ----------------------------------------------------- */
.places { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.place { display: block; padding: var(--sp-4) var(--sp-5); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-md); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.place:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.place b { display: block; font-family: var(--font-head); font-size: var(--text-lg); color: var(--brand-800); }
.place span { display: block; font-size: var(--text-sm); color: var(--ink-500); margin-block-start: .15rem; }

/* ==========================================================================
   EDITORIAL
   --------------------------------------------------------------------------
   Die Bausteine, die diese Seite vom Rest der Branche trennen. Alle sieben
   analysierten Wettbewerber arbeiten mit Grotesk, Kartenraster und geraden
   Sektionskanten. Hier stattdessen: Papierfläche, Bogenübergänge,
   Kapitelziffern, Marginalien und eine asymmetrische Signaturform.
   ========================================================================== */

/* --- Bogenübergang zwischen Sektionen ---------------------------------- */
.arc { position: relative; }
.arc::after {
  content: ""; position: absolute; inset-inline: -5%; inset-block-end: -1px;
  background-color: var(--arc-color, var(--paper));
  block-size: clamp(2.5rem, 5vw, 5rem);
  border-start-start-radius: 50% 100%;
  border-start-end-radius: 50% 100%;
  transform: translateY(99%);
  z-index: 1;
  pointer-events: none;
}
.arc--up::after {
  inset-block-end: auto; inset-block-start: -1px;
  border-radius: 0;
  border-end-start-radius: 50% 100%;
  border-end-end-radius: 50% 100%;
  transform: translateY(-99%);
}

/* --- Kapitelziffer ------------------------------------------------------ */
.chapter { display: flex; align-items: baseline; gap: var(--sp-4); margin-block-end: var(--sp-4); }
.chapter__num {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 5vw, 4.25rem);
  font-weight: 600; line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--leaf-500);
  letter-spacing: -.03em;
  flex: none;
}
.chapter__label {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--leaf-700);
  padding-block-end: .4rem;
  border-block-end: 2px solid var(--leaf-100);
}

/* --- Marginalie --------------------------------------------------------- */
.aside-note {
  border-inline-start: 2px solid var(--leaf-500);
  padding-inline-start: var(--sp-4);
  font-size: 1.0625rem; line-height: 1.55;
  color: var(--ink-700);
  max-inline-size: 34ch;
}
.aside-note b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--brand-800); margin-block-end: .25rem; }

/* --- Herausgehobene Aussage --------------------------------------------- */
.pullquote {
  position: relative;
  margin-block: var(--sp-7);
  padding: var(--sp-6) 0 var(--sp-6) clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-head);
  font-size: clamp(1.375rem, 1.6vw + 1.05rem, 1.875rem);
  line-height: 1.35; letter-spacing: -.012em;
  color: var(--brand-800);
  border-block: 1px solid var(--line);
  max-inline-size: none;
}
.pullquote::before {
  content: ""; position: absolute;
  inset-inline-start: 0; inset-block: var(--sp-6);
  inline-size: 4px; border-radius: 4px;
  background: linear-gradient(var(--leaf-500), var(--brand-600));
}
.pullquote cite {
  display: block; margin-block-start: var(--sp-4);
  font-family: var(--font-body); font-size: var(--text-sm);
  font-style: normal; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; color: var(--ink-500);
}

/* --- Zahlenband --------------------------------------------------------- */
.figures {
  display: grid; gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
}
.figure-item { padding-block-start: var(--sp-4); border-block-start: 3px solid var(--leaf-500); }
.figure-item b {
  display: block; font-family: var(--font-head);
  font-size: clamp(2rem, 3vw + 1rem, 3rem); font-weight: 600;
  line-height: 1; letter-spacing: -.025em; color: var(--brand-800);
  font-variant-numeric: tabular-nums;
}
.figure-item span { display: block; margin-block-start: .6rem; font-size: 1.0625rem; line-height: 1.5; color: var(--ink-700); }

/* --- Sanftes Einblenden beim Scrollen ----------------------------------- */
/* Ausfallsicher: Der versteckte Zustand greift erst, wenn das Skript die
   Klasse reveal-ready gesetzt hat. Scheitert JS, bleibt alles sichtbar.
   Inhalt darf niemals von JavaScript abhängen. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal { opacity: 0; transform: translateY(14px); }
  .reveal-ready .reveal.is-in {
    opacity: 1; transform: none;
    transition: opacity .6s ease, transform .6s cubic-bezier(.22,.8,.3,1);
  }
}

/* --- Medien und Bildplatzhalter ---------------------------------------- */
.media {
  position: relative; margin: 0;
  aspect-ratio: var(--ratio, 3 / 2);
  border-radius: var(--radius-organic);
  overflow: hidden;
  background: var(--sand-100);
}
.media--alt { border-radius: var(--radius-organic-alt); }
.media img { inline-size: 100%; block-size: 100%; object-fit: cover; }

.media--placeholder {
  border-radius: var(--radius-organic);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .35rem; padding: var(--sp-5); text-align: center;
  background:
    repeating-linear-gradient(135deg,
      var(--brand-050) 0 14px,
      var(--mist-050) 14px 28px);
  border: 2px dashed var(--brand-300);
  color: var(--ink-500);
}
.media__icon {
  display: inline-flex; align-items: center; justify-content: center;
  inline-size: 3rem; block-size: 3rem; margin-block-end: .35rem;
  border-radius: var(--radius-md);
  background: var(--paper); color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}
.media__icon svg { inline-size: 1.5rem; block-size: 1.5rem; }
.media__label {
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; color: var(--brand-700);
}
.media__motiv {
  max-inline-size: 44ch; font-size: .9375rem; line-height: 1.5; color: var(--ink-700);
}
.media__file {
  font-family: ui-monospace, "SFMono-Regular", Menlo, monospace;
  font-size: .8125rem; color: var(--ink-500);
  background: var(--paper); padding: .15rem .5rem; border-radius: var(--radius-sm);
}
.media--placeholder.media--dark {
  background: repeating-linear-gradient(135deg, rgb(255 255 255 / .06) 0 14px, rgb(255 255 255 / .02) 14px 28px);
  border-color: color-mix(in srgb, var(--paper) 30%, transparent);
  color: color-mix(in srgb, var(--paper) 80%, transparent);
}
.media--dark .media__icon { background: rgb(255 255 255 / .12); color: var(--leaf-400); box-shadow: none; }
.media--dark .media__label { color: var(--leaf-400); }
.media--dark .media__motiv { color: color-mix(in srgb, var(--paper) 82%, transparent); }
.media--dark .media__file { background: rgb(255 255 255 / .12); color: color-mix(in srgb, var(--paper) 78%, transparent); }

/* --- Footer ------------------------------------------------------------ */
.footer { background: var(--brand-900); color: color-mix(in srgb, var(--paper) 82%, transparent); padding-block: clamp(3rem, 6vw, 4.5rem) var(--sp-6); }
.footer h2, .footer h3 { color: var(--paper); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-block-end: var(--sp-4); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer a { color: color-mix(in srgb, var(--paper) 82%, transparent); text-decoration: none; }
.footer a:hover { color: var(--paper); text-decoration: underline; }
.footer__brand img { block-size: 2.5rem; inline-size: auto; filter: brightness(0) invert(1); opacity: .95; }
.footer__brand p { margin-block-start: var(--sp-4); font-size: 1.0625rem; max-inline-size: 32ch; }
.footer address { font-style: normal; display: grid; gap: .5rem; justify-items: start; }
.footer address a { display: inline-flex; align-items: center; gap: .5rem; }
.footer__legal { margin-block-start: clamp(2.5rem, 5vw, 3.5rem); padding-block-start: var(--sp-5); border-block-start: 1px solid color-mix(in srgb, var(--paper) 18%, transparent); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; font-size: var(--text-sm); }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }

/* --- Sticky Mobile Bar -------------------------------------------------- */
.mobilebar {
  position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  border-block-start: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgb(6 32 47 / .12);
  padding-block-end: env(safe-area-inset-bottom);
}
.mobilebar a {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  min-block-size: 3.5rem; padding: .5rem;
  font-weight: 650; text-decoration: none;
}
.mobilebar a:first-child { background: var(--paper); color: var(--brand-800); }
.mobilebar a:last-child { background: var(--leaf-600); color: var(--paper); }
.mobilebar svg { inline-size: 1.2em; block-size: 1.2em; }
@media (min-width: 48rem) { .mobilebar { display: none; } }
@media (max-width: 47.99rem) { body { padding-block-end: 3.5rem; } }
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
@layer utilities {
.visually-hidden {
  position: absolute !important; inline-size: 1px; block-size: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }
.mt-0 { margin-block-start: 0; }
.mt-4 { margin-block-start: var(--sp-4); }
.mt-5 { margin-block-start: var(--sp-5); }
.mt-6 { margin-block-start: var(--sp-6); }
.mt-7 { margin-block-start: var(--sp-7); }
.mb-5 { margin-block-end: var(--sp-5); }
.mb-6 { margin-block-end: var(--sp-6); }
.muted { color: var(--ink-500); }
.small { font-size: var(--text-sm); }
.nowrap { white-space: nowrap; }
.full-measure { max-inline-size: none !important; }
.updated { font-size: var(--text-sm); color: var(--ink-500); }
}

/* Icon-Masken (für ::after in summary und select-Pfeil) */
:root {
  --icon-chevron: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  --icon-chevron-img: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A6B7F' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
}

/* Print */
@media print {
  .header, .topbar, .footer, .mobilebar, .cta-band, .skip { display: none !important; }
  body { font-size: 11pt; color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}
