/* =====================================================================
   W6 - Landing Page
   Designtokens stammen aus der Anwendung (app.w6-web.de), damit sich
   Website und Produkt wie ein Stueck anfuehlen: gleiches Rot, gleicher
   Radius, gleiche Schattenkurve, gleicher Hell-/Dunkel-Umschalter.

   Aufbau: 1 Tokens - 2 Basis - 3 Bausteine - 4 Kopf/Fuss - 5 Abschnitte
   Es gibt bewusst nur Ein-Klassen-Selektoren, damit sich keine Regeln
   gegenseitig ueberschreiben.
   ===================================================================== */

/* ---------------------------------------------------------------
   1  Tokens
   --------------------------------------------------------------- */

:root {
    color-scheme: light;

    --rot: #c30b0c;
    --rot-dunkel: #9c0809;
    --rot-akzent: #c30b0c;      /* Rot auf Flaeche - im Dunkeln heller */
    --rot-hell: #fceaea;
    --rot-rand: #f5d4d4;

    --flaeche: #f6f6f7;
    --karte: #ffffff;
    --einlage: #f1f1f4;
    --rand: #ebebee;
    --rand-stark: #e1e1e6;

    --text: #1a1a1e;
    --text-mittel: #55555c;
    --text-grau: #8c8c94;

    --gruen: #1d8a4b;
    --bernstein: #b45309;

    --radius: 14px;
    --radius-klein: 10px;
    --radius-gross: 20px;

    --schatten: 0 1px 2px rgba(20, 20, 25, .05), 0 6px 18px rgba(20, 20, 25, .05);
    --schatten-hoch: 0 2px 4px rgba(20, 20, 25, .06), 0 18px 44px rgba(20, 20, 25, .10);
    --fokus: 0 0 0 3px rgba(195, 11, 12, .28);

    --schrift: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", Consolas, ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

    --spalte: 1180px;
    --luft: clamp(64px, 9vw, 124px);
}

[data-theme="dark"] {
    color-scheme: dark;

    --rot-akzent: #f2595a;
    --rot-hell: #3a1617;
    --rot-rand: #5a2222;

    --flaeche: #131316;
    --karte: #1e1e23;
    --einlage: #2e2e35;
    --rand: #2b2b32;
    --rand-stark: #383840;

    --text: #e8e8ec;
    --text-mittel: #b8b8c1;
    --text-grau: #8f8f99;

    --gruen: #3cb371;
    --bernstein: #e0912f;

    --schatten: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 18px rgba(0, 0, 0, .35);
    --schatten-hoch: 0 2px 4px rgba(0, 0, 0, .45), 0 18px 44px rgba(0, 0, 0, .5);
    --fokus: 0 0 0 3px rgba(242, 89, 90, .35);
}

/* ---------------------------------------------------------------
   2  Basis
   --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

/* Muss vor allen Layout-Regeln stehen und mit Nachdruck: sonst gewinnt
   ein spaeteres display:grid oder display:inline-flex gegen das
   hidden-Attribut, und ausgeblendete Teile waeren doch sichtbar. */
[hidden] { display: none !important; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    margin: 0;
    background: var(--flaeche);
    color: var(--text);
    font-family: var(--schrift);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--rot-akzent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
    outline: 2px solid var(--rot-akzent);
    outline-offset: 2px;
    border-radius: 4px;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.028em;
    font-weight: 800;
    text-wrap: balance;
}

p { margin: 0; }

/* Zahlen sind ueberall tabellarisch gesetzt - das ist die typografische
   Signatur der Seite: ein Produkt ueber exakte Zeiten zeigt exakte Ziffern. */
.zahl {
    font-family: var(--mono);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    letter-spacing: -0.02em;
}

