/* Sicherheitsbeauftragte Schulung. Richtung: Normblatt mit Fundstellen, siehe docs/design-richtung.md. */

@font-face { font-family: "Sofia Sans Condensed"; src: url("schriften/sofia-sans-condensed.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Sofia Sans"; src: url("schriften/sofia-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("schriften/source-serif-4.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }

:root {
  --gruen: #0b5a43;
  --gruen-tief: #08432f;
  --gruen-hell: #dfe9e2;
  --blatt: #f3f6f2;
  --weiss: #ffffff;
  --tinte: #10231c;
  --grau: #47584f;
  --linie: #b4c3b9;
  --linie-stark: #5f7468;
  --signal: #ffc400;
  --signal-tief: #e6ad00;
  --auf-gruen: #e8f1ec;
  --auf-gruen-leise: #c3d8cd;

  --schrift-titel: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --schrift-bedien: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --schrift-text: "Source Serif 4", Georgia, serif;

  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 40px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px; --s15: 120px;
  --rand: 16px;
  --breite: 1320px;
  --inhalt: calc(var(--breite) - 2 * var(--rand));
}
@media (min-width: 720px) { :root { --rand: 40px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--s12); scroll-padding-bottom: var(--s12); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--blatt); color: var(--tinte); font-family: var(--schrift-text); font-size: 1.0625rem; line-height: 1.62; font-optical-sizing: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--schrift-titel); font-weight: 700; line-height: 1.06; text-wrap: balance; }
p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--gruen); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--tinte); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
strong { font-weight: 650; }
table { border-collapse: collapse; width: 100%; }
svg { display: block; }
[hidden] { display: none !important; }

.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: var(--s2); top: var(--s1); z-index: 50; background: var(--weiss); padding: var(--s1) var(--s2); font-family: var(--schrift-bedien); transform: translateY(-200%); }
.sprung:focus { transform: none; }

/* --- Knopf --------------------------------------------------------------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--s3);
  background: var(--signal); color: var(--tinte); border: 2px solid var(--tinte); border-radius: 2px;
  font-family: var(--schrift-bedien); font-weight: 750; font-size: 1.0625rem; line-height: 1.1; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease-out, transform .15s ease-out;
}
.knopf:hover { background: var(--signal-tief); color: var(--tinte); }
.knopf:active { transform: translateY(1px); }
.knopf-gross { min-height: 60px; padding: 0 var(--s5); font-size: 1.25rem; }
.knopf-klein { min-height: 40px; padding: 0 var(--s2); font-size: .9375rem; }
.knopf-ruhig { background: var(--gruen); color: var(--weiss); border-color: var(--gruen); }
.knopf-ruhig:hover { background: var(--gruen-tief); border-color: var(--gruen-tief); color: var(--weiss); }
.hero :focus-visible, .preisfeld :focus-visible, .schluss :focus-visible, .fuss :focus-visible { outline-color: var(--weiss); }

/* --- Kopf ---------------------------------------------------------------- */
.kopf { background: var(--blatt); border-bottom: 1px solid var(--linie); }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 12px var(--rand); display: flex; align-items: center; gap: var(--s3); }
.marke { display: flex; align-items: center; gap: 12px; color: var(--tinte); text-decoration: none; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.25rem; line-height: 1.05; margin-right: auto; min-height: 40px; }
.marke-zeichen { width: 32px; height: 32px; flex: none; }
.haupt { display: none; font-family: var(--schrift-bedien); font-size: 1rem; font-weight: 500; }
.haupt a { color: var(--tinte); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; }
.haupt a:hover { text-decoration: underline; text-decoration-thickness: 2px; color: var(--tinte); }
@media (max-width: 479px) { .kopf .knopf-klein { display: none; } }
@media (min-width: 960px) {
  .kopf { position: sticky; top: 0; z-index: 20; }
  .haupt { display: flex; gap: var(--s1); }
}

