/* ==========================================================================
   Vitruv Plan – Landingpage
   Farben, Schriften, Abstände und Radien AUSSCHLIESSLICH über die Tokens aus
   assets/css/tokens.css (--vp-*). Keine eigenen Farbwerte: Das Design-Lint
   (npm run lint:design) schlägt sonst an. Markenregeln: docs/vitruv-plan-brand/brand/BRAND.md
   Dunkle Inseln (Story, Phasenkarten, Pilotkarte, Footer) tragen data-theme="dark"
   und bekommen so die dunklen Token-Werte – in beiden Modi.
   ========================================================================== */

/* --- Grundlagen ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--vp-surface-100);
  color: var(--vp-ink);
  font-family: var(--vp-font-sans);
  font-size: 16px;
  line-height: 26px;
}
[data-theme="dark"] { background: var(--vp-surface-100); color: var(--vp-ink); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--vp-terra); text-underline-offset: 3px; }
a:hover { color: var(--vp-terra-strong); }
:focus-visible { outline: none; box-shadow: var(--vp-focus-ring); border-radius: var(--vp-radius-1); }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: var(--vp-content-max); margin: 0 auto; padding: 0 var(--vp-space-3); }

.skip-link {
  position: absolute; left: var(--vp-space-3); top: -64px; z-index: 300;
  background: var(--vp-surface-050); color: var(--vp-ink); padding: var(--vp-space-2) var(--vp-space-3);
  border: 1px solid var(--vp-rule-strong); border-radius: var(--vp-radius-1);
}
.skip-link:focus { top: var(--vp-space-2); }

/* --- Typografie ---------------------------------------------------------- */
.label {
  font-family: var(--vp-font-mono); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--vp-terra);
}
.label--plan { color: var(--vp-plan); }
.label--olive { color: var(--vp-olive); }
.label--gedaempft { color: var(--vp-ink-muted); }
.titel {
  font-family: var(--vp-font-display); font-weight: 400;
  font-size: clamp(34px, 4vw, 48px); line-height: 1.05;
}
.titel--schmal { max-width: 760px; }
.lead { font-size: 18px; line-height: 30px; }
h3 { font-size: 20px; line-height: 28px; font-weight: 600; }

/* --- Buttons (Touch-Ziel ≥ 44 px) ---------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
  padding: 13px var(--vp-space-4); border: 1px solid transparent; border-radius: var(--vp-radius-1);
  font-family: var(--vp-font-sans); font-size: 15px; line-height: 20px; font-weight: 500;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--vp-terra); color: var(--vp-on-terra); }
.btn--primary:hover { background: var(--vp-terra-strong); color: var(--vp-on-terra); }
.btn--secondary { background: transparent; color: var(--vp-ink); border-color: var(--vp-rule-strong); }
.btn--secondary:hover { background: var(--vp-surface-200); color: var(--vp-ink); }
.btn--invers { background: var(--vp-ink); color: var(--vp-surface-100); }
.btn--invers:hover { background: var(--vp-ink-muted); color: var(--vp-surface-100); }
.cta-reihe { display: flex; flex-wrap: wrap; gap: var(--vp-space-3); }

/* --- Zeichen „Zehn Phasen“ als Trennlinie: 9 × Tinte + 1 × Terrakotta ----- */
.zehn { display: grid; grid-template-columns: repeat(10, 1fr); gap: var(--vp-space-1); }
.zehn i { display: block; height: 4px; background: var(--vp-ink); }
.zehn i:last-child { background: var(--vp-terra); }

