/* Öffentliche Startseite „/“: eigenständig, unabhängig von app.css (Portal). Farben nach Brandbook 1.2, Poppins für Überschriften, Geist für Text (DESIGN.md §13). */

@font-face { font-family: 'Poppins'; src: url(/static/poppins-600.woff2?v=4a7f8b1f66) format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Geist'; src: url(/static/geist.woff2?v=afb981c6fd) format('woff2'); font-weight: 400 600; font-style: normal; font-display: swap; }
/* Ersatzschriften mit angeglichenen Maßen, damit beim Nachladen nichts springt. */
@font-face { font-family: 'Poppins Ersatz'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); ascent-override: 93.6%; descent-override: 31.2%; line-gap-override: 8.9%; size-adjust: 112.2%; }
@font-face { font-family: 'Geist Ersatz'; src: local('Arial'), local('Liberation Sans'), local('Helvetica'); ascent-override: 94%; descent-override: 27.6%; line-gap-override: 0%; size-adjust: 104%; }

:root {
  --nacht: #060E15;
  --nacht-2: #131C23;
  --nacht-linie: #25323c;
  --text-hell: #EEF2F5;
  --text-hell-2: #BFC5CA;
  --gruen: #61CE70;
  --gruen-dunkel: #05A92E;
  --gruen-text: #003700;
  --tinte: #12171B;
  --grau: #50565D;
  --grau-2: #50565D;
  --papier: #F6F9F6;
  --linie: #D9DFE3;
  --linie-2: #BFC5CA;
  --gelb: #DE9300;
  --f-display: 'Poppins', 'Poppins Ersatz', system-ui, sans-serif;
  --f-text: 'Geist', 'Geist Ersatz', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-code: ui-monospace, 'SF Mono', 'Cascadia Mono', Menlo, Consolas, monospace;
  --kopf-h: 64px;
  --rand: 24px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); background: var(--nacht); }
body { margin: 0; font: 400 1.0625rem/1.6 var(--f-text); color: var(--tinte); background: #fff; overflow-x: clip; -webkit-font-smoothing: antialiased; font-variant-numeric: lining-nums; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font: 400 .875em/1.4 var(--f-code); }
[data-t]::before { content: attr(data-t); }
.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--gruen); outline-offset: 3px; border-radius: 2px; }
.abschnitt:not(.dunkel) :focus-visible { outline-color: var(--gruen-text); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 6px; background: var(--gruen); color: var(--nacht); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.behaelter { width: min(100% - 2 * var(--rand), 1200px); margin-inline: auto; }

h2 { font: 600 clamp(1.875rem, 1.25rem + 2vw, 2.875rem)/1.1 var(--f-display); letter-spacing: -.028em; color: var(--tinte); text-wrap: balance; }
h3 { font: 600 1.1875rem/1.35 var(--f-text); letter-spacing: -.005em; color: var(--tinte); }

/* ---- Knöpfe und Links -------------------------------------------------------------------- */

.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: 8px; font: 600 15px/1 var(--f-text); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.knopf.klein { min-height: 40px; padding: 0 14px; font-size: 14.5px; }
.knopf.gross { min-height: 52px; padding: 0 26px; font-size: 16.5px; }
.knopf.primaer { background: var(--gruen); color: var(--nacht); }
.knopf.primaer:hover { background: #77d985; }
/* „Zugang anfragen“ ist ein Formular mit verdecktem Feld; Formular ohne eigene Box, Knopf sieht aus wie der Link. */
.cta-form { display: contents; }
button.knopf { margin: 0; border: 0; cursor: pointer; appearance: none; -webkit-appearance: none; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--gruen-text); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.textlink:hover { text-decoration-thickness: 2px; }
.textlink.hell { color: var(--text-hell); text-decoration-color: rgba(238, 242, 244, .4); }
.textlink.hell:hover { text-decoration-color: var(--gruen); }

/* ---- Kopf -------------------------------------------------------------------------------- */

.kopf { position: sticky; top: 0; z-index: 50; height: var(--kopf-h); color: var(--text-hell); background: var(--nacht); border-bottom: 1px solid var(--nacht-linie); }
.kopf-innen { display: flex; align-items: center; gap: 14px; height: 100%; }
.marke { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: var(--text-hell); min-width: 0; }
.marke img { width: 26px; height: 26px; }
.marke-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.marke-text strong { font-weight: 700; font-size: 15px; letter-spacing: -.01em; }
.marke-text small { font-size: 12px; color: var(--text-hell-2); }
/* Wie im Portal (app.css), unverändert übernommen. */
.env-badge { background: #f9a825; color: #3a2a00; font-size: .72rem; font-weight: 700; padding: .15rem .5rem; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.kopf-nav { display: flex; gap: 2px; margin-left: auto; }
.kopf-nav a { padding: 8px 12px; font-size: 15px; color: var(--text-hell-2); text-decoration: none; }
.kopf-nav a:hover { color: var(--text-hell); text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gruen); }
.kopf-aktionen { display: flex; align-items: center; gap: 8px; margin-left: 12px; }
.kopf-login { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; font-size: 15px; font-weight: 600; color: var(--text-hell); text-decoration: none; }
.kopf-login:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gruen); }