/* --- Hero: grüne Fläche ------------------------------------------------- */
.hero { background: var(--gruen); color: var(--weiss); }
.hero-innen { max-width: var(--breite); margin: 0 auto; padding: var(--s6) var(--rand) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s5); }
.hero h1 { font-size: clamp(2rem, 10.4vw, 4.875rem); line-height: 1; font-weight: 750; letter-spacing: -.01em; }
.hero h1 span { display: block; }
.hero-unter { margin-top: var(--s3); font-size: 1.1875rem; line-height: 1.52; max-width: 36em; color: var(--auf-gruen); }
.hero-handlung { margin-top: var(--s4); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.hero-preis { font-family: var(--schrift-bedien); font-size: 1rem; color: var(--auf-gruen); }
.hero-preis strong { font-family: var(--schrift-titel); font-size: 1.625rem; font-weight: 750; color: var(--weiss); }
.hero-bild figcaption { margin-top: var(--s2); font-family: var(--schrift-bedien); font-size: .875rem; line-height: 1.45; color: var(--auf-gruen); max-width: 44em; }
.hero-bild figcaption strong { color: var(--weiss); }
@media (min-width: 960px) {
  .hero h1 { font-size: min(5.1vw, 4.625rem); }
  .hero-innen { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); column-gap: var(--s8); padding-top: var(--s10); align-items: start; }
  .schriftfeld-hero { grid-column: 1 / -1; }
}

