/* Versichert-Selbstständig: Gestaltung „Finanz-Landingpage“ (11.11.2026)

   Richtung: wie seriöse Versicherungs- und Finanz-Vorlagen. Großes Foto als Kopf mit tiefblauem Verlauf und heller
   Überschrift, schwebende weiße Navigationsleiste, Kennzahlen-Band, Abschnitte auf Weiß und hellem Blaugrau im Wechsel,
   Symbolkarten mit Linien-Icons, Bild-Text-Abschnitte mit Häkchen, Schritte auf tiefem Blau, dunkelblauer Fuß.
   Tiefes Blau führt (Flächen, Überschriften-Akzente, Knöpfe zweiter Ordnung), Koralle (Marke) ist der warme Akzent für
   Hauptknöpfe, Hervorhebungen und das Ergebnis – nie als Textfarbe auf Weiß. Jeder Abschnitt nutzt die volle
   Inhaltsbreite (1296 px bei .page 1360 px): Text steht zweispaltig neben Tabelle, Kasten oder Foto, nie allein links.

   Schrift (SIL OFL 1.1, selbst gehostet, Lizenztexte in /assets/fonts/): Newsreader 400–650 für Überschriften und Zahlen,
   Public Sans 400–700 für Text und Bedienung. Zahlen in Tabellen, Kennzahlen und Rechenweg mit tabular-nums.

   Schriftgrößen (rem, Basis 16 px): .74 / .84 / .92 / 1.0625 Text / 1.2–1.35 h3 / 1.7–2.5 h2 / 2.1–3.6 h1
   Radien nach Rang: 18 px Fotoflächen · 14 px Karten und Rechner · 10 px Knöpfe · 8 px Felder · Pille nur für Chips und Labels
   Schatten (blau getönt): --sh-1 Karten, --sh-2 Rechner, Kennzahlen, Plaketten, --sh-3 schwebende Fenster
   Kontrast (gerechnet, WCAG 2.1): Tinte/Weiß 16,9:1 · --ink-2/Weiß 7,8:1 · --ink-2/--mist 7,0:1 · --ink-3/Weiß 6,1:1 ·
   --ink-3/--mist 5,5:1 · Blau/Weiß 6,5:1 · Blau/--mist 5,9:1 · Weiß/Blau 6,5:1 · --blue-deep/--blue-soft 7,7:1 ·
   Tinte/Koralle 7,5:1 · Weiß/--navy 13,3:1 · Koralle/--navy 6,0:1 · Weiß 84 %/--navy 9,9:1 · Weiß 72 %/--night 9,2:1 ·
   Feldrahmen/Weiß 3,6:1 · Text auf Fotos (Verlauf): mindestens 4,59:1 gegen das hellste Pixel unter jeder Textzeile,
   gemessen bei 1440, 1024 und 390 px (Werte in docs/HANDOFF.md)
   Abstände: 4er-Raster (4, 8, 12, 16, 20, 24, 32, 40, 56, 88) */

@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 650;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Public Sans";
  src: url("/assets/fonts/public-sans-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Marke */
  --blue: #0b5fa8;         /* Blau: Links, Knöpfe zweiter Ordnung, Zahlen im Rechner */
  --coral: #ff8e72;        /* Koralle: Hauptknöpfe, Akzente, Ergebnis auf Tiefblau (nie als Text auf Weiß) */
  --ink: #1a1d24;          /* Tinte: Text */
  /* Abstufungen */
  --blue-deep: #084a83;    /* Hover, Vorzeilen */
  --blue-soft: #e3edf7;    /* Symbolflächen, aktive Navigation, Summenzeilen */
  --navy: #0a2f5c;         /* tiefes Blau: Farbband, hervorgehobene Karte, Ergebnis */
  --night: #061d3a;        /* Fuß, Verlauf über Fotos */
  --coral-hover: #ffa68f;
  --coral-soft: #fff0eb;
  --mist: #eef3f8;         /* helle Abschnitte, Tabellenkopf */
  --surface: #ffffff;
  --ink-2: #4a5263;        /* Nebentext */
  --ink-3: #5a6273;        /* Kleintext (6,1:1 auf Weiß) */
  --line: #d9e2ec;         /* Kartenränder */
  --line-soft: #e8eef4;    /* Linien in weißen Flächen */
  --field: #7b889a;        /* Feldrahmen (3,6:1 auf Weiß) */
  --sh-1: 0 1px 2px rgba(6, 29, 58, .05), 0 10px 28px -16px rgba(6, 29, 58, .22);
  --sh-2: 0 2px 6px rgba(6, 29, 58, .06), 0 28px 54px -26px rgba(6, 29, 58, .34);
  --sh-3: 0 6px 16px rgba(6, 29, 58, .1), 0 32px 64px -22px rgba(6, 29, 58, .4);
  --r-xl: 18px;
  --r-lg: 14px;
  --r-btn: 10px;
  --r-md: 8px;
  --pill: 999px;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --measure: 70ch;
  /* Breite Fotoflächen (Kopf der Startseite, Navigationsleiste): Rand --gut, höchstens 1408 px */
  --gut: 8px;
  --wide: min(100vw - 2 * var(--gut), 1408px);
  --bar-h: 60px;
  --bar-top: 16px;
}
@media (min-width: 720px) { :root { --gut: 16px; --bar-h: 68px; --bar-top: 26px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--surface); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); }
[id] { scroll-margin-top: 104px; }
::selection { background: #cfe0f2; color: var(--ink); }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.hero-home :focus-visible, .band-navy :focus-visible, .foot :focus-visible, .post-cover :focus-visible,
.page-banner :focus-visible, .side-cta :focus-visible, .rows li.total :focus-visible, .feature-hi :focus-visible { outline-color: var(--coral); }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 14px; border-radius: var(--r-md); z-index: 70; box-shadow: var(--sh-1); }
.visually-hidden, .mz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
td.n, th.n, .after b, .rows .v, .amount input, .stats b, .result-card b, .result-card dd, .plaque b, .ask-sentence output,
.ask-sentence .slot input, .calc-band-facts b { font-variant-numeric: lining-nums tabular-nums; }
.ic { display: block; flex: none; }

.page { max-width: 1360px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .page { padding: 0 32px; } }

/* ---------- Typografie ---------- */
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 600; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em; margin: 0; max-width: 22ch; text-wrap: balance; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.45rem); line-height: 1.14; letter-spacing: -.012em; margin: 2em 0 .5em; text-wrap: balance; }
h3 { font-size: 1.28rem; line-height: 1.28; margin: 1.7em 0 .4em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 650; }
h1, h2, h3, h1 a, h2 a { overflow-wrap: break-word; }
@media (max-width: 480px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; } }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.2rem); line-height: 1.55; color: var(--ink-2); max-width: 58ch; margin: 16px 0 0; }
.credit { font-size: .9rem; color: var(--ink-3); margin: 14px 0 0; }
.credit strong { color: var(--ink); }
.crumbs { font-size: .9rem; color: var(--ink-3); margin: 28px 0 0; }
.crumbs a { color: inherit; }

