/*
 * DAS BOARD der Unterseiten nach Artefakt A (Welle N, Bahn na-proto; Bauplan §3.3 und §3.4, Inventar §1.2). Lädt mit
 * dem Stil 'board' (partials/head.php); zuerst auf /funktionen, die Kapitel von Stufe 2 bauen auf denselben Teilen auf.
 *
 * Seitenkopf mit Sprungleiste, Zahlenband, Abschnitte aus Text und Gerätekarte (abwechselnd Grund und Band), Kacheln,
 * nummerierte Kacheln, Karten, Ehrlich-Karte. Farben nur über die Rollen; Karten ohne Schatten (wie A, Bauplan §2.3);
 * keine eigene Bewegung — die Sätze der Plan-Karte laufen mit der Geräte-Schleife aus website-geraet.css (K14).
 * Versalien nur an den kleinen Etiketten der Gerätekarten (mono, wie A).
 */

/* ---------- Seitenkopf (A: 88 oben, 56 unten, Abstand 24) ---------- */

.web-board-kopf {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding-top: clamp(56px, 7vw, 88px);
    padding-bottom: 56px;
}

.web-board-kopf__titel {
    max-width: min(46rem, 100%);
}

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

/* Sprungleiste: 44 hohe Umriss-Pillen. */
.web-board-sprung {
    margin-top: 8px;
}

.web-board-sprung__liste {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-sprung__punkt {
    display: flex;
}

/* ---------- Zahlenband (A: Fläche, Haarlinien, 28 24, Raster ab 220) ---------- */

.web-board-zahlen {
    padding-block: 28px;
}

.web-board-zahlen__liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: 20px 24px;
    margin-block: 0;
    padding-block: 0;
    list-style: none;
}

.web-board-zahl {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.web-board-zahl__wert {
    font-family: var(--web-schrift-titel);
    font-size: 2.125rem;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--rolle-text);
}

.web-board-zahl__text {
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 500;
    color: var(--rolle-text-leise);
}

/* ---------- Abschnitt: Text und Gerätekarte nebeneinander, am Telefon untereinander ---------- */

.web-board-teil__innen {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(40px, 6vw, 72px);
}

/* Dreh (Ruling §8dl Nachtrag 60 (bc) (3)): im Markup steht der Text vor der Gerätekarte — Lesefolge und Überschriften
   wie am Telefon. Soll die Karte links stehen, dreht der Behälter die Reihe; bricht sie um, steht der Text oben. */
.web-board-teil__innen--gedreht {
    flex-direction: row-reverse;
}

.web-board-teil__stapel {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.web-board-teil__text {
    display: flex;
    flex: 1 1 440px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-width: 0;
}

.web-board-teil__text .web-absatz {
    max-width: 36rem;
}

.web-board-teil__kopf {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 47.5rem;
}

/* „Mehr dazu“ als letzte Zeile des Abschnittstexts: ein Verweis im Fließtext (kein eigener Platz), nie umbrochen,
   Pfeil dahinter. */
.web-board-mehr {
    font-weight: 700;
    white-space: nowrap;
}

.web-board-mehr .web-ikone {
    width: 18px;
    height: 18px;
    margin-left: 6px;
    vertical-align: -3px;
}

/* Das Etikett „Beispielansicht“ jeder Gerätekarte, unten rechts in der Karte. */
.web-board-etikett {
    align-self: flex-end;
}

/* ---------- Kacheln (Training: Raster ab 200, Radius 16) ---------- */

.web-board-kacheln {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
    gap: 12px;
    width: 100%;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.web-board-kachel {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px;
    border: 1px solid var(--rolle-linie);
    border-radius: 16px;
    background: var(--rolle-flaeche);
}

.web-board-kachel__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

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

/* ---------- Plan-Karte (A: Radius 28, Fläche, 26 innen; Satzzeilen im Raster 28 · 3 Spalten · 28) ---------- */

.web-board-plan {
    display: flex;
    flex: 1 1 440px;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--rolle-linie);
    border-radius: 28px;
    background: var(--rolle-flaeche);
}

.web-board-plan__kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 4px 12px;
    margin: 0;
}

