/* ==========================================================================
   ReportFlow: Stylesheet der Website (Relaunch 2026)
   Gestaltung: Serif-Überschriften, Raster, Ruhe. Farben: App-Palette.
   Handy zuerst. Keine externen Quellen. Bausteine: siehe vorlagen/LIES-MICH.md
   ========================================================================== */

/* ---------- 1. Schriften (selbst gehostet, liegen in /fonts/: eigene Cache-Regel, ein Jahr) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("/fonts/inter-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/newsreader-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("/fonts/newsreader-latin-ext-var.woff2") format("woff2");
  unicode-range: U+0100-024F, U+1E00-1EFF; }

/* ---------- 2. Tokens ---------- */
:root {
  /* Farben (App-Palette, client/tailwind.config.js). Kontrast in Klammern. */
  --c-white: #ffffff;
  --c-canvas: #f4f6f9;
  --c-canvas-deep: #edeff3;
  --c-ink: #131c26;            /* 15,9:1 auf Canvas */
  --c-muted: #55606d;          /* 5,9:1 auf Canvas, 6,3:1 auf Weiß */
  --c-brand: #1f3a5f;          /* Weiß darauf 11,5:1 */
  --c-brand-dark: #152840;
  --c-brand-900: #101f33;      /* Weiß darauf 16,6:1 */
  --c-brand-50: #eef2f8;
  --c-brand-100: #dde4f0;
  --c-brand-200: #c2cfe2;      /* auf Navy-900 10,5:1 */
  --c-petrol: #0f6b5c;         /* 6,4:1 auf Weiß */
  --c-petrol-soft: #e6f1ef;
  --c-warn: #b4690e;
  --c-warn-soft: #fdf3e3;
  --c-line: #c6d1d7;
  --c-line-soft: #e4e9ef;

  /* Schrift */
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-prose: 1.0625rem;
  --fs-lead: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h3: 1.125rem;
  --fs-h2: clamp(1.875rem, 1.4rem + 2.2vw, 3rem);
  --fs-h1: clamp(1.875rem, 1.2rem + 4.2vw, 4.5rem);
  --fs-h1-seite: clamp(1.875rem, 1.35rem + 2.8vw, 3.5rem);

  /* Abstände, Breiten, Radien, Schatten */
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px;
  --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px;
  --section: clamp(72px, 9vw, 128px);
  --shell: 74rem;
  --lesebreite: 42rem;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --r-full: 999px;
  --sh-soft: 0 1px 2px rgba(31,58,95,.04), 0 1px 3px rgba(31,58,95,.07);
  --sh-md: 0 2px 4px -1px rgba(31,58,95,.05), 0 8px 20px -6px rgba(31,58,95,.12);
  --sh-lg: 0 4px 6px -2px rgba(31,58,95,.05), 0 32px 64px -16px rgba(31,58,95,.22);
  --focus: 0 0 0 3px var(--c-white), 0 0 0 5px var(--c-brand);
  --kopfhoehe: 64px;

  /* Bewegung */
  --ease: cubic-bezier(.2,.7,.2,1);
  --t-fast: 150ms;
  --t-slow: 700ms;
}

/* ---------- 3. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--c-white); color: var(--c-ink);
  font: 400 var(--fs-base)/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
.karte-link .titel, .zitat { text-wrap: balance; }
[id] { scroll-margin-top: calc(var(--kopfhoehe) + 24px); }
:where(a, button, summary):focus-visible { scroll-margin-block: calc(var(--kopfhoehe) + 32px); }
/* Fokus als Umriss (Nachprüfung 10, A1): Schatten-Regeln von Knöpfen, Karten und Reitern
   können ihn nicht überschreiben, und im Kontrastmodus setzt der Browser die Systemfarbe. */
:focus-visible { outline: 3px solid var(--c-brand); outline-offset: 3px; }
::selection { background: rgba(31,58,95,.14); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--c-brand); color: var(--c-white); padding: 10px 16px; border-radius: var(--r-md); font-weight: 600; }
.skip-link:focus-visible { left: 8px; }
/* Ziel des Sprunglinks: nur Lesestelle, kein Bedienelement */
main:focus { outline: none; }

.shell { width: 100%; max-width: var(--shell); margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .shell { padding-inline: 40px; } }
.shell.schmal { max-width: calc(var(--lesebreite) + 80px); }

/* ---------- 4. Typo-Rollen ---------- */
.serif { font-family: var(--f-serif); font-weight: 450; letter-spacing: -0.015em; }
.h1 { font-size: var(--fs-h1); line-height: 1.04; }
.h1-seite { font-size: var(--fs-h1-seite); line-height: 1.08; }
.h2 { font-size: var(--fs-h2); line-height: 1.1; }
.h1 em, .h1-seite em, .h2 em { font-style: italic; color: var(--c-brand); }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); color: var(--c-muted); line-height: 1.6; }
.muted { color: var(--c-muted); }
.small { font-size: var(--fs-xs); }
.num { font-variant-numeric: tabular-nums; }
@media (min-width: 400px) { .nowrap { white-space: nowrap; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-brand);
  background: var(--c-brand-50); border: 1px solid var(--c-brand-100);
  padding: 5px 12px; border-radius: var(--r-full);
}
.eyebrow { justify-self: start; align-self: start; width: fit-content; }
.kicker { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-petrol); }

/* Nur im Entwurf: offene Punkte. Wird NIE ausgeliefert (Wächter). */
.offen { display: inline; background: var(--c-warn-soft); color: #7a4708; border: 1px dashed var(--c-warn); border-radius: 6px; padding: 1px 6px; font-size: .88em; font-weight: 500; }

/* ---------- 5. Knöpfe und Links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: 48px; padding: 0 22px; border-radius: var(--r-md);
  font: 600 var(--fs-sm)/1 var(--f-sans); text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color var(--t-fast) ease-out, border-color var(--t-fast) ease-out, transform var(--t-fast) ease-out;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--c-brand); color: var(--c-white); box-shadow: var(--sh-soft); }
.btn-primary:hover { background: var(--c-brand-dark); }
.btn-secondary { background: var(--c-white); color: var(--c-brand); border-color: var(--c-line); }
.btn-secondary:hover { background: var(--c-brand-50); border-color: var(--c-brand-200); }
.btn-light { background: var(--c-white); color: var(--c-brand-900); }
.btn-light:hover { background: var(--c-brand-50); }
.btn .pfeil { transition: transform var(--t-fast) ease-out; }
.btn:hover .pfeil { transform: translateX(3px); }
/* Schmale Schirme (bis 399 px): Knöpfe brechen um, lange Wörter werden getrennt */
@media (max-width: 399px) {
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-block: 12px; }
  h1, h2, h3, .zitat, .karte-link .titel, .abschluss-person p { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
}
.knoepfe { display: flex; flex-direction: column; gap: var(--sp-3); align-items: stretch; }
@media (min-width: 520px) { .knoepfe { flex-direction: row; flex-wrap: wrap; align-items: center; } }
.link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--c-brand); font-weight: 600; font-size: var(--fs-sm);
  text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.link:hover { text-decoration-thickness: 2px; }