/* Vorzeile (Kicker): kleine Versalien in Blau mit Korallen-Raute */
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.kicker::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--coral); transform: rotate(45deg); border-radius: 1px; }
.kicker-light { color: #fff; background: rgba(6, 29, 58, .42); border: 1px solid rgba(255, 255, 255, .28); padding: 7px 14px 7px 11px; border-radius: var(--pill); font-size: .84rem; font-weight: 600; letter-spacing: 0; text-transform: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.kicker-light::before { display: none; }
.kicker-light .ic { color: var(--coral); }

/* Knöpfe: rechteckig mit weicher Ecke (nicht pillenförmig) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: var(--r-btn); font: 650 1rem/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s, box-shadow .15s, color .15s; }
.btn .ic-arrow { transition: transform .15s; }
.btn:hover .ic-arrow { transform: translateX(3px); }
.btn-coral { background: var(--coral); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(255, 112, 80, .8); }
.btn-coral:hover { background: var(--coral-hover); color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-deep); color: #fff; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-glass:hover { color: #fff; background: rgba(255, 255, 255, .18); }
@media (prefers-reduced-motion: reduce) { .btn, .btn .ic-arrow { transition: none; } .btn:hover .ic-arrow { transform: none; } }

/* ---------- Kopf: schwebende weiße Leiste ---------- */
.bar { position: sticky; top: 10px; z-index: 30; width: calc(var(--wide) - 2 * (var(--bar-top) - var(--gut))); margin: var(--bar-top) auto 0;
  background: rgba(255, 255, 255, .97); border-radius: var(--r-lg); box-shadow: 0 0 0 1px rgba(6, 29, 58, .07), var(--sh-1); }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) { .bar { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); } }
.bar-in { position: relative; height: var(--bar-h); display: flex; align-items: center; gap: 16px; padding: 0 8px 0 16px; }
@media (min-width: 720px) { .bar-in { padding: 0 10px 0 22px; } }
.brand { display: inline-flex; align-items: center; margin-right: auto; min-width: 0; border-radius: 6px; }
.brand img { display: block; height: 24px; width: auto; max-width: 100%; }
@media (min-width: 720px) { .brand img { height: 28px; } }
@media (max-width: 360px) { .brand img { height: 19px; } }
.menu { display: none; gap: 2px; }
.menu a { font-weight: 600; font-size: .94rem; color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r-md); white-space: nowrap; }
.menu a:hover { background: var(--mist); color: var(--ink); }
.menu a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-deep); }
.bar-cta { display: none; align-items: center; gap: 6px; padding: 11px 18px; border-radius: var(--r-btn); background: var(--coral); color: var(--ink); font-weight: 650; font-size: .94rem; text-decoration: none; white-space: nowrap; }
.bar-cta:hover { background: var(--coral-hover); color: var(--ink); }
@media (min-width: 640px) { .bar-cta { display: inline-flex; } }
@media (min-width: 1100px) { .menu { display: flex; } .burger { display: none; } }
@media (min-width: 1100px) and (max-width: 1339px) { .bar-cta { display: none; } }
.burger summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 5px; border-radius: var(--r-md); }
.burger summary:hover, .burger[open] summary { background: var(--mist); }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.burger[open] summary span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[open] summary span:nth-child(2) { opacity: 0; }
.burger[open] summary span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.drawer { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 8px; display: grid; gap: 2px; }
.burger:not([open]) .drawer { display: none; }
.drawer a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.05rem; padding: 12px 14px; border-radius: var(--r-md); }
.drawer a:hover { background: var(--mist); }
.drawer a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-deep); }
@media (prefers-reduced-motion: reduce) { .burger summary span { transition: none; } }

/* ---------- Startseite: Fotokopf ---------- */
.hero-home { position: relative; isolation: isolate; width: var(--wide); margin-left: calc((100% - var(--wide)) / 2);
  margin-top: calc(var(--gut) - var(--bar-top) - var(--bar-h)); border-radius: var(--r-xl); overflow: clip; color: #fff; background: var(--night); }
.hero-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
/* Mobil: Foto oben frei (Person am Schreibtisch sichtbar), Text darunter auf tiefblauem Verlauf */
.hero-home::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6, 29, 58, .35) 0, rgba(6, 29, 58, .1) 120px, rgba(6, 29, 58, .82) 250px, rgba(6, 29, 58, .97) 330px, var(--night) 370px); }
.hero-home .hero-img { object-position: 80% 30%; height: 380px; }
.hero-in { position: relative; padding: calc(var(--bar-top) - var(--gut) + var(--bar-h) + 150px) 20px 24px; display: grid; gap: 24px; }
.hero-text { max-width: 680px; min-width: 0; }
.hero-home .kicker-light { margin-bottom: 18px; }
.ask-sentence { color: #fff; font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 2.9vw + .75rem, 3.5rem); line-height: 1.14; letter-spacing: -.015em; margin: 0; max-width: 17ch; overflow-wrap: anywhere; text-wrap: pretty; }
.ask-sentence .slot { display: inline-flex; align-items: baseline; margin: 0 .04em; padding: 0 .1em; background: rgba(255, 255, 255, .08); border-bottom: 2px solid rgba(255, 255, 255, .75); border-radius: 6px 6px 0 0; cursor: text; transition: background-color .15s; }
.ask-sentence .slot:hover { background: rgba(255, 255, 255, .16); }
.ask-sentence .slot:focus-within { background: rgba(255, 255, 255, .18); border-bottom-color: var(--coral); }
.ask-sentence .slot input { font: inherit; letter-spacing: inherit; color: #fff; background: transparent; border: 0; width: 4.6ch; text-align: right; padding: 0; -moz-appearance: textfield; }
.ask-sentence .slot input:focus { outline: none; }
.ask-sentence .slot .u { color: #fff; }
.ask-sentence output { display: inline; color: var(--coral); white-space: nowrap; }
.hero-home .lead { color: rgba(255, 255, 255, .9); max-width: 48ch; margin-top: 18px; }
.hero-home .credit { color: rgba(255, 255, 255, .8); font-size: .86rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 26px 0 0; }
@media (max-width: 479px) { .hero-cta .btn-glass { display: none; } .hero-cta .btn { width: 100%; } }
@media (max-width: 360px) { .hero-in { padding-left: 16px; padding-right: 16px; } .ask-sentence { font-size: 1.8rem; } .kicker-light { font-size: .76rem; } }
@media (min-width: 720px) {
  .hero-home .hero-img { height: 100%; object-position: 72% 40%; }
  .hero-home::before { background:
      linear-gradient(90deg, rgba(6, 29, 58, .95) 0%, rgba(6, 29, 58, .9) 36%, rgba(6, 29, 58, .62) 54%, rgba(6, 29, 58, .12) 74%, rgba(6, 29, 58, 0) 90%),
      linear-gradient(0deg, rgba(6, 29, 58, .6) 0%, rgba(6, 29, 58, 0) 34%); }
  .hero-in { padding: calc(var(--bar-top) - var(--gut) + var(--bar-h) + 52px) 48px 112px; }
}
@media (min-width: 720px) and (max-width: 1199px) {
  /* Text reicht hier weiter nach rechts: Verlauf länger dunkel halten */
  .hero-home::before { background:
      linear-gradient(90deg, rgba(6, 29, 58, .95) 0%, rgba(6, 29, 58, .92) 52%, rgba(6, 29, 58, .7) 70%, rgba(6, 29, 58, .2) 92%),
      linear-gradient(0deg, rgba(6, 29, 58, .6) 0%, rgba(6, 29, 58, 0) 34%); }
}
@media (min-width: 1100px) { .hero-in { padding-left: 64px; padding-bottom: 120px; } }

/* Ergebniskarte im Kopf: live mit dem Rechner verbunden (data-out) */
.result-card { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 4px 14px; width: 100%; max-width: 460px;
  padding: 16px 18px; color: var(--ink); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3), inset 0 -4px 0 var(--coral); }
.rc-ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--coral); }
.rc-main span { display: block; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.rc-main b { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.25rem); line-height: 1.1; letter-spacing: -.01em; color: var(--navy); }
.rc-more { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 10px 0 0; padding: 12px 0 2px; border-top: 1px solid var(--line-soft); }
.rc-more div { min-width: 0; }
.rc-more dt { font-size: .78rem; line-height: 1.3; color: var(--ink-2); }
.rc-more dd { margin: 2px 0 0; font-weight: 650; font-size: 1.02rem; white-space: nowrap; }
@media (min-width: 720px) {
  .result-card { grid-template-columns: auto auto minmax(0, 1fr); max-width: 640px; padding: 16px 20px; gap: 4px 16px; }
  .rc-more { grid-column: auto; margin: 0; padding: 2px 0 2px 18px; border-top: 0; border-left: 1px solid var(--line); gap: 16px; }
}