/* Bild 1: Grundriss */
.plan { width: 100%; height: auto; overflow: visible; }
.plan .wand { fill: none; stroke: var(--weiss); stroke-width: 7; stroke-linecap: square; }
.plan .wand-innen { fill: none; stroke: var(--weiss); stroke-width: 3.5; stroke-linecap: square; }
.plan .regal { fill: none; stroke: var(--auf-gruen-leise); stroke-width: 1.6; }
.plan .schutz { fill: none; stroke: var(--auf-gruen); stroke-width: 2; stroke-dasharray: 3 7; }
.plan .block { fill: var(--gruen-tief); stroke: var(--weiss); stroke-width: 2; }
.plan .linie { stroke: var(--auf-gruen-leise); stroke-width: 1.2; fill: none; }
.plan .blitz { fill: none; stroke: var(--weiss); stroke-width: 2.5; }
.plan .kreuz { fill: var(--weiss); }
.plan .spur { fill: none; stroke: var(--auf-gruen-leise); stroke-width: 2; stroke-dasharray: 22 12; }
.plan .ausgang { fill: none; stroke: var(--weiss); stroke-width: 4; }
.plan .rundgang { fill: none; stroke: var(--signal); stroke-width: 5; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.plan .start { fill: var(--signal); }
.plan .halt circle { fill: var(--signal); stroke: var(--gruen); stroke-width: 5; }
.plan .halt text { fill: var(--tinte); font-family: var(--schrift-titel); font-weight: 800; font-size: 23px; text-anchor: middle; }
@media (prefers-reduced-motion: no-preference) {
  .plan .rundgang { animation: rundgang 2.2s cubic-bezier(.22, 1, .36, 1) .2s backwards; }
  @keyframes rundgang { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}

/* Schriftfeld: Tafel wie auf einer technischen Zeichnung */
.schriftfeld { display: grid; font-family: var(--schrift-bedien); }
.schriftfeld > div { padding: 12px var(--s2) var(--s2); }
.schriftfeld dt { font-size: .8125rem; font-weight: 500; line-height: 1.3; }
.schriftfeld dd { margin-top: 4px; font-family: var(--schrift-titel); font-weight: 650; font-size: 1.25rem; line-height: 1.15; }
.schriftfeld-hero { margin: var(--s2) calc(var(--rand) * -1) 0; background: var(--gruen-tief); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schriftfeld-hero > div { border-top: 1px solid var(--linie-stark); padding-left: var(--rand); padding-right: var(--s1); }
.schriftfeld-hero > div:nth-child(even) { border-left: 1px solid var(--linie-stark); padding-left: var(--s2); }
.schriftfeld-hero dt { color: var(--auf-gruen-leise); }
@media (min-width: 960px) {
  .schriftfeld-hero { margin: var(--s4) 0 0; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 0; background: var(--gruen-tief); }
  .schriftfeld-hero > div { border-top: 0; padding: var(--s2) var(--s2) var(--s3); }
  .schriftfeld-hero > div + div { border-left: 1px solid var(--linie-stark); }
}

/* --- Abschnitte ----------------------------------------------------------- */
.abschnitt { padding: var(--s8) var(--rand); }
.abschnitt-oben { padding-top: var(--s6); }
.abschnitt-linie { padding-top: 0; }
.abschnitt-linie > .spalten { border-top: 1px solid var(--linie-stark); padding-top: var(--s6); }
.abschnitt-flaeche { background: var(--gruen-hell); }
.abschnitt h2, .schluss h2, .preisfeld h2 { font-size: clamp(1.875rem, 1.6rem + 1.7vw, 3.25rem); }
h2.klein { font-size: 1.75rem; }
.seitentitel { font-size: clamp(1.875rem, 1.6rem + 1.7vw, 3.25rem); font-weight: 750; }
.antwort { font-size: 1.25rem; line-height: 1.45; font-weight: 600; }
.antwort-rest { display: block; margin-top: var(--s2); font-size: 1.0625rem; line-height: 1.62; font-weight: 400; }
.antwort-breit { max-width: 42em; margin-top: var(--s3); }
.fliess { max-width: 40rem; }
.fliess > * + * { margin-top: var(--s2); }
.beleg { font-family: var(--schrift-bedien); font-size: .8125em; white-space: normal; }
.beleg a { color: var(--gruen); }

.spalten, .breit { max-width: var(--inhalt); margin: 0 auto; }
.spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
.breit-eng { max-width: 52rem; }
.breit-bild { margin-top: var(--s5); }

/* Randspalte der Fundstellen; am Handy die Quellenzeile unter dem Abschnitt */
.fundstellen { font-family: var(--schrift-bedien); font-size: .875rem; line-height: 1.4; color: var(--grau); padding-top: var(--s1); border-top: 1px solid var(--linie-stark); }
.fundstellen p { font-weight: 700; color: var(--tinte); margin-bottom: 4px; }
.fundstellen li + li { margin-top: 4px; }
.fundstellen-ort { display: block; }
.fundstellen a { padding: 3px 0; display: inline-block; }
@media (min-width: 900px) {
  .spalten { grid-template-columns: minmax(0, 40rem) minmax(11rem, 1fr); column-gap: var(--s6); align-items: start; }
  .spalten > h1, .spalten > h2 { grid-column: 1 / -1; }
  .spalten-module { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .module-kopf { position: sticky; top: var(--s12); }
  .module-kopf h2 { font-size: min(3rem, 2.9vw); overflow-wrap: anywhere; }
  .fundstellen { margin-top: 4px; }
}
@media (min-width: 1360px) {
  .spalten:not(.spalten-module) { grid-template-columns: minmax(0, 5fr) minmax(0, 36rem) minmax(11rem, 2fr); }
  .spalten > h1, .spalten > h2 { grid-column: auto; font-size: min(2.625rem, 2.95vw); }
}

/* Warum: Vorteile und Bild 2 */
.vorteile-rahmen { max-width: var(--inhalt); margin: var(--s6) auto 0; display: grid; gap: var(--s5); }
.vorteile h3 { font-size: 1.5rem; margin-bottom: var(--s2); }
.merkmale > div { padding: 12px 0; border-top: 1px solid var(--linie); }
.merkmale dt { font-family: var(--schrift-bedien); font-weight: 750; font-size: 1.0625rem; line-height: 1.3; }
.merkmale dd { margin-top: 2px; }
@media (min-width: 960px) {
  .vorteile-rahmen { grid-template-columns: minmax(0, 7fr) minmax(0, 6fr); column-gap: var(--s8); align-items: start; }
}

/* Bilder */
.bild figcaption { margin-top: var(--s2); font-family: var(--schrift-bedien); font-size: .875rem; line-height: 1.45; color: var(--grau); }
.bild figcaption strong { color: var(--tinte); }
.bild-zeit { background: var(--weiss); border: 1px solid var(--linie); padding: var(--s3); }
.zeit-name { font-family: var(--schrift-bedien); font-weight: 650; font-size: .9375rem; line-height: 1.3; margin-bottom: var(--s1); }
.zeit-wochen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); margin-bottom: var(--s3); }
.zeit-woche { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; }
.zeit-tag { height: 32px; background: var(--gruen-hell); }
.zeit-4 { background: var(--tinte); }
.zeit-1 { background: linear-gradient(to top, var(--gruen) 12px, var(--gruen-hell) 12px); }
.zeit-achse { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); font-family: var(--schrift-bedien); font-size: .8125rem; color: var(--grau); margin-top: calc(var(--s2) * -1); }

/* Für wen, Bestellung */
.gruppen > div { padding-top: var(--s2); border-top: 1px solid var(--linie-stark); }
.gruppen > div + div { margin-top: var(--s3); }
.gruppen dt { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.5rem; line-height: 1.1; }
.gruppen dd { margin-top: var(--s1); }
.aufgaben { list-style: disc; padding-left: 1.2em; }
.aufgaben li + li { margin-top: var(--s1); }
.aufgaben li::marker { color: var(--gruen); }
.pfeil { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--schrift-bedien); font-weight: 650; }