.linkbutton { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: none; min-height: 32px; }
.linkbutton:hover { color: var(--c-brand); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- 6. Kopfzeile ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color var(--t-fast) ease-out;
}
.kopf.ist-gescrollt { border-bottom-color: var(--c-line-soft); }
.kopf-innen { display: flex; align-items: center; gap: var(--sp-5); height: var(--kopfhoehe); }
.kopf .marke { display: inline-flex; min-height: 44px; align-items: center; }
.kopf .marke img { height: 22px; width: auto; }
.kopf .hauptnav { margin-left: auto; }
.kopf .hauptnav ul { display: none; list-style: none; margin: 0; padding: 0; gap: 2px; }
.kopf .hauptnav a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: var(--r-full); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; color: var(--c-muted); transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
.kopf .hauptnav a:hover { background: var(--c-brand-50); color: var(--c-brand); }
.kopf .hauptnav a[aria-current="page"] { color: var(--c-brand); background: var(--c-brand-50); }
.kopf .btn { min-height: 40px; padding: 0 16px; font-size: var(--fs-xs); white-space: nowrap; }
.menue .menue-aufruf { border-bottom: 0; padding-top: var(--sp-4); }
.menue .menue-aufruf .btn { width: 100%; color: var(--c-white); justify-content: center; border-bottom: 0; }
@media (min-width: 360px) { .menue .menue-aufruf { display: none; } }
@media (max-width: 359px) { .kopf-innen > .btn { display: none; } .kopf .hauptnav { margin-left: auto; } }
.menue-knopf { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: calc(var(--sp-2) * -1); background: transparent; border: 0; border-radius: var(--r-md); color: var(--c-ink); cursor: pointer; }
.menue-knopf svg { width: 22px; height: 22px; }
.menue { display: none; border-top: 1px solid var(--c-line-soft); background: var(--c-white); }
.menue.ist-offen { display: block; max-height: calc(100dvh - var(--kopfhoehe)); overflow-y: auto; overscroll-behavior: contain; }
.menue ul { list-style: none; margin-block: 0; padding-block: var(--sp-2) var(--sp-4); }
.menue a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--c-line-soft); }
.menue a[aria-current="page"] { color: var(--c-brand); font-weight: 600; }
@media (min-width: 960px) {
  .kopf .hauptnav ul { display: flex; }
  .kopf .hauptnav { margin-left: var(--sp-5); margin-right: auto; }
  .menue-knopf, .menue, .menue.ist-offen { display: none; }
}

/* ---------- 7. Brotkrumen ---------- */
.brotkrumen { padding-top: var(--sp-5); font-size: var(--fs-xs); color: var(--c-muted); }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.brotkrumen li { display: inline-flex; align-items: center; gap: var(--sp-2); }
.brotkrumen li + li::before { content: "›"; color: var(--c-line); }
.brotkrumen a { display: inline-flex; align-items: center; min-height: 24px; text-decoration: none; }
.brotkrumen a:hover { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
.brotkrumen [aria-current="page"] { color: var(--c-ink); }

/* ---------- 8. Hero der Startseite (zentriert) ---------- */
.hero {
  position: relative; text-align: center; padding-top: clamp(48px, 8vw, 104px);
  background:
    radial-gradient(48rem 22rem at 50% 0%, var(--c-brand-50), transparent 70%),
    linear-gradient(180deg, var(--c-white), var(--c-canvas) 85%);
}
.hero .h1 { margin: var(--sp-5) auto 0; }
@media (min-width: 768px) { .hero .h1 { max-width: 21ch; } }
/* Lange Suchbegriffe (Ramon Runde 3): unter 420 px nur an der gesetzten Trennstelle (&shy;) umbrechen,
   keine automatische Silbentrennung in Programm- und Markennamen. */
.hero .h1, .h1-begriff { hyphens: manual; -webkit-hyphens: manual; }
/* Ab 420 px passt das ganze Wort in die Zeile: Trennstelle dann nicht nutzen */
@media (min-width: 420px) { .hero .h1, .h1-begriff { hyphens: none; -webkit-hyphens: none; } }
.hero .lead { margin: var(--sp-5) auto 0; max-width: 38rem; }
.hero .knoepfe { margin-top: var(--sp-6); justify-content: center; }
.ramon-chip {
  display: inline-flex; align-items: center; gap: var(--sp-3); margin-top: var(--sp-6);
  padding: 6px 18px 6px 6px; background: var(--c-white); border: 1px solid var(--c-line-soft);
  border-radius: var(--r-lg); box-shadow: var(--sh-soft); text-align: left; font-size: var(--fs-sm); color: var(--c-muted);
}
@media (min-width: 520px) { .ramon-chip { border-radius: var(--r-full); } }
.ramon-chip img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; flex: none; }
.ramon-chip strong { color: var(--c-ink); font-weight: 600; }
.hero .app-bild { margin: clamp(40px, 6vw, 72px) auto 0; max-width: 64rem; }

/* ---------- 9. Seitenkopf der Unterseiten ---------- */
.seitenkopf { padding-block: var(--sp-6) clamp(48px, 7vw, 88px); background: linear-gradient(180deg, var(--c-white), var(--c-canvas)); border-bottom: 1px solid var(--c-line-soft); }
.seitenkopf .eyebrow { margin-top: var(--sp-5); }
.seitenkopf .h1-seite { margin-top: var(--sp-4); max-width: 22ch; }
.seitenkopf .lead { margin-top: var(--sp-4); max-width: 40rem; }
.seitenkopf .knoepfe { margin-top: var(--sp-6); }
.seitenkopf-raster { display: grid; gap: var(--sp-7); align-items: center; }
.seitenkopf-raster .h1-seite { font-size: clamp(1.875rem, 1.35rem + 1.5vw, 2.5rem); max-width: none; }
@media (min-width: 1024px) { .seitenkopf-raster { grid-template-columns: 1fr 1.1fr; gap: var(--sp-8); } }
.seitenkopf.ohne-verlauf { background: var(--c-white); }