/* Kennzahlen-Band: ragt halb über das Foto */
.stats { position: relative; z-index: 2; margin: 16px 0 0; }
.stats ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.stats li { display: grid; align-content: start; gap: 4px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.stats .ic { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); margin-bottom: 6px; }
.stats b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 1.95rem); line-height: 1.1; letter-spacing: -.01em; color: var(--navy); }
.stats span { font-size: .84rem; line-height: 1.4; color: var(--ink-2); -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 900px) {
  .stats { margin-top: -68px; }
  .stats ul { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2), inset 0 4px 0 var(--coral); padding: 10px 8px 8px; }
  .stats li { border: 0; border-radius: 0; padding: 18px 22px; }
  .stats li + li { box-shadow: inset 1px 0 0 var(--line-soft); }
}
@media (min-width: 1200px) { .stats span { -webkit-hyphens: manual; hyphens: manual; } }
@media (min-width: 1100px) { .stats li { grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; } .stats .ic { grid-row: span 2; margin: 2px 0 0; } }

/* ---------- Abschnitte ---------- */
.sec { padding: 56px 0; }
@media (min-width: 900px) { .sec { padding: 88px 0; } }
.stats + .sec { margin-top: 48px; }
.band-mist { background: var(--mist); box-shadow: 0 0 0 100vmax var(--mist); clip-path: inset(0 -100vmax); }
.band-navy { background: var(--navy); box-shadow: 0 0 0 100vmax var(--navy); clip-path: inset(0 -100vmax); color: rgba(255, 255, 255, .84); }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy .kicker { color: var(--coral); }
.band-navy .kicker::before { background: #fff; }
.sec-head { margin: 0 0 32px; }
.sec-head h2 { margin: 0; }
.sec-head > p { color: var(--ink-2); font-size: 1.06rem; margin: 14px 0 0; max-width: 62ch; }
.sec-head-center { max-width: 780px; margin-left: auto; margin-right: auto; text-align: center; }
.sec-head-center > p { margin-left: auto; margin-right: auto; }
.band-navy .sec-head > p { color: rgba(255, 255, 255, .84); }
@media (min-width: 980px) {
  .sec-head { margin-bottom: 44px; }
  .sec-head-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
  .sec-head-row > p { margin: 0; padding-bottom: 4px; }
}

/* Symbolkarten „So rechnet der Beitragsrechner“ */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .features { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.feature { position: relative; padding: 24px 22px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); transition: box-shadow .2s, border-color .2s; }
.feature:hover { border-color: transparent; box-shadow: var(--sh-2); }
.feature-n { position: absolute; top: 16px; right: 20px; font-family: var(--serif); font-size: 2.2rem; font-weight: 500; line-height: 1; color: var(--line); }
.feature-ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); margin-bottom: 18px; }
.feature h3 { margin: 0 0 8px; font-size: 1.25rem; }
.feature p { margin: 0; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.feature-hi { background: var(--navy); border-color: var(--navy); color: #fff; }
.feature-hi h3 { color: #fff; }
.feature-hi p { color: rgba(255, 255, 255, .84); }
.feature-hi .feature-ic { background: var(--coral); color: var(--ink); }
.feature-hi .feature-n { color: rgba(255, 255, 255, .22); }
@media (prefers-reduced-motion: reduce) { .feature { transition: none; } }

/* Zweispaltige Gliederung unter dem Rechner: nie eine einzelne linke Spalte */
.duo { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: start; }
.duo-figure { margin-top: 40px; }
@media (min-width: 1200px) { .duo-figure { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: stretch; } }
@media (min-width: 720px) and (max-width: 1199px) { .duo-figure .chart-card img { max-width: 720px; } }
@media (min-width: 980px) {
  .duo-text { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 56px; }
}
.duo .tablewrap { margin: 0; }
.chart-card { margin: 0; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); display: grid; place-items: center; }
.chart-card img { display: block; width: 100%; height: auto; }
.duo-text .body { max-width: none; }
.duo-text .body > h2:first-of-type { margin-top: 0; }
.duo-side { display: grid; gap: 16px; min-width: 0; }
.duo-side .offer, .duo-side .caveat { margin: 0; }
.side-text { margin: 0; font-size: .95rem; color: var(--ink-2); }
@media (min-width: 980px) { .duo-side { position: sticky; top: 112px; } }

/* Drei Rechenbeispiele als Karten nebeneinander (schmal: untereinander) */
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { min-width: 0; padding: 20px 20px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.case-n { display: inline-block; margin: 0 0 10px; padding: 3px 11px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-deep); background: var(--blue-soft); border-radius: var(--pill); }
.case table { font-size: .92rem; }
.case caption { padding: 0 0 12px; font-size: 1.12rem; }
.case th { background: none; padding: 8px 0; border-bottom: 1px solid var(--line); }
.case td { padding: 9px 0; }
.case td.n { padding-left: 12px; vertical-align: top; font-weight: 650; }
.case td small { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-3); line-height: 1.4; }
.case tr.sum td { background: var(--navy); color: #fff; border-top: 0; }
.case tr.sum td:first-child { padding-left: 12px; border-radius: 10px 0 0 10px; }
.case tr.sum td.n { color: var(--coral); padding-right: 12px; border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.25rem; }
.case tr.sum td small { color: rgba(255, 255, 255, .78); }
.case td:first-child { -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 400px) { .case { padding: 16px 12px 8px; } .case table { font-size: .86rem; } .case td.n { padding-left: 8px; } .case tr.sum td.n { font-size: 1.1rem; } }
.note-bar { display: flex; gap: 14px; align-items: flex-start; margin: 24px 0 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--ink-2); }
.note-bar .ic { width: 40px; height: 40px; padding: 8px; border-radius: 10px; background: var(--coral-soft); color: #b8452a; }

/* Bild-Text-Abschnitte zu den Ratgebern */
.splits { display: grid; gap: 56px; }
@media (min-width: 900px) { .splits { gap: 96px; } }
.split { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 72px; }
  .split-rev .split-media { order: 2; }
}
.split-media { position: relative; min-width: 0; }
.split-img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); }
.plaque { position: absolute; left: 14px; bottom: 14px; margin: 0; display: grid; gap: 2px; max-width: 250px; padding: 12px 16px 12px 18px;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2), inset 4px 0 0 var(--coral); }
.plaque b { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: var(--navy); }
.plaque span { font-size: .8rem; line-height: 1.38; color: var(--ink-2); }
@media (min-width: 900px) {
  .split .plaque { left: auto; right: -24px; bottom: -24px; padding: 16px 20px 16px 22px; }
  .plaque b { font-size: 1.9rem; }
  .split-rev .plaque { right: auto; left: -24px; }
}
.split-text { min-width: 0; }
.split-text h3 { font-size: clamp(1.55rem, 2.4vw, 2.1rem); letter-spacing: -.012em; line-height: 1.15; margin: 0 0 12px; }
.split-text > p:not(.kicker) { color: var(--ink-2); margin: 0 0 18px; }
.ticks { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .97rem; line-height: 1.5; }
.ticks .tick { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--navy); color: var(--coral); stroke-width: 2.8; }