/* ---- Hero -------------------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; background: var(--nacht); color: var(--text-hell); }
.hero-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 64px; align-items: center; min-height: min(820px, calc(100svh - var(--kopf-h))); }
.hero-text { padding-block: 64px 72px; }
.hero h1 { max-width: 11em; font: 600 clamp(2.5rem, 1.4rem + 3vw, 4rem)/1.04 var(--f-display); letter-spacing: -.035em; text-wrap: balance; }
.lead { max-width: 25em; margin-top: 24px; font-size: 1.25rem; line-height: 1.5; color: var(--text-hell-2); }
.hero-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.hero-absender { max-width: 30em; margin-top: 56px; padding-top: 16px; border-top: 1px solid var(--nacht-linie); font-size: .9375rem; color: var(--text-hell-2); }

/* Radar im Hintergrund: absolut positioniert, also ohne Einfluss aufs Layout; Mitte hinter der Produktansicht. */
.hero-raster { position: relative; z-index: 1; }
.hero-radar { position: absolute; z-index: 0; left: 72.5%; top: 42%; width: 1040px; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.hero-radar svg { width: 100%; height: 100%; overflow: visible; }
.hr-ring { fill: none; stroke: rgba(238, 242, 244, .065); stroke-width: 1; }
.hr-punkt { fill: rgba(238, 242, 244, .42); opacity: .45; }
.hr-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(transparent 0deg 300deg, rgba(97, 206, 112, .045) 359.3deg, rgba(97, 206, 112, .09) 359.3deg); transform: rotate(52deg); }