/* ---------- 10. App-Bild (echte Ansicht aus der App) ---------- */
.app-bild { position: relative; }
.app-bild-rahmen { position: relative; overflow: hidden; background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-md); }
.app-bild-rahmen img { width: 100%; height: auto; }
.app-bild figcaption { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-muted); }
.app-bild figcaption .motiv + .herkunft::before { content: " · "; }
/* Bühne: groß, mit Fensterleiste (Hero) */
.app-bild.buehne .app-bild-rahmen { border-radius: var(--r-xl); box-shadow: var(--sh-lg); padding-top: 36px; }
.app-bild.buehne .app-bild-rahmen::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36px; border-bottom: 1px solid var(--c-line-soft);
  background: radial-gradient(circle at 20px 18px, var(--c-line-soft) 4.5px, transparent 5px), radial-gradient(circle at 36px 18px, var(--c-line-soft) 4.5px, transparent 5px), radial-gradient(circle at 52px 18px, var(--c-line-soft) 4.5px, transparent 5px), var(--c-white); }
.app-bild.buehne figcaption { text-align: center; }
/* Anschnitt: Bild läuft unten aus dem Rahmen (für hohe Ansichten) */
.app-bild.anschnitt .app-bild-rahmen { max-height: var(--anschnitt, 520px); }
.app-bild.anschnitt .app-bild-rahmen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--c-white)); pointer-events: none; }
/* Zoom: vergrößerter Ausschnitt oben links (Hero der Unterseiten, kleine Flächen) */
.app-bild.zoom .app-bild-rahmen { aspect-ratio: var(--zoom-format, 4 / 3); }
.app-bild.zoom .app-bild-rahmen img { width: var(--zoom, 160%); max-width: none; }
/* Handy: Gerätrahmen */
.app-bild.handy figcaption { text-align: center; }
/* In Kacheln: flacher */
.kachel .app-bild { margin-top: var(--sp-4); }
.kachel .app-bild-rahmen { box-shadow: none; border-radius: var(--r-md); }

/* ---------- 11. Vertrauensleiste ---------- */
.leiste { background: var(--c-canvas); border-bottom: 1px solid var(--c-line-soft); }
.leiste ul { list-style: none; margin: 0; padding: var(--sp-5) 0; display: grid; gap: var(--sp-3); font-size: var(--fs-sm); color: var(--c-muted); }
.leiste li { display: flex; align-items: center; gap: var(--sp-3); }
.leiste li::before, .haken li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--c-petrol-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%230f6b5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (min-width: 768px) { .leiste ul { grid-template-columns: repeat(3, auto); justify-content: center; gap: var(--sp-7); } }

/* ---------- 12. Abschnitte ---------- */
.abschnitt { padding-block: var(--section); }
.abschnitt.canvas { background: var(--c-canvas); }
.abschnitt.eng { padding-block: clamp(48px, 6vw, 80px); }
.abschnitt + .abschnitt:not(.canvas):not(.abschluss) { border-top: 1px solid var(--c-line-soft); }
.abschnitt-kopf { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.abschnitt-kopf.mitte { margin-inline: auto; text-align: center; }
.abschnitt-kopf .h2 { margin-top: var(--sp-3); }
.abschnitt-kopf .lead { margin-top: var(--sp-4); }

/* Text und Bild nebeneinander */
.split { display: grid; gap: var(--sp-7); align-items: center; }
/* Rasterkinder dürfen schmaler werden als ihr Inhalt (sonst sprengen Tabellen die Seite) */
:where(.split, .raster, .artikel-raster, .seitenkopf-raster, .termin-raster, .gruender, .preis-grid, .kapitel, .fuss-grid) > * { min-width: 0; }
.split .text > * + * { margin-top: var(--sp-4); }
.split .text .h2 { margin-top: var(--sp-3); }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.15fr; gap: var(--sp-8); }
  .split.umgekehrt > :first-child { order: 2; }
}

/* Haken-Listen */
.punkte, .haken { list-style: none; padding: 0; margin: var(--sp-5) 0 0; display: grid; gap: var(--sp-3); }
.punkte li, .enthalten li, .ablauf li { display: block; position: relative; }
.punkte li { padding-left: 34px; font-size: var(--fs-sm); }
.punkte li::before { content: ""; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--c-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%231f3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.haken li { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--fs-sm); }
.haken li::before { margin-top: 2px; }

/* Kacheln und Raster */
.raster { display: grid; gap: var(--sp-5); }
.kachel {
  display: flex; flex-direction: column; gap: var(--sp-2);
  background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg);
  padding: var(--sp-5); box-shadow: var(--sh-soft);
  transition: box-shadow var(--t-fast) ease-out, transform var(--t-fast) ease-out;
}
.kachel:hover { box-shadow: var(--sh-md); }
.kachel .nr { font-family: var(--f-serif); font-style: italic; font-size: 1.125rem; color: var(--c-petrol); }
.kachel p { color: var(--c-muted); font-size: var(--fs-sm); }
.raster-fuss { margin-top: var(--sp-5); text-align: center; }
@media (min-width: 768px) { .raster.zwei, .raster.vier { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .raster.drei { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .raster.bento { grid-template-columns: repeat(12, 1fr); }
  .bento > :nth-child(1) { grid-column: span 7; } .bento > :nth-child(2) { grid-column: span 5; }
  .bento > :nth-child(3) { grid-column: span 5; } .bento > :nth-child(4) { grid-column: span 7; }
  .kachel-mit-handy { display: grid; grid-template-columns: 1fr 200px; gap: var(--sp-5); align-items: end; }
  .kachel-mit-handy .app-bild.handy { margin-top: 0; max-width: 200px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .raster.bento { grid-template-columns: repeat(2, 1fr); } }
.symbol { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--c-brand-50); color: var(--c-brand); }
.symbol svg { width: 22px; height: 22px; }

/* Zitat-Abschnitt Gründer */
.gruender { display: grid; gap: var(--sp-7); align-items: center; }
.gruender-bild { position: relative; max-width: 420px; }
.gruender-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.gruender-bild figcaption { position: absolute; left: var(--sp-4); bottom: var(--sp-4); right: var(--sp-4); background: rgba(255,255,255,.94); border-radius: var(--r-md); padding: 12px 14px; font-size: var(--fs-xs); color: var(--c-muted); }
.gruender-bild figcaption strong { display: block; color: var(--c-ink); font-size: var(--fs-sm); }
.zitat { font-family: var(--f-serif); font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.18; letter-spacing: -0.015em; font-weight: 450; }
.zitat::before { content: "„"; color: var(--c-brand-200); }
.zitat::after { content: "“"; color: var(--c-brand-200); }
.gruender .text > * + * { margin-top: var(--sp-5); }
@media (min-width: 960px) { .gruender { grid-template-columns: 5fr 7fr; gap: var(--sp-9); } }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-5); }
.schritt { position: relative; padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-soft); }
.schritt-nr { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-brand); color: var(--c-white); font-weight: 700; font-size: var(--fs-sm); }
.schritt .h3 { margin-top: var(--sp-4); }
.schritt p { margin-top: var(--sp-2); color: var(--c-muted); font-size: var(--fs-sm); }
@media (min-width: 960px) {
  .schritte.drei { grid-template-columns: repeat(3, 1fr); }
  .schritte.vier { grid-template-columns: repeat(4, 1fr); }
  .schritte > .schritt:not(:last-child)::after { content: ""; position: absolute; top: 44px; right: calc(var(--sp-5) * -1); width: var(--sp-5); height: 2px; background: var(--c-brand-200); }
}

