/* =====================================================================
   rareassetz.com – Vorschauseite („Coming soon“)
   Farben, Schriften und Bausteine aus dem CI (tokens.css, bundle.css).
   Dunkelmodus folgt automatisch der Einstellung des Geräts.
   ===================================================================== */

/* ---------- Schriften (liegen im Ordner /fonts, SIL Open Font License 1.1) ---------- */
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-soft-latin-wght-opsz.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

/* ---------- Farben: hell ---------- */
:root {
  color-scheme: light;
  --grund: #faf6ee;
  --karte: #fffdf9;
  --band: #efe6d2;
  --text: #1e3d36;
  --text-leise: #52625c;
  --marke: #1e3d36;
  --auf-marke: #faf6ee;
  --tiefe: #1e3d36;
  --auf-tiefe: #faf6ee;
  --auf-tiefe-leise: #c9d3cd;
  --bernstein: #e0a23a;
  --bernstein-hell: #f2c46b;
  --bernstein-zart: #f8e9c8;
  --bernstein-tief: #b7791f;
  --link: #2f6b5b;
  --salbei: #dde9e1;
  --koralle: #ad432c;
  --linie: #e4dac7;
  --linie-kraeftig: #737f79;
  --linie-tiefe: rgba(250, 246, 238, .16);
  --tiefe-rand: transparent;
  --schatten: 0 1px 2px #1e3d3614, 0 4px 14px #1e3d360f;
  --schatten-hoch: 0 10px 30px #1e3d3626;

  --font-titel: Fraunces, Georgia, "Times New Roman", serif;
  --font-text: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  --ecke-s: 6px;
  --ecke-m: 10px;
  --ecke-l: 18px;
  --ecke-xl: 28px;
  --lesebreite: 680px;
  --seitenbreite: 1200px;
  --rand: 40px;
}

/* ---------- Farben: dunkel (folgt dem Gerät) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --grund: #10231f;
    --karte: #173029;
    --band: #1c3830;
    --text: #f3eee3;
    --text-leise: #b9c4be;
    --marke: #7fc1a9;
    --auf-marke: #10231f;
    --tiefe: #0b1a17;
    --auf-tiefe: #f3eee3;
    --auf-tiefe-leise: #b9c4be;
    --bernstein: #e8ae4b;
    --bernstein-zart: #3b2f17;
    --bernstein-tief: #e8ae4b;
    --link: #8fd0b8;
    --salbei: #1e3a33;
    --koralle: #e88b73;
    --linie: #2b4640;
    --linie-kraeftig: #7c958c;
    --linie-tiefe: rgba(243, 238, 227, .14);
    --tiefe-rand: rgba(243, 238, 227, .10);
    --schatten: 0 1px 2px #00000066, 0 6px 16px #00000040;
    --schatten-hoch: 0 12px 32px #00000080;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --grund: #10231f;
  --karte: #173029;
  --band: #1c3830;
  --text: #f3eee3;
  --text-leise: #b9c4be;
  --marke: #7fc1a9;
  --auf-marke: #10231f;
  --tiefe: #0b1a17;
  --auf-tiefe: #f3eee3;
  --auf-tiefe-leise: #b9c4be;
  --bernstein: #e8ae4b;
  --bernstein-zart: #3b2f17;
  --bernstein-tief: #e8ae4b;
  --link: #8fd0b8;
  --salbei: #1e3a33;
  --koralle: #e88b73;
  --linie: #2b4640;
  --linie-kraeftig: #7c958c;
  --linie-tiefe: rgba(243, 238, 227, .14);
  --tiefe-rand: rgba(243, 238, 227, .10);
  --schatten: 0 1px 2px #00000066, 0 6px 16px #00000040;
  --schatten-hoch: 0 12px 32px #00000080;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--font-text);
  font-size: 18px;
  line-height: 29px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 16px; }
p, li, dd, address { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
h1, h2, h3 { margin: 0; font-family: var(--font-titel); font-weight: 600; text-wrap: balance; }
strong { font-weight: 700; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.nb { white-space: nowrap; }
.zahl { font-variant-numeric: tabular-nums; }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: calc(var(--seitenbreite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

.springen {
  position: absolute; left: 16px; top: -200px; z-index: 10;
  padding: 10px 16px; border-radius: var(--ecke-m);
  background: var(--marke); color: var(--auf-marke); font-weight: 700; text-decoration: none;
}
.springen:focus { top: 16px; }

/* Bernstein-Marker aus dem CI */
.ra-marker {
  text-decoration-line: underline;
  text-decoration-color: var(--bernstein);
  text-decoration-thickness: .13em;
  text-underline-offset: .1em;
  text-decoration-skip-ink: none;
}

/* Logo: Schrift folgt der Textfarbe, das z ist Bernstein */
.ra-logo-ink { fill: currentColor; }
.ra-logo-z { fill: var(--bernstein-tief); }

.ico { width: 24px; height: 24px; flex: none; }

/* ---------- Kopfzeile ---------- */
.kopf { background: var(--grund); border-bottom: 1px solid var(--linie); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.kopf-logo { display: inline-flex; color: var(--text); border-radius: var(--ecke-s); }
.kopf-logo svg { width: 212px; height: auto; }
.kopf-zurueck { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 700; font-size: 16px; text-decoration: none; }
.kopf-zurueck:hover { text-decoration: underline; text-decoration-color: var(--bernstein); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.kopf-zurueck .ico { width: 20px; height: 20px; }

.bald {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 12px; border-radius: 999px;
  background: var(--bernstein-zart); color: var(--text);
  font: 700 14px/18px var(--font-text); letter-spacing: .02em; white-space: nowrap;
}
.bald-punkt {
  position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--bernstein-tief);
}
.bald-punkt::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--bernstein-tief); opacity: .6;
  animation: puls 2.6s ease-out infinite;
}
@keyframes puls {
  0% { transform: scale(1); opacity: .6; }
  80%, 100% { transform: scale(2.6); opacity: 0; }
}