.nur-sr {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.sprung {
    position: absolute;
    left: 12px; top: -60px;
    z-index: 200;
    padding: 10px 18px;
    background: var(--karte);
    color: var(--text);
    border-radius: var(--radius-klein);
    box-shadow: var(--schatten-hoch);
    font-weight: 600;
    text-decoration: none;
    transition: top .18s ease;
}
.sprung:focus { top: 12px; }

.bahn {
    width: 100%;
    max-width: var(--spalte);
    margin-inline: auto;
    padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------------------------------------------------------------
   3  Bausteine
   --------------------------------------------------------------- */

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font: inherit;
    font-size: 16px;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .16s ease, border-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.knopf:hover { transform: translateY(-1px); text-decoration: none; }
.knopf:active { transform: translateY(0); }

.knopf--voll {
    background: var(--rot);
    color: #fff;
    box-shadow: 0 6px 16px rgba(195, 11, 12, .26);
}
.knopf--voll:hover { background: var(--rot-dunkel); box-shadow: 0 10px 22px rgba(195, 11, 12, .32); }

.knopf--rand {
    background: var(--karte);
    color: var(--text);
    border-color: var(--rand-stark);
    box-shadow: var(--schatten);
}
.knopf--rand:hover { border-color: var(--text-grau); }

/* Ablehnen muss genauso gut sichtbar sein wie Annehmen - gleiche Groesse,
   gleiche Flaechigkeit, nur eine andere Farbe. Ein blasser Ablehnen-Knopf
   waere ein Dark Pattern und nach den Vorgaben der Aufsichtsbehoerden
   keine wirksame Einwilligung. */
.knopf--neutral {
    background: var(--text);
    color: var(--karte);
}
.knopf--neutral:hover { background: var(--text-mittel); }

.knopf--still {
    background: transparent;
    color: var(--text-mittel);
    border-color: var(--rand-stark);
}
.knopf--still:hover { color: var(--text); border-color: var(--text-grau); }

.knopf--klein { padding: 9px 18px; font-size: 15px; }

.marke {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-grau);
}
.marke::before {
    content: "";
    width: 22px; height: 2px;
    background: var(--rot-akzent);
    border-radius: 2px;
}

.karte {
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten);
}

/* Der W6-Kachel-Wortmarke, identisch zur Anwendung */
.logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-family: var(--schrift);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: none;
}
.logo:hover { background: rgba(0, 0, 0, .1); text-decoration: none; }
.logo:focus-visible { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }

/* ---------------------------------------------------------------
   4  Kopfzeile und Fusszeile
   --------------------------------------------------------------- */

.kopf {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--rot);
    color: #fff;
}

.kopf__innen {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 62px;
    padding-block: 10px;
}

.kopf__marke {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    margin-right: auto;
}
.kopf__marke:hover { text-decoration: none; }

.kopf__titel { font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }
.kopf__unter { display: block; font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, .78); letter-spacing: 0; }

.kopf__nav { display: flex; align-items: center; gap: 4px; }

.kopf__link {
    padding: 8px 12px;
    border-radius: 9px;
    color: rgba(255, 255, 255, .9);
    font-size: 15px;
    font-weight: 550;
    text-decoration: none;
    white-space: nowrap;
}
.kopf__link:hover { background: rgba(255, 255, 255, .14); color: #fff; text-decoration: none; }
.kopf__link:focus-visible { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }

.kopf__aktion {
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 15px;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
}
.kopf__aktion:hover { background: #fff; color: var(--rot); text-decoration: none; }
.kopf__aktion:focus-visible { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }

.kopf__schalter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    cursor: pointer;
}
.kopf__schalter:hover { background: rgba(255, 255, 255, .24); }
.kopf__schalter:focus-visible { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }
.kopf__schalter svg { width: 18px; height: 18px; }

.kopf__menue { display: none; }

/* Symbol tauschen je nach Thema */
.symbol-hell { display: none; }
[data-theme="dark"] .symbol-hell { display: block; }
[data-theme="dark"] .symbol-dunkel { display: none; }

.fuss {
    background: var(--karte);
    border-top: 1px solid var(--rand);
    padding-block: 56px 32px;
    margin-top: var(--luft);
}

.fuss__gitter {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--rand);
}

.fuss__wort {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.fuss__kachel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--rot);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    box-shadow: inset 0 0 0 2.5px rgba(255, 255, 255, .85);
}

.fuss__text { color: var(--text-mittel); font-size: 15px; max-width: 40ch; }

.fuss__titel {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-grau);
    margin-bottom: 14px;
}

.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.fuss__liste a, .fuss__liste span { color: var(--text-mittel); font-size: 15px; text-decoration: none; }
.fuss__liste a:hover { color: var(--rot-akzent); text-decoration: underline; }

.fuss__schluss {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: space-between;
    padding-top: 24px;
    color: var(--text-grau);
    font-size: 14px;
}

/* ---------------------------------------------------------------
   5  Abschnitte
   --------------------------------------------------------------- */

