/*
 * Stilschicht der Website (Welle N, Website nach Artefakt A; Bauplan politur/welle-n/artefakt-a/03-bauplan.md §1–§3,
 * Maße aus 01-inventar-a.md; Bahn na-proto). Rahmen, Schrift, Kopf, Fuß und die Bausteine, die mehr als eine Seite
 * trägt: Dachzeile, Akzentwort, Überschriften, Pille, Chip, Karte, Band, Nummer, Haken, Etikett, Schlussband.
 * Die Seiten ergänzen: website-start.css (Startseite), website-board.css (Unterseiten nach Board), website-geraet.css
 * (Gerätekarten), website-begleiter.css (Begleiter).
 *
 * Regeln der Schicht (gelten wörtlich für alle website*.css):
 * - Jeder Selektor beginnt mit .web-, html, body, *, :root; dazu die Klassen der Marke (marke-*) und der Figur
 *   (kai-figur*). @media, @supports, @keyframes web-* sind erlaubt. Die Skript-Marke heißt html.has-js.
 * - Kein Farbwert: Farben nur var(--rolle-*), var(--marke-*), currentColor, transparent; die Werte und Mischungen
 *   stehen allein in marke-rollen.css. Kein linear-gradient; der eine radiale Verlauf ist --rolle-schein.
 * - Schatten nur an den sechs Stellen aus Bauplan §2.3 (Haupt-Pille im Hero, Begleiter-Teaser, Browser-Fenster, Handy,
 *   Begleiter-Blase, Schein am Kopf der Figur). Karten haben keinen Schatten.
 * - Bewegung nur unter prefers-reduced-motion: no-preference UND nicht unter dem Halt (html[data-bewegung="aus"],
 *   Knopf „Bewegung anhalten“ im Kopf). Jede Schleife läuft nur im Bild; ohne Bewegung steht das Endbild.
 * - Kein Inhalt hat opacity: 0 als Ruhezustand außerhalb von @keyframes; Versalien nur an Dachzeile und Etikett;
 *   kein sticky, kein scroll-behavior; fest (position: fixed) nur Cookie-Zettel, Begleiter, Lugen.
 * - Umbruch über flex-basis, minmax() und clamp(); Medienabfragen für den Kopf nur bei 900 px (Bauplan §1.3 (a)) und für die Stufe „eng“ 900–1099,98 px (Ruling (bl)).
 */

/* ---------- 1 Grund ---------- */

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

html {
    color-scheme: var(--rolle-schema, dark);
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--rolle-grund);
}

body {
    margin: 0;
}

.web-seite {
    /* Schriften: Systemschriften in A's Gewichten (Bauplan D2). */
    --web-schrift-titel: ui-rounded, "SF Pro Rounded", "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --web-schrift-text: system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --web-schrift-mono: ui-monospace, "SF Mono", "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;

    /* Rahmen nach A (Inventar §1, §5.3): Inhalt 1240 breit plus 24 Rand je Seite (A zählt den Rand außen dazu: bei
       1440 beginnt der Inhalt bei x = 100), Abschnitte 104 / 112 hoch (am Telefon kürzer). */
    --web-spalte: 80.5rem;
    /* Quer mindestens die Aussparung (Notch, Dynamic Island; viewport-fit=cover), sonst 24. */
    --web-spalte-rand: max(1.5rem, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
    --web-abschnitt-a: clamp(4.5rem, 9vw, 6.5rem);
    --web-abschnitt-a-gross: clamp(4.75rem, 9.5vw, 7rem);

    /* Abstandsreihe und Raster der Website (gelesen u. a. von website-lesetext.css, website-tor.css, website-cookie.css). */
    --web-ab-4: 0.25rem;
    --web-ab-8: 0.5rem;
    --web-ab-12: 0.75rem;
    --web-ab-16: 1rem;
    --web-ab-24: 1.5rem;
    --web-ab-32: 2rem;
    --web-ab-48: 3rem;
    --web-ab-64: 4rem;
    --web-ab-96: 6rem;
    --web-rand: 1.25rem;
    --web-inhalt-max: 70rem;
    --web-lesespalte-max: 38.75rem;
    --web-abschnitt: var(--web-ab-48);
    --web-zeile-hoch: 3rem;
    --web-knopf-hoch: 3.25rem;
    --web-radius: 12px;
    --web-t2-groesse: clamp(1.5rem, 1.236rem + 1.127vw, 2.25rem);

    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background: var(--rolle-grund);
    color: var(--rolle-text);
    font-family: var(--web-schrift-text);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
    overflow-wrap: break-word;
}

@media (min-width: 768px) {
    .web-seite {
        --web-rand: 2.5rem;
        --web-abschnitt: var(--web-ab-64);
        --web-zeile-hoch: 4rem;
        --web-knopf-hoch: 3rem;
    }
}

@media (min-width: 1024px) {
    .web-seite {
        --web-rand: 3rem;
        --web-abschnitt: var(--web-ab-96);
    }
}

.web-inhalt {
    display: block;
    flex: 1 0 auto;
}

/* ---------- 2 Schrift nach A (Inventar §1 Bausteine): Dachzeile, h1 bis 96, h2 bis 52/60/68, Lead 19 ---------- */

/* Dachzeile: klein, gesperrt 0,2 em, Versalien, Violett (dunkel Violett-hell, hell Ultraviolett). */
.web-dach {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.8125rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--rolle-akzent);
}

/* Das Schlusswort einer Überschrift in Violett (Vollton, kein Verlauf; Bauplan §2.2). */
.web-akzent {
    color: var(--rolle-akzent);
}