/* Vier Schritte: eine Linie mit Halten */
.schritte { margin-top: var(--s5); display: grid; gap: var(--s4); counter-reset: schritt; position: relative; }
.schritte li { counter-increment: schritt; position: relative; padding-left: 64px; }
.schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--gruen); color: var(--weiss); font-family: var(--schrift-titel); font-weight: 800; font-size: 1.5rem; }
.schritte li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 44px; bottom: calc(var(--s4) * -1); width: 2px; background: var(--gruen); }
.schritte h3 { font-size: 1.5rem; }
.schritte p { margin-top: var(--s1); }
@media (min-width: 1100px) {
  .schritte { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); }
  .schritte li { padding-left: 0; padding-top: 64px; }
  .schritte li:not(:last-child)::after { left: 44px; top: 21px; right: calc(var(--s4) * -1); bottom: auto; width: auto; height: 2px; }
}

/* Module und Fragen: geregelte Liste */
.module-kopf .antwort { margin-top: var(--s3); }
.module, .fragen { border-bottom: 1px solid var(--linie-stark); }
.module > li, .fragen > li { border-top: 1px solid var(--linie-stark); }
summary { list-style: none; cursor: pointer; display: grid; align-items: center; gap: var(--s2); min-height: 64px; padding: var(--s2) 0; }
summary::-webkit-details-marker { display: none; }
.module summary { grid-template-columns: 2.25rem 32px minmax(0, 1fr) 20px; }
.fragen summary { grid-template-columns: 2.25rem minmax(0, 1fr) 20px; }
summary h3 { font-size: 1.375rem; line-height: 1.12; font-weight: 650; }
summary:hover h3 { color: var(--gruen); }
.modul-nr { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.625rem; line-height: 1; color: var(--gruen); font-variant-numeric: tabular-nums; }
.modul-zeichen { width: 32px; height: 32px; fill: none; stroke: var(--gruen); stroke-width: 1.8; stroke-linecap: square; }
.auf-zu { width: 20px; height: 20px; fill: none; stroke: var(--gruen); stroke-width: 2; transition: transform .2s ease-out; }
details[open] .auf-zu { transform: rotate(45deg); }
@media (max-width: 379px) {
  .modul-zeichen { display: none; }
  .module summary { grid-template-columns: 2.25rem minmax(0, 1fr) 20px; gap: 12px; }
  summary h3 { font-size: 1.25rem; }
}
.modul-inhalt { padding: 0 0 var(--s3); }
.modul-inhalt h4 { margin-top: var(--s2); font-family: var(--schrift-bedien); font-size: 1rem; font-weight: 750; }
.modul-inhalt ul { margin-top: var(--s1); list-style: disc; padding-left: 1.2em; }
.modul-inhalt li + li { margin-top: 4px; }
.modul-inhalt li::marker { color: var(--gruen); }
@media (min-width: 720px) {
  .module .modul-inhalt { padding-left: calc(2.25rem + 32px + var(--s2) * 2); padding-right: calc(20px + var(--s2)); }
  .fragen .modul-inhalt { padding-left: calc(2.25rem + var(--s2)); padding-right: calc(20px + var(--s2)); }
}
.abschnitt-flaeche .fragen, .abschnitt-flaeche .fragen > li { border-color: var(--linie-stark); }

