/* =====================================================================
   wahlhelfer.info, Theme "Wahlraum" (T2, 26.11.2026)
   Handbuch für den Wahlraum: Papierweiß als Grund, tiefes Petrol für Kopf, Überschriften und Links, Blaugrau für ruhige Flächen,
   Sand für Kästen, Bernstein nur für den wichtigsten Knopf je Ansicht und für Markierungen. Kästen mit feiner Linie und kleiner
   Beschriftung oben links wie auf einem Formular, keine Schatten, nichts schwebt (kein sticky, kein fixed).
   Schriften: DM Sans (Text), Bitter (Überschriften), lokal, OFL. Kontraste: daten/t2/kontrast.py.
   ===================================================================== */

@font-face { font-family: "DM Sans"; src: url("fonts/dm-sans-var.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("fonts/bitter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --papier: #f7f5ef;
  --karte: #fffdf8;
  --text: #1b2630;
  --text2: #4a5761;
  --petrol: #16475a;
  --petrol-hell: #2b6278;
  --kopf: #123a4a;
  --kopf-text: #ffffff;
  --kopf-text2: #c3d8df;
  --fuss: #0f3140;
  --fuss-text: #e6eef1;
  --fuss-text2: #b7cdd5;
  --blaugrau: #e3e9ec;
  --blaugrau-tief: #cfd9de;
  --sand: #f2ead9;
  --bernstein: #e8a33d;
  --bernstein-hover: #d99327;
  --auf-bernstein: #2a1900;
  --linie: #c3ccd1;
  --linie-k: #a9b5bc;
  --eingabe: #7d8a93;
  --kaestchen: #6f7d86;
  --warn-grund: #fbece4;
  --warn-text: #7a2e12;
  --fehler: #a3311a;
  --gueltig: #1f6a3a;
  --ungueltig: #a3311a;
  --beschluss: #7a4a00;
  --fokus: #16475a;
  --radius: 6px;
  --schrift: "DM Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --schrift-titel: "Bitter", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-ansicht="hell"]) {
    --papier: #0e191f; --karte: #16242c; --text: #e3e9ec; --text2: #a6b5be; --petrol: #82c6d8; --petrol-hell: #9fd3e2;
    --kopf: #0a2633; --kopf-text: #ffffff; --kopf-text2: #b7cdd5; --fuss: #0a2633; --fuss-text: #e3e9ec; --fuss-text2: #a6b5be;
    --blaugrau: #16242c; --blaugrau-tief: #20323c; --sand: #26231b; --bernstein: #f0b250; --bernstein-hover: #f4c06e; --auf-bernstein: #241500;
    --linie: #2c3e48; --linie-k: #3d525d; --eingabe: #6e808b; --kaestchen: #7f939e; --warn-grund: #2e1b14; --warn-text: #f6c3ad; --fehler: #f29a85;
    --gueltig: #7fd19b; --ungueltig: #f29a85; --beschluss: #f0c06a; --fokus: #82c6d8; color-scheme: dark;
  }
}
:root[data-ansicht="dunkel"] {
  --papier: #0e191f; --karte: #16242c; --text: #e3e9ec; --text2: #a6b5be; --petrol: #82c6d8; --petrol-hell: #9fd3e2;
  --kopf: #0a2633; --kopf-text: #ffffff; --kopf-text2: #b7cdd5; --fuss: #0a2633; --fuss-text: #e3e9ec; --fuss-text2: #a6b5be;
  --blaugrau: #16242c; --blaugrau-tief: #20323c; --sand: #26231b; --bernstein: #f0b250; --bernstein-hover: #f4c06e; --auf-bernstein: #241500;
  --linie: #2c3e48; --linie-k: #3d525d; --eingabe: #6e808b; --kaestchen: #7f939e; --warn-grund: #2e1b14; --warn-text: #f6c3ad; --fehler: #f29a85;
  --gueltig: #7fd19b; --ungueltig: #f29a85; --beschluss: #f0c06a; --fokus: #82c6d8; color-scheme: dark;
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--papier); color: var(--text); font-family: var(--schrift); font-size: 17px; line-height: 1.62; font-optical-sizing: auto; overflow-wrap: break-word; }
@media (min-width: 1100px) { body { font-size: 19px; } }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--schrift-titel); color: var(--petrol); font-weight: 600; line-height: 1.22; margin: 0 0 .6em; letter-spacing: -.005em; }
h1 { font-size: clamp(1.85rem, 1.25rem + 2.4vw, 2.75rem); }
h1.h1-lang { font-size: clamp(1.6rem, 1.15rem + 1.8vw, 2.3rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.65rem); margin-top: 2em; }
h3 { font-size: 1.18rem; margin-top: 1.6em; }
p, ul, ol, dl, blockquote, figure { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .3em; }
strong { font-weight: 650; }
.unsichtbar { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.huelle { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 480px) { .huelle { padding: 0 16px; } }
.lesespalte { max-width: 800px; margin-left: auto; margin-right: auto; }
.lesespalte-breit { max-width: 860px; }
.symbol { flex: none; vertical-align: middle; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--karte); color: var(--petrol); padding: .55rem 1rem; border: 2px solid var(--petrol); border-radius: var(--radius); font-weight: 600; }
.sprung:focus { top: 12px; }
[hidden] { display: none !important; }