.web-h1 {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: clamp(2.375rem, 7.4vw, 6rem);
    line-height: 0.96;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--rolle-text);
}

/* h1 der Unterseiten (Inventar §1.2): bis 88 px. */
.web-h1--unter {
    font-size: clamp(2.375rem, 6.6vw, 5.5rem);
    line-height: 0.98;
}

.web-h2 {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: clamp(2.125rem, 4vw, 3.25rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--rolle-text);
    text-wrap: balance;
}

.web-h2--gross {
    font-size: clamp(2.25rem, 4.6vw, 3.75rem);
    line-height: 1.02;
}

.web-h2--riesig {
    font-size: clamp(2.5rem, 5.2vw, 4.25rem);
    line-height: 1;
}

.web-h3 {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: 1.5rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--rolle-text);
}

.web-h3--gross {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.web-lead {
    margin: 0;
    max-width: 35rem;
    font-size: 1.1875rem;
    line-height: 1.55;
    color: var(--rolle-text-2);
}

.web-absatz {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--rolle-text-2);
}

.web-nebentext {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--rolle-text-leise);
}

/* Etikett in Festbreite (Zähler, „Beispielansicht“, Kopf einer Karte): Versalien, gesperrt. */
.web-kicker {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rolle-text-leise);
}

/* Die Schriftstufen der Lesetext-Seiten (website-lesetext.css, Anfrage, Fehlerseiten). */
.web-t1 {
    margin-block: 0;
    font-family: var(--web-schrift-titel);
    font-size: clamp(2rem, 1.472rem + 2.254vw, 3.5rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.web-t2 {
    margin-block: 0;
    font-family: var(--web-schrift-titel);
    font-size: var(--web-t2-groesse);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.web-t3 {
    margin-block: 0;
    font-family: var(--web-schrift-titel);
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
}

.web-text {
    margin-block: 0;
    font-size: 1rem;
    line-height: 1.625;
    font-weight: 400;
}

.web-zeile {
    margin-block: 0;
    font-size: clamp(1rem, 0.846rem + 0.24vw, 1.0625rem);
    line-height: 1.5;
    font-weight: 600;
}

.web-klein {
    margin-block: 0;
    font-size: 0.875rem;
    line-height: 1.4286;
    font-weight: 400;
}

.web-etikett {
    margin-block: 0;
    font-size: 0.8125rem;
    line-height: 1.2308;
    font-weight: 600;
    color: var(--rolle-text-leise);
}

@media (min-width: 768px) {
    .web-text {
        font-size: 1.0625rem;
        line-height: 1.5294;
    }
}

@media (min-width: 1024px) {
    .web-t3 {
        font-size: 1.375rem;
        line-height: 1.2727;
    }

    .web-text {
        font-size: 1.125rem;
        line-height: 1.5556;
    }
}

/* ---------- 3 Raster ---------- */

/* Spalte nach A: höchstens 1240 px samt 24 px Rand. */
.web-spalte {
    width: 100%;
    max-width: var(--web-spalte);
    margin-inline: auto;
    padding-inline: var(--web-spalte-rand);
}

/* Abschnitt nach A: 104 px oben und unten (am Telefon kürzer); --gross 112 px. */
.web-sektion {
    padding-block: var(--web-abschnitt-a);
}

.web-sektion--gross {
    padding-block: var(--web-abschnitt-a-gross);
}

/* Band über die ganze Breite: Fläche (hell Haze) mit Haarlinien oben und unten. */
.web-band {
    background: var(--rolle-band);
    border-block: 1px solid var(--rolle-linie);
}

/* Raster der Seite „Kündigen“ (kuendigen.php). */
.web-breite {
    width: 100%;
    max-width: calc(var(--web-inhalt-max) + 2 * var(--web-rand));
    margin-inline: auto;
    padding-inline: max(var(--web-rand), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.web-lesespalte {
    max-width: var(--web-lesespalte-max);
}

.web-abschnitt {
    margin-block-start: var(--web-abschnitt);
}

/* Nur für Vorlesehilfen. */
.web-verborgen {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* Ohne Skript nicht sichtbar (die Marke has-js setzt hc-js-flag.js am <html>). */
html:not(.has-js) .web-nur-js {
    display: none;
}

/* Mit Skript nicht sichtbar: die ruhige Fassung, die ohne Skript an der Stelle einer Bewegung steht. */
html.has-js .web-ohne-js {
    display: none;
}

/* ---------- 4 Sprunglink, Kopf, Menü, Fuß (Inventar §1.1.1, §1.14; Bauplan §3.1) ---------- */

/* Im Fluss: sichtbar nur mit Fokus, schiebt dann den Kopf nach unten (überdeckt nichts). */
.web-sprung:not(:focus) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.web-sprung:focus {
    display: block;
    width: max-content;
    margin: 0.5rem var(--web-spalte-rand);
    padding: 0.5rem 0.75rem;
    background: var(--rolle-flaeche);
    color: var(--rolle-text);
    font-weight: 600;
    border-radius: 12px;
}

/* Kopf: scrollt mit (nicht klebend). Startseite ohne Fläche und Linie; Unterseiten mit Grund und Haarlinie unten. */
.web-kopf {
    position: relative;
    z-index: 40;
}

.web-kopf:has(.web-kopf__zeile--unter) {
    background: var(--rolle-grund);
    border-bottom: 1px solid var(--rolle-linie);
}

.web-kopf__zeile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: var(--web-spalte);
    margin-inline: auto;
    padding: 18px var(--web-spalte-rand);
}

.web-kopf__zeile--unter {
    padding-block: 16px;
}

.web-kopf__marke {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 6px 0;
    border-radius: 8px;
    color: var(--rolle-text);
}

/* Sport-Fassung mit Versalhöhe 24 px (Schwelle K-8 der Marken-Quelle: 100/150 der Höhe); Grundform gleich hoch. */
.web-kopf__wortmarke {
    display: block;
    width: auto;
    height: 2.25rem;
}

.web-kopf__wortmarke:not(.marke-wort--sport) {
    height: 1.8rem;
}

.web-kopf__nav {
    display: flex;
    align-items: center;
}

.web-kopf__liste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-kopf__zeile--unter .web-kopf__liste {
    gap: 6px;
}

.web-kopf__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 999px;
    color: var(--rolle-text-2);
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
}

.web-kopf__zeile--unter .web-kopf__link {
    padding: 0 14px;
}

.web-kopf__link:hover {
    color: var(--rolle-text);
}

/* Die aktive Seite als Pille (Inventar §1.1.1, Unterseiten); Funktionen auch auf den vier Fach-Kapiteln. */
.web-kopf__link[aria-current] {
    background: var(--rolle-akzent-weich);
    color: var(--rolle-text);
}

.web-kopf__rechts {
    display: flex;
    align-items: center;
    gap: 8px;
}

.web-kopf__anmelden {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 14px 16px;
    border-radius: 999px;
    color: var(--rolle-text);
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
}

.web-kopf__anmelden:hover {
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Umschalter der Sprache (Ruling (bh) (2), Vertrag K1; das Markup baut en-kern): ein Link mit dem Namen der anderen
   Sprache. Im Kopf erst ab 900 px (erstes Kind von .web-kopf__rechts), darunter als Zeile im Menü, immer im Fuß. */
.web-sprache {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--rolle-text);
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
}

.web-sprache:hover {
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.web-menue__sprache {
    margin: 8px 0 0;
    padding: 8px 0 0;
    border-top: 1px solid var(--rolle-linie);
    list-style: none;
}

.web-menue__sprache .web-sprache {
    display: flex;
    min-height: 48px;
    padding: 0;
    font-size: 1.0625rem;
}

.web-fuss .web-sprache {
    padding: 0;
    color: var(--rolle-text-2);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Im Kopf ohne Polster (Ruling (bl) (1)): die Tippfläche bleibt 44 hoch und so breit wie das Wort. */
.web-kopf__rechts > .web-sprache {
    padding: 0;
}

@media (max-width: 899.98px) {
    .web-kopf__rechts > .web-sprache {
        display: none;
    }
}

.web-kopf__pille {
    padding: 14px 20px;
    font-size: 0.9375rem;
}

/* Kopf eng (Ruling §8dl Nachtrag 60 (bl)): zwischen 900 und 1099,98 px bleibt der Kopf mit dem Umschalter der Sprache
   eine Zeile — engere Lücken und Polster, Schrift 0,875rem; der Umschalter behält 0,9375rem. Höhen (44, Pille 46 wie bei
   1440: 15 + 14 + 15 + 2 Rand), Farben, Radien und die runden Knöpfe bleiben. Kein nowrap, nichts ausgeblendet. */
@media (min-width: 900px) and (max-width: 1099.98px) {
    .web-kopf__zeile {
        gap: 8px;
    }

    .web-kopf__liste {
        gap: 16px;
    }

    .web-kopf__zeile--unter .web-kopf__liste {
        gap: 2px;
    }

    .web-kopf__link {
        font-size: 0.875rem;
    }

    .web-kopf__zeile--unter .web-kopf__link {
        padding: 0 8px;
    }

    .web-kopf__rechts {
        gap: 4px;
    }

    .web-kopf__anmelden {
        padding: 14px 8px;
        font-size: 0.875rem;
    }

    .web-kopf__rechts .web-kopf__pille {
        padding: 15px 14px;
        font-size: 0.875rem;
    }
}

/* Runder Knopf 44 × 44 (Themenschalter, Halt): Rand, durchsichtig, Ikone 20 px. */
.web-rund {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--rolle-rand);
    border-radius: 50%;
    background: transparent;
    color: var(--rolle-text);
    font: inherit;
    cursor: pointer;
}

.web-rund .web-ikone {
    width: 20px;
    height: 20px;
}

/* Sonne im dunklen Thema (der Knopf schaltet auf hell), Mond im hellen. */
.web-rund .web-ikone--mond,
.web-rund .web-ikone--weiter {
    display: none;
}

@media (prefers-color-scheme: light) {
    :root:not([data-thema="dunkel"]) .web-rund .web-ikone--sonne {
        display: none;
    }

    :root:not([data-thema="dunkel"]) .web-rund .web-ikone--mond {
        display: inline-block;
    }
}

:root[data-thema="hell"] .web-rund .web-ikone--sonne {
    display: none;
}

:root[data-thema="hell"] .web-rund .web-ikone--mond {
    display: inline-block;
}

/* Halt (D5): Pause, solange Bewegung läuft; Weiter, wenn angehalten. */
:root[data-bewegung="aus"] .web-rund .web-ikone--pause {
    display: none;
}

:root[data-bewegung="aus"] .web-rund .web-ikone--weiter {
    display: inline-block;
}

/* Menü (Bauplan §1.3 (a)): unter 900 px klappt die Navigation in das <details>; geht ohne Skript. */
.web-menue {
    display: none;
}

.web-menue__knopf {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 14px 0 10px;
    border: 1px solid var(--rolle-rand);
    border-radius: 999px;
    list-style: none;
    cursor: pointer;
    color: var(--rolle-text);
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 600;
}

.web-menue__knopf .web-ikone {
    width: 20px;
    height: 20px;
}

.web-menue__knopf::-webkit-details-marker {
    display: none;
}

.web-menue__knopf::marker {
    content: "";
}

/* Das offene Verzeichnis liegt unter der Kopfzeile über dem Inhalt, so breit wie der Kopf. */
.web-menue__verzeichnis {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 75vh;
    overflow-y: auto;
    padding: 8px var(--web-spalte-rand) 16px;
    background: var(--rolle-grund);
    border-block: 1px solid var(--rolle-linie);
}

.web-menue__gruppe {
    margin: 0;
    padding: 8px 0;
    list-style: none;
}

.web-menue__gruppe + .web-menue__gruppe {
    border-top: 1px solid var(--rolle-linie);
}

.web-menue__link {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    color: var(--rolle-text);
    font-size: 1.0625rem;
    line-height: 1.5;
    font-weight: 600;
    text-decoration: none;
}

.web-menue__link:hover {
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-decoration-thickness: 3px;
    text-underline-offset: 4px;
}

/* Die aktuelle Seite: Punkt 8 px in Akzent (kein Zeichen im Text). data-web-hier = die Station, deren aria-current
   schon die Kopfzeile trägt (page; auf den vier Fach-Kapiteln true an Funktionen) — im Kopf genau ein page (E-3). */
.web-menue__link[aria-current="page"]::after,
.web-menue__link[data-web-hier]::after {
    content: "";
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--rolle-akzent);
}

@media (max-width: 899.98px) {
    .web-kopf__zeile {
        gap: 8px;
    }

    .web-kopf__liste,
    .web-kopf__rechts .web-kopf__anmelden,
    .web-kopf__rechts .web-kopf__pille {
        display: none;
    }

    .web-menue {
        display: block;
    }

    .web-kopf__nav {
        order: 3;
    }

    .web-kopf__rechts {
        margin-left: auto;
    }
}

/* Fuß (Inventar §1.14): Haarlinie oben, vier Spalten mit Überschrift (Marke · Produkt · Einstieg · Vertrauen),
   darunter die Grundzeile über einer Haarlinie. */
.web-fuss {
    border-top: 1px solid var(--rolle-linie);
    background: var(--rolle-grund);
    color: var(--rolle-text-2);
}

.web-fuss__innen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
    gap: 36px;
    width: 100%;
    max-width: var(--web-spalte);
    margin-inline: auto;
    padding: 56px var(--web-spalte-rand) 40px;
}

.web-fuss__marke-spalte,
.web-fuss__spalte {
    display: grid;
    align-content: start;
    gap: 12px;
}

.web-fuss__marke {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    border-radius: 8px;
    color: var(--rolle-text);
}

.web-fuss__wortmarke {
    display: block;
    width: auto;
    height: 2.25rem;
}

.web-fuss__wortmarke:not(.marke-wort--sport) {
    height: 1.8rem;
}

.web-fuss__satz {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--rolle-text-2);
}

/* „früher …“ in Festbreite und Versalien wie A (der Wortlaut kommt aus der Marken-Quelle). */
.web-seite .web-fuss__uebergang {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rolle-text-leise);
}

.web-fuss__titel {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rolle-akzent);
}