/* ---------- Aufmacher (Titelkarte) ---------- */
.held { padding: 32px 0 0; }
.held-karte {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 560px;
  padding: 80px 80px 84px;
  border-radius: var(--ecke-xl);
  background: var(--tiefe); color: var(--auf-tiefe);
  box-shadow: inset 0 0 0 1px var(--tiefe-rand), var(--schatten-hoch);
}
.held-karte::before { /* weicher Bernstein-Schein hinter dem Zeichen */
  content: ""; position: absolute; z-index: -1;
  right: -140px; top: 50%; width: 760px; height: 760px; transform: translateY(-50%);
  background: radial-gradient(closest-side, rgba(224, 162, 58, .30), rgba(224, 162, 58, .10) 55%, rgba(224, 162, 58, 0) 100%);
}
.held-inhalt { position: relative; max-width: 640px; }
.held-start {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 28px;
  padding: 6px 16px; border-radius: 999px;
  background: #e0a23a; color: #1e3d36;
  font: 700 15px/20px var(--font-text); letter-spacing: .02em;
}
.held-start .ico { width: 18px; height: 18px; }
.held-titel { font-size: 64px; line-height: 70px; letter-spacing: -.015em; }
.held-claim { display: block; }
.held-titel .ra-marker { text-decoration-color: #e0a23a; }
.held-unter {
  display: block; margin-top: 20px;
  font: 700 23px/31px var(--font-text); letter-spacing: 0; color: #efe6d2;
}
.held-text { max-width: 600px; margin: 24px 0 0; font-size: 20px; line-height: 31px; color: var(--auf-tiefe-leise); }
.held-aktionen { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 36px; }
.held :focus-visible { outline-color: #e0a23a; }

.held-zeichen {
  position: absolute; z-index: -1; pointer-events: none;
  right: 56px; top: 50%; width: 400px; height: 400px; margin-top: -200px;
}
.held-zeichen .zeichen-gross {
  width: 100%; height: 100%;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35));
  animation: schweben 9s ease-in-out infinite;
}
@keyframes schweben {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
.funkel { position: absolute; width: 26px; height: 26px; color: #fbe3a8; animation: funkeln 4.8s ease-in-out infinite; }
.funkel-1 { left: -6px; top: 34px; }
.funkel-2 { right: 18px; top: -4px; width: 18px; height: 18px; animation-delay: 1.6s; }
.funkel-3 { right: -12px; bottom: 70px; width: 20px; height: 20px; animation-delay: 3.1s; }
@keyframes funkeln {
  0%, 100% { opacity: 0; transform: scale(.4) rotate(0deg); }
  40%, 60% { opacity: .95; transform: scale(1) rotate(20deg); }
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--ecke-m);
  font: 700 17px/22px var(--font-text); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.knopf .ico { width: 20px; height: 20px; }
.knopf-bernstein { background: #e0a23a; color: #1e3d36; }
.knopf-bernstein:hover { background: #f2c46b; }
.knopf-hell { color: #faf6ee; border-color: rgba(250, 246, 238, .5); }
.knopf-hell:hover { border-color: #faf6ee; background: rgba(250, 246, 238, .07); }
.knopf-haupt { background: var(--marke); color: var(--auf-marke); }
.knopf-haupt:hover { background: var(--link); color: var(--auf-marke); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: 104px 0; }
.abschnitt-band { background: var(--band); }
.held + .abschnitt { padding-top: 96px; }
.kopfteil { max-width: 760px; margin-bottom: 44px; }
.kicker {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px;
  color: var(--text); font: 700 14px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--bernstein); }
.titel { font-size: 42px; line-height: 48px; letter-spacing: -.01em; }
.einleitung { margin: 18px 0 0; font-size: 20px; line-height: 31px; color: var(--text-leise); }

/* Themenwelten */
.themen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.thema {
  display: flex; flex-direction: column; gap: 14px;
  padding: 28px 28px 30px; border-radius: var(--ecke-l);
  background: var(--karte); box-shadow: var(--schatten);
}
.thema-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--bernstein-zart); color: var(--text);
}
.thema-icon .ico { width: 27px; height: 27px; }
.thema h3 { font-size: 24px; line-height: 30px; }
.thema p { margin: 0; font-size: 17px; line-height: 27px; }

.lupe {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center;
  margin-top: 24px; padding: 34px 36px; border-radius: var(--ecke-l);
  background: var(--tiefe); color: var(--auf-tiefe);
  box-shadow: inset 0 0 0 1px var(--tiefe-rand);
}
.lupe-zeichen { width: 92px; height: 92px; }
.lupe .kicker { color: var(--auf-tiefe); margin-bottom: 8px; }
.lupe h3 { font-size: 28px; line-height: 35px; }
.lupe p { margin: 10px 0 0; color: var(--auf-tiefe-leise); max-width: 820px; }

.momente { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 36px 0 0; }
.momente-titel { margin: 0; font-weight: 700; }
.momente-liste { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; padding: 6px 15px; border-radius: 999px;
  background: var(--salbei); color: var(--text); font: 700 15px/20px var(--font-text);
}
.spaeter { margin: 18px 0 0; color: var(--text-leise); font-size: 16px; line-height: 25px; }

/* Kostprobe: Rate mal */
.kostprobe { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.kostprobe .kopfteil { margin-bottom: 0; }
.kostprobe-notiz { margin: 22px 0 0; font-size: 17px; line-height: 27px; }
.quiz {
  padding: 34px 34px 30px; border-radius: var(--ecke-l);
  background: var(--karte); box-shadow: var(--schatten);
}
.quiz-frage { margin: 0 0 22px; font: 600 25px/33px var(--font-titel); }
.quiz-optionen { display: grid; gap: 12px; margin: 0 0 18px; padding: 0; list-style: none; }
.quiz-option {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 54px; padding: 12px 18px;
  border: 2px solid var(--linie-kraeftig); border-radius: var(--ecke-m);
  background: transparent; color: var(--text);
  font: 700 19px/24px var(--font-text); font-variant-numeric: tabular-nums; text-align: left; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease;
}
.quiz-option:hover { border-color: var(--text); }
.quiz-option .ico { width: 22px; height: 22px; opacity: 0; }
.quiz-option[aria-pressed="true"] { border-color: var(--text); background: var(--bernstein-zart); }
.quiz-option.ist-richtig { border-color: var(--link); background: var(--salbei); }
.quiz-option.ist-richtig .ico-richtig { opacity: 1; color: var(--link); }
.quiz-urteil { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 700 19px/26px var(--font-text); }
.quiz-urteil .ico { width: 22px; height: 22px; }
.quiz-urteil-richtig { color: var(--link); }
.quiz-aufloesung { border-top: 1px solid var(--linie); padding-top: 14px; }
.quiz-aufloesung summary {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  color: var(--link); font-weight: 700; border-radius: 4px;
}
.quiz-aufloesung summary::-webkit-details-marker { display: none; }
.quiz-aufloesung summary .ico { width: 20px; height: 20px; transition: transform .2s ease; }
.quiz-aufloesung[open] summary .ico { transform: rotate(180deg); }
.quiz-ergebnis {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px;
  margin: 16px 0 14px; padding: 16px 20px; border-radius: var(--ecke-m);
  background: var(--bernstein-zart); font-variant-numeric: tabular-nums;
}
.quiz-ergebnis strong { font: 600 30px/36px var(--font-titel); }
.quiz-ergebnis span { font-size: 16px; line-height: 24px; }
.quiz-aufloesung p { font-size: 17px; line-height: 27px; }
.quiz-annahmen { margin: 0; color: var(--text-leise); font-size: 15px !important; line-height: 23px !important; }

/* Versprechen */
.versprechen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin: 0 0 44px; padding: 0; list-style: none; }
.versprechen h3 { display: flex; align-items: center; gap: 12px; font-size: 26px; line-height: 32px; margin-bottom: 12px; }
.versprechen h3 .ico { width: 28px; height: 28px; color: var(--bernstein-tief); }
.versprechen p { margin: 0; font-size: 17px; line-height: 27px; }
.hinweis {
  display: flex; gap: 14px; align-items: flex-start;
  max-width: 820px; padding: 22px 26px; border-radius: var(--ecke-l);
  background: var(--salbei); color: var(--text);
}
.hinweis .ico { margin-top: 3px; }
.hinweis p { margin: 0; }

/* Fahrplan */
.fahrplan { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin: 0; padding: 0; list-style: none; }
.fahrplan::before { content: ""; position: absolute; left: 9px; right: 0; top: 9px; height: 2px; background: var(--linie-kraeftig); opacity: .45; }
.fahrplan > li { position: relative; padding-top: 42px; }
.fahrplan > li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%;
  background: var(--band); box-shadow: inset 0 0 0 3px var(--bernstein-tief);
}
.fahrplan > li:first-child::before { background: var(--bernstein-tief); box-shadow: 0 0 0 5px var(--bernstein-zart); }
.fahrplan-zeit { margin: 0 0 4px; color: var(--text-leise); font: 700 15px/20px var(--font-text); letter-spacing: .06em; text-transform: uppercase; }
.fahrplan h3 { font-size: 26px; line-height: 32px; margin-bottom: 14px; }
.fahrplan ul { margin: 0; padding-left: 20px; }
.fahrplan ul li { margin: 0 0 8px; font-size: 17px; line-height: 26px; }
.fahrplan ul li::marker { color: var(--bernstein-tief); }
.fahrplan-notiz { margin: 36px 0 0; color: var(--text-leise); font-size: 16px; line-height: 25px; }

/* Fundstück */
.fundstueck {
  display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 340px); gap: 32px 40px; align-items: start;
  padding: 48px 52px; border-radius: var(--ecke-xl);
  background: var(--tiefe); color: var(--auf-tiefe);
  box-shadow: inset 0 0 0 1px var(--tiefe-rand);
}
.fundstueck-icon {
  display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px;
  background: rgba(224, 162, 58, .16); color: #f2c46b;
}
.fundstueck-icon .ico { width: 36px; height: 36px; }
.fundstueck .kicker { color: var(--auf-tiefe); }
.fundstueck .titel { color: var(--auf-tiefe); }
.fundstueck-text { margin: 16px 0 0; max-width: 680px; font-size: 20px; line-height: 31px; color: var(--auf-tiefe-leise); }
.fundstueck-klein { margin: 18px 0 0; max-width: 680px; font-size: 16px; line-height: 25px; color: var(--auf-tiefe-leise); }
.fundstueck-klein a { color: #f2c46b; }
.fundstueck .held-aktionen { margin-top: 26px; }
.fundstueck :focus-visible { outline-color: #e0a23a; }
.fund-karte {
  align-self: center; margin: 0; padding: 22px 24px 20px; border-radius: var(--ecke-l);
  background: var(--karte); color: var(--text);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
  transform: rotate(2deg);
}
.fund-karte-kopf {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 10px;
  color: var(--text-leise); font: 700 13px/16px var(--font-text); letter-spacing: .06em; text-transform: uppercase;
}
.fund-karte-etikett { padding: 3px 10px; border-radius: 999px; background: var(--bernstein-zart); color: var(--text); letter-spacing: .04em; }
.fund-karte-titel { margin: 0 0 14px; font: 600 22px/28px var(--font-titel); }
.fund-karte-liste { display: grid; gap: 10px; margin: 0; }
.fund-karte-liste div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 10px; padding-top: 10px; border-top: 1px solid var(--linie); }
.fund-karte-liste dt { color: var(--text-leise); font: 700 14px/22px var(--font-text); }
.fund-karte-liste dd { margin: 0; font-size: 15px; line-height: 22px; }

/* Wer dahinter steckt */
.autor {
  display: flex; gap: 28px; align-items: flex-start;
  max-width: 900px; padding: 36px 38px; border-radius: var(--ecke-l);
  background: var(--karte); box-shadow: var(--schatten);
}
.autor-bild {
  flex: none; display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%;
  background: var(--marke); color: var(--auf-marke); font: 600 36px/1 var(--font-titel);
}
.autor-name { margin: 0; font: 700 21px/28px var(--font-text); }
.autor-rolle { margin: 2px 0 16px; color: var(--text-leise); font-size: 16px; line-height: 24px; }
.autor-text p { font-size: 18px; line-height: 29px; }
.autor-text p:last-child { margin-bottom: 0; }

/* Häufige Fragen */
.fragen { max-width: 860px; border-top: 1px solid var(--linie-kraeftig); }
.frage { border-bottom: 1px solid var(--linie-kraeftig); }
.frage summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 2px; cursor: pointer; list-style: none;
  font: 700 20px/28px var(--font-text);
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--link); }
.frage summary .ico { width: 24px; height: 24px; color: var(--bernstein-tief); transition: transform .2s ease; }
.frage[open] summary .ico { transform: rotate(45deg); }
.frage-antwort { padding: 0 48px 22px 2px; }
.frage-antwort p { margin: 0; max-width: 720px; }

