/* SHA256.ch – Stylesheet
   Farben: Grund (helles Grau), Tinte (Tannengrün-Schwarz), Orange als Signalfarbe,
   Rot nur für Minuspreise und Fehler. Schrift: Fira Sans, lokal ausgeliefert. */

@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-800.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --grund: #ecede8;
  --flaeche: #f7f7f4;
  --tinte: #12241f;
  --tinte-2: #4c5b55;
  --linie: #c4c9c0;
  --orange: #f7931a;
  --orange-tief: #a85600;
  --rot: #b93218;
  --gruen: #1f6b45;
  --nacht: #12241f;
  --nacht-2: #1b322c;
  --nacht-linie: #35504a;
  --nacht-text: #e7ebe4;
  --nacht-text-2: #a9b8b0;
  --breite: 73rem;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--grund);
  color: var(--tinte);
  font-family: "Fira Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--orange); }
button, input, select, textarea { font: inherit; color: inherit; }
strong { font-weight: 600; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--tinte); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }

/* ---------- Typografie ---------- */
h1, h2, h3 { font-weight: 800; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.2vw, 4.5rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.2; letter-spacing: -0.005em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 38em; }
.text { max-width: 40em; }
.text p + p { margin-top: 1em; }
.klein { font-size: .9rem; color: var(--tinte-2); }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.35rem;
  border: 2px solid var(--tinte); border-radius: 3px;
  background: transparent; color: var(--tinte);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--tinte); color: #fff; }