/* --- 1 Navigation -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--vp-surface-100); border-bottom: 1px solid var(--vp-hairline);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--vp-space-3); min-height: 72px; }
.brand { display: inline-flex; padding: var(--vp-space-1) 0; }
.brand img { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--vp-space-4); font-size: 15px; font-weight: 500; }
/* Berührungsziel 44 × 44 px (BRAND.md §6), auch für das kurze „FAQ“ */
.site-nav a:not(.btn) {
  color: var(--vp-ink); text-decoration: none; display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 44px;
}
.site-nav a:not(.btn):hover { color: var(--vp-terra); text-decoration: underline; }
.site-nav__cta { min-height: 44px; padding: 10px 20px; }
.nav-toggle {
  display: none; align-items: center; gap: var(--vp-space-2); min-height: 44px; padding: 0 var(--vp-space-3);
  background: transparent; color: var(--vp-ink); border: 1px solid var(--vp-rule-strong); border-radius: var(--vp-radius-1);
  font: inherit; font-size: 15px; font-weight: 500; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* --- 2 Hero -------------------------------------------------------------- */
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--vp-space-6);
  align-items: center; padding-top: var(--vp-space-6); padding-bottom: var(--vp-space-6);
}
.hero__text { display: flex; flex-direction: column; gap: var(--vp-space-4); }
.hero__titel {
  font-family: var(--vp-font-display); font-weight: 400; letter-spacing: -0.01em;
  font-size: clamp(48px, 6vw, 84px); line-height: 0.98;
}
.hero .lead { max-width: 560px; }
.fakten {
  display: flex; flex-wrap: wrap; gap: var(--vp-space-2) var(--vp-space-4);
  padding-top: var(--vp-space-3); border-top: 1px solid var(--vp-hairline);
  font-family: var(--vp-font-mono); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--vp-ink-muted);
}
figure img.shot-img { border: 1px solid var(--vp-hairline); border-radius: var(--vp-radius-2); cursor: zoom-in; }
figcaption { margin-top: var(--vp-space-2); font-size: 14px; line-height: 22px; color: var(--vp-ink-muted); }

/* --- 3 Kennzahlen -------------------------------------------------------- */
.kennzahlen { padding-bottom: var(--vp-space-6); }
.kennzahlen__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-4); margin-top: var(--vp-space-4); }
.kennzahlen__liste dt { font-family: var(--vp-font-display); font-size: 48px; line-height: 1.05; }
.kennzahlen__liste dd { margin-top: var(--vp-space-1); color: var(--vp-ink-muted); max-width: 300px; }

/* --- Abschnitte: Grund und Abstände -------------------------------------- */
.abschnitt { padding: var(--vp-space-7) 0; }
.abschnitt--erhaben { background: var(--vp-surface-050); border-top: 1px solid var(--vp-hairline); border-bottom: 1px solid var(--vp-hairline); }
.abschnitt--abgesenkt { background: var(--vp-surface-200); }
.abschnitt--plan { background: var(--vp-plan-tint); }
.abschnitt .wrap > .titel, .abschnitt .wrap > .label { margin-bottom: var(--vp-space-3); }
.abschnitt .wrap > .label + .titel { margin-top: 0; }
.kopf { display: flex; flex-direction: column; gap: var(--vp-space-3); max-width: 720px; margin-bottom: var(--vp-space-5); }
.kopf--zweispaltig { max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--vp-space-4); }
.kopf--zweispaltig > div { display: flex; flex-direction: column; gap: var(--vp-space-3); max-width: 640px; }
.kopf__neben { max-width: 420px; color: var(--vp-ink-muted); }
.abschnitt__fuss { margin-top: var(--vp-space-4); color: var(--vp-ink-muted); }
.karte { background: var(--vp-surface-050); border: 1px solid var(--vp-hairline); border-radius: var(--vp-radius-2); padding: var(--vp-space-5) var(--vp-space-4); }

/* --- 4 Story (dunkle Insel) ---------------------------------------------- */
.story { background: var(--vp-surface-050); }
.story__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--vp-space-6);
  padding-top: var(--vp-space-7); padding-bottom: var(--vp-space-7);
}
.story__kopf { display: flex; flex-direction: column; gap: var(--vp-space-4); }
.story__titel { font-family: var(--vp-font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.02; }
.story__titel em { color: var(--vp-terra); }
.story__zeichen { width: 200px; height: 200px; margin-top: var(--vp-space-3); }
.story__text { display: flex; flex-direction: column; gap: var(--vp-space-4); font-size: 18px; line-height: 30px; }
.story__zweit { color: var(--vp-ink-muted); }
.werte {
  grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--vp-hairline); border: 1px solid var(--vp-hairline);
}
.werte li { background: var(--vp-surface-050); padding: var(--vp-space-5) var(--vp-space-4); display: flex; flex-direction: column; gap: var(--vp-space-3); }
.werte__latein { font-family: var(--vp-font-display); font-style: italic; font-size: 36px; line-height: 40px; color: var(--vp-terra); }
.werte__wort { font-size: 20px; line-height: 28px; font-weight: 600; }
.werte__text { color: var(--vp-ink-muted); }