/* ---------- Kopf ---------- */
.kopf { background: var(--kopf); color: var(--kopf-text); }
.kopf a { color: var(--kopf-text); }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.wortmarke { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; color: inherit; margin: 0; }
.wm-zeichen { color: var(--kopf-text); width: 34px; height: 34px; }
.wm-text { display: inline-flex; align-items: baseline; white-space: nowrap; }
.wm-a { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.42rem; letter-spacing: -.01em; }
.wm-b { font-size: 1.1rem; color: var(--kopf-text2); font-weight: 450; }
.kopf-rechts { display: flex; align-items: center; gap: .5rem; }
.kopf-knopf { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .95rem; line-height: 1.3; white-space: nowrap; }
.kopf-knopf:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.kopf-knopf .kk-zeichen { color: var(--kopf-text); }
.ansicht-knopf, .menue-knopf { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 44px; min-height: 44px; padding: 0 .55rem; background: transparent; color: var(--kopf-text); border: 1.5px solid transparent; border-radius: var(--radius); font: inherit; font-weight: 600; cursor: pointer; }
.ansicht-knopf:hover, .menue-knopf:hover { border-color: rgba(255, 255, 255, .45); }
.symbol-sonne { display: none; }
:root[data-ansicht="dunkel"] .symbol-sonne { display: inline; }
:root[data-ansicht="dunkel"] .symbol-mond { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-ansicht="hell"]) .symbol-sonne { display: inline; }
  :root:not([data-ansicht="hell"]) .symbol-mond { display: none; }
}
.menue-knopf { display: none; }
.menue-knopf .symbol-zu { display: none; }
.menue-knopf[aria-expanded="true"] .symbol-zu { display: inline; }
.menue-knopf[aria-expanded="true"] .symbol-auf { display: none; }
.navigation { border-top: 1px solid rgba(255, 255, 255, .14); }
.navigation .huelle { display: flex; align-items: center; justify-content: space-between; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem 1.6rem; }
.navigation li + li { margin-top: 0; }
.navigation a { display: inline-block; padding: .7rem 0 .6rem; text-decoration: none; color: var(--kopf-text2); font-weight: 550; border-bottom: 3px solid transparent; }
.navigation a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .35); }
.navigation a[aria-current="page"], .navigation a.ist-bereich { color: #fff; border-bottom-color: var(--bernstein); }
.nav-ansicht { display: none; }
@media (max-width: 999px) {
  .js .menue-knopf { display: inline-flex; }
  .js .navigation { display: none; }
  .js .navigation.offen { display: block; }
  .navigation .huelle { flex-direction: column; align-items: stretch; padding-bottom: .6rem; }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation a { display: block; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .navigation a[aria-current="page"], .navigation a.ist-bereich { border-bottom-color: rgba(255, 255, 255, .1); box-shadow: inset 4px 0 0 var(--bernstein); padding-left: .8rem; }
}
@media (max-width: 680px) {
  .kopf-knopf span { font-size: .88rem; }
  .kopf-knopf { padding: .4rem .65rem; }
}
@media (max-width: 560px) {
  .kopf-zeile { gap: .4rem; min-height: 60px; }
  .kopf-rechts { gap: .25rem; }
  .kopf-rechts > .ansicht-knopf { display: none; }
  .nav-ansicht { display: block; padding: .6rem 0 .2rem; }
  .ansicht-knopf-nav { border-color: rgba(255, 255, 255, .35); }
  .menue-knopf span { display: none; }
  .wm-zeichen { width: 28px; height: 28px; }
  .wortmarke { gap: .4rem; }
  .wm-a { font-size: 1.16rem; }
  .wm-b { font-size: .92rem; }
}
@media (max-width: 440px) {
  .kopf-knopf { padding: .45rem .55rem; min-height: 44px; }
  .kopf-knopf span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .kopf-knopf::after { content: "Übung"; font-size: .88rem; }
}

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem; min-height: 46px; border-radius: var(--radius); border: 1.5px solid transparent; font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.25; text-decoration: none; cursor: pointer; text-align: center; }
.knopf-haupt { background: var(--bernstein); color: var(--auf-bernstein); border-color: var(--bernstein); }
.knopf-haupt:hover { background: var(--bernstein-hover); border-color: var(--bernstein-hover); }
.knopf-ruhig { background: var(--petrol); color: var(--papier); border-color: var(--petrol); }
.knopf-ruhig:hover { background: var(--petrol-hell); border-color: var(--petrol-hell); }
.knopf-linie { background: transparent; color: var(--petrol); border-color: var(--petrol); }
.knopf-linie:hover { background: var(--blaugrau); }
.knopf-klein { min-height: 40px; padding: .45rem .85rem; font-size: .92rem; }
.knopf a, a.knopf { text-decoration: none; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: .7rem; align-items: center; margin: 1.1rem 0 0; }
.textknopf { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: .45rem .2rem; min-height: 44px; color: var(--petrol); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.mehr { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .3rem; }
.mehr::after { content: ""; width: .5em; height: .5em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); margin-left: .1em; }
.mehr:hover { text-decoration: underline; }

/* ---------- Kennung, Formularbeschriftung, Kästen ---------- */
.kennung { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); margin: 0 0 .7rem; }
.kennung::before { content: ""; width: 1.6rem; height: 3px; background: var(--bernstein); border-radius: 2px; }
.einleitung { font-size: 1.12em; color: var(--text); max-width: 46em; }
.stand { color: var(--text2); font-size: .92rem; }
/* Formularkasten: feine Linie, kleine Beschriftung auf dem Rand oben links */
.kurzantwort, .kasten, .fundstelle, .pruefliste-rahmen, .rollenkarte, .mustertext, .kasten-recht, .kasten-werkzeug, .inhalt-verzeichnis, .begriff-steckbrief {
  position: relative; border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 2rem 0 1.4rem; padding: 1.35rem 1.25rem 1rem; background: var(--karte);
}
.kurzantwort-titel, .kasten-titel, .fs-kopf, .pl-titel, .rk-amt, .mt-titel, .kr-titel, .kw-kennung, .iv-titel {
  position: absolute; top: 0; left: .9rem; transform: translateY(-50%); margin: 0; padding: .05rem .5rem; background: var(--papier);
  font-family: var(--schrift); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol); line-height: 1.5;
  display: inline-flex; align-items: center; gap: .35rem; border: 1px solid var(--linie-k); border-radius: 4px;
}
.kurzantwort { background: var(--sand); font-size: 1.06em; }
.kurzantwort p:last-child, .kasten p:last-child { margin-bottom: 0; }
.kasten { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; }
.kasten-symbol { color: var(--petrol); margin-top: .15rem; }
.kasten-hinweis { background: var(--blaugrau); }
.kasten-warnung { background: var(--warn-grund); border-color: var(--warn-text); color: var(--warn-text); }
.kasten-warnung .kasten-symbol, .kasten-warnung .kasten-titel { color: var(--warn-text); }
.kasten-warnung a { color: var(--warn-text); }

.gilt-fuer { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin: 1rem 0 0; }
.gf-titel { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }
.gilt-fuer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.gilt-fuer li { margin: 0; padding: .2rem .7rem; border: 1px solid var(--petrol); border-radius: 999px; font-size: .9rem; font-weight: 600; color: var(--petrol); background: var(--karte); }

/* ---------- Brotkrumen ---------- */
.brotkrumen ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .1rem .4rem; font-size: .88rem; color: var(--text2); }
.brotkrumen li { margin: 0; display: inline-flex; align-items: center; gap: .4rem; }
.brotkrumen li + li::before { content: "/"; color: var(--linie-k); }
.brotkrumen a { color: var(--text2); }