.web-fuss__liste {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Links 14 px, ohne Unterstrich; 4 px Polster oben und unten halten die Tippfläche über 24 px (WCAG 2.5.8), am
   Telefon 44 px (unten). Der Öffner des Zettels trägt wie im Bestand nur die Klasse web-link (Cookie-Vertrag) und
   sieht hier genauso aus. */
.web-fuss__link,
.web-fuss__liste .web-link {
    display: inline-block;
    padding: 4px 0;
    color: var(--rolle-text-2);
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    text-decoration: none;
}

.web-fuss__link:hover,
.web-fuss__liste .web-link:hover,
.web-fuss__link[aria-current="page"] {
    color: var(--rolle-text);
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.web-fuss__unten {
    border-top: 1px solid var(--rolle-linie);
}

/* Grundzeile: links Anbieter und Entwickler, rechts die Sprach-Zeile (A: zwei Angaben links und rechts). */
.web-fuss__unten-innen {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 24px;
    width: 100%;
    max-width: var(--web-spalte);
    margin-inline: auto;
    padding: 18px var(--web-spalte-rand) 32px;
}

.web-seite .web-fuss__grund,
.web-seite .web-fuss__rechts {
    margin: 0;
    color: var(--rolle-text-leise);
    font-size: 0.8125rem;
    line-height: 1.5;
    font-weight: 500;
    text-wrap: balance;
}

.web-fuss__grund .web-link {
    display: inline-block;
    padding-block: 4px;
    color: var(--rolle-text-2);
}

/* Am Telefon ist jeder Link des Fußes ein Tippziel von 44 px Höhe (Bauplan §5.3, Messlauf der Website): die Listen
   und die Grundzeile werden höher; ab 768 px bleibt der Fuß wie A. Das Telefon quer (unter 500 px hoch, etwa 844 × 390)
   zählt mit: dort maß der Fuß 27,6 px (Ruling §8dl Nachtrag 60 (bh) (16), Geräte-Abnahme web-abnahme). Ebenso jedes
   Gerät mit grobem Zeiger (Ruling (bs) (3)): bei 768 × 1024 und 1024 × 768 mit Berührung maßen 18 Fuß-Links je Seite
   27,5 px; mit Maus bleibt der Fuß ab 768 px wie A. */
@media (max-width: 767.98px), (max-height: 499.98px), (pointer: coarse) {
    .web-fuss__link,
    .web-fuss__liste .web-link,
    .web-fuss__grund .web-link {
        display: inline-flex;
        align-items: center;
        min-height: 2.75rem;
        padding-block: 0;
    }
}

/* ---------- 5 Bausteine (Inventar §1 Bausteine, §5.3) ---------- */

.web-ikone {
    display: inline-block;
    flex: none;
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: middle;
}

/* Pille (A's Knopf): gefüllt Ultraviolett mit Kreide-Schrift und 1 px Rand Violett-hell; je Abschnitt höchstens eine
   gefüllte (A's Regel R1). --gross = Haupt-Pille im Hero, --rand = Zweit-Pille, --tinte = dunkler Knopf auf hellem
   Block bzw. Kreide-Knopf auf dem Schlussband. */
.web-pille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 14px 22px;
    border: 1px solid var(--rolle-pille-rand);
    border-radius: 999px;
    background: var(--rolle-uv);
    color: var(--rolle-auf-uv);
    font-family: var(--web-schrift-text);
    font-size: 1rem;
    line-height: 1;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.web-pille:hover {
    border-color: var(--rolle-text);
}

.web-pille--gross {
    padding: 19px 28px;
    font-size: 1.0625rem;
}

.web-pille--rand {
    border-color: var(--rolle-rand);
    background: transparent;
    color: var(--rolle-text);
    font-weight: 600;
}

.web-pille--tinte {
    border-color: var(--rolle-tinte);
    background: var(--rolle-tinte);
    color: var(--rolle-auf-tinte);
}

.web-pille--tinte:hover {
    border-color: var(--rolle-akzent);
}

/* Glüh-Schatten der Haupt-Pille im Hero (Bauplan §2.3, Stelle 1 von 6). */
.web-pille--glut {
    box-shadow: 0 12px 44px var(--rolle-glut);
}

/* Weiche Pille: Violett-Rand auf Violett-Tint — der zustimmende Knopf in einer Blase, wenn im Abschnitt schon eine
   gefüllte Pille steht (A's Regel R1: höchstens eine gefüllte je Abschnitt). */
.web-pille--weich {
    border-color: var(--rolle-akzent);
    background: var(--rolle-akzent-weich);
    color: var(--rolle-text);
}

.web-pille--klein {
    min-height: 44px;
    padding: 0 16px;
    font-size: 0.875rem;
}

.web-pille .web-ikone {
    width: 1.125rem;
    height: 1.125rem;
}

/* Knopf der alten Seiten (Anfrage, Cookie-Zettel, Kapitel): dieselbe Pille, am Telefon volle Breite. */
.web-knopf {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--web-ab-8);
    width: 100%;
    min-height: var(--web-knopf-hoch);
    margin: 0;
    padding: 0 var(--web-ab-24);
    border: 1px solid var(--rolle-pille-rand);
    border-radius: 999px;
    background: var(--rolle-uv);
    color: var(--rolle-auf-uv);
    font-family: var(--web-schrift-text);
    font-size: clamp(1rem, 0.846rem + 0.24vw, 1.0625rem);
    line-height: 1.5;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.web-knopf:hover,
.web-knopf:active {
    border-color: var(--rolle-text);
}

.web-knopf--rand {
    border-color: var(--rolle-rand);
    background: transparent;
    color: var(--rolle-text);
    font-weight: 600;
}

.web-knopf--rand:hover,
.web-knopf--rand:active {
    border-color: var(--rolle-text);
    background: transparent;
}

@media (min-width: 768px) {
    .web-knopf {
        display: inline-flex;
        width: auto;
    }
}

/* Textlink: Textfarbe, Unterstrich 2 px Akzent mit 4 px Abstand; Zeiger und Fokus 3 px. */
.web-link {
    color: var(--rolle-text);
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.web-link:hover,
.web-link:focus-visible {
    text-decoration-thickness: 3px;
}

/* Textknopf ohne Fläche („Nochmal von vorn“, „← Zurück“, „Wechsel anhalten“): 44 px hoch. */
.web-textknopf {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--rolle-text-2);
    font-family: var(--web-schrift-text);
    font-size: 0.9375rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
}

.web-textknopf:hover {
    color: var(--rolle-text);
    text-decoration-line: underline;
    text-decoration-color: var(--rolle-akzent);
    text-underline-offset: 4px;
}

/* Feld nach A: 50 px, Radius 14, Rand auf Fläche 2. */
.web-feld {
    display: block;
    width: 100%;
    min-height: 3.125rem;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid var(--rolle-rand);
    border-radius: 14px;
    background: var(--rolle-flaeche-2);
    color: var(--rolle-text);
    font-family: var(--web-schrift-text);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.web-feld::placeholder {
    color: var(--rolle-text-leise);
    opacity: 1;
}

.web-feld:hover {
    border-color: var(--rolle-text-2);
}

/* Chip als Pille, 44 px (Sportwahl, Rollen, Antworten); gewählt mit Violett-Rand und Violett-Tint. */
.web-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    border: 1px solid var(--rolle-rand);
    border-radius: 999px;
    background: var(--rolle-flaeche-2);
    color: var(--rolle-text);
    font-family: var(--web-schrift-text);
    font-size: 0.9375rem;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
}

.web-chip:hover {
    border-color: var(--rolle-text-2);
}

.web-chip[aria-pressed="true"],
.web-chip.ist-gewaehlt {
    border-color: var(--rolle-akzent);
    background: var(--rolle-akzent-weich);
    font-weight: 700;
}

/* Kleiner Chip ohne Bedienung (Etiketten in Karten). */
.web-marke-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid var(--rolle-linie);
    border-radius: 999px;
    background: var(--rolle-flaeche-2);
    color: var(--rolle-text);
    font-size: 0.8125rem;
    line-height: 1.3;
    font-weight: 600;
}

/* Umriss-Chip für „noch nicht gebaut“ / „In Planung“ (statt Bernstein: Wort und Form, Bauplan §2.2). */
.web-marke-chip--umriss {
    background: transparent;
    border-color: var(--rolle-text-leise);
    color: var(--rolle-text-leise);
    font-family: var(--web-schrift-mono);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Karte: Radius 24, Fläche, Haarlinie, kein Schatten. */
.web-karte {
    border: 1px solid var(--rolle-linie);
    border-radius: 24px;
    background: var(--rolle-flaeche);
    padding: 30px;
    --marke-punkt-innen: var(--rolle-flaeche);
}

/* Sprechblase der Figur (Inventar §1.1.2): Text höchstens 320 breit (A misst ohne Innenabstand und Rand: 320 + 2 × 18
   + 2 × 1 = 358), Ecke unten links spitz, Fläche 2 mit Rand. */
.web-blase {
    max-width: 22.375rem;
    margin: 0;
    padding: 16px 18px;
    border: 1px solid var(--rolle-rand);
    border-radius: 20px 20px 20px 6px;
    background: var(--rolle-flaeche-2);
    color: var(--rolle-text);
    font-size: 0.9375rem;
    line-height: 1.5;
    font-weight: 500;
}

.web-blase__text {
    margin: 0;
}

.web-blase__knoepfe {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

/* Nummer im Kreis 32 px (Schritte). */
.web-nummer {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rolle-akzent-weich);
    color: var(--rolle-akzent);
    font-family: var(--web-schrift-mono);
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 700;
}

/* Nummerierte Schritte nach A (Inventar §1.1.4): runde Zahl 32 px aus dem Zähler der Liste, Text daneben. */
.web-schrittliste {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: web-schrittliste;
}

.web-schrittliste__punkt {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--rolle-text);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 600;
    counter-increment: web-schrittliste;
}

.web-schrittliste__punkt::before {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--rolle-akzent-weich);
    color: var(--rolle-akzent);
    font-family: var(--web-schrift-mono);
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 700;
    content: counter(web-schrittliste);
}