/* --- 5 / 9 Drei Spalten mit Oberlinie ------------------------------------ */
.schmerz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-5); margin-top: var(--vp-space-5); }
.schmerz > div { border-top: 2px solid var(--vp-ink); padding-top: var(--vp-space-4); display: flex; flex-direction: column; gap: var(--vp-space-2); }
.schmerz p { color: var(--vp-ink-muted); }
.ueberleitung { margin-top: var(--vp-space-6); font-family: var(--vp-font-display); font-size: 32px; line-height: 1.2; max-width: 860px; }
.hinweis {
  margin-top: var(--vp-space-5); padding: var(--vp-space-3) var(--vp-space-4);
  background: var(--vp-plan-tint); border-left: 3px solid var(--vp-plan); border-radius: var(--vp-radius-1);
}

/* --- 6 Drei Aufgaben + Galerie ------------------------------------------- */
.aufgaben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-4); margin-top: var(--vp-space-5); }
.aufgaben .karte { background: var(--vp-surface-100); display: flex; flex-direction: column; gap: var(--vp-space-2); }
.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vp-space-5) var(--vp-space-4); margin-top: var(--vp-space-6); }

/* --- 7 Drei Rollen ------------------------------------------------------- */
.rollen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-4); }
.rolle { display: flex; flex-direction: column; gap: var(--vp-space-3); }
.rolle > p:last-child { color: var(--vp-ink-muted); }
.rolle__zeichen { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.rolle__zeichen svg { width: 26px; height: 26px; }
.rolle--regelwerk .rolle__zeichen { background: var(--vp-plan); color: var(--vp-on-plan); }
.rolle--regelwerk .label { color: var(--vp-plan); }
.rolle--pollio .label { color: var(--vp-olive); }
.rolle--du .rolle__zeichen { background: var(--vp-terra); color: var(--vp-on-terra); }
.rolle__avatar { width: 48px; height: 48px; border-radius: var(--vp-radius-full); }
.prinzipien__titel { margin-top: var(--vp-space-6); font-family: var(--vp-font-display); font-weight: 400; font-size: 32px; line-height: 1.15; }
.prinzipien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-4); margin-top: var(--vp-space-4); }
.prinzipien li { border-top: 1px solid var(--vp-rule-strong); padding-top: var(--vp-space-3); color: var(--vp-ink-muted); }
.prinzipien strong { display: block; color: var(--vp-ink); font-weight: 600; margin-bottom: var(--vp-space-1); }

/* --- 8 Funktionen: Akkordeon I–X ----------------------------------------- */
.bereiche { border-top: 1px solid var(--vp-hairline); }
.bereich { border-bottom: 1px solid var(--vp-hairline); }
.bereich summary {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) 24px; gap: var(--vp-space-3); align-items: center;
  padding: var(--vp-space-4) 0; cursor: pointer; list-style: none; min-height: 44px;
}
.bereich summary::-webkit-details-marker { display: none; }
.bereich summary::after {
  content: "+"; font-family: var(--vp-font-mono); font-size: 24px; line-height: 1; color: var(--vp-ink-muted); justify-self: end;
}
.bereich[open] summary::after { content: "–"; }
.bereich__nr { font-family: var(--vp-font-display); font-size: 32px; line-height: 36px; color: var(--vp-terra); }
.bereich__kopf { display: flex; flex-direction: column; gap: 2px; }
.bereich__titel { font-size: 20px; line-height: 28px; font-weight: 600; }
.bereich__satz { color: var(--vp-ink-muted); }
.bereich ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vp-space-3) var(--vp-space-5); padding: 0 0 var(--vp-space-5) calc(64px + var(--vp-space-3)); }
.bereich li { position: relative; padding-left: var(--vp-space-4); }
.bereich li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 4px; background: var(--vp-ink); }
.badges { display: flex; flex-wrap: wrap; gap: var(--vp-space-2); margin-top: var(--vp-space-5); }
.badges li {
  font-family: var(--vp-font-mono); font-size: 13px; line-height: 20px; color: var(--vp-ink);
  padding: 6px var(--vp-space-3); border: 1px solid var(--vp-rule-strong); border-radius: var(--vp-radius-1);
}