/* So gehst du vor: Schritte mit Nummern auf tiefem Blau */
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.flow li { position: relative; padding: 24px 22px 22px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.flow-n { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; line-height: 1; color: var(--coral); margin-bottom: 18px; }
.flow h3 { margin: 0 0 8px; font-size: 1.25rem; }
.flow p { margin: 0 0 16px; font-size: .95rem; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.flow a { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--coral); font-weight: 650; font-size: .95rem; text-decoration: none; }
.flow a:hover { color: #ffc2b2; text-decoration: underline; }
@media (min-width: 1100px) {
  .flow li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: 92px; right: -21px; border-top: 1px dashed rgba(255, 142, 114, .5); }
}
.flow-cta { text-align: center; margin: 40px 0 0; }

/* Produkte: Foto der Ablage neben der Amazon-Liste */
.shop { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 980px) { .shop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; } }
.shop-photo { position: relative; min-width: 0; min-height: 280px; }
.shop-img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; border-radius: var(--r-xl); }
@media (min-width: 980px) { .shop-photo .shop-img { position: absolute; inset: 0; } }
.plaque-in { left: 16px; bottom: 16px; }
.shop-main { min-width: 0; }
.shop .mz-prods { margin: 0; }

/* FAQ und Quellen der Startseite */
.sec-faq .faq-block { margin: 0; max-width: none; display: grid; gap: 8px 64px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .sec-faq .faq-block { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); } .sec-faq .faq-head { position: sticky; top: 112px; align-self: start; } }
.sec-faq .faq-head h2 { margin: 0 0 16px; }
.faq-note { margin: 8px 0 0; padding: 16px 18px; font-size: .92rem; color: var(--ink-2); background: var(--surface); border-radius: var(--r-lg); box-shadow: inset 4px 0 0 var(--coral); }
.sec-faq .faq details { background: var(--surface); }
.sec-faq .sources { margin-top: 56px; max-width: none; padding-top: 8px; border-top: 1px solid var(--line); }
@media (min-width: 900px) { .sec-faq .sources ol { columns: 2; column-gap: 56px; } .sec-faq .sources li { break-inside: avoid; } }

/* Kopf der Unterseiten ohne Foto (Recht, 404) */
.hero { position: relative; isolation: isolate; margin: 20px 0 8px; padding: 32px 22px; background: var(--mist); border-radius: var(--r-xl); overflow: clip; }
@media (min-width: 900px) { .hero { padding: 48px 48px; } }
.hero::after { content: ""; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(11, 95, 168, .14) 0 34%, rgba(255, 142, 114, .16) 35% 58%, transparent 59%); }
.hero h1 { max-width: 24ch; }
.hero .credit { margin-top: 12px; }
.crumbs + .hero { margin-top: 12px; }
main > .hero-tight:not(.hero-about), main > .body { max-width: 900px; margin-left: auto; margin-right: auto; }
main > .hero:not(.hero-tight) { text-align: center; }
main > .hero:not(.hero-tight) h1, main > .hero:not(.hero-tight) .lead { margin-left: auto; margin-right: auto; }

/* Über uns: Text und Seitenspalte nebeneinander */
.hero-about { display: grid; gap: 20px 48px; align-items: center; }
@media (min-width: 980px) { .hero-about { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }
.about-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.about-facts li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--surface); border-radius: var(--r-lg); font-weight: 600; font-size: .95rem; box-shadow: var(--sh-1); }
.about-facts .ic { width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); }
.about-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); margin-top: 24px; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } }
.about-grid .body { max-width: none; }
.about-grid .body > h2:first-child { margin-top: 1em; }
.about-side { display: grid; gap: 20px; align-content: start; min-width: 0; }
.about-card h2 { font-size: 1.5rem; margin: 0 0 14px; }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-xl); }
.about-photo figcaption { font-size: .8rem; color: var(--ink-3); margin-top: 6px; }

/* Foto-Banner (Ratgeber-Übersicht) und Artikelkopf: Foto, tiefblauer Verlauf, helle Schrift */
.page-banner, .post-cover { position: relative; isolation: isolate; overflow: clip; border-radius: var(--r-xl); color: #fff; background: var(--navy);
  display: flex; align-items: flex-end; margin: 20px 0 0; }
.page-banner-img, .post-cover-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before, .post-cover::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(6, 29, 58, .95) 0%, rgba(6, 29, 58, .88) 42%, rgba(6, 29, 58, .62) 74%, rgba(6, 29, 58, .42) 100%); }
.page-banner { min-height: 340px; }
.page-banner-in, .post-cover-in { width: 100%; padding: 100px 20px 26px; }
@media (min-width: 720px) {
  .page-banner { min-height: 400px; }
  .page-banner-in, .post-cover-in { padding: 120px 48px 44px; }
  .page-banner::before, .post-cover::before { background:
      linear-gradient(90deg, rgba(6, 29, 58, .9) 0%, rgba(6, 29, 58, .72) 45%, rgba(6, 29, 58, .18) 80%),
      linear-gradient(0deg, rgba(6, 29, 58, .9) 0%, rgba(6, 29, 58, .3) 60%); }
}
.page-banner h1, .post-cover h1 { color: #fff; }
.page-banner .lead { color: rgba(255, 255, 255, .9); }
.page-banner .crumbs { color: rgba(255, 255, 255, .85); margin: 0 0 14px; }
.page-banner .crumbs a { color: #fff; }

/* Ratgeber-Übersicht: Rechner als breites Band (Foto, Text, Kennzahlen) */
.calc-band { display: grid; grid-template-columns: minmax(0, 1fr); margin: 56px 0 0; background: var(--navy); border-radius: var(--r-xl); overflow: clip; color: rgba(255, 255, 255, .84); }
@media (min-width: 900px) { .calc-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); } }
.calc-band-media { min-height: 220px; position: relative; }
.calc-band-img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .calc-band-img { position: absolute; inset: 0; } }
.calc-band-text { padding: 28px 22px; }
@media (min-width: 900px) { .calc-band-text { padding: 44px 48px; } }
.calc-band .kicker { color: var(--coral); }
.calc-band .kicker::before { background: #fff; }
.calc-band h2 { margin: 0 0 10px; color: #fff; }
.calc-band h2 a { color: #fff; text-decoration: none; }
.calc-band h2 a:hover { text-decoration: underline; }
.calc-band-facts { list-style: none; margin: 22px 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.calc-band-facts li { padding: 14px 16px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--r-lg); display: grid; gap: 2px; }
.calc-band-facts b { font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2vw, 1.5rem); line-height: 1.1; color: var(--coral); white-space: nowrap; }
.calc-band-facts span { font-size: .84rem; }
.calc-band-note { font-size: .84rem; margin: 0; }

/* ---------- Rechner ---------- */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-2); border: 1px solid var(--line); overflow: clip; }
@media (min-width: 900px) { .sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1200px) { .sheet { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.inputs { padding: 18px 16px 8px; min-width: 0; }
@media (min-width: 560px) { .inputs { padding: 22px 24px 14px; } }
@media (min-width: 900px) { .inputs { padding: 28px 32px 22px; } }

/* Beispiel-Chips: Beschriftung darüber, kurze Chips; bei Platzmangel sauber in die nächste Zeile */
.presets { display: block; margin: 0 0 8px; max-width: 100%; min-width: 0; }
.presets .presets-label { margin: 0 0 6px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.presets-row { display: flex; flex-wrap: wrap; gap: 6px; }
.presets-row button { flex: none; font: inherit; font-size: .84rem; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--pill); padding: 6px 12px; cursor: pointer; }
.presets-row button:hover { border-color: var(--blue); color: var(--blue-deep); }
.presets-row button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.presets-row button:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@media (max-width: 420px) { .presets-row { gap: 5px; } .presets-row button { font-size: .78rem; padding: 5px 9px; } }

.step { margin: 0 0 6px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin: 22px 0 2px; }
.step h3 b { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 700; font-size: .84rem; }
.presets + .step h3 { margin-top: 18px; }

.line { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: center; gap: 6px 14px; padding: 10px 0 11px; border-bottom: 1px solid var(--line-soft); }
.line:last-child { border-bottom: 0; }
.line label, .line-label { font-weight: 600; font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.line .note { grid-column: 1 / -1; font-size: .82rem; color: var(--ink-3); line-height: 1.45; }
.line.wide { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.amount { display: flex; align-items: center; min-width: 0; height: 42px; padding: 0 10px; background: var(--surface); border: 1.5px solid var(--field); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.amount:hover { border-color: var(--ink-2); }
.amount:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 95, 168, .22); }
.amount input, .amount select { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); padding: 0; }
.amount input { font: 650 1.06rem/1 var(--sans); text-align: right; -moz-appearance: textfield; }
.amount input::-webkit-outer-spin-button, .amount input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.amount input:focus, .amount select:focus { outline: none; }
.amount .u { color: var(--ink-3); font-size: .82rem; white-space: nowrap; padding-left: 6px; }
@media (prefers-reduced-motion: reduce) { .amount { transition: none; } }

/* Auswahl als Segmente (Radiogruppe) */
.choice { display: flex; flex-wrap: wrap; gap: 6px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .92rem; font-weight: 500; line-height: 1.25; border: 1.5px solid var(--line); border-radius: var(--r-md); cursor: pointer; background: var(--surface); }
.choice label:hover { border-color: var(--blue); }
.choice label:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); font-weight: 650; }
.choice input { accent-color: var(--blue); width: 16px; height: 16px; margin: 0; flex: none; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--blue); outline-offset: 2px; }