.web-board-plan__name {
    font-family: var(--web-schrift-titel);
    font-size: 1.375rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--rolle-text);
}

.web-board-plan__zahl {
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--rolle-akzent);
}

.web-board-plan__letztes {
    margin: 0 0 4px;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--rolle-text-leise);
}

.web-board-plan__liste {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: web-board-satz;
}

/* Die Zeile trägt auch .web-geraet-satz (Schleife und Haken aus website-geraet.css); hier das Raster der Karte. */
.web-board-plan .web-board-plan__satz {
    display: grid;
    grid-template-columns: 28px repeat(3, minmax(0, 1fr)) 28px;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--rolle-flaeche-2);
    color: var(--rolle-text);
    font-size: 0.9375rem;
    line-height: 1.3;
    font-weight: 600;
    counter-increment: web-board-satz;
}

.web-board-plan .web-board-plan__satz::before {
    font-family: var(--web-schrift-mono);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--rolle-text-leise);
    content: counter(web-board-satz);
}

.web-board-plan .web-board-plan__satz--offen {
    border: 1px dashed var(--rolle-rand);
    background: transparent;
    color: var(--rolle-text-2);
}

.web-board-plan__zelle {
    min-width: 0;
}

.web-board-plan .web-geraet-satz__haken {
    justify-self: end;
    width: 22px;
    height: 22px;
}

.web-board-plan__kreis {
    justify-self: end;
    width: 22px;
    height: 22px;
    border: 2px solid var(--rolle-rand);
    border-radius: 50%;
}

/* ---------- Rechenkarte (A: höchstens 380 breit, Radius 20, auf dem Seitengrund) ---------- */

.web-board-rechnung {
    display: flex;
    flex: 0 1 380px;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--rolle-linie);
    border-radius: 20px;
    background: var(--rolle-grund);
}

.web-board-rechnung__kopf,
.web-board-signale__kopf {
    margin: 0;
    font-family: var(--web-schrift-mono);
    font-size: 0.6875rem;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--rolle-text-leise);
}

.web-board-rechnung__zeilen {
    display: grid;
    gap: 10px;
    margin: 0;
}

.web-board-rechnung__zeile {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.web-board-rechnung__name {
    margin: 0;
    font-weight: 600;
    color: var(--rolle-text-2);
}

.web-board-rechnung__wert {
    margin: 0;
    font-weight: 800;
    white-space: nowrap;
    color: var(--rolle-text);
}

.web-board-rechnung__zeile--ergebnis .web-board-rechnung__wert {
    color: var(--rolle-akzent);
}

.web-board-rechnung__weg {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--rolle-linie);
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--rolle-text-leise);
}

/* ---------- Fünf nummerierte Kacheln (A: Raster ab 210, Ziffer mono im Akzent) ---------- */

.web-board-schritte {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: web-board-schritt;
}

.web-board-schritt {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--rolle-linie);
    border-radius: 16px;
    background: var(--rolle-grund);
    counter-increment: web-board-schritt;
}

.web-board-schritt::before {
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 600;
    color: var(--rolle-akzent);
    content: counter(web-board-schritt, decimal-leading-zero);
}

/* Vier Kacheln ohne Loch (Ruling §8dl Nachtrag 60 (bc) (7), Muster (ba) (2)): unter 700 eine Spalte, ab 700 zwei (2+2),
   ab 1000 vier. Feste Spalten statt auto-fit; der Block ab 1000 steht hinter dem ab 700. */