/* --- 10 Ausbaustand: zehn Karten ----------------------------------------- */
.phasen { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: var(--vp-space-2); }
.phase {
  display: flex; flex-direction: column; gap: var(--vp-space-2); min-height: 176px;
  padding: 20px var(--vp-space-3); border-radius: var(--vp-radius-1); border: 1px solid transparent;
}
.phase__nr { font-family: var(--vp-font-display); font-size: 40px; line-height: 40px; }
.phase__name { font-size: 14px; line-height: 20px; font-weight: 600; hyphens: manual; }
.phase__stand {
  margin-top: auto; font-family: var(--vp-font-mono); font-size: 11px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.phase--gefuehrt { background: var(--vp-surface-050); }
.phase--gefuehrt .phase__stand { color: var(--vp-status-done); }
.phase--vorbereitung { background: var(--vp-surface-050); border-color: var(--vp-rule-strong); }
.phase--vorbereitung .phase__stand { color: var(--vp-status-open); }
.phase--vorgesehen { border: 1px dashed var(--vp-rule-strong); }
.phase--vorgesehen .phase__stand { color: var(--vp-ink-muted); }

/* --- 11 Vergleich -------------------------------------------------------- */
.tabelle-rahmen { margin-top: var(--vp-space-5); overflow-x: auto; background: var(--vp-surface-050); border: 1px solid var(--vp-hairline); border-radius: var(--vp-radius-2); }
.vergleich { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; line-height: 24px; }
.vergleich th, .vergleich td { padding: var(--vp-space-3) var(--vp-space-4); border-bottom: 1px solid var(--vp-hairline); text-align: left; vertical-align: top; }
.vergleich tbody tr:last-child > * { border-bottom: 0; }
.vergleich thead th {
  font-family: var(--vp-font-mono); font-size: 12px; line-height: 16px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--vp-ink-muted);
}
.vergleich thead th:last-child { color: var(--vp-terra); }
.vergleich tbody th { font-weight: 600; }
.vergleich tbody td:nth-child(2) { color: var(--vp-ink-muted); }
/* Telefon: Zeilen gestapelt, damit die Spalte „Vitruv Plan“ nicht hinter
   dem Querscrollen verschwindet. Die Rollen im HTML halten die Semantik. */
@media (max-width: 720px) {
  .tabelle-rahmen { overflow-x: visible; }
  .vergleich { min-width: 0; }
  .vergleich thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .vergleich tbody, .vergleich tr, .vergleich th, .vergleich td { display: block; }
  .vergleich tbody tr { padding: var(--vp-space-3) var(--vp-space-4); border-bottom: 1px solid var(--vp-hairline); }
  .vergleich tbody tr:last-child { border-bottom: 0; }
  .vergleich tbody th, .vergleich tbody td { padding: 0; border-bottom: 0; }
  .vergleich tbody td { margin-top: var(--vp-space-2); }
  .vergleich td::before {
    content: attr(data-label); display: block;
    font-family: var(--vp-font-mono); font-size: 12px; line-height: 16px; font-weight: 500;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--vp-ink-muted);
  }
  .vergleich td:last-child::before { color: var(--vp-terra); }
}

/* --- 12 Vertrauen -------------------------------------------------------- */
.vertrauen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-5) var(--vp-space-4); margin-top: var(--vp-space-5); }
.vertrauen li { border-top: 1px solid var(--vp-rule-strong); padding-top: var(--vp-space-3); display: flex; flex-direction: column; gap: var(--vp-space-2); }
.vertrauen p { color: var(--vp-ink-muted); }

/* --- 13 Förderung -------------------------------------------------------- */
.foerderung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--vp-space-6); align-items: start; }
.foerderung .titel { margin-top: var(--vp-space-3); }
.foerderung__text { display: flex; flex-direction: column; align-items: flex-start; gap: var(--vp-space-4); font-size: 18px; line-height: 30px; }

/* --- 14 Warum neuziel ---------------------------------------------------- */
.neuziel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--vp-space-6); align-items: start; }
.neuziel .titel { margin: var(--vp-space-3) 0; }
.liste { margin-top: var(--vp-space-4); display: flex; flex-direction: column; gap: var(--vp-space-2); }
.liste li { position: relative; padding-left: var(--vp-space-4); }
.liste li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 4px; background: var(--vp-ink); }
.schritte { counter-reset: none; display: flex; flex-direction: column; border-top: 1px solid var(--vp-hairline); }
.schritte li { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: var(--vp-space-3); padding: var(--vp-space-3) 0; border-bottom: 1px solid var(--vp-hairline); color: var(--vp-ink-muted); }
.schritte__nr { grid-row: span 2; font-family: var(--vp-font-display); font-size: 40px; line-height: 40px; color: var(--vp-terra); }
.schritte__titel { font-weight: 600; color: var(--vp-ink); }