/* Produktansicht: Nachbau der Portal-Startseite, unten vom Hero angeschnitten. */
.produkt { align-self: end; margin-right: -120px; padding-top: 56px; }
.produkt figcaption { margin: 0 0 12px 2px; font-size: 13px; color: var(--text-hell-2); }
.fenster { overflow: hidden; height: 560px; border-radius: 10px 10px 0 0; background: #fff; color: var(--tinte); box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 30px 80px -24px rgba(0, 0, 0, .7); font-size: 13px; line-height: 1.4; }
.fenster-leiste { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; background: #fff; border-bottom: 1px solid #e2e6ea; white-space: nowrap; }
.fl-marke { width: 12px; height: 16px; flex: none; background: url(/static/bildmarke-gruen.svg?v=ae892ead16) center / contain no-repeat; }
.fl-name { font: 600 13.5px/1.2 var(--f-display); letter-spacing: -.02em; }
.fl-nav { display: flex; align-items: center; gap: 4px; margin-left: 18px; color: var(--grau); }
.fl-nav > * { padding: 5px 10px; border-radius: 999px; }
.fl-nav .an { background: #EEF2F5; font-weight: 600; color: var(--tinte); }
.fl-nav .zahl { display: inline-grid; place-items: center; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--tinte); color: #fff; font-size: 10.5px; font-weight: 600; }
.fl-firma { margin-left: auto; padding: 3px 10px; border: 1px solid var(--linie-2); border-radius: 999px; font-weight: 500; color: var(--tinte); }
.fenster-inhalt { padding: 22px 26px; }
.p-stand { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 22px; border-radius: 12px; background: #FAEED6; }
.p-licht { width: 36px; height: 36px; border-radius: 50%; background: var(--gelb); }
.p-stand-text { display: grid; gap: 6px; justify-items: start; }
.p-satz { font: 600 17px/1.3 var(--f-display); letter-spacing: -.015em; color: var(--tinte); }
.p-meta { font-size: 12px; color: var(--grau); }
.p-knopf { margin-top: 8px; padding: 7px 14px; border-radius: 999px; background: var(--tinte); color: #fff; font-size: 12.5px; font-weight: 600; }
.p-titel { display: block; margin: 20px 0 8px; font: 600 14.5px/1.3 var(--f-display); letter-spacing: -.02em; }
.p-liste, .p-domain { border-radius: 12px; background: #fff; border: 1px solid var(--linie); }
.p-liste li, .p-domain { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 12px; align-items: start; padding: 12px 18px; }
.p-liste li + li { border-top: 1px solid var(--linie); }
.p-sev { justify-self: start; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; line-height: 1.35; border: 1px solid transparent; }
.p-sev.wichtig { background: var(--gelb); color: var(--tinte); }
.p-sev.empfohlen { background: #FAEED6; color: #6B4700; border-color: var(--gelb); }
.p-aufgabe { display: grid; gap: 2px; min-width: 0; }
.p-aufgabe-titel { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-domain { grid-template-columns: 12px minmax(0, 1fr) auto; align-items: center; }
.p-punkt { width: 10px; height: 10px; border-radius: 50%; background: var(--gelb); }
.p-meta.rechts { white-space: nowrap; }

/* ---- Helle Abschnitte -------------------------------------------------------------------- */

.abschnitt { padding-block: clamp(72px, 4rem + 4vw, 128px); background: #fff; }
.abschnitt.papier { background: var(--papier); }
.abschnitt.linie-oben { padding-top: 0; }
.abschnitt.linie-oben > .behaelter { padding-top: clamp(56px, 3rem + 3vw, 96px); border-top: 1px solid var(--linie); }
.fussnote { margin-top: 20px; font-size: .875rem; color: var(--grau); }

.einleitung-raster { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 96px; align-items: start; }
.einleitung h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.gross-text { margin-top: 28px; font-size: clamp(1.1875rem, 1.05rem + .5vw, 1.4375rem); line-height: 1.5; color: var(--tinte); }
.einleitung-text > p:not(.gross-text) { max-width: 36em; margin-top: 20px; color: var(--grau); }
.steckbrief { margin-top: 10px; border-top: 3px solid var(--tinte); }
.steckbrief dl > div { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.steckbrief dt { font-size: .875rem; color: var(--grau-2); }
.steckbrief dd { font-weight: 600; color: var(--tinte); }

.abschnitt.worum { padding-block: clamp(56px, 3rem + 3vw, 96px); }
.worum-schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; counter-reset: schritt; }
.worum-schritte li { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 1px solid var(--linie-2); counter-increment: schritt; }
.worum-label { font-size: .875rem; font-weight: 600; color: var(--gruen-text); }
.worum-label::before { content: counter(schritt) " · "; }
.worum-schritte h3 { font: 600 clamp(1.375rem, 1.2rem + .6vw, 1.625rem)/1.2 var(--f-display); letter-spacing: -.02em; text-wrap: balance; }
.worum-schritte p:not(.worum-label) { color: var(--grau); }
.worum .textlink { margin-top: 28px; }
.ablauf-titel { max-width: 12em; font-size: clamp(2.25rem, 1.3rem + 3.2vw, 3.75rem); }
.zeitleiste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; margin-top: clamp(40px, 2rem + 2vw, 64px); border-top: 1px solid var(--linie-2); }
.zeit { position: relative; display: flex; flex-direction: column; gap: 14px; padding-top: 28px; }
.zeit::before { content: ''; position: absolute; top: -2px; left: 0; width: 40px; height: 3px; background: var(--gruen-text); }
.zeit h3 { font: 600 1.5rem/1.2 var(--f-display); letter-spacing: -.02em; }
.zeit p { color: var(--grau); }
.zeit .beleg { margin-top: auto; padding: 12px 14px; border-radius: 6px; background: #fff; border: 1px solid var(--linie); font-size: .875rem; line-height: 1.45; color: var(--tinte); }
.beleg-label { display: block; margin-bottom: 2px; font-size: .75rem; color: var(--grau-2); }

.befund-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: center; }
.befund-text > p { margin-top: 20px; color: var(--grau); }
.befund-notizen, .notizen { margin-top: 32px; border-top: 1px solid var(--linie); }
.befund-notizen > div, .notizen > div { display: grid; grid-template-columns: 9.5em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linie); }
.befund-notizen dt, .notizen dt { font-weight: 600; }
.befund-notizen dd, .notizen dd { color: var(--grau); }
.rollen { max-width: 40em; }
.rollen > div { grid-template-columns: 13em minmax(0, 1fr); }
.befund-text .textlink { margin-top: 20px; }
.befund-figur { padding: clamp(24px, 1rem + 3vw, 56px); border-radius: 12px; background: var(--papier); }
.befund-figur figcaption { margin-top: 16px; font-size: .8125rem; color: var(--grau); }
.befund-karte { padding: 28px; border-radius: 8px; background: #fff; border: 1px solid var(--linie); box-shadow: 0 24px 48px -32px rgba(20, 25, 29, .35); font-size: 15px; }
.befund-kopf { display: flex; align-items: center; gap: 8px; }
.befund-kopf .p-sev { font-size: 12px; }
.befund-dauer { margin-left: auto; font-size: 13px; color: var(--grau); }
.befund-titel { margin-top: 16px; font: 600 1.25rem/1.3 var(--f-display); letter-spacing: -.015em; color: var(--tinte); }
.befund-host { margin-top: 6px; font-size: 13px; color: var(--grau); }
.befund-teil { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--linie); }
.befund-teil p:not(.befund-frage) { color: var(--grau); }
.befund-frage { margin-bottom: 4px; font-weight: 600; color: var(--tinte); }
.befund-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.faux { display: inline-flex; align-items: center; min-height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--linie-2); background: #fff; font-size: 14px; font-weight: 600; color: var(--tinte); }
.faux.primaer { background: var(--tinte); border-color: var(--tinte); color: #fff; }
.befund-technik { margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--gruen-text); }
.befund-technik::before { content: '▸ '; }

.pruef-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.pruef-kopf { position: sticky; top: calc(var(--kopf-h) + 40px); }
.pruef-kopf p { margin-top: 20px; color: var(--grau); }
.pruef-liste li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5em; column-gap: 32px; padding: 26px 0; border-top: 1px solid var(--linie); }
.pruef-liste li:last-child { border-bottom: 1px solid var(--linie); }
.pruef-liste li > * { grid-column: 1; }
.pruef-liste h3 { font-size: 1.25rem; }
.pruef-liste p { max-width: 40em; margin-top: 6px; color: var(--grau); }
.pruef-liste .tech { margin-top: 10px; font-size: .875rem; color: var(--grau-2); }
.pruef-liste .tech span { color: var(--grau); }
.pruef-liste .takt { grid-column: 2; grid-row: 1; text-align: right; font-size: .875rem; color: var(--grau); }
.vorbereitung { display: inline-block; margin-left: 4px; padding: 1px 7px; border-radius: 4px; background: #eceee9; color: var(--grau); font: 600 .75rem/1.5 var(--f-text); letter-spacing: 0; vertical-align: 2px; white-space: nowrap; }

/* ---- Einwilligung (dunkel) --------------------------------------------------------------- */

.abschnitt.dunkel { background: var(--nacht); color: var(--text-hell); }
.dunkel h2, .dunkel h3 { color: var(--text-hell); }
.einwilligung-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px 72px; }
.einwilligung-kopf { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px 72px; align-items: end; }
.einwilligung-kopf h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.25rem); }
.einwilligung-kopf p { color: var(--text-hell-2); }
.einwilligung-kopf .textlink { grid-column: 2; justify-self: start; margin-top: -12px; }
.spalte { padding-top: 22px; border-top: 1px solid var(--nacht-linie); }
.spalte h3 { font-size: 1.0625rem; color: var(--text-hell-2); font-weight: 600; }
.zeilen { margin-top: 12px; }
.zeilen li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--nacht-linie); font-size: 1.0625rem; }
.zeilen .takt { flex: none; color: var(--text-hell-2); font-size: .9375rem; }
.zeilen.nie li { color: var(--text-hell-2); }
.nur-pro { color: var(--text-hell-2); }
.dunkel .vorbereitung { background: #1f2a32; color: #c2ccd3; }
.dunkel .fussnote { color: var(--text-hell-2); }

/* ---- Pakete ------------------------------------------------------------------------------ */

.pakete-kopf { max-width: 40rem; margin-bottom: 48px; }
.pakete-kopf p { margin-top: 16px; color: var(--grau); }
.vergleich { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 1rem; }
.vergleich thead td { width: 34%; }
.vergleich thead th { padding: 24px 22px 22px; text-align: left; vertical-align: top; font-weight: 400; }
.vergleich .hervor { background: #fff; }
.vergleich thead th.hervor { border-radius: 8px 8px 0 0; box-shadow: inset 0 3px 0 var(--gruen-text); }
.paket-name { display: block; font: 600 1.75rem/1.1 var(--f-display); letter-spacing: -.02em; color: var(--tinte); }
.paket-umfang, .paket-preis, .paket-satz { display: block; }
.paket-umfang { margin-top: 6px; font-size: .9375rem; font-weight: 600; }
.paket-preis { margin-top: 2px; font-size: .9375rem; color: var(--grau); }
.paket-satz { margin-top: 14px; font-size: .9375rem; line-height: 1.5; color: var(--grau); }
.vergleich tbody th { padding: 14px 16px 14px 0; text-align: left; font-weight: 400; border-top: 1px solid var(--linie-2); }
.vergleich tbody td { padding: 14px 22px; border-top: 1px solid var(--linie-2); color: var(--tinte); }
.vergleich tbody tr:last-child > * { border-bottom: 1px solid var(--linie-2); }
.ja, .nein { display: inline-block; position: relative; width: 18px; height: 18px; vertical-align: -3px; }
.ja::before { content: ''; position: absolute; left: 3px; top: 2px; width: 6px; height: 11px; border: solid var(--gruen-text); border-width: 0 2.5px 2.5px 0; transform: rotate(40deg); }
.nein::before { content: ''; position: absolute; left: 2px; top: 8px; width: 12px; height: 2px; background: #b3bab5; }
.vergleich + .fussnote { max-width: 46em; }

/* ---- Fragen ------------------------------------------------------------------------------ */

.fragen-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 72px; align-items: start; }
.fragen-kopf { position: sticky; top: calc(var(--kopf-h) + 40px); }
.fragen-kopf p { margin-top: 16px; color: var(--grau); }
.fragen-kopf a, .frage a { color: var(--gruen-text); font-weight: 600; overflow-wrap: anywhere; text-underline-offset: 3px; }
.frage { border-bottom: 1px solid var(--linie); }
.frage:first-child { border-top: 1px solid var(--linie); }
.frage summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: 16px 48px 16px 0; font-size: 1.125rem; font-weight: 600; color: var(--tinte); cursor: pointer; list-style: none; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::before, .frage summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 14px; height: 1.5px; background: var(--tinte); }
.frage summary::after { transform: rotate(90deg); }
.frage[open] summary::after { display: none; }
.frage summary:hover { color: var(--gruen-text); }
.frage p { max-width: 60ch; padding: 0 48px 24px 0; color: var(--grau); }

/* ---- Schluss und Fuß --------------------------------------------------------------------- */

.schluss { padding-block: clamp(80px, 4rem + 5vw, 144px); background: var(--nacht); color: var(--text-hell); }
.schluss-raster { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px 96px; align-items: end; }
.schluss h2 { color: var(--text-hell); font-size: clamp(2.25rem, 1.3rem + 3.2vw, 4rem); letter-spacing: -.035em; }
.schluss-text p { color: var(--text-hell-2); font-size: 1.125rem; }
.schluss-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.schluss-text .schluss-kontakt { margin-top: 20px; font-size: 1rem; }
.schluss-kontakt a { color: var(--text-hell); text-underline-offset: 4px; text-decoration-color: var(--gruen); }

.fuss { background: var(--nacht); color: var(--text-hell-2); border-top: 1px solid var(--nacht-linie); font-size: 14px; }
.fuss-innen { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 20px 40px; padding-block: 36px; }
.fuss-marke { display: grid; gap: 8px; }
.claim { font-size: 13px; }
.fuss-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.fuss-links a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 8px; color: var(--text-hell-2); text-decoration: none; }
.fuss-links a:hover { color: var(--text-hell); text-decoration: underline; text-underline-offset: 3px; }

.cta-leiste { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: none; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--nacht); border-top: 1px solid var(--nacht-linie); transform: translateY(110%); transition: transform .25s var(--ease), visibility .25s; }
.cta-leiste[hidden] { display: none !important; }
.cta-leiste:not(.sichtbar) { visibility: hidden; }
.cta-leiste .knopf { width: 100%; min-height: 48px; }
.cta-leiste.sichtbar { transform: none; visibility: visible; }

/* ---- Bewegung: nur die Produktansicht baut sich einmal auf ------------------------------- */

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .p-licht { animation: licht .5s ease-out .3s both; }
  .p-liste li { animation: rein .45s var(--ease) both; }
  .p-liste li:nth-child(1) { animation-delay: .55s; }
  .p-liste li:nth-child(2) { animation-delay: .67s; }
  .p-liste li:nth-child(3) { animation-delay: .79s; }
  /* Ein Umlauf in 10 s; jeder Messpunkt wird hell, wenn der Sweep ihn erreicht (Winkel 40°, 300°, 250°). */
  .hr-sweep { animation: sweep 10s linear infinite; }
  .hr-punkt { animation: messpunkt 10s linear infinite; }
  .hr-p1 { animation-delay: -8.889s; }
  .hr-p2 { animation-delay: -1.667s; }
  .hr-p3 { animation-delay: -3.056s; }
}
@keyframes licht { from { background: #d9dde0; } }
@keyframes rein { from { opacity: 0; transform: translateY(6px); } }
@keyframes sweep { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes messpunkt { 0% { opacity: 1; } 35%, 100% { opacity: .33; } }
@media (prefers-reduced-motion: reduce) {
  .cta-leiste { transition: none; }
}

/* ---- Breiten ----------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .kopf-nav a { padding: 8px 9px; font-size: 14.5px; }
  .produkt { margin-right: calc(-1 * var(--rand)); }
}
@media (max-width: 1023px) {
  .kopf-nav, .nur-breit { display: none; }
  .kopf-aktionen { margin-left: auto; }
  .hero-raster { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-text { padding-block: 56px 8px; }
  .hero h1 { max-width: 12em; }
  .hero-radar { left: 82%; top: 260px; width: 880px; }
  /* Ab hier nicht mehr angeschnitten: die Produktansicht zeigt ihren ganzen Inhalt. */
  .produkt { margin-right: 0; padding-block: 40px 56px; }
  .fenster { height: auto; border-radius: 10px; }
  .p-aufgabe-titel { white-space: normal; }
  .einleitung-raster, .befund-raster, .pruef-raster, .fragen-raster, .schluss-raster { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .einwilligung-raster, .einwilligung-kopf { grid-template-columns: minmax(0, 1fr); }
  .einwilligung-kopf .textlink { grid-column: 1; margin-top: -8px; }
  .zeitleiste { grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 0; }
  .worum-schritte { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .zeit { padding: 24px 0 32px; border-top: 1px solid var(--linie-2); }
  .pruef-kopf, .fragen-kopf { position: static; }
  .fragen-raster { gap: 24px; }
  .fuss-innen { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .fuss-links { justify-content: flex-start; margin-left: -8px; }
}
@media (max-width: 639px) {
  :root { --kopf-h: 60px; --rand: 20px; }
  .marke .lang { display: none; }
  .env-badge { font-size: .62rem; padding: .1rem .4rem; }
  .kopf-innen { gap: 10px; }
  .kopf-login { margin-right: -12px; }

  /* Erster Bildschirm: Überschrift, Text, Knopf; die Produktansicht folgt darunter in voller Höhe. */
  .hero-raster { display: flex; flex-direction: column; align-items: stretch; padding-block: 28px 32px; }
  .hero-text { display: contents; }
  .hero h1 { order: 1; font-size: min(2.5rem, 10.2vw); line-height: 1.06; }
  .hero-radar { left: 88%; top: 96px; width: 560px; }
  .hr-ring { stroke: rgba(238, 242, 244, .055); }
  .hr-sweep { transform: rotate(235deg); }
  .lead { order: 2; margin-top: 16px; font-size: 1.125rem; }
  .produkt { order: 4; margin: 20px 0 0; padding: 0; }
  .produkt figcaption { display: none; }
  .fenster { font-size: 12px; }
  .fenster-leiste { height: 42px; padding: 0 14px; }
  .fl-nav, .fl-firma { display: none; }
  .fenster-inhalt { padding: 14px; }
  .p-stand { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 16px; }
  .p-licht { width: 40px; height: 40px; }
  .p-satz { font-size: 15px; }
  .p-liste li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px 14px; }
  .p-domain { padding: 12px 14px; }
  .hero-aktion { order: 3; flex-direction: column; align-items: stretch; gap: 4px; margin-top: 20px; }
  .hero-aktion .knopf { width: 100%; }
  .hero-aktion .textlink { justify-content: center; }
  .hero-absender { display: none; }

  .abschnitt.linie-oben > .behaelter { border-top: 0; padding-top: 0; }
  .abschnitt.linie-oben { padding-top: 24px; }
  .befund-notizen > div, .notizen > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .befund-figur { padding: 16px; margin-inline: calc(-1 * var(--rand)); border-radius: 0; }
  .befund-karte { padding: 20px; }
  .pruef-liste li { grid-template-columns: minmax(0, 1fr); }
  .pruef-liste .takt { grid-column: 1; grid-row: auto; margin-top: 8px; text-align: left; }
  .frage p { padding-right: 0; }

  /* Vergleichstabelle: je Leistung eine Zeile mit drei Paketen darunter. */
  .vergleich, .vergleich thead, .vergleich tbody { display: block; }
  .vergleich thead tr, .vergleich tbody tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .vergleich thead td { display: none; }
  .vergleich thead th { padding: 16px 10px 14px; }
  .paket-name { font-size: 1.375rem; }
  .paket-umfang { font-size: .8125rem; }
  .paket-preis { font-size: .8125rem; }
  .paket-satz { display: none; }
  .vergleich tbody th { grid-column: 1 / -1; padding: 14px 0 4px; }
  .vergleich tbody td { padding: 4px 10px 14px; border-top: 0; font-size: .9375rem; }
  .vergleich tbody .hervor { background: none; }
  .vergleich tbody tr:last-child > * { border-bottom: 0; }
  .vergleich tbody tr:last-child { border-bottom: 1px solid var(--linie-2); }

  .schluss-aktion { flex-direction: column; align-items: stretch; gap: 4px; }
  .schluss-aktion .textlink { justify-content: center; }
  .cta-leiste { display: block; }
}
@media (max-width: 380px) {
  .marke-text small { display: none; }
}