.web-board-schritte--vier {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
    .web-board-schritte--vier {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1000px) {
    .web-board-schritte--vier {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* ---------- Karte „Aufmerksamkeit“ (A: Radius 28, Zeilen Radius 12 auf Fläche 2, Status als Chip) ---------- */

.web-board-signale {
    display: flex;
    flex: 1 1 440px;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--rolle-linie);
    border-radius: 28px;
    background: var(--rolle-flaeche);
}

.web-board-signale__kopf {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.web-board-signale__liste {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-signal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: var(--rolle-flaeche-2);
}

.web-board-signal--ruhig {
    border-style: dashed;
    border-color: var(--rolle-rand);
    background: transparent;
}

.web-board-signal__wer {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.web-board-signal__name {
    font-size: 0.9375rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

.web-board-signal__grund {
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--rolle-text-2);
}

/* Status nach Bauplan §2.2: Handeln gefüllt mit „!“, Beobachten als Umriss im Nebenton, Läuft als Wort mit Haken. */
.web-board-status {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--rolle-text);
}

.web-board-status .web-ikone {
    width: 14px;
    height: 14px;
    stroke-width: 2.5;
}

.web-board-status--handeln {
    border-color: var(--rolle-text);
    background: var(--rolle-text);
    color: var(--rolle-grund);
}

.web-board-status--beobachten {
    border-color: var(--rolle-text-leise);
    color: var(--rolle-text-leise);
}

.web-board-status--laeuft .web-ikone {
    color: var(--rolle-akzent);
}

/* ---------- Installationskarte (A: Radius 28, Violett-Rand, 26 innen, Umschalter iPhone | Android, K23) ---------- */

.web-board-install {
    display: flex;
    flex: 1 1 440px;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
    margin: 0;
    padding: 26px;
    border: 1px solid var(--rolle-akzent);
    border-radius: 28px;
    background: var(--rolle-grund);
}

.web-board-install__kopf {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.web-board-install__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

/* „Dein Gerät erkannt“ nur, wenn das Skript das Gerät erkannt hat (data-web-erkannt). */
.web-board-install__erkannt {
    display: none;
    margin: 0;
    padding: 4px 10px;
    border: 1px solid var(--rolle-akzent);
    border-radius: 999px;
    font-size: 0.75rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--rolle-akzent);
}

.web-board-install[data-web-erkannt] .web-board-install__erkannt {
    display: inline-flex;
}

.web-board-install__wahl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.web-board-install__wahlpunkt {
    display: inline-flex;
}

.web-board-install__chip {
    padding: 0 20px;
    background: transparent;
    color: var(--rolle-text-2);
    font-weight: 600;
}

.web-board-install__eingabe:checked + .web-board-install__chip {
    border-color: var(--rolle-akzent);
    background: var(--rolle-akzent-weich);
    color: var(--rolle-text);
    font-weight: 700;
}

.web-board-install__eingabe:focus-visible + .web-board-install__chip {
    outline: 3px solid var(--rolle-fokus);
    outline-offset: 3px;
}

/* Jeder Schritt als Zeile auf Fläche 2 (A), die runde Ziffer aus der Schrittliste. */
.web-board-install__schritte {
    gap: 10px;
}

.web-board-install .web-schrittliste__punkt {
    padding: 10px 14px;
    border-radius: 12px;
    background: var(--rolle-flaeche-2);
    font-size: 0.9375rem;
}

.web-board-install .web-schrittliste__punkt::before {
    width: 30px;
    height: 30px;
}

/* Ohne :has() stehen beide Anleitungen untereinander (ihr erster Schritt nennt den Browser). */
@supports selector(:has(*)) {
    .web-board-install:has(.web-board-install__eingabe[value="iphone"]:checked) .web-board-install__schritte--android,
    .web-board-install:has(.web-board-install__eingabe[value="android"]:checked) .web-board-install__schritte--iphone {
        display: none;
    }
}

.web-board-install__hinweis {
    margin: 0;
}

/* ---------- Unter der Oberfläche: sechs Karten (A: Raster ab 280, Radius 20, 24 innen, Titel 19) ---------- */

.web-board-karten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-karte {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border: 1px solid var(--rolle-linie);
    border-radius: 20px;
    background: var(--rolle-flaeche);
}

.web-board-karte__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

/* ---------- Ehrlich (D4): eine ruhige Karte mit gestricheltem Rand vor dem Schlussband ---------- */

/* Enger Abstand (Prüfplan Teil 2 §5 Nr. 3 (b)): die Karte steht 24 px unter den Karten des Unterbaus, darunter trägt
   das Schlussband seinen eigenen Abstand. */
.web-board-teil--vor-ehrlich {
    padding-bottom: 24px;
}

.web-board-ehrlich__karte {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    max-width: 48rem;
    padding: 24px;
    border: 1px dashed var(--rolle-rand);
    border-radius: 20px;
}

.web-board-ehrlich__titel {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: 1.375rem;
    line-height: 1.2;
    font-weight: 800;
    color: var(--rolle-text);
}

/* =====================================================================
 * Bausteine der übrigen Board-Seiten (Bahn na-bausteine; Ruling §8dl Nachtrag 60 (at); Inventar §1.3 bis §1.6).
 * Karten auf einem Band (.web-band) stehen auf dem Grund, sonst auf der Fläche. Ziffern kommen aus CSS-Zählern, nie
 * aus dem Markup. Etiketten unterscheiden sich in der Form (Punkt, Füllung, Umriss), nicht nur in der Farbe.
 * ===================================================================== */

/* ---------- Akkordeon (A: Zeilen Radius 18, Frage mindestens 60 hoch, Plus dreht um 45 Grad) ----------
   <details> mit gemeinsamem name: der Browser hält genau eine Zeile offen; ohne Skript bedienbar, Tastatur über
   <summary>. Das Plus ist Zier aus zwei Strichen (kein Zeichen im Text). */

.web-board-akkordeon {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 56.25rem;
}

.web-board-akkordeon__punkt {
    border: 1px solid var(--rolle-linie);
    border-radius: 18px;
    background: var(--rolle-flaeche);
}

.web-board-akkordeon__frage {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 60px;
    padding: 18px 22px;
    border-radius: 18px;
    font-family: var(--web-schrift-text);
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--rolle-text);
    list-style: none;
    cursor: pointer;
}

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

.web-board-akkordeon__plus {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
    color: var(--rolle-akzent);
}

.web-board-akkordeon__plus::before,
.web-board-akkordeon__plus::after {
    position: absolute;
    top: 9px;
    left: 1px;
    width: 18px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    content: "";
}

.web-board-akkordeon__plus::after {
    transform: rotate(90deg);
}

.web-board-akkordeon__punkt[open] .web-board-akkordeon__plus {
    transform: rotate(45deg);
}

.web-board-akkordeon__antwort {
    padding: 0 22px 20px;
}

.web-board-akkordeon__antwort .web-absatz {
    max-width: 44rem;
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--rolle-text-2);
}

@media (prefers-reduced-motion: no-preference) {
    :root:not([data-bewegung="aus"]) .web-board-akkordeon__plus {
        transition: transform 200ms ease;
    }
}

/* ---------- Zielgruppen-Karten (A: Raster ab 260, Radius 24, 28 innen; Wortmarke 44 mit eigenem Sport-Punkt) ---------- */

.web-board-gruppen {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-gruppe {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 28px;
    border: 1px solid var(--rolle-linie);
    border-radius: 24px;
    background: var(--rolle-flaeche);
}

.web-board-gruppe__marke {
    display: block;
    width: auto;
    height: 2.75rem;
    color: var(--rolle-text);
}

.web-board-gruppe__titel {
    margin: 0;
    font-family: var(--web-schrift-titel);
    font-size: 1.625rem;
    line-height: 1.15;
    font-weight: 800;
    color: var(--rolle-text);
}

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

/* Passt-Zeile am Fuß der Karte: gefüllter Punkt = passt; leerer Ring = gibt es heute nicht oder ist offen. */
.web-board-gruppe__passt {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: auto 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--rolle-text);
}

.web-board-gruppe__passt::before {
    flex: none;
    width: 10px;
    height: 10px;
    border: 2px solid var(--rolle-akzent);
    border-radius: 50%;
    background: var(--rolle-akzent);
    content: "";
}

.web-board-gruppe__passt--fehlt::before,
.web-board-gruppe__passt--offen::before {
    border-color: var(--rolle-text-2);
    background: transparent;
}

/* ---------- Stapel „Fünf Werkzeuge werden eines“ (A: fünf durchgestrichene Zeilen Radius 14, darunter die Zeile der Marke) ---------- */

.web-board-stapel {
    display: flex;
    flex: 1 1 320px;
    flex-direction: column;
    gap: 10px;
    max-width: 26rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-stapel__zeile {
    padding: 14px 18px;
    border: 1px solid var(--rolle-linie);
    border-radius: 14px;
    background: var(--rolle-flaeche);
    font-size: 1rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--rolle-text-2);
    text-decoration: line-through;
}

.web-board-stapel__ziel {
    padding: 16px 18px;
    border-radius: 14px;
    background: var(--rolle-uv);
    font-family: var(--web-schrift-titel);
    font-size: 1.125rem;
    line-height: 1.3;
    font-weight: 800;
    color: var(--rolle-auf-uv);
}

/* ---------- Schritt-Karten mit großer Ziffer (A: Raster ab 240, Radius 22, 26 innen, Ziffer 40 im Akzent) ----------
   Variante der nummerierten Kachel: derselbe Zähler web-board-schritt, die Ziffer groß und ohne führende Null. */

.web-board-schritte--gross {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.web-board-schritte--gross .web-board-schritt {
    gap: 10px;
    padding: 26px;
    border-radius: 22px;
    background: var(--rolle-flaeche);
}

.web-board-schritte--gross .web-board-schritt::before {
    font-family: var(--web-schrift-titel);
    font-size: 2.5rem;
    font-weight: 800;
    content: counter(web-board-schritt);
}

.web-board-schritt__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

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

/* Fußzeile der Schritt-Karte, unten bündig über alle Karten einer Reihe. */
.web-board-schritt__fuss {
    margin: auto 0 0;
    padding-top: 6px;
    font-size: 0.875rem;
    line-height: 1.4;
    font-weight: 600;
    color: var(--rolle-text);
}

/* ---------- Wochen-Zeilen (A: Raster 90 + Rest, Radius 18, Zeitmarke mono links; ohne Ziffer) ---------- */

.web-board-woche {
    display: flex;
    flex: 2 1 520px;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-woche__zeile {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr);
    align-items: baseline;
    gap: 4px 16px;
    padding: 16px 18px;
    border: 1px solid var(--rolle-linie);
    border-radius: 18px;
    background: var(--rolle-flaeche);
}

.web-board-woche__marke {
    font-family: var(--web-schrift-mono);
    font-size: 0.75rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--rolle-akzent);
}

.web-board-woche__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.0625rem;
    line-height: 1.35;
    font-weight: 700;
    color: var(--rolle-text);
}