/* Autoren: als Schrift, wie auf einem Normblatt */
.autoren { margin-top: var(--s5); display: grid; gap: var(--s4); }
.autor { border-top: 3px solid var(--gruen); padding-top: var(--s2); }
.autor h3 { font-size: clamp(1.75rem, 1.5rem + 1.2vw, 2.5rem); }
.autor p { margin-top: var(--s1); max-width: 34em; }
@media (min-width: 800px) { .autoren { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s6); } }

/* Vergleich: echte Tabelle, am Handy gestapelt */
.vergleich { margin-top: var(--s5); font-family: var(--schrift-bedien); font-size: 1rem; line-height: 1.4; }
.vergleich caption, .preise caption { text-align: left; font-size: .875rem; color: var(--grau); padding-bottom: var(--s1); }
.vergleich caption strong { color: var(--tinte); }
.vergleich thead { display: none; }
.vergleich tr { display: block; border-top: 2px solid var(--tinte); padding: var(--s2) 0; }
.vergleich tbody th { display: block; text-align: left; font-family: var(--schrift-titel); font-weight: 700; font-size: 1.375rem; line-height: 1.15; margin-bottom: var(--s1); }
.vergleich td { display: block; padding: var(--s1) 12px; }
.vergleich td::before { content: attr(data-spalte); display: block; font-size: .8125rem; font-weight: 700; color: var(--grau); margin-bottom: 2px; }
.vergleich td.dieser { background: var(--gruen-hell); font-weight: 650; }
.vergleich td.dieser::before { color: var(--gruen-tief); }
@media (min-width: 900px) {
  .vergleich thead { display: table-header-group; }
  .vergleich tr { display: table-row; padding: 0; border-top: 0; }
  .vergleich th, .vergleich td { display: table-cell; vertical-align: top; padding: 12px var(--s2); border-top: 1px solid var(--linie-stark); text-align: left; }
  .vergleich thead th { font-weight: 700; font-size: .9375rem; line-height: 1.25; vertical-align: bottom; border-top: 0; border-bottom: 2px solid var(--tinte); }
  .vergleich tbody th { display: table-cell; width: 17%; margin: 0; font-size: 1.25rem; padding-left: 0; }
  .vergleich thead th:first-child { padding-left: 0; }
  .vergleich td::before { display: none; }
  .vergleich thead th.dieser { background: var(--gruen); color: var(--weiss); font-family: var(--schrift-titel); font-size: 1.375rem; }
}
.ehrlich { margin-top: var(--s5); max-width: 46rem; font-size: 1.125rem; }

/* Preis: grüne Fläche */
.preisfeld { background: var(--gruen); color: var(--weiss); padding: var(--s8) var(--rand); }
.preisfeld-innen { max-width: var(--inhalt); margin: 0 auto; display: grid; gap: var(--s5); }
.preis-text > * + * { margin-top: var(--s3); }
.preis-text .antwort { color: var(--weiss); }
.preis-text p { color: var(--auf-gruen); }
.preise { font-family: var(--schrift-bedien); }
.preise caption { color: var(--auf-gruen); }
.preise caption strong { color: var(--weiss); }
.preise th, .preise td { padding: var(--s2) var(--s1); text-align: right; border-top: 1px solid var(--auf-gruen-leise); font-variant-numeric: tabular-nums; }
.preise thead th { font-size: .875rem; line-height: 1.25; font-weight: 500; vertical-align: bottom; border-top: 0; color: var(--auf-gruen); }
.preise th:first-child { text-align: left; padding-left: 0; }
.preise tbody th { font-family: var(--schrift-titel); font-weight: 750; font-size: 1.625rem; }
.preise tbody td { font-family: var(--schrift-titel); font-weight: 650; font-size: 1.375rem; }
.preise td:last-child { padding-right: 0; }
@media (min-width: 960px) {
  .preisfeld { padding-top: var(--s12); padding-bottom: var(--s12); }
  .preisfeld-innen { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: var(--s10); align-items: start; }
  .preise tbody th { font-size: 2.25rem; }
  .preise tbody td { font-size: 2rem; }
}