.btn--voll { background: var(--orange); border-color: var(--orange); color: #1a1205; }
.btn--voll:hover { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.btn[disabled] { opacity: .55; cursor: progress; }
.nacht .btn { border-color: var(--nacht-text); color: var(--nacht-text); }
.nacht .btn:hover { background: var(--nacht-text); color: var(--nacht); }
.nacht .btn--voll { border-color: var(--orange); color: #1a1205; }
.nacht .btn--voll:hover { background: #fff; border-color: #fff; color: var(--nacht); }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: var(--grund); border-bottom: 1px solid var(--linie); }
.kopf__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.25rem; }
.marke { display: inline-flex; align-items: center; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; text-decoration: none; line-height: 1; }
.marke span { background: var(--orange); color: #1a1205; padding: .18em .28em .14em; margin-left: .12em; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 1rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a[aria-current="true"] { border-bottom-color: var(--orange); }
.nav .btn { min-height: 2.6rem; padding: .45rem 1rem; }
.menue-knopf { display: none; width: 2.9rem; height: 2.9rem; border: 2px solid var(--tinte); border-radius: 3px; background: transparent; cursor: pointer; align-items: center; justify-content: center; }
.menue-knopf svg { width: 1.4rem; height: 1.4rem; }
@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--grund); border-bottom: 1px solid var(--linie); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--rand) 1.25rem; }
  .nav.offen { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--linie); font-size: 1.15rem; }
  .nav .btn { margin-top: 1rem; min-height: 3rem; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.abschnitt + .abschnitt { border-top: 1px solid var(--linie); }
.abschnitt__kopf { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.abschnitt__kopf p { margin-top: 1rem; }

/* ---------- Einstieg ---------- */
.einstieg { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5rem); }
.einstieg__raster { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 1000px) { .einstieg__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.einstieg h1 { max-width: 12em; }
.einstieg .lead { margin-top: 1.5rem; }
.einstieg__neben { margin-top: 1.25rem; }
.knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.tageskurve { background: var(--flaeche); border: 1px solid var(--linie); border-radius: 4px; padding: clamp(.9rem, 2vw, 1.5rem); }
.tageskurve svg { width: 100%; }
.tageskurve figcaption { margin-top: .75rem; font-size: .9rem; color: var(--tinte-2); max-width: 44em; }
.tk-achse { stroke: var(--tinte); stroke-width: 1; }
.tk-raster { stroke: var(--linie); stroke-width: 1; }
.tk-text { font-family: inherit; font-size: 16px; fill: var(--tinte-2); }
.tk-text--stark { fill: var(--tinte); font-weight: 600; font-size: 17px; }
.tk-text--rot { fill: var(--rot); font-weight: 600; }
.tk-prod { fill: none; stroke: var(--tinte); stroke-width: 2.5; stroke-linejoin: round; }
.tk-verbrauch { fill: none; stroke: var(--tinte-2); stroke-width: 2; stroke-dasharray: 5 5; }
.tk-ueberschuss { fill: var(--orange); }
.tk-preis { fill: none; stroke: var(--tinte); stroke-width: 2; stroke-linejoin: round; }
.tk-minus { fill: var(--rot); opacity: .85; }
.tk-zeiger { stroke: var(--tinte); stroke-width: 1; }
@media (max-width: 640px) {
  .tk-text { font-size: 25px; }
  .tk-text--stark { font-size: 26px; }
  .tk-neben { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .tk-ueberschuss { animation: aufgehen 1.1s .25s cubic-bezier(.2,.7,.2,1) both; transform-origin: 50% 100%; transform-box: fill-box; }
  @keyframes aufgehen { from { transform: scaleY(0); opacity: .3; } to { transform: scaleY(1); opacity: 1; } }
}

/* ---------- In Kürze ---------- */
.kurz { background: var(--flaeche); border-block: 1px solid var(--linie); padding-block: clamp(2rem, 4vw, 3rem); }
.kurz h2 { font-size: 1.3rem; margin-bottom: 1.25rem; }
.kurz dl { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.kurz dt { font-weight: 600; margin-bottom: .3rem; }
.kurz dd { color: var(--tinte-2); font-size: .975rem; }
.kurz + .abschnitt { border-top: 0; }

/* ---------- Gesetz / Zeitachse ---------- */
.zeitachse { display: grid; gap: 0; border-top: 2px solid var(--tinte); }
.zeitachse li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem 2.5rem; padding-block: 1.6rem; border-bottom: 1px solid var(--linie); }
@media (min-width: 760px) { .zeitachse li { grid-template-columns: 13rem minmax(0, 1fr); } }
.zeitachse time, .zeitachse .wann { font-weight: 800; font-size: 1.3rem; letter-spacing: -0.01em; }
.zeitachse h3 { margin-bottom: .4rem; }
.zeitachse p { max-width: 42em; }
.quellen { margin-top: 1.5rem; font-size: .9rem; color: var(--tinte-2); max-width: 52em; }

.folgen { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.folgen h3 { padding-top: .9rem; border-top: 4px solid var(--rot); margin-bottom: .5rem; }

/* ---------- Lösung ---------- */
.loesung { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .loesung { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }
.loesung__bild { background: #e9e9e7; border-radius: 4px; overflow: hidden; }
.loesung__bild img { width: 100%; mix-blend-mode: multiply; }
.loesung__bild figcaption { padding: .7rem 1rem .9rem; font-size: .9rem; color: var(--tinte-2); }
.ablauf { counter-reset: schritt; display: grid; gap: 1.75rem; }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0 1rem; }
.ablauf li::before { content: counter(schritt); grid-row: span 2; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; background: var(--tinte); color: #fff; font-weight: 800; border-radius: 50%; }
.ablauf h3 { align-self: center; }
.ablauf p { grid-column: 2; margin-top: .4rem; max-width: 38em; }
.nutzen { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--linie); display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.nutzen h3 { font-size: 1.1rem; margin-bottom: .35rem; }

/* ---------- Video-Platzhalter ---------- */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--nacht); border-radius: 4px; overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__start { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; background: var(--nacht); color: #fff; display: grid; place-items: center; text-align: center; }
.video__start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s; }
.video__start:hover img { opacity: 1; }
.video__schild { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: .6rem; padding: 1rem 1.4rem; background: rgba(18, 36, 31, .88); border-radius: 4px; font-weight: 600; }
.video__schild svg { width: 3rem; height: 3rem; }
.video__schild small { font-weight: 400; font-size: .85rem; color: var(--nacht-text-2); max-width: 22em; }
.video__start--hell { background: #e4e4e2; color: var(--tinte); grid-template-columns: 42% 1fr; place-items: center start; text-align: left; }
.video__start--hell img { position: static; width: 100%; height: 100%; object-fit: cover; opacity: 1; -webkit-mask-image: linear-gradient(to right, #000 70%, transparent); mask-image: linear-gradient(to right, #000 70%, transparent); }
.video__start--hell picture { display: block; width: 100%; height: 100%; min-height: 0; overflow: hidden; }
.video__start--hell:hover img { opacity: 1; }
.video__start--hell .video__schild { background: none; align-items: flex-start; padding: 1rem clamp(1rem, 4vw, 2.5rem); font-size: clamp(1.1rem, 2.4vw, 1.6rem); font-weight: 800; letter-spacing: -0.01em; }
.video__start--hell .video__schild svg { width: clamp(3rem, 7vw, 4.5rem); height: clamp(3rem, 7vw, 4.5rem); transition: transform .15s; }
.video__start--hell:hover .video__schild svg { transform: scale(1.08); }
.video__start--hell .video__schild small { color: var(--tinte-2); font-size: clamp(.75rem, 1.4vw, .875rem); font-weight: 400; letter-spacing: 0; }
.video-block { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 900px) { .video-block { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); } }

/* ---------- Einsatzgebiete ---------- */
.faelle { display: grid; gap: 0; border-top: 2px solid var(--tinte); }
.fall { display: grid; gap: 1.25rem 3rem; grid-template-columns: minmax(0, 1fr); padding-block: clamp(1.75rem, 4vw, 2.75rem); border-bottom: 1px solid var(--linie); align-items: center; }
@media (min-width: 820px) { .fall { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } .fall:nth-child(even) .fall__bild { order: 2; } }
.fall__bild { background: #e9e9e7; border-radius: 4px; overflow: hidden; }
.fall__bild img { width: 100%; mix-blend-mode: multiply; }
.fall h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.fall .wer { color: var(--tinte-2); margin-top: .25rem; }
.fall p.lage { margin-top: 1rem; max-width: 36em; }
.haken { margin-top: 1rem; display: grid; gap: .4rem; }
.haken li { padding-left: 1.6rem; position: relative; }
.haken li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .85rem; height: .45rem; border-left: 3px solid var(--orange-tief); border-bottom: 3px solid var(--orange-tief); transform: rotate(-45deg); }

/* ---------- Rechner (dunkles Band) ---------- */
.nacht { background: var(--nacht); color: var(--nacht-text); }
.abschnitt.nacht { border-top: 0; }
.nacht + .abschnitt { border-top: 0; }
.nacht .klein, .nacht .abschnitt__kopf p { color: var(--nacht-text-2); }
.nacht a:hover { text-decoration-color: var(--orange); }

.markt { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; padding-block: 1rem; border-block: 1px solid var(--nacht-linie); margin-bottom: 2rem; }
.markt dl { display: flex; flex-wrap: wrap; gap: .5rem 2.5rem; }
.markt div { min-width: 9rem; }
.markt dt { font-size: .85rem; color: var(--nacht-text-2); }
.markt dd { font-weight: 600; font-size: 1.15rem; }
.markt .stand { margin-left: auto; align-self: center; font-size: .85rem; color: var(--nacht-text-2); }
.markt .stand::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--nacht-text-2); margin-right: .45rem; }
.markt .stand[data-zustand="live"]::before { background: #58c68a; }
.markt .stand[data-zustand="alt"]::before { background: var(--orange); }

.rechner { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .rechner { grid-template-columns: minmax(0, 23rem) minmax(0, 1fr); gap: 3rem; } }
.eingaben { display: grid; gap: 1.5rem; }
.umschalter { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--nacht-text); border-radius: 3px; overflow: hidden; }
.umschalter button { border: 0; background: transparent; color: var(--nacht-text); padding: .7rem .5rem; font-weight: 600; cursor: pointer; min-height: 3rem; }
.umschalter button[aria-pressed="true"] { background: var(--nacht-text); color: var(--nacht); }
.umschalter--klein { border-width: 1px; border-color: var(--nacht-linie); }
.umschalter--klein button { min-height: 2.5rem; font-size: .95rem; padding: .4rem; }

.feld { display: grid; gap: .45rem; }
.feld__zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.feld label, .feld .etikett { font-weight: 600; }
.feld output { font-weight: 800; font-size: 1.15rem; color: var(--orange); white-space: nowrap; }
.feld .hinweis { font-size: .875rem; color: var(--nacht-text-2); }
.feld .hinweis a { color: var(--nacht-text); }
.gruppe { display: grid; gap: 1.5rem; }
.gruppe--rand { padding-top: 1.5rem; border-top: 1px solid var(--nacht-linie); }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 2rem; background: transparent; cursor: pointer; margin: 0; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: var(--nacht-linie); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 4px; background: var(--nacht-linie); border-radius: 2px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.5rem; height: 1.5rem; margin-top: calc(-.75rem + 2px); border-radius: 50%; background: var(--orange); border: 3px solid var(--nacht); box-shadow: 0 0 0 1px var(--orange); }
input[type="range"]::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--orange); border: 3px solid var(--nacht); box-shadow: 0 0 0 1px var(--orange); }

.nacht select, .nacht input[type="number"], .nacht input[type="text"], .nacht input[type="email"], .nacht input[type="tel"] {
  width: 100%; min-height: 3rem; padding: .6rem .8rem; background: var(--nacht-2); color: var(--nacht-text);
  border: 1px solid var(--nacht-linie); border-radius: 3px;
}
.schalter { display: flex; align-items: flex-start; gap: .8rem; cursor: pointer; }
.schalter input { appearance: none; -webkit-appearance: none; flex: none; width: 3rem; height: 1.7rem; margin: .1rem 0 0; border-radius: 1rem; background: var(--nacht-linie); position: relative; cursor: pointer; transition: background-color .15s; }
.schalter input::after { content: ""; position: absolute; top: .2rem; left: .2rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #fff; transition: transform .15s; }
.schalter input:checked { background: var(--orange); }
.schalter input:checked::after { transform: translateX(1.3rem); }
.schalter span { font-weight: 600; }
.schalter small { display: block; font-weight: 400; font-size: .875rem; color: var(--nacht-text-2); }

.nacht details > summary { cursor: pointer; font-weight: 600; padding: .6rem 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.nacht details > summary::-webkit-details-marker { display: none; }
.nacht details > summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; line-height: 1; }
.nacht details[open] > summary::after { content: "–"; }
.nacht details .gruppe { padding-top: 1rem; }

.ergebnis { display: grid; gap: 1.75rem; min-width: 0; }
.ergebnis__haupt { padding-bottom: 1.75rem; border-bottom: 1px solid var(--nacht-linie); }
.ergebnis__titel { font-weight: 600; color: var(--nacht-text-2); }
.ergebnis__zahl { font-weight: 800; font-size: clamp(2.4rem, 7vw, 4.75rem); line-height: 1.05; letter-spacing: -0.03em; color: var(--orange); margin-top: .25rem; overflow-wrap: anywhere; }
.ergebnis__zahl[data-vorzeichen="minus"] { color: #ff8a70; }
.ergebnis__fuss { margin-top: .6rem; font-size: .9rem; color: var(--nacht-text-2); max-width: 38em; }
.posten { display: grid; gap: 0; }
.posten div { display: flex; justify-content: space-between; gap: 1.5rem; padding: .7rem 0; border-bottom: 1px solid var(--nacht-linie); }
.posten dt { color: var(--nacht-text-2); }
.posten dd { font-weight: 600; text-align: right; white-space: nowrap; }
.posten .plus dd { color: #7fd6a4; }
.posten .minus dd { color: #ff8a70; }

.band h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.verlauf { min-width: 0; }
.verlauf h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.verlauf svg { width: 100%; height: auto; overflow: visible; }
.vl-raster { stroke: var(--nacht-linie); stroke-width: 1; }
.vl-null { stroke: var(--nacht-text-2); stroke-width: 1; }
.vl-text { font-family: inherit; font-size: 12px; fill: var(--nacht-text-2); }
.vl-a { fill: none; stroke: var(--orange); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.vl-a-punkt { fill: var(--orange); }
.vl-b { fill: none; stroke: var(--nacht-text-2); stroke-width: 2; stroke-dasharray: 6 5; }
.legende { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; font-size: .9rem; color: var(--nacht-text-2); margin-top: .5rem; }
.legende span::before { content: ""; display: inline-block; width: 1.5rem; height: 0; border-top: 3px solid var(--orange); vertical-align: middle; margin-right: .5rem; }
.legende span + span::before { border-top: 2px dashed var(--nacht-text-2); }

.berater { padding: 1.5rem; background: var(--nacht-2); border-radius: 4px; display: grid; gap: 1rem; }
.berater h3 { font-size: 1.15rem; }
.berater__aktion { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.berater__text { display: grid; gap: .6rem; padding-top: 1rem; border-top: 1px solid var(--nacht-linie); max-width: 44em; }
.berater__text h4 { font-size: 1.05rem; font-weight: 600; margin-top: .4rem; }
.berater__text ul { display: grid; gap: .4rem; }
.berater__text li { padding-left: 1.1rem; position: relative; }
.berater__text li::before { content: ""; position: absolute; left: 0; top: .62em; width: .4rem; height: .4rem; background: var(--orange); border-radius: 50%; }

.annahmen { margin-top: 3rem; padding-top: 1.75rem; border-top: 1px solid var(--nacht-linie); display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); font-size: .925rem; color: var(--nacht-text-2); }
@media (min-width: 900px) { .annahmen { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.annahmen h3 { font-size: 1.05rem; color: var(--nacht-text); margin-bottom: .6rem; }
.annahmen li { padding: .35rem 0; border-bottom: 1px solid var(--nacht-linie); }
.annahmen li strong { color: var(--nacht-text); }
.annahmen p + p { margin-top: .75rem; }

.uebergabe { margin-top: 3rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--nacht-2); border-radius: 4px; display: grid; gap: 1.5rem 3rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .uebergabe { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.uebergabe p { margin-top: .75rem; color: var(--nacht-text-2); }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 1rem; }
.formular .paar { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.formular label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.formular input, .formular textarea {
  width: 100%; min-height: 3rem; padding: .65rem .8rem; background: #fff; color: var(--tinte);
  border: 1px solid #8e978f; border-radius: 3px; font-weight: 400; font-size: 1rem;
}
.formular textarea { min-height: 7rem; resize: vertical; }
.nacht .formular input { background: var(--nacht); color: var(--nacht-text); border-color: var(--nacht-linie); }
.formular .falle { position: absolute; left: -9999px; }
.meldung { padding: 1rem 1.2rem; border-radius: 3px; border-left: 5px solid var(--gruen); background: #e2efe6; color: var(--tinte); }
.meldung--fehler { border-left-color: var(--rot); background: #f6e3de; }
.meldung strong { display: block; font-size: 1.1rem; }

/* ---------- Videos ---------- */
.filme { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.film a { text-decoration: none; display: block; }
.film__bild { position: relative; aspect-ratio: 16 / 9; background: var(--nacht); border-radius: 4px; overflow: hidden; }
.film__bild img { width: 100%; height: 100%; object-fit: cover; }
.film__bild::after { content: ""; position: absolute; left: 1rem; bottom: 1rem; width: 3rem; height: 3rem; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231a1205' d='M9 6v12l10-6z'/%3E%3C/svg%3E") center / 60% no-repeat; }
.film h3 { margin-top: .9rem; font-size: 1.15rem; }
.film a:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); }
.film p { margin-top: .35rem; color: var(--tinte-2); font-size: .975rem; }

/* ---------- Fragen ---------- */
.fragen { border-top: 2px solid var(--tinte); max-width: 54rem; }
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1.2rem 0; font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: none; font-size: 1.6rem; font-weight: 400; line-height: 1; color: var(--orange-tief); }
.fragen details[open] summary::after { content: "–"; }
.fragen .antwort { padding: 0 0 1.5rem; max-width: 44em; }
.fragen .antwort p + p { margin-top: .9em; }
.fragen .merke { margin-top: 1rem; padding: .9rem 1.1rem; background: var(--flaeche); border-left: 4px solid var(--orange); }

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: 2.5rem 4rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .kontakt { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.kontakt__termin { padding: clamp(1.4rem, 3vw, 2rem); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 4px; }
.kontakt__termin p { margin-block: .6rem 1.25rem; }
.kontakt__adresse { margin-top: 1.75rem; font-style: normal; line-height: 1.6; }

/* ---------- Fuss ---------- */
.fuss { background: var(--tinte); color: var(--nacht-text); padding-block: 3rem 2rem; }
.fuss__raster { display: grid; gap: 2rem 3rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.fuss .marke { color: #fff; }
.fuss address { font-style: normal; line-height: 1.6; color: var(--nacht-text-2); margin-top: .9rem; }
.fuss address a { color: var(--nacht-text); }
.fuss h2 { font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-bottom: .6rem; }
.fuss li { padding: .2rem 0; }
.fuss li a, .fuss li button { color: var(--nacht-text-2); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--nacht-linie); text-underline-offset: .18em; }
.fuss li a:hover, .fuss li button:hover { color: #fff; text-decoration-color: var(--orange); }
.fuss__unten { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--nacht-linie); font-size: .875rem; color: var(--nacht-text-2); display: flex; flex-wrap: wrap; gap: .25rem 2rem; justify-content: space-between; }

/* ---------- Cookie-Hinweis ---------- */
.cookie { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--flaeche); border-top: 2px solid var(--tinte); padding-block: 1.1rem; box-shadow: 0 -8px 24px rgba(18, 36, 31, .12); }
.cookie__in { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; }
.cookie p { max-width: 46em; font-size: .975rem; }
.cookie__knoepfe { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie .btn { min-height: 2.75rem; }

/* ---------- Zum Nachlesen ---------- */
.lesen { border-top: 2px solid var(--tinte); max-width: 54rem; }
.lesen a { display: block; padding: 1.2rem 0; border-bottom: 1px solid var(--linie); text-decoration: none; }
.lesen strong { display: block; font-size: 1.15rem; line-height: 1.3; }
.lesen span { display: block; margin-top: .3rem; color: var(--tinte-2); font-size: .975rem; max-width: 44em; }
.lesen a:hover strong { text-decoration: underline; text-decoration-color: var(--orange); }

/* ---------- Rechtstexte ---------- */
.artikel .lead { margin-bottom: 1rem; }
.artikel__cta { margin-top: 3rem; padding: clamp(1.4rem, 3vw, 2rem); background: var(--flaeche); border: 1px solid var(--linie); border-radius: 4px; max-width: 46rem; }
.artikel__cta h2 { margin-top: 0; }
.artikel .quellen { margin-top: 2rem; }
.recht { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.recht h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 2rem; }
.recht h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; }
.recht p, .recht ul { max-width: 44em; }
.recht p + p { margin-top: .9em; }
.recht ul { list-style: disc; padding-left: 1.3rem; margin-top: .6rem; }
.recht li + li { margin-top: .35rem; }
.recht address { font-style: normal; line-height: 1.6; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
@media print {
  .kopf, .cookie, .video, .berater, .menue-knopf { display: none !important; }
  body { background: #fff; }
}
.recht ul + p { margin-top: .9em; }
.artikel > .wrap > .klein { margin-bottom: .75rem; }
