:root {
  --tinte: #14213D;
  --tinte-tief: #0C1529;
  --papier: #F7F3EA;
  --papier-dunkel: #EDE6D6;
  --text: #1B1B1B;
  --text-schwach: #4A4A4A;
  --marker: #E0A100;
  --marker-text: #7A5A00;
  --marker-flaeche: #FFF0C2;
  --rot: #C8372D;
  --rot-flaeche: #FADAD6;
  --gruen: #2E7D4F;
  --gruen-text: #1F5C38;
  --rot-text: #A62B22;
  --gruen-flaeche: #D7EEDF;
  --linie: rgba(20, 33, 61, 0.18);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --breite: 1120px;
  --rand: 16px;
  --abschnitt: clamp(48px, 6vw, 80px);
  --hero-oben: clamp(40px, 8vw, 96px);
  --fahne-neigung: -1.2deg;
  --notiz-versatz: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
[id] { scroll-margin-top: 84px; }
:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }
.dunkel :focus-visible { outline-color: var(--marker); }
a, button, summary, label, select { touch-action: manipulation; }
.sprung { position: absolute; left: var(--rand); top: -100px; z-index: 30; background: var(--tinte); color: #fff; padding: .6rem 1rem; border-radius: 0 0 6px 6px; text-decoration: none; font-weight: 600; }
.sprung:focus { top: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .ein { opacity: 1 !important; transform: none !important; transition: none !important; } .strecke-fuellung { width: 100% !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--papier); line-height: 1.55; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.innen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.abschnitt { padding-block: var(--abschnitt); }
.dunkel { background: var(--tinte); color: var(--papier); }
.dunkel h2 { color: #fff; }
.getoent { background: var(--papier-dunkel); }
.marker-flaeche { background: var(--marker-flaeche); }
.schmal { max-width: 62ch; }
.knopf { display: inline-block; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid var(--tinte); transition: transform .15s ease, background .15s ease, color .15s ease; }
.knopf:hover { transform: translateY(-1px); }
.knopf-voll { background: var(--tinte); color: #fff; }
.knopf-voll:hover { background: var(--tinte-tief); }
.knopf-leer { background: transparent; color: var(--tinte); }
.knopf-leer:hover { background: rgba(20, 33, 61, 0.08); }
.dunkel .knopf-voll { background: var(--marker); color: var(--tinte-tief); border-color: var(--marker); }
.dunkel .knopf-leer { color: var(--papier); border-color: var(--papier); }
.js .ein { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.ein.sichtbar { opacity: 1; transform: none; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(247, 243, 234, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linie); }
.kopf .innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .7rem; }
.kopf nav { display: flex; gap: 1.2rem; align-items: center; font-size: .95rem; }
.kopf nav a { text-decoration: none; color: var(--tinte); font-weight: 500; }
.kopf nav a:hover { text-decoration: underline; }
.kopf nav .knopf { padding: .5rem 1rem; }
.kopf nav a.knopf-voll { color: #fff; }
.kopf nav a.knopf-voll:hover { text-decoration: none; background: var(--tinte-tief); }
.kopf nav a:not(.knopf) { padding: .55rem .2rem; }
.kopf nav a[aria-current] { text-decoration: underline; text-underline-offset: .3em; }
.menue-knopf { display: none; }
@media (max-width: 900px) {
  .kopf img { width: 150px; height: auto; }
  /* mit JS: Menü-Knopf, Navigation klappt unter der Kopfzeile auf; ohne JS bleibt sie umbrechend sichtbar */
  .js .menue-knopf { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; padding: 0 .9rem; font: inherit; font-weight: 600; color: var(--tinte); background: transparent; border: 1px solid var(--linie); border-radius: 999px; cursor: pointer; }
  .menue-symbol, .menue-symbol::before, .menue-symbol::after { display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease; }
  .menue-symbol::before, .menue-symbol::after { content: ""; position: absolute; left: 0; }
  .menue-symbol::before { top: -5px; } .menue-symbol::after { top: 5px; }
  .menue-knopf[aria-expanded="true"] .menue-symbol { background: transparent; }
  .menue-knopf[aria-expanded="true"] .menue-symbol::before { transform: translateY(5px) rotate(45deg); }
  .menue-knopf[aria-expanded="true"] .menue-symbol::after { transform: translateY(-5px) rotate(-45deg); }
  .kopf .innen { flex-wrap: wrap; }
  .kopf nav { flex-wrap: wrap; gap: .2rem 1rem; }
  .js .kopf nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: .4rem 0 .9rem; }
  .js .kopf nav.offen { display: flex; }
  .js .kopf nav a:not(.knopf) { padding: .8rem .2rem; border-bottom: 1px solid var(--linie); font-size: 1rem; }
  .js .kopf nav .knopf { margin-top: .8rem; text-align: center; padding: .8rem 1rem; }
}

/* Einstieg */
.hero { padding-top: var(--hero-oben); padding-bottom: clamp(32px, 5vw, 64px); position: relative; overflow: visible; }
.hero .innen { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.hero p.unterzeile { font-size: 1.15rem; max-width: 52ch; color: var(--text-schwach); }
.hero .knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.4rem 0 1rem; }
.hero .klein { font-size: .9rem; color: var(--text-schwach); max-width: 48ch; }
/* Domain-Eingabe im Hero: führt mit der Domain zur Stichprobe (website-pruefen.html), funktioniert auch ohne JavaScript */
.hero-pruefen { display: grid; gap: .45rem; margin: 1.5rem 0 1rem; max-width: 34rem; scroll-margin-top: 110px; }
.hero-pruefen-zeile { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-pruefen-zeile input { flex: 1 1 14rem; min-width: 0; width: auto; font-size: 1.05rem; border-color: var(--tinte); }
.hero-pruefen-zeile .knopf { flex: 0 0 auto; }
.hero-pruefen-hinweis { font-size: .88rem; color: var(--text-schwach); margin: 0; }
/* Schmale Bildschirme: Eingabe direkt unter der Überschrift, damit Feld und Knopf im ersten Bildschirm liegen (scripts/hero_pruefung.py);
   die Unterzeile folgt darunter. Nur die Anzeige ändert sich, die Lesereihenfolge im Dokument bleibt. */
@media (max-width: 480px) {
  .hero-pruefen-zeile .knopf { flex: 1 1 100%; justify-content: center; }
  .hero-text { display: flex; flex-direction: column; }
  .hero-text > .dachzeile { display: none; }
  .hero-text > .hero-einstiege { order: 1; margin-top: .2rem; }
  .hero-text > .unterzeile { order: 2; }
  .hero-text > .hero-umfang { order: 3; }
  .hero-text > .hero-aufgaben { order: 4; }
  .hero-text > .hero-fakten { order: 5; }
  .hero-text > .klein { order: 6; }
  .einstieg-satz .knopf { width: 100%; justify-content: center; }
}
/* Zwei Einstiege (A-329): zuerst der Satztest als gefüllter Knopf, darunter die Stichprobe mit Domain-Feld und Umrissknopf */
.hero-einstiege { display: grid; gap: 1.1rem; margin: 1.5rem 0 1.2rem; max-width: 34rem; }
.hero-einstiege .hero-pruefen { margin: 0; padding-top: 1rem; border-top: 1px solid var(--linie); }
.einstieg-satz { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.einstieg-hinweis { margin: 0; font-size: .9rem; color: var(--text-schwach); }
.hero-pruefen label { font-size: .95rem; }
.hero-pruefen-zeile button.knopf { font-family: inherit; cursor: pointer; }
.hero .hero-umfang { font-size: .95rem; color: var(--text-schwach); max-width: 56ch; margin: 0 0 .9rem; }
.hero-aufgaben { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem .9rem; max-width: 36rem; }
.hero-aufgaben li { display: grid; gap: .1rem; }
.hero-aufgaben a { font-weight: 600; padding: .15rem 0; }
.hero-aufgaben span { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-schwach); }
@media (max-width: 480px) { .hero-aufgaben { grid-template-columns: minmax(0, 1fr); } .hero-aufgaben a { display: inline-flex; align-items: flex-end; min-height: 44px; padding: 0 0 .1rem; } }
/* Musterbefund (A-329): Originalsatz und eine Fundstelle; die vollständige Auswertung klappt auf */
.muster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
@media (max-width: 900px) { .muster { grid-template-columns: minmax(0, 1fr); } }
.muster .fahne-blatt { transform: none; }
.muster-label { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-schwach); margin: 0 0 .5rem; }
.muster-satz .hinweis { margin: .7rem 0 0; }
.muster-angaben { margin: .8rem 0 0; display: grid; gap: .7rem; }
.muster-angaben dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-schwach); }
.muster-angaben dd { margin: .15rem 0 0; }
.muster-angaben .normtext { margin: .2rem 0 0; }
.muster-angaben .quelle { display: block; margin-top: .25rem; }
.muster-angaben a { font-weight: 600; overflow-wrap: anywhere; }
.muster-grenzen { max-width: 78ch; margin: 1.4rem 0 0; font-size: .95rem; color: var(--text-schwach); }
.muster-alle { margin-top: 1.4rem; border-top: 1px solid var(--linie); }
.muster-alle > summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; padding: .6rem 0; font-weight: 600; color: var(--tinte); }
.muster-alle > summary span { text-decoration: underline; text-underline-offset: .2em; }
.muster-alle > summary::-webkit-details-marker { display: none; }
.muster-alle > summary::after { content: "+"; font-family: var(--mono); font-size: 1.2rem; }
.muster-alle[open] > summary::after { content: "–"; }
.muster-alle .muster-zu, .muster-alle[open] .muster-auf { display: none; }
.muster-alle[open] .muster-zu { display: inline; }
.muster-einleitung { margin: .4rem 0 1.4rem; }
.muster-weiter { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 0; }
@media (max-width: 900px) { .hero .innen { grid-template-columns: minmax(0, 1fr); } }

/* Korrekturfahne */
.fahne { position: relative; margin: 0; }
.fahne-blatt { background: #fff; border: 1px solid var(--linie); box-shadow: 0 24px 60px rgba(20, 33, 61, 0.18), 0 2px 0 rgba(20,33,61,.06); padding: clamp(18px, 3vw, 32px); transform: rotate(var(--fahne-neigung)); border-radius: 4px; }
.fahne-kopf { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .78rem; color: var(--text-schwach); border-bottom: 1px dashed var(--linie); padding-bottom: .6rem; margin-bottom: 1rem; }
.fahne-text { font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.55; margin: 0; }
mark { padding: .05em .15em; border-radius: 2px; color: inherit; position: relative; }
mark.rot { background: var(--rot-flaeche); box-shadow: inset 0 -3px 0 var(--rot); }
mark.gelb { background: var(--marker-flaeche); box-shadow: inset 0 -3px 0 var(--marker); }
mark.gruen { background: var(--gruen-flaeche); box-shadow: inset 0 -3px 0 var(--gruen); }
mark sup { font-family: var(--mono); font-size: .6em; font-weight: 700; color: var(--tinte); margin-left: .15em; line-height: 0; }
/* Satz-Treffer (lange Muster): nur unterstrichen, damit die genauen Stellen darin sichtbar bleiben */
mark.satz { background: none; box-shadow: none; padding: 0; border-radius: 0; text-decoration: underline wavy; text-decoration-thickness: 1.5px; text-underline-offset: .22em; }
mark.satz.rot { text-decoration-color: var(--rot); }
mark.satz.gelb { text-decoration-color: var(--marker); }
mark.satz.gruen { text-decoration-color: var(--gruen); }
.fahne-text sup.fn { font-family: var(--mono); font-size: .55em; font-weight: 700; color: var(--tinte); margin: 0 .1em 0 .12em; line-height: 0; }
.stempel { position: absolute; right: 6px; top: -16px; transform: rotate(6deg); font-family: var(--mono); font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--rot); border: 3px solid var(--rot); padding: .35rem .7rem; border-radius: 6px; background: rgba(255,255,255,.85); }
@media (max-width: 600px) { .stempel { position: static; display: inline-block; margin-top: .9rem; transform: rotate(-2deg); } }
.notizen { list-style: none; margin: var(--notiz-versatz) 0 0; padding: 0; display: grid; gap: .6rem; }
.notizen li { display: grid; grid-template-columns: 14px 1fr; gap: .7rem; align-items: start; background: #fff; border-left: 4px solid var(--linie); padding: .7rem .9rem; font-size: .93rem; box-shadow: 0 6px 16px rgba(20,33,61,.08); }
.notizen li.rot { border-left-color: var(--rot); }
.notizen li.gelb { border-left-color: var(--marker); }
.notizen li.gruen { border-left-color: var(--gruen); }
.notizen .nr { font-family: var(--mono); font-weight: 700; color: var(--tinte); }
.notizen .regel { font-weight: 600; }
.notizen .treffer { display: block; margin-top: .2rem; font-weight: 600; }
.notizen .zitat { font-family: var(--serif); color: var(--text-schwach); display: block; margin-top: .25rem; }
.notizen .quelle { font-family: var(--mono); font-size: .78rem; color: var(--text-schwach); display: block; margin-top: .2rem; }
.ersatz { margin-top: 1rem; background: var(--gruen-flaeche); color: var(--text); border-left: 4px solid var(--gruen); padding: .9rem 1rem; font-size: .95rem; }
.ersatz strong { display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--gruen-text); margin-bottom: .3rem; }
.beispiel .fahne-blatt { color: var(--text); }
.beispiel .fahne-text { font-size: 1.1rem; }
.ergebnis-hinweis { margin-top: 1.4rem; }

/* Definition */
.definition { padding-block: clamp(36px, 5vw, 64px); }
.definition h2 { font-size: 1.3rem; margin-bottom: .4rem; }
.definition-text { max-width: 78ch; margin: 0; font-size: 1.02rem; }
.definition .innen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 420px); gap: clamp(24px, 5vw, 64px); align-items: center; }
.definition-bild { display: block; }
.definition-bild img { width: 100%; height: auto; display: block; border-radius: 6px; box-shadow: 0 24px 60px rgba(20, 33, 61, .18); transform: rotate(1.2deg); }
@media (max-width: 760px) { .definition .innen { grid-template-columns: minmax(0, 1fr); } .definition-bild { order: -1; } .definition-bild img { transform: none; } }
/* Regelbereiche als Karten mit Foto */
.bereiche { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.bereich { background: #fff; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 6px 16px rgba(20, 33, 61, .08); transition: transform .25s ease, box-shadow .25s ease; }
.bereich picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--papier-dunkel); }
.bereich img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.bereich-text { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.bereich h3 { font-size: 1.15rem; margin: 0; }
.bereich p { margin: 0; font-size: .92rem; color: var(--text-schwach); flex: 1; }
.bereich-zahl { align-self: flex-start; margin-top: .4rem; font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--tinte); background: var(--marker-flaeche); border-bottom: 2px solid var(--marker); padding: .2rem .5rem; border-radius: 2px; }
@media (min-width: 980px) {
  .bereiche { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bereich:last-child:nth-child(3n + 1) { grid-column: 1 / -1; flex-direction: row; }
  .bereich:last-child:nth-child(3n + 1) picture { flex: 0 0 calc((100% - 2 * clamp(16px, 2.5vw, 28px)) / 3); aspect-ratio: 16 / 9; }
  .bereich:last-child:nth-child(3n + 1) .bereich-text { justify-content: center; padding: 1.4rem 1.8rem; }
  .bereich:last-child:nth-child(3n + 1) h3 { font-size: 1.4rem; }
  .bereich:last-child:nth-child(3n + 1) p { flex: 0; font-size: 1rem; max-width: 60ch; }
}
@media (hover: hover) and (pointer: fine) { .bereich:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(20, 33, 61, .14); } .bereich:hover img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .bereich, .bereich img { transition: none; } .bereich:hover, .bereich:hover img { transform: none; } }