.web-board-woche__text {
    grid-column: 2;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--rolle-text-2);
}

/* Die Zeile „immer“ (Kontakt per Mail): Akzent-Tönung statt Fläche. */
.web-board-woche__zeile--immer {
    border-color: var(--rolle-akzent);
    background: var(--rolle-akzent-weich);
}

/* ---------- Nummern-Karten (A: Raster ab 300, Radius 22, 26 innen, Zahl mono im Akzent) ---------- */

.web-board-nummern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: web-board-nummer;
}

.web-board-nummer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px;
    border: 1px solid var(--rolle-linie);
    border-radius: 22px;
    background: var(--rolle-flaeche);
    counter-increment: web-board-nummer;
}

.web-board-nummer::before {
    font-family: var(--web-schrift-mono);
    font-size: 0.8125rem;
    line-height: 1;
    font-weight: 600;
    color: var(--rolle-akzent);
    content: counter(web-board-nummer, decimal-leading-zero);
}

.web-board-nummer__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.25rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

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

/* ---------- Zusätze der Seiten Für wen, Umstieg, Sicherheit (Bahn na-wege; Ruling §8dl Nachtrag 60 (ba) (2) und (3)) ----------
   Erste Karte breit: fünf Nummern-Karten ohne Loch — unter 700 eine Spalte, ab 700 zwei (die erste über beide: 1 / 2 / 2),
   ab 1000 drei (die erste über zwei: 2+1 / 1+1+1). Feste Spalten statt auto-fit; der Block ab 1000 steht hinter dem ab 700.
   Anschluss ((ba) (3) Hebel 2): der erste Abschnitt von Für wen, Umstieg und Sicherheit steht auf demselben Grund wie
   der Seitenkopf und schließt ohne doppelten Abstand an (16 px statt des Abschnittsabstands, in allen Breiten; der Kopf
   behält seinen unteren Abstand). Dazu genau eine benannte Erweiterung (Ruling (bc) (6) (a)): /umstieg kapitel-zurueck
   nach kapitel-pdf, beide auf Grund. Keine allgemeine Regel — die vier Kapitel-Seiten tragen die Klasse nicht. */