details.more { margin: 4px 0 8px; }
details.more summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; color: var(--blue); padding: 14px 0 8px; list-style: none; border-radius: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; background: var(--blue-soft); font-weight: 800; line-height: 1; }
details.more[open] summary::before { content: "\2212"; }

/* Rechenweg */
.ledger { position: relative; background: #f6f9fc; border-top: 1px solid var(--line); padding: 20px 16px 22px; min-width: 0; }
@media (min-width: 560px) { .ledger { padding: 24px 24px 26px; } }
@media (min-width: 900px) { .ledger { border-top: 0; border-left: 1px solid var(--line); padding: 28px 32px 30px; } .ledger-in { position: sticky; top: 112px; } }
.ledger h2 { font-size: 1.45rem; margin: 0 0 8px; }
.rows { margin: 0; padding: 0; list-style: none; }
.rows li { display: grid; grid-template-columns: 1.6rem minmax(0, 1fr) auto; align-items: baseline; gap: 10px; padding: 8px 0; }
.rows .op { font-weight: 800; color: var(--blue); text-align: center; }
.rows .k { line-height: 1.3; font-size: .97rem; }
.rows .k small { display: block; color: var(--ink-3); font-size: .8rem; font-weight: 400; overflow-wrap: anywhere; margin-top: 2px; }
.rows .k small span { display: inline; }
.rows .v { font-weight: 650; white-space: nowrap; color: var(--ink); }
.rows li.sub { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.rows li.sub .k { font-weight: 650; }
.rows li.sub .v { font-weight: 700; color: var(--blue-deep); }
.rows li.total { margin-top: 12px; padding: 16px 20px; align-items: center; background: var(--navy); color: #fff; border-radius: var(--r-lg); grid-template-columns: minmax(0, 1fr) auto; }
.rows li.total .op { display: none; }
.rows li.total .k { font-weight: 650; font-size: 1.02rem; }
.rows li.total .v { font-family: var(--serif); font-size: clamp(2rem, 5.5vw, 2.7rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.05; color: var(--coral); }
.after { margin: 16px 0 0; font-size: .92rem; color: var(--ink-2); display: grid; gap: 4px; }
.after p { margin: 0; }
.after b { font-weight: 650; color: var(--ink); white-space: nowrap; }
.fineprint { font-size: .84rem; color: var(--ink-3); margin: 16px 0 0; max-width: var(--measure); padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 480px) {
  .line { grid-template-columns: minmax(0, 1fr) 8rem; }
  .rows li { grid-template-columns: 1.2rem minmax(0, 1fr) auto; gap: 8px; }
  .rows .v { font-size: .96rem; }
  .rows li.total { padding: 14px 16px; }
}

/* Kasten „Rechner einbinden“: volle Breite unter dem Rechner */
.embed-box { margin: 16px 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 0 20px; font-size: .92rem; }
.embed-box summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 700; color: var(--ink); padding: 14px 0; list-style: none; }
.embed-box summary::-webkit-details-marker { display: none; }
.embed-box summary::before { content: "+"; display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-weight: 800; }
.embed-box[open] summary::before { content: "\2212"; }
.embed-in { padding: 0 0 16px; color: var(--ink-2); }
@media (min-width: 980px) { .embed-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 4px 32px; } .embed-in > p:first-child { grid-row: span 4; } }
.embed-in p { margin: 0 0 10px; }
.embed-label { display: block; font-weight: 700; font-size: .85rem; margin: 0 0 4px; color: var(--ink); }
.embed-box textarea { display: block; width: 100%; max-width: 100%; min-height: 7.5em; resize: vertical; font: .78rem/1.45 var(--mono); color: var(--ink); background: var(--mist); border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 10px; margin: 0 0 4px; overflow-wrap: anywhere; }
.embed-box textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 95, 168, .2); }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.embed-copy { font: 650 .9rem/1.2 var(--sans); padding: 9px 18px; color: #fff; background: var(--blue); border: 0; border-radius: var(--r-btn); cursor: pointer; }
.embed-copy:hover { background: var(--blue-deep); }
.embed-status { color: var(--blue-deep); font-weight: 700; }
.embed-status:empty { display: none; }
.embed-note { font-size: .84rem; color: var(--ink-3); margin-bottom: 0 !important; }

/* ---------- Fließtext ---------- */
.body { max-width: var(--measure); padding-bottom: 8px; overflow-wrap: break-word; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body li { margin: 0 0 .45em; }
.body li::marker { color: var(--blue); font-weight: 700; }
.body ol > li::marker { font-family: var(--serif); }
/* „Kurz gesagt“: helle blaue Fläche mit Korallenpunkt */
.facts { background: var(--blue-soft); border-radius: var(--r-lg); padding: 20px 24px 8px; margin: 0 0 32px; }
.facts > p:first-child { display: flex; align-items: center; gap: 12px; margin-bottom: .6em; }
.facts > p:first-child strong { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.facts > p:first-child::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(255, 142, 114, .3); }
.facts ul { margin-bottom: 12px; }
.facts li::marker { color: var(--navy); }
.facts p:last-child { margin-bottom: 12px; }
.caveat { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--coral); border-radius: var(--r-lg); padding: 14px 18px; margin: 28px 0; font-size: .92rem; color: var(--ink-2); }
.caveat strong { color: var(--ink); }
.checks { list-style: none; padding-left: 0 !important; }
.checks li { padding-left: 2em; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .22em; width: 1.15em; height: 1.15em; border: 2px solid var(--blue); border-radius: 5px; background: var(--surface); }

/* Tabellen: weiße Karte, scrollt bei Bedarf in sich */
.tablewrap { overflow-x: auto; margin: 18px 0 26px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
table { border-collapse: collapse; width: 100%; font-size: .94rem; line-height: 1.5; }
caption { text-align: left; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; line-height: 1.3; padding: 14px 16px 10px; color: var(--ink); }
th { text-align: left; font-weight: 700; font-size: .82rem; padding: 10px 14px; background: var(--mist); color: var(--ink); vertical-align: bottom; }
td { padding: 10px 14px; border-top: 1px solid var(--line-soft); vertical-align: top; }
th:first-child, td:first-child { padding-left: 16px; }
th:last-child, td:last-child { padding-right: 16px; }
td.n, th.n { text-align: right; white-space: nowrap; }
td.calc { color: var(--ink-3); font-size: .87rem; }
tr.sum td { font-weight: 700; background: var(--blue-soft); border-top: 0; }
tr.sum td.n { color: var(--blue-deep); font-weight: 800; }
td, th { overflow-wrap: break-word; }

.fig, .post-fig { margin: 28px 0 32px; }
.fig img, .post-fig img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); border: 1px solid var(--line); }
.post-fig img { aspect-ratio: 16 / 9; object-fit: cover; }
.fig figcaption, .post-fig figcaption { font-size: .87rem; color: var(--ink-3); margin-top: 10px; }