.block { padding-block: var(--luft); }
.block--eng { padding-block: calc(var(--luft) * .62); }
.block--flaeche { background: var(--karte); border-block: 1px solid var(--rand); }

.block__kopf { max-width: 62ch; margin-bottom: 52px; }
.block__kopf .marke { margin-bottom: 18px; }

.block__titel { font-size: clamp(30px, 4.2vw, 46px); }

.block__lead {
    margin-top: 18px;
    font-size: clamp(17px, 1.5vw, 19px);
    color: var(--text-mittel);
    text-wrap: pretty;
}

/* ---- Held ---------------------------------------------------- */

.held { padding-block: clamp(48px, 7vw, 88px) 0; overflow: hidden; }

.held__gitter {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: clamp(32px, 5vw, 68px);
    align-items: center;
}

/* Bewusst nicht groesser: die Zeile bricht sonst in fuenf Zeilen um und
   erschlaegt die Erfassungskarte daneben. */
.held__titel {
    font-size: clamp(34px, 4.6vw, 56px);
    line-height: 1.06;
    letter-spacing: -0.034em;
    margin-block: 20px 0;
}
.held__ton { color: var(--rot-akzent); }

.held__lead {
    margin-top: 24px;
    max-width: 52ch;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--text-mittel);
    text-wrap: pretty;
}

.held__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.held__fakten {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 34px;
    padding-top: 26px;
    border-top: 1px solid var(--rand);
    list-style: none;
    padding-left: 0;
}
.held__fakt {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    color: var(--text-mittel);
}
.held__fakt svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--gruen); }

/* Erfassungskarte - Abstraktion des Buchungsbildschirms, kein Screenshot */
.erfassung {
    padding: 24px;
    max-width: 400px;
    margin-inline: auto;
    box-shadow: var(--schatten-hoch);
}

.erfassung__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--rand);
}

.erfassung__etikett {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--text-grau);
}

.erfassung__probe {
    padding: 3px 9px;
    border: 1px solid var(--rand-stark);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-grau);
    letter-spacing: .04em;
}

.erfassung__summe { padding-top: 20px; }
.erfassung__mini { font-size: 13.5px; color: var(--text-grau); }

.erfassung__uhr {
    display: block;
    margin-top: 4px;
    font-size: clamp(38px, 6vw, 50px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1;
    color: var(--text);
}

.erfassung__zeilen { display: grid; gap: 10px; margin-top: 22px; }

.erfassung__zeile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 16px;
    background: var(--einlage);
    border-radius: var(--radius-klein);
}
.erfassung__schluessel { font-size: 13.5px; color: var(--text-grau); }
.erfassung__wert { font-size: 15px; font-weight: 650; }

.erfassung__laeuft {
    background: var(--rot-hell);
    border: 1px solid var(--rot-rand);
}
.erfassung__laeuft .erfassung__wert { color: var(--rot-akzent); }

.puls {
    display: inline-block;
    width: 8px; height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    background: var(--rot-akzent);
    animation: puls 2s ease-in-out infinite;
}
@keyframes puls {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.82); }
}

/* ---- Tagesband: das Signaturelement ------------------------- */

.band { margin-top: clamp(48px, 6vw, 76px); padding-bottom: calc(var(--luft) * .5); }

.band__kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 14px;
}
.band__wort { font-size: 14.5px; color: var(--text-mittel); }
.band__spanne { font-family: var(--mono); font-size: 13px; color: var(--text-grau); letter-spacing: .04em; }

.band__spur {
    display: flex;
    gap: 3px;
    height: 58px;
    padding: 5px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    box-shadow: var(--schatten);
    overflow: hidden;
}

.band__stueck {
    position: relative;
    border-radius: 8px;
    min-width: 3px;
    transform-origin: left center;
    animation: aufziehen .62s cubic-bezier(.22, .68, .36, 1) both;
}
@keyframes aufziehen { from { transform: scaleX(0); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }

.band__stueck--arbeit { background: var(--rot); }
.band__stueck--fahrt  { background: var(--bernstein); }
.band__stueck--pause  { background: var(--rand-stark); }

/* Der laufende Abschnitt atmet - so wie in der Anwendung Zeit weiterlaeuft */
.band__stueck--jetzt::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, .34);
    animation: atmen 2.4s ease-in-out infinite;
}
@keyframes atmen { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }

/* Breiten = echte Minutenanteile eines 11-Stunden-Tages (06:00-17:00).
   Als Klassen gesetzt, damit die Seite ohne inline-Styles auskommt und
   eine strenge Content-Security-Policy greifen kann.

   flex-shrink steht bewusst auf 1: Die acht Anteile ergeben zusammen
   100 %, dazu kommen aber sieben Luecken von je 3 px. Ohne Schrumpfen
   liefe das letzte Stueck aus dem Rahmen und wuerde abgeschnitten -
   auf schmalen Bildschirmen deutlich sichtbar. Weil das Schrumpfen mit
   der Basis gewichtet wird, bleiben die Verhaeltnisse exakt erhalten. */
.band__stueck--s1 { flex: 0 1 11.36%; animation-delay: .05s; }
.band__stueck--s2 { flex: 0 1 21.97%; animation-delay: .13s; }
.band__stueck--s3 { flex: 0 1 3.03%;  animation-delay: .21s; }
.band__stueck--s4 { flex: 0 1 20.45%; animation-delay: .29s; }
.band__stueck--s5 { flex: 0 1 4.55%;  animation-delay: .37s; }
.band__stueck--s6 { flex: 0 1 25.00%; animation-delay: .45s; }
.band__stueck--s7 { flex: 0 1 2.27%;  animation-delay: .53s; }
.band__stueck--s8 { flex: 0 1 11.37%; animation-delay: .61s; }

.band__achse {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 12px;
    color: var(--text-grau);
    letter-spacing: .02em;
}

.band__legende {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
}
.band__eintrag {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    color: var(--text-mittel);
}
.band__punkt { width: 11px; height: 11px; border-radius: 3px; flex: 0 0 auto; }
.band__punkt--arbeit { background: var(--rot); }
.band__punkt--fahrt { background: var(--bernstein); }
.band__punkt--pause { background: var(--rand-stark); }

/* ---- Ablauf: echte Reihenfolge, darum nummeriert --------------- */

.ablauf { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }

.schritt {
    position: relative;
    padding: 34px 28px 30px;
    background: var(--karte);
    border: 1px solid var(--rand);
}
.schritt:first-child { border-radius: var(--radius-gross) 0 0 var(--radius-gross); }
.schritt:last-child { border-radius: 0 var(--radius-gross) var(--radius-gross) 0; }

.schritt__zahl {
    display: block;
    font-family: var(--mono);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .1em;
    color: var(--rot-akzent);
    margin-bottom: 16px;
}
.schritt__titel { font-size: 20px; margin-bottom: 10px; }
.schritt__text { font-size: 15.5px; color: var(--text-mittel); }

.merke {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 28px;
    padding: 22px 26px;
    background: var(--rot-hell);
    border: 1px solid var(--rot-rand);
    border-radius: var(--radius);
}
.merke svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 3px; color: var(--rot-akzent); }
.merke__text { font-size: 15.5px; color: var(--text); }
.merke__text strong { font-weight: 700; }

/* ---- Module ---------------------------------------------------- */

.module { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.modul {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius-gross);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.modul:hover { border-color: var(--rand-stark); box-shadow: var(--schatten-hoch); transform: translateY(-2px); }

.modul__bild {
    height: 92px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--einlage);
    border-radius: var(--radius-klein);
    display: flex;
    align-items: center;
    justify-content: center;
}
.modul__bild svg { width: 100%; height: 100%; }

.modul__marke {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-grau);
}
.modul__titel { font-size: 23px; margin-block: 8px 12px; }
.modul__text { font-size: 15.5px; color: var(--text-mittel); }

.modul__liste {
    display: grid;
    gap: 8px;
    margin: 20px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--rand);
    list-style: none;
}
.modul__punkt {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text-mittel);
}
.modul__punkt::before {
    content: "";
    width: 5px; height: 5px;
    margin-top: 9px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--rot-akzent);
}

/* ---- Plattformen ----------------------------------------------- */

.plattformen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.plattform {
    padding: 26px 22px;
    background: var(--flaeche);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
}
.block--flaeche .plattform { background: var(--flaeche); }

.plattform svg { width: 26px; height: 26px; color: var(--rot-akzent); margin-bottom: 16px; }
.plattform__titel { font-size: 17px; margin-bottom: 6px; }
.plattform__text { font-size: 14.5px; color: var(--text-mittel); }