/* --- 15 Pilot ------------------------------------------------------------ */
.pilot { background: var(--vp-terra); color: var(--vp-on-terra); }
.pilot .label { color: var(--vp-on-terra); }
.pilot__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--vp-space-6);
  padding-top: var(--vp-space-7); padding-bottom: var(--vp-space-7);
}
.pilot__text { display: flex; flex-direction: column; gap: var(--vp-space-4); }
.pilot__titel { font-family: var(--vp-font-display); font-weight: 400; font-size: clamp(40px, 4.6vw, 60px); line-height: 1.02; }
.pilot__karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--vp-space-3); }
.pilot-karte { background: var(--vp-surface-100); color: var(--vp-ink); padding: var(--vp-space-5) var(--vp-space-4); display: flex; flex-direction: column; gap: var(--vp-space-3); }
.pilot-karte[data-theme="dark"] { background: var(--vp-surface-050); }
.pilot-karte p:not(.label) { font-size: 15px; line-height: 24px; color: var(--vp-ink-muted); }
.pilot-karte .btn { margin-top: auto; align-self: flex-start; }
.pilot .pilot-karte .label { color: var(--vp-ink-muted); }
.pilot__fuss { grid-column: 1 / -1; font-size: 14px; line-height: 22px; }

/* --- Stimmen (verborgen, bis Zitate freigegeben sind) -------------------- */
.stimmen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--vp-space-4); margin-top: var(--vp-space-5); }
.stimme { display: flex; flex-direction: column; background: var(--vp-surface-050); border: 1px solid var(--vp-hairline); border-radius: var(--vp-radius-2); padding: var(--vp-space-4); }
.stimme blockquote { margin: 0 0 var(--vp-space-3); font-family: var(--vp-font-display); font-size: 24px; line-height: 1.25; }
/* Name unten bündig, auch wenn die Zitate verschieden lang sind */
.stimme figcaption { margin-top: auto; }
.stimmen__vorschau { margin-top: var(--vp-space-2); }

/* --- 16 FAQ -------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: var(--vp-space-6); align-items: start; }
.faq .titel { margin-top: var(--vp-space-3); }
.faq__liste { border-top: 1px solid var(--vp-hairline); }
.faq-item { border-bottom: 1px solid var(--vp-hairline); }
.faq-item summary {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; gap: var(--vp-space-3); align-items: center;
  padding: var(--vp-space-3) 0; min-height: 56px; cursor: pointer; list-style: none;
  font-size: 18px; line-height: 26px; font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--vp-font-mono); font-size: 22px; line-height: 1; color: var(--vp-ink-muted); justify-self: end; }
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 var(--vp-space-4); color: var(--vp-ink-muted); max-width: 720px; }

/* --- 17 Abschluss -------------------------------------------------------- */
.abschluss .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: var(--vp-space-4); }
.abschluss .titel { max-width: 760px; margin: 0; }

/* --- 18 Footer (dunkle Insel) -------------------------------------------- */
.site-footer { padding: var(--vp-space-6) 0 var(--vp-space-5); }
.site-footer__oben { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--vp-space-5); margin-bottom: var(--vp-space-5); }
.site-footer__marke { display: flex; flex-direction: column; gap: var(--vp-space-3); max-width: 360px; }
/* align-self: sonst streckt die Spalte das Bild, und das SVG zentriert sich darin */
.site-footer__marke img { height: 40px; width: auto; align-self: flex-start; }
.site-footer__claim { font-family: var(--vp-font-display); font-size: 24px; line-height: 30px; }
.site-footer__spalten { display: flex; flex-wrap: wrap; gap: var(--vp-space-5) var(--vp-space-6); font-size: 15px; line-height: 28px; }
.site-footer__spalten > div { display: flex; flex-direction: column; }
.site-footer__spalten .label { margin-bottom: var(--vp-space-2); }
.site-footer a { color: var(--vp-ink); text-decoration: none; padding: 12px 0; line-height: 20px; }
.site-footer a:hover { color: var(--vp-terra); text-decoration: underline; }
.zehn--fuss { margin-bottom: var(--vp-space-4); }
.zehn--fuss i { height: 2px; }
.site-footer__absender { font-size: 14px; line-height: 22px; color: var(--vp-ink-muted); }

/* --- Lightbox ------------------------------------------------------------ */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: flex; align-items: center; justify-content: center;
  padding: var(--vp-space-5) var(--vp-space-3); background: color-mix(in srgb, var(--vp-ink) 82%, transparent);
}
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(1440px, 100%); max-height: 100%; border-radius: var(--vp-radius-2); box-shadow: var(--vp-shadow-dialog); }
.lightbox-close {
  position: absolute; top: var(--vp-space-3); right: var(--vp-space-3); width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--vp-surface-050); color: var(--vp-ink); border: 1px solid var(--vp-rule-strong); border-radius: var(--vp-radius-1);
}
.lightbox-close svg { width: 22px; height: 22px; }