/* Nummerierte Liste kompakt (Termin, Probemonat) */
.ablauf { list-style: none; margin: var(--sp-4) 0 0; padding: 0; display: grid; gap: var(--sp-3); counter-reset: a; }
.ablauf li { counter-increment: a; padding-left: 44px; min-height: 28px; font-size: var(--fs-sm); }
.ablauf li::before { content: counter(a); position: absolute; left: 0; top: -3px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-brand-50); color: var(--c-brand); font-weight: 700; font-size: var(--fs-xs); }

/* ---------- 13. Preis ---------- */
.preis-grid { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 1024px) { .preis-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); } }
.preiskarte { background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-xl); box-shadow: var(--sh-lg); overflow: hidden; }
.preiskarte > * { padding: var(--sp-5); }
@media (min-width: 640px) { .preiskarte > * { padding: var(--sp-6); } }
.preiskarte > * + * { border-top: 1px solid var(--c-line-soft); }
.preise { display: grid; gap: var(--sp-4); margin-top: var(--sp-5); }
@media (min-width: 560px) { .preise { grid-template-columns: 1fr 1fr; } }
.preis { border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); padding: var(--sp-5); }
.preis.empfohlen { border-color: var(--c-brand); background: var(--c-brand-50); }
.preis .art { font-size: var(--fs-xs); font-weight: 600; color: var(--c-muted); }
.preis .betrag { font-family: var(--f-serif); font-size: clamp(2.75rem, 2.2rem + 2vw, 3.5rem); line-height: 1; margin-top: var(--sp-2); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.preis .einheit { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--sp-1); }
.preis .jahr { font-size: var(--fs-xs); color: var(--c-muted); margin-top: var(--sp-3); font-variant-numeric: tabular-nums; }
.ersparnis { display: inline-block; white-space: nowrap; margin-top: var(--sp-3); font-size: var(--fs-xs); font-weight: 600; color: var(--c-petrol); background: var(--c-petrol-soft); padding: 4px 10px; border-radius: var(--r-full); }
.grenze { margin-top: var(--sp-5); font-size: var(--fs-sm); font-weight: 600; line-height: 1.9; }
.grenze span { display: inline-grid; place-items: center; vertical-align: middle; margin-inline: 4px; min-width: 36px; height: 28px; padding: 0 8px; border-radius: var(--r-sm); background: var(--c-brand); color: var(--c-white); font-variant-numeric: tabular-nums; }
.enthalten { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: grid; gap: var(--sp-2); font-size: var(--fs-sm); }
@media (min-width: 640px) { .enthalten { grid-template-columns: 1fr 1fr; column-gap: var(--sp-5); } }
.enthalten li { padding-left: 26px; }
.enthalten li::before { content: ""; position: absolute; left: 2px; top: 0; width: 12px; height: 7px; margin-top: 7px; border-left: 2px solid var(--c-petrol); border-bottom: 2px solid var(--c-petrol); transform: rotate(-45deg); }
.zusaetze { background: var(--c-canvas); }
.zusaetze .kicker { color: var(--c-muted); }
.zusatz { display: grid; grid-template-columns: 1fr auto; gap: var(--sp-1) var(--sp-4); padding: var(--sp-4) 0; border-bottom: 1px solid var(--c-line-soft); }
.zusatz:last-child { border-bottom: 0; padding-bottom: 0; }
.zusatz strong { font-weight: 600; }
.zusatz .betrag-klein { font-weight: 600; white-space: nowrap; color: var(--c-brand); font-variant-numeric: tabular-nums; }
.zusatz p { grid-column: 1 / -1; color: var(--c-muted); font-size: var(--fs-sm); }
.probe { display: grid; gap: var(--sp-2); align-content: start; }
.probe strong { font-weight: 600; }
.probe p { font-size: var(--fs-sm); color: var(--c-muted); }
.preis-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); }
.recht { margin-top: var(--sp-4); font-size: var(--fs-xs); color: var(--c-muted); }

/* ---------- 14. Fragen (Aufklapper) ---------- */
.fragen { max-width: 48rem; margin-inline: auto; border-top: 1px solid var(--c-line-soft); }
.fragen.links { margin-inline: 0; }
.frage { border-bottom: 1px solid var(--c-line-soft); }
.frage summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: var(--sp-4); min-height: 64px; padding: var(--sp-4) 0; font-weight: 600; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--c-brand-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M9 12l5 5 5-5' fill='none' stroke='%231f3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 28px no-repeat; transition: transform var(--t-fast) ease-out; }
.frage[open] summary::after { transform: rotate(180deg); }
.frage summary:hover { color: var(--c-brand); }
.frage .antwort { padding: 0 0 var(--sp-5); color: var(--c-muted); max-width: 42rem; }
.frage .antwort p + p { margin-top: var(--sp-3); }
.frage .antwort a { color: var(--c-brand); font-weight: 500; }