/* Schein um den Kopf der Figur (Bauplan §2.3, eine der sechs Stellen): nur im dunklen Thema, die Rolle ist im hellen
   „none“. */
.web-seite .kai-figur__svg {
    filter: var(--rolle-kopf-filter);
}

/* Haken in der Scheibe (statt Grün: Scheibe Akzent, Haken in der Gegenrolle; Bauplan §2.2). */
.web-haken {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rolle-akzent);
    color: var(--rolle-auf-akzent);
}

.web-haken .web-ikone {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Liste mit Haken (Beta, Funktionen). */
.web-hakenliste {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-hakenliste__punkt {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--rolle-text-2);
    font-size: 1rem;
    line-height: 1.5;
}

.web-hakenliste__punkt .web-haken {
    width: 24px;
    height: 24px;
}

.web-hakenliste__punkt .web-haken .web-ikone {
    width: 15px;
    height: 15px;
}

/* Etikett „Beispielansicht“ an jeder Gerätekarte (A's Regel R13). */
.web-beispielansicht {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.6875rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rolle-text-leise);
}

/* Schlussband (Inventar §1.1.9): Violett-Fläche, Radius 32, große Überschrift, Text, ein Kreide-Knopf. */
.web-schlussband {
    padding-block: var(--web-abschnitt-a);
}