/* --- Barrierefreiheits-Menü ---------------------------------------------- */
.a11y-widget { position: fixed; right: var(--vp-space-3); bottom: var(--vp-space-3); z-index: 200; }
.a11y-toggle {
  width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  background: var(--vp-plan); color: var(--vp-on-plan); border: 0; border-radius: var(--vp-radius-full);
}
.a11y-toggle svg { width: 24px; height: 24px; }
.a11y-toggle circle { fill: currentColor; stroke: none; }
.a11y-panel {
  display: none; position: absolute; right: 0; bottom: 60px; width: 264px; padding: var(--vp-space-3);
  background: var(--vp-surface-050); color: var(--vp-ink); border: 1px solid var(--vp-hairline);
  border-radius: var(--vp-radius-2); box-shadow: var(--vp-shadow-dialog);
}
.a11y-panel[data-open="true"] { display: block; }
.a11y-panel .label { margin-bottom: var(--vp-space-2); }
.a11y-panel button {
  display: flex; align-items: center; gap: var(--vp-space-2); width: 100%; min-height: 44px; padding: 0 var(--vp-space-2);
  background: transparent; color: var(--vp-ink); border: 1px solid transparent; border-radius: var(--vp-radius-1);
  font: inherit; font-size: 15px; text-align: left; cursor: pointer;
}
.a11y-panel button:hover { background: var(--vp-surface-200); }
.a11y-panel button[aria-pressed="true"] { background: var(--vp-plan-tint); border-color: var(--vp-plan); font-weight: 600; }
.a11y-panel svg { width: 18px; height: 18px; flex: none; }

/* Schalter des Menüs – über vorhandene Tokens, keine eigenen Farben */
html.a11y-font-1 body { zoom: 1.15; }
:root.a11y-contrast, .a11y-contrast [data-theme="dark"] { --vp-ink-muted: var(--vp-ink); --vp-hairline: var(--vp-rule-strong); }
html.a11y-contrast a:not(.btn) { text-decoration: underline; }
html.a11y-line-height body, html.a11y-line-height p, html.a11y-line-height li { line-height: 2; }
html.a11y-big-cursor, html.a11y-big-cursor * { cursor: url("assets/a11y/cursor-gross.svg") 4 2, auto !important; }
html.a11y-link-highlight a:not(.btn) { text-decoration: underline; text-decoration-thickness: 2px; outline: 1px solid currentColor; outline-offset: 2px; }
html.a11y-reduce-motion { scroll-behavior: auto; }
html.a11y-reduce-motion *, html.a11y-reduce-motion *::before, html.a11y-reduce-motion *::after { animation: none !important; transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Responsiv ----------------------------------------------------------- */
@media (max-width: 1100px) {
  .phasen { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bereich ul { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .hero__inner, .story__inner, .foerderung, .neuziel, .pilot__inner, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero__inner { gap: var(--vp-space-5); padding-top: var(--vp-space-5); }
  .rollen, .aufgaben, .schmerz, .prinzipien, .vertrauen, .werte, .stimmen { grid-template-columns: minmax(0, 1fr); }
  .abschnitt, .story__inner, .pilot__inner { padding-top: var(--vp-space-6); padding-bottom: var(--vp-space-6); }
  .faq { gap: var(--vp-space-4); }
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .site-header__inner { flex-wrap: wrap; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--vp-space-2) 0 var(--vp-space-3); border-top: 1px solid var(--vp-hairline);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { justify-content: flex-start; padding: var(--vp-space-3) 0; border-bottom: 1px solid var(--vp-hairline); }
  .site-nav__cta { margin-top: var(--vp-space-3); }
}
@media (max-width: 720px) {
  .kennzahlen__liste, .galerie, .pilot__karten { grid-template-columns: minmax(0, 1fr); }
  .phasen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phase { min-height: 132px; }
  .bereich summary { grid-template-columns: 44px minmax(0, 1fr) 24px; }
  .bereich ul { padding-left: 0; }
  .ueberleitung { font-size: 26px; }
  .story__zeichen { width: 120px; height: 120px; }
}
@media (max-width: 400px) {
  .cta-reihe .btn { width: 100%; }
  .site-footer__spalten { gap: var(--vp-space-4); }
}