.author { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 16px; align-items: start; margin: 40px 0 0; padding: 20px; background: var(--mist); border-radius: var(--r-lg); max-width: var(--measure); }
.author strong { font-size: 1.06rem; font-weight: 700; }
.author p { margin: 0; color: var(--ink-2); }
.author-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--coral); }
.author-text p { margin: 0; }
.author-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 4px !important; color: var(--ink) !important; }
.social { display: inline-flex; gap: 6px; }
.social a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; color: var(--ink-2); background: var(--surface); text-decoration: none; }
.social a:hover, .social a:focus-visible { color: #fff; background: var(--blue); border-color: var(--blue); }
.social svg { width: 16px; height: 16px; }
.social-lg a { width: 38px; height: 38px; }
.social-lg svg { width: 18px; height: 18px; }
.about-person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; align-items: start; }
.about-person img { width: 120px; height: 120px; border-radius: var(--r-lg); object-fit: cover; }
.about-person p { margin: 0 0 10px; font-size: .94rem; }
@media (max-width: 420px) { .about-person { grid-template-columns: 1fr; } }
.meta-author { display: inline-flex; align-items: center; gap: 6px; }
.meta-author img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }

.sources { font-size: .9rem; color: var(--ink-2); max-width: var(--measure); }
.sources h2 { font-size: 1.4rem; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .35em; }
.sources li::marker { color: var(--ink-3); font-weight: 600; }
.sources a { overflow-wrap: anywhere; }