.web-board-nummern--erste-breit {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 700px) {
    .web-board-nummern--erste-breit {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .web-board-nummern--erste-breit > .web-board-nummer:first-child {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1000px) {
    .web-board-nummern--erste-breit {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .web-board-nummern--erste-breit > .web-board-nummer:first-child {
        grid-column: span 2;
    }
}

.web-board-anschluss {
    padding-top: 16px;
}

/* ---------- Etikett-Karten des Ehrlich-Blocks (A: Karten mit mono-Etikett als Pille) ----------
   Drei Arten, in der Form verschieden: arbeit = Umriss mit Punkt, bewusst = getönte Füllung, stand = Umriss. */

.web-board-etikettkarten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 16px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.web-board-etikettkarte {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px;
    border: 1px solid var(--rolle-linie);
    border-radius: 20px;
    background: var(--rolle-flaeche);
}

.web-board-etikettkarte__etikett {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 12px;
    border: 1px solid var(--rolle-rand);
    border-radius: 999px;
    font-family: var(--web-schrift-mono);
    font-size: 0.6875rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rolle-text);
}

.web-board-etikettkarte--arbeit .web-board-etikettkarte__etikett::before {
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rolle-akzent);
    content: "";
}

.web-board-etikettkarte--bewusst .web-board-etikettkarte__etikett {
    border-color: var(--rolle-akzent);
    background: var(--rolle-akzent-weich);
}

.web-board-etikettkarte__titel {
    margin: 0;
    font-family: var(--web-schrift-text);
    font-size: 1.1875rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--rolle-text);
}

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

