/* Hausrat-Rechner: Gestaltung „Kantig und klar“ (11.11.2026)

   Aufbau nach dem Muster einer Versicherungs-Vorlage (Envato „Insurin“, Startseite 7): scharfe Rechtecke (Radius 0), kräftige
   Farbflächen, große fette Serifen-Überschriften, schlichte Grotesk für Text, harte Schatten nur bei überlappenden Kästen,
   Inhaltsbreite 1.200 px. Marke: Aubergine (Flächen, Logo-Block), Safran (Knöpfe, Zahlen, Etiketten), warmes Hellgrau (Grund).
   Schriften: Libre Baskerville Bold (Überschriften, Zahlen) und Montserrat (Text, Navigation), beide SIL OFL 1.1, selbst gehostet,
   auf Latin und Latin Extended beschränkt (Lizenztexte in /assets/fonts/). Kontrast: tests/kontrast.py. */

@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/libre-baskerville-700-latin.woff2") format("woff2");
  font-weight: 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+2197, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("/assets/fonts/libre-baskerville-700-latin-ext.woff2") format("woff2");
  font-weight: 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+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: "Montserrat";
  src: url("/assets/fonts/montserrat-wght-latin.woff2") format("woff2");
  font-weight: 400 800;
  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+2197, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/montserrat-wght-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --deep: #2f1446;         /* Aubergine: Logo-Block, dunkle Flächen, Ergebnis */
  --night: #1e0b2e;        /* Fuß, Faltecke */
  --plum: #5b2b86;         /* Links im Text */
  --accent: #f2a93b;       /* Safran: Knöpfe, Zahlen auf Dunkel, Etiketten auf Dunkel (Text darauf dunkel) */
  --accent-hover: #f6bd63;
  --accent-ink: #8a5200;   /* Safran dunkel: Akzent als Text auf Hell (6,4:1 auf Weiß) */
  --ground: #f4f2ef;       /* warmes Hellgrau: Kopf, helle Abschnitte */
  --ground-2: #ebe6df;     /* Infoleiste */
  --ink: #111111;
  --ink-2: #4a4550;
  --ink-3: #5c5662;
  --on-deep: #d8cde2;      /* Fließtext auf Aubergine */
  --line: #e2ddd6;
  --line-2: #d3ccc3;
  --field: #85798c;        /* Feldrahmen (3,9:1 auf Weiß) */
  --ok: #1d6b45;
  --warn: #9a3412;
  --shadow: 0 30px 60px -28px rgba(30, 11, 46, .55);   /* nur bei überlappenden Kästen */
  --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px;
  --gut: 20px;
  --logo-w: 300px;
  --measure: 70ch;
}
@media (max-width: 1099px) { :root { --logo-w: 240px; } }
@media (max-width: 479px) { :root { --gut: 16px; --logo-w: 196px; } }

* { 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: #fff; color: var(--ink); font: 400 1rem/1.75 var(--sans); }
[id] { scroll-margin-top: 24px; }
::selection { background: var(--accent); color: var(--ink); }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 2px; }
.qc-dark :focus-visible, .band :focus-visible, .foot :focus-visible, .side-cta :focus-visible, .tile :focus-visible, .calc-band :focus-visible,
.kz :focus-visible, .about-facts :focus-visible, .brand:focus-visible, .rows li.total :focus-visible { outline-color: var(--accent); }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 80; outline: 3px solid var(--accent); }
.visually-hidden, .mz-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { display: block; flex: none; }
td.n, th.n, .rows .v, .amount input, .verdict b { font-variant-numeric: lining-nums tabular-nums; }

.page { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.home .page { max-width: none; padding: 0; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.page .wrap { max-width: none; padding-left: 0; padding-right: 0; }
.page .bleed .wrap, .home .page .wrap { max-width: calc(var(--wrap) + 2 * var(--gut)); padding-left: var(--gut); padding-right: var(--gut); }
.bleed { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.home .bleed { margin-left: 0; margin-right: 0; }

/* ---------- Typografie ---------- */
h1, h2, h3 { color: var(--ink); font-family: var(--serif); font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.1; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.55rem, 2.6vw, 2.15rem); line-height: 1.2; margin: 2em 0 .55em; text-wrap: balance; }
h3 { font-size: 1.25rem; line-height: 1.3; margin: 1.7em 0 .45em; }
p { margin: 0 0 1em; }
strong, b { font-weight: 700; }
h1, h2, h3, h1 a, h2 a { overflow-wrap: break-word; }
h1, h2, h3 { -webkit-hyphens: manual; hyphens: manual; }
@media (max-width: 899px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; } }
.lead { font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); max-width: 58ch; margin: 18px 0 0; }
.credit { font-size: .875rem; color: var(--ink-3); margin: 14px 0 0; }
.credit strong { color: var(--ink); }
.crumbs { font-size: .8125rem; font-weight: 600; color: var(--ink-3); margin: 0 0 18px; }
.crumbs a { color: var(--ink); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Etikett: kleines Rechteck, dunkle Fläche, helle Serifenschrift (auf Dunkel: Safran mit dunkler Schrift) */
.tag { display: inline-block; margin: 0; padding: 7px 14px 6px; background: var(--deep); color: #fff; font: 700 .875rem/1.25 var(--serif); letter-spacing: 0; }
.tag-accent, .shead-light .tag, .calc-band .tag { background: var(--accent); color: var(--ink); }

/* Knopf: Safran-Rechteck in Versalien, abgesetztes dunkles Quadrat mit Pfeil */
.btn { display: inline-flex; align-items: stretch; gap: 3px; min-height: 56px; text-decoration: none; color: var(--ink); font: 700 .8125rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; vertical-align: middle; }
.btn-t { display: flex; align-items: center; padding: 0 26px 0 28px; background: var(--accent); transition: background-color .2s; }
.btn-sq { display: grid; place-items: center; width: 56px; flex: none; background: var(--deep); color: var(--accent); }
.btn .ic-ne { transition: transform .2s; }
.btn:hover { color: var(--ink); }
.btn:hover .btn-t { background: var(--accent-hover); }
.btn:hover .ic-ne { transform: translate(2px, -2px); }
.btn-dark { color: #fff; }
.btn-dark .btn-t { background: var(--deep); }
.btn-dark .btn-sq { background: var(--accent); color: var(--ink); }
.btn-dark:hover { color: #fff; }
.btn-dark:hover .btn-t { background: var(--plum); }
/* Unterstrichener Versalien-Link */
.ulink { display: inline-block; font: 700 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.ulink:hover { color: var(--ink); text-decoration-color: currentColor; text-decoration-thickness: 2px; }
@media (prefers-reduced-motion: reduce) { .btn-t, .btn .ic-ne { transition: none; } .btn:hover .ic-ne { transform: none; } }

/* ---------- Kopf: Infoleiste, Logo im dunklen Pfeil-Block, Navigation, Akzent-Knopf ---------- */
.mast { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.mast::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: calc(max(var(--gut), (100% - var(--wrap)) / 2) + var(--logo-w) + 12px);
  background: var(--accent); clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 50%, calc(100% - 46px) 100%, 0 100%); }
.brand { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: calc(max(var(--gut), (100% - var(--wrap)) / 2) + var(--logo-w));
  display: flex; align-items: center; justify-content: flex-end; padding-right: 62px; background: var(--deep);
  clip-path: polygon(0 0, calc(100% - 46px) 0, 100% 50%, calc(100% - 46px) 100%, 0 100%); }
.brand img { display: block; height: 36px; width: auto; }
.brand:focus-visible { outline-offset: -6px; }
.topbar { background: var(--ground-2); font-size: .8125rem; line-height: 1.3; color: var(--ink-2); }
.topbar-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut) 0 calc(var(--gut) + var(--logo-w) + 40px); }
.tb-l, .tb-r { display: flex; align-items: center; margin: 0; min-width: 0; }
.tb-l > span { display: inline-flex; align-items: center; gap: 8px; padding: 0 18px; white-space: nowrap; }
.tb-l > span:first-child { padding-left: 0; }
.tb-l > span + span { border-left: 1px solid var(--line-2); }
.tb-l .ic { color: var(--plum); }
.tb-r { gap: 18px; }
.tb-r > a { color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.tb-r > a:hover { text-decoration: underline; }
.tb-social { display: inline-flex; gap: 2px; padding-left: 18px; border-left: 1px solid var(--line-2); }
.tb-social a { display: grid; place-items: center; width: 26px; height: 26px; color: var(--ink-2); }
.tb-social a:hover { color: var(--deep); }
.tb-social svg { width: 15px; height: 15px; }
@media (max-width: 899px) { .topbar { display: none; } }
@media (max-width: 1239px) { .tb-2 { display: none !important; } }
.bar-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; height: 86px; display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gut) 0 calc(var(--gut) + var(--logo-w) + 40px); }
.menu { display: none; align-items: center; gap: 36px; margin-right: auto; }
.menu a { position: relative; color: var(--ink); font: 700 .9375rem/1 var(--sans); text-decoration: none; white-space: nowrap; }
.menu > a, .has-sub > a { padding: 35px 0; }
.menu > a:hover, .has-sub > a:hover { color: var(--plum); }
.menu > a[aria-current="page"]::after, .has-sub.is-on > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 24px; height: 3px; background: var(--accent); }
.has-sub { position: relative; display: flex; align-items: center; gap: 8px; }
.sub-ic { width: 7px; height: 7px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-2px) rotate(45deg); }
.subnav { position: absolute; top: 100%; left: -26px; z-index: 40; min-width: 280px; padding: 10px 0; background: #fff; border-top: 3px solid var(--accent); box-shadow: var(--shadow); display: none; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { display: block; }
.subnav a { display: block; padding: 11px 26px; font-weight: 600; font-size: .9rem; }
.subnav a:hover { background: var(--ground); color: var(--ink); }
.subnav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); background: var(--ground); }
.bar-cta { display: none; align-items: center; height: 54px; padding: 0 28px; background: var(--accent); color: var(--ink); font: 700 .8125rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.bar-cta:hover { background: var(--accent-hover); color: var(--ink); }
@media (min-width: 640px) { .bar-cta { display: inline-flex; } }
@media (min-width: 1100px) { .menu { display: flex; } .burger { display: none; } }
@media (max-width: 1099px) { .bar-cta { margin-left: auto; } }
.burger { margin-left: auto; }
@media (min-width: 640px) and (max-width: 1099px) { .burger { margin-left: 0; } }
.burger summary { list-style: none; cursor: pointer; width: 48px; height: 48px; display: grid; align-content: center; justify-items: center; gap: 5px; background: var(--deep); }
.burger summary::-webkit-details-marker { display: none; }
.burger summary span { display: block; width: 20px; height: 2px; background: #fff; 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; z-index: 40; left: 0; right: 0; top: 100%; background: #fff; border-top: 3px solid var(--accent); box-shadow: var(--shadow); padding: 6px var(--gut) 14px; display: grid; }
.burger:not([open]) .drawer { display: none; }
.drawer a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 1rem; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.drawer a:hover { color: var(--plum); }
.drawer a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 16px; }
@media (max-width: 899px) { .bar-in { height: 72px; } .brand { padding-right: 52px; } .brand img { height: 30px; }
  .mast::before, .brand { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%); } }