/* A misst das Band ohne seinen Innenabstand (1240 + 2 × 56): bei 1440 steht die Fläche 56 px über die Spalte hinaus und
   ihr Text genau auf der Spaltenkante. Schmaler als das Fenster minus Rand wird es nie (kein Querrollen). */
.web-schlussband > .web-spalte {
    max-width: calc(var(--web-spalte) + 7rem);
}

.web-schlussband__flaeche {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 56px);
    border-radius: 32px;
    background: var(--rolle-grund);
    color: var(--rolle-text);
}

.web-schlussband__text {
    display: grid;
    flex: 1 1 32rem;
    gap: 16px;
}

.web-schlussband__titel {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: clamp(2.25rem, 4.8vw, 4rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.web-schlussband__satz {
    margin: 0;
    max-width: 36rem;
    font-size: 1.125rem;
    line-height: 1.55;
    text-wrap: pretty;
}

.web-schlussband .web-pille {
    padding: 19px 28px;
    font-size: 1.0625rem;
}

/* Schlussband der Unterseiten (Inventar §1 Bausteine): flacher (64 statt 72) und kleinere Überschrift als auf der Startseite. */
.web-schlussband--unterseite .web-schlussband__flaeche {
    padding-block: clamp(40px, 6vw, 64px);
}

.web-schlussband--unterseite .web-schlussband__titel {
    font-size: clamp(2.125rem, 4.4vw, 3.5rem);
    line-height: 1.02;
}

/* Seitenkopf der Seiten ohne Board (Bahn na-bausteine; Bauplan §3.7: Recht, Änderungsliste, 404, 410, Anfrage): Dachzeile
   und h1 ohne Violettwort, darunter optional ein Lead. Abstände wie der Kopf der Board-Seiten (88 oben, 40 unten). */
.web-seitenkopf {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-top: clamp(48px, 7vw, 88px);
    padding-bottom: 40px;
}

.web-seitenkopf__titel {
    max-width: 46rem;
}

.web-seitenkopf .web-lead {
    max-width: 40rem;
}

/* Der kleine, ruhige KAi (404, 410, Anfrage): Hülle 64, im Fluss; die Bühne der Hülle hält Platz über dem Kopf frei.
   Er schwebt nicht (Weg 0 — K1 gilt nur für den Hero-KAi und den Begleiter), das Blinzeln bleibt. Ein einmaliger
   Jubel kommt über data-web-kai-jubel aus website.js (nur mit Bewegung). */
.web-kai-klein {
    display: flex;
    align-items: flex-end;
    min-height: 109px;
    line-height: 0;
}

.web-kai-klein .kai-figur {
    --kai-schweben-weg: 0;
}

/* Die alten Bausteine der Kapitel-Seiten (Beispielzeile, Randnotiz). */

/* Beispielzeile: 52 px, links Bezeichnung, rechts Wert, Haarlinien; darüber das Etikett „Beispielansicht“. */
.web-beispiel {
    margin: 0;
}

.web-beispiel__etikett {
    display: block;
    margin-bottom: var(--web-ab-8);
}

.web-beispiel__liste {
    margin: 0;
    padding: 0;
}

.web-beispiel__zeile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--web-ab-16);
    min-height: 3.25rem;
    border-top: 1px solid var(--rolle-linie);
}