/* ---------- Startseite ---------- */
.start-kopf { position: relative; background: var(--blaugrau); }
.start-bild { margin: 0; position: relative; }
.start-bild img { width: 100%; height: clamp(440px, 46vw, 600px); object-fit: cover; object-position: 70% 50%; }
.start-bild figcaption, .seitenkopf-bild figcaption, .titelbild-hinweis { position: absolute; right: .6rem; bottom: .6rem; margin: 0; }
.bildhinweis { display: inline-block; font-size: .74rem; line-height: 1.3; padding: .15rem .45rem; border-radius: 3px; background: rgba(15, 49, 64, .82); color: #fff; }
.start-huelle { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.start-text { pointer-events: auto; max-width: 560px; background: var(--papier); border: 1px solid var(--linie-k); border-radius: var(--radius); padding: 2rem 2rem 1.6rem; }
.start-text h1 { margin-bottom: .45em; }
.start-text .einleitung { font-size: 1.06em; }
.start-praxis, .autor-praxis { display: flex; gap: .5rem; align-items: flex-start; margin: 1.2rem 0 0; font-size: .93rem; color: var(--text2); }
.start-praxis .symbol, .autor-praxis .symbol { color: var(--petrol); margin-top: .2rem; }
@media (max-width: 860px) {
  .start-bild img { height: 240px; object-position: 60% 50%; }
  .start-huelle { position: static; display: block; pointer-events: auto; padding-bottom: 1.6rem; }
  .start-text { max-width: none; margin-top: -2.2rem; position: relative; padding: 1.5rem 1.2rem 1.3rem; }
}
.abschnitt { padding: 3rem 0; }
.abschnitt-eng { padding: 2rem 0 2.5rem; }
.abschnitt-flaeche, .band { background: var(--blaugrau); }
.abschnitt-flaeche .kurzantwort-titel, .band .kurzantwort-titel { background: var(--blaugrau); }
.abschnitt-titel { margin-top: 0; }
.abschnitt-titel-klein { font-size: 1.3rem; }
.abschnitt-kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1.4rem; }
.abschnitt-kopf .abschnitt-titel { margin-bottom: .2em; }
.abschnitt-satz { margin: 0; color: var(--text2); }
.band { padding: 2.6rem 0; }

.einstiege { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.einstiege li { margin: 0; }
.einstieg { position: relative; display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.2rem 1.2rem 2.6rem; background: var(--karte); border: 1px solid var(--linie-k); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.einstieg:hover { border-color: var(--petrol); }
.einstieg:hover .einstieg-titel { text-decoration: underline; }
.einstieg-nr { position: absolute; top: .9rem; right: 1rem; width: 1.75rem; height: 1.75rem; border: 1.5px solid var(--linie-k); border-radius: 50%; display: grid; place-items: center; font-size: .85rem; font-weight: 700; color: var(--text2); font-variant-numeric: tabular-nums; }
.einstieg-symbol { color: var(--petrol); margin-bottom: .2rem; }
.einstieg-titel { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; line-height: 1.3; color: var(--petrol); padding-right: 2rem; }
.einstieg-text { color: var(--text2); font-size: .95rem; }
.einstieg-pfeil { position: absolute; left: 1.2rem; bottom: .9rem; color: var(--petrol); }

.termine { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.termin { margin: 0; padding: 1rem 1.1rem; background: var(--karte); border: 1px solid var(--linie-k); border-radius: var(--radius); border-top: 4px solid var(--petrol); }
.termin-erwartet { border-top-style: dashed; border-top-color: var(--linie-k); }
.termin p { margin: 0; }
.termin-datum { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.35rem; color: var(--petrol); font-variant-numeric: tabular-nums; }
.termin-wahl { font-weight: 650; margin-top: .25rem !important; }
.termin-land { color: var(--text2); font-size: .95rem; }
.termin-stand { display: inline-flex; align-items: center; gap: .3rem; margin-top: .5rem !important; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--text2); }
.termin-festgelegt .termin-stand { color: var(--gueltig); }
.termin-hinweis { margin-top: .5rem !important; font-size: .88rem; color: var(--text2); }
.termine-voll { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.termine-quellen { margin: 1rem 0 0; font-size: .85rem; color: var(--text2); }

.arbeitsweise ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.arbeitsweise li { margin: 0; padding: 1.3rem 1.2rem 1rem; border-top: 3px solid var(--petrol); background: var(--karte); border-radius: 0 0 var(--radius) var(--radius); }
.arbeitsweise h3 { margin: .5rem 0 .4rem; }
.arbeit-symbol { color: var(--petrol); }
.arbeit-privat { display: flex; gap: .5rem; align-items: flex-start; margin: 1.4rem 0 0; color: var(--text2); font-size: .95rem; }
.abschnitt-text { padding-top: 1rem; }

/* ---------- Karten ---------- */
.karten { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
@media (min-width: 900px) { .karten-3 { grid-template-columns: repeat(3, 1fr); } }
.karte { margin: 0; }
.karte-link { display: flex; flex-direction: column; height: 100%; background: var(--karte); border: 1px solid var(--linie-k); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--text); }
.karte-link:hover { border-color: var(--petrol); }
.karte-link:hover .karte-titel { text-decoration: underline; }
.karte-bild { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--blaugrau-tief); overflow: hidden; }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-ki { position: absolute; right: .45rem; bottom: .45rem; font-size: .7rem; line-height: 1.3; padding: .1rem .4rem; border-radius: 3px; background: rgba(15, 49, 64, .82); color: #fff; }
.karte-text { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem 1.15rem; }
.karte-rubrik { display: flex; flex-wrap: wrap; gap: .2rem .8rem; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
.karte-rubrik time { letter-spacing: 0; font-weight: 500; text-transform: none; font-size: .85rem; }
.karte-titel { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.14rem; line-height: 1.3; color: var(--petrol); }
.karte-satz { color: var(--text2); font-size: .94rem; }
.leer { padding: 1.5rem 0; color: var(--text2); }

/* ---------- Seitenkopf (Übersicht, Werkzeug, Kalender, Fehler) ---------- */
.seitenkopf { padding: 2.2rem 0 1.8rem; background: var(--blaugrau); border-bottom: 1px solid var(--linie); }
.seitenkopf .kurzantwort-titel, .seitenkopf .gf-titel { background: var(--blaugrau); }
.seitenkopf-raster { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 900px) { .seitenkopf-mit-bild .seitenkopf-raster { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }
.seitenkopf-bild { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.seitenkopf-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.seitenkopf h1 { margin-bottom: .4em; }
.seitenkopf .einleitung { margin-bottom: .2em; }
.seitenkopf .gilt-fuer { margin-bottom: 0; }

/* ---------- Artikel ---------- */
.artikel-kopf { padding: 2rem 20px .5rem; }
.artikel-text { padding: 0 20px 2.5rem; }
.artikel-kopf .lesespalte { max-width: 800px; }
.artikel-text.lesespalte { max-width: 840px; }
@media (max-width: 480px) { .artikel-kopf { padding-left: 16px; padding-right: 16px; } .artikel-text { padding-left: 16px; padding-right: 16px; } }
.artikel-meta { list-style: none; margin: 1.2rem 0 1.4rem; padding: .7rem 0; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; font-size: .9rem; color: var(--text2); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.artikel-meta li { margin: 0; }
.meta-name { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: .3rem; color: var(--text2); }
.titelbild { position: relative; margin: 0 0 1.5rem; }
.titelbild img { width: 100%; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.titelbild figcaption { font-size: .86rem; color: var(--text2); margin-top: .45rem; }
.titelbild figcaption .bildhinweis { margin-left: .2rem; }
.probehinweis { border: 2px dashed var(--bernstein); border-radius: var(--radius); padding: .8rem 1rem; background: var(--sand); font-size: .95rem; }
main > .probehinweis { max-width: 1160px; margin: 1.2rem auto 0; }
.artikel-text h2 { padding-top: .2rem; border-top: 1px solid var(--linie); padding-top: 1.2rem; }
.artikel-text > h2:first-child, .artikel-text .inhalt-verzeichnis + h2 { border-top: 0; padding-top: 0; }
.inhalt-verzeichnis { background: transparent; }
.inhalt-verzeichnis ol { margin: 0; padding-left: 1.4em; columns: 2 16em; column-gap: 2rem; }
.inhalt-verzeichnis li { break-inside: avoid; }
.q a { text-decoration: none; font-size: .78em; font-weight: 600; padding: 0 .1em; }
.drucken-zeile { margin-top: 1.4rem; }

/* Tabellen */
.tabelle-rahmen { margin: 1.4rem 0; overflow-x: auto; border: 1px solid var(--linie-k); border-radius: var(--radius); background: var(--karte); }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle caption { text-align: left; padding: .8rem 1rem .6rem; font-weight: 650; color: var(--petrol); caption-side: top; }
.tabelle th, .tabelle td { padding: .6rem 1rem; text-align: left; vertical-align: top; border-top: 1px solid var(--linie); }
.tabelle thead th { background: var(--blaugrau); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.tabelle .zahl { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 640px) {
  .tabelle-karten { overflow: visible; border: 0; background: transparent; }
  .tabelle-karten .tabelle, .tabelle-karten tbody, .tabelle-karten tr, .tabelle-karten td, .tabelle-karten th[scope="row"] { display: block; width: 100%; }
  .tabelle-karten thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tabelle-karten caption { display: block; padding: 0 0 .6rem; }
  .tabelle-karten tr { background: var(--karte); border: 1px solid var(--linie-k); border-radius: var(--radius); margin-bottom: .7rem; padding: .4rem 0; }
  .tabelle-karten td, .tabelle-karten th[scope="row"] { border: 0; padding: .3rem .9rem; text-align: left; }
  .tabelle-karten td[data-titel]::before { content: attr(data-titel); display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); }
  .tabelle-karten .zahl { text-align: left; white-space: normal; overflow-wrap: anywhere; font-variant-numeric: normal; }
  .tabelle-karten td, .tabelle-karten th[scope="row"] { overflow-wrap: anywhere; }
}

/* Schrittfolge */
.schritte { list-style: none; counter-reset: schritt; padding: 0; margin: 1.4rem 0; }
.schritte li { counter-increment: schritt; position: relative; padding: 0 0 1rem 3.1rem; margin: 0; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: -.1rem; width: 2.1rem; height: 2.1rem; border: 1.5px solid var(--petrol); border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: var(--petrol); font-variant-numeric: tabular-nums; background: var(--karte); }
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 1.03rem; top: 2.1rem; bottom: .1rem; width: 1px; background: var(--linie-k); }
.schritte strong { display: block; color: var(--petrol); }

/* Fundstelle */
.fundstelle { background: var(--karte); border-left: 4px solid var(--petrol); }
.fs-zeichen { color: var(--petrol); }
.fs-norm { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); font-size: 1.08rem; margin: 0 0 .5rem; }
.fs-gesetz { font-family: var(--schrift); font-weight: 450; color: var(--text2); font-size: .9rem; margin-left: .3rem; }
.fs-wortlaut { margin: 0 0 .6rem; padding: .1rem 0 .1rem .9rem; border-left: 3px solid var(--bernstein); color: var(--text); }
.fs-wortlaut p { margin: 0; }
.fs-quelle { margin: 0; font-size: .88rem; color: var(--text2); }
.fundstelle-kompakt .fs-norm { font-family: var(--schrift); font-size: .95rem; font-weight: 600; }

/* Prüfliste zum Abhaken */
.pruefliste-rahmen { background: var(--karte); }
.pruefliste { list-style: none; margin: 0; padding: 0; }
.pruefliste li { position: relative; margin: 0; border-bottom: 1px dashed var(--linie); }
.pruefliste li:last-child { border-bottom: 0; }
.pruefliste input[type="checkbox"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pruefliste label { display: flex; gap: .7rem; align-items: flex-start; padding: .6rem 0; cursor: pointer; min-height: 44px; }
.pruefliste label span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.pl-zeichen { flex: none; width: 24px; height: 24px; color: var(--kaestchen); margin-top: .05rem; }
.pl-zeichen path { opacity: 0; }
.pruefliste input:checked + label .pl-zeichen { color: var(--petrol); }
.pruefliste input:checked + label .pl-zeichen path { opacity: 1; }
.pruefliste input:checked + label span { color: var(--text2); }
.pruefliste input:focus-visible + label { outline: 3px solid var(--fokus); outline-offset: 2px; border-radius: 3px; }

/* Tagesablauf */
.tagesablauf { list-style: none; margin: 1.4rem 0; padding: 0; border-left: 2px solid var(--linie-k); }
.tagesablauf li { display: grid; grid-template-columns: 5.2rem 1fr; gap: .8rem; margin: 0; padding: .55rem 0 .55rem 1rem; position: relative; }
.tagesablauf li::before { content: ""; position: absolute; left: -7px; top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--papier); border: 2px solid var(--petrol); }
.ta-zeit { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 420px) { .tagesablauf li { grid-template-columns: 1fr; gap: .1rem; } }

/* Rollenkarten */
.rollenkarten { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); margin: 1.4rem 0; }
.rollenkarte { margin: 1.2rem 0 .6rem; }
.rollenkarte ul { margin: 0; padding-left: 1.1em; }
.rk-amt .symbol { width: 16px; height: 16px; }

/* Zahl mit Quelle */
.kennzahl { margin: 1.6rem 0; padding: 1rem 1.2rem; border-left: 4px solid var(--bernstein); background: var(--karte); border-radius: 0 var(--radius) var(--radius) 0; }
.kennzahl strong { display: block; font-family: var(--schrift-titel); font-size: 2rem; font-weight: 600; color: var(--petrol); line-height: 1.15; font-variant-numeric: tabular-nums; }
.kennzahl figcaption { color: var(--text2); font-size: .95rem; margin-top: .3rem; }

/* Mustertext */
.mustertext { background: var(--karte); }
.mt-kopf { display: flex; justify-content: flex-end; margin: -.4rem 0 .6rem; }
.mt-text { border: 1px dashed var(--linie-k); border-radius: 4px; padding: 1rem 1.1rem; background: var(--papier); }
.mt-text p:last-child { margin-bottom: 0; }
.mt-status { margin: .5rem 0 0; font-size: .9rem; color: var(--gueltig); min-height: 1.4em; }

/* Diagramm */
.diagramm { margin: 1.6rem 0; }
/* T7: Diagramme sind 400 bis 640 Einheiten breit gezeichnet; die Höchstbreite (400 mal 1,5) hält sie auf dem Desktop lesbar klein, auf dem Telefon füllen sie die Spalte */
.diagramm img { display: block; box-sizing: border-box; width: 100%; max-width: 600px; height: auto; padding: .6rem; border: 1px solid var(--linie-k); border-radius: var(--radius); background: #fff; }
@media (max-width: 479px) { .diagramm img { padding: 0; } }
.diagramm figcaption { font-size: .88rem; color: var(--text2); margin-top: .45rem; }
/* T9: viele Quellenmarken hintereinander (bis 18) brechen um und wirken nicht als Block: klein, einzeln umbrechbar, mit Abstand */
.diagramm figcaption sup.q, .stimmzettel-fall figcaption sup.q { display: inline-block; margin: 0 .05rem .2rem .3rem; font-size: .72rem; line-height: 1.5; vertical-align: baseline; position: relative; top: -.2em; }
.diagramm figcaption sup.q a, .stimmzettel-fall figcaption sup.q a { font-size: 1em; font-weight: 500; padding: 0 .15em; color: var(--text2); }

/* Musterstimmzettel */
.stimmzettel-fall { margin: 2rem 0; }
.sz-blatt { max-width: 640px; background: #fff; border-radius: 4px; }
.sz-svg { display: block; width: 100%; height: auto; }
.stimmzettel-fall figcaption { margin-top: .9rem; }
.sz-titel { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); font-size: 1.1rem; margin-bottom: .5rem; }
.urteile { list-style: none; margin: 0 0 .8rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.urteil { margin: 0; padding: .35rem .75rem; border: 1.5px solid currentColor; border-radius: var(--radius); font-size: .93rem; background: var(--karte); }
.urteil-stimme { color: var(--text2); font-weight: 500; }
.urteil-gueltig { color: var(--gueltig); }
.urteil-ungueltig { color: var(--ungueltig); }
.urteil-beschluss { color: var(--beschluss); }
.sz-auch { font-size: .93rem; color: var(--text2); }
.sz-fundstelle { display: flex; gap: .45rem; align-items: flex-start; font-size: .92rem; }
.sz-fundstelle .symbol { color: var(--petrol); margin-top: .2rem; }
.sz-hinweis { font-size: .84rem; color: var(--text2); }

/* Kästen am Ende */
.kasten-jetzt { margin: 2.2rem 0 1.4rem; padding: 1.3rem 1.3rem 1rem; background: var(--sand); border-radius: var(--radius); border-left: 4px solid var(--bernstein); }
.kasten-jetzt h2 { margin: 0 0 .7rem; font-size: 1.25rem; border: 0; padding: 0; }
.kasten-jetzt ul { list-style: none; margin: 0; padding: 0; }
.kasten-jetzt li { display: flex; gap: .6rem; align-items: flex-start; }
.kasten-jetzt .symbol { color: var(--petrol); margin-top: .2rem; }
.kasten-werkzeug { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; align-items: start; background: var(--blaugrau); }
.kasten-werkzeug h2 { margin: .1rem 0 .3rem; font-size: 1.2rem; border: 0; padding: 0; }
.kasten-werkzeug p { margin-bottom: .6rem; }
.kasten-werkzeug .knopf { grid-column: 2; justify-self: start; }
.kw-symbol { color: var(--petrol); margin-top: .2rem; }
@media (max-width: 480px) { .kasten-werkzeug { grid-template-columns: 1fr; } .kasten-werkzeug .knopf { grid-column: 1; } .kw-symbol { display: none; } }
.kasten-recht { display: grid; grid-template-columns: auto 1fr; gap: .2rem .8rem; background: var(--karte); font-size: .95rem; }
.kasten-recht > .symbol { color: var(--petrol); margin-top: .1rem; }
.kasten-recht p:last-child { margin-bottom: 0; }

/* Fragen */
.fragen { margin-top: 2.4rem; }
.fragen details { border: 1px solid var(--linie-k); border-radius: var(--radius); background: var(--karte); margin-bottom: .6rem; }
.fragen summary { cursor: pointer; padding: .85rem 2.6rem .85rem 1rem; font-weight: 650; color: var(--petrol); position: relative; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: ""; position: absolute; right: 1.1rem; top: 1.1rem; width: .55rem; height: .55rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.fragen details[open] summary::after { transform: rotate(-135deg); top: 1.35rem; }
.fragen-antwort { padding: 0 1rem .4rem; }

/* Quellen und Autor */
.quellen { margin-top: 2.4rem; font-size: .9rem; color: var(--text2); }
.quellen h2 { font-size: 1.2rem; }
.quellen ol { padding-left: 1.6em; }
.quellen li { margin: 0 0 .35rem; }
.quellen-stand { margin-top: .6rem; }
.autor { display: flex; gap: 1rem; align-items: flex-start; margin: 2.4rem 0 1rem; padding: 1.2rem; border: 1px solid var(--linie-k); border-radius: var(--radius); background: var(--karte); list-style: none; }
.autorfoto { border-radius: 50%; flex: none; object-fit: cover; }
.autor-bild { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--blaugrau); color: var(--petrol); font-weight: 700; }
.autor-kennung { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text2); }
.autor-name { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; margin: 0 0 .3rem; }
.autor p:last-child { margin-bottom: 0; }
.autor .autor-praxis { margin: 0 0 .5rem; }
.autoren-liste { list-style: none; padding: 0; }
.autor-kopf { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }

/* Glossar */
.glossar { position: relative; }
.glossar-begriff { text-decoration-style: dotted; text-decoration-thickness: 1.5px; }
.glossar-fenster { position: absolute; left: 0; top: calc(100% + .45rem); z-index: 20; width: min(330px, calc(100vw - 32px)); padding: .8rem .95rem; background: var(--karte); color: var(--text); border: 1px solid var(--petrol); border-radius: var(--radius); font-size: .92rem; line-height: 1.5; transform: translateX(var(--gx, 0px)); font-weight: 400; }
.glossar.oben .glossar-fenster { top: auto; bottom: calc(100% + .45rem); }
.glossar-kopf { display: block; font-weight: 700; color: var(--petrol); margin-bottom: .2rem; }
.glossar-fund { display: block; margin-top: .45rem; padding-top: .4rem; border-top: 1px solid var(--linie-k); font-size: .85rem; color: var(--text2); }
.az ol { list-style: none; margin: 0 0 1.6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.az li { margin: 0; }
.az a, .az span { display: grid; place-items: center; min-width: 2.4rem; min-height: 2.4rem; padding: 0 .4rem; border: 1px solid var(--linie-k); border-radius: 4px; text-decoration: none; font-weight: 650; background: var(--karte); }
.az span { color: var(--text2); opacity: .55; }
.az-liste { display: grid; gap: 1.6rem; }
.az-gruppe h2 { margin: 0 0 .6rem; font-size: 1.5rem; border-bottom: 1px solid var(--linie); padding-bottom: .3rem; }
.az-gruppe ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.az-gruppe li { margin: 0; padding: .8rem 1rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--radius); }
.az-begriff { display: block; font-weight: 700; }
.az-text { display: block; color: var(--text2); font-size: .92rem; margin-top: .2rem; }
.begriff-steckbrief { display: grid; gap: .5rem; margin-top: 1.4rem; }
.begriff-steckbrief div { display: grid; grid-template-columns: minmax(8rem, 30%) 1fr; gap: .8rem; }
.begriff-steckbrief dt { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text2); padding-top: .15rem; }
.begriff-steckbrief dd { margin: 0; }
@media (max-width: 480px) { .begriff-steckbrief div { grid-template-columns: 1fr; gap: 0; } }
.glossar-az { margin-top: 2rem; }
.glossar-az .iv-titel { position: static; transform: none; display: inline-flex; margin-bottom: .6rem; background: transparent; }

/* Fehlerseiten */
.wege { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); }
.wege li { margin: 0; }
.wege a { display: block; height: 100%; padding: 1rem 1.1rem; background: var(--karte); border: 1px solid var(--linie-k); border-radius: var(--radius); text-decoration: none; }
.wege a:hover { border-color: var(--petrol); }
.weg-titel { display: block; font-weight: 700; }
.weg-text { display: block; color: var(--text2); font-size: .92rem; margin-top: .2rem; }

/* ---------- Werkzeuge ---------- */
.werkzeug-huelle { padding-top: 2rem; padding-bottom: 1rem; }
.werkzeug-flaeche { background: var(--karte); border: 1px solid var(--linie-k); border-top: 4px solid var(--petrol); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem; max-width: 1000px; margin: 0 auto; }
.wf-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .3rem 1rem; margin-bottom: .6rem; }
.wf-titel { margin: 0; font-size: 1.45rem; }
.wf-marke { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.feld-hilfe { font-size: .9rem; color: var(--text2); }
.feld-fehler { color: var(--fehler); font-weight: 600; margin: .5rem 0 0; min-height: 0; }
.feld-fehler:empty { display: none; }
.ohne-js { padding: .8rem 1rem; background: var(--sand); border-radius: var(--radius); }
.eingabe { display: flex; align-items: center; border: 1.5px solid var(--eingabe); border-radius: var(--radius); background: var(--karte); }
.eingabe:focus-within { outline: 3px solid var(--fokus); outline-offset: 1px; }
.eingabe input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: .65rem .8rem; min-height: 44px; }
.eingabe input:focus { outline: none; }
.erklaerung { padding-top: 1.6rem; }

/* Übung */
.ue-zaehler { margin: 0 0 .2rem; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text2); }
.ue-fall-titel { margin: 0 0 .4rem; font-size: 1.4rem; }
.ue-fall-titel:focus, .ue-aufl-titel:focus { outline: none; }
.ue-fall-titel:focus-visible, .ue-aufl-titel:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.ue-beschreibung { color: var(--text2); }
.ue-raster { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 900px) { .ue-raster { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.ue-raster .sz-blatt { border: 1px solid var(--linie); }
.ue-stimme { border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 0 0 .9rem; padding: .5rem .9rem .7rem; }
.ue-stimme legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); padding: 0 .35rem; font-size: 1.05rem; }
.ue-wahl { display: flex; align-items: center; gap: .6rem; }
.ue-wahl + .ue-wahl { border-top: 1px dashed var(--linie); }
.ue-wahl input { width: 1.25rem; height: 1.25rem; accent-color: var(--petrol); flex: none; margin: 0; }
.ue-wahl label { flex: 1; padding: .55rem 0; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
.ue-aufloesung { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.ue-aufl-titel { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); font-size: 1.2rem; margin-bottom: .6rem; }
.ue-urteile { flex-direction: column; align-items: flex-start; }
.ue-urteile .urteil { width: 100%; }
.ue-ihre { display: block; color: var(--text); font-size: .9rem; margin-top: .15rem; }
.urteil.passt .ue-ihre::before { content: ""; display: inline-block; width: .5em; height: .85em; border-right: 2.5px solid var(--gueltig); border-bottom: 2.5px solid var(--gueltig); transform: rotate(45deg); margin: 0 .55em 0 .15em; vertical-align: -.05em; }
.urteil.passt-nicht .ue-ihre::before { content: "≠"; font-weight: 700; color: var(--ungueltig); margin: 0 .4em 0 .1em; }
.ue-meldung:empty { display: none; }
.ue-meldung { padding: .6rem .9rem; border-radius: var(--radius); background: var(--blaugrau); }
.ue-ergebnis { font-size: 1.1em; font-weight: 600; }
.ue-liste { padding-left: 1.4em; }
.ue-liste li { margin: 0 0 .5rem; }
.ue-liste span { display: inline-block; margin-left: .7rem; font-size: .92rem; }
.ue-liste strong { display: block; }
.ue-liste span { margin-left: 0; margin-right: 1rem; }
.ue-passt { color: var(--gueltig); }
.ue-passt-nicht { color: var(--ungueltig); }

/* Packliste */
.pl-einleitung { color: var(--text2); }
.pl-gruppen { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr)); margin-top: 1rem; }
.pl-gruppe { border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 0; padding: .6rem 1rem 1rem; min-width: 0; }
.pl-gruppe legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); font-size: 1.1rem; padding: 0 .35rem; }
.pl-eigene label span { font-style: italic; }
.pl-eigene { display: flex; align-items: flex-start; gap: .4rem; }
.pl-eigene label { flex: 1; min-width: 0; }
.pl-weg { flex: none; background: none; border: 0; color: var(--petrol); text-decoration: underline; font: inherit; font-size: .85rem; padding: .7rem .2rem; cursor: pointer; min-height: 44px; }
.pl-neu { margin-top: .8rem; }
.pl-neu label { display: block; font-size: .85rem; font-weight: 600; color: var(--text2); margin-bottom: .3rem; }
.pl-neu-reihe { display: flex; flex-wrap: wrap; gap: .5rem; }
.pl-neu-reihe .eingabe { flex: 1 1 10rem; min-width: 0; }
.pl-steuerung { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--linie); }
.pl-status:empty { display: none; }
.pl-status { font-size: .92rem; color: var(--petrol); font-weight: 600; }
.schalter { display: inline-flex; align-items: center; gap: .7rem; background: none; border: 0; padding: .35rem 0; min-height: 44px; font: inherit; font-weight: 650; color: var(--text); cursor: pointer; text-align: left; }
.schalter-bahn { position: relative; flex: none; width: 2.9rem; height: 1.6rem; border-radius: 999px; background: var(--blaugrau-tief); border: 1.5px solid var(--eingabe); transition: background .15s; }
.schalter-knopf { position: absolute; top: 2px; left: 2px; width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--karte); border: 1.5px solid var(--eingabe); transition: transform .15s; }
.schalter[aria-checked="true"] .schalter-bahn { background: var(--petrol); border-color: var(--petrol); }
.schalter[aria-checked="true"] .schalter-knopf { transform: translateX(1.28rem); border-color: var(--petrol); }