.zugang {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-top: 24px;
    padding: 20px 24px;
    background: var(--flaeche);
    border: 1px dashed var(--rand-stark);
    border-radius: var(--radius);
    font-size: 15.5px;
    color: var(--text-mittel);
}
.zugang strong { color: var(--text); font-weight: 700; }
.zugang svg { flex: 0 0 auto; color: var(--rot-akzent); }
.zugang span { flex: 1 1 320px; }

/* ---- Auswertung ------------------------------------------------ */

.auswertung {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

.kennzahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }

.kennzahl {
    padding: 20px 22px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
}
.kennzahl__wert {
    display: block;
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.kennzahl__wort { font-size: 13.5px; color: var(--text-grau); margin-top: 4px; }

.woche {
    margin-top: 14px;
    padding: 22px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
}
.woche__titel {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--text-grau);
    margin-bottom: 18px;
}
.woche__spur { display: flex; align-items: flex-end; gap: 14px; height: 96px; }
.woche__saeule { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }

/* Zurueckhaltender als das Tagesband im Kopf: dort liegt die Betonung,
   hier soll das Diagramm nur belegen, dass Zahlen herauskommen. */
.woche__balken {
    background: var(--rot);
    opacity: .82;
    border-radius: 5px 5px 2px 2px;
    transform-origin: bottom;
    animation: hoch .5s cubic-bezier(.22, .68, .36, 1) both;
}
.woche__balken--b1 { height: 88%; animation-delay: .04s; }
.woche__balken--b2 { height: 96%; animation-delay: .10s; }
.woche__balken--b3 { height: 74%; animation-delay: .16s; }
.woche__balken--b4 { height: 91%; animation-delay: .22s; }
.woche__balken--b5 { height: 62%; animation-delay: .28s; }
.woche__balken--b6 { height: 18%; animation-delay: .34s; background: var(--rand-stark); }
@keyframes hoch { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.woche__achse {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    font-family: var(--mono);
    font-size: 11.5px;
    color: var(--text-grau);
}
.woche__tag { flex: 1; text-align: center; }

.liste { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.liste__punkt { display: flex; gap: 14px; align-items: flex-start; }
.liste__punkt svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; color: var(--gruen); }
.liste__text { font-size: 15.5px; color: var(--text-mittel); }
.liste__text strong { color: var(--text); font-weight: 650; }

/* ---- Sicherheit ------------------------------------------------ */

.schutz { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.schutz__karte {
    padding: 28px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius-gross);
}
.schutz__karte svg { width: 24px; height: 24px; color: var(--rot-akzent); margin-bottom: 18px; }
.schutz__titel { font-size: 18px; margin-bottom: 10px; }
.schutz__text { font-size: 15px; color: var(--text-mittel); }

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

.fragen { max-width: 860px; }

.frage {
    border-bottom: 1px solid var(--rand);
}
.frage:first-of-type { border-top: 1px solid var(--rand); }

.frage__kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 4px;
    font-size: 17.5px;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
}
.frage__kopf::-webkit-details-marker { display: none; }
.frage__kopf:hover { color: var(--rot-akzent); }

.frage__zeichen {
    position: relative;
    width: 18px; height: 18px;
    flex: 0 0 auto;
}
.frage__zeichen::before, .frage__zeichen::after {
    content: "";
    position: absolute;
    background: var(--rot-akzent);
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}
.frage__zeichen::before { top: 8px; left: 0; width: 18px; height: 2px; }
.frage__zeichen::after { top: 0; left: 8px; width: 2px; height: 18px; }
.frage[open] .frage__zeichen::after { transform: scaleY(0); opacity: 0; }

.frage__text {
    padding: 0 4px 26px;
    max-width: 68ch;
    font-size: 16px;
    color: var(--text-mittel);
}
.frage__text a { font-weight: 600; }

/* ---- Kontakt ---------------------------------------------------- */

.kontakt {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: clamp(32px, 5vw, 60px);
    align-items: center;
    padding: clamp(34px, 5vw, 56px);
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten);
}