/* ---------- Fußzeile ---------- */
.fuss { background: var(--tiefe); color: var(--auf-tiefe); padding: 72px 0 40px; }
.fuss a { color: var(--auf-tiefe); }
.fuss :focus-visible { outline-color: #e0a23a; }
.fuss .ra-logo-z { fill: var(--bernstein); }
.fuss-oben { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 28px 48px; }
.fuss-logo { display: inline-flex; color: var(--auf-tiefe); border-radius: var(--ecke-s); }
.fuss-logo svg { width: 230px; height: auto; }
.fuss-satz { margin: 18px 0 0; font: 600 25px/32px var(--font-titel); }
.fuss-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 6px 0 0; padding: 0; list-style: none; font-weight: 700; }
.fuss-hinweis { max-width: 760px; margin: 36px 0 0; color: var(--auf-tiefe-leise); font-size: 15px; line-height: 23px; }
.fuss-hinweis strong { color: var(--auf-tiefe); }
.fuss-unten {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px;
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--linie-tiefe);
}
.fuss-copy { margin: 0; color: var(--auf-tiefe-leise); font-size: 15px; line-height: 22px; }

/* Backlink-Kasten wie auf bst-bonn.de */
.credit {
  display: flex; flex-direction: column; gap: 4px;
  padding: 14px 20px; border: 1px solid var(--linie-tiefe); border-left: 3px solid var(--bernstein);
  border-radius: 4px; background: rgba(250, 246, 238, .05);
}
.credit__lbl { color: var(--auf-tiefe-leise); font: 700 11.5px/16px var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.credit a { display: inline-flex; flex-direction: column; gap: 3px; color: var(--auf-tiefe); text-decoration: none; }
.credit a strong {
  align-self: flex-start; padding-bottom: 1px; border-bottom: 2px solid var(--bernstein);
  font: 600 19px/24px var(--font-titel); letter-spacing: .01em; transition: color .2s ease;
}
.credit a span { display: inline-flex; align-items: center; gap: 6px; color: var(--auf-tiefe-leise); font-size: 13.5px; line-height: 19px; }
.credit a span .ico { width: 15px; height: 15px; }
.credit a:hover strong { color: #f2c46b; }

/* schmale Fußzeile der Rechtsseiten */
.fuss-schmal { padding: 32px 0; }
.fuss-schmal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 28px; }
.fuss-schmal nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; font-weight: 700; }
.fuss-schmal a[aria-current="page"] { text-decoration-color: var(--bernstein); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ---------- Rechtsseiten ---------- */
.recht { max-width: 800px; padding-top: 64px; padding-bottom: 96px; }
.recht .kicker { margin-bottom: 10px; }
.recht h1 { font-size: 46px; line-height: 52px; letter-spacing: -.01em; margin-bottom: 8px; }
.recht h2 { margin: 44px 0 12px; font-size: 25px; line-height: 32px; }
.recht p, .recht address { margin: 0 0 14px; }
.recht address { font-style: normal; }
.recht ul { margin: 0 0 14px; padding-left: 22px; }
.recht li { margin: 0 0 6px; }
.recht .vorweg { margin: 22px 0 0; padding: 20px 24px; border-radius: var(--ecke-l); background: var(--salbei); }
.recht .vorweg p:last-child { margin: 0; }
.stand { margin-top: 48px !important; color: var(--text-leise); font-size: 15px; }

/* ---------- 404 ---------- */
.fehlt { padding-top: 96px; padding-bottom: 120px; }
.fehlt-inhalt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; max-width: 900px; }
.fehlt-zeichen { width: 150px; height: 150px; }
.fehlt h1 { font-size: 46px; line-height: 52px; margin: 0 0 16px; }
.fehlt p { max-width: 560px; color: var(--text-leise); font-size: 20px; line-height: 31px; }
.fehlt .held-aktionen { margin-top: 28px; }
.fehlt-code { margin: 0 0 12px !important; color: var(--text) !important; font: 700 14px/18px var(--font-text) !important; letter-spacing: .08em; text-transform: uppercase; }