.web-beispiel__zeile:last-child {
    border-bottom: 1px solid var(--rolle-linie);
}

.web-beispiel__name {
    color: var(--rolle-text);
    font-weight: 600;
    line-height: 1.5;
}

.web-beispiel__wert {
    flex-shrink: 0;
    margin: 0;
    color: var(--rolle-text-2);
    font-variant-numeric: tabular-nums;
    text-align: end;
    white-space: nowrap;
}

/* Randnotiz: Stufe Klein, 3-px-Strich links; sagt am Thema, was fehlt. */
.web-randnotiz {
    margin: 0;
    padding-left: var(--web-ab-12);
    border-left: 3px solid var(--rolle-rand);
    color: var(--rolle-text-2);
    font-size: 0.875rem;
    line-height: 1.4286;
}

/* ---------- 6 Fokus: Ring 3 px --rolle-fokus (dunkel Kreide, hell Graphit), 3 px Abstand ---------- */

.web-seite :focus-visible {
    outline: 3px solid var(--rolle-fokus);
    outline-offset: 3px;
}

/* <main> nimmt den Fokus nur nach dem Sprunglink (tabindex="-1") und trägt dann keinen Ring. */
.web-seite .web-inhalt:focus,
.web-seite .web-inhalt:focus-visible {
    outline: none;
}