/* Schluss */
.schluss { background: var(--gruen-tief); color: var(--weiss); padding: var(--s8) var(--rand); }
.schluss-innen { max-width: var(--inhalt); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s3); justify-items: start; }
.schluss p { max-width: 40em; color: var(--auf-gruen); font-size: 1.125rem; }
.schluss h2 { font-size: clamp(1.875rem, 1.2rem + 3.4vw, 4rem); font-weight: 750; }

/* Quellen */
.quellen-liste { margin-top: var(--s3); font-family: var(--schrift-bedien); font-size: .9375rem; line-height: 1.5; }
.quellen-liste li { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); padding: var(--s2) 0; border-top: 1px solid var(--linie); scroll-margin-top: var(--s12); }
.quellen-liste li:target { background: var(--gruen-hell); }
.quellen-nr { font-family: var(--schrift-titel); font-weight: 800; font-size: 1.25rem; color: var(--gruen); }
.quellen-fund { color: var(--grau); }
.hinweis { margin-top: var(--s3); font-family: var(--schrift-bedien); font-size: .9375rem; line-height: 1.5; }

/* Fuß */
.fuss { background: var(--tinte); color: var(--weiss); padding: var(--s5) var(--rand) var(--s6); font-family: var(--schrift-bedien); }
.fuss-innen { max-width: var(--inhalt); margin: 0 auto; display: grid; gap: var(--s4); }
.schriftfeld-fuss { border: 1px solid var(--linie-stark); }
.schriftfeld-fuss > div + div { border-top: 1px solid var(--linie-stark); }
.schriftfeld-fuss dt { color: var(--auf-gruen-leise); }
.schriftfeld-fuss dd { font-size: 1.125rem; overflow-wrap: anywhere; }
.schriftfeld-fuss a, .fuss-nav a { color: var(--weiss); }
.schriftfeld-fuss a:hover, .fuss-nav a:hover { color: var(--signal); }
.schriftfeld-fuss a { display: inline-block; padding: 3px 0; }
.fuss-nav { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); align-items: center; }
.fuss-nav a, .fuss-knopf { display: inline-flex; align-items: center; min-height: 44px; }
.fuss-knopf { background: none; border: 0; padding: 0; color: var(--weiss); font: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; cursor: pointer; }
.fuss-knopf:hover { color: var(--signal); }
@media (min-width: 800px) {
  .schriftfeld-fuss { grid-template-columns: 2fr 1fr 3fr; }
  .schriftfeld-fuss > div + div { border-top: 0; border-left: 1px solid var(--linie-stark); }
}

/* Leiste am Handy */
.leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 12px var(--rand); padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--gruen-tief); color: var(--weiss); font-family: var(--schrift-bedien); }
.leiste-preis { font-size: .8125rem; line-height: 1.2; }
.leiste-preis strong { display: block; font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 750; line-height: 1; }
.leiste :focus-visible { outline-color: var(--weiss); }
@media (min-width: 960px) { .leiste { display: none; } }