/* Auf einem Band stehen die Karten auf dem Grund (A: Karten „auf --bg“). */
.web-band .web-board-akkordeon__punkt,
.web-band .web-board-gruppe,
.web-band .web-board-stapel__zeile,
.web-band .web-board-schritte--gross .web-board-schritt,
.web-band .web-board-woche__zeile:not(.web-board-woche__zeile--immer),
.web-band .web-board-nummer,
.web-band .web-board-etikettkarte,
.web-band .web-board-karte {
    background: var(--rolle-grund);
}

@media (forced-colors: active) {
    .web-board-akkordeon__plus::before,
    .web-board-akkordeon__plus::after {
        background: CanvasText;
    }

    .web-board-stapel__ziel {
        border: 1px solid CanvasText;
    }
}

/* h1 des Seitenkopfs unter 360 px (Ruling §8dl Nachtrag 60 (bc) (4) (b)): das längste Wort einer Board-h1 passt in die
   Spalte, keine Seite rollt quer. */
@media (max-width: 359.98px) {
    .web-board-kopf__titel {
        font-size: 2rem;
    }
}

/* ---------- Telefon ---------- */

@media (max-width: 599.98px) {
    .web-board-kopf {
        padding-bottom: 40px;
    }

    .web-board-gruppe,
    .web-board-nummer,
    .web-board-schritte--gross .web-board-schritt {
        padding: 22px;
    }

    .web-board-woche__zeile {
        grid-template-columns: minmax(0, 1fr);
    }

    .web-board-woche__text {
        grid-column: 1;
    }

    .web-board-plan,
    .web-board-signale,
    .web-board-install {
        padding: 18px;
        border-radius: 22px;
    }

    .web-board-plan .web-board-plan__satz {
        grid-template-columns: 20px repeat(3, minmax(0, 1fr)) 22px;
        gap: 6px;
        padding: 10px;
        font-size: 0.8125rem;
    }

    .web-board-signal {
        align-items: flex-start;
    }

    .web-board-zahl__wert {
        font-size: 1.75rem;
    }
}