/* ---------- 15. Ratgeber-Karten und Linkzeile ---------- */
.karten { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); }
@media (min-width: 768px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .karten.drei { grid-template-columns: repeat(3, 1fr); } }
.karte-link {
  display: flex; flex-direction: column; gap: var(--sp-2); height: 100%; min-height: 44px; padding: var(--sp-5);
  background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-soft);
  text-decoration: none; transition: box-shadow var(--t-fast) ease-out, border-color var(--t-fast) ease-out, transform var(--t-fast) ease-out;
}
.karte-link:hover { box-shadow: var(--sh-md); border-color: var(--c-brand-200); transform: translateY(-2px); }
.karte-link .titel { font-family: var(--f-serif); font-size: 1.3rem; line-height: 1.25; color: var(--c-ink); }
.karte-link .text { color: var(--c-muted); font-size: var(--fs-sm); }
.karte-link .weiter { margin-top: auto; padding-top: var(--sp-2); color: var(--c-brand); font-weight: 600; font-size: var(--fs-sm); }
.karte-link .weiter span { display: inline-block; transition: transform var(--t-fast) ease-out; }
.karte-link:hover .weiter span { transform: translateX(3px); }
.linkzeile { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2) var(--sp-5); padding: var(--sp-5) 0; font-size: var(--fs-sm); }
.linkzeile .label { color: var(--c-muted); }
.linkzeile a { color: var(--c-brand); font-weight: 600; text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 4px; min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- 16. Fließtext (Ratgeber, Rechtliches, lange Seiten) ---------- */
.prose { font-size: var(--fs-prose); line-height: 1.7; color: var(--c-ink); max-width: var(--lesebreite); }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; margin-top: 2.2em; }
.prose h3 { font-size: 1.125rem; font-weight: 600; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a:not(.btn) { color: var(--c-brand); text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose a:not(.btn):hover, .linkzeile a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--c-petrol); }
.prose strong { font-weight: 600; }
.prose blockquote { margin-inline: 0; padding: var(--sp-4) var(--sp-5); border-left: 3px solid var(--c-brand-200); background: var(--c-canvas); border-radius: 0 var(--r-md) var(--r-md) 0; }
.prose .tabelle { margin-block: 1.6em; }
.prose figure { margin-block: 2em; }

/* Tabellen: auf dem Handy waagerecht scrollbar, nicht die Seite */
.tabelle { overflow-x: auto; border: 1px solid var(--c-line-soft); border-radius: var(--r-md); background: var(--c-white); -webkit-overflow-scrolling: touch; }
.tabelle:focus-visible { outline-offset: 0; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); line-height: 1.5; min-width: 520px; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--c-line-soft); }
.tabelle thead th { background: var(--c-canvas); font-weight: 600; color: var(--c-ink); }
.tabelle tbody tr:last-child td { border-bottom: 0; }
.tabelle caption { caption-side: top; text-align: left; padding: 12px 16px 0; font-weight: 600; }

/* Hinweis-Kasten */
.hinweis { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--c-brand-50); border: 1px solid var(--c-brand-100); font-size: var(--fs-sm); color: var(--c-ink); }
.hinweis.ruhig { background: var(--c-canvas); border-color: var(--c-line-soft); color: var(--c-muted); }
.hinweis strong { font-weight: 600; }
.hinweis .h3 { color: var(--c-ink); }
.hinweis.small { font-size: var(--fs-xs); }

/* Artikel-Kopf: Stand und Autor */
.artikel-meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5); margin-top: var(--sp-5); font-size: var(--fs-xs); color: var(--c-muted); }
.autor { display: inline-flex; align-items: center; gap: var(--sp-3); }
.autor img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.autor strong { color: var(--c-ink); font-weight: 600; }
.stand { display: block; max-width: 44rem; }

/* Artikel mit Inhaltsverzeichnis */
.artikel-raster { display: grid; gap: var(--sp-7); }
.inhalt-verzeichnis { font-size: var(--fs-sm); }
.inhalt-verzeichnis details { border: 1px solid var(--c-line-soft); border-radius: var(--r-md); background: var(--c-white); }
.inhalt-verzeichnis summary { cursor: pointer; padding: var(--sp-3) var(--sp-4); min-height: 48px; display: flex; align-items: center; font-weight: 600; }
.inhalt-verzeichnis ol { margin: 0; padding: 0 var(--sp-4) var(--sp-4) 2.2em; display: grid; gap: var(--sp-2); }
.inhalt-verzeichnis a { color: var(--c-muted); text-decoration: none; display: inline-block; vertical-align: top; min-height: 24px; }
.inhalt-verzeichnis a:hover, .inhalt-verzeichnis a.ist-aktiv { color: var(--c-brand); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1100px) {
  .artikel-raster { grid-template-columns: minmax(0, 1fr) 260px; gap: var(--sp-9); align-items: start; }
  .inhalt-verzeichnis { position: sticky; top: calc(var(--kopfhoehe) + 32px); order: 2; }
  .inhalt-verzeichnis details { border: 0; background: none; }
  .inhalt-verzeichnis summary { padding: 0 0 var(--sp-3); min-height: 0; list-style: none; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
  .inhalt-verzeichnis summary::-webkit-details-marker { display: none; }
  .inhalt-verzeichnis ol { padding: 0 0 0 1.2em; border-left: 1px solid var(--c-line-soft); }
}
.quellen { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line-soft); font-size: var(--fs-xs); color: var(--c-muted); max-width: var(--lesebreite); }
.quellen h2 { font-size: var(--fs-sm); font-weight: 600; color: var(--c-ink); margin-bottom: var(--sp-3); }
.quellen ol { margin: 0; padding-left: 1.3em; display: grid; gap: var(--sp-2); }
.quellen a { color: var(--c-brand); overflow-wrap: anywhere; }
.produkt-hinweis { margin-top: var(--sp-7); max-width: var(--lesebreite); display: grid; gap: var(--sp-4); padding: var(--sp-5); background: var(--c-brand-50); border: 1px solid var(--c-brand-100); border-radius: var(--r-lg); }
.produkt-hinweis .h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.35rem; }

/* Kapitel: Überschrift links, Text rechts (Sachseiten wie /sicherheit) */
.kapitel { display: grid; gap: var(--sp-4); padding-block: var(--sp-7); border-top: 1px solid var(--c-line-soft); }
.kapitel:first-child { border-top: 0; padding-top: 0; }
.kapitel h2 { font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); line-height: 1.2; letter-spacing: -0.01em; }
@media (min-width: 960px) { .kapitel { grid-template-columns: 1fr 1.6fr; gap: var(--sp-8); } }

/* Abstands-Helfer (statt Inline-Styles) */
.mt-3 { margin-top: var(--sp-3); } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); }

/* ---------- 17. Termin, Danke, 404 ---------- */
.termin-raster { display: grid; gap: var(--sp-7); align-items: start; }
@media (min-width: 960px) { .termin-raster { grid-template-columns: 5fr 7fr; gap: var(--sp-9); } }
.termin-karte { display: grid; gap: var(--sp-4); padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
@media (min-width: 640px) { .termin-karte { padding: var(--sp-6); } }
.termin-karte .btn { width: 100%; }
.zentriert { text-align: center; }
.zentriert .lead, .zentriert .knoepfe, .zentriert .h1-seite, .zentriert .h2 { margin-inline: auto; justify-content: center; }
.zentriert .autor { justify-content: center; }
.linkliste.kompakt { margin: var(--sp-3) 0 0; max-width: none; }
.fehler-zahl { font-family: var(--f-serif); font-style: italic; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--c-brand-100); letter-spacing: -0.03em; }
.linkliste { list-style: none; margin: var(--sp-6) auto 0; padding: 0; max-width: 28rem; text-align: left; border-top: 1px solid var(--c-line-soft); }
.linkliste a { display: flex; justify-content: space-between; align-items: center; min-height: 52px; border-bottom: 1px solid var(--c-line-soft); text-decoration: none; font-weight: 500; }
.linkliste a::after { content: "→"; color: var(--c-brand); transition: transform var(--t-fast) ease-out; }
.linkliste a:hover { color: var(--c-brand); }
.linkliste a:hover::after { transform: translateX(3px); }