.kontakt__titel { font-size: clamp(27px, 3.4vw, 38px); }
.kontakt__text { margin-top: 16px; font-size: 17px; color: var(--text-mittel); max-width: 46ch; }
.kontakt__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.kontakt__daten {
    display: grid;
    gap: 2px;
    padding: 26px;
    background: var(--flaeche);
    border-radius: var(--radius);
    font-style: normal;
}
.kontakt__reihe {
    display: flex;
    gap: 14px;
    align-items: baseline;
    padding-block: 9px;
    border-bottom: 1px solid var(--rand);
}
.kontakt__reihe:last-child { border-bottom: 0; }
.kontakt__schluessel {
    flex: 0 0 78px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-grau);
}
.kontakt__wert { font-size: 15.5px; }
.kontakt__wert a { text-decoration: none; }
.kontakt__wert a:hover { text-decoration: underline; }

/* ---- Rechtstexte ------------------------------------------------ */

.recht { max-width: 78ch; padding-block: clamp(44px, 6vw, 76px); }
.recht__titel { font-size: clamp(30px, 4.4vw, 44px); }
.recht__stand { margin-top: 14px; font-size: 14.5px; color: var(--text-grau); }

.recht h2 {
    font-size: 23px;
    margin-top: 52px;
    padding-top: 22px;
    border-top: 1px solid var(--rand);
}
.recht h3 { font-size: 17.5px; margin-top: 32px; }
.recht p { margin-top: 14px; color: var(--text-mittel); }
.recht ul { margin-top: 14px; padding-left: 22px; color: var(--text-mittel); }
.recht li { margin-top: 7px; }
.recht strong { color: var(--text); }

.recht__block {
    margin-top: 20px;
    padding: 22px 26px;
    background: var(--karte);
    border: 1px solid var(--rand);
    border-radius: var(--radius);
    line-height: 1.75;
}
.recht__block p { margin-top: 0; color: var(--text); }

.recht__hinweis {
    margin-top: 22px;
    padding: 20px 24px;
    background: var(--rot-hell);
    border: 1px solid var(--rot-rand);
    border-radius: var(--radius);
}
.recht__hinweis p { margin-top: 0; color: var(--text); font-size: 15.5px; }

/* ---- Vorab-Seite --------------------------------------------------
   Das Tagesband dient hier als Fortschrittsbild: Die vorderen Stuecke
   stehen, die hinteren sind noch offen. Der Tag ist eben noch nicht
   zu Ende - dasselbe Bild, andere Aussage.
   ------------------------------------------------------------------- */

.bald {
    min-height: calc(100vh - 62px);
    min-height: calc(100dvh - 62px);
    display: grid;
    align-items: center;
    padding-block: clamp(48px, 9vw, 110px);
}

.bald__innen { max-width: 760px; }

.bald__titel {
    margin-top: 22px;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.05;
    letter-spacing: -0.036em;
}
.bald__ton { color: var(--rot-akzent); }

.bald__lead {
    margin-top: 24px;
    max-width: 56ch;
    font-size: clamp(17px, 1.7vw, 20px);
    color: var(--text-mittel);
    text-wrap: pretty;
}

.bald__aktionen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.bald__fortschritt {
    margin-top: clamp(44px, 6vw, 68px);
    padding-top: 30px;
    border-top: 1px solid var(--rand);
}

.bald__stand {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px 20px;
    margin-bottom: 14px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-grau);
}

/* Noch nicht erledigte Abschnitte: nur Umriss, keine Fuellung. */
.band__stueck--offen {
    background: transparent;
    border: 1.5px dashed var(--rand-stark);
    animation: none;
}

.bald__notiz {
    margin-top: 26px;
    font-size: 15px;
    color: var(--text-grau);
}
.bald__notiz a { font-weight: 600; }

/* ---- Fehlerseite ------------------------------------------------- */

.fehler { text-align: center; padding-block: clamp(70px, 12vw, 150px); }
.fehler__zahl {
    font-family: var(--mono);
    font-size: clamp(64px, 13vw, 132px);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: var(--rot-akzent);
}
.fehler__titel { font-size: clamp(26px, 3.6vw, 36px); margin-top: 20px; }
.fehler__text { margin-top: 16px; color: var(--text-mittel); }
.fehler__aktionen { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }

/* ---------------------------------------------------------------
   5b  Einwilligung

   Sitzt unten und deckt die Seite nicht zu: Der Inhalt bleibt lesbar,
   auch bevor entschieden wurde. Erlaubt ist das, weil ohne Zustimmung
   ohnehin nichts geladen wird - gesperrt werden muss also nichts.
   --------------------------------------------------------------- */