/* ---------- Karten (Ratgeber-Übersicht, Weiterlesen, 404) ---------- */
.cards { margin-top: 56px; }
.cards > h2 { margin: 0 0 20px; }
.cards ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .cards ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .cards ul { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; transition: box-shadow .2s, border-color .2s; }
.card:hover { box-shadow: var(--sh-2); border-color: transparent; }
.card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.card-media { position: relative; }
.card-media .card-img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.badge { position: absolute; left: 12px; bottom: 12px; max-width: calc(100% - 24px); background: var(--navy); color: #fff; font-weight: 650; font-size: .8rem; padding: 5px 12px; border-radius: var(--pill); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 22px 20px; }
.card-meta { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-deep); }
.card h3 { margin: 6px 0 8px; font-size: 1.3rem; line-height: 1.25; text-wrap: pretty; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:focus-visible { outline: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card p { margin: 0 0 16px; color: var(--ink-2); font-size: .95rem; }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 650; font-size: .92rem; color: var(--blue); }
.card:hover .card-more .ic-arrow { transform: translateX(3px); }
.card-more .ic-arrow { transition: transform .15s; }
@media (prefers-reduced-motion: reduce) { .card, .card-more .ic-arrow { transition: none; } }

/* ---------- FAQ: einzelne Karten, offene Frage hervorgehoben ---------- */
.faq-block { margin-top: 64px; }
.faq-block > h2, .faq-head h2 { margin: 0 0 16px; }
.faq { display: grid; gap: 10px; }
.body .faq { margin: 18px 0 24px; }
.faq details { background: var(--mist); border: 1px solid transparent; border-radius: var(--r-lg); padding: 0 20px; transition: background-color .15s; }
.faq details[open] { background: var(--surface); border-color: var(--line); box-shadow: var(--sh-1); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; align-items: center; gap: 14px; padding: 16px 0; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-family: var(--sans); font-size: 1.02rem; font-weight: 650; line-height: 1.4; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; background: var(--navy); color: #fff; }
.faq summary:hover h3 { color: var(--blue-deep); }
.faq details p { margin: -4px 0 18px; color: var(--ink-2); max-width: 72ch; }
@media (prefers-reduced-motion: reduce) { .faq details { transition: none; } }

/* ---------- Fuß: tiefblau, mehrere Spalten ---------- */
.foot { margin-top: 88px; background: var(--night); color: rgba(255, 255, 255, .78); font-size: .94rem; }
.home .foot { margin-top: 0; }
.foot-in { max-width: 1360px; margin: 0 auto; padding: 52px 16px 32px; display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 64px 32px 40px; } .foot-brand { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .foot-in { grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 48px; } .foot-brand { grid-column: auto; } }
.foot-logo { display: inline-block; border-radius: 6px; }
.foot-logo img { display: block; height: 26px; width: auto; max-width: 100%; }
.foot-brand p { margin: 16px 0 20px; max-width: 46ch; }
.foot-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--r-btn); background: var(--coral); color: var(--ink); font-weight: 650; text-decoration: none; }
.foot-cta:hover { background: var(--coral-hover); color: var(--ink); }
.foot-h { margin: 0 0 12px; color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-col a, .foot-base a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.foot-col a:hover, .foot-base a:hover { color: #fff; text-decoration: underline; }
.foot-base { max-width: 1360px; margin: 0 auto; padding: 18px 16px 28px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: .84rem; color: rgba(255, 255, 255, .72); border-top: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 640px) { .foot-base { padding: 20px 32px 32px; } }

/* ---------- Einwilligungsbanner ---------- */
.consent { position: fixed; z-index: 50; left: 12px; right: 12px; bottom: 12px; max-width: 540px; max-height: calc(100vh - 24px); overflow-y: auto; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--line); border-top: 4px solid var(--navy); padding: 20px 22px; }
@media (min-width: 720px) { .consent { left: 32px; right: auto; bottom: 32px; } }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.3rem; margin: 0 0 8px; }
.consent p { font-size: .9rem; color: var(--ink-2); margin: 0 0 12px; }
.consent-more { margin: 0 0 12px; font-size: .92rem; }
.consent-more summary { cursor: pointer; color: var(--blue); font-weight: 700; margin-bottom: 8px; }
.consent-more label { display: flex; gap: 8px; align-items: center; margin: 6px 0; }
.consent-more input { accent-color: var(--blue); width: 18px; height: 18px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-btn { font: 650 .95rem/1.2 var(--sans); padding: 12px; border: 0; border-radius: var(--r-btn); background: var(--blue); color: #fff; cursor: pointer; }
.consent-btn:hover { background: var(--blue-deep); }
.consent-more .consent-btn { margin-top: 6px; background: var(--surface); color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.consent-more .consent-btn:hover { background: var(--blue-soft); }

/* ---------- Anzeigen: Kennzeichnung, Partnerkasten, Amazon-Liste, Angebots-Fenster ---------- */
.ad-tag, .offer-tag, .mz-tag { display: inline-block; font-size: .7rem; font-weight: 700; line-height: 1.6; color: var(--ink-2); background: var(--line-soft); padding: 0 8px; border-radius: var(--pill); white-space: nowrap; }
.ad-tag { margin-left: 6px; vertical-align: 2px; }
.offer { display: block; max-width: 100%; margin: 26px 0; padding: 18px 20px; font-size: .92rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.offer p { margin: 0 0 8px; }
.offer-head { display: flex; align-items: center; gap: 10px; }
.offer-name { font-weight: 700; font-size: 1.02rem; }
.offer-lead { font-weight: 600; font-size: .97rem; line-height: 1.45; color: var(--ink); }
.offer-points { list-style: none; padding: 0 !important; margin: 0 0 14px !important; display: grid; gap: 6px; }
.offer-points li { position: relative; padding-left: 26px; color: var(--ink-2); line-height: 1.45; margin: 0; }
.offer-points li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230b5fa8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.offer-cta span { font-size: .82rem; color: var(--ink-2); }
.offer-btn, .mz-cta { display: inline-block; padding: 10px 18px; font: 650 .9rem/1.2 var(--sans); color: var(--ink); background: var(--coral); border-radius: var(--r-btn); text-decoration: none; }
.offer-btn:hover, .offer-btn:focus-visible, .mz-cta:hover, .mz-cta:focus-visible { background: var(--coral-hover); color: var(--ink); }
.offer-note { font-size: .78rem; color: var(--ink-3); margin: 10px 0 0 !important; }

.mz-prods { margin: 28px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; font-size: .92rem; }
.mz-prods p { margin: 0; }
.mz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); background: var(--mist); }
.mz-head strong { flex: 1 1 200px; font-family: var(--serif); font-weight: 600; font-size: 1.18rem; line-height: 1.25; }
.mz-head img { height: 22px; width: auto; background: var(--surface); padding: 4px 8px; border: 1px solid var(--line-soft); border-radius: 8px; box-sizing: content-box; }
.mz-intro { padding: 12px 18px 2px; color: var(--ink-2); }
.mz-prods ul { list-style: none; margin: 0; padding: 0; }
.mz-prods li { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); margin: 0; }
.mz-text { flex: 1 1 auto; min-width: 0; }
.mz-name { font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.mz-use, .mz-check { color: var(--ink-2); line-height: 1.45; }
.mz-check span { font-weight: 700; color: var(--ink); }
.mz-btn { flex: none; display: inline-block; padding: 9px 16px; font: 650 .86rem/1.2 var(--sans); color: var(--blue); background: var(--surface); border-radius: var(--r-btn); box-shadow: inset 0 0 0 1.5px var(--blue); text-decoration: none; white-space: nowrap; }
.mz-btn:hover, .mz-btn:focus-visible { background: var(--blue); color: #fff; }
.mz-note { padding: 12px 18px; font-size: .76rem; color: var(--ink-3); line-height: 1.45; }
@media (max-width: 560px) { .mz-prods li { flex-direction: column; align-items: stretch; gap: 8px; } .mz-btn { text-align: center; } }

.promo { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 330px; max-width: calc(100vw - 24px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-3); padding: 16px 18px 14px; font-size: .88rem; line-height: 1.45; opacity: 0; transform: translateY(24px); transition: opacity .25s ease, transform .25s ease; }
.promo[hidden] { display: none; }
.promo.in { opacity: 1; transform: none; }
.promo::before { content: ""; position: absolute; left: 18px; right: 18px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--coral); }
.promo p { margin: 0 0 8px; }
.promo-head { display: flex; align-items: center; gap: 10px; min-height: 28px; padding-right: 34px; }
.promo-logo { height: 26px; width: auto; max-width: 150px; object-fit: contain; }
.promo-name { font-weight: 700; font-size: 1.02rem; }
.promo-x { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--mist); font: 400 1.4rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.promo-x:hover, .promo-x:focus-visible { background: var(--blue-soft); }
.promo-img { display: block; margin: 0 0 10px; line-height: 0; }
.promo-img img { display: block; width: 100%; height: auto; border-radius: var(--r-md); }
.promo-lead { color: var(--ink); }
.promo-note { font-size: .74rem; color: var(--ink-3); margin: 0 !important; }
@media (max-width: 640px) { .promo { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px 16px 12px; } .promo-img { display: none; } }
@media (prefers-reduced-motion: reduce) { .promo { transition: none; } }

/* ---------- Ratgeber: Fotokopf, Inhaltsverzeichnis, Text, Seitenleiste ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--coral); border-radius: 0 4px 4px 0; transform: scaleX(0); transform-origin: 0 50%; }
.post-cover { min-height: 320px; }
@media (min-width: 720px) { .post-cover { min-height: 420px; } }
@media (min-width: 1100px) { .post-cover { min-height: 460px; } }
.post-cover.no-img { background: linear-gradient(135deg, var(--navy), var(--night)); }
.post-back { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; font-size: .88rem; font-weight: 600; color: #fff; text-decoration: none;
  background: rgba(6, 29, 58, .66); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--pill); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.post-back::before { content: "\2190"; }
.post-back:hover { color: #fff; background: rgba(6, 29, 58, .8); }
@media (min-width: 720px) { .post-back { top: 26px; left: 48px; } }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; }
.post-tags li { font-size: .78rem; font-weight: 650; color: #fff; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28); border-radius: var(--pill); padding: 3px 11px; }
.post-tags li:first-child { background: var(--coral); border-color: var(--coral); color: var(--ink); }
.post-cover h1 { max-width: 24ch; font-size: clamp(1.9rem, 3.8vw, 3.1rem); }
.post-intro { margin: 24px 0 0; display: grid; gap: 16px; }
.post-intro .lead { margin: 0; max-width: 72ch; font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink); }
.post-intro .post-meta, .post-intro .share { align-self: start; }
@media (min-width: 1100px) {
  .post-intro { grid-template-columns: minmax(0, 1fr) 290px; gap: 0 32px; margin-top: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
  .post-intro .lead { grid-row: span 2; max-width: none; font-size: 1.24rem; }
  .post-intro .post-meta { margin: 0; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--mist); border-radius: var(--r-lg); }
  .post-intro .share { margin-top: 12px; }
}
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .88rem; color: var(--ink-2); margin: 0; }
.post-meta a { color: inherit; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; margin: 32px 0 0; }
@media (min-width: 1100px) { .post-grid { grid-template-columns: 240px minmax(0, 1fr) 290px; gap: 32px; } }
.post-main { min-width: 0; overflow-wrap: break-word; }
.post-main .body, .post-main .author, .post-main .sources { max-width: 100%; }
.post-main img { max-width: 100%; }
.post-main .body > h2:first-child { margin-top: 0; }
.post-main .body h2 { font-size: clamp(1.55rem, 2.4vw, 2rem); margin-top: 1.9em; }

/* Inhaltsverzeichnis: am Desktop mitlaufend, mobil nicht sticky */
.post-toc { min-width: 0; position: static; }
@media (min-width: 1100px) { .post-toc { position: sticky; top: 112px; align-self: start; } }
.toc-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: clip; }
.toc-box summary { cursor: pointer; font-family: var(--serif); font-weight: 600; font-size: 1.1rem; padding: 14px 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc-box summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--blue-soft); color: var(--blue); font-family: var(--sans); font-weight: 800; }
.toc-box[open] summary::after { content: "\2212"; }
.toc-box summary::-webkit-details-marker { display: none; }
.toc-list { list-style: none; margin: 0; padding: 0 8px 10px; max-height: 55vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.toc-list::-webkit-scrollbar { width: 6px; }
.toc-list::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 6px 10px; border-radius: var(--r-md); color: var(--ink-2); text-decoration: none; font-size: .88rem; line-height: 1.35; }
.toc-list .toc-h3 a { padding-left: 22px; font-size: .82rem; }
.toc-list a:hover { color: var(--ink); background: var(--mist); }
.toc-list a.active { color: var(--blue-deep); font-weight: 700; background: var(--blue-soft); box-shadow: inset 3px 0 0 var(--coral); }
@media (min-width: 1100px) {
  .toc-list { max-height: calc(100vh - 200px); }
  .toc-box summary { cursor: default; pointer-events: none; }
  .toc-box summary::after, .toc-box[open] summary::after { content: none; }
}
@media (prefers-reduced-motion: reduce) { .toc-list { scroll-behavior: auto; } }