/* ---------- Bildschirmbreiten ---------- */
@media (max-width: 1099px) {
  .held-karte { min-height: 0; padding: 56px 52px 60px; }
  .held-karte::before { right: auto; left: -40px; top: -80px; width: 460px; height: 460px; transform: none; }
  .held-zeichen { position: relative; right: auto; top: auto; margin: 0 0 26px; width: 132px; height: 132px; z-index: 0; }
  .funkel-1 { left: -14px; top: 6px; width: 18px; height: 18px; }
  .funkel-2 { right: -14px; top: -6px; width: 14px; height: 14px; }
  .funkel-3 { right: -18px; bottom: 18px; width: 14px; height: 14px; }
  .held-inhalt { max-width: 720px; }
  .held-titel { font-size: 52px; line-height: 58px; }
  .themen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kostprobe { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .kostprobe .kopfteil { max-width: 760px; }
  .versprechen { gap: 28px; }
  .fundstueck { grid-template-columns: auto minmax(0, 1fr); }
  .fund-karte { grid-column: 2; max-width: 420px; margin-top: 4px; transform: rotate(1deg); }
}

@media (max-width: 820px) {
  :root { --rand: 24px; }
  .abschnitt { padding: 76px 0; }
  .held + .abschnitt { padding-top: 72px; }
  .titel { font-size: 32px; line-height: 38px; }
  .einleitung { font-size: 18px; line-height: 29px; }
  .kopfteil { margin-bottom: 32px; }
  .versprechen { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .fahrplan { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .fahrplan::before { left: 9px; right: auto; top: 10px; bottom: 10px; width: 2px; height: auto; }
  .fahrplan > li { padding: 0 0 0 44px; }
  .fundstueck { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 36px 30px; }
  .fund-karte { grid-column: 1; margin-top: 12px; }
  .lupe { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 28px 26px; }
  .lupe-zeichen { width: 64px; height: 64px; }
  .fehlt-inhalt { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .fehlt-zeichen { width: 96px; height: 96px; }
}

@media (max-width: 640px) {
  :root { --rand: 18px; }
  body { font-size: 17px; line-height: 28px; }
  .kopf-innen { min-height: 64px; }
  .kopf-logo svg { width: 156px; }
  .bald { padding: 5px 11px 5px 10px; font-size: 13px; }
  .held { padding-top: 18px; }
  .held-karte { padding: 36px 24px 40px; border-radius: 22px; }
  .held-zeichen { width: 96px; height: 96px; margin-bottom: 20px; }
  .held-start { margin-bottom: 20px; font-size: 14px; }
  .held-titel { font-size: 38px; line-height: 43px; }
  .held-unter { margin-top: 14px; font-size: 19px; line-height: 27px; }
  .held-text { margin-top: 18px; font-size: 18px; line-height: 29px; }
  .held-aktionen { margin-top: 28px; }
  .held-aktionen .knopf { width: 100%; }
  .abschnitt { padding: 60px 0; }
  .held + .abschnitt { padding-top: 56px; }
  .titel { font-size: 30px; line-height: 36px; }
  .kicker { font-size: 13px; }
  .themen { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .thema { padding: 24px 22px 26px; }
  .thema h3 { font-size: 23px; line-height: 29px; }
  .quiz { padding: 26px 20px 22px; }
  .quiz-frage { font-size: 22px; line-height: 30px; }
  .versprechen h3 { font-size: 23px; line-height: 30px; }
  .hinweis { padding: 18px 18px; }
  .fahrplan h3 { font-size: 23px; line-height: 30px; }
  .fundstueck { padding: 30px 22px; border-radius: 22px; }
  .fundstueck-icon { width: 60px; height: 60px; border-radius: 18px; }
  .fundstueck-icon .ico { width: 30px; height: 30px; }
  .fundstueck-text { font-size: 18px; line-height: 29px; }
  .autor { flex-direction: column; gap: 18px; padding: 26px 22px; }
  .autor-bild { width: 68px; height: 68px; font-size: 30px; }
  .frage summary { padding: 18px 0; font-size: 18px; line-height: 26px; }
  .frage-antwort { padding: 0 0 20px; }
  .fuss { padding: 56px 0 32px; }
  .fuss-logo svg { width: 190px; }
  .fuss-satz { font-size: 22px; line-height: 29px; }
  .recht { padding-top: 44px; padding-bottom: 72px; }
  .recht h1 { font-size: 36px; line-height: 42px; }
  .recht h2 { font-size: 22px; line-height: 29px; margin-top: 36px; }
  .fehlt { padding-top: 64px; padding-bottom: 88px; }
  .fehlt h1 { font-size: 34px; line-height: 40px; }
  .fehlt p { font-size: 18px; line-height: 29px; }
}

@media (max-width: 380px) {
  .kopf-logo svg { width: 132px; }
  .bald { gap: 7px; padding: 4px 9px 4px 8px; font-size: 12.5px; }
  .held-karte { padding: 30px 18px 34px; }
  .held-titel { font-size: 33px; line-height: 38px; }
  .held-unter { font-size: 18px; line-height: 25px; }
  .titel { font-size: 27px; line-height: 33px; }
  .quiz-option { font-size: 17px; padding: 10px 14px; }
}

/* Bewegung nur, wenn erwünscht */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .funkel { opacity: .7; transform: none; }
}

/* Druck */
@media print {
  .held-karte, .fundstueck, .lupe, .fuss { background: #fff !important; color: #1e3d36 !important; box-shadow: none !important; }
  .held-zeichen, .held-aktionen, .bald, .springen { display: none !important; }
  .held-text, .held-unter, .fundstueck-text, .fundstueck-klein, .lupe p { color: #1e3d36 !important; }
}

/* =====================================================================
   Unterseiten: Beiträge, Themenwelten, Rechner, Quiz (ab 05.10.2026)
   Gleiche Farben und Schriften wie oben; nur Bausteine kommen dazu.
   ===================================================================== */

/* zusätzliche Farben */
:root { --risiko-grund: #fbebe5; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --risiko-grund: #3a2420; }
}
:root[data-theme="dark"] { --risiko-grund: #3a2420; }

/* ---------- Kopfzeile mit Navigation ---------- */
.kopf-nav { display: flex; align-items: center; gap: 6px 26px; margin: 0; padding: 0; list-style: none; font-weight: 700; font-size: 17px; }
.kopf-nav a { display: inline-block; padding: 10px 2px; color: var(--text); text-decoration: none; border-radius: var(--ecke-s); }
.kopf-nav a:hover, .kopf-nav a[aria-current] {
  text-decoration: underline; text-decoration-color: var(--bernstein);
  text-decoration-thickness: 3px; text-underline-offset: 8px;
}

/* ---------- Brotkrumen ---------- */
.krumen { padding-top: 22px; font-size: 15px; line-height: 22px; color: var(--text-leise); }
.krumen ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; padding: 0; list-style: none; }
.krumen li + li::before { content: "›"; margin-right: 8px; }
.krumen a { color: var(--text-leise); }
.krumen [aria-current] { color: var(--text); }

/* ---------- Seitenkopf (Beitrag, Themenwelt, Rechner) ---------- */
.seitenkopf { padding: 28px 0 0; }
.seitenkopf-innen { max-width: 840px; }
.rubrik {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px;
  padding: 5px 14px; border-radius: 999px;
  background: var(--salbei); color: var(--text);
  font: 700 14px/20px var(--font-text); letter-spacing: .04em;
}
.rubrik .ico { width: 17px; height: 17px; }
.rubrik a { color: inherit; text-decoration: none; }
.rubrik a:hover { text-decoration: underline; }
.seitentitel { font-size: 48px; line-height: 54px; letter-spacing: -.012em; }
.vorspann { max-width: 720px; margin: 20px 0 0; font-size: 21px; line-height: 33px; color: var(--text-leise); }
.meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; color: var(--text-leise); }
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta .ico { width: 17px; height: 17px; }

/* ---------- Beitrag: Raster und Lesespalte ---------- */
.artikel-raster {
  display: grid; grid-template-columns: minmax(0, var(--lesebreite)) minmax(0, 250px);
  gap: 0 80px; align-items: start; padding: 44px 0 96px;
}
.artikel-text > * { max-width: var(--lesebreite); }
.artikel-text > .tabelle, .artikel-text > .kasten, .artikel-text > .rechnung { max-width: none; }
.artikel-text h2 { margin: 56px 0 16px; font-size: 31px; line-height: 39px; letter-spacing: -.008em; scroll-margin-top: 24px; }
.artikel-text h2:first-child { margin-top: 0; }
.artikel-text > ul, .artikel-text > ol { margin: 0 0 18px; padding-left: 24px; }
.artikel-text > ul > li, .artikel-text > ol > li { margin: 0 0 10px; }
.artikel-text > ul > li::marker { color: var(--bernstein-tief); }
.artikel-text > ol > li::marker { color: var(--text); font-weight: 700; }
.artikel-text > p + ul, .artikel-text > p + ol { margin-top: -4px; }
.quiz-option { min-width: 0; }
.quiz-option > span { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }

.inhalt {
  position: sticky; top: 24px; align-self: start; padding: 22px 22px 20px;
  border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten);
  font-size: 16px; line-height: 24px;
}
.inhalt-titel { margin: 0 0 12px; font: 700 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.inhalt ol { margin: 0; padding: 0; list-style: none; counter-reset: pkt; }
.inhalt li { counter-increment: pkt; display: flex; gap: 10px; margin: 0 0 10px; }
.inhalt li::before { content: counter(pkt); flex: none; width: 22px; color: var(--text-leise); font-weight: 700; font-variant-numeric: tabular-nums; }
.inhalt li:last-child { margin-bottom: 0; }
.inhalt a { color: var(--text); text-decoration: none; }
.inhalt a:hover { color: var(--link); text-decoration: underline; }

/* ---------- Baustein: Kurz gesagt ---------- */
.kurz { margin: 0 0 40px; padding: 26px 28px 22px; border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten); }
.artikel-text > .kurz { max-width: none; }
.kurz-titel { margin: 0 0 14px; font: 700 14px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.kurz-titel::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--bernstein); }
.kurz ol { margin: 0; padding: 0; list-style: none; counter-reset: k; }
.kurz li { counter-increment: k; display: flex; gap: 14px; margin: 0 0 12px; font-size: 18px; line-height: 28px; }
.kurz li::before {
  content: counter(k); flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-top: 0;
  border-radius: 50%; background: var(--marke); color: var(--auf-marke); font: 700 15px/1 var(--font-text);
}

/* ---------- Baustein: Rate mal im Beitrag ---------- */
.ratemal { margin: 36px 0 36px; }
.ratemal .quiz-kicker { margin: 0 0 10px; font: 700 14px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.quiz .quiz-richtig-ist { margin: 0 0 8px; font-weight: 700; }
.quiz .quiz-text { margin: 0 0 8px; font-size: 17px; line-height: 27px; }
.quiz-urteil .ico { flex: none; }

/* ---------- Baustein: Kästen ---------- */
.kasten {
  margin: 32px 0; padding: 22px 26px 22px 24px; border-radius: var(--ecke-l);
  border-left: 5px solid var(--linie-kraeftig); background: var(--salbei);
}
.kasten > :last-child { margin-bottom: 0; }
.kasten-kopf { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font: 700 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.kasten-kopf .ico { width: 20px; height: 20px; }
.kasten-titel { margin: 0 0 10px; font: 600 22px/29px var(--font-titel); }
.kasten p { font-size: 17px; line-height: 27px; }
.kasten ul { margin: 0 0 14px; padding-left: 22px; }
.kasten li { margin: 0 0 9px; font-size: 17px; line-height: 27px; }
.kasten-risiko { background: var(--risiko-grund); border-left-color: var(--koralle); }
.kasten-risiko .kasten-kopf { color: var(--koralle); }
.kasten-katzengold { background: var(--bernstein-zart); border-left-color: var(--bernstein-tief); }
.kasten-katzengold .kasten-kopf { color: var(--text); }

/* ---------- Baustein: Tabellen ---------- */
.tabelle { margin: 32px 0; }
.tabelle-titel { margin: 0 0 12px; font: 700 18px/26px var(--font-text); }
.tabelle-wrap { border: 1px solid var(--linie); border-radius: var(--ecke-m); background: var(--karte); overflow: hidden; }
.tabelle table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 24px; }
.tabelle th, .tabelle td { padding: 13px 18px; text-align: left; vertical-align: top; border-top: 1px solid var(--linie); }
.tabelle thead th { border-top: 0; background: var(--band); font-weight: 700; }
.tabelle tbody th { font-weight: 700; }
.tabelle td { font-variant-numeric: tabular-nums; }
.tabelle-fuss { margin: 12px 0 0; color: var(--text-leise); font-size: 15px !important; line-height: 23px !important; }

/* ---------- Baustein: Rechnung ---------- */
.rechnung { margin: 32px 0; padding: 24px 26px 22px; border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten); }
.rechnung-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font: 700 18px/26px var(--font-text); }
.rechnung-titel .ico { color: var(--bernstein-tief); }
.rechnung-zeilen { margin: 0; }
.rechnung-zeilen > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding: 11px 0; border-top: 1px solid var(--linie); }
.rechnung-zeilen dt { font-size: 17px; line-height: 26px; }
.rechnung-zeilen dd { flex: none; max-width: 50%; margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.rechnung-zeilen .ergebnis-zeile { margin-top: 6px; padding: 14px 16px; border: 0; border-radius: var(--ecke-m); background: var(--bernstein-zart); }
.rechnung-zeilen .ergebnis-zeile dt { font-weight: 700; }
.rechnung-zeilen .ergebnis-zeile dd { font: 600 26px/32px var(--font-titel); }
.rechnung-annahmen { margin: 14px 0 0 !important; color: var(--text-leise); font-size: 15px !important; line-height: 23px !important; }

/* ---------- Baustein: Für Kinder erklärt ---------- */
.kinderkasten { margin: 56px 0 0; padding: 28px 30px 26px; border-radius: var(--ecke-l); background: var(--band); }
.artikel-text > .kinderkasten { max-width: none; }
.kinderkasten-kopf { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 14px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; }
.kinderkasten-kopf .ico { width: 24px; height: 24px; }
.kinderkasten p { margin: 0 0 10px; font: 500 21px/32px var(--font-titel); }
.kinderkasten p:last-child { margin-bottom: 0; }
.kinderkasten-hinweis { margin: 14px 0 0 !important; color: var(--text-leise); font: 400 15px/22px var(--font-text) !important; }

/* ---------- Baustein: Quiz am Ende des Beitrags ---------- */
.test { margin: 56px 0 0; }
.artikel-text > .test { max-width: none; }
.test h2 { margin-top: 0 !important; }
.test .quiz { margin: 0 0 20px; }
.test .quiz-frage { font-size: 22px; line-height: 30px; }
.test-summe { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 0; padding: 18px 22px; border-radius: var(--ecke-m); background: var(--bernstein-zart); font-size: 18px; }
.test-summe strong { font: 600 28px/34px var(--font-titel); font-variant-numeric: tabular-nums; }

/* ---------- Baustein: Das kannst du jetzt ---------- */
.kannst { margin: 56px 0 0; }
.kannst ul { margin: 0; padding: 0; list-style: none; }
.kannst li { display: flex; gap: 14px; align-items: flex-start; margin: 0 0 14px; }
.kannst li .ico { margin-top: 2px; color: var(--link); }

/* ---------- Baustein: Nächster Schritt ---------- */
.weiter { margin: 48px 0 0; padding: 30px 32px; border-radius: var(--ecke-l); background: var(--tiefe); color: var(--auf-tiefe); box-shadow: inset 0 0 0 1px var(--tiefe-rand); }
.artikel-text > .weiter { max-width: none; }
.weiter .kicker { color: var(--auf-tiefe); margin-bottom: 10px; }
.weiter p { margin: 0 0 20px; font-size: 20px; line-height: 31px; }
.weiter .knopf { margin: 0; }
.weiter :focus-visible { outline-color: #e0a23a; }

/* ---------- Beitragskarten ---------- */
.beitraege { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.beitrag {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px 28px 24px; border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten);
  transition: box-shadow .15s ease;
}
.beitrag:hover { box-shadow: var(--schatten-hoch); }
.beitrag-rubrik { margin: 0; font: 700 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.beitrag h3 { font-size: 23px; line-height: 30px; }
.beitrag h3 a { color: var(--text); text-decoration: none; }
.beitrag h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ecke-l); }
.beitrag h3 a:hover { text-decoration: underline; text-decoration-color: var(--bernstein); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.beitrag h3 a:focus-visible { outline: none; }
.beitrag h3 a:focus-visible::after { outline: 2px solid var(--link); outline-offset: 3px; }
.beitrag p { margin: 0; font-size: 17px; line-height: 26px; color: var(--text-leise); }
.beitrag-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: auto 0 0 !important; padding-top: 6px; font-size: 14px !important; line-height: 20px !important; }
.leseweg { counter-reset: schritt; }
.leseweg .beitrag { counter-increment: schritt; padding-top: 30px; }
.leseweg .beitrag::before {
  content: counter(schritt); position: absolute; top: -14px; left: 24px; display: grid; place-items: center;
  width: 32px; height: 32px; border-radius: 50%; background: var(--marke); color: var(--auf-marke);
  font: 700 16px/1 var(--font-text); box-shadow: 0 0 0 4px var(--grund);
}
.abschnitt-band .leseweg .beitrag::before { box-shadow: 0 0 0 4px var(--band); }
.weiterlesen { margin: 64px 0 0; }
.artikel-text > .weiterlesen { max-width: none; }
.weiterlesen h2 { margin: 0 0 20px !important; }
.weiterlesen .beitraege { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }

/* ---------- Quellen, Autor, Hinweis ---------- */
.quellen-block { margin: 64px 0 0; }
.artikel-text > .quellen-block { max-width: none; }
.quellen-block h2 { margin: 0 0 16px !important; font-size: 26px !important; line-height: 34px !important; }
.quellen { margin: 0 0 14px; padding-left: 24px; }
.quellen li { margin: 0 0 10px; font-size: 16px; line-height: 25px; overflow-wrap: anywhere; }
.quellen li::marker { color: var(--text-leise); font-weight: 700; }
.geprueft { margin: 0 0 8px; color: var(--text-leise); font-size: 16px; line-height: 25px; }
.autor-klein { margin: 44px 0 0; max-width: none; padding: 28px 30px; gap: 22px; }
.autor-klein .autor-bild { width: 64px; height: 64px; font-size: 28px; }
.autor-klein .autor-rolle { margin-bottom: 12px; }
.autor-klein .autor-text p { font-size: 17px; line-height: 27px; }
.artikel-text > .autor-klein { max-width: none; }
.kurzhinweis { margin: 20px 0 0; display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: var(--ecke-m); background: var(--salbei); font-size: 16px; line-height: 25px; }
.artikel-text > .kurzhinweis { max-width: none; }
.kurzhinweis .ico { margin-top: 2px; width: 22px; height: 22px; }
.kurzhinweis p { margin: 0; font-size: 16px; line-height: 25px; }

/* ---------- Themenwelt und Werkzeuge: Übersichten ---------- */
.uebersicht { padding: 48px 0 96px; }
.uebersicht .kopfteil { margin-bottom: 32px; }
.uebersicht .titel { font-size: 34px; line-height: 42px; }
.uebersicht-block + .uebersicht-block { margin-top: 72px; }
.notiz { margin: 28px 0 0; max-width: 720px; color: var(--text-leise); font-size: 16px; line-height: 25px; }
.werkzeuge-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.themen-liste { margin: 0; }
.thema { position: relative; }
.thema h3 a { color: var(--text); text-decoration: none; }
.thema h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--ecke-l); }
.thema h3 a:hover { text-decoration: underline; text-decoration-color: var(--bernstein); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.thema h3 a:focus-visible { outline: none; }
.thema h3 a:focus-visible::after { outline: 2px solid var(--link); outline-offset: 3px; }
.thema { transition: box-shadow .15s ease; }
.thema:hover { box-shadow: var(--schatten-hoch); }
.thema-mehr { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--link); font-weight: 700; font-size: 16px; }
.thema-mehr .ico { width: 18px; height: 18px; }