@media (max-width: 479px) { .bar-in { height: 64px; gap: 12px; padding-left: calc(var(--gut) + var(--logo-w) + 20px); padding-right: 12px; } .brand { padding-right: 40px; } .brand img { height: 25px; } }
@media (prefers-reduced-motion: reduce) { .burger summary span { transition: none; } }

/* ---------- Startseite: Kopfbereich ---------- */
.hx { position: relative; isolation: isolate; background: var(--ground); overflow: clip; }
.hx-in { position: relative; z-index: 2; min-height: 620px; display: flex; align-items: center; padding-top: 56px; padding-bottom: 120px; }
.hx-text { max-width: 600px; min-width: 0; }
.hx h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); line-height: 1.1; letter-spacing: -.025em; margin: 24px 0 0; }
.hx .lead { margin-top: 22px; max-width: 48ch; }
.hx-cta { margin: 30px 0 0; }
.hx-media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 60%; }
.hx-img { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) 12%, rgba(0, 0, 0, .8) 28%, #000 40%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .25) 12%, rgba(0, 0, 0, .8) 28%, #000 40%); }
.seal { position: absolute; right: max(var(--gut), calc((100vw - var(--wrap)) / 2)); bottom: 108px; width: 150px; height: 150px; overflow: visible; }
.seal-bg { fill: var(--deep); }
.seal-in { fill: none; stroke: rgba(255, 255, 255, .28); stroke-width: 1; }
.seal text { fill: #fff; font: 700 10.5px var(--sans); letter-spacing: .14em; }
.seal-mark path { fill: var(--accent); }
.seal-mark rect { fill: var(--deep); }
@media (prefers-reduced-motion: no-preference) {
  .seal-ring { transform-box: view-box; transform-origin: 80px 80px; animation: seal-spin 40s linear infinite; }
}
@keyframes seal-spin { to { transform: rotate(360deg); } }
.ornament { position: absolute; z-index: 2; left: 0; bottom: 84px; width: 104px; height: auto; display: none; }
.ornament .o1 { fill: var(--accent); }
.ornament .o2 { fill: var(--deep); }
@media (min-width: 1380px) { .ornament { display: block; } }
@media (max-width: 979px) {
  .hx { display: flex; flex-direction: column; }
  .hx-in { order: 1; min-height: 0; padding-top: 44px; padding-bottom: 36px; width: 100%; }
  .hx-media { order: 2; position: relative; width: 100%; height: clamp(260px, 62vw, 440px); }
  .hx-img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 30%); mask-image: linear-gradient(180deg, transparent 0, #000 30%); }
  .seal { width: 112px; height: 112px; bottom: 64px; }
}

/* Doppelkasten (Schnellrechner): ragt in den Kopfbereich, links dunkel, rechts weiß */
.qc-sec { position: relative; z-index: 3; margin-top: -48px; }
.qc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); box-shadow: var(--shadow); }
.qc-box { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 26px; padding: 44px 48px 42px; min-width: 0; }
.qc-dark { background: var(--deep); color: var(--on-deep); }
.qc-light { background: #fff; color: var(--ink-2); }
.qc-ic { width: 56px; height: 56px; stroke-width: 1.3; }
.qc-dark .qc-ic { color: var(--accent); }
.qc-light .qc-ic { color: var(--deep); }
.qc-body { min-width: 0; }
.qc-h { font-size: 1.6rem; line-height: 1.2; margin: 0 0 14px; }
.qc-dark .qc-h { color: #fff; }
.hero-q { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 0 0 10px; color: #fff; }
.hero-q .slot { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 8px 4px; background: rgba(255, 255, 255, .07); border-bottom: 3px solid var(--accent); cursor: text; }
.hero-q .slot:focus-within { background: rgba(255, 255, 255, .14); outline: 2px solid var(--accent); outline-offset: 3px; }
.hero-q .slot input { font: 700 2.6rem/1.1 var(--serif); color: #fff; background: transparent; border: 0; width: 2.4ch; min-width: 1.2ch; padding: 0; text-align: right; font-variant-numeric: lining-nums proportional-nums; }
.hero-q .slot input:focus { outline: none; }
.hero-q .slot .u { font: 700 1rem/1 var(--sans); color: var(--accent); }
.hero-x { font-weight: 600; font-size: 1rem; color: #fff; }
.qc-t { margin: 0 0 18px; font-size: .9375rem; line-height: 1.6; }
.qc-t output, .qc-t b { color: #fff; font-weight: 700; white-space: nowrap; }
.qc-dark .ulink { color: #fff; }
.qc-num { margin: 0 0 8px; font: 700 clamp(2.4rem, 4vw, 3.1rem)/1.05 var(--serif); color: var(--deep); letter-spacing: -.02em; font-variant-numeric: lining-nums proportional-nums; }
.qc-light .qc-t { min-height: 1.6em; }
@media (max-width: 899px) {
  .qc { grid-template-columns: minmax(0, 1fr); }
  .qc-box { grid-template-columns: 44px minmax(0, 1fr); gap: 18px; padding: 30px 24px 28px; }
  .qc-ic { width: 44px; height: 44px; }
  .qc-sec { margin-top: -32px; }
  .qc-h { font-size: 1.35rem; }
}
@media (max-width: 379px) { .qc-box { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 26px 18px 24px; } }

/* ---------- Abschnitte ---------- */
.sec { padding: 110px 0; }
@media (max-width: 899px) { .sec { padding: 72px 0; } }
.sec-ground { background: var(--ground); }
.page .sec-ground { box-shadow: 0 0 0 100vmax var(--ground); clip-path: inset(0 -100vmax); }

/* Abschnittskopf: Etikett, Serifen-Überschrift links, Absatz rechts, Knopf ganz rechts */
.shead { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 24px 64px; align-items: end; margin: 0 0 52px; }
.shead h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: 1.16; margin: 20px 0 0; }
.shead-p { margin: 0; color: var(--ink-2); max-width: 48ch; padding-bottom: 4px; }
.shead-x { padding-bottom: 4px; }
.shead-light h2 { color: #fff; }
.shead-light .shead-p { color: var(--on-deep); }
@media (max-width: 899px) { .shead { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-bottom: 36px; } .shead h2 br { display: none; } }

/* Foto-Kacheln: hochkant, scharfkantig, Verlauf unten, Symbol mit Akzentpunkt, Serifen-Titel, runder Pfeilknopf */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 290 / 335; max-height: 420px; width: 100%; background: var(--deep); color: #fff; }
.tile-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(30, 11, 46, 0) 28%, rgba(30, 11, 46, .55) 55%, rgba(30, 11, 46, .94) 100%); }
.tile-noimg::before, .tile-cta::before { display: none; }
.tile:hover .tile-img { transform: scale(1.05); }
.tile-in { position: absolute; left: 26px; right: 26px; bottom: 26px; }
.tile-ic { position: relative; display: inline-block; margin-bottom: 14px; color: #fff; }
.tile-ic .ic { stroke-width: 1.4; }
.tile-ic::after { content: ""; position: absolute; right: -6px; top: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.tile-meta { margin: 0 0 6px; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.tile h3 { margin: 0; font-size: 1.22rem; line-height: 1.28; color: #fff; text-wrap: pretty; }
.tile h3 a { color: #fff; text-decoration: none; }
.tile h3 a::after { content: ""; position: absolute; inset: -1000px; z-index: 1; }
.tile h3 a:focus-visible { outline: none; }
.tile:focus-within { outline: 3px solid var(--accent); outline-offset: 3px; }
.tile-d { margin: 10px 0 0; font-size: .875rem; line-height: 1.55; color: rgba(255, 255, 255, .88); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.tile-go { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(30, 11, 46, .5); border: 1px solid rgba(255, 255, 255, .45); color: #fff;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: background-color .2s, color .2s; }
.tile:hover .tile-go { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.tile-cta { background: var(--deep); }
.tile-cta .tile-in { top: 30px; display: flex; flex-direction: column; }
.tile-cta .tile-ic { color: var(--accent); }
.tile-cta h3 { padding-right: 0; font-size: 1.5rem; }
.tile-links { margin: auto 0 0; display: flex; gap: 22px; position: relative; z-index: 2; }
.tile-links .ulink { color: #fff; }
.tiles-sec { margin-top: 88px; }
@media (min-width: 1100px) { .tiles-sec .tiles { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); } }
@media (max-width: 1099px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tile { aspect-ratio: 4 / 3.6; max-height: none; } }
@media (max-width: 559px) { .tiles { grid-template-columns: minmax(0, 1fr); gap: 16px; } .tile { aspect-ratio: 4 / 3.7; } .tile-cta { aspect-ratio: auto; min-height: 260px; } }
@media (prefers-reduced-motion: reduce) { .tile-img, .tile-go { transition: none; } .tile:hover .tile-img { transform: none; } }

/* Bild-Text-Abschnitt: zwei überlappende Fotos, dunkler Kasten mit Faltecke, Text mit »-Liste und Balken */
.split2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.ab-media { position: relative; min-height: 600px; }
.ab-big { position: absolute; left: 0; top: 0; width: 80%; height: 82%; }
.ab-small { position: absolute; right: 0; bottom: 0; width: 52%; height: 44%; border: 10px solid #fff; box-shadow: var(--shadow); }
.ab-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ab-flag { position: absolute; z-index: 2; left: -24px; bottom: 64px; margin: 0; width: 236px; padding: 22px 24px 20px; background: var(--deep); color: var(--on-deep); display: grid; gap: 6px; }
.ab-flag::after { content: ""; position: absolute; left: 0; top: 100%; border-top: 24px solid var(--night); border-left: 24px solid transparent; }
.ab-flag b { font: 700 2.3rem/1 var(--serif); color: var(--accent); letter-spacing: -.02em; white-space: nowrap; }
.ab-flag span { font-size: .8125rem; line-height: 1.45; }
.ab-text h2 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: 1.16; margin: 20px 0 18px; }
.ab-text > p:not(.tag) { color: var(--ink-2); }
.raquo { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }
.raquo li { position: relative; padding-left: 22px; font-weight: 600; font-size: .9375rem; line-height: 1.45; }
.raquo li::before { content: "»"; position: absolute; left: 0; top: -.08em; color: var(--accent-ink); font-weight: 800; font-size: 1.2em; }
.meter { margin: 0 0 36px; max-width: 540px; }
.meter-l { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 10px; font-weight: 700; font-size: .875rem; }
.meter-l b { font-family: var(--serif); color: var(--deep); white-space: nowrap; }
.meter-bar { height: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.meter-bar span { display: block; height: 100%; background: var(--deep); position: relative; }
.meter-bar span::after { content: ""; position: absolute; right: -2px; top: -5px; width: 4px; height: 18px; background: var(--accent); }
.meter-n { margin: 10px 0 0; font-size: .8125rem; color: var(--ink-3); }
@media (max-width: 979px) {
  .split2 { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .ab-media { min-height: 0; aspect-ratio: 1 / .95; max-width: 560px; }
  .ab-flag { left: 0; bottom: 40px; width: 210px; padding: 18px 20px; }
  .ab-flag b { font-size: 1.9rem; }
}
@media (max-width: 479px) { .raquo { grid-template-columns: minmax(0, 1fr); } .ab-small { border-width: 6px; } .ab-flag { width: 180px; bottom: 28px; } .ab-flag span { font-size: .75rem; } }

/* Dunkles Vollbreite-Band: vier hohe Spalten mit dünnen Trennlinien, Inhalt unten */
.band { background: var(--deep); color: var(--on-deep); padding: 110px 0 0; }
.cols4 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .16); }
.cols4 li { position: relative; min-height: 370px; padding: 44px 40px 46px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; border-left: 1px solid rgba(255, 255, 255, .16); transition: background-color .25s; }
.cols4 li:first-child { border-left: 0; }
.cols4 li:hover { background: rgba(255, 255, 255, .05); }
.col-ic { color: var(--accent); stroke-width: 1.2; }
.cols4 h3 { margin: 0 0 12px; font-size: 1.55rem; color: #fff; }
.cols4 h3 a { color: #fff; text-decoration: none; }
.cols4 h3 a::after { content: ""; position: absolute; inset: 0; }
.cols4 h3 a:focus-visible { outline: none; }
.cols4 li:focus-within { outline: 3px solid var(--accent); outline-offset: -3px; }
.cols4 p { margin: 0 0 26px; font-size: .9375rem; line-height: 1.65; }
.round-go { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); color: #fff; transition: background-color .2s, color .2s, border-color .2s; }
.cols4 li:hover .round-go { background: var(--accent); border-color: var(--accent); color: var(--ink); }
@media (max-width: 1099px) { .cols4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cols4 li { min-height: 320px; border-top: 1px solid rgba(255, 255, 255, .16); } .cols4 li:nth-child(odd) { border-left: 0; } .cols4 li:nth-child(-n+2) { border-top: 0; } }
@media (max-width: 599px) { .cols4 { grid-template-columns: minmax(0, 1fr); } .cols4 li { min-height: 0; padding: 32px var(--gut) 34px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16) !important; } .cols4 li:first-child { border-top: 0 !important; } }
@media (prefers-reduced-motion: reduce) { .cols4 li, .round-go { transition: none; } }

/* Nummerierte Schritte auf Punktraster, weißer Kasten mit Akzentlinie, Umriss-Ziffern */
.steps-sec { background-color: var(--ground); background-image: radial-gradient(rgba(47, 20, 70, .14) 1.1px, transparent 1.4px); background-size: 20px 20px; padding-bottom: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-bottom: 4px solid var(--accent); }
.steps li { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 44px 34px 46px; border-left: 1px solid var(--line); }
.steps li:first-child { border-left: 0; }
.step-n { font: 700 4.4rem/1 var(--serif); color: transparent; -webkit-text-stroke: 1.6px var(--accent); margin-bottom: 26px; letter-spacing: -.02em; }
@supports not (-webkit-text-stroke: 1px black) { .step-n { color: var(--accent); } }
.steps h3 { margin: 0 0 12px; font-size: 1.3rem; }
.steps p { margin: 0 0 24px; font-size: .9375rem; line-height: 1.65; color: var(--ink-2); }
.steps .ulink { margin-top: auto; position: relative; z-index: 1; }
.step-ic { position: absolute; right: 14px; bottom: 12px; color: var(--deep); opacity: .09; stroke-width: 1.2; }
@media (max-width: 1099px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(odd) { border-left: 0; } .steps li:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 599px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps li { border-left: 0; padding: 32px 24px 36px; } .steps li + li { border-top: 1px solid var(--line); } .step-n { font-size: 3.4rem; margin-bottom: 18px; } }

/* Kennzahlen-Band: dunkles Rechteck, ragt halb in den nächsten Abschnitt */
.kz { position: relative; z-index: 2; list-style: none; margin: 80px 0 -100px; padding: 48px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--deep); box-shadow: var(--shadow); }
.kz li { padding: 4px 28px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .18); }
.kz li:first-child { border-left: 0; }
.kz b { display: block; font: 700 clamp(1.7rem, 3vw, 2.5rem)/1.1 var(--serif); color: var(--accent); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: lining-nums proportional-nums; }
.kz span { display: block; margin-top: 10px; font-size: .875rem; line-height: 1.5; color: #fff; }
.sec-calc { padding-top: 210px; background: #fff; }
@media (max-width: 899px) {
  .kz { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 14px 0; margin: 56px 0 -72px; }
  .kz li { padding: 22px 16px; }
  .kz li:nth-child(odd) { border-left: 0; }
  .kz li:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .18); }
  .sec-calc { padding-top: 144px; }
}

/* ---------- Rechner ---------- */
.sheet { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deep); }
@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: 22px 18px 12px; min-width: 0; }
@media (min-width: 560px) { .inputs { padding: 28px 28px 18px; } }
@media (min-width: 900px) { .inputs { padding: 36px 40px 28px; } }

/* Beispiel-Chips: klein, rechteckig, in einer Reihe */
.presets { display: block; margin: 0 0 6px; max-width: 100%; min-width: 0; }
.presets .presets-label { margin: 0 0 8px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.presets-row { display: flex; flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.presets-row::-webkit-scrollbar { display: none; }
.presets-row button { flex: none; font: 600 .8125rem/1.2 var(--sans); white-space: nowrap; color: var(--ink); background: #fff; border: 1.5px solid var(--line-2); border-radius: 0; padding: 8px 13px; cursor: pointer; }
.presets-row button:hover { border-color: var(--deep); }
.presets-row button[aria-pressed="true"] { background: var(--deep); border-color: var(--deep); color: #fff; }
@media (max-width: 420px) { .presets-row { gap: 5px; } .presets-row button { font-size: .75rem; padding: 7px 9px; } }

.step { margin: 0 0 6px; }
.step h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin: 30px 0 4px; }
.step h3 b { display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; background: var(--deep); color: var(--accent); font: 700 .875rem/1 var(--sans); }
.presets + .step h3 { margin-top: 24px; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: center; gap: 6px 16px; padding: 12px 0 13px; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line label, .line-label { font-weight: 600; font-size: .9375rem; line-height: 1.35; overflow-wrap: anywhere; }
.line .note { grid-column: 1 / -1; font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.line.wide { grid-template-columns: minmax(0, 1fr); gap: 6px; }
.amount { display: flex; align-items: center; min-width: 0; height: 46px; padding: 0 12px; background: #fff; border: 1.5px solid var(--field); border-radius: 0; transition: border-color .15s; }
.amount:hover { border-color: var(--ink-2); }
.amount:focus-within { border-color: var(--deep); outline: 3px solid var(--accent); outline-offset: 0; }
.amount input, .amount select { width: 100%; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--ink); padding: 0; }
.amount input { font: 700 1.0625rem/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: .8125rem; font-weight: 600; white-space: nowrap; padding-left: 6px; }
@media (prefers-reduced-motion: reduce) { .amount { transition: none; } }
.choice { display: flex; flex-wrap: wrap; gap: 6px; }
.choice label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: .9rem; border: 1.5px solid var(--line-2); cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--deep); background: var(--ground); font-weight: 700; }
.choice input { accent-color: var(--deep); width: 16px; height: 16px; margin: 0; }
.choice label:has(input:focus-visible) { outline: 3px solid var(--plum); outline-offset: 2px; }

/* Rechenweg und Ergebnis */
.ledger { position: relative; background: var(--ground); border-top: 1px solid var(--line); padding: 24px 18px 26px; min-width: 0; }
@media (min-width: 560px) { .ledger { padding: 28px 28px 30px; } }
@media (min-width: 900px) { .ledger { border-top: 0; border-left: 1px solid var(--line); padding: 36px 40px; } .ledger-in { position: sticky; top: 24px; } }
.ledger h2 { font-size: 1.6rem; margin: 0 0 10px; }
.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: 9px 0; }
.rows .op { font-weight: 800; color: var(--accent-ink); text-align: center; }
.rows .k { line-height: 1.35; font-size: .9375rem; }
.rows .k small { display: block; color: var(--ink-3); font-size: .78rem; font-weight: 400; overflow-wrap: anywhere; margin-top: 2px; }
.rows .k small span { display: inline; }
.rows .v { font-weight: 700; white-space: nowrap; color: var(--ink); }
.rows li.sub { border-top: 1px solid var(--line-2); margin-top: 4px; padding-top: 12px; }
.rows li.sub .k { font-weight: 700; }
.rows li.sub .v { font-family: var(--serif); color: var(--deep); }
.rows li.total { position: relative; margin-top: 16px; padding: 22px 24px 22px 28px; align-items: center; background: var(--deep); color: #fff; grid-template-columns: minmax(0, 1fr) auto; box-shadow: inset 6px 0 0 var(--accent); }
.rows li.total .op { display: none; }
.rows li.total .k { font-weight: 700; font-size: 1rem; }
.rows li.total .k small { color: var(--on-deep); }
.rows li.total .v { font: 700 clamp(1.9rem, 5vw, 2.6rem)/1.05 var(--serif); letter-spacing: -.02em; color: var(--accent); font-variant-numeric: lining-nums proportional-nums; }
.fineprint { font-size: .8125rem; color: var(--ink-3); margin: 18px 0 0; max-width: var(--measure); padding-top: 14px; border-top: 1px solid var(--line-2); }
@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: .95rem; }
  .rows li.total { padding: 18px 16px 18px 20px; }
}
.step-note { margin: 4px 0 6px; font-size: .8125rem; color: var(--ink-3); line-height: 1.5; }
.step h3 .opt { margin-left: 2px; font: 700 .6875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); background: var(--ground-2); padding: 5px 8px; }
.btn-mini { font: 700 .75rem/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 11px 15px; color: var(--deep); background: #fff; border: 1.5px solid var(--deep); border-radius: 0; cursor: pointer; }
.btn-mini:hover { background: var(--deep); color: #fff; }
.extra-add { margin: 12px 0 4px; }
.line-extra { grid-template-columns: minmax(0, 1fr) 8.5rem 40px; }
.extra-name { min-width: 0; height: 46px; padding: 0 12px; font: 600 .9375rem var(--sans); color: var(--ink); border: 1.5px solid var(--field); border-radius: 0; background: #fff; }
.extra-name:focus { outline: 3px solid var(--accent); border-color: var(--deep); }
.extra-x { width: 40px; height: 40px; border: 0; border-radius: 0; background: var(--ground-2); color: var(--ink); font: 400 1.3rem/1 var(--sans); cursor: pointer; }
.extra-x:hover { background: var(--deep); color: #fff; }
@media (max-width: 480px) { .line-extra { grid-template-columns: minmax(0, 1fr) 40px; } .line-extra .amount { grid-column: 1; grid-row: 2; } .line-extra .extra-x { grid-column: 2; grid-row: 1; } }
.verdicts { display: grid; gap: 10px; margin: 18px 0 0; }
.verdict { padding: 14px 16px; background: #fff; border-left: 5px solid var(--ok); font-size: .875rem; color: var(--ink-2); }
.verdict[data-level="warn"] { border-left-color: var(--warn); background: #fff7f2; }
.verdict[hidden] { display: none; }
.verdict p { margin: 0 0 4px; }
.verdict b { color: var(--ink); white-space: nowrap; }
.verdict-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink) !important; }
.verdict-h .ic { color: var(--deep); }
.verdict-msg { font-weight: 600; color: var(--ok); }
.verdict[data-level="warn"] .verdict-msg { color: var(--warn); }
.verdict-sub { font-size: .8125rem; color: var(--ink-3); }
.verdict-empty { margin: 0; font-size: .8125rem; color: var(--ink-3); padding: 12px 16px; border: 1.5px dashed var(--line-2); background: #fff; }
.verdict-empty[hidden] { display: none; }
.export { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 0; }
details.more { margin: 4px 0 8px; }
details.more summary { cursor: pointer; font-weight: 700; color: var(--plum); padding: 14px 0 8px; }

/* Kasten „Rechner einbinden“ */
.embed-box { margin: 20px 0 0; background: #fff; border: 1px solid var(--line); padding: 0 22px; font-size: .9rem; }
.embed-box summary { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 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: 30px; height: 30px; background: var(--deep); color: var(--accent); font-weight: 700; }
.embed-box[open] summary::before { content: "\2212"; }
.embed-in { padding: 0 0 18px; 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: .8125rem; 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(--ground); border: 1.5px solid var(--line-2); border-radius: 0; padding: 10px; margin: 0 0 4px; overflow-wrap: anywhere; }
.embed-box textarea:focus { outline: 3px solid var(--accent); border-color: var(--deep); }
.embed-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.embed-copy { font: 700 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 12px 18px; color: #fff; background: var(--deep); border: 0; cursor: pointer; }
.embed-copy:hover { background: var(--plum); }
.embed-status { color: var(--deep); font-weight: 700; }
.embed-status:empty { display: none; }
.embed-note { font-size: .8125rem; color: var(--ink-3); margin-bottom: 0 !important; }
.sec-calc .tablewrap { margin-top: 28px; }

/* Rechenbeispiele */
.cases { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .cases { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.case { min-width: 0; padding: 28px 28px 16px; background: #fff; border-top: 4px solid var(--deep); }
.case-n { display: inline-block; margin: 0 0 14px; padding: 6px 12px 5px; font: 700 .8125rem/1.2 var(--serif); color: var(--ink); background: var(--accent); }
.case table { font-size: .875rem; }
.case caption { padding: 0 0 14px; font-size: 1.1rem; }
.case th { background: none; color: var(--ink-2); padding: 8px 0; border-bottom: 1px solid var(--line); text-transform: none; letter-spacing: 0; }
.case td { padding: 10px 0; }
.case td.n { padding-left: 12px; vertical-align: top; font-weight: 700; }
.case td small { display: block; margin-top: 2px; font-size: .78rem; color: var(--ink-3); line-height: 1.4; }
.case tr.sum td { background: var(--deep); color: #fff; border-top: 0; }
.case tr.sum td:first-child { padding-left: 14px; }
.case tr.sum td.n { color: var(--accent); padding-right: 14px; font: 700 1.2rem var(--serif); }
.case tr.sum td small { color: var(--on-deep); }
.case td:first-child { -webkit-hyphens: auto; hyphens: auto; }
@media (max-width: 400px) { .case { padding: 22px 14px 10px; } .case table { font-size: .82rem; } .case td.n { padding-left: 8px; } .case tr.sum td.n { font-size: 1.05rem; } }
.note-bar { display: grid; grid-template-columns: auto minmax(0, 1fr); margin: 24px 0 0; background: #fff; color: var(--ink-2); font-size: .9375rem; }
.note-bar b { display: flex; align-items: center; padding: 18px 24px; background: var(--deep); color: var(--accent); font: 700 1.05rem var(--serif); }
.note-bar span { padding: 18px 24px; }
@media (max-width: 599px) { .note-bar { grid-template-columns: minmax(0, 1fr); } .note-bar b { padding: 12px 18px; } .note-bar span { padding: 16px 18px; } }

/* Text mit Seitenspalte (Unterversicherung, Partner) */
.duo { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 980px) { .duo-text { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 72px; } }
.duo-text .body { max-width: none; }
.duo-text .body > .tag + h2 { margin-top: 20px; font-size: clamp(1.8rem, 3.2vw, 2.55rem); line-height: 1.16; }
.duo-side { display: grid; gap: 20px; min-width: 0; }
.duo-side .offer, .duo-side .caveat { margin: 0; }
@media (min-width: 980px) { .duo-side { position: sticky; top: 24px; } }

/* Produkte: Foto neben der Amazon-Liste */
.shop { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 980px) { .shop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px; } }
.shop-photo { position: relative; min-width: 0; min-height: 320px; }
.shop-img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
@media (min-width: 980px) { .shop-photo .shop-img { position: absolute; inset: 0; } }
.shop-flag { left: 24px; bottom: 48px; width: 250px; }
.shop-flag b { font-size: 1.9rem; }
.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 72px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 980px) { .sec-faq .faq-block { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); } .sec-faq .faq-head { position: sticky; top: 24px; align-self: start; } }
.faq-head h2 { margin: 20px 0 20px; font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.2; }
.faq-note { margin: 8px 0 0; padding: 18px 20px; font-size: .875rem; color: var(--ink-2); background: var(--ground); box-shadow: inset 4px 0 0 var(--accent); }
.sec-faq .sources { margin-top: 64px; 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: breites Band, Etikett, Serifen-Überschrift, Foto rechts randlos ---------- */
.phead { position: relative; isolation: isolate; background: var(--ground); overflow: clip; display: flex; flex-direction: column; }
.phead-in { position: relative; z-index: 2; width: 100%; min-height: 470px; display: flex; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.phead-text { max-width: 600px; min-width: 0; }
.phead h1 { font-size: clamp(1.9rem, 3.4vw, 2.85rem); line-height: 1.14; margin: 18px 0 0; }
.phead .lead { margin-top: 20px; }
.phead .credit { margin-top: 14px; }
.phead-media { position: absolute; z-index: 1; top: 0; right: 0; bottom: 0; width: 50%; }
.phead-media img { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 16%, #000 36%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .5) 16%, #000 36%); }
.phead.no-img .phead-in { min-height: 0; padding-top: 72px; padding-bottom: 64px; }
.phead.no-img .phead-text { max-width: 820px; }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.post-tags li { padding: 6px 12px 5px; font: 700 .8125rem/1.25 var(--serif); color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.post-tags li:first-child { background: var(--deep); color: #fff; box-shadow: none; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; margin: 22px 0 0; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.post-meta a { color: var(--ink); }
.meta-author { display: inline-flex; align-items: center; gap: 8px; }
.meta-author img { width: 26px; height: 26px; object-fit: cover; }
@media (max-width: 979px) {
  .phead-in { order: 1; min-height: 0; padding-top: 40px; padding-bottom: 32px; }
  .phead-media { order: 2; position: relative; width: 100%; height: clamp(220px, 56vw, 380px); }
  .phead-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 28%); mask-image: linear-gradient(180deg, transparent 0, #000 28%); }
  .phead.no-img .phead-in { padding-top: 44px; padding-bottom: 40px; }
}

/* Über uns: Kennzeichen als dunkler Kasten im Kopf */
.about-facts { list-style: none; margin: 30px 0 0; padding: 0; max-width: 520px; background: var(--deep); color: #fff; }
.about-facts li { display: flex; align-items: center; gap: 14px; padding: 14px 20px; font-weight: 600; font-size: .9375rem; line-height: 1.4; }
.about-facts li + li { border-top: 1px solid rgba(255, 255, 255, .16); }
.about-facts .ic { color: var(--accent); stroke-width: 1.5; }
.about-grid { display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; } }
.about-grid .body { max-width: none; }
.about-grid .body > h2:first-child { margin-top: 1.2em; }
.about-side { display: grid; gap: 24px; align-content: start; min-width: 0; padding-top: 48px; }
.about-card { border-top: 4px solid var(--deep); }
.about-card h2 { font-size: 1.45rem; margin: 0 0 16px; }
.about-person { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 18px; align-items: start; }
.about-person img { width: 112px; height: 112px; object-fit: cover; }
.about-person p { margin: 0 0 10px; font-size: .9rem; }
@media (max-width: 420px) { .about-person { grid-template-columns: minmax(0, 1fr); } }
.about-photo { margin: 0; }
.about-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.about-photo figcaption { font-size: .78rem; color: var(--ink-3); margin-top: 8px; }

/* Rechner-Band (Übersichten): dunkel, Foto links randlos */
.calc-band { position: relative; isolation: isolate; margin-top: 110px; background: var(--deep); color: var(--on-deep); overflow: clip; display: flex; flex-direction: column; }
.calc-band-media { position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 46%; }
.calc-band-img { display: block; width: 100%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(270deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 40%); mask-image: linear-gradient(270deg, transparent 0, rgba(0, 0, 0, .6) 18%, #000 40%); }
.calc-band-in { position: relative; z-index: 2; width: 100%; display: flex; justify-content: flex-end; padding-top: 96px; padding-bottom: 96px; }
.calc-band-text { width: 54%; min-width: 0; }
.calc-band h2 { margin: 20px 0 14px; font-size: clamp(1.8rem, 3.2vw, 2.55rem); color: #fff; }
.calc-band h2 a { color: #fff; text-decoration: none; }
.calc-band h2 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.calc-band-facts { list-style: none; margin: 28px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); border-bottom: 1px solid rgba(255, 255, 255, .18); }
.calc-band-facts li { padding: 18px 16px 16px; display: grid; gap: 4px; }
.calc-band-facts li + li { border-left: 1px solid rgba(255, 255, 255, .18); }
.calc-band-facts li:first-child { padding-left: 0; }
.calc-band-facts b { font: 700 clamp(1.3rem, 2vw, 1.6rem)/1.1 var(--serif); color: var(--accent); white-space: nowrap; }
.calc-band-facts span { font-size: .8125rem; line-height: 1.45; }
@media (max-width: 979px) {
  .calc-band-media { position: relative; width: 100%; height: 240px; order: 2; }
  .calc-band-img { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 40%); mask-image: linear-gradient(0deg, transparent 0, #000 40%); }
  .calc-band-in { order: 1; padding-top: 56px; padding-bottom: 32px; }
  .calc-band-text { width: 100%; }
}
@media (max-width: 559px) { .calc-band-facts { grid-template-columns: minmax(0, 1fr); } .calc-band-facts li + li { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .18); } .calc-band-facts li { padding-left: 0; } }

/* Rechtsseiten */
main > .body { max-width: 820px; margin: 56px 0 0; }

/* ---------- 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.2em; }
.body li { margin: 0 0 .5em; }
.body li::marker { color: var(--accent-ink); font-weight: 700; }
.body ol > li::marker { font-family: var(--serif); }
.body h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.body h3 { font-size: 1.2rem; }
/* „Kurz gesagt“: dunkle linke Fläche, Text rechts */
.facts { display: grid; grid-template-columns: 136px minmax(0, 1fr); background: #fff; border: 1px solid var(--line); margin: 0 0 40px; }
.facts > p:first-child { grid-row: 1 / span 20; margin: 0; padding: 24px 22px; background: var(--deep); color: #fff; display: flex; flex-direction: column; gap: 14px; }
.facts > p:first-child strong { font: 700 1.3rem/1.2 var(--serif); color: #fff; }
.facts > p:first-child::after { content: ""; width: 28px; height: 4px; background: var(--accent); order: -1; }
.facts > :not(:first-child) { grid-column: 2; margin-left: 26px; margin-right: 26px; }
.facts > ul { margin-top: 22px; margin-bottom: 10px; }
.facts > p:last-child { margin-bottom: 20px; }
.facts li::marker { color: var(--deep); }
.facts .facts-stand { font-size: .8125rem; color: var(--ink-2); padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 599px) {
  .facts { grid-template-columns: minmax(0, 1fr); }
  .facts > p:first-child { grid-row: auto; padding: 14px 18px; flex-direction: row; align-items: center; }
  .facts > :not(:first-child) { grid-column: 1; margin-left: 18px; margin-right: 18px; }
}
.caveat { background: var(--ground); border-left: 4px solid var(--accent); padding: 18px 22px; margin: 32px 0; font-size: .875rem; color: var(--ink-2); }
.caveat strong { color: var(--ink); }
.checks { list-style: none; padding-left: 0 !important; }
.checks li { padding-left: 2.1em; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1em; height: 1.1em; border: 2px solid var(--deep); background: #fff; }

/* Tabellen: scharfkantig, dunkle Kopfzeile, scrollen bei Bedarf in sich */
.tablewrap { overflow-x: auto; margin: 22px 0 30px; max-width: 100%; background: #fff; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: .875rem; line-height: 1.55; }
caption { text-align: left; font: 700 1.05rem/1.35 var(--serif); padding: 16px 18px 14px; color: var(--ink); }
th { text-align: left; font-weight: 700; font-size: .78rem; letter-spacing: .04em; padding: 12px 14px; background: var(--deep); color: #fff; vertical-align: bottom; }
td { padding: 11px 14px; border-top: 1px solid var(--line); vertical-align: top; }
th:first-child, td:first-child { padding-left: 18px; }
th:last-child, td:last-child { padding-right: 18px; }
td.n, th.n { text-align: right; white-space: nowrap; }
td.calc { color: var(--ink-3); font-size: .82rem; }
tr.sum td { font-weight: 700; background: var(--ground); border-top: 2px solid var(--deep); }
tr.sum td.n { color: var(--deep); }
td, th { overflow-wrap: break-word; }
tbody tr:hover td { background: #faf8f5; }
tbody tr.sum:hover td { background: var(--ground); }
.case tbody tr:hover td { background: none; }
.case tbody tr.sum:hover td { background: var(--deep); }

.fig, .post-fig { margin: 30px 0 34px; }
.fig img, .post-fig img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.fig figcaption, .post-fig figcaption { font-size: .82rem; color: var(--ink-3); margin-top: 10px; }

.author { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 4px 18px; align-items: start; margin: 40px 0 0; padding: 24px; background: var(--ground); border-top: 4px solid var(--deep); max-width: var(--measure); }
.author p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.author-img { width: 72px; height: 72px; object-fit: cover; }
.author-name { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 6px !important; color: var(--ink) !important; font-size: 1rem !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-2); color: var(--ink-2); background: #fff; text-decoration: none; }
.social a:hover, .social a:focus-visible { color: #fff; background: var(--deep); border-color: var(--deep); }
.social svg { width: 16px; height: 16px; }
.social-lg a { width: 38px; height: 38px; }
.tb-social a { border: 0; background: none; width: 26px; height: 26px; }
.tb-social a:hover { background: none; color: var(--deep); }

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

/* ---------- FAQ ---------- */
.faq-block { margin-top: 64px; }
.faq-block > h2 { margin: 0 0 16px; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.body .faq { margin: 20px 0 28px; }
.faq details { border-bottom: 1px solid var(--line-2); padding: 0; }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 36px; align-items: center; gap: 18px; padding: 20px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font: 700 1.0625rem/1.45 var(--sans); }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 36px; height: 36px; background: var(--ground-2); color: var(--ink); font: 600 1.3rem/1 var(--sans); }
.faq details[open] summary::after { content: "\2212"; background: var(--deep); color: var(--accent); }
.faq summary:hover h3 { color: var(--plum); }
.faq details p { margin: -4px 54px 22px 0; color: var(--ink-2); max-width: 72ch; }

/* ---------- Fuß ---------- */
.foot { margin-top: 110px; background: var(--night); color: rgba(255, 255, 255, .78); font-size: .9rem; }
.home .foot { margin-top: 0; }
.foot-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 80px var(--gut) 56px; display: grid; gap: 40px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } .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: 56px; } .foot-brand { grid-column: auto; } }
.foot-logo { display: inline-block; }
.foot-logo img { display: block; height: 32px; width: auto; max-width: 100%; }
.foot-brand p { margin: 22px 0 26px; max-width: 46ch; }
.foot-h { margin: 0 0 20px; color: #fff; font: 700 1.1rem/1.3 var(--serif); }
.foot-h::after { content: ""; display: block; width: 30px; height: 3px; margin-top: 12px; background: var(--accent); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a, .foot-base a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.foot-col a:hover, .foot-base a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); }
.foot-base-in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 22px var(--gut) 28px; display: flex; flex-wrap: wrap; gap: 6px 28px; font-size: .8125rem; color: rgba(255, 255, 255, .72); }

/* ---------- Einwilligungsbanner ---------- */
.consent { position: fixed; z-index: 70; left: 12px; right: 12px; bottom: 12px; max-width: 540px; max-height: calc(100vh - 24px); overflow-y: auto; background: #fff; border-top: 5px solid var(--accent); box-shadow: 0 30px 70px -20px rgba(17, 17, 17, .55), 0 0 0 1px rgba(17, 17, 17, .06); padding: 26px 28px 24px; }
@media (min-width: 720px) { .consent { left: 32px; right: auto; bottom: 32px; } }
.consent[hidden] { display: none; }
.consent h2 { font-size: 1.3rem; margin: 0 0 10px; }
.consent p { font-size: .875rem; color: var(--ink-2); margin: 0 0 14px; }
.consent-more { margin: 0 0 14px; font-size: .875rem; }
.consent-more summary { cursor: pointer; color: var(--plum); font-weight: 700; margin-bottom: 8px; }
.consent-more label { display: flex; gap: 10px; align-items: center; margin: 8px 0; }
.consent-more input { accent-color: var(--deep); width: 18px; height: 18px; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-btn { font: 700 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 15px 12px; border: 0; border-radius: 0; background: var(--deep); color: #fff; cursor: pointer; }
.consent-btn:hover { background: var(--plum); }
.consent-more .consent-btn { margin-top: 8px; background: #fff; color: var(--deep); box-shadow: inset 0 0 0 1.5px var(--deep); }
.consent-more .consent-btn:hover { background: var(--ground); }

/* ---------- Anzeigen: Kennzeichnung, Partnerkasten, Amazon-Liste, Angebots-Fenster ---------- */
.ad-tag, .offer-tag, .mz-tag { display: inline-block; font: 700 .6875rem/1.6 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; padding: 1px 8px; }
.ad-tag { margin-left: 6px; vertical-align: 2px; color: var(--ink-2); background: var(--ground-2); }
.offer-tag, .mz-tag { color: #fff; background: var(--deep); }
.offer { display: block; max-width: 100%; margin: 30px 0; padding: 22px 24px; font-size: .9rem; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.offer p { margin: 0 0 8px; }
.offer-head { display: flex; align-items: center; gap: 12px; }
.offer-name { font: 700 1.1rem/1.3 var(--serif); }
.offer-lead { font-weight: 600; font-size: .9375rem; line-height: 1.5; color: var(--ink); }
.offer-points { list-style: none; padding: 0 !important; margin: 0 0 16px !important; display: grid; gap: 6px; }
.offer-points li { position: relative; padding-left: 22px; color: var(--ink-2); line-height: 1.5; margin: 0; }
.offer-points li::before { content: "»"; position: absolute; left: 2px; top: -.05em; color: var(--accent-ink); font-weight: 800; font-size: 1.15em; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.offer-cta span { font-size: .8125rem; color: var(--ink-2); }
.offer-btn, .mz-cta { display: inline-block; padding: 13px 20px; font: 700 .75rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); background: var(--accent); text-decoration: none; }
.offer-btn:hover, .offer-btn:focus-visible, .mz-cta:hover, .mz-cta:focus-visible { background: var(--accent-hover); color: var(--ink); }
.offer-note { font-size: .75rem; color: var(--ink-3); margin: 12px 0 0 !important; }

.mz-prods { margin: 30px 0; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--accent); font-size: .9rem; }
.mz-prods p { margin: 0; }
.mz-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.mz-head strong { flex: 1 1 200px; font: 700 1.15rem/1.3 var(--serif); }
.mz-head img { height: 22px; width: auto; background: #fff; padding: 4px 8px; border: 1px solid var(--line); box-sizing: content-box; }
.mz-intro { padding: 14px 20px 4px; color: var(--ink-2); }
.mz-prods ul { list-style: none; margin: 0; padding: 0; }
.mz-prods li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border-bottom: 1px solid var(--line); 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.5; }
.mz-check span { font-weight: 700; color: var(--ink); }
.mz-btn { flex: none; display: inline-block; padding: 11px 16px; font: 700 .72rem/1.2 var(--sans); letter-spacing: .07em; text-transform: uppercase; color: var(--deep); background: #fff; box-shadow: inset 0 0 0 1.5px var(--deep); text-decoration: none; white-space: nowrap; }
.mz-btn:hover, .mz-btn:focus-visible { background: var(--deep); color: #fff; }
.mz-note { padding: 14px 20px; font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
@media (max-width: 560px) { .mz-prods li { flex-direction: column; align-items: stretch; gap: 10px; } .mz-btn { text-align: center; } }

.promo { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 340px; max-width: calc(100vw - 24px); background: #fff; border-top: 4px solid var(--accent); box-shadow: 0 30px 60px -20px rgba(17, 17, 17, .5), 0 0 0 1px rgba(17, 17, 17, .06); padding: 18px 20px 16px; font-size: .85rem; line-height: 1.5; opacity: 0; transform: translateY(24px); transition: opacity .25s ease, transform .25s ease; }
.promo[hidden] { display: none; }
.promo.in { opacity: 1; transform: none; }
.promo p { margin: 0 0 8px; }
.promo-head { display: flex; align-items: center; gap: 10px; min-height: 28px; padding-right: 36px; }
.promo-logo { height: 26px; width: auto; max-width: 150px; object-fit: contain; }
.promo-name { font: 700 1.05rem var(--serif); }
.promo-x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border: 0; border-radius: 0; background: var(--ground-2); font: 400 1.4rem/1 var(--sans); color: var(--ink); cursor: pointer; }
.promo-x:hover, .promo-x:focus-visible { background: var(--deep); color: #fff; }
.promo-img { display: block; margin: 0 0 10px; line-height: 0; }
.promo-img img { display: block; width: 100%; height: auto; }
.promo-lead { color: var(--ink); }
.promo-note { font-size: .72rem; 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; } }

.mz-box { display: grid; grid-template-columns: minmax(0, 1fr); margin: 30px 0; border: 1px solid var(--line); border-top: 4px solid var(--accent); background: #fff; font-size: .9rem; }
@media (min-width: 760px) { .mz-box { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: stretch; } }
.mz-box-img { display: block; line-height: 0; }
.mz-box-img img { display: block; width: 100%; height: 100%; min-height: 180px; object-fit: cover; }
.mz-box-text { padding: 20px 22px 14px; }
@media (min-width: 760px) { .mz-box.mz-box-sq { grid-template-columns: 300px minmax(0, 1fr); align-items: center; } .mz-box.mz-box-nopic { grid-template-columns: minmax(0, 1fr); } }
.mz-box-sq .mz-box-img img { height: auto; min-height: 0; object-fit: contain; }
@media (max-width: 759px) { .mz-box-sq .mz-box-img { display: none; } }
.mz-box-logo { height: 26px; width: auto; max-width: 150px; object-fit: contain; }
.mz-box p { margin: 0 0 8px; max-width: none; }
.mz-box-head { display: flex; align-items: center; gap: 12px; }
.mz-box-title { font: 700 1.1rem/1.35 var(--serif); }
.mz-box ul { margin: 0 0 12px; padding-left: 18px; }
.mz-box li { margin: 0 0 4px; line-height: 1.45; }
.mz-box .mz-note { padding: 0; margin: 0; }

/* ---------- Artikel: 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(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.post-intro { margin: 40px 0 0; display: grid; gap: 18px; }
.post-intro .lead { margin: 0; max-width: 72ch; font-size: 1.125rem; line-height: 1.75; color: var(--ink); }
@media (min-width: 1100px) {
  .post-intro { grid-template-columns: minmax(0, 1fr) 300px; gap: 0 48px; align-items: start; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
  .post-intro .share { justify-content: flex-end; padding-top: 6px; }
}
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; margin: 40px 0 0; }
@media (min-width: 1100px) { .post-grid { grid-template-columns: 210px minmax(0, 1fr) 260px; gap: 40px; } }
.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 { margin-top: 1.9em; }

.post-toc { min-width: 0; position: static; }
@media (min-width: 1100px) { .post-toc { position: sticky; top: 24px; align-self: start; } }
.toc-box { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--deep); }
.toc-box summary { cursor: pointer; font: 700 1.05rem var(--serif); padding: 16px 16px 12px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.toc-box summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; background: var(--ground-2); font: 600 1.1rem var(--sans); }
.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 12px; max-height: 55vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.toc-list li { margin: 0; }
.toc-list a { display: block; padding: 7px 10px; color: var(--ink-2); text-decoration: none; font-size: .82rem; line-height: 1.4; }
.toc-list .toc-h3 a { padding-left: 22px; font-size: .78rem; }
.toc-list a:hover { color: var(--ink); background: var(--ground); }
.toc-list a.active { color: var(--ink); font-weight: 700; background: var(--ground); box-shadow: inset 3px 0 0 var(--accent); }
@media (min-width: 1100px) {
  .toc-list { max-height: calc(100vh - 140px); }
  .toc-box summary { cursor: default; pointer-events: none; }
  .toc-box summary::after, .toc-box[open] summary::after { content: none; }
}

.post-side { min-width: 0; }
.side-card { background: #fff; border: 1px solid var(--line); padding: 24px 22px; margin: 0 0 20px; font-size: .875rem; }
.side-card p { margin: 0 0 10px; }
.side-kicker { font: 700 1rem/1.3 var(--serif); color: var(--ink); margin-bottom: 6px !important; }
.side-title { font: 700 1.15rem/1.35 var(--serif); color: var(--ink); overflow-wrap: break-word; }
.side-cta { background: var(--deep); border-color: var(--deep); color: var(--on-deep); }
.side-cta .side-title { color: #fff; }
.side-ic { color: var(--accent); margin-bottom: 16px; stroke-width: 1.4; }
.side-btn { margin-top: 10px; width: 100%; }
.side-btn .btn-t { flex: 1; padding: 0 12px; letter-spacing: .06em; font-size: .75rem; white-space: nowrap; }
.side-btn .btn-sq, .calc-band .btn-sq, .foot .btn-sq { background: #fff; color: var(--deep); }
.side-more { border-top: 4px solid var(--accent); }
.side-more ul { list-style: none; padding: 0; margin: 0 0 12px; }
.side-more li { padding: 12px 0; border-bottom: 1px solid var(--line); display: grid; gap: 3px; }
.side-more li a { font: 600 .875rem/1.45 var(--sans); text-decoration: none; color: var(--ink); }
.side-more li a:hover { color: var(--plum); }
.side-more li span { font-size: .75rem; color: var(--ink-3); }
.side-all { font-weight: 700; font-size: .8125rem; }
@media (min-width: 1100px) {
  .side-sticky { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 0 10px 8px 0; margin-right: -10px; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
}

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 100%; }
.share-top { margin: 0; }
.share-end { margin: 12px 0 0; padding: 0 0 20px; }
.share-end + .author { margin-top: 0; }
.share-title { margin: 0; font: 700 1rem var(--serif); 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: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 0; background: #fff; color: var(--ink-2); font: inherit; font-size: .8125rem; font-weight: 700; line-height: 1; text-decoration: none; cursor: pointer; }
.share-btn svg { flex: none; display: block; }
.share-btn:hover, .share-btn:focus-visible { color: #fff; background: var(--deep); border-color: var(--deep); }
.share-btn.is-done { color: var(--ink); background: var(--accent); border-color: var(--accent); }
.share-status { font-size: .8125rem; font-weight: 700; color: var(--deep); min-height: 1em; }
.share-status:empty { display: none; }

/* ---------- Vernetzung der Schwesterseiten (netzwerk.py) ---------- */
.netz { padding: 72px var(--gut) 80px; border-top: 1px solid var(--line); }
.page .netz { padding-left: 0; padding-right: 0; margin-top: 72px; }
.netz-in { max-width: var(--wrap); margin: 0 auto; }
.netz h2 { font-size: 1.5rem; margin: 0 0 8px; }
.netz p { margin: 0 0 22px; font-size: .9rem; color: var(--ink-2); max-width: none; }
.netz ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.netz li { position: relative; margin: 0; padding: 16px 18px; border: 1px solid var(--line); display: grid; gap: 4px; }
.netz li:hover { border-color: var(--deep); box-shadow: inset 0 3px 0 var(--accent); }
.netz li a { font: 700 1rem var(--serif); color: var(--ink); text-decoration: none; }
.netz li a:hover { text-decoration: underline; }
.netz li span { font-size: .82rem; line-height: 1.45; color: var(--ink-2); }

/* ---------- Einbett-Seite /embed/… (im iframe fremder Websites, 320 bis 800 px; keine Inline-Styles) ---------- */
body.embed { display: flow-root; font-size: .9375rem; line-height: 1.55; overflow-x: hidden; background: #fff; }
.em { padding: 14px 12px 10px; max-width: 800px; margin: 0 auto; }
.em-title { font-size: 1.3rem; line-height: 1.25; margin: 0 0 12px; padding-left: 14px; border-left: 5px solid var(--accent); }
.em .presets { margin: 0; }
.em-sheet { margin-top: 12px; }
.em .inputs { padding: 14px 16px 6px; }
.em .step h3 { font-size: 1.02rem; margin: 16px 0 2px; }
.em .step:first-child h3 { margin-top: 0; }
.em .step h3 b { width: 26px; height: 26px; font-size: .78rem; }
.em .line { padding: 8px 0 9px; gap: 4px 12px; }
.em .line:not(.wide) { grid-template-columns: minmax(0, 1fr) 8rem; }
.em .line label, .em .line-label { font-size: .875rem; }
.em .line .note { font-size: .75rem; }
.em .amount { height: 40px; }
.em .amount input { font-size: 1rem; }
.em .ledger { padding: 16px 16px 18px; }
.em .ledger h2 { font-size: 1.2rem; }
.em .rows li { padding: 5px 0; }
.em .rows li.total { padding: 12px 14px 12px 18px; margin-top: 10px; }
.em .rows li.total .v { font-size: clamp(1.5rem, 6vw, 2rem); }
@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: .75rem; 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 img { display: block; width: 20px; height: 20px; }

/* ---------- Druck ---------- */
@media print {
  body { background: #fff; }
  .mast, .foot, .share, .promo, .mz-prods, .mz-box, .offer, .consent, .progress, .hx-media, .phead-media, .ornament, .embed-box, .post-side, .netz, .calc-band-media { display: none !important; }
  .hx, .phead, .calc-band, .band, .sec-ground, .steps-sec { background: #fff !important; color: var(--ink); box-shadow: none; }
  .band h2, .band h3, .band p, .calc-band h2 a, .calc-band p { color: var(--ink) !important; }
  .qc, .kz, .sheet { box-shadow: none; }
  .ledger { background: #fff; }
  body.print-calc .page > main > *:not(.sec-calc), body.print-calc .sec-calc .shead, body.print-calc .presets,
  body.print-calc .export, body.print-calc .extra-add, body.print-calc .extra-x, body.print-calc .sec-calc .tablewrap { display: none !important; }
  body.print-calc .sec-calc { padding: 0; }
  body.print-calc .sheet { display: block; border: 0; }
  body.print-calc .ledger { border: 0; }
  body.print-calc .line .note { display: none; }
}

/* Über uns: Kennzeichen-Kasten rechts im Kopf */
@media (min-width: 980px) {
  .phead-about .phead-text, .phead-about.no-img .phead-text { max-width: none; width: 100%; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .phead-about .phead-text > * { grid-column: 1; }
  .phead-about .phead-text > .crumbs, .phead-about .phead-text > .tag { justify-self: start; }
  .phead-about .about-facts { grid-column: 2; grid-row: 1 / span 4; align-self: center; margin: 0; max-width: none; box-shadow: var(--shadow); }
}

/* Siegel auf schmalen Bildschirmen ausblenden: es verdeckt sonst die Gesichter im Kopffoto. */
@media (max-width: 899px) { .seal { display: none; } }