.einwilligung {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 300;
    display: none;
    padding: clamp(12px, 2vw, 22px);
}
.einwilligung[data-offen="ja"] { display: block; }

.einwilligung__karte {
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(22px, 3vw, 30px);
    background: var(--karte);
    border: 1px solid var(--rand-stark);
    border-radius: var(--radius-gross);
    box-shadow: var(--schatten-hoch);
    animation: hereinschieben .32s cubic-bezier(.22, .68, .36, 1) both;
}
@keyframes hereinschieben {
    from { transform: translateY(18px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.einwilligung__titel { font-size: 20px; }
.einwilligung__text { margin-top: 12px; font-size: 15.5px; color: var(--text-mittel); }

.einwilligung__zwecke {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--rand);
}

.zweck {
    padding: 16px 18px;
    background: var(--einlage);
    border-radius: var(--radius-klein);
}

.zweck__kopf {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.zweck__schalter { width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--rot); cursor: pointer; }
.zweck__schalter:disabled { cursor: default; opacity: .55; }

.zweck__name { font-size: 15.5px; font-weight: 650; margin-inline-end: auto; }

.zweck__pflicht, .zweck__anbieter {
    padding: 3px 9px;
    border-radius: 999px;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-grau);
    border: 1px solid var(--rand-stark);
}

.zweck__text { margin-top: 9px; font-size: 14px; color: var(--text-mittel); }

.einwilligung__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.einwilligung__knopf { flex: 1 1 auto; padding-inline: 18px; }

.einwilligung__fuss { margin-top: 18px; font-size: 13.5px; color: var(--text-grau); }
.einwilligung__fuss a { color: var(--text-mittel); }

@media (max-width: 560px) {
    .einwilligung__knoepfe { flex-direction: column; }
    .einwilligung__knopf { width: 100%; }
}

/* ---------------------------------------------------------------
   6  Umbrueche
   --------------------------------------------------------------- */

@media (max-width: 1000px) {
    .held__gitter { grid-template-columns: 1fr; }
    .erfassung { margin-inline: 0; }
    .ablauf { grid-template-columns: 1fr; gap: 12px; }
    .schritt { border-radius: var(--radius-gross); }
    .schritt:first-child, .schritt:last-child { border-radius: var(--radius-gross); }
    .plattformen { grid-template-columns: repeat(2, 1fr); }
    .schutz { grid-template-columns: 1fr; }
    .auswertung { grid-template-columns: 1fr; }
    .kontakt { grid-template-columns: 1fr; }
    .fuss__gitter { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    html { scroll-padding-top: 72px; }
    body { font-size: 16px; }

    .kopf__nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 16px 16px;
        background: var(--rot);
        border-top: 1px solid rgba(255, 255, 255, .18);
        box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
    }
    .kopf__nav[data-offen="ja"] { display: flex; }
    .kopf__link { padding: 12px; font-size: 16px; }
    .kopf__aktion { margin-top: 8px; text-align: center; }
    .kopf__menue {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px; height: 38px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, .2);
        border-radius: 10px;
        background: rgba(255, 255, 255, .12);
        color: #fff;
        cursor: pointer;
    }
    .kopf__menue svg { width: 18px; height: 18px; }
    .kopf__menue:focus-visible { outline: 3px solid rgba(255, 255, 255, .55); outline-offset: 2px; }

    .module { grid-template-columns: 1fr; }
    .kennzahlen { grid-template-columns: repeat(2, 1fr); }
    .fuss__gitter { grid-template-columns: 1fr; gap: 32px; }
    .band__spur { height: 46px; }
    .kontakt__schluessel { flex-basis: 66px; }
}

@media (max-width: 460px) {
    .plattformen { grid-template-columns: 1fr; }
    .held__aktionen .knopf { width: 100%; }
    .band__legende { gap: 8px 16px; }
}

/* ---------------------------------------------------------------
   7  Ruecksicht
   --------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    .knopf:hover, .modul:hover { transform: none; }
}

@media print {
    .kopf, .fuss, .sprung, .held__aktionen, .kontakt__aktionen { display: none; }
    body { background: #fff; color: #000; font-size: 12pt; }
    .karte, .recht__block { border: 1px solid #ccc; box-shadow: none; }
}