.hub-werkzeug { display: flex; gap: 20px; align-items: center; margin-top: 40px; padding: 26px 30px; border-radius: var(--ecke-l); background: var(--band); }
.hub-werkzeug .thema-icon { flex: none; }
.hub-werkzeug p { margin: 0; }
.hub-werkzeug a { font-weight: 700; }

/* ---------- Rechner ---------- */
.rechner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.rechner-form { padding: 28px 28px 14px; border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten); }
.rechner-form h2 { margin: 0 0 20px; font-size: 24px; line-height: 30px; }
.feld { margin: 0 0 20px; }
.feld label { display: block; margin-bottom: 6px; font-weight: 700; }
.feld-zeile { display: flex; align-items: center; gap: 12px; }
.feld input[type="text"] {
  flex: 1 1 auto; width: 100%; min-width: 0; min-height: 52px; padding: 10px 14px;
  border: 2px solid var(--linie-kraeftig); border-radius: var(--ecke-m);
  background: var(--grund); color: var(--text);
  font: 700 20px/26px var(--font-text); font-variant-numeric: tabular-nums;
}
.feld input[type="text"]:hover { border-color: var(--text); }
.feld input[aria-invalid="true"] { border-color: var(--koralle); }
.feld-einheit { flex: none; min-width: 4.2em; color: var(--text-leise); font-weight: 700; }
.feld-hilfe { margin: 6px 0 0; color: var(--text-leise); font-size: 15px; line-height: 22px; }
.feld-fehler { margin: 6px 0 0; color: var(--koralle); font-size: 15px; line-height: 22px; font-weight: 700; }
.rechner-zurueck { margin: 0 0 18px; }
.rechner-zurueck a { font-weight: 700; font-size: 16px; }