.post-side { min-width: 0; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin: 0 0 18px; font-size: .94rem; }
.side-card p { margin: 0 0 8px; }
.side-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-deep); }
.side-title { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; line-height: 1.2; color: var(--ink); }
/* Rechner-Hinweis: tiefblaue Karte */
.side-cta { position: relative; overflow: clip; background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .84); }
.side-cta .side-title { color: #fff; }
.side-cta .side-kicker { color: var(--coral); }
.side-ic { width: 46px; height: 46px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--coral); margin-bottom: 14px; }
.side-btn { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; padding: 12px 14px; font: 650 .98rem/1.2 var(--sans); color: var(--ink); background: var(--coral); border-radius: var(--r-btn); text-decoration: none; }
.side-btn:hover, .side-btn:focus-visible { background: var(--coral-hover); color: var(--ink); }
.side-more ul { list-style: none; padding: 0; margin: 0 0 10px; }
.side-more li { padding: 10px 0; border-bottom: 1px solid var(--line-soft); display: grid; gap: 2px; }
.side-more li a { font-family: var(--serif); font-weight: 600; font-size: 1.04rem; text-decoration: none; color: var(--ink); line-height: 1.3; }
.side-more li a:hover { color: var(--blue); }
.side-more li span { font-size: .8rem; color: var(--ink-3); }
.side-all { font-weight: 700; font-size: .9rem; }
@media (min-width: 1100px) {
  .side-sticky { position: sticky; top: 112px; max-height: calc(100vh - 128px); overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 8px 0; margin-right: -10px; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
  .side-sticky::-webkit-scrollbar { width: 6px; }
  .side-sticky::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
}

/* Teilen-Leiste: reine Links, nichts wird von Netzwerken geladen */
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 100%; }
.share-top { margin: 0; }
.share-end { margin: 8px 0 0; padding: 0 0 20px; }
.share-end + .author { margin-top: 0; }
.share-title { margin: 0; font-weight: 700; font-size: .98rem; color: var(--ink); flex-basis: 100%; }
.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; min-width: 0; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 36px; height: 36px; padding: 0 9px; box-sizing: border-box; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); color: var(--ink-2); font: inherit; font-size: .85rem; font-weight: 650; line-height: 1; text-decoration: none; cursor: pointer; transition: color .15s, border-color .15s, background-color .15s; }
.share-btn svg { flex: none; display: block; }
.share-btn:hover, .share-btn:focus-visible { color: var(--blue-deep); background: var(--blue-soft); border-color: var(--blue-soft); }
.share-btn.is-done { color: #fff; background: var(--blue); border-color: var(--blue); }
.share-native { padding: 0 12px 0 10px; }
.share-status { font-size: .82rem; font-weight: 700; color: var(--blue-deep); min-height: 1em; }
.share-status:empty { display: none; }

/* ---------- Einbett-Seite /embed/… (im iframe fremder Websites, 320 bis 800 px; keine Inline-Styles) ---------- */
body.embed { display: flow-root; font-size: .95rem; line-height: 1.5; overflow-x: hidden; background: var(--surface); }
.em { padding: 12px 12px 10px; max-width: 800px; margin: 0 auto; }
.em-title { font-size: 1.25rem; line-height: 1.25; max-width: none; margin: 0; display: flex; align-items: center; gap: 10px; }
.em-title::before { content: ""; flex: none; width: 8px; height: 8px; background: var(--coral); transform: rotate(45deg); border-radius: 1px; }
.em .presets { margin: 10px 0 0; }
.em-sheet { margin-top: 12px; box-shadow: none; }
.em .inputs { padding: 12px 14px 4px; }
.em .step h3 { font-size: .98rem; margin: 14px 0 2px; }
.em .step:first-child h3 { margin-top: 0; }
.em .step h3 b { width: 22px; height: 22px; font-size: .78rem; border-radius: 7px; }
.em .line { padding: 7px 0 8px; gap: 4px 12px; }
.em .line:not(.wide) { grid-template-columns: minmax(0, 1fr) 8rem; }
.em .line label, .em .line-label { font-size: .9rem; }
.em .line .note { font-size: .78rem; }
.em .amount { height: 38px; }
.em .amount input { font-size: 1rem; }
.em .choice label { padding: 6px 10px; font-size: .88rem; }
.em .ledger { padding: 14px 14px 16px; }
.em .ledger h2 { font-size: 1.15rem; }
.em .rows li { padding: 5px 0; }
.em .rows li.total { padding: 10px 14px; margin-top: 8px; }
.em .rows li.total .v { font-size: clamp(1.6rem, 6vw, 2.1rem); }
.em .after { margin-top: 12px; font-size: .86rem; }
@media (min-width: 620px) {
  .em-sheet { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .em .ledger { border-top: 0; border-left: 1px solid var(--line); }
  .em .ledger-in { position: static; }
}
@media (max-width: 380px) {
  .em { padding: 10px 8px; }
  .em .inputs, .em .ledger { padding-left: 12px; padding-right: 12px; }
  .em .line:not(.wide) { grid-template-columns: minmax(0, 1fr) 7.5rem; }
}
.em-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 14px; margin: 10px 2px 0; font-size: .8rem; color: var(--ink-3); }
.em-brand { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.em-brand:hover strong { text-decoration: underline; }
.em-brand strong { font-weight: 700; }
.em-brand img { display: block; width: 20px; height: 20px; }

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; }
  .bar, .foot, details.more summary, .share, .promo, .mz-prods, .consent, .progress, .hero-img, .post-cover-img, .page-banner-img, .stats .ic, .embed-box, .post-side { display: none !important; }
  .hero-home, .post-cover, .page-banner, .calc-band { color: var(--ink); background: #fff; margin: 0; width: auto; }
  .hero-home::before, .post-cover::before, .page-banner::before { display: none; }
  .hero-home h1, .post-cover h1, .page-banner h1, .hero-home .lead, .ask-sentence .slot input, .ask-sentence .slot .u { color: var(--ink); }
  .sheet, .card, .faq details, .result-card, .tablewrap, .stats ul, .case { box-shadow: none; }
  .band-mist, .band-navy { box-shadow: none; background: #fff; color: var(--ink); }
  .band-navy h2, .band-navy h3, .band-navy p { color: var(--ink); }
  .ledger { background: #fff; }
}