/* ---------- 18. Abschluss-Band ---------- */
.abschluss { padding-block: var(--section); }
.abschluss-band { position: relative; overflow: hidden; border-radius: var(--r-xl); background: var(--c-brand-900); color: var(--c-white); padding: clamp(24px, 6vw, 72px); display: grid; gap: var(--sp-6); align-items: center; }
.abschluss-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 20rem at 100% 0%, rgba(194,207,226,.14), transparent 60%); pointer-events: none; }
.abschluss-band > * { position: relative; }
.abschluss-band .h2 { color: var(--c-white); }
.abschluss-band .h2 em { color: var(--c-brand-200); }
.abschluss-band .lead { color: var(--c-brand-200); margin-top: var(--sp-4); }
.abschluss-band a:not(.btn) { color: var(--c-white); }
.abschluss-band :focus-visible { outline-color: var(--c-white); }
.abschluss-person { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-5); font-size: var(--fs-xs); color: var(--c-brand-200); }
.abschluss-person strong { display: block; color: var(--c-white); font-size: var(--fs-sm); }
.abschluss-person img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; box-shadow: 0 0 0 3px rgba(255,255,255,.15); }
.abschluss-aktion { display: grid; gap: var(--sp-4); justify-items: start; }
.abschluss-aktion p { color: var(--c-brand-200); font-size: var(--fs-sm); }
@media (min-width: 960px) { .abschluss-band { grid-template-columns: 1.3fr 1fr; } .abschluss-aktion { justify-items: end; text-align: right; } }

/* ---------- 19. Fußzeile ---------- */
.site-footer { background: var(--c-canvas); border-top: 1px solid var(--c-line-soft); padding: var(--sp-8) 0 var(--sp-6); font-size: var(--fs-sm); color: var(--c-muted); }
.fuss-grid { display: grid; gap: var(--sp-6); }
.site-footer .marke img { height: 22px; width: auto; }
.site-footer .definition { margin-top: var(--sp-4); max-width: 30rem; }
.site-footer h2 { font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink); text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--sp-3); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-1); }
.site-footer a { text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.site-footer a:hover { color: var(--c-brand); text-decoration: underline; text-underline-offset: 4px; }
.fuss-unten a, .fuss-unten .linkbutton .unterstrichen { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.fuss-unten a:hover, .fuss-unten .linkbutton:hover .unterstrichen { text-decoration-thickness: 2px; }
.fuss-unten .linkbutton:hover { text-decoration: none; }
.fuss-unten { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--c-line-soft); display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-5); justify-content: space-between; align-items: center; font-size: var(--fs-xs); }
@media (min-width: 768px) { .fuss-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ---------- 20. Einwilligungs-Hinweis (consent.js) ---------- */
.cookie-banner { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 30rem; margin-left: auto; padding: var(--sp-5); background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-lg); box-shadow: var(--sh-lg); max-height: calc(100dvh - 32px); overflow-y: auto; }
.cookie-banner:focus { outline: 3px solid var(--c-brand); outline-offset: 3px; }
html.hat-cookie-banner { scroll-padding-bottom: calc(var(--cookie-banner-hoehe, 0px) + 24px); }
.cookie-banner p { margin: 0 0 var(--sp-4); font-size: var(--fs-sm); color: var(--c-muted); }
.cookie-banner a { color: var(--c-brand); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3); }
.cookie-actions .btn { width: 100%; }
/* Ablehnen und Akzeptieren gleich gewichtet (keine Bevorzugung einer Wahl) */
.cookie-actions .btn-primary, .cookie-actions .btn-secondary { background: var(--c-white); color: var(--c-brand); border-color: var(--c-brand); box-shadow: none; }
.cookie-actions .btn-primary:hover, .cookie-actions .btn-secondary:hover { background: var(--c-brand-50); }

/* ---------- 20b. Runde 1 (Feedback Ramon, 02.10.2026) ---------- */

/* Kundenlogos: ruhige Graustufen-Leiste. Ausgeliefert mit hidden, bis echte
   Logos mit Einwilligung vorliegen (LIES-MICH: Kundenlogos einschalten). */
.logos { padding-block: var(--sp-7); border-bottom: 1px solid var(--c-line-soft); }
.logos[hidden] { display: none; }
.logos-titel { text-align: center; font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.logo-leiste { list-style: none; margin: var(--sp-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--sp-5) clamp(32px, 5vw, 64px); }
.logo-leiste img { height: 32px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1) contrast(.9); opacity: .72; transition: filter var(--t-fast) ease-out, opacity var(--t-fast) ease-out; }
.logo-leiste a:hover img, .logo-leiste a:focus-visible img { filter: none; opacity: 1; }