.ergebnis { padding: 30px 32px 26px; border-radius: var(--ecke-l); background: var(--tiefe); color: var(--auf-tiefe); box-shadow: inset 0 0 0 1px var(--tiefe-rand); }
.ergebnis-label { margin: 0 0 4px; font: 700 14px/20px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--auf-tiefe-leise); }
.ergebnis-gross { margin: 0 0 4px; font: 600 54px/60px var(--font-titel); letter-spacing: -.01em; color: #f2c46b; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ergebnis-unter { margin: 0 0 22px; color: var(--auf-tiefe-leise); font-size: 17px; line-height: 26px; }
.ergebnis-zeilen { margin: 0; }
.ergebnis-zeilen > div { display: flex; justify-content: space-between; align-items: baseline; gap: 8px 20px; padding: 11px 0; border-top: 1px solid var(--linie-tiefe); }
.ergebnis-zeilen dt { color: var(--auf-tiefe-leise); font-size: 17px; line-height: 26px; }
.ergebnis-zeilen dd { flex: none; margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ergebnis-annahmen { margin: 18px 0 0; color: var(--auf-tiefe-leise); font-size: 15px; line-height: 23px; }
.ergebnis-leer { margin: 0; color: var(--auf-tiefe-leise); }

.diagramm { margin: 28px 0 0; }
.diagramm-titel { margin: 0 0 8px; font: 700 14px/20px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--auf-tiefe-leise); }
.diagramm svg { width: 100%; height: auto; overflow: visible; }
.diagramm .d-achse { stroke: var(--linie-tiefe); stroke-width: 1; }
.diagramm .d-text { fill: var(--auf-tiefe-leise); font: 600 12px var(--font-text); }
.diagramm .d-einzahlung { fill: #7fc1a9; }
.diagramm .d-ertrag { fill: #e0a23a; }
.legende { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 15px; line-height: 22px; color: var(--auf-tiefe-leise); }
.legende li { display: inline-flex; align-items: center; gap: 8px; }
.legende i { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.legende .l-einzahlung { background: #7fc1a9; }
.legende .l-ertrag { background: #e0a23a; }

.rechner-unten { margin-top: 40px; }
.rechner-unten .tabelle { margin-top: 0; }
.jahresliste { margin: 24px 0 0; }
.jahresliste summary { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--link); font-weight: 700; list-style: none; border-radius: 4px; }
.jahresliste summary::-webkit-details-marker { display: none; }
.jahresliste summary .ico { width: 20px; height: 20px; transition: transform .2s ease; }
.jahresliste[open] summary .ico { transform: rotate(180deg); }
.jahresliste .tabelle { margin: 16px 0 0; }
.jahresliste .tabelle-wrap { max-height: 420px; overflow: auto; }

.textblock { max-width: var(--lesebreite); }
.textblock h2 { margin: 48px 0 14px; font-size: 28px; line-height: 36px; }
.textblock h2:first-child { margin-top: 0; }
.textblock ul { margin: 0 0 18px; padding-left: 24px; }
.textblock li { margin: 0 0 10px; }
.textblock ul > li::marker { color: var(--bernstein-tief); }
.beispiele { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 0 0 20px; padding: 0; list-style: none; }
.beispiele a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  background: var(--salbei); color: var(--text); font: 700 16px/22px var(--font-text); text-decoration: none;
}
.beispiele a:hover { background: var(--bernstein-zart); }

/* ---------- Einstiegs-Check ---------- */
.check { max-width: 820px; }
.check-fortschritt { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; font: 700 15px/22px var(--font-text); color: var(--text-leise); font-variant-numeric: tabular-nums; }
.check-balken { flex: 1 1 auto; height: 8px; border-radius: 999px; background: var(--linie); overflow: hidden; }
.check-balken i { display: block; height: 100%; width: 0; background: var(--marke); transition: width .25s ease; }
.check-thema { margin: 0 0 8px; font: 700 13px/18px var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.check-frage-block + .check-frage-block { margin-top: 24px; }
.check-weiter { margin-top: 20px; }
.check-ergebnis { padding: 34px 36px 30px; border-radius: var(--ecke-l); background: var(--karte); box-shadow: var(--schatten); }
.check-ergebnis h2 { margin: 0 0 8px; font-size: 32px; line-height: 40px; }
.check-punkte { margin: 0 0 14px; font: 600 54px/60px var(--font-titel); font-variant-numeric: tabular-nums; }
.check-punkte span { font-size: 28px; color: var(--text-leise); }
.check-nachlesen { margin: 22px 0 0; padding: 0; list-style: none; }
.check-nachlesen li { margin: 0 0 10px; }
.check-nachlesen a { font-weight: 700; }
.knopf-leise { border-color: var(--linie-kraeftig); color: var(--text); background: transparent; }
.knopf-leise:hover { border-color: var(--text); }

/* ---------- Fußzeile: Spalten ---------- */
.fuss-spalten { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
.fuss-spalte h2 { margin: 0 0 14px; font: 700 13px/18px var(--font-text); letter-spacing: .1em; text-transform: uppercase; color: var(--auf-tiefe-leise); }
.fuss-spalte ul { margin: 0; padding: 0; list-style: none; }
.fuss-spalte li { margin: 0 0 10px; font-weight: 700; font-size: 16px; line-height: 24px; }
.fuss-spalte a { text-decoration: none; }
.fuss-spalte a:hover { text-decoration: underline; text-decoration-color: #e0a23a; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ---------- Bildschirmbreiten ---------- */
@media (max-width: 1099px) {
  .artikel-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .inhalt { display: none; }
  .rechner { grid-template-columns: minmax(0, 1fr); }
  .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-spalten > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .seitentitel { font-size: 38px; line-height: 44px; }
  .vorspann { font-size: 19px; line-height: 30px; }
  .artikel-text h2 { font-size: 27px; line-height: 34px; margin-top: 44px; }
  .werkzeuge-liste { grid-template-columns: minmax(0, 1fr); }
  .uebersicht .titel { font-size: 30px; line-height: 36px; }
}
@media (max-width: 700px) {
  .tabelle-wrap { border: 0; background: transparent; overflow: visible; }
  .tabelle table, .tabelle tbody, .tabelle tr, .tabelle td, .tabelle th { display: block; width: 100%; }
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle tr { margin: 0 0 12px; padding: 4px 0; border: 1px solid var(--linie); border-radius: var(--ecke-m); background: var(--karte); }
  .tabelle th, .tabelle td { border-top: 0; padding: 8px 16px; }
  .tabelle tbody th { padding-top: 12px; font-size: 17px; }
  .tabelle th.mit-label::before { content: attr(data-label) ": "; font-weight: 400; color: var(--text-leise); }
  .tabelle td::before { content: attr(data-label); display: block; color: var(--text-leise); font: 700 13px/18px var(--font-text); letter-spacing: .04em; }
  .jahresliste .tabelle-wrap { max-height: none; }
}
@media (max-width: 640px) {
  .kopf-nav { gap: 4px 16px; font-size: 16px; }
  .kopf-nav .nav-opt { display: none; }
  .seitenkopf { padding-top: 18px; }
  .seitentitel { font-size: 33px; line-height: 39px; }
  .vorspann { font-size: 18px; line-height: 29px; margin-top: 16px; }
  .meta { gap: 4px 18px; margin-top: 18px; }
  .artikel-raster { padding: 32px 0 72px; }
  .artikel-text h2 { font-size: 25px; line-height: 32px; margin: 40px 0 14px; }
  .kurz { padding: 22px 20px 16px; }
  .kurz li { font-size: 17px; line-height: 27px; }
  .kasten { padding: 18px 18px 18px 18px; border-left-width: 4px; }
  .kasten-titel { font-size: 20px; line-height: 27px; }
  .rechnung { padding: 20px 18px 18px; }
  .rechnung-zeilen > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .rechnung-zeilen dd { max-width: none; text-align: left; }
  .rechnung-zeilen .ergebnis-zeile dd { font-size: 24px; line-height: 30px; }
  .kinderkasten { padding: 22px 20px 20px; }
  .kinderkasten p { font-size: 19px; line-height: 29px; }
  .weiter { padding: 24px 22px; }
  .weiter p { font-size: 18px; line-height: 29px; }
  .beitraege { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .beitrag { padding: 24px 22px 22px; }
  .leseweg .beitrag::before { left: 20px; }
  .autor-klein { padding: 22px 18px; }
  .rechner-form { padding: 22px 18px 6px; }
  .ergebnis { padding: 24px 20px 22px; }
  .ergebnis-gross { font-size: 40px; line-height: 46px; }
  .ergebnis-zeilen > div { flex-direction: column; align-items: flex-start; gap: 2px; }
  .ergebnis-zeilen dd { text-align: left; }
  .check-ergebnis { padding: 26px 20px 24px; }
  .check-punkte { font-size: 44px; line-height: 50px; }
  .hub-werkzeug { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  .uebersicht { padding: 32px 0 72px; }
  .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 24px; }
  .test-summe strong { font-size: 24px; line-height: 30px; }
}
@media (max-width: 380px) {
  .fuss-spalten { grid-template-columns: minmax(0, 1fr); }
  .seitentitel { font-size: 30px; line-height: 36px; }
  .ergebnis-gross { font-size: 34px; line-height: 40px; }
}

@media print {
  .kopf-nav, .inhalt, .weiter, .test, .ratemal, .fuss-spalten { display: none !important; }
  .artikel-raster { display: block; padding: 0; }
}