/* ---------- Fuß ---------- */
.fuss { background: var(--fuss); color: var(--fuss-text); padding: 3rem 0 1.6rem; margin-top: 0; font-size: .95rem; }
.fuss a { color: var(--fuss-text); }
.fuss-oben { display: grid; gap: 2rem; }
@media (min-width: 960px) { .fuss-oben { grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); } }
.wortmarke-fuss .wm-zeichen { color: var(--fuss-text); }
.wortmarke-fuss .wm-b { color: var(--fuss-text2); }
.fuss-marke p { color: var(--fuss-text2); margin-top: .8rem; }
.fuss-spalten { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
.fuss-titel { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fuss-text2); margin: 0 0 .6rem; }
.fuss-spalte ul { list-style: none; margin: 0; padding: 0; }
.fuss-spalte li { margin: 0 0 .35rem; }
.fuss-spalte a { text-decoration: none; }
.fuss-spalte a:hover { text-decoration: underline; }
.fuss :focus-visible { outline-color: var(--bernstein); }
.fuss-hinweise { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .14); display: grid; gap: .6rem; }
.fuss-hinweis { display: flex; gap: .55rem; align-items: flex-start; margin: 0; color: var(--fuss-text2); }
.fuss-hinweis .symbol { margin-top: .15rem; color: var(--bernstein); }
.fuss-projekt { margin: 1.4rem 0 0; color: var(--fuss-text2); font-size: .9rem; }
.fuss-consent { background: none; border: 0; padding: 0; color: var(--fuss-text); font: inherit; text-decoration: underline; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.mt-status:empty { margin: 0; min-height: 0; }
.pl-zeichen { width: 26px; height: 26px; }
.artikel-meta + h2, .artikel-meta + .probehinweis + h2 { border-top: 0; padding-top: 0; }
/* Raster ohne einzelne Nachzügler: Termine 1, 2 oder 4 Spalten, Themen und Arbeitsweise 1 oder 3 Spalten */
.termine, .termine-voll { grid-template-columns: 1fr; }
@media (min-width: 520px) { .termine, .termine-voll { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .termine { grid-template-columns: repeat(4, 1fr); } .termine-voll { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) { .karten-3 { grid-template-columns: repeat(3, 1fr); } .arbeitsweise ul { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 700px) and (max-width: 899px) { .karten-3 .karte-satz { font-size: .9rem; } .karten-3 .karte-text { padding: .85rem .9rem 1rem; } }
.pl-gruppen { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pl-gruppen { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Werkzeuge T4 (26.11.2026): Erfrischungsgeld-Vergleich, Rechenprobe, Wegweiser Absage, Schichtplan, Zurückweisen, Prüfliste Wahlbriefe, Wahlkalender ---------- */
.eingabe select { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--text); font: inherit; padding: .65rem .8rem; min-height: 44px; appearance: auto; }
.eingabe select:focus { outline: none; }
.ev-feld { display: block; margin: 0 0 .8rem; min-width: 0; }
.ev-feld > label, .rp-feld > label, .aw-feld > label { display: block; font-weight: 650; margin: 0 0 .25rem; font-size: .95rem; }
.ev-filter, .kal-filter { display: grid; gap: .2rem 1rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); align-items: end; margin: 0 0 .6rem; }
.ev-filter .knopf-reihe, .kal-filter .knopf-reihe { margin: 0 0 .8rem; }
.ev-summe, .kal-summe { margin: .2rem 0 .6rem; font-weight: 650; color: var(--petrol); }
.ev-summe:empty, .kal-summe:empty { display: none; }
.ev-leer { margin: .4rem 0 1rem; }
.ev-tabelle td, .ev-tabelle th { overflow-wrap: anywhere; }
.ev-tabelle td:last-child { min-width: 12rem; }
.ev-pruefen { display: block; font-size: .85rem; color: var(--text2); }
.ev-beleg { display: block; font-size: .85rem; color: var(--text2); }
.ev-tabelle tr[hidden] { display: none; }
.kal-hilfe { margin-top: 0; }

/* Rechenprobe */
.rp-felder { display: grid; gap: .4rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); margin: 1rem 0; }
.rp-feld[hidden] { display: none; }
.rp-feld .feld-hilfe { margin: .3rem 0 0; }
.rp-kenn { display: inline-block; min-width: 2.2rem; padding: .05rem .4rem; margin-right: .3rem; border: 1.5px solid var(--petrol); border-radius: var(--radius); font-family: var(--schrift-titel); font-weight: 700; color: var(--petrol); text-align: center; font-size: .85rem; }
.rp-fund { display: block; font-size: .82rem; }
.rp-zeilen { border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 0 0 1rem; padding: .5rem 1rem .8rem; min-width: 0; }
.rp-zeilen legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); padding: 0 .35rem; }
.rp-zeilen[hidden] { display: none; }
.rp-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.rp-liste label { display: block; font-weight: 600; margin: .4rem 0 .2rem; }
.rp-ergebnis:empty { display: none; }
.rp-ergebnis { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.rp-kopf { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; color: var(--petrol); margin: 0 0 .6rem; }
.rp-kopf:focus { outline: none; }
.rp-kopf:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.rp-urteile { flex-direction: column; align-items: stretch; }
.rp-urteile .urteil { width: 100%; }
.rp-rechnung, .rp-hinweis { display: block; margin-top: .25rem; font-size: .9rem; color: var(--text); }
.rp-druckkopf { display: none; }

/* Wegweiser Absage */
.aw-wahlen { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.aw-schritt, .aw-frage { border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 0 0 1rem; padding: .6rem 1rem .8rem; min-width: 0; }
.aw-schritt > legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); padding: 0 .35rem; font-size: 1.05rem; }
.aw-schritt[hidden] { display: none; }
.aw-felder { display: grid; gap: .4rem 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.aw-fund { font-weight: 400; color: var(--text2); font-size: .9rem; }
.aw-frage { padding-top: .4rem; }
.aw-ergebnis { margin-top: 1rem; }
.aw-liste { padding-left: 1.2rem; }
.aw-liste li { margin: 0 0 .6rem; }
.aw-liste .aw-hinweis:empty { display: none; }
.aw-recht p { margin: 0; font-weight: 650; }
.aw-links { margin: .8rem 0; }

/* Schichtplan */
.sp-zeiten { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.sp-mitglied { border: 1px solid var(--linie-k); border-radius: var(--radius); margin: 0 0 1rem; padding: .5rem 1rem .8rem; min-width: 0; }
.sp-mitglied legend { font-family: var(--schrift-titel); font-weight: 600; color: var(--petrol); padding: 0 .35rem; }
.sp-kopf { display: grid; gap: 0 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.sp-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 .2rem; }
.sp-chip { position: relative; }
.sp-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.sp-chip label { display: inline-flex; align-items: center; min-height: 44px; min-width: 4.2rem; justify-content: center; padding: .3rem .7rem; border: 1.5px solid var(--eingabe); border-radius: var(--radius); background: var(--karte); cursor: pointer; font-variant-numeric: tabular-nums; }
.sp-chip input:checked + label { background: var(--petrol); border-color: var(--petrol); color: var(--papier); font-weight: 700; }
.sp-chip input:checked + label::before { content: "\2713\00a0"; }
.sp-chip input:focus-visible + label { outline: 3px solid var(--fokus); outline-offset: 2px; }
.sp-ergebnis:empty { display: none; }
.sp-ergebnis { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--linie); }
.sp-kopf-ergebnis { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.15rem; color: var(--petrol); margin: 0 0 .6rem; }
.sp-kopf-ergebnis:focus { outline: none; }
.sp-kopf-ergebnis:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.sp-raster { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.sp-block { margin: 0; padding: .5rem .7rem; border: 1.5px solid var(--linie-k); border-radius: var(--radius); background: var(--karte); display: grid; gap: .1rem; }
.sp-ok .sp-urteil { color: var(--gueltig); }
.sp-luecke { border-color: var(--ungueltig); }
.sp-luecke .sp-urteil { color: var(--ungueltig); }
.sp-zeit { font-weight: 700; font-variant-numeric: tabular-nums; }
.sp-phase, .sp-grund { font-size: .88rem; color: var(--text2); }
.sp-luecken-titel { font-size: 1.05rem; margin: 1rem 0 .4rem; }

/* Zurückweisen */
.zw-frage legend { max-width: 100%; white-space: normal; font-weight: 650; }
.zw-frage legend:focus { outline: none; }
.zw-frage legend:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.zw-ergebnis { margin-top: 1rem; }
.zw-weiter { margin: .8rem 0; }

/* Prüfliste Wahlbriefe */
.wb-unter { font-size: 1.15rem; margin: 1.2rem 0 .5rem; }
.wb-nr { color: var(--petrol); }
.wb-fund { display: block; font-size: .85rem; color: var(--text2); }
.wb-zaehler { margin-top: .6rem; }
.wb-zaehler[hidden] { display: none; }
.wb-zeile { display: grid; gap: .5rem .8rem; grid-template-columns: minmax(0, 1fr) auto auto auto; align-items: center; padding: .6rem 0; border-top: 1px dashed var(--linie); }
.wb-zeile-grund { grid-template-columns: minmax(0, 1fr) auto; }
.wb-name { font-weight: 650; min-width: 0; overflow-wrap: anywhere; }
.wb-zahl { font-family: var(--schrift-titel); font-size: 1.7rem; font-weight: 700; color: var(--petrol); min-width: 2.4rem; text-align: right; font-variant-numeric: tabular-nums; }
.wb-grundlabel { font-size: .9rem; color: var(--text2); }
.wb-gruende { list-style: none; padding: 0; margin: .4rem 0 .8rem; font-size: .93rem; }
.wb-gruende:empty { display: none; }
@media (max-width: 520px) {
  .wb-zeile { grid-template-columns: minmax(0, 1fr) auto; }
  .wb-zeile-grund { grid-template-columns: 1fr 1fr; }
}

/* Musterstimmzettel: breite Fassung ab 480 px, darunter die einspaltige (Schrift mindestens 12 px bei 360 px Breite) */
.sz-eng { display: none; }
@media (max-width: 479px) { .sz-breit { display: none; } .sz-eng { display: block; } }

/* Wahlkalender mit Filter: ausgeblendete Termine */
.termine li[hidden] { display: none; }

@media (max-width: 640px) { .tabelle-karten thead tr, .tabelle-karten thead th { display: block; width: 1px; height: 1px; overflow: hidden; padding: 0; border: 0; white-space: nowrap; } }
.ev-tabelle .zahl { white-space: normal; }