/* Beispiel-Abschnitt (dunkel) */
.beispiel .fahne-blatt { transform: none; }
.beispiel .notizen li { background: rgba(255,255,255,.06); color: var(--papier); box-shadow: none; border-left-width: 4px; }
.beispiel .notizen .nr, .beispiel .notizen .zitat, .beispiel .notizen .quelle { color: rgba(247,243,234,.8); }
.beispiel .raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .beispiel .raster { grid-template-columns: minmax(0, 1fr); } }
.beispiel .gesamt { font-family: var(--mono); font-size: .85rem; letter-spacing: .06em; color: var(--marker); margin: 0 0 1rem; }

/* Quellen-Tabelle */
.quellen { width: 100%; border-collapse: collapse; margin-top: 1.5rem; font-size: .95rem; }
.quellen th, .quellen td { text-align: left; padding: .8rem .6rem; border-top: 1px solid var(--linie); vertical-align: top; }
.quellen th { font-family: var(--serif); font-size: 1.05rem; width: 32%; }
.quellen td.zahl { font-family: var(--mono); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--tinte); font-weight: 700; width: 12%; }
.quellen tbody tr:hover { background: rgba(224,161,0,.08); }
.stand { font-family: var(--mono); font-size: .8rem; color: var(--text-schwach); }
@media (max-width: 600px) {
  .quellen thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .quellen, .quellen tbody, .quellen tr { display: block; width: 100%; }
  .quellen tr { display: grid; grid-template-columns: 1fr auto; border-top: 1px solid var(--linie); padding: .8rem 0; }
  .quellen th, .quellen td { border: 0; padding: 0; width: auto; }
  .quellen th { grid-column: 1; }
  .quellen td.zahl { grid-column: 2; grid-row: 1; padding-left: 1rem; }
  .quellen td.zahl::after { content: " Regeln"; font-family: var(--sans); font-weight: 400; color: var(--text-schwach); font-size: .8rem; }
  .quellen td:not(.zahl) { grid-column: 1 / -1; font-size: .9rem; color: var(--text-schwach); margin-top: .25rem; }
}