/* ---------- 7 Bewegung: nur unter no-preference und nicht unter dem Halt (D5) ---------- */

/* K4 Einblenden: die eine Regel — 8 px, 0,35 s, einmal. Ruhezustand ist sichtbar (keyframes nur „von“). */
@keyframes web-ein {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

/* K6 Sport-Punkt springt auf (0,45 s, einmal): läuft, sobald die Gruppe des Sports sichtbar wird — beim Laden und bei
   jedem Sportwechsel (die Startseite schaltet die Gruppe über :has(), ganz ohne Skript). Nur Größe, keine Deckkraft. */
@keyframes web-punkt {
    from {
        transform: scale(0.4);
    }

    70% {
        transform: scale(1.15);
    }

    to {
        transform: scale(1);
    }
}

/* Einstieg beim Sichtbarwerden (Ruling (bh) (6), Budget (7)): drei Formen, je nur transform und opacity, einmal. */
@keyframes web-zeig {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
}

@keyframes web-wachs {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
}

@keyframes web-strich {
    from {
        transform: scaleX(0);
    }
}

/* Verborgen ist nur, was website.js beim Start unter dem Fenster markiert hat (data-web-zeig am Element und "an" am
   <html>) — am Bildschirm, mit Bewegung, ohne Halt, nicht auf trägen Anzeigen. Sonst steht alles da. Mit data-web-da
   steigt es einmal ein; die Staffel (60 ms, höchstens 6 Kinder, unter 600 px 3) zählt nur über :nth-child.
   Der Halt hängt nur an der Verbergen-Regel: der Einstieg behält unter Halt seinen Namen und dauert 0 s (letzte Regel),
   damit das Lösen des Halts keinen schon gezeigten Einstieg von vorn spielt. */
@media screen and (prefers-reduced-motion: no-preference) and (update: fast) {
    :root[data-web-zeig="an"]:not([data-bewegung="aus"]) [data-web-zeig]:not([data-web-da]) {
        opacity: 0;
    }

    :root[data-web-zeig="an"] [data-web-zeig][data-web-da] {
        animation: web-zeig 0.45s ease-out backwards;
    }

    /* Die Form wählt die Klasse: große Flächen wachsen, Balken ziehen von links auf. */
    :root[data-web-zeig="an"] .web-tag[data-web-zeig][data-web-da],
    :root[data-web-zeig="an"] .web-gemeinsam__karte[data-web-zeig][data-web-da],
    :root[data-web-zeig="an"] .web-beta__karte[data-web-zeig][data-web-da],
    :root[data-web-zeig="an"] .web-board-plan[data-web-zeig][data-web-da] {
        animation: web-wachs 0.45s ease-out backwards;
    }

    :root[data-web-zeig="an"] .web-einfuehrung__strich[data-web-zeig][data-web-da] {
        transform-origin: left center;
        animation: web-strich 0.45s ease-out backwards;
    }

    :root[data-web-zeig="an"] [data-web-zeig][data-web-da]:nth-child(2) {
        animation-delay: 60ms;
    }

    :root[data-web-zeig="an"] [data-web-zeig][data-web-da]:nth-child(n+3) {
        animation-delay: 120ms;
    }
}

@media screen and (prefers-reduced-motion: no-preference) and (update: fast) and (min-width: 600px) {
    :root[data-web-zeig="an"] [data-web-zeig][data-web-da]:nth-child(4) {
        animation-delay: 180ms;
    }

    :root[data-web-zeig="an"] [data-web-zeig][data-web-da]:nth-child(5) {
        animation-delay: 240ms;
    }

    :root[data-web-zeig="an"] [data-web-zeig][data-web-da]:nth-child(n+6) {
        animation-delay: 300ms;
    }
}

@media screen and (prefers-reduced-motion: no-preference) and (update: fast) {
    :root[data-web-zeig="an"][data-bewegung="aus"] [data-web-zeig][data-web-da][data-web-da] {
        animation-duration: 0s;
        animation-delay: 0s;
    }
}

@media (prefers-reduced-motion: no-preference) {
    :root:not([data-bewegung="aus"]) .web-ein {
        animation: web-ein 0.35s ease-out;
    }

    /* Nachgeben beim Drücken ((bh) (6)): Pille und Antwort-Karte 0,98, der Pfeil eines Links rückt 2 px; 120 ms. */
    :root:not([data-bewegung="aus"]) .web-pille:active,
    :root:not([data-bewegung="aus"]) .web-antwort:active .web-antwort__kachel {
        transform: scale(0.98);
    }

    :root:not([data-bewegung="aus"]) .web-link:active .web-ikone--pfeil {
        transform: translateX(2px);
    }

    :root:not([data-bewegung="aus"]) .web-antwort__kachel,
    :root:not([data-bewegung="aus"]) .web-ikone--pfeil {
        transition: transform 120ms ease;
    }

    :root:not([data-bewegung="aus"]) .web-seite .marke-wort--sport .marke-wort__sport {
        transform-box: fill-box;
        transform-origin: center;
        animation: web-punkt 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    :root:not([data-bewegung="aus"]) .web-pille {
        transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease, text-decoration-color 120ms ease, transform 120ms ease;
    }

    :root:not([data-bewegung="aus"]) .web-link,
    :root:not([data-bewegung="aus"]) .web-knopf,
    :root:not([data-bewegung="aus"]) .web-chip,
    :root:not([data-bewegung="aus"]) .web-kopf__link,
    :root:not([data-bewegung="aus"]) .web-fuss__link,
    :root:not([data-bewegung="aus"]) .web-menue__link,
    :root:not([data-bewegung="aus"]) .web-feld {
        transition: color 120ms ease, background-color 120ms ease, border-color 120ms ease, text-decoration-color 120ms ease;
    }

    /* K21 Themenwechsel 0,3 s: website-thema.js setzt die Klasse für die Dauer des Wechsels. */
    :root.web-thema-wechsel:not([data-bewegung="aus"]) .web-seite,
    :root.web-thema-wechsel:not([data-bewegung="aus"]) .web-seite * {
        transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, fill 0.3s ease, stroke 0.3s ease;
    }
}

/*
 * Offener Cookie-Zettel (K-B8, Ruling §8dl Nachtrag 60 (an) Q5): solange er steht, bekommt der Fuß unten so viel Raum,
 * dass die Grundzeile über den Zettel hinaus rollt (bei 320 × 568 ist der Zettel 270 px hoch). Nur am Bildschirm.
 */
@media screen {
    .web-seite:has(.web-cookie:not([hidden])) .web-fuss {
        padding-bottom: 15.5rem;
    }
}

/* ---------- 8 Druck und erzwungene Farben ---------- */

@media print {
    .web-menue,
    .web-knopf,
    .web-pille,
    .web-rund,
    .web-cookie,
    .web-sprung,
    .web-nur-js {
        display: none;
    }

    html,
    body,
    .web-seite,
    .web-fuss,
    .web-band {
        background: transparent;
        color: CanvasText;
    }

    .web-link {
        color: CanvasText;
        text-decoration-color: CanvasText;
    }

    /* CanvasText folgt dem Farbschema: unter dem dunklen Thema (color-scheme: dark oben) wäre es Weiß auf Papier. Im
       Druck darum hell (Ruling §8dl Nachtrag 60 (be) (11), Übergabe na-recht); am Bildschirm ändert sich nichts. */
    html {
        color-scheme: light;
    }
}

@media (forced-colors: active) {
    .web-knopf,
    .web-knopf--rand,
    .web-pille,
    .web-chip,
    .web-rund,
    .web-feld {
        border-color: ButtonText;
    }

    .web-seite :focus-visible {
        outline-color: Highlight;
    }

    .web-menue__link[aria-current="page"]::after,
    .web-menue__link[data-web-hier]::after {
        forced-color-adjust: none;
        background: CanvasText;
    }

    .web-fuss,
    .web-menue__verzeichnis {
        border-top: 1px solid CanvasText;
    }

    .web-link {
        text-decoration-color: LinkText;
    }
}