/* Hochwertiges Handy: Gehäuse mit Lichtkante, Insel, Seitentaste, weicher Schein */
.app-bild.handy { position: relative; max-width: min(268px, calc(100% - 8px)); margin-inline: auto; }
.app-bild.handy .app-bild-rahmen {
  overflow: visible; padding: 9px; border: 0; border-radius: 46px;
  background: linear-gradient(150deg, #3a475a 0%, #111b29 28%, #0b1320 62%, #263244 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 0 0 1px #0b1320, 0 2px 4px rgba(16,31,51,.18), 0 30px 60px -18px rgba(16,31,51,.45), 0 60px 90px -40px rgba(16,31,51,.35);
}
.app-bild.handy .app-bild-rahmen img { position: relative; border-radius: 37px; padding-top: 30px; background: var(--c-white); box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.app-bild.handy .app-bild-rahmen::before { content: ""; position: absolute; z-index: 2; top: 17px; left: 50%; width: 82px; height: 22px; transform: translateX(-50%); border-radius: var(--r-full); background: #05080d; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.app-bild.handy .app-bild-rahmen::after { content: ""; position: absolute; right: -3px; top: 132px; width: 3px; height: 58px; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #111b29, #2b3748); }
.app-bild.handy figcaption { margin-top: var(--sp-4); text-align: center; text-wrap: balance; }
.app-bild.handy figcaption .motiv, .app-bild.handy figcaption .herkunft { display: block; white-space: normal; }
.app-bild.handy figcaption .motiv + .herkunft::before { content: none; }

/* Zentrale: Dashboard groß, breiter als die Textspalte */
.zentrale .app-bild { max-width: 72rem; margin-inline: auto; }
.zentrale .abschnitt-kopf { margin-bottom: clamp(32px, 4vw, 48px); }

/* Text und Bild mit größerem Bild (fertiger Bericht) */
@media (min-width: 960px) { .split.bild-gross { grid-template-columns: 1fr 1.55fr; } }

/* Bento mit drei Kacheln: 7/5 oben, volle Breite unten */
@media (min-width: 1100px) {
  .raster.bento.drei-teilig > :nth-child(3) { grid-column: 1 / -1; }
  .raster.bento.drei-teilig .kachel-mit-handy { grid-template-columns: 1fr 240px; gap: var(--sp-7); align-items: center; }
  .raster.bento.drei-teilig .kachel-mit-handy .app-bild.handy { max-width: 240px; }
}
@media (min-width: 768px) and (max-width: 1099px) { .raster.bento.drei-teilig > :nth-child(3) { grid-column: 1 / -1; } }

/* Geführter Ablauf (INQA Schritt für Schritt).
   Ohne JS und auf schmalen Schirmen: Schritte untereinander mit Zeitleiste.
   Ab 960 px macht site.js daraus Reiter (role=tablist); Inhalt bleibt im HTML. */
.fuehrung-schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-7); }
.fuehrung-schritt { position: relative; display: grid; gap: var(--sp-4); padding-left: 52px; }
.fuehrung-schritt::before { content: ""; position: absolute; left: 19px; top: 44px; bottom: calc(var(--sp-7) * -1); width: 2px; background: var(--c-brand-100); }
.fuehrung-schritt:last-child::before { display: none; }
.fuehrung-schritt .schritt-nr { position: absolute; left: 0; top: 0; }
.fuehrung-text { display: grid; gap: var(--sp-2); }
.fuehrung-text p { color: var(--c-muted); }
.fuehrung-text .h3 { padding-top: 8px; }
.fuehrung-tabs { display: none; }
@media (min-width: 960px) {
  .fuehrung.ist-reiter { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: var(--sp-7); align-items: start; }
  .fuehrung.ist-reiter .fuehrung-tabs { display: grid; gap: var(--sp-2); position: sticky; top: calc(var(--kopfhoehe) + 24px); }
  .fuehrung-tab {
    display: grid; grid-template-columns: 36px 1fr; gap: var(--sp-3); align-items: center; width: 100%; min-height: 56px; padding: 10px 14px;
    text-align: left; font: 600 var(--fs-sm)/1.35 var(--f-sans); color: var(--c-muted); background: transparent;
    border: 1px solid transparent; border-radius: var(--r-md); cursor: pointer;
    transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out, border-color var(--t-fast) ease-out;
  }
  .fuehrung-tab .nr { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-brand-50); color: var(--c-brand); font-size: var(--fs-xs); font-weight: 700; }
  .fuehrung-tab:hover { background: var(--c-white); color: var(--c-ink); }
  .fuehrung-tab[aria-selected="true"] { background: var(--c-white); color: var(--c-ink); border-color: var(--c-line-soft); box-shadow: var(--sh-md); }
  .fuehrung-tab[aria-selected="true"] .nr { background: var(--c-brand); color: var(--c-white); }
  .fuehrung.ist-reiter .fuehrung-schritte { display: block; }
  .fuehrung.ist-reiter .fuehrung-schritt { padding-left: 0; gap: var(--sp-5); }
  .fuehrung.ist-reiter .fuehrung-schritt::before, .fuehrung.ist-reiter .fuehrung-schritt .schritt-nr { display: none; }
  .fuehrung.ist-reiter .fuehrung-schritt[hidden] { display: none; }
  .fuehrung.ist-reiter .fuehrung-text .h3 { padding-top: 0; font-family: var(--f-serif); font-weight: 500; font-size: 1.6rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .fuehrung.ist-reiter .fuehrung-schritt:not([hidden]) { animation: einblenden-lage 360ms var(--ease); }
  @keyframes einblenden-lage { from { transform: translateY(8px); } to { transform: none; } }
}

/* Preis ausbalanciert: Kopf mittig, Karte breit, innen zweispaltig */
.preis-grid.breit { grid-template-columns: minmax(0, 1fr); max-width: 64rem; margin-inline: auto; gap: 0; }
.preis-grid.breit > .abschnitt-kopf { margin-inline: auto; text-align: center; }
.preiskarte .preis-haupt { display: grid; gap: var(--sp-6); }
.preiskarte .preis-haupt .kicker { color: var(--c-muted); }
.preiskarte .preis-haupt .enthalten { grid-template-columns: 1fr; }
.preiskarte .preis-unten { padding: 0; display: grid; }
.preiskarte .preis-unten > * { padding: var(--sp-5); }
.preiskarte .preis-unten > * + * { border-top: 1px solid var(--c-line-soft); }
@media (min-width: 640px) { .preiskarte .preis-unten > * { padding: var(--sp-6); } }
@media (min-width: 960px) {
  .preiskarte .preis-haupt { grid-template-columns: 1.15fr 1fr; gap: var(--sp-7); }
  .preiskarte .preis-haupt > :last-child { padding-left: var(--sp-7); border-left: 1px solid var(--c-line-soft); }
  .preiskarte .preis-unten { grid-template-columns: 1.15fr 1fr; }
  .preiskarte .preis-unten > * + * { border-top: 0; border-left: 1px solid var(--c-line-soft); }
}

/* Seitenfächer: Seiten des fertigen Berichts, leicht gefächert */
.seitenfaecher { margin: 0; }
.seitenfaecher .seiten { display: grid; width: min(62%, 400px); margin: var(--sp-5) auto var(--sp-7); }
.seitenfaecher .seite {
  grid-area: 1 / 1; width: 100%; height: auto; background: var(--c-white);
  border: 1px solid var(--c-line-soft); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16,31,51,.06), 0 18px 40px -16px rgba(16,31,51,.30);
  transform-origin: 50% 100%; transition: transform 400ms var(--ease);
}
.seitenfaecher .seite { position: relative; }
.seitenfaecher .s1 { z-index: 3; }
.seitenfaecher .s2 { transform: translate(-26%, 2%) rotate(-6deg); z-index: 2; }
.seitenfaecher .s3 { transform: translate(26%, 4%) rotate(6deg); z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .seitenfaecher:hover .s2 { transform: translate(-34%, 1%) rotate(-8deg); }
  .seitenfaecher:hover .s3 { transform: translate(34%, 3%) rotate(8deg); }
}
.seitenfaecher figcaption { margin-top: var(--sp-3); font-size: var(--fs-xs); color: var(--c-muted); text-align: center; }
.seitenfaecher figcaption .motiv + .herkunft::before { content: " · "; }
.fuehrung-schritt .seitenfaecher .seiten { width: min(52%, 340px); }