/* Ergebnis-Felder */
.ergebnis { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.5rem; }
.ergebnis > div { padding-top: .9rem; border-top: 3px solid var(--tinte); }
.ergebnis > div:nth-child(1) { border-top-color: var(--rot); }
.ergebnis > div:nth-child(2) { border-top-color: var(--marker); }
.ergebnis > div:nth-child(3) { border-top-color: var(--gruen); }
.ergebnis h3 { font-size: 1.1rem; }
.ampel { display: inline-flex; gap: .4rem; margin-bottom: .6rem; }
.ampel span { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }

/* Ablauf als Strecke */
.strecke { position: relative; margin-top: 2.2rem; }
.strecke-linie { position: absolute; left: 0; right: 0; top: 30px; height: 4px; background: rgba(255,255,255,.18); border-radius: 2px; }
.strecke-fuellung { height: 100%; width: 0; background: var(--marker); border-radius: 2px; transition: width 1.4s ease; }
.strecke ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.strecke li { padding-top: 70px; position: relative; }
.strecke .punkt { position: absolute; top: 12px; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--tinte); border: 4px solid var(--marker); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 1.2rem; color: #fff; }
.strecke h3 { margin-bottom: .3rem; }
.strecke p { color: rgba(247,243,234,.85); font-size: .98rem; }
@media (max-width: 760px) { .strecke ol { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; } .strecke-linie { display: none; } .strecke li { padding-top: 0; padding-left: 56px; } .strecke .punkt { top: -2px; } }

/* Preise */
.tarife { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.tarif { background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: 1.4rem 1.3rem 1.5rem; display: flex; flex-direction: column; }
.tarif.hervor { border: 2px solid var(--tinte); box-shadow: 0 16px 40px rgba(20,33,61,.12); }
.tarif h3 { margin-bottom: .2rem; }
.tarif .preis { margin: 0 0 .9rem; }
.tarif .betrag { font-family: var(--serif); font-size: 2rem; font-weight: 700; color: var(--tinte); font-variant-numeric: tabular-nums; }
.tarif .einheit { color: var(--text-schwach); font-size: .95rem; }
.tarif ul { margin: 0 0 1.4rem; padding-left: 1.1rem; font-size: .95rem; display: grid; gap: .35rem; flex: 1; }
.tarif .knopf { align-self: start; }
.preise .hinweis { margin-top: 1.4rem; }

/* Zahlen */
.zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1.4rem 2rem; margin-top: 1.2rem; }
.zahlen .wert { font-family: var(--serif); font-variant-numeric: tabular-nums; font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 700; color: var(--tinte); line-height: 1; }
.zahlen .wert small { font-size: .45em; color: var(--text-schwach); font-weight: 500; margin-left: .2em; }
.zahlen .was { font-size: .95rem; color: var(--text-schwach); margin-top: .35rem; }