/* Meldung */
.meldung { width: min(32rem, calc(100vw - 32px)); padding: var(--s4); border: 0; border-top: 6px solid var(--signal); background: var(--weiss); color: var(--tinte); box-shadow: 0 24px 64px rgba(8, 67, 47, .4); }
.meldung::backdrop { background: rgba(8, 40, 30, .66); }
.meldung-zeichen { width: 48px; height: 44px; }
.meldung p { margin-top: var(--s2); font-size: 1.25rem; line-height: 1.42; }
.meldung .knopf { margin-top: var(--s3); }
.meldung[open] { animation: meldung-auf .22s cubic-bezier(.16, 1, .3, 1); }
@keyframes meldung-auf { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .meldung[open] { animation: none; } .knopf, .auf-zu { transition: none; } }

.meldungsseite { padding: var(--s10) var(--rand) var(--s12); }
.meldungsseite-innen { max-width: 40rem; margin: 0 auto; display: grid; gap: var(--s3); justify-items: start; }
.meldung-titel { font-size: clamp(1.75rem, 1.5rem + 1.4vw, 2.5rem); line-height: 1.15; font-weight: 650; }
.meldungsseite-text { font-size: 1.1875rem; }

/* Einwilligungsbanner */
.banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--weiss); border-top: 4px solid var(--gruen); padding: var(--s2) var(--rand); font-family: var(--schrift-bedien); font-size: .9375rem; line-height: 1.45; display: grid; gap: var(--s2); box-shadow: 0 -12px 32px rgba(8, 67, 47, .18); }
.banner-knoepfe { display: flex; flex-wrap: wrap; gap: var(--s1); }
.banner .knopf { font-size: 1rem; }
@media (min-width: 800px) { .banner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: var(--s4); padding-left: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); padding-right: max(var(--rand), calc((100vw - var(--breite)) / 2 + var(--rand))); } }

/* Bild 3: Rollen */
.bild-rollen, .bild-schwellen { background: var(--weiss); border: 1px solid var(--linie); padding: var(--s3); font-family: var(--schrift-bedien); }
.rollen { display: grid; gap: var(--s1); }
.rolle { padding: var(--s2); line-height: 1.35; }
.rolle strong { display: block; font-family: var(--schrift-titel); font-size: 1.5rem; font-weight: 700; line-height: 1.1; margin-bottom: 4px; }
.rolle-traegt { background: var(--gruen); color: var(--weiss); }
.rolle-sibe { background: var(--weiss); border: 2px dashed var(--gruen); }
.rollen-neben { margin-top: var(--s2); }
@media (min-width: 800px) { .rollen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Bild 4: Schwellen */
.schwellen { display: grid; gap: var(--s3); }
.schwellen-zeile { display: grid; gap: 4px; }
.schwellen-kopf { font-weight: 750; }
.schwelle { padding: 12px var(--s2); line-height: 1.3; font-size: .9375rem; }
.schwelle b { display: block; font-family: var(--schrift-titel); font-size: 1.375rem; font-weight: 700; line-height: 1.1; }
.schwelle-leer { background: var(--blatt); border: 1px solid var(--linie); }
.schwelle-halb { background: var(--gruen-hell); }
.schwelle-voll { background: var(--gruen); color: var(--weiss); }
@media (min-width: 800px) {
  .schwellen-zeile { grid-template-columns: 2fr 2fr 3fr 5fr; }
  .schwellen-kopf { align-self: center; }
  .schwelle-breit { grid-column: span 2; }
}

/* Rechtstexte */
.recht { max-width: 44rem; margin: 0 auto; padding: var(--s6) var(--rand) var(--s10); box-sizing: content-box; }
.recht h1 { font-size: clamp(2rem, 1.6rem + 2.2vw, 3.5rem); font-weight: 750; }
.recht h2 { font-size: 1.625rem; margin-top: var(--s5); margin-bottom: var(--s1); scroll-margin-top: var(--s12); }
.recht p { margin-top: var(--s2); }
.recht ul { margin-top: var(--s2); list-style: disc; padding-left: 1.2em; }
.recht li + li { margin-top: 4px; }
.recht li::marker { color: var(--gruen); }
.recht-stand { font-family: var(--schrift-bedien); color: var(--grau); }
.recht a { overflow-wrap: anywhere; }

@media print { .leiste, .banner, .kopf .knopf, .meldung { display: none; } }