/* Programm-Umschalter (BAFA | INQA) auf der Startseite.
   Ohne JS: beide Abläufe untereinander, je mit Zwischenüberschrift. */
.programm + .programm { margin-top: var(--sp-8); padding-top: var(--sp-7); border-top: 1px solid var(--c-line-soft); }
.programm-titel { margin-bottom: var(--sp-5); font-family: var(--f-serif); font-weight: 500; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.programm-wahl { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: var(--sp-6); background: var(--c-white); border: 1px solid var(--c-line-soft); border-radius: var(--r-full); box-shadow: var(--sh-soft); }
.programm-wahl button { min-height: 44px; padding: 0 22px; border: 0; border-radius: var(--r-full); background: transparent; color: var(--c-muted); font: 600 var(--fs-sm)/1 var(--f-sans); cursor: pointer; transition: background-color var(--t-fast) ease-out, color var(--t-fast) ease-out; }
.programm-wahl button:hover { color: var(--c-brand); }
.programm-wahl button[aria-selected="true"] { background: var(--c-brand); color: var(--c-white); }
/* Kontrastmodus: gewählter Reiter in Systemfarben, nicht nur über den Hintergrund (Nachprüfung 10, M1) */
@media (forced-colors: active) {
  .programm-wahl button[aria-selected="true"], .fuehrung-tab[aria-selected="true"] { forced-color-adjust: none; background: SelectedItem; color: SelectedItemText; border: 2px solid SelectedItem; }
  .fuehrung-tab[aria-selected="true"] .nr { forced-color-adjust: none; background: SelectedItemText; color: SelectedItem; }
  .programm-wahl button[aria-selected="true"]:focus-visible, .fuehrung-tab[aria-selected="true"]:focus-visible { outline-color: CanvasText; }
}
.programme.ist-umschalter .programm + .programm { margin-top: 0; padding-top: 0; border-top: 0; }
.programme.ist-umschalter .programm[hidden] { display: none; }
.programme.ist-umschalter .programm-titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- 20c. Runde 2: Bericht im Hero (Feedback Ramon 2, Punkt 1) ----------
   Bühne unter Text, Knöpfen und Chip: links hinten die Eingabe (Ihre Beratung),
   rechts vorn groß der fertige Bericht als Seitenfächer (Ihr Bericht, als PDF).
   Unter 960 px nur der Fächer; die Eingabe zeigt der Ablauf weiter unten. */

/* Hero straffen, damit der Bericht in den ersten Bildschirm rückt */
.hero { padding-top: clamp(32px, 5vw, 64px); }
.hero .knoepfe { margin-top: var(--sp-5); }
.hero .ramon-chip { margin-top: var(--sp-4); }

.hero-bericht { position: relative; max-width: 68rem; margin: clamp(28px, 3vw, 40px) auto 0; padding-bottom: clamp(24px, 4vw, 48px); }
.hero-bericht-eingabe { display: none; }
.hero-bericht .app-bild { margin: 0; max-width: none; }
.hero-bericht-pdf { position: relative; padding-top: var(--sp-5); }
.hero-bericht-pdf .seitenfaecher .seiten { width: min(56%, 340px); margin: var(--sp-6) auto var(--sp-7); }
.hero-bericht-pdf .seitenfaecher figcaption { text-align: center; }


@media (min-width: 960px) {
  .hero-bericht { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .hero-bericht-eingabe { display: block; position: relative; z-index: 1; padding-top: 0; transform: translateX(6%) scale(.94); transform-origin: left center; align-self: center; }
  .hero-bericht-eingabe .app-bild-rahmen { border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
  .hero-bericht-eingabe figcaption { text-align: left; max-width: 76%; }
  .hero-bericht-pdf { z-index: 3; padding-top: 0; }
  .hero-bericht-pdf .seitenfaecher .seiten { width: min(66%, 360px); margin: var(--sp-5) auto var(--sp-6); transform: translateX(-6%); }
  /* Kein Pfeil und keine Marken zwischen Eingabe und Bericht (Ramon 2, Nr. 5). */
}

/* Auffächern beim Laden: einmal, nur Lage (transform). Der Inhalt ist vom ersten Bild an
   sichtbar; bei reduzierter Bewegung steht der Fächer sofort offen. */
@media (prefers-reduced-motion: no-preference) {
  .hero-bericht-pdf .seitenfaecher .s2 { animation: faecher-links 900ms var(--ease) 450ms backwards; }
  .hero-bericht-pdf .seitenfaecher .s3 { animation: faecher-rechts 900ms var(--ease) 450ms backwards; }
  @keyframes faecher-links { from { transform: none; } to { transform: translate(-26%, 2%) rotate(-6deg); } }
  @keyframes faecher-rechts { from { transform: none; } to { transform: translate(26%, 4%) rotate(6deg); } }
}

/* Befund B2: gefächerte Seiten ragen zwischen 420 und 960 px über den Rand */
@media (max-width: 959px) { .seitenfaecher .seiten { width: min(56%, 340px); } }

/* ---------- 21. Bewegung (dezent) ----------
   Grundsatz: Inhalt hängt NIE an einer Animation. Bewegt wird nur die Lage,
   nie die Deckkraft. site.js setzt .wartet nur an Elementen unterhalb des
   Bildschirms und nimmt es beim Hineinscrollen wieder weg. */
@media (prefers-reduced-motion: no-preference) {
  .zeigen { transition: transform var(--t-slow) var(--ease); }
  .zeigen.v1 { transition-delay: 80ms; } .zeigen.v2 { transition-delay: 160ms; } .zeigen.v3 { transition-delay: 240ms; }
  .zeigen.wartet { transform: translateY(18px); }
  .hero .app-bild, .seitenkopf .app-bild { animation: aufsteigen 900ms var(--ease) 150ms backwards; }
  @keyframes aufsteigen { from { transform: translateY(24px) scale(.99); } to { transform: none; } }
  .kachel:hover, .karte-link:hover { transform: translateY(-2px); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
@media print {
  .kopf, .menue, .cookie-banner, .abschluss, .site-footer .fuss-grid > :not(:first-child) { display: none !important; }
  .zeigen.wartet { transform: none; }
  body { font-size: 11pt; }
  .prose a::after { content: " (" attr(href) ")"; font-size: .85em; color: var(--c-muted); }
}