/* Grenzen */
.grenzen .innen { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.grenzen .gross { font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; }
@media (max-width: 800px) { .grenzen .innen { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq details { border-top: 1px solid var(--linie); padding: .4rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--linie); }
.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.15rem; padding: .7rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--marker-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 1rem; max-width: 70ch; }

/* Formular */
.anfrage .innen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); }
@media (max-width: 800px) { .anfrage .innen { grid-template-columns: minmax(0, 1fr); } }
form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.feld { display: grid; grid-template-columns: minmax(0, 1fr); gap: .3rem; }
.zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 560px) { .zwei { grid-template-columns: minmax(0, 1fr); } }
label { font-weight: 600; font-size: .95rem; }
label .pflicht { color: var(--rot-text); font-weight: 400; }
input, select, textarea { font: inherit; padding: .75rem .85rem; border: 1.5px solid var(--linie); border-radius: 6px; background: #fff; width: 100%; color: var(--text); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--marker); outline-offset: 1px; border-color: var(--tinte); }
textarea { min-height: 140px; resize: vertical; }
.fehler { color: var(--rot-text); font-size: .88rem; min-height: 1.2em; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--rot); }
.felder { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.hinweis { font-size: .85rem; color: var(--text-schwach); }
.honig { position: absolute; left: -9999px; }
.bestaetigung { display: none; background: var(--gruen-flaeche); border-left: 4px solid var(--gruen); padding: 1rem; }
form[data-gesendet] .bestaetigung { display: block; }
form[data-gesendet] .felder { display: none; }

/* Fuß */
.fuss { background: var(--tinte-tief); color: rgba(247, 243, 234, .78); font-size: .93rem; padding-top: clamp(48px, 7vw, 80px); }
.fuss a { color: var(--papier); text-decoration: none; }
.fuss a:hover { color: var(--marker); }
.fuss-unten a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.fuss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2.4rem clamp(24px, 4vw, 56px); }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .fuss-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.2rem; } .fuss-marke, .fuss-raster > div:last-child { grid-column: 1 / -1; } }
.fuss-marke p { margin: .9rem 0 1.2rem; max-width: 34ch; }
.fuss h2 { font-family: var(--mono); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--marker); margin: 0 0 1rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.fuss ul a { display: inline-block; padding: .35rem 0; }
.fuss-kontakt li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: .6rem; align-items: start; padding: .35rem 0; }
.fuss-kontakt svg, .fuss-sozial svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fuss-kontakt svg { color: var(--marker); margin-top: .2rem; }
.fuss-kontakt li a, .fuss-kontakt li span { padding: 0; overflow-wrap: anywhere; }
.fuss-sozial { display: flex; gap: .6rem; }
.fuss-sozial a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(247, 243, 234, .25); display: grid; place-items: center; transition: background .15s ease, border-color .15s ease, color .15s ease; }
.fuss-sozial a:hover { background: var(--marker); border-color: var(--marker); color: var(--tinte-tief); }
.fuss-sozial svg.voll { fill: currentColor; stroke: none; }
.fuss-sozial a[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.fuss-unten { margin-top: clamp(40px, 6vw, 64px); border-top: 1px solid rgba(247, 243, 234, .15); padding: 1.2rem 0 1.6rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; font-size: .85rem; color: rgba(247, 243, 234, .6); }
.fuss :focus-visible { outline-color: var(--marker); }

/* Kostenloser Test */
.test .schmal { color: rgba(247,243,234,.85); }
.demo { display: grid; gap: 1rem; max-width: 820px; }
.demo label { color: #fff; }
.demo textarea { min-height: 96px; font-family: var(--serif); font-size: 1.1rem; }
.demo-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; }
.test .hinweis, .demo-zaehler { color: rgba(247,243,234,.75); }
.demo-beispiele { font-size: .85rem; color: rgba(247,243,234,.75); display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.demo-chip { font: inherit; font-size: .85rem; background: transparent; color: var(--papier); border: 1px solid rgba(247,243,234,.5); border-radius: 999px; padding: .3rem .7rem; cursor: pointer; }
.demo-chip:hover { border-color: var(--marker); color: var(--marker); }
.demo-unten { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: end; }
@media (max-width: 560px) { .demo-unten { grid-template-columns: minmax(0, 1fr); } }
.demo .fehler { color: #FFB4AA; }
.demo-ergebnis { margin-top: 1.6rem; max-width: 820px; display: grid; gap: 1rem; }
.demo-blatt { color: var(--text); transform: none; }
.demo-blatt .hinweis { color: var(--text-schwach); }
.demo-gesamt { display: inline-block; font-family: var(--mono); font-weight: 700; letter-spacing: .08em; border: 3px solid var(--rot); color: var(--rot); padding: .3rem .7rem; border-radius: 6px; transform: rotate(-2deg); margin: .8rem 0 .4rem; }
.demo-gesamt.PRUEFEN { border-color: var(--marker-text); color: var(--marker-text); }
/* Keine Treffer ist neutral, nie grün (KONFORM = alter Wert aus früheren Antworten) */
.demo-gesamt.KEINE_TREFFER, .demo-gesamt.KEINE_AUSSAGE, .demo-gesamt.KONFORM { border-color: var(--text-schwach); color: var(--text-schwach); transform: none; }
.demo-notizen li { background: rgba(255,255,255,.06); color: var(--papier); box-shadow: none; }
.demo-notizen .nr, .demo-notizen .zitat, .demo-notizen .quelle { color: rgba(247,243,234,.8); }
.demo-zitat { margin: .3rem 0; }
.demo-zitat summary { cursor: pointer; font-size: .85rem; color: var(--marker); }
.demo-zitat pre { white-space: pre-wrap; font-family: var(--serif); font-size: .9rem; margin: .3rem 0 0; color: rgba(247,243,234,.85); }
.demo-leer { color: var(--papier); }
.demo-ergebnis .ersatz ul { margin: .3rem 0 0; padding-left: 1.1rem; }
.demo-ergebnis .ersatz .quelle { font-family: var(--mono); font-size: .78rem; color: var(--text-schwach); }
.test .demo-ergebnis > .hinweis { color: rgba(247,243,234,.75); }

/* Beispiel-Abschnitt jetzt hell */
.beispiel .notizen li { background: #fff; color: var(--text); box-shadow: 0 6px 16px rgba(20,33,61,.08); }
.beispiel .notizen .nr { color: var(--tinte); }
.beispiel .notizen .zitat, .beispiel .notizen .quelle { color: var(--text-schwach); }
.beispiel .gesamt { color: var(--marker-text); }

/* Dashboard-Mock */
.dash { background: #fff; color: var(--text); border-radius: 6px; border: 1px solid var(--linie); overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.dash-kopf { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-family: var(--mono); font-size: .8rem; color: var(--text-schwach); padding: .7rem 1rem; border-bottom: 1px solid var(--linie); background: var(--papier); }
.dash-guthaben { color: var(--tinte); font-weight: 700; }
.dash-tabelle { width: 100%; border-collapse: collapse; font-size: .88rem; }
.dash-tabelle th, .dash-tabelle td { text-align: left; padding: .55rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.dash-tabelle th { font-family: var(--mono); font-weight: 400; font-size: .75rem; color: var(--text-schwach); }
.dash-pille { display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.dash-pille.rot { background: var(--rot-flaeche); color: var(--rot-text); }
.dash-pille.gelb { background: var(--marker-flaeche); color: var(--marker-text); }
.dash-pille.gruen { background: var(--gruen-flaeche); color: var(--gruen-text); }
.dash-pille.neutral { background: #E9E7E1; color: var(--text-schwach); }
.dash-diff { padding: .9rem 1rem 1rem; }
.dash-diff-kopf { font-family: var(--mono); font-size: .75rem; color: var(--text-schwach); margin-bottom: .4rem; }
.dash-diff .fahne-text { font-size: 1rem; }
.dash-diff del { background: var(--rot-flaeche); text-decoration: line-through; text-decoration-color: var(--rot); }
.dash-diff ins { background: var(--gruen-flaeche); text-decoration: none; }
.dash-verlauf { list-style: none; margin: .7rem 0 0; padding: 0; font-size: .85rem; display: grid; gap: .3rem; }
.dash-verlauf li { padding-left: 1.2rem; position: relative; }
.dash-verlauf li::before { content: ""; position: absolute; left: 0; top: .45em; width: .6em; height: .6em; border-radius: 50%; background: var(--gruen); }
.dash-verlauf li.bleibt::before { background: var(--marker); }
.dash-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; color: rgba(247,243,234,.9); }
.dash-liste strong { color: #fff; }
#dashboard .raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 2.5rem; }
@media (max-width: 900px) { #dashboard .raster { grid-template-columns: minmax(0, 1fr); } .dash-tabelle th:nth-child(5), .dash-tabelle td:nth-child(5) { display: none; } }
@media (max-width: 420px) { .dash-tabelle th:nth-child(4), .dash-tabelle td:nth-child(4) { display: none; } .dash-tabelle th, .dash-tabelle td { padding: .5rem .45rem; } }

/* Assistenten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 1.6rem; }
.karte { border-top: 3px solid var(--marker); padding-top: .9rem; }
.karte h3 { font-size: 1.1rem; }
.karte p { font-size: .95rem; }
.karte .status { font-family: var(--mono); font-size: .78rem; color: var(--text-schwach); margin: 0; }

.zustimmung { font-weight: 400; display: flex; gap: .5rem; align-items: start; }
.zustimmung input { width: auto; margin-top: .3rem; }

/* Hero-Animation „Prüflauf“ (assets/js/hero.js): nur transform/opacity, 150–500 ms */
.hero-anim .fahne-text { position: relative; }
.hero-anim .fahne-text .s { opacity: .62; transition: opacity .18s ease; }   /* ungelesen: Kontrast 4,8:1 (WCAG AA) */
.hero-anim .fahne-text .s.gelesen { opacity: 1; }
.hero-anim .fahne-text .wort { white-space: nowrap; }
.hero-anim .fahne-text .m { position: relative; }
.hero-anim .fahne-text .m::before { content: ""; position: absolute; inset: .02em -.06em; z-index: -1; transform: scaleX(0); transform-origin: left center; transition: transform .32s ease; }
.hero-anim .fahne-text .m.an::before { transform: scaleX(1); }
.hero-anim .fahne-text .m.rot::before { background: var(--rot-flaeche); box-shadow: inset 0 -3px 0 var(--rot); }
.hero-anim .fahne-text .m.gelb::before { background: var(--marker-flaeche); box-shadow: inset 0 -3px 0 var(--marker); }
.hero-anim .fahne-text .m.gruen::before { background: var(--gruen-flaeche); box-shadow: inset 0 -3px 0 var(--gruen); }
.hero-anim .fahne-text { isolation: isolate; }
.hero-anim .fahne-text sup { font-family: var(--mono); font-size: .6em; font-weight: 700; color: var(--tinte); margin-left: .15em; line-height: 0; display: inline-block; opacity: 0; transform: translateY(.4em) scale(.6); transition: opacity .2s ease .25s, transform .25s ease .25s; }
.hero-anim .fahne-text sup.an { opacity: 1; transform: none; }
.lesekopf { position: absolute; left: 0; top: 0; width: 2px; background: var(--tinte); opacity: 0; transition: transform .1s linear, opacity .2s ease; pointer-events: none; }
.lesekopf.an { opacity: .85; animation: lesekopf-blinken 1s steps(2, start) infinite; }
@keyframes lesekopf-blinken { 50% { opacity: .35; } }
.hero-anim .h-status { transition: opacity .2s ease; }
.hero-anim .h-status.liest { color: var(--tinte); }
.hero-anim .stempel { opacity: 0; transform: rotate(6deg) scale(1.35); transition: opacity .18s ease, transform .3s cubic-bezier(.2, .9, .3, 1.2); }
.hero-anim .stempel.an { opacity: 1; transform: rotate(6deg) scale(1); }
.stempel.gelb { color: var(--marker-text); border-color: var(--marker); }
.stempel.gruen { color: var(--gruen-text); border-color: var(--gruen); }
.stempel.neutral { color: var(--text-schwach); border-color: var(--text-schwach); }
.hero-anim .notizen { gap: .45rem; margin-top: 20px; }
.hero-anim .notizen li { padding: .55rem .85rem; font-size: .88rem; }
.hero-anim .notizen li { opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.hero-anim .notizen li.an { opacity: 1; transform: none; }
.hero-anim .fahne-text, .hero-anim .notizen { transition: opacity .25s ease; }
.hero-anim.raus .fahne-text, .hero-anim.raus .notizen, .hero-anim.raus .stempel { opacity: 0; }
.hero-anim { position: relative; padding-bottom: 56px; }
.hero-steuerung { position: absolute; right: 0; bottom: 0; display: flex; }   /* fest unten: rutscht nicht mit neuen Fundstellen */
/* Höhe vorab reservieren (Messwerte scripts/hero_pruefung.py), damit nichts springt, bevor hero.js genau misst */
.js .hero .fahne { min-height: 530px; }
@media (min-width: 601px) { .js .hero .fahne { min-height: 600px; } }
@media (min-width: 901px) { .js .hero .fahne { min-height: 790px; } }
.hero-anim .notizen .h-mehr { display: none; }
.h-pause { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--linie); background: #fff; color: var(--tinte); display: grid; place-items: center; cursor: pointer; transition: background .15s ease, transform .15s ease; }
.h-pause svg { fill: currentColor; }
.h-pause[hidden] { display: none; }
.h-pause:hover { background: var(--marker-flaeche); }
.h-pause:active { transform: scale(.94); }
@media (max-width: 600px) {
  .hero-anim .notizen { gap: .4rem; }
  .hero-anim .notizen li { padding: .5rem .7rem; font-size: .86rem; box-shadow: none; }
  .hero-anim .notizen .quelle { display: none; }
  .hero-anim { padding-bottom: 0; cursor: pointer; }
  .hero-anim .hero-steuerung { display: none; }
  .hero-anim .notizen li:nth-child(n+4):not(.h-mehr) { display: none; }
  .hero-anim .notizen .h-mehr { display: block; background: none; border: 0; padding: .2rem .2rem 0; font-size: .82rem; color: var(--text-schwach); }
  .hero-anim .stempel { transform: rotate(-2deg) scale(1.35); }
  .hero-anim .stempel.an { transform: rotate(-2deg) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-anim *, .hero-anim *::before { transition: none !important; animation: none !important; }
}
.bereiche + .stand { margin-top: 1.2rem; }
.gesamt-text { margin: .2rem 0 .6rem; font-size: .9rem; color: var(--text-schwach); max-width: 60ch; }


/* ===== SaaS-Überarbeitung 2026-10-28: Bausteine (Tokens aus :root, Richtung „Korrekturfahne“) ===== */
.dachzeile { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--marker-text); margin: 0 0 .8rem; }
.dunkel .dachzeile { color: var(--marker); }
.kopfblock { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.kopfblock h1, .kopfblock h2 { margin-bottom: .4em; }
.kopfblock .schmal { margin-bottom: 0; }
.knopf-gross { padding: .95rem 1.6rem; font-size: 1.02rem; min-height: 48px; }
.kopf nav a.nav-konto { font-weight: 600; }

/* Hero */
.hero-fakten { list-style: none; margin: 1.4rem 0 1rem; padding: 0; display: grid; gap: .45rem; font-size: .95rem; color: var(--text-schwach); }
.hero-fakten li { padding-left: 1.4rem; position: relative; }
.hero-fakten li::before { content: ""; position: absolute; left: 0; top: .45em; width: .7rem; height: .7rem; border-radius: 2px; background: var(--marker-flaeche); box-shadow: inset 0 -2px 0 var(--marker); }
.hero-fakten strong { color: var(--tinte); font-weight: 600; }

/* Status- und Schweregrad-Anzeigen (eine Quelle für alle Abschnitte; Text zusätzlich zur Farbe) */
.status { display: inline-block; font-family: var(--mono); font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .18rem .5rem; border-radius: 4px; border: 1px solid; line-height: 1.3; white-space: nowrap; }
.status-rot { color: var(--rot-text); background: var(--rot-flaeche); border-color: var(--rot); }
.status-gelb { color: var(--marker-text); background: var(--marker-flaeche); border-color: var(--marker); }
.status-gruen { color: var(--gruen-text); background: var(--gruen-flaeche); border-color: var(--gruen); }
.grad { font-size: .82rem; color: var(--text-schwach); white-space: nowrap; }
.regel-id { font-family: var(--mono); font-size: .82rem; font-weight: 700; color: var(--tinte); margin-right: .3rem; }

/* Kostenloser Test */
.label-zusatz { font-weight: 400; color: rgba(247,243,234,.75); font-size: .88rem; margin-left: .4rem; }
.demo textarea { min-height: 120px; resize: vertical; }
.demo textarea[aria-invalid="true"] { border-color: #FFB4AA; outline-color: #FFB4AA; }
.demo-zaehler.knapp { color: var(--marker); font-weight: 600; }
.demo-beispiele-label { margin-right: .2rem; }
.demo-chip { min-height: 36px; }
.demo-knopf { min-width: 12rem; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; }
.demo-knopf[aria-busy="true"]::before { content: ""; width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: drehen .7s linear infinite; }
@keyframes drehen { to { transform: rotate(360deg); } }
.demo-fehler:empty { display: none; }
.demo-fehler { margin: 0; padding: .6rem .8rem; border-left: 3px solid #FFB4AA; background: rgba(255,180,170,.08); }
.datenhinweis { margin: 0; font-size: .86rem; color: rgba(247,243,234,.75); max-width: 70ch; }
.datenhinweis a { color: var(--papier); }
.demo-ergebnis:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .demo-knopf[aria-busy="true"]::before { animation: none; } }

/* Prüfergebnis im Detail */
.ergebnis-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (max-width: 900px) { .ergebnis-raster { grid-template-columns: minmax(0, 1fr); } }
.ergebnis-text .fahne-blatt { transform: none; }
.gesamt-zeile { margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.zaehlung { font-family: var(--mono); font-size: .85rem; color: var(--text-schwach); }
.fund-tabelle { width: 100%; border-collapse: collapse; margin-top: 1.4rem; font-size: .92rem; background: #fff; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; }
.fund-tabelle caption { text-align: left; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-schwach); padding-bottom: .5rem; }
.fund-tabelle th, .fund-tabelle td { text-align: left; padding: .65rem .8rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.fund-tabelle thead th { font-family: var(--mono); font-weight: 400; font-size: .75rem; color: var(--text-schwach); background: var(--papier); }
.fund-tabelle tbody tr:last-child td { border-bottom: 0; }
.fund-tabelle td:last-child { white-space: nowrap; }
@media (max-width: 560px) {
  .fund-tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .fund-tabelle tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .2rem .8rem; padding: .7rem .8rem; border-bottom: 1px solid var(--linie); }
  .fund-tabelle td { padding: 0; border: 0; }
  .fund-tabelle td:nth-child(1) { grid-column: 1; } .fund-tabelle td:nth-child(2) { grid-column: 1; color: var(--text-schwach); } .fund-tabelle td:nth-child(3) { grid-column: 2; grid-row: 1 / span 2; }
}
.ergebnis-detail { display: grid; gap: 1rem; }
.fund-karte { background: #fff; border: 1px solid var(--linie); border-left: 4px solid var(--rot); border-radius: 6px; padding: 1.1rem 1.2rem; }
.fund-karte.fund-ersatz { border-left-color: var(--gruen); }
.fund-karte h3 { font-size: 1.12rem; margin: .5rem 0 .4rem; }
.fund-karte p { font-size: .95rem; margin-bottom: .6rem; }
.fund-kopf { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 0 !important; }
.normtext { margin: .6rem 0; padding: .6rem .9rem; border-left: 3px solid var(--linie); font-family: var(--serif); font-size: 1rem; color: var(--text); background: var(--papier); }
.fund-karte .quelle { font-family: var(--mono); font-size: .76rem; color: var(--text-schwach); margin: 0; }
.legende { margin: .4rem 0 0; display: grid; gap: .5rem; font-size: .9rem; }
.legende div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: .6rem; align-items: start; }
.legende dd { margin: 0; color: var(--text-schwach); }

/* Funktionen */
/* ohne Nummern vor den Karten (Akos 23.11. und 24.11.2026) */
.funktions-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(24px, 4vw, 48px); }
.funktions-liste li { border-top: 2px solid var(--tinte); padding: 1.1rem 0 1.6rem; }
.funktions-liste h3 { font-size: 1.2rem; }
.funktions-liste p { font-size: .97rem; margin-bottom: .6rem; }
.status-zeile { font-family: var(--mono); font-size: .76rem; color: var(--text-schwach); margin: 0 !important; }

/* Transparenz */
.transparenz { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; margin-top: 2.4rem; }
.transparenz-feld { background: var(--papier); border: 1px solid var(--linie); border-radius: 6px; padding: 1.2rem; }
.transparenz-feld h3 { font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-schwach); margin-bottom: .6rem; }
.transparenz-wert { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--tinte); margin-bottom: .5rem; }
.transparenz-feld p:last-child { font-size: .92rem; margin: 0; }
.transparenz + .stand { margin-top: 1.2rem; }

/* Preise */
.guthaben-modell { margin: 0 0 1.6rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1rem; }
.guthaben-modell div { border-left: 3px solid var(--marker); padding: .2rem 0 .2rem .9rem; }
.guthaben-modell dt { font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--tinte); }
.guthaben-modell dd { margin: .2rem 0 0; font-size: .93rem; color: var(--text-schwach); }
.tarif-marke { align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; background: var(--tinte); color: #fff; padding: .25rem .55rem; border-radius: 4px; margin: -.2rem 0 .7rem; }
.tarif .je-punkt { font-family: var(--mono); font-size: .85rem; color: var(--marker-text); margin: -.6rem 0 1rem; }
.tarif .knopf { align-self: stretch; text-align: center; }

/* Fragen */
.faq-liste { max-width: 860px; }
.faq summary { min-height: 44px; align-items: center; }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details[open] { background: transparent; }
.faq details p a { color: var(--tinte); }

/* Abschluss */
.abschluss { background: var(--tinte); color: var(--papier); padding-block: clamp(48px, 7vw, 88px); text-align: center; }
.abschluss h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.abschluss .knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.4rem; }
.abschluss .knopf-voll { background: var(--marker); color: var(--tinte-tief); border-color: var(--marker); }
.abschluss .knopf-leer { color: var(--papier); border-color: var(--papier); }
.tarif ul { align-content: start; }
.status-ersatz { color: var(--tinte); background: #fff; border-color: var(--tinte); }
.demo-titel { color: #fff; font-size: 1.15rem; margin: 0; }
.demo-titel:focus { outline: none; }
.demo-titel:focus-visible { outline: 3px solid var(--marker); outline-offset: 3px; }

/* ===== Startseite 2026-11-16: Test zweispaltig, Abschnitte klar getrennt, Tarife ===== */
/* Zwei helle Abschnitte hintereinander: Linie statt doppeltem Leerraum */
.abschnitt:not(.dunkel):not(.getoent) + .abschnitt:not(.dunkel):not(.getoent),
.abschnitt.getoent + .abschnitt.getoent { border-top: 1px solid var(--linie); }

/* Kostenloser Test: Eingabe links, Ergebnis rechts; schmal untereinander */
.test-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
.test .demo, .test .demo-ergebnis { max-width: none; }
.test .demo-ergebnis { margin-top: 0; }
.test-ausgabe { min-width: 0; }
.demo-ergebnis:not([hidden]) + .demo-platzhalter { display: none; }
.demo-platzhalter { border: 1px dashed rgba(247, 243, 234, .45); border-radius: 8px; padding: 24px; display: grid; gap: 16px; }
.demo-platzhalter h2, .demo-platzhalter h3 { color: #fff; margin: 0; font-size: 1.2rem; }
.demo-platzhalter p { margin: 0; color: rgba(247, 243, 234, .85); }
.demo-platzhalter .legende { margin: 0; }
.demo-platzhalter .legende dd { color: rgba(247, 243, 234, .85); }
.demo-chip { min-height: 44px; padding-inline: 16px; }
@media (min-width: 980px) {
  .test-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
  .test .kopfblock h1, .test .kopfblock h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
  .test .demo-unten { grid-template-columns: minmax(0, 1fr); }
  .test .demo-knopf { width: 100%; }
}
/* Formular bleibt beim Lesen eines langen Ergebnisses stehen (nur wenn es in das Fenster passt) */
@media (min-width: 980px) and (min-height: 820px) { .test-eingabe { position: sticky; top: 96px; } }

/* Tarife: vier Karten, darunter Gemeinsames und Zusatzguthaben */
.tarife.vier { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin-top: 0; }
.tarife.vier .tarif { padding: 24px 16px; border-radius: 8px; }
.tarif .umfang { margin: 0 0 .9rem; font-size: 1rem; }
.tarif .fuer { margin: 0 0 1.4rem; font-size: .95rem; color: var(--text-schwach); flex: 1; }
.tarif .einheit { white-space: nowrap; }
.preise .guthaben-modell { margin: 32px 0 0; }
.preise .guthaben-modell dd { font-size: .95rem; }
.test .demo-beispiele { width: 100%; gap: 8px; }
.test .demo-beispiele-label { width: 100%; margin: 0; }
@media (max-width: 560px) {
  .tarife.vier { gap: 12px; }
  .tarife.vier .tarif { padding: 16px; }
  .tarif .fuer { display: none; }
  .tarif .umfang { margin-bottom: 16px; }
  .tarif .je-punkt { margin: -8px 0 16px; }
}
/* Untereinander braucht es den Platzhalter nicht: das Ergebnis folgt direkt unter dem Knopf */
@media (max-width: 979px) { .demo-platzhalter { display: none; } }

/* Zielgruppenseiten (fuer-*.html, A-151; erzeugt von scripts/zielgruppen_bauen.py) */
.zg-innen { display: grid; gap: 36px; max-width: 880px; }
.zg-innen h2 { margin: 0 0 .8rem; }
.zg-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2rem 0 0; }
.zg-beispiel { margin: 0 0 1rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--linie); border-left: 6px solid var(--marker); border-radius: 0 10px 10px 0; font-family: var(--serif); font-size: 1.15rem; }
.zg-beispiel p { margin: 0; }
.zg-funde, .zg-punkte { margin: 0 0 1rem; padding: 0; list-style: none; display: grid; gap: .6rem; }
.zg-funde li { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: .7rem .9rem; }
.zg-funde q { quotes: "„" "“"; font-weight: 600; }
.zg-punkte li { padding-left: 1.4rem; position: relative; }
.zg-punkte li::before { content: ""; position: absolute; left: 0; top: .55em; width: .6rem; height: .6rem; background: var(--marker); border-radius: 2px; }
.zg-grenze { background: var(--papier-dunkel); border-radius: 10px; padding: clamp(16px, 3vw, 24px); }
.zg-grenze p:last-child { margin-bottom: 0; }
.zielgruppen-zeile { margin: 1.2rem 0; }

/* Wertrechner im Abschnitt Preise (A-151) */
.rechner { margin: 28px 0; padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--linie); border-radius: 10px; display: grid; gap: 18px; }
.rechner-kopf h3, .rechner-kopf p, .rechner-ergebnis p { margin: 0; }
.rechner-kopf { display: grid; gap: .4rem; max-width: 62ch; }
.rechner-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; align-items: end; }
.rechner-form .label-zusatz { color: var(--text-schwach); display: block; margin-left: 0; }
.rechner-ergebnis { display: grid; gap: 12px; }
.rechner-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0; }
.rechner-zahlen div { background: var(--papier); border: 1px solid var(--linie); border-radius: 8px; padding: .7rem .9rem; display: grid; align-content: space-between; gap: .3rem; }
.rechner-zahlen dt { font-size: .8rem; color: var(--text-schwach); }
.rechner-zahlen dd { margin: 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tinte); }

/* Website-Stichprobe (website-pruefen.html, A-151): Formular, Fortschritt, Ergebnis mit Fundkarten */
.scan-innen { display: grid; gap: 28px; max-width: 880px; }
.scan [hidden] { display: none !important; }   /* display:grid unten würde das Attribut hidden sonst aufheben */
.scan .datenhinweis a { color: var(--tinte); }
.scan-weitere li { display: block; }
.scan-form { display: grid; gap: 16px; padding: clamp(18px, 3vw, 28px); background: #fff; border: 1px solid var(--linie); border-radius: 10px; }
.scan-form .label-zusatz { color: var(--text-schwach); }
.scan-form .knopf { justify-self: start; }
.scan-haken { grid-template-columns: auto minmax(0, 1fr); align-items: start; column-gap: .7rem; }
.scan-haken input { width: 1.25rem; height: 1.25rem; margin-top: .2rem; padding: 0; accent-color: var(--tinte); }
.scan-haken label { font-weight: 400; }
.scan .datenhinweis { font-size: .85rem; color: var(--text-schwach); margin: 0; }
.scan-ablauf { margin: 0; padding-left: 1.3rem; display: grid; gap: .35rem; max-width: 70ch; }
.scan-alternative { margin: 0; }
.test .test-weiter { font-size: .9rem; margin: 1.2rem 0 0; color: rgba(247,243,234,.85); }
.test .test-weiter a { color: var(--papier); }
.scan-demo { background: var(--marker-flaeche); border-left: 4px solid var(--marker); padding: .8rem 1rem; margin: 0; border-radius: 0 6px 6px 0; }
.scan-lauf, .scan-ergebnis { display: grid; gap: 18px; }
.scan-lauf h2, .scan-ergebnis h2 { margin: 0; }
.scan-lauf h2:focus, .scan-ergebnis h2:focus { outline: none; }
.scan-balken { height: 12px; background: var(--papier-dunkel); border: 1px solid var(--linie); border-radius: 999px; overflow: hidden; }
.scan-balken span { display: block; height: 100%; background: var(--tinte); transition: width .4s ease; }
@media (prefers-reduced-motion: reduce) { .scan-balken span { transition: none; } }
.scan-phase { margin: 0; font-family: var(--mono); font-size: .85rem; color: var(--text-schwach); }
.scan-zahlen { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 0; }
.scan-zahlen div { background: #fff; border: 1px solid var(--linie); border-radius: 8px; padding: .7rem .9rem; }
.scan-zahlen dt { font-size: .8rem; color: var(--text-schwach); }
.scan-zahlen dd { margin: 0; font-family: var(--serif); font-size: 1.7rem; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--tinte); }
.scan-umfang, .scan-weitere, .scan-weiter { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: clamp(16px, 3vw, 24px); display: grid; gap: 12px; }
.scan-umfang h3, .scan-weitere h3, .scan-weiter h3, .scan-ergebnis section > h3 { margin: 0; }
.scan-umfang p, .scan-weitere p, .scan-weiter p { margin: 0; }
.scan-gruende, .scan-weitere ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; }
.scan-weitere ul { list-style: none; padding-left: 0; }
.scan-weiter { background: var(--tinte); color: var(--papier); border-color: var(--tinte); }
.scan-weiter h3 { color: #fff; }
.scan-weiter .knopf-voll { background: var(--marker); color: var(--tinte-tief); border-color: var(--marker); }
.scan-weiter .knopf-leer { color: var(--papier); border-color: var(--papier); }
.scan-weiter p:last-child { display: flex; flex-wrap: wrap; gap: 10px; }
.scan-mail { margin: 0; padding: .7rem 1rem; background: var(--gruen-flaeche); border-left: 4px solid var(--gruen); border-radius: 0 6px 6px 0; }
.scan-ergebnis > section { display: grid; gap: 16px; }
.scan-befund { background: #fff; border: 1px solid var(--linie); border-left: 6px solid var(--marker); border-radius: 0 10px 10px 0; padding: clamp(16px, 3vw, 24px); display: grid; gap: 12px; }
.scan-befund.scan-rot { border-left-color: var(--rot); }
.scan-befund.scan-gruen { border-left-color: var(--gruen); }
.scan-befund > * { margin: 0; }
.scan-befund header { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.scan-kategorie { font-size: .9rem; color: var(--text-schwach); }
.scan-befund h3 { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.45rem); line-height: 1.3; overflow-wrap: anywhere; }
.scan-befund h3 q { quotes: "„" "“"; background: var(--marker-flaeche); padding: 0 .15em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.scan-rot h3 q { background: var(--rot-flaeche); }
.scan-gruen h3 q { background: var(--gruen-flaeche); }
.scan-befund h4 { font-size: .95rem; margin: 0; }
.scan-orte { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-size: .85rem; }
.scan-element { font-weight: 600; }
.scan-pfad { font-family: var(--mono); color: var(--text-schwach); overflow-wrap: anywhere; }
.scan-register { background: var(--gruen-flaeche); border-radius: 8px; padding: .9rem 1rem; display: grid; gap: .5rem; }
.scan-register p { margin: 0; }
.scan-fragen { padding-left: 1.2rem; display: grid; gap: .35rem; }
.scan-konfidenz { font-size: .9rem; color: var(--text-schwach); }
.scan-recht summary { cursor: pointer; font-weight: 600; padding: .5rem 0; min-height: 44px; display: flex; align-items: center; }
.scan-recht ul { list-style: none; padding: 0; margin: .5rem 0; display: grid; gap: 14px; }
.scan-norm { margin: 0 0 .4rem; font-weight: 600; }
.scan-norm .hinweis { font-weight: 400; }
.scan-zitat { margin: 0 0 .5rem; padding: .6rem .9rem; border-left: 3px solid var(--linie); background: var(--papier); font-size: .9rem; white-space: pre-line; overflow-wrap: anywhere; }
.scan-zitat p { margin: 0; }
.scan-zitat footer { margin-top: .3rem; font-family: var(--mono); font-size: .75rem; color: var(--text-schwach); }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Satztest hell wie die Startseite (Akos 26.11.2026): die Seite text-pruefen.html hat keinen dunklen Abschnitt mehr;
   die Farben unten überschreiben die früheren hellen Schriftfarben auf dunklem Grund */
.test .schmal, .test .test-weiter, .test .demo-ergebnis > .hinweis { color: var(--text-schwach); }
.test .test-weiter a, .test .datenhinweis a { color: var(--tinte); }
.test .datenhinweis, .test .hinweis, .test .demo-zaehler, .test .demo-beispiele { color: var(--text-schwach); }
.test .demo label, .test .demo-titel, .test .demo-leer { color: var(--text); }
.test .label-zusatz { color: var(--text-schwach); }
.test .demo-zaehler.knapp { color: var(--marker-text); }
.test .demo-chip { color: var(--tinte); border-color: var(--linie); background: #fff; }
.test .demo-chip:hover { border-color: var(--tinte); color: var(--tinte); background: var(--marker-flaeche); }
.test .demo .fehler, .test .demo-fehler { color: var(--rot-text); }
.test .demo-fehler { border-left-color: var(--rot); background: var(--rot-flaeche); }
.test .demo textarea[aria-invalid="true"] { border-color: var(--rot); outline-color: var(--rot); }
.test .demo-notizen li { background: #fff; color: var(--text); box-shadow: 0 6px 16px rgba(20,33,61,.08); }
.test .demo-notizen .nr { color: var(--tinte); }
.test .demo-notizen .zitat, .test .demo-notizen .quelle, .test .demo-zitat pre { color: var(--text-schwach); }
.test .demo-zitat summary { color: var(--tinte); text-decoration: underline; text-underline-offset: .2em; }
.test .demo-platzhalter { border-color: var(--linie); background: #fff; }
.test .demo-platzhalter h2, .test .demo-platzhalter h3 { color: var(--text); }
.test .demo-platzhalter p, .test .demo-platzhalter .legende dd { color: var(--text-schwach); }

/* Themenseiten (umweltaussagen.html, heilmittelwerbegesetz.html, health-claims-liste.html; scripts/themen_layout.py).
   Volle Inhaltsbreite bündig mit dem Logo, wechselnde Abschnittsflächen, Inhalte in Karten, ein Abstandsraster (8 px). */
.thema h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 1.25rem; }
.thema h3 { font-size: 1.15rem; margin: 0 0 .5rem; }
.abschnitt-schmal { padding-block: 24px; }
.thema-hero { padding-block: clamp(40px, 5vw, 64px); }
.thema-hero-raster { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.thema-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin: 0 0 1rem; }
.thema-kurz { font-size: 1.08rem; max-width: 62ch; margin: 0 0 1.5rem; }
.thema-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.thema-fakten { background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--marker); border-radius: 10px; padding: 20px 24px; }
.thema-fakten-titel { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--marker-text); margin: 0 0 12px; }
.thema-fakten dl { margin: 0; display: grid; gap: 12px; }
.thema-fakten dl > div { display: grid; gap: 2px; padding-bottom: 12px; border-bottom: 1px solid var(--linie); }
.thema-fakten dt { font-size: .82rem; color: var(--text-schwach); }
.thema-fakten dd { margin: 0; font-weight: 600; }
.thema-fakten-hinweis { font-size: .82rem; color: var(--text-schwach); margin: 12px 0 0; }
.thema-band-titel { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--marker-text); margin: 0 0 10px; }
.thema-sprung { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.thema-sprung a { display: inline-block; padding: 6px 12px; background: #fff; border: 1px solid var(--linie); border-radius: 999px; font-size: .9rem; text-decoration: none; color: var(--tinte); }
.thema-sprung a:hover { border-color: var(--tinte); }
.thema-einleitung { max-width: 70ch; color: var(--text-schwach); margin: -.5rem 0 1.5rem; }
.thema-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.thema-karte { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 20px 24px; scroll-margin-top: 96px; display: flex; flex-direction: column; align-items: stretch; }
.thema-karte .status { align-self: flex-start; }
.thema-karte p { margin: 0 0 12px; }
.thema-karte > :last-child { margin-bottom: 0; }
.thema-karte .status { margin-bottom: 10px; }
.thema .status.rot { color: var(--rot-text); background: var(--rot-flaeche); border-color: var(--rot); }
.thema .status.gelb { color: var(--marker-text); background: var(--marker-flaeche); border-color: var(--marker); }
.thema-begriffe { font-size: .9rem; color: var(--text-schwach); }
.thema-beispiele { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.thema-beispiele li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; background: var(--papier); border-radius: 8px; padding: 8px 12px; }
.thema-beispiele q { quotes: "„" "“"; font-family: var(--serif); }
.thema-beispiele a { font-size: .88rem; font-weight: 600; white-space: nowrap; }
.thema-besser { border-left: 4px solid var(--gruen); background: var(--gruen-flaeche); padding: 10px 14px; border-radius: 0 8px 8px 0; }
.thema-quelle { border-top: 1px solid var(--linie); padding-top: 10px; margin-top: auto; }
.thema-quelle summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--tinte); padding: 4px 0; }
.thema-quelle blockquote { margin: 10px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--tinte); font-family: var(--serif); }
.thema-quelle .hinweis { margin: 0; }
.thema-fragen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 16px; }
.thema-frage { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 20px 24px; }
.thema-frage p { margin: 0; }
.thema-abschluss-raster { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 24px 48px; align-items: center; }
.thema-abschluss p { margin: 0; }
.thema-abschluss h2 { margin-bottom: .75rem; }
.thema-zitat-block { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 20px 24px; }
.thema-zitat-block blockquote { margin: 12px 0; padding: 4px 0 4px 14px; border-left: 3px solid var(--tinte); font-family: var(--serif); }
.thema-zitat-block > :last-child { margin-bottom: 0; }
/* Health-Claims-Liste */
.hc-suche { display: grid; gap: 6px; max-width: 520px; margin: 0 0 16px; }
.hc-suche label { font-weight: 600; }
.hc-suche input { padding: 10px 12px; font: inherit; border: 1px solid var(--linie); border-radius: 8px; background: #fff; }
.hc-suche .hinweis { margin: 0; min-height: 1.2em; }
.hc-stoffe { display: grid; gap: 16px; }
.hc-stoff h2 { font-size: 1.3rem; margin: 0 0 12px; }
.hc-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 12px; }
.hc-angabe { background: var(--papier); border-radius: 8px; padding: 12px 14px; }
.hc-angabe p { margin: 0 0 6px; }
.hc-angabe > :last-child { margin-bottom: 0; }
.hc-wortlaut { font-family: var(--serif); font-weight: 600; }
.hc-bed { font-size: .9rem; }
@media (max-width: 860px) {
  .thema-hero-raster, .thema-abschluss-raster { grid-template-columns: minmax(0, 1fr); }
}
/* Startseite: Ratgeber nach Thema (Verweise auf die Themenseiten) */
.ratgeber-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.ratgeber-karte { text-decoration: none; color: var(--tinte); transition: border-color .15s, transform .15s; }
.ratgeber-karte:hover, .ratgeber-karte:focus-visible { border-color: var(--tinte); transform: translateY(-2px); }
.ratgeber-karte h3 { font-size: 1.1rem; margin: 0 0 6px; }
.ratgeber-karte h3::after { content: " →"; }
.ratgeber-karte p { margin: 0; color: var(--text-schwach); font-size: .95rem; }
.ratgeber .thema-einleitung { margin-top: -.5rem; }
.thema-stelle { font-size: .82rem; font-weight: 600; color: var(--text-schwach); margin: 12px 0 0; }
