/* neu.css – Stilblatt der neuen Oberfläche (Gesamtplan 04.11.2026, Abschnitte 1, 4, 7).
   Ein Aufbau, zwei Farbsätze. Farbliterale stehen nur in Zeilen, die mit „--name:“ beginnen. */

/* ---------- Schriften ---------- */
@font-face {
    font-family: "Source Sans 3";
    src: url("/schriften/SourceSans3-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("/schriften/SourceSans3-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Source Sans 3";
    src: url("/schriften/SourceSans3-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Bitter Pro";
    src: url("/schriften/BitterPro-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Bitter Pro";
    src: url("/schriften/BitterPro-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---------- Farbtokens: Tag, Nacht, Druck ---------- */
/* Tag: der Grundsatz. Alle Farben stehen nur hier und in den drei Blöcken darunter. */
/* Bewegung: kein Farb-Token, darum nicht im :root-Satz der vier Tokenblöcke. */
html {
    /* Eine Bewegung für jedes Blatt und Fenster (Herbert, 06.11.2026): langsam herein, etwas schneller hinaus, weiche Kurve ohne Ruck. */
    --gleit-auf: 0.45s;
    --gleit-zu: 0.34s;
    --gleit-kurve: cubic-bezier(0.32, 0.72, 0, 1);
    --gleit-kurve-zu: cubic-bezier(0.4, 0, 0.6, 1);
}
:root {
    color-scheme: light;
    --flaeche: #ffffff;
    --zweit: #e4e9e4;
    --haar: #e6eae6;
    --gruppenband: #f1f1f1;
    --gruppenband-linie: #cdd2ce;
    --linie: #c6cfc8;
    --tinte: #1b211e;
    --leise: #556059;
    --loden: var(--verein, #343e39);
    --auf-loden: #ffffff;
    --mappe-ohne: var(--verein, #343e39);
    --mappe-rot: #a3262a;
    --mappe-gruen: #2f6142;
    --mappe-blau: #24467a;
    --mappe-schwarz: #2a302d;
    --mappe-schrift: #ffffff;
    --mappe-rueck: rgba(0, 0, 0, 0.18);
    --mappe-punkt: rgba(255, 255, 255, 0.75);
    --messing: #8a6b2e;
    --ok: #2a4a38;
    --gefahr: #a81622;
    --gelb: #e0a31a;
    --leiste: #1b211e;
    --auf-leiste: #ffffff;
    --leiste-akzent: #e6cf94;
    /* Wichtig-Karte im Vereinslokal: Vereinsfarbe wie der Kopf, ohne sie Loden (Herbert 14.11.2026 am Bild; bis dahin Loden fest). */
    --wichtig-flaeche: var(--loden);
    --wichtig-schrift: var(--auf-loden);
    --wichtig-wort: var(--auf-loden);
    --wichtig-leise: color-mix(in srgb, var(--auf-loden) 85%, transparent);
    --weiss: #ffffff;
    --schleier: rgba(27, 33, 30, 0.45);
    --schleier-blatt: rgba(27, 33, 30, 0.25);
    --schatten: 0 3px 10px rgba(27, 33, 30, 0.22);
    --schatten-blatt: 0 -6px 30px rgba(27, 33, 30, 0.25);
    --akzent: var(--verein, #343e39);
    --wappen-filter: none;
    --ton-wort: var(--verein, #343e39);
    --ton-linie: color-mix(in srgb, var(--verein, #343e39) 14%, var(--haar));
    --ton-flaeche: color-mix(in srgb, var(--verein, #343e39) 7%, var(--flaeche));
    --ton-flaeche-stark: color-mix(in srgb, var(--verein, #343e39) 13%, var(--flaeche));
    --gs-ton: color-mix(in srgb, var(--verein, #343e39) 7%, #ececec); /* Band und Knöpfe im Gespräch mit Gerda, Herbert 16.11.2026 „tönung angenommen“ */
    --gefahr-schrift: #ffffff;
    --umgebung: #343e39;
    --ampel-rot-flaeche: #f8d9d5;
    --ampel-rot-tinte: #81443e;
    --ampel-orange-flaeche: #f5d8bf;
    --ampel-orange-tinte: #7a4c20;
    --stufe-blau-flaeche: color-mix(in srgb, var(--mappe-blau) 14%, var(--flaeche));
    --stufe-blau-schrift: var(--mappe-blau);
    --ampel-gelb-flaeche: #f0e5bc;
    --ampel-gelb-tinte: #675714;
    --ampel-gruen-flaeche: #d1e9d0;
    --ampel-gruen-tinte: #376439;
    --ampel-neutral-flaeche: #e1e6e3;
    --ampel-neutral-tinte: #525a56;
    --stufe-0: #cfc8bd;
    --stufe-1: #c8433c;
    --stufe-2: #dd8435;
    --stufe-3: #d9b13b;
    --stufe-4: #4f9e59;
    --band: var(--loden);
    --auf-band: var(--auf-loden);
    --verein-flaeche: var(--verein-hell, #e4e9e4);
    /* Spieltisch (Herbert, 14.11.2026, Entwurf „tisch-neutral“; Werte und Plättchen nach der Zeichnung „Spieltisch“, am selben Tag angenommen): Grund um den Tisch, Tischfläche und -kante, Knopf- und Kastengrund am Tisch, Partner und Gegner, leise Schrift auf dem Tisch. */
    --spiel-seite: #e4e9e4;
    --spiel-tisch: #b9c4bb;
    --spiel-kante: #a7b3aa;
    --spiel-knopf: #ffffff;
    --spiel-knopf-rand: #c6cfc8;
    --spiel-partner: #2a4a38;
    --spiel-gegner: #24467a;
    --spiel-leise: #37423c;
    /* Tischliste und Üben behalten tagsüber ihre Töne von vor dem 14.11.2026 (Tipp-Grund, starke Linie, Teilstrich der Mitschrift); nachts --zweit und --leise. Schatten der Meldung am Tisch. */
    --spiel-grund-tief: #d6ddd7;
    --spiel-linie-stark: #6b7b70;
    --spiel-schatten: 0 6px 18px rgba(0, 0, 0, 0.28);
    --spiel-plaettchen: rgba(251, 246, 236, 0.92);
}

/* ---------- Schriftstufen (Maß: X am Handy, Herbert 05.11.2026) ----------
   Eine Stufe heißt nach ihrer Größe am Schreibtisch. Am Handy (unter 700 px) sind sie größer:
   Nebensache 16 px, Fließtext 18 px, Zeilentitel 20 px (Feinjustierung 05.11.2026: Text eine Stufe größer, Bedienelemente eine Stufe kleiner, Raster 4/8/12/16/24).
   Selektor html, nicht :root: der Wächter liest :root als Farbblock. */
html {
    --s-12: calc(12px * var(--schriftmass));
    --s-13: calc(14px * var(--schriftmass));
    --s-14: calc(15px * var(--schriftmass));
    --s-15: calc(16px * var(--schriftmass));
    --s-16: calc(17px * var(--schriftmass));
    --s-17: calc(18px * var(--schriftmass));
    --s-18: calc(18px * var(--schriftmass));
    --s-20: calc(20px * var(--schriftmass));
    --s-22: calc(22px * var(--schriftmass));
    --s-titel: calc(17px * var(--schriftmass));
}
@media (max-width: 699px) {
    html {
        --s-12: calc(13px * var(--schriftmass));
        --s-13: calc(15px * var(--schriftmass));
        --s-14: calc(16px * var(--schriftmass));
        --s-15: calc(17px * var(--schriftmass));
        --s-16: calc(18px * var(--schriftmass));
        --s-17: calc(19px * var(--schriftmass));
        --s-18: calc(21px * var(--schriftmass));
        --s-20: calc(22px * var(--schriftmass));
        --s-22: calc(25px * var(--schriftmass));
        --s-titel: calc(20px * var(--schriftmass));
    }
}

/* ---------- Schriftstufen „Aa“ (Herbert 13.11.2026: drei Stufen, jede Schrift wächst mit) ----------
   Ein Maß für die ganze Oberfläche: Jede Schriftgröße und jede feste Zeilenhöhe in neu.css und seiten.css ist
   calc(N * var(--schriftmass)). Normal 1, groß 1.2, sehr groß 1.4; der Server setzt html[data-schrift], ohne Merkmal normal.
   Abstände, Ränder und Tippziele bleiben, Knöpfe und Zeilen wachsen mit ihrem Text. Der Druck bleibt bei normal. */
html { --schriftmass: 1; }
html[data-schrift="gross"] { --schriftmass: 1.2; }
html[data-schrift="sehr-gross"] { --schriftmass: 1.4; }
@media print {
    html[data-schrift] { --schriftmass: 1; }
}

/* ---------- Figma „Echt“ (12.11.2026): Schriften und Abstände aus den Variablen der Datei „Vereinswart Design“ ----------
   Gleiche Größen am Handy und am Schreibtisch (Figma misst beide gleich); „Aa“ multipliziert sie mit --schriftmass.
   Text/Text 17, Text/Nebensache 15, Text/Navigation klein 13, Text/Abschnitt 14, Text/Zeile Titel 19, Knopf 17 fett;
   Abstände abstand/4 bis abstand/24; Rand der Seite am Handy 20, am Schreibtisch 40. */
html {
    --f-13: calc(13px * var(--schriftmass));
    --f-14: calc(14px * var(--schriftmass));
    --f-15: calc(15px * var(--schriftmass));
    --f-16: calc(16px * var(--schriftmass));
    --f-17: calc(17px * var(--schriftmass));
    --f-19: calc(19px * var(--schriftmass));
    --f-20: calc(20px * var(--schriftmass));
    --f-22: calc(22px * var(--schriftmass));
    --f-28: calc(28px * var(--schriftmass));
    --f-30: calc(30px * var(--schriftmass));
    --f-34: calc(34px * var(--schriftmass));
    --f-36: calc(36px * var(--schriftmass));
    --abstand-4: 4px;
    --abstand-8: 8px;
    --abstand-12: 12px;
    --abstand-16: 16px;
    --abstand-20: 20px;
    --abstand-24: 24px;
    --abstand-32: 32px;
    --abstand-40: 40px;
    --hoehe-bedien: 48px;
    --radius-feld: 4px;
    --radius-knopf: 8px;
    --radius-karte: 6px;
}


/* Nacht: die Person hat dunkel gewählt (Server setzt data-dunkel="immer"). Ohne Merkmal ist die Seite hell;
   eine Geräteautomatik gibt es seit 05.11.2026 nicht mehr (Herbert: Standard hell). */
:root[data-dunkel="immer"] {
    color-scheme: dark;
    --flaeche: #050706;
    --zweit: #1b201d;
    --haar: #1f2522;
    --gruppenband: var(--zweit);
    --gruppenband-linie: var(--linie);
    --linie: #363f39;
    --tinte: #eceeec;
    --leise: #a7b0aa;
    --loden: #d6ddd7;
    --auf-loden: #151a17;
    --mappe-ohne: var(--verein, #343e39);
    --mappe-rot: #a3262a;
    --mappe-gruen: #2f6142;
    --mappe-blau: #24467a;
    --mappe-schwarz: #2a302d;
    --mappe-schrift: #ffffff;
    --mappe-rueck: rgba(0, 0, 0, 0.18);
    --mappe-punkt: rgba(255, 255, 255, 0.75);
    --messing: #c9a24f;
    --ok: #7cc89a;
    --gefahr: #e5727a;
    --gelb: #e0a31a;
    --leiste: #eceeec;
    --auf-leiste: #151a17;
    --leiste-akzent: #6e5116;
    /* Nachts ist --loden hellgrau; die Karte bleibt in der Vereinsfarbe (Herbert 14.11.2026). */
    --wichtig-flaeche: var(--verein, #343e39);
    --wichtig-schrift: #ffffff;
    --wichtig-wort: #ffffff;
    --wichtig-leise: rgba(255, 255, 255, 0.85);
    --weiss: #ffffff;
    --schleier-blatt: var(--schleier);
    --schleier: rgba(0, 0, 0, 0.6);
    --schatten: 0 4px 14px rgba(0, 0, 0, 0.5);
    --schatten-blatt: 0 -6px 30px rgba(0, 0, 0, 0.6);
    --akzent: color-mix(in srgb, var(--verein, #d6ddd7) 45%, var(--weiss));
    --wappen-filter: brightness(1.25);
    --ton-wort: var(--leise);
    --ton-linie: var(--haar);
    --ton-flaeche: var(--zweit);
    --ton-flaeche-stark: var(--zweit);
    --gs-ton: var(--zweit);
    --gefahr-schrift: #151a17;
    --umgebung: #0e1210;
    --ampel-rot-flaeche: color-mix(in srgb, var(--gefahr) 48%, var(--flaeche));
    --ampel-rot-tinte: var(--tinte);
    --ampel-orange-flaeche: color-mix(in srgb, var(--messing) 48%, var(--flaeche));
    --ampel-orange-tinte: var(--tinte);
    --stufe-blau-flaeche: color-mix(in srgb, var(--mappe-blau) 48%, var(--flaeche));
    --stufe-blau-schrift: var(--tinte);
    --ampel-gelb-flaeche: color-mix(in srgb, var(--gelb) 48%, var(--flaeche));
    --ampel-gelb-tinte: var(--tinte);
    --ampel-gruen-flaeche: color-mix(in srgb, var(--ok) 48%, var(--flaeche));
    --ampel-gruen-tinte: var(--tinte);
    --ampel-neutral-flaeche: color-mix(in srgb, var(--tinte) 16%, var(--flaeche));
    --ampel-neutral-tinte: var(--tinte);
    --stufe-0: #cfc8bd;
    --stufe-1: #c8433c;
    --stufe-2: #dd8435;
    --stufe-3: #d9b13b;
    --stufe-4: #4f9e59;
    --band: #1b211e; /* Figma farbe/leiste, Modus Nacht (Abgleich 12.11.2026), eine Stufe neben --zweit */
    --auf-band: var(--tinte);
    --verein-flaeche: var(--zweit);
    --spiel-seite: #050706;
    --spiel-tisch: #1b201d;
    --spiel-kante: #363f39;
    --spiel-knopf: #1b201d;
    --spiel-knopf-rand: #363f39;
    --spiel-partner: #7cc89a;
    --spiel-gegner: #9db8e6;
    --spiel-leise: #a7b0aa;
    --spiel-grund-tief: var(--zweit);
    --spiel-linie-stark: var(--leise);
    --spiel-schatten: 0 6px 18px rgba(0, 0, 0, 0.28);
    --spiel-plaettchen: rgba(27, 32, 29, 0.88);
}

/* Druck: immer Tag-Werte, auch bei data-dunkel="immer". Steht nach dem Nachtblock. */
@media print {
    :root,
    :root[data-dunkel="immer"] {
        color-scheme: light;
        --flaeche: #ffffff;
        --zweit: #e4e9e4;
        --haar: #e6eae6;
        --gruppenband: #f1f1f1;
        --gruppenband-linie: #cdd2ce;
        --linie: #c6cfc8;
        --tinte: #1b211e;
        --leise: #556059;
        --loden: var(--verein, #343e39);
        --auf-loden: #ffffff;
        --mappe-ohne: var(--verein, #343e39);
        --mappe-rot: #a3262a;
        --mappe-gruen: #2f6142;
        --mappe-blau: #24467a;
        --mappe-schwarz: #2a302d;
        --mappe-schrift: #ffffff;
        --mappe-rueck: rgba(0, 0, 0, 0.18);
        --mappe-punkt: rgba(255, 255, 255, 0.75);
        --messing: #8a6b2e;
        --ok: #2a4a38;
        --gefahr: #a81622;
        --gelb: #e0a31a;
        --leiste: #1b211e;
        --auf-leiste: #ffffff;
        --leiste-akzent: #e6cf94;
        --wichtig-flaeche: var(--loden);
        --wichtig-schrift: var(--auf-loden);
        --wichtig-wort: var(--auf-loden);
        --wichtig-leise: color-mix(in srgb, var(--auf-loden) 85%, transparent);
        --weiss: #ffffff;
        --schleier: rgba(27, 33, 30, 0.45);
        --schleier-blatt: rgba(27, 33, 30, 0.25);
        --schatten: 0 3px 10px rgba(27, 33, 30, 0.22);
        --schatten-blatt: 0 -6px 30px rgba(27, 33, 30, 0.25);
        --akzent: var(--verein, #343e39);
        --wappen-filter: none;
        --ton-wort: var(--verein, #343e39);
    --ton-linie: color-mix(in srgb, var(--verein, #343e39) 14%, var(--haar));
    --ton-flaeche: color-mix(in srgb, var(--verein, #343e39) 7%, var(--flaeche));
    --ton-flaeche-stark: color-mix(in srgb, var(--verein, #343e39) 13%, var(--flaeche));
    --gs-ton: color-mix(in srgb, var(--verein, #343e39) 7%, #ececec); /* Band und Knöpfe im Gespräch mit Gerda, Herbert 16.11.2026 „tönung angenommen“ */
    --gefahr-schrift: #ffffff;
    --umgebung: #343e39;
    --ampel-rot-flaeche: #f8d9d5;
    --ampel-rot-tinte: #81443e;
    --ampel-orange-flaeche: #f5d8bf;
    --ampel-orange-tinte: #7a4c20;
    --stufe-blau-flaeche: color-mix(in srgb, var(--mappe-blau) 14%, var(--flaeche));
    --stufe-blau-schrift: var(--mappe-blau);
    --ampel-gelb-flaeche: #f0e5bc;
    --ampel-gelb-tinte: #675714;
    --ampel-gruen-flaeche: #d1e9d0;
    --ampel-gruen-tinte: #376439;
    --ampel-neutral-flaeche: #e1e6e3;
    --ampel-neutral-tinte: #525a56;
    --stufe-0: #cfc8bd;
    --stufe-1: #c8433c;
    --stufe-2: #dd8435;
    --stufe-3: #d9b13b;
    --stufe-4: #4f9e59;
    --band: var(--loden);
    --auf-band: var(--auf-loden);
    --verein-flaeche: var(--verein-hell, #e4e9e4);
    --spiel-seite: #e4e9e4;
    --spiel-tisch: #b9c4bb;
    --spiel-kante: #a7b3aa;
    --spiel-knopf: #ffffff;
    --spiel-knopf-rand: #c6cfc8;
    --spiel-partner: #2a4a38;
    --spiel-gegner: #24467a;
    --spiel-leise: #37423c;
    --spiel-grund-tief: #d6ddd7;
    --spiel-linie-stark: #6b7b70;
    --spiel-schatten: 0 6px 18px rgba(0, 0, 0, 0.28);
    --spiel-plaettchen: rgba(251, 246, 236, 0.92);
    }
}

/* Sitzungsblatt: bleibt ein weißes Blatt, auch bei Nacht. */
.hell {
    color-scheme: light;
    --flaeche: #ffffff;
    --zweit: #e4e9e4;
    --haar: #e6eae6;
    --gruppenband: #f1f1f1;
    --gruppenband-linie: #cdd2ce;
    --linie: #c6cfc8;
    --tinte: #1b211e;
    --leise: #556059;
    --loden: var(--verein, #343e39);
    --auf-loden: #ffffff;
    --mappe-ohne: var(--verein, #343e39);
    --mappe-rot: #a3262a;
    --mappe-gruen: #2f6142;
    --mappe-blau: #24467a;
    --mappe-schwarz: #2a302d;
    --mappe-schrift: #ffffff;
    --mappe-rueck: rgba(0, 0, 0, 0.18);
    --mappe-punkt: rgba(255, 255, 255, 0.75);
    --messing: #8a6b2e;
    --ok: #2a4a38;
    --gefahr: #a81622;
    --gelb: #e0a31a;
    --leiste: #1b211e;
    --auf-leiste: #ffffff;
    --leiste-akzent: #e6cf94;
    --wichtig-flaeche: var(--loden);
    --wichtig-schrift: var(--auf-loden);
    --wichtig-wort: var(--auf-loden);
    --wichtig-leise: color-mix(in srgb, var(--auf-loden) 85%, transparent);
    --weiss: #ffffff;
    --schleier: rgba(27, 33, 30, 0.45);
    --schleier-blatt: rgba(27, 33, 30, 0.25);
    --schatten: 0 3px 10px rgba(27, 33, 30, 0.22);
    --schatten-blatt: 0 -6px 30px rgba(27, 33, 30, 0.25);
    --akzent: var(--verein, #343e39);
    --wappen-filter: none;
    --ton-wort: var(--verein, #343e39);
    --ton-linie: color-mix(in srgb, var(--verein, #343e39) 14%, var(--haar));
    --ton-flaeche: color-mix(in srgb, var(--verein, #343e39) 7%, var(--flaeche));
    --ton-flaeche-stark: color-mix(in srgb, var(--verein, #343e39) 13%, var(--flaeche));
    --gs-ton: color-mix(in srgb, var(--verein, #343e39) 7%, #ececec); /* Band und Knöpfe im Gespräch mit Gerda, Herbert 16.11.2026 „tönung angenommen“ */
    --gefahr-schrift: #ffffff;
    --umgebung: #343e39;
    --ampel-rot-flaeche: #f8d9d5;
    --ampel-rot-tinte: #81443e;
    --ampel-orange-flaeche: #f5d8bf;
    --ampel-orange-tinte: #7a4c20;
    --stufe-blau-flaeche: color-mix(in srgb, var(--mappe-blau) 14%, var(--flaeche));
    --stufe-blau-schrift: var(--mappe-blau);
    --ampel-gelb-flaeche: #f0e5bc;
    --ampel-gelb-tinte: #675714;
    --ampel-gruen-flaeche: #d1e9d0;
    --ampel-gruen-tinte: #376439;
    --ampel-neutral-flaeche: #e1e6e3;
    --ampel-neutral-tinte: #525a56;
    --stufe-0: #cfc8bd;
    --stufe-1: #c8433c;
    --stufe-2: #dd8435;
    --stufe-3: #d9b13b;
    --stufe-4: #4f9e59;
    --band: var(--loden);
    --auf-band: var(--auf-loden);
    --verein-flaeche: var(--verein-hell, #e4e9e4);
}

/* ---------- Grundlage ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
    font: var(--s-16)/1.45 "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
    background: var(--flaeche);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
ul { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.nur-vorlesen,
.nur-lesbar {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

/* ---------- Gerüst: Handy zuerst, Gitterbereiche Kopf / Randspalte / Haupt ---------- */
.app {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "kopf" "haupt";
    grid-template-rows: auto 1fr;
    min-height: 100vh;
    min-height: 100dvh;
    padding-bottom: calc(80px + 48px + 24px + env(safe-area-inset-bottom, 0px));
}
.kopf { grid-area: kopf; min-width: 0; }
.randspalte { grid-area: randspalte; display: none; }
.haupt { grid-area: haupt; min-width: 0; padding-bottom: 24px; }

/* ---------- Kopf nach Figma „Echt“ (32:1264): Band in der Hauptfarbe (nachts --band dunkel, Herbert 12.11.2026: „im Dunkelmodus darf es oben nicht hell sein“; Mond und „Aa“ beide ohne Kasten, Herbert 12.11.2026 gegen Figma), Wappen 30 und Vereinsname fett 16,
   darunter Suche (weiß, Rand --linie, Ecke 4), „Aa“ und Mond ohne Kasten, Kontokreis (weiß, 48). ---------- */
.kopf {
    display: flex;
    flex-direction: column;
    gap: var(--abstand-12);
    padding: var(--abstand-12) var(--abstand-16) var(--abstand-16);
    background: var(--band);
    color: var(--auf-band);
}
.kopf-verein { display: flex; align-items: center; gap: var(--abstand-12); min-height: 32px; color: inherit; text-decoration: none; }
.kopf-verein .wappen { width: 30px; height: 30px; filter: none; }
/* Hebt sich kein Wappen genug vom Band ab (Wappenwahl, Herbert 12.11.2026), steht das helle auf einem weißen Kreis wie in der Notenmappe. */
.kopf-verein .wappen-kreis { display: flex; flex: none; width: 30px; height: 30px; padding: 4px; box-sizing: border-box; border-radius: 50%; background: var(--weiss); }
.kopf-verein .wappen-kreis .wappen { width: 100%; height: 100%; }
.kopf-vereinsname { flex: 1; min-width: 0; font: 700 var(--f-16)/1.25 "Source Sans 3", system-ui, sans-serif; }
.kopf-zeile { display: flex; align-items: center; gap: var(--abstand-8); height: var(--hoehe-bedien); }
.kopf-bedienung { display: flex; flex: none; align-items: center; gap: var(--abstand-8); }
.wappen { width: 32px; height: 32px; flex: none; object-fit: contain; filter: var(--wappen-filter); }
.wappen-bild { display: flex; flex: none; }
/* Das zweite, vom Verein gewählte Bild für dunkel braucht keine Aufhellung. */
.wappen.wappen-eigen-dunkel, .wappen.wappen-zwei { filter: none; }
.suche {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    height: var(--hoehe-bedien);
    padding: 0 var(--abstand-12);
    box-sizing: border-box;
    border: 1px solid var(--linie);
    border-radius: var(--radius-feld);
    background: var(--flaeche);
    color: var(--tinte);
}
.suche:has(.suche-feld:focus-visible) { outline: 3px solid var(--akzent); outline-offset: 2px; }
.suche-form { flex: 1; min-width: 0; display: flex; align-items: center; gap: var(--abstand-8); height: 100%; }
.suche-lupe { width: 24px; height: 24px; flex: none; }
.suche-feld {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    outline: 0;
    background: none;
    font: var(--f-17) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
}
.suche-feld::placeholder { color: var(--leise); opacity: 1; }
.suche-feld::-webkit-search-cancel-button { display: none; }
.kopf .modus-knopf {
    width: var(--hoehe-bedien);
    height: var(--hoehe-bedien);
    gap: var(--abstand-8);
    border-radius: var(--radius-knopf);
    color: var(--auf-band);
}
.kopf .modus-knopf:hover { color: var(--auf-band); }
.kopf .modus-knopf .nav-zeichen { width: 24px; height: 24px; }
.kopf .schrift-knopf { font: 700 var(--f-17)/1 "Source Sans 3", system-ui, sans-serif; letter-spacing: 0; }
.modus-wort { display: none; }
.kopf .konto > summary { border-radius: 24px; }
.kopf .konto-kreis {
    width: var(--hoehe-bedien);
    height: var(--hoehe-bedien);
    border-radius: 24px;
    background: var(--flaeche);
    color: var(--tinte);
    font: 700 var(--f-17)/1 "Source Sans 3", system-ui, sans-serif;
    letter-spacing: 0;
}
.kopf .konto-zeichen, .kopf .konto-wort { display: none; }

/* Kontokreis; .konto-blatt nur noch in der Betreiber-Hülle (details ohne Skript), der Vereinskopf öffnet x-neu.menueblatt */
.konto { position: relative; flex: none; }
.konto > summary { list-style: none; cursor: pointer; border-radius: 50%; }
.konto > summary::-webkit-details-marker { display: none; }
.konto-kreis {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--loden);
    color: var(--auf-loden);
    font: 600 var(--s-12)/1 "Source Sans 3", system-ui, sans-serif;
    letter-spacing: 0.02em;
}
.konto-kreis::after { content: ""; position: absolute; inset: -5px; }
button.konto-kreis { padding: 0; border: 0; cursor: pointer; }
.konto-blatt {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    min-width: 232px;
    padding: 8px 0;
    border-radius: 16px;
    background: var(--flaeche);
    color: var(--tinte);
    box-shadow: var(--schatten-blatt);
}
.konto-name { display: block; padding: 10px 20px 8px; font-size: var(--s-14); color: var(--leise); }
.konto-blatt a,
.konto-blatt button {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 0;
    background: none;
    font: var(--s-16) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.konto-blatt a:hover,
.konto-blatt button:hover { background: var(--ton-flaeche-stark); }
.konto-punkt { width: 8px; height: 8px; border-radius: 50%; background: var(--messing); flex: none; }

/* ---------- Reiter: Wort, kurzer Strich; ab vier Reitern rollen sie ---------- */
.reiterleiste {
    display: flex;
    margin-top: 2px;
    border-bottom: 1px solid var(--ton-linie);
    overflow-x: auto;
    scrollbar-width: none;
}
.reiterleiste::-webkit-scrollbar { display: none; }
.reiter-feld {
    position: relative;
    flex: 1 0 auto;
    min-height: 42px;
    padding: 11px 14px 9px;
    text-align: center;
    font-size: var(--s-14);
    font-weight: 600;
    color: var(--leise);
    text-decoration: none;
    white-space: nowrap;
}
.reiter-feld.ist-aktiv,
.reiter-feld[aria-current="page"] { color: var(--tinte); }
.reiter-feld.ist-aktiv::after,
.reiter-feld[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 28px;
    height: 2px;
    margin-left: -14px;
    border-radius: 2px;
    background: var(--loden);
}

/* ---------- Schwebender Hauptknopf (Handy, Tablet) ---------- */
.hauptknopf {
    position: fixed;
    right: 16px;
    bottom: calc(64px + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 48px;
    padding: 0 18px 0 14px;
    border: 0;
    border-radius: 14px;
    background: var(--loden);
    color: var(--auf-loden);
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    text-decoration: none;
    box-shadow: var(--schatten);
    cursor: pointer;
}
.hauptknopf .nav-zeichen { width: 20px; height: 20px; }

/* ---------- Fußleiste nach Figma „Echt“ (32:1266): 80 hoch, Linie oben, Zeichen 24, Wort 13 halbfett,
   aktives Feld Tinte mit Messingstrich 40 × 2 am unteren Rand ---------- */
.fussleiste {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    height: calc(80px + env(safe-area-inset-bottom, 0px));
    padding: var(--abstand-8) 0 calc(var(--abstand-8) + env(safe-area-inset-bottom, 0px));
    box-sizing: border-box;
    background: var(--flaeche);
    border-top: 1px solid var(--linie);
}
.fussleiste-feld {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 7px 0 0;
    box-sizing: border-box;
    border: 0;
    background: none;
    font: 600 var(--f-13)/1.2 "Source Sans 3", system-ui, sans-serif;
    color: var(--leise);
    text-decoration: none;
    cursor: pointer;
}
.fussleiste-pille { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; }
.fussleiste-pille .nav-zeichen { width: 24px; height: 24px; }
.fussleiste-wort { max-width: 100%; overflow: hidden; hyphens: manual; text-align: center; }
/* Ab „groß“ (13.11.2026) teilen sich die Felder die Breite nach ihrem Wort statt zu gleichen Teilen: „Vereinsbuch“ braucht bei
   sehr großer Schrift rund 100 px, „Start“ und „Mehr“ geben ab. Bei normaler Schrift bleibt die Teilung aus Figma. */
html[data-schrift] .fussleiste-feld { flex: 1 1 auto; padding-left: 2px; padding-right: 2px; }
.fussleiste-feld.ist-aktiv,
.fussleiste-feld[aria-current="page"] { color: var(--tinte); }
.fussleiste-feld.ist-aktiv::after,
.fussleiste-feld[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 40px;
    height: 2px;
    transform: translateX(-50%);
    background: var(--messing);
}

/* ---------- Mehr-Blatt von unten (bedienung.js setzt ist-offen und hidden) ---------- */
.menue-blatt { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.menue-schleier {
    position: absolute;
    inset: 0;
    background: var(--schleier);
    opacity: 0;
    pointer-events: auto;
    transition: opacity var(--gleit-zu) var(--gleit-kurve-zu);
}
.menue-flaeche {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 82dvh;
    overflow-y: auto;
    padding: 8px 0 env(safe-area-inset-bottom, 0px);
    border-radius: 28px 28px 0 0;
    background: var(--flaeche);
    color: var(--tinte);
    box-shadow: var(--schatten-blatt);
    transform: translateY(100%);
    transition: transform var(--gleit-zu) var(--gleit-kurve-zu);
    pointer-events: auto;
    touch-action: pan-y;
}
.menue-blatt.ist-offen .menue-schleier { opacity: 1; transition: opacity var(--gleit-auf) var(--gleit-kurve); }
.menue-blatt.ist-offen .menue-flaeche { transform: translateY(0); transition: transform var(--gleit-auf) var(--gleit-kurve); }
.menue-griff {
    flex: none;
    width: 100%;
    height: 24px;
    padding: 10px 0;
    border: 0;
    background: none;
    cursor: grab;
}
.menue-griff::before {
    content: "";
    display: block;
    width: 32px;
    height: 4px;
    margin: 0 auto;
    border-radius: 2px;
    background: var(--linie);
}
.mehr-titel { padding: 4px 20px 8px; font-size: var(--s-20); font-weight: 600; }
.mehr-gruppe { margin: 6px 0 0; padding: 12px 20px 2px; border-top: 1px solid var(--haar); font-size: var(--s-13); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); }
.mehr-gruppe:first-of-type { border-top: 0; margin-top: 0; }
.mehr-feld {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    padding: 0 20px;
    font-size: var(--s-16);
    color: var(--tinte);
    text-decoration: none;
}
.mehr-feld .nav-zeichen { color: var(--leise); }
.mehr-feld:hover { background: var(--ton-flaeche); }
.mehr-feld.ist-aktiv,
.mehr-feld[aria-current="page"] { font-weight: 700; background: var(--ton-flaeche-stark); color: var(--ton-wort); }
.mehr-feld.ist-aktiv .nav-zeichen,
.mehr-feld[aria-current="page"] .nav-zeichen { color: var(--ton-wort); }
.mehr-fuss { margin-top: 8px; padding: 8px 0; border-top: 1px solid var(--haar); }
.mehr-fuss .fuss-marke { display: flex; align-items: center; gap: 8px; padding: 12px 20px 4px; font-size: var(--s-14); color: var(--leise); }
.mehr-abmelden { padding: 12px 20px 4px; }
.mehr-abmelden .pille { width: 100%; min-height: 48px; }
.mehr-links { display: flex; flex-wrap: wrap; gap: 0 24px; padding: 8px 20px 0; }
.mehr-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--s-16); color: var(--tinte); text-decoration: none; }
.fuss-stand { padding: 4px 20px 16px; font-size: var(--s-13); color: var(--leise); }

/* ---------- Bausteine für die Seiten: Abschnitt, Zeile, Kreise, Stand ---------- */
.titel-gross { padding: 12px 16px 0; font: 700 calc(24px * var(--schriftmass))/1.2 "Bitter Pro", serif; }
.hinweis-leise { padding: 4px 16px 0; font-size: var(--s-14); color: var(--leise); }
.nebensache { color: var(--leise); }
/* Abschnittswort auf einem Band in einem Hauch Vereinsfarbe (Feinjustierung 05.11.2026, Variante C); bei Nacht neutral. */
.abschnitt { margin-top: 12px; padding: 7px 16px; font-size: var(--s-13); font-weight: 700; letter-spacing: 0.01em; color: var(--ton-wort); background: var(--ton-flaeche); border-top: 1px solid var(--ton-linie); border-bottom: 1px solid var(--ton-linie); }
.titel-gross + .abschnitt, .hinweis-leise + .abschnitt, .meldung-leise + .abschnitt { margin-top: 14px; }
.zeilen { margin: 0; }

/* Meine Mappen (Entwurf M, 07.11.2026): jedes Buch eine farbige Fläche, Mappe hochkant mit Rückenkante, Marschbuch quer mit Spirale. Weiße Schrift, in Tag und Nacht gleich. */
.mappen-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 14px 16px 18px; align-items: start; list-style: none; }
.mappe-ton-ohne { --mappe: var(--mappe-ohne); }
.mappe-ton-verein { --mappe: var(--mappe-ohne); }
.mappe-ton-rot { --mappe: var(--mappe-rot); }
.mappe-ton-gruen { --mappe: var(--mappe-gruen); }
.mappe-ton-blau { --mappe: var(--mappe-blau); }
.mappe-ton-schwarz { --mappe: var(--mappe-schwarz); }
.mappe { position: relative; display: flex; flex-direction: column; justify-content: space-between; box-sizing: border-box; padding: 12px 14px 14px; color: var(--mappe-schrift); text-decoration: none; background: var(--mappe); }
.mappe-mappe { aspect-ratio: 280 / 335; border-radius: 4px 14px 14px 4px; box-shadow: inset 6px 0 0 var(--mappe-rueck); }
.mappe-buch { aspect-ratio: 180 / 140; border-radius: 12px; padding-left: 22px; }
.mappe-buch::before { content: ""; position: absolute; left: 7px; top: 14px; bottom: 14px; width: 4px; background: radial-gradient(circle, var(--mappe-punkt) 1.6px, transparent 2px) 0 0 / 4px 10px repeat-y; }
.mappe-kopf { display: flex; }
.mappe-wappen { display: flex; width: 34px; height: 34px; padding: 5px; box-sizing: border-box; border-radius: 50%; background: var(--mappe-schrift); }
.mappe-wappen .wappen { width: 100%; height: 100%; filter: none; }
.mappe-text { display: flex; flex-direction: column; gap: 2px; }
.mappe-text b { font: 700 calc(18px * var(--schriftmass))/1.2 "Source Sans 3", system-ui, sans-serif; overflow-wrap: anywhere; }
.mappe-stimmen { font-size: calc(15px * var(--schriftmass)); opacity: 0.92; }
.mappe-text small { font-size: calc(14px * var(--schriftmass)); opacity: 0.85; }
.mappe:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; }
/* Kleines Mappensymbol vor der Zeile (Startseite, unter 1120 px); die Farbe kommt aus .mappe-ton-*. */
.mappe-mini { flex: none; width: 30px; height: 36px; margin: 2px 8px 0 8px; background: var(--mappe); border-radius: 2px 6px 6px 2px; box-shadow: inset 4px 0 0 var(--mappe-rueck); }
.mappe-mini-buch { width: 38px; height: 30px; margin: 6px 4px 0 4px; border-radius: 5px; box-shadow: inset 3px 0 0 var(--mappe-rueck); }
.zeile {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 60px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ton-linie);
    color: inherit;
    text-decoration: none;
}
.zeile:hover { background: var(--ton-flaeche); }
/* Zeile, die ein Fenster öffnet (A8, Mein): dieselbe Zeile, nur ein Knopf. */
button.zeile {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--ton-linie);
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
button.zeile:hover { background: var(--ton-flaeche); }
.zeile-text { flex: 1; min-width: 0; }
.zeile-titel {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: var(--s-titel);
    font-weight: 600;
}
.zeile-titel b {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zeile-wann { flex: none; font-weight: 400; font-size: var(--s-13); color: var(--leise); }
.zeile-neben {
    display: block;
    margin-top: 2px;
    font-size: var(--s-14);
    color: var(--leise);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.zeile-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; font-size: var(--s-13); color: var(--leise); }
/* Stand-Chip (Herbert 05.11.2026, Vorschlag B2): das Standwort sitzt auf einer zarten Fläche in der Ampelfarbe, ohne Punkt;
   der Rest der Stand-Zeile bleibt Nebensache. Messing = Pflicht, Grün = erledigt/zugesagt, Rot = abgesagt, Gelb nur „Offen“. */
.stand-zu, .stand-ab, .stand-pflicht, .stand-offen {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    font-size: var(--s-12);
    font-weight: 600;
    line-height: 1.5;
    color: var(--ok);
    background: color-mix(in srgb, var(--ok) 10%, var(--flaeche));
}
.stand-ab { color: var(--gefahr); background: color-mix(in srgb, var(--gefahr) 10%, var(--flaeche)); }
.stand-pflicht { color: var(--messing); background: color-mix(in srgb, var(--messing) 10%, var(--flaeche)); }
.stand-offen { color: var(--tinte); background: color-mix(in srgb, var(--gelb) 18%, var(--flaeche)); }
/* Im Hellen tragen die Stand-Chips die errechnete Ampel (Herbert 09.11.2026); im Dunklen bleiben die Werte darüber. */
:root:not([data-dunkel="immer"]) .stand-zu { color: var(--ampel-gruen-tinte); background: var(--ampel-gruen-flaeche); }
:root:not([data-dunkel="immer"]) .stand-ab { color: var(--ampel-rot-tinte); background: var(--ampel-rot-flaeche); }
:root:not([data-dunkel="immer"]) .stand-pflicht { color: var(--ampel-orange-tinte); background: var(--ampel-orange-flaeche); }
:root:not([data-dunkel="immer"]) .stand-offen { color: var(--ampel-gelb-tinte); background: var(--ampel-gelb-flaeche); }
/* Hinweis unter dem Titel in „Das wartet auf dich“: Text, kein Chip; im Dunklen weiß. */
.zeile-hinweis { display: block; margin-top: 3px; font-size: var(--s-14); line-height: 1.4; color: var(--leise); }
:root[data-dunkel="immer"] .zeile-hinweis { color: var(--tinte); }
.punkt { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--messing); }

.kreis {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--ton-flaeche);
    color: var(--tinte);
    line-height: 1;
}
.kreis-tag b { font: 700 var(--s-16)/1 "Bitter Pro", serif; }
.kreis-tag small { margin-top: 1px; font-size: calc(11px * var(--schriftmass)); font-weight: 600; letter-spacing: 0.05em; color: var(--ton-wort); }
.kreis-tag.ist-heute { background: var(--loden); color: var(--auf-loden); }
/* Ab „groß“ (13.11.2026) wächst der Datumskreis mit seiner Zahl, sonst stoßen Tag und Monat aneinander. */
html[data-schrift] .kreis-tag { width: calc(40px * var(--schriftmass)); height: calc(40px * var(--schriftmass)); }
html[data-schrift] .kreis-tag.kreis-gross,
html[data-schrift] .tl .kreis-tag { width: calc(56px * var(--schriftmass)); height: calc(56px * var(--schriftmass)); }
/* Ab „groß“ bricht ein langes Wort im Zeilentitel, statt in die Uhrzeit daneben zu laufen. */
html[data-schrift] .zeile-titel b { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
/* Ab „groß“ zerlegt eine Tabellenzelle kein Wort in Buchstaben: Die Spalte nimmt das ganze Wort, die Tabelle rollt seitlich im Listenlauf. */
html[data-schrift] .liste :is(td, th),
html[data-schrift] :is(.vb-tisch, .vb-tabelle) .liste.tisch td { overflow-wrap: break-word; }
.kreis-tag.ist-heute small { color: inherit; }
/* Farbe hinter dem Zeichen und im Termin-Kreis (Herbert 09.11.2026, Vorschlag A2): zart, in der Nacht kräftiger.
   Rot = Rechtsrisiko oder abgesagt, Messing = Pflicht, Gelb = offen, Grün = in Ordnung oder zugesagt, Grau = nur eine Aktion. */
.ampel-rot { --a: var(--gefahr); }
.ampel-pflicht { --a: var(--messing); }
.ampel-offen { --a: var(--gelb); }
.ampel-gut { --a: var(--ok); }
/* Die Farben kommen aus den Tokens --ampel-<stufe>-flaeche und -tinte: im Hellen aus der Kopffarbe errechnet (Ampelfarben, Farbe::css), im Dunklen fest in der Nacht-Block. */
.kreis-ampel small { color: inherit; }
.kreis.kreis-ampel.ampel-rot, .zeile-zeichen.kreis-ampel.ampel-rot { background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.kreis.kreis-ampel.ampel-pflicht, .zeile-zeichen.kreis-ampel.ampel-pflicht { background: var(--ampel-orange-flaeche); color: var(--ampel-orange-tinte); }
.kreis.kreis-ampel.ampel-offen, .zeile-zeichen.kreis-ampel.ampel-offen { background: var(--ampel-gelb-flaeche); color: var(--ampel-gelb-tinte); }
.kreis.kreis-ampel.ampel-gut, .zeile-zeichen.kreis-ampel.ampel-gut { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.kreis.kreis-ampel.ampel-ruhig, .zeile-zeichen.kreis-ampel.ampel-ruhig { background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.zeile-zeichen.kreis-ampel { width: 44px; height: 44px; border-radius: 50%; }
.kreis-tag.ist-heute.kreis-ampel { box-shadow: inset 0 0 0 2px var(--loden); }
.antwort-wort { font-weight: 600; color: var(--tinte); }
.startseite .info-klapp { margin: 0; border-top: 0; border-bottom: 1px solid var(--ton-linie); }
.startseite .info-klapp > .klapp-kopf { padding: 0 16px; color: var(--ton-wort); }
.kreis-kuerzel { width: 40px; height: 40px; font: 700 var(--s-14) "Source Sans 3", system-ui, sans-serif; color: var(--loden); }
.kreis-kuerzel.ist-amt { background: var(--loden); color: var(--auf-loden); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 8px; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid var(--linie);
    border-radius: 8px;
    background: var(--flaeche);
    font-size: var(--s-13);
    font-weight: 600;
    color: var(--tinte);
    text-decoration: none;
}
.chip.ist-aktiv { border-color: var(--ton-flaeche-stark); background: var(--ton-flaeche-stark); }

/* Knopfarten: Pille gefüllt, Pille mit Rand, Textknopf */
.pille {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 21px;
    background: none;
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
    text-decoration: none;
    cursor: pointer;
}
.pille-voll { background: var(--loden); color: var(--auf-loden); }
.pille-rand { border: 1px solid var(--linie); }
.pille-gefahr { color: var(--gefahr); border-color: color-mix(in srgb, var(--gefahr) 55%, var(--flaeche)); }
.pille-text { padding: 0 16px; color: var(--loden); }

/* ---------- Zustände (A4, Gesamtplan 04.11.2026, 2.5) ---------- */
/* Leiste unten: „Gespeichert.“ mit Rückgängig und Fehler ohne Feld. Über der Fußleiste, Tag dunkel, Nacht hell. */
.leiste-unten {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(64px + 12px + env(safe-area-inset-bottom, 0px));
    z-index: 35;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(560px, calc(100% - 24px));
    min-height: 52px;
    margin: 0 auto;
    padding: 4px 8px 4px 20px;
    border-radius: 14px;
    background: var(--leiste);
    color: var(--auf-leiste);
    box-shadow: var(--schatten);
    font-size: var(--s-15);
    line-height: 1.3;
    opacity: 1;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.leiste-unten[hidden] { display: none; }
.leiste-unten.leiste-weg { opacity: 0; transform: translateY(8px); pointer-events: none; }
.leiste-satz { flex: 1 1 auto; min-width: 0; margin: 0; padding: 8px 0; overflow-wrap: anywhere; }
.leiste-form { flex: none; margin: 0; }
.leiste-knopf {
    flex: none;
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 22px;
    background: none;
    font: 700 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    color: var(--leiste-akzent);
    cursor: pointer;
}
.leiste-knopf:focus-visible { outline: 2px solid var(--leiste-akzent); outline-offset: 0; }

/* Hinweis: leise Zeile unter dem Reiter, kein Kasten */
.meldung-leise { margin: 0; }

/* Zeilenfeld: Beschriftung links (92 px, leise), Wert rechts, Haarlinie darunter */
.feld { padding: 0 16px; }
.feld-zeile {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    min-height: 54px;
    border-bottom: 1px solid var(--haar);
}
.feld-name { display: flex; align-items: center; gap: 8px; font-size: var(--s-15); color: var(--leise); }
.feld-wert {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: none;
    font: 400 var(--s-16) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
}
textarea.feld-wert { min-height: 88px; resize: vertical; }
/* Passwortfeld: Wert und Auge in einer Zeile; das Auge ist 44 px groß und trägt die Leisefarbe. */
.feld-passwort { display: flex; align-items: center; min-width: 0; }
.feld-passwort .feld-wert { flex: 1 1 auto; min-width: 0; }
.feld-auge {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-right: -10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--leise);
    cursor: pointer;
}
.feld-auge[aria-pressed="true"] { color: var(--loden); }
.feld-auge:focus-visible { outline: 2px solid var(--loden); outline-offset: -2px; }
.feld.ist-fehler .feld-auge { color: var(--leise); }
.feld-wert:focus { outline: none; }
.feld-zeile:focus-within { border-bottom: 2px solid var(--loden); margin-bottom: -1px; }
.feld-zeile:has(.feld-wert:focus-visible) { border-bottom-color: var(--loden); }
.feld.ist-fehler .feld-name { color: var(--gefahr); }
.feld.ist-fehler .feld-zeile,
.feld.ist-fehler .feld-zeile:focus-within { border-bottom: 2px solid var(--gefahr); margin-bottom: -1px; }
.feld-fehler { margin: 0; padding: 8px 0 2px; font-size: var(--s-15); color: var(--gefahr); }
.feldhinweis { margin: 0; padding: 6px 0 2px; font-size: var(--s-13); color: var(--leise); }

/* Leer: Satz, Erklärungssatz, ein gefüllter Pillenknopf, mittig */
.leer { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 56px 24px 40px; text-align: center; }
.leer .leer-satz { margin: 0; font: 600 var(--s-20)/1.3 "Bitter Pro", serif; color: var(--tinte); }
.leer .leer-erklaerung { margin: 0; max-width: 34ch; font-size: var(--s-16); color: var(--leise); }
.leer .pille { margin-top: 16px; }
/* Leer mit Hauptknopf (Figma 62:915 „Vereinsbuch · Kein Treffer“, Handy 390): linksbündig, Zeilenhöhe wie im Rahmen.
   Suchzeile 15/21 leise, Lupe 24 bei 35 darunter, Satz 19/27 fett bei 20, Erklärung 17/24 leise bei 46, Knopf 48 voll breit bei 76. */
.leer.leer-haupt { align-items: stretch; gap: 0; padding: 0; text-align: left; }
.leer-haupt .leer-vorsatz { margin: 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); overflow-wrap: anywhere; }
.leer-haupt .leer-zeichen { align-self: flex-start; width: 24px; height: 24px; margin-top: 35px; color: var(--tinte); }
.leer.leer-haupt .leer-satz { margin: 20px 0 0; padding: 0; font: 700 var(--f-19)/calc(27px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--tinte); overflow-wrap: anywhere; }
.leer.leer-haupt .leer-erklaerung { max-width: none; margin: 46px 0 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--leise); }
.leer-haupt .leer-knopf {
    width: 100%;
    min-height: var(--hoehe-bedien);
    margin-top: 76px;
    padding: 0 var(--abstand-12);
    border: 0;
    border-radius: var(--radius-feld);
    background: var(--loden);
    color: var(--auf-loden);
    font: 700 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif;
}

@media (min-width: 1120px) {
    .leiste-unten { left: 264px; right: auto; bottom: 24px; margin: 0; width: min(520px, calc(100% - 296px)); }
}
/* ---------- Startseite (A3): Begrüßung, nächster Termin, Zeilen mit Zeichen und Pfeil ---------- */
.gross { display: flex; align-items: flex-start; gap: 14px; padding: 4px 16px 16px; border-bottom: 1px solid var(--haar); }
.kreis-gross { width: 56px; height: 56px; }
.kreis-gross b { font-size: var(--s-22); }
.gross-kopf { display: block; color: inherit; text-decoration: none; }
.gross-kopf:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; border-radius: 6px; }
.gross .zeile-titel b { font-size: var(--s-18); white-space: normal; overflow: visible; }
.antwort { display: flex; gap: 10px; margin-top: 12px; }
.antwort .pille { flex: 1 1 0; min-width: 0; padding: 0 12px; }
.zeile-zeichen { display: flex; flex: none; align-items: center; justify-content: center; width: 46px; height: 24px; color: var(--tinte); }
.zeile-zeichen .nav-zeichen { width: 24px; height: 24px; }
.zeile-pfeil { width: 20px; height: 20px; align-self: center; color: var(--leise); }
.mehr-link { display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-bottom: 1px solid var(--haar); font-weight: 600; color: var(--loden); text-decoration: none; }
.mehr-link:hover { background: color-mix(in srgb, var(--zweit) 40%, var(--flaeche)); }
.startseite { max-width: 720px; }
.leer-satz { padding: 28px 16px 0; font: 700 var(--s-20)/1.3 "Bitter Pro", serif; }

/* ---------- Hinweis „App installieren“ ---------- */
.installhinweis {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 16px;
    padding: 12px 16px;
    border-radius: 16px;
    background: var(--zweit);
}
.installhinweis-wappen { flex: none; width: 38px; height: 38px; border-radius: 8px; object-fit: contain; }
.installhinweis-text { flex: 1 1 12rem; min-width: 0; }
.installhinweis-titel { font-weight: 700; }
.installhinweis-satz { margin-top: 2px; font-size: var(--s-14); color: var(--leise); }
.installhinweis-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 100%; }
.installhinweis-knoepfe > * {
    flex: 1 1 8rem;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid var(--linie);
    border-radius: 22px;
    background: none;
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
    cursor: pointer;
}
.installhinweis-knoepfe > #installhinweis-los { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }

/* ---------- Vereinsbuch (A5): Liste, Person-Seite, Schreibtisch-Tabelle ---------- */
.chips-reihe { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips-reihe::-webkit-scrollbar { display: none; }
.chips-reihe .chip { flex: none; }
.chip-amt { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.vb-tisch { display: none; }
.leerhinweis { padding: 32px 16px; text-align: center; color: var(--leise); }

.person-leiste { display: flex; align-items: center; gap: 4px; min-height: 56px; padding: 4px 8px 0 4px; }
.person-leiste-wort { flex: 1; font-size: var(--s-15); font-weight: 600; color: var(--leise); }
.person-leiste-knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--tinte);
    text-decoration: none;
    cursor: pointer;
}
.person-leiste-knopf:hover { background: var(--zweit); }
.person-leiste-knopf .nav-zeichen { width: 24px; height: 24px; }
.person-meta { padding: 4px 16px 0; font-size: var(--s-15); color: var(--leise); }
.person-stand { display: flex; align-items: flex-start; gap: 8px; margin: 4px 16px 0; font-size: var(--s-14); color: var(--leise); }
.person-stand .punkt { margin-top: 7px; }

.klappen { margin-top: 12px; }
.info-klapp { margin: 0 16px; border-top: 1px solid var(--haar); }
.klappen .info-klapp:last-child { border-bottom: 1px solid var(--haar); }
.klapp-kopf {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    font-size: var(--s-16);
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}
.klapp-kopf::-webkit-details-marker { display: none; }
.klapp-kopf::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin: 0 4px 3px 12px;
    border-right: 2px solid var(--leise);
    border-bottom: 2px solid var(--leise);
    transform: rotate(45deg);
    transition: transform 0.15s;
}
.info-klapp[open] > .klapp-kopf::after { margin-bottom: -3px; transform: rotate(-135deg); }
.angaben { margin: 0; padding: 0 0 10px; }
.angabe { display: flex; gap: 12px; padding: 7px 0; font-size: var(--s-16); }
.angabe dt { flex: 0 0 108px; font-size: var(--s-14); line-height: calc(22px * var(--schriftmass)); color: var(--leise); }
.angabe dd { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.klapp-leer { padding: 0 0 14px; font-size: var(--s-14); color: var(--leise); }
/* Klappe mit Stand: unter dem Namen steht, was darin gewählt ist */
.klapp-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; padding: 8px 0; }
.klapp-stand { font-size: var(--s-14); font-weight: 400; color: var(--leise); overflow-wrap: anywhere; }
/* Im Fenster bündig mit dem Fließtext: Abschnittswort und Zeilen ohne den Seitenrand, Klappen des Formulars ebenso */
.abschnitt-wort.im-fenster { margin-left: 0; margin-right: 0; }
ul.zeilen.im-fenster { margin: 0; }
ul.zeilen.im-fenster .zeile { padding-left: 0; padding-right: 0; }
.formular > .info-klapp { margin-left: 0; margin-right: 0; }

.name-feld { display: inline-flex; align-items: center; gap: 12px; }
.name-feld .kreis-kuerzel { width: 36px; height: 36px; font-size: var(--s-13); }
.name-feld .zeilentitel { font-weight: 600; text-decoration: none; border-bottom: 0; }

/* ---------- Tablet 700 bis 1119: Inhalt höchstens 640 breit, mittig; das Kopfband bleibt über die volle Breite ---------- */
@media (min-width: 700px) {
    .reiterleiste, .haupt { width: 100%; max-width: 640px; justify-self: center; }
    .kopf { padding-left: max(var(--abstand-16), calc(50% - 320px)); padding-right: max(var(--abstand-16), calc(50% - 320px)); }
    .hauptknopf { right: max(16px, calc(50% - 320px)); }
}

/* ---------- Schreibtisch ab 1120 nach Figma „Echt“ (32:1263): Randspalte 240 in der Hauptfarbe, obere Zeile weiß
   (Vereinsname leise 17, Suche, „Nacht“ 104, „Aa“ 64, „Mein Konto“ 156), Inhalt 40 Rand, 32 oben. Keine Fußleiste. ---------- */
@media (min-width: 1120px) {
    .app {
        grid-template-columns: 240px minmax(0, 1fr);
        grid-template-areas: "randspalte kopf" "randspalte haupt";
        padding-bottom: 0;
    }
    .reiterleiste, .haupt { max-width: none; justify-self: stretch; }
    .kopf {
        gap: var(--abstand-12);
        padding: var(--abstand-16) var(--abstand-40);
        background: var(--flaeche);
        color: var(--tinte);
    }
    .kopf-verein { min-height: 0; pointer-events: none; }
    .kopf-verein .wappen, .kopf-verein .wappen-kreis { display: none; }
    .kopf-vereinsname { font: 400 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--leise); }
    .kopf-zeile { gap: var(--abstand-24); }
    .kopf-bedienung { gap: var(--abstand-16); }
    .kopf .modus-knopf,
    .kopf .konto-kreis {
        width: auto;
        padding: 0 var(--abstand-12);
        box-sizing: border-box;
        border: 1px solid var(--linie);
        border-radius: var(--radius-knopf);
        background: var(--flaeche);
        color: var(--tinte);
        font: 700 var(--f-17)/1 "Source Sans 3", system-ui, sans-serif;
    }
    .kopf .modus-knopf:hover { color: var(--tinte); }
    .kopf .modus-knopf:not(.schrift-knopf) { min-width: 104px; border-color: var(--linie); border-radius: var(--radius-feld); }
    .kopf .schrift-knopf { min-width: 64px; }
    .kopf .konto-kreis { display: flex; gap: var(--abstand-8); min-width: 156px; }
    .kopf .konto > summary { border-radius: var(--radius-knopf); }
    .kopf-bedienung > .modus:not(:has(.schrift-knopf)) { order: -1; }
    .modus-wort { display: inline; }
    .kopf .konto-kuerzel { display: none; }
    .kopf .konto-zeichen { display: block; width: 20px; height: 20px; }
    .kopf .konto-wort { display: inline; }
    .haupt { padding: var(--abstand-32) var(--abstand-40) var(--abstand-40); }
    .haupt .titel-gross, .haupt .hinweis-leise, .haupt .chips, .haupt .mappe-filter { padding-left: 0; padding-right: 0; }
    .haupt .abschnitt { padding-left: 12px; padding-right: 12px; border: 0; border-radius: 8px; }
    .haupt .zeile { padding-left: 12px; padding-right: 12px; }
    .startseite .gross { padding-left: 0; padding-right: 0; }
    .startseite .mehr-link { padding-left: 12px; padding-right: 12px; }
    .fussleiste, .hauptknopf { display: none; }
    .randspalte {
        position: sticky;
        top: 0;
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        overflow-y: auto;
        padding: 28px var(--abstand-16) 43px;
        box-sizing: border-box;
        background: var(--band);
        color: var(--auf-band);
        border-right: 1px solid var(--haar);
    }
    .randspalte-marke { display: flex; align-items: center; gap: var(--abstand-12); min-height: 32px; padding: 0 var(--abstand-8); color: inherit; text-decoration: none; }
    .randspalte-zeichen { width: 30px; height: 30px; flex: none; object-fit: contain; }
    .randspalte-produkt { font: 700 var(--f-22)/calc(26px * var(--schriftmass)) "Bitter Pro", serif; }
    .randspalte-verein { display: flex; flex-direction: column; gap: var(--abstand-4); margin: var(--abstand-40) 0 0; padding: 0 var(--abstand-8); }
    .randspalte-verein-art { font: 400 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; }
    .randspalte-verein-name { font: 700 var(--f-22)/calc(31px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; }
    .randspalte-faden { display: block; height: 1px; margin: var(--abstand-20) var(--abstand-8) 29px; background: var(--messing); }
    .randspalte-feld {
        display: flex;
        align-items: center;
        gap: var(--abstand-12);
        flex: none;
        height: 52px;
        margin-bottom: var(--abstand-8);
        padding: 0 var(--abstand-12);
        border-radius: var(--radius-knopf);
        font: 400 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif;
        color: var(--auf-band);
        text-decoration: none;
        list-style: none;
        cursor: pointer;
    }
    .randspalte-feld::-webkit-details-marker { display: none; }
    .randspalte-feld .nav-zeichen { width: 24px; height: 24px; flex: none; }
    .randspalte-feld:hover { background: color-mix(in srgb, var(--auf-band) 12%, transparent); }
    .randspalte-feld.ist-aktiv,
    .randspalte-feld[aria-current="page"] { background: var(--flaeche); color: var(--tinte); font-weight: 700; }
    .randspalte-weitere[open] > summary { font-weight: 700; }
    .randspalte-knopf {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--abstand-8);
        height: var(--hoehe-bedien);
        margin: var(--abstand-8) 0 var(--abstand-16);
        border: 0;
        border-radius: var(--radius-knopf);
        background: var(--flaeche);
        color: var(--tinte);
        font: 700 var(--f-17) "Source Sans 3", system-ui, sans-serif;
        text-decoration: none;
        cursor: pointer;
    }
    .randspalte-fuss { display: flex; flex-direction: column; gap: 36px; margin-top: auto; padding: var(--abstand-24) var(--abstand-8) 0; }
    .randspalte-hilfe { font: 400 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--auf-band); text-decoration: none; }
    .randspalte-recht { margin: 0; font: 400 var(--f-15)/calc(21px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; }
    .randspalte-recht a { color: var(--auf-band); text-decoration: none; }
    .randspalte a:focus-visible, .randspalte summary:focus-visible { outline: 3px solid var(--auf-band); outline-offset: 2px; }
    .menue-blatt { display: none !important; }
}

/* Vereinsbuch am Schreibtisch: Tabelle mit Haarlinien statt Zeilenliste (Bild 7) */
@media (min-width: 1120px) {
    .vb-mobil, .chips-reihe.nur-mobil { display: none; }
    .vb-tisch { display: block; }
    .haupt .info-klapp { margin: 0; }
    .vb-tisch .vereinsbuch-suche { padding: 8px 0 12px; }
    .vb-tisch .vereinsbuch-suche label:not(.nur-lesbar) { display: block; margin-bottom: 4px; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
    .vb-tisch .vereinsbuch-suche-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    .vb-tisch input[type="search"], .vb-tisch select {
        min-height: 40px;
        padding: 0 12px;
        border: 1px solid var(--linie);
        border-radius: 8px;
        background: var(--flaeche);
        color: var(--tinte);
        font: var(--s-16) "Source Sans 3", system-ui, sans-serif;
    }
    :is(.vb-tisch, .vb-tabelle) .listenlauf { overflow-x: auto; }
    :is(.vb-tisch, .vb-tabelle) table.liste { width: 100%; border-collapse: collapse; }
    :is(.vb-tisch, .vb-tabelle) .liste th {
        padding: 10px 12px;
        border-bottom: 1px solid var(--haar);
        text-align: left;
        font-size: var(--s-13);
        font-weight: 600;
        white-space: nowrap;
        color: var(--leise);
    }
    :is(.vb-tisch, .vb-tabelle) .liste th a { color: inherit; text-decoration: none; border-bottom: 0; }
    :is(.vb-tisch, .vb-tabelle) .liste td { padding: 8px 12px; border-bottom: 1px solid var(--haar); vertical-align: middle; }
    :is(.vb-tisch, .vb-tabelle) .liste tbody tr:hover { background: color-mix(in srgb, var(--zweit) 40%, var(--flaeche)); }
    :is(.vb-tisch, .vb-tabelle) .liste td:last-child { white-space: nowrap; text-align: right; }
    :is(.vb-tisch, .vb-tabelle) .zellenknopf { border: 0; background: transparent; color: inherit; font: inherit; text-align: left; cursor: pointer; }
    /* Tabelle einer Liste mit Spaltenwahl: die letzte Spalte ist eine Datenspalte, keine Handlung. */
    :is(.vb-tisch, .vb-tabelle) .liste.tisch td:last-child { white-space: normal; text-align: left; }
    :is(.vb-tisch, .vb-tabelle) .liste.tisch td { max-width: 28rem; overflow-wrap: anywhere; color: var(--tinte); }
    :is(.vb-tisch, .vb-tabelle) .liste.tisch td[data-spalte="titel"] { white-space: nowrap; max-width: none; }
    :is(.vb-tisch, .vb-tabelle) .tisch-titel { display: inline-flex; align-items: center; gap: 12px; padding: 0; color: var(--tinte); font-size: var(--s-16); font-weight: 600; text-decoration: none; border-bottom: 0; }
    :is(.vb-tisch, .vb-tabelle) .tisch-titel .kreis { flex: none; }
    :is(.vb-tisch, .vb-tabelle) a.tisch-titel:hover { text-decoration: none; }
}

/* ---------- Ruhe, wenn die Person es wünscht ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* ---------- A2 Termine: Knopfarten der alten Bausteine in der neuen Form ---------- */
/* x-knopf und x-handlung behalten ihr Markup (knopf-haupt, knopf-still, zeichenknopf, handlung); hier bekommen sie das Maß der Pillen. */
.knopf-haupt,
.knopf-still {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 21px;
    background: var(--loden);
    color: var(--auf-loden);
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.knopf-still { border: 1px solid var(--linie); background: none; color: var(--tinte); }
.knopf-still.knopf-text,
.knopf-text {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: none;
    color: var(--loden);
    justify-content: flex-start;
}
.knopf-still.knopf-gefahr-text {
    min-height: 44px;
    padding: 0 12px;
    border: 0;
    background: none;
    color: var(--gefahr);
    justify-content: flex-start;
}
.zeichenknopf,
.handlung {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--tinte);
    text-decoration: none;
    cursor: pointer;
}
.zeichenknopf:hover,
.handlung:hover { background: var(--zweit); }
.handlung-bild { width: 24px; height: 24px; }

/* ---------- A2 Termine: Detailleiste, Titelblock, Antwort, Zahlenzeile (Gesamtplan 2.3, Bild GX-2) ---------- */
.detailleiste { display: flex; align-items: center; gap: 4px; min-height: 56px; padding: 6px 8px 0 6px; }
.leiste-zurueck {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--tinte);
    text-decoration: none;
}
.leiste-zurueck:hover { background: var(--zweit); }
.leiste-wort { flex: 1; min-width: 0; font-size: var(--s-17); font-weight: 600; }
.leiste-aktionen { display: flex; flex: none; align-items: center; }
.detail-wann { padding: 10px 16px 0; font-size: var(--s-16); }
.detail-wann b { font-weight: 700; }
.detail-neben { padding: 2px 16px 0; font-size: var(--s-16); color: var(--leise); }
/* Stand der Sitzung als Text (Variante D, Herbert 08.11.2026): kein Chip, kein Knopf-Aussehen. */
.stand-kopf { margin: 0; padding: 16px 16px 0; font-size: var(--s-16); }
.stand-kopf-wort { display: block; margin-bottom: 2px; font-size: var(--s-13); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.stand-kopf b { font-weight: 700; }
.stand-kopf small { display: block; margin-top: 4px; font-size: var(--s-14); line-height: 1.45; color: var(--leise); }
.detail-absage { padding: 10px 16px 0; font-size: var(--s-16); }
.detail-text { max-width: 66ch; padding: 6px 16px 0; font-size: var(--s-16); line-height: 1.55; }
.chips .chip { cursor: default; }
.termin-antwort { display: flex; gap: 10px; padding: 12px 16px 4px; }
.termin-antwort .knopf-haupt,
.termin-antwort .knopf-still { flex: 1; min-height: 44px; border-radius: 22px; }
.termin-antwort .ist-gewaehlt::before { content: "\2713"; font-weight: 700; }
.termin-antwort .knopf-still.ist-gewaehlt {
    border-color: var(--gefahr);
    background: color-mix(in srgb, var(--gefahr) 8%, var(--flaeche));
    color: var(--gefahr);
}
.antwort-bemerkung { padding-top: 8px; }
.aktion { padding: 2px 4px 0; }
.zahlen {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 20px;
    margin-top: 12px;
    padding: 16px 16px 14px;
    border-bottom: 1px solid var(--haar);
    font-size: var(--s-16);
}
.zahlen b { margin-right: 4px; font-weight: 700; }
.zeile-fest { align-items: center; }
.zeile-fest:hover { background: none; }
.zeile-fest .zeile-neben { white-space: normal; }
.zeile-fest .termin-balken { flex: none; width: 88px; }
.zeile-name { flex-direction: column; align-items: stretch; gap: 0; min-height: 52px; padding-top: 8px; padding-bottom: 8px; }
.zeile-name .zeile-neben { white-space: normal; }
.zeile-titel.ist-offen-frage b { font-weight: 700; }
.zeile-titel b { font-weight: 600; }
.zeile-km { width: 16px; height: 16px; margin-left: 4px; }
.detail-form { padding: 8px 16px 0; }
.gefahr-zeilen {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 4px 8px;
    border-top: 1px solid var(--haar);
}
p[data-b="hinweis"] { margin-top: 10px; font-size: var(--s-14); color: var(--leise); }
.mehr-laden { padding: 12px 16px 4px; text-align: center; }
/* Die Leiste „Gespeichert“ steht im Fenster im Fluss statt am Bildschirmrand */
.fenster .leiste-unten { position: static; width: auto; margin: 12px 0 0; }

/* Rückmeldungsbalken: Wort und Zahl stehen daneben, die Farbe ist nie allein */
.termin-ampel { display: flex; height: 8px; overflow: hidden; border-radius: 4px; background: var(--haar); }
.termin-ampel span { display: block; height: 100%; font-size: 0; }
.termin-ampel .zu { background: var(--ok); }
.termin-ampel .auf { background: var(--gelb); }
.termin-ampel .ab { background: var(--gefahr); }
.termin-ampel .zu-leise { background: color-mix(in srgb, var(--ok) 45%, var(--flaeche)); }
.termin-ampel .ab-leise { background: color-mix(in srgb, var(--gefahr) 45%, var(--flaeche)); }
.termin-ampel-wort { font-size: var(--s-13); color: var(--leise); }

/* ---------- A2 Termine: Fenster als Blatt von unten (Gesamtplan 2.4, Bild GX-3 und GX-10) ---------- */
/* Handy: Blatt am unteren Rand mit Griff. Ab 700: Fenster in der Mitte, 560 breit, Radius 28. */
.fenster {
    max-width: none;
    padding: 0;
    border: 0;
    background: var(--flaeche);
    color: var(--tinte);
}
.fenster[open] {
    position: fixed;
    z-index: 50;
    inset: auto 0 0 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 92dvh;
    margin: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px); /* mit viewport-fit=cover: Knopfzeile nicht unter die Wischleiste */
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    box-shadow: var(--schatten-blatt);
}
.fenster::backdrop { background: var(--schleier); }
/* Das Blatt gleitet herein und hinaus, wie in Apps (Herbert, 05.11.2026). bedienung.js setzt .ist-da einen Takt nach dem Öffnen
   und nimmt es zum Schließen wieder weg; .ist-zug gilt, solange der Finger das Blatt hält. „Bewegung reduzieren“ hebt es unten auf. */
.fenster[open] { transform: translateY(100%); transition: transform var(--gleit-zu) var(--gleit-kurve-zu); }
.fenster[open].ist-da { transform: none; transition: transform var(--gleit-auf) var(--gleit-kurve); }
.fenster[open].ist-zug { transition: none; }
.fenster[open]::backdrop { opacity: 0; transition: opacity var(--gleit-zu) var(--gleit-kurve-zu); }
.fenster[open].ist-da::backdrop { opacity: 1; transition: opacity var(--gleit-auf) var(--gleit-kurve); }
.fenster[open].ist-zug::backdrop { transition: none; }
.fenster[open]::before {
    content: "";
    flex: none;
    width: 44px;
    height: 5px;
    margin: 10px auto 0;
    border-radius: 3px;
    background: var(--linie);
}
.fenster-koerper { flex: 1 1 auto; min-height: 0; padding: 0 20px 28px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; overflow-wrap: break-word; }
.fenster-kreuz {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--leise);
    font-size: calc(28px * var(--schriftmass));
    line-height: 1;
    cursor: pointer;
}
.fenster-kreuz:hover { background: var(--zweit); }
.fenster-titelzeile { display: flex; align-items: center; gap: 8px; padding: 12px 44px 6px 0; }
.fenster-titelzeile h2 { flex: 1; min-width: 0; font: 600 var(--s-20)/1.25 "Source Sans 3", system-ui, sans-serif; }
.fenster form { min-width: 0; }
/* Felder als Zeilen: Beschriftung leise darüber, Wert darunter, Haarlinie */
.fenster label[data-b="feld"] { display: block; margin-top: 14px; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.fenster label[data-b="feld"]:has(input[type="checkbox"]) {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    margin: 0;
    border-bottom: 1px solid var(--haar);
    font-size: var(--s-16);
    font-weight: 400;
    color: var(--tinte);
}
.fenster input[data-b="feld"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.fenster select[data-b="auswahl"],
.fenster textarea[data-b="feld"] {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 6px 0;
    border: 0;
    border-bottom: 1px solid var(--haar);
    border-radius: 0;
    background: none;
    color: var(--tinte);
    font: 400 var(--s-16)/1.4 "Source Sans 3", system-ui, sans-serif;
}
.fenster textarea[data-b="feld"] { min-height: 96px; resize: vertical; }
.fenster label[data-b="auswahl"] { display: block; margin-top: 14px; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.fenster input[type="checkbox"] { width: 22px; height: 22px; accent-color: var(--loden); }
/* Auswahl als Chips (x-wahlfeld) */
.wahlfeld { margin-top: 10px; }
.wahlfeld-titel { font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.wahlfeld-reihe { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 0 4px; }
.wahlfeld-leer { padding-top: 4px; font-size: var(--s-14); color: var(--leise); }
.wahlfeld-punkt { position: relative; display: inline-flex; }
.wahlfeld-punkt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wahlfeld-punkt span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--linie);
    border-radius: 20px;
    font-size: var(--s-15);
    font-weight: 600;
}
.wahlfeld-punkt input:checked + span { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.wahlfeld-punkt input:checked + span::before { content: "\2713"; margin-right: 6px; font-weight: 700; }
.wahlfeld-punkt input:focus-visible + span { outline: 3px solid var(--akzent); outline-offset: 2px; }
.haken { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--haar); }
/* Reiter im Fenster: Pillen zum Wischen */
.fenster .reiterleiste {
    display: flex;
    gap: 8px;
    margin: 0 -20px;
    padding: 4px 20px 12px;
    border-bottom: 1px solid var(--haar);
    overflow-x: auto;
    scrollbar-width: none;
}
.fenster .reiter {
    flex: none;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid var(--linie);
    border-radius: 20px;
    background: none;
    color: var(--tinte);
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    cursor: pointer;
}
.fenster .reiter.ist-an { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.reiterblatt { display: none; padding-top: 4px; }
.reiterblatt.ist-an { display: block; }
.fenster .knopf-haupt { display: flex; margin: 20px 0 0 auto; }
/* Im Fenster lesen auch ältere Augen (Herbert 06.11.2026): Wahlfeld-Titel und Chips eine Stufe größer, Pflichtpunkt vor dem Titel */
.fenster .wahlfeld-titel { display: flex; align-items: center; gap: 8px; font-size: var(--s-15); }
.fenster .wahlfeld-punkt span { min-height: 44px; font-size: var(--s-16); }
.fenster .haken { min-height: 52px; font-size: var(--s-16); }
.fenster .haken input { width: 24px; height: 24px; margin: 0; accent-color: var(--loden); }
/* Abschnitt im Fenster: Wort und Haarlinie (x-fenster-teil) */
.fenster-teil { margin: 20px 0 0; padding-bottom: 6px; border-bottom: 1px solid var(--linie); font: 600 var(--s-17)/1.3 "Source Sans 3", system-ui, sans-serif; color: var(--tinte); }
.fenster-teil small { display: block; font-size: var(--s-14); font-weight: 400; color: var(--leise); }
/* Schritte (x-schritte, x-schritt): ein Blatt nach dem anderen, oben die Zeile „Schritt 1 von 2“ mit Balken */
.schritt { display: none; }
.schritt.ist-an { display: block; }
.schritt-kopf { display: flex; align-items: center; gap: 8px; margin: 4px 0 0; font-size: var(--s-15); color: var(--leise); }
.schritt-kopf b { color: var(--tinte); }
.schritt-balken { display: flex; flex: 1; gap: 6px; min-width: 64px; }
.schritt-balken i { display: block; flex: 1; height: 4px; border-radius: 2px; background: var(--haar); }
.schritt-balken i.ist-an { background: var(--loden); }
.schritt-fuss { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 20px; }
.schritt-fuss .knopf-haupt { margin: 0 0 0 auto; }
.schritt-fuss .knopf-still { margin: 0; }
.fenster .knopf-still { margin-top: 12px; }
.fenster .formular-fuss { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fenster .schreibhinweis { font-size: var(--s-13); }
.fenster .formular-spalte { display: flex; flex-direction: column; }
.fenster .ordnung-1 { order: 1; }
.fenster .ordnung-2 { order: 2; }
.fenster .ordnung-3 { order: 3; }
.fenster .vorschau-band { background: var(--verein); color: var(--weiss); }
.fenster .vorschau-hover { background: var(--verein-hover); color: var(--weiss); }
.fenster .vorschau-hell { background: var(--verein-hell); color: var(--tinte); }
@media (min-width: 700px) {
    .fenster[open] {
        inset: 0;
        width: min(560px, calc(100vw - 32px));
        max-height: min(86dvh, 820px);
        margin: auto;
        border-radius: 28px;
        box-shadow: var(--schatten);
    }
    .fenster-breit[open] { width: min(640px, calc(100vw - 32px)); }
    .fenster[open]::before { display: none; }
    .fenster-koerper { padding-top: 12px; }
    /* Am Schreibtisch kommt das Fenster aus der Mitte: ein kurzes Heben statt des Blatts von unten. */
    .fenster[open] { transform: translateY(24px); opacity: 0; transition: transform var(--gleit-zu) var(--gleit-kurve-zu), opacity var(--gleit-zu) var(--gleit-kurve-zu); }
    .fenster[open].ist-da { transform: none; opacity: 1; transition: transform var(--gleit-auf) var(--gleit-kurve), opacity var(--gleit-auf) var(--gleit-kurve); }
}
@media (min-width: 1120px) {
    .haupt .detailleiste { padding-left: 0; }
    .haupt .detail-wann, .haupt .detail-neben, .haupt .detail-text, .haupt .detail-absage,
    .haupt .zahlen, .haupt .termin-antwort, .haupt .klapp-kopf, .haupt .leer, .haupt .detail-form { padding-left: 0; padding-right: 0; }
    .haupt .termin-antwort { max-width: 520px; }
    .haupt .zeilen-register, .haupt .info-klapp, .haupt .zahlen, .haupt .gefahr-zeilen { max-width: 720px; }
    .haupt .zeile-fest { padding-left: 12px; padding-right: 12px; }
}

/* ---------- A7 Kassa, Aufgaben, Sitzungen: Betrag rechts, Zeile mit Handlungen, T-Konto (Gesamtplan 3, Bild GX-5) ---------- */
.zeile-block { border-bottom: 1px solid var(--haar); }
.zeile-block > .zeile { border-bottom: 0; }
.zeile-aktionen { display: flex; flex-wrap: wrap; gap: 0 4px; padding: 0 16px 8px 76px; }
.zeile-aktionen form { margin: 0; }
.kreis-zeichen { color: var(--tinte); }
.kreis-zeichen .nav-zeichen { width: 24px; height: 24px; }
.kreis-zeichen.ist-ein { color: var(--ok); }
.betrag { flex: none; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.betrag-ein { color: var(--ok); }
.betrag-aus { color: var(--gefahr); }
/* Aufgaben: der Betreff bricht um, die Frist bleibt rechts stehen */
.zeilen-lang .zeile-titel { align-items: flex-start; }
.zeilen-lang .zeile-titel b { overflow: visible; white-space: normal; text-overflow: clip; }
.zeilen-lang .zeile-titel .betrag { flex: none; font-weight: 400; font-size: var(--s-14); color: var(--leise); }
/* Besetzung einer Sitzung: Namenlisten stehen in der Nebenzeile und brechen um, statt mit Auslassungspunkten zu enden. */
.zeilen-besetzung .zeile-neben { display: block; white-space: normal; overflow: visible; text-overflow: clip; -webkit-line-clamp: unset; }
/* Sitzungsseite am Desktop: Besetzung und Tagesordnung teilen sich eine Regel. Gleiche Breite (720), Textkante bündig mit Titel und Abschnittswort, keine eigene Einrückung der Zeilen. */
@media (min-width: 700px) {
    .haupt:has(> .detail-wann) :is(.zeilen, .zeile-block, .abschnitt-wort) { max-width: 720px; }
    .haupt:has(> .detail-wann) .abschnitt-wort { margin-left: 0; margin-right: 0; }
    .haupt:has(> .detail-wann) .zeile { padding-left: 0; padding-right: 0; }
    .haupt:has(> .detail-wann) .punkt-inhalt { padding-left: 52px; padding-right: 0; }
}
.aktionen-reihe { display: flex; flex-wrap: wrap; gap: 0 4px; padding: 8px 12px 0; }
.aktionen-reihe form { margin: 0; }
.stand-leise { color: var(--leise); }
.angaben-block { padding: 4px 16px 0; }
.tkonto { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-top: 2px solid var(--ton-wort); }
.tkonto > section { min-width: 0; padding: 0 0 8px; }
.tkonto > section + section { border-left: 2px solid var(--ton-wort); }
.tkonto h2 { margin: 0 0 4px; padding: 8px 16px; font-size: var(--s-14); font-weight: 700; color: var(--ton-wort); background: var(--ton-flaeche); border-bottom: 1px solid var(--ton-linie); }
.tk-posten { display: flex; flex-direction: column; gap: 1px; margin: 0 16px; padding: 9px 0; border-bottom: 1px solid var(--haar); font-size: var(--s-15); line-height: 1.3; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
a.tk-posten:hover { background: color-mix(in srgb, var(--zweit) 40%, var(--flaeche)); }
.tk-text { min-width: 0; }
.tk-text small { display: block; font-size: var(--s-13); color: var(--leise); }
.tk-posten .betrag { align-self: flex-end; }
.tk-warte { display: block; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.tk-summe { display: flex; justify-content: space-between; gap: 8px; margin: 8px 0 0; padding: 10px 16px; font-size: var(--s-15); font-weight: 700; font-variant-numeric: tabular-nums; background: var(--ton-flaeche); border-top: 1px solid var(--ton-linie); }
.tk-summe span:first-child { font-weight: 600; color: var(--ton-wort); }
.tk-leer { margin: 0 16px; padding: 12px 0; font-size: var(--s-14); color: var(--leise); }
.block-aktion { padding: 12px 16px 0; }
@media (min-width: 700px) {
    .tk-posten { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
    .tk-posten .betrag { align-self: baseline; }
}
@media (min-width: 1120px) {
    .tkonto { max-width: 960px; }
    .tkonto > section { padding-bottom: 12px; }
    .tkonto > section > h2, .tkonto > section > .tk-summe { padding-left: 24px; padding-right: 24px; }
    .tkonto > section > .tk-posten, .tkonto > section > .tk-leer { margin-left: 24px; margin-right: 24px; }
    .tkonto > section:first-child > h2, .tkonto > section:first-child > .tk-summe { padding-left: 0; }
    .tkonto > section:first-child > .tk-posten, .tkonto > section:first-child > .tk-leer { margin-left: 0; }
    .zeile-block, .angaben-block { max-width: 720px; }
}

/* ---------- Zeichenmasken (Zeichen aus dem Altbestand) ---------- */
.nav-zeichen,
.handlung-bild {
    display: inline-block;
    width: 24px;
    height: 24px;
    vertical-align: middle;
    flex: none;
    background-color: currentColor;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}
[data-zeichen="abfrage"] { mask-image: url("/zeichen/abfrage.svg"); -webkit-mask-image: url("/zeichen/abfrage.svg"); }
[data-zeichen="abspielen"] { mask-image: url("/zeichen/abspielen.svg"); -webkit-mask-image: url("/zeichen/abspielen.svg"); }
[data-zeichen="amt"] { mask-image: url("/zeichen/amt.svg"); -webkit-mask-image: url("/zeichen/amt.svg"); }
[data-zeichen="amtsseite"] { mask-image: url("/zeichen/amtsseite.svg"); -webkit-mask-image: url("/zeichen/amtsseite.svg"); }
[data-zeichen="ansehenAus"] { mask-image: url("/zeichen/ansehen-aus.svg"); -webkit-mask-image: url("/zeichen/ansehen-aus.svg"); }
[data-zeichen="ansehen"] { mask-image: url("/zeichen/ansehen.svg"); -webkit-mask-image: url("/zeichen/ansehen.svg"); }
[data-zeichen="aufgaben"] { mask-image: url("/zeichen/aufgaben.svg"); -webkit-mask-image: url("/zeichen/aufgaben.svg"); }
[data-zeichen="aufgabenliste"] { mask-image: url("/zeichen/aufgabenliste.svg"); -webkit-mask-image: url("/zeichen/aufgabenliste.svg"); }
[data-zeichen="ausgabe"] { mask-image: url("/zeichen/ausgabe.svg"); -webkit-mask-image: url("/zeichen/ausgabe.svg"); }
[data-zeichen="ausliefern"] { mask-image: url("/zeichen/ausliefern.svg"); -webkit-mask-image: url("/zeichen/ausliefern.svg"); }
[data-zeichen="optionen"] { mask-image: url("/zeichen/optionen.svg"); -webkit-mask-image: url("/zeichen/optionen.svg"); }
[data-zeichen="menue"] { mask-image: url("/zeichen/menue.svg"); -webkit-mask-image: url("/zeichen/menue.svg"); }
[data-zeichen="bearbeiten"] { mask-image: url("/zeichen/bearbeiten.svg"); -webkit-mask-image: url("/zeichen/bearbeiten.svg"); }
[data-zeichen="beleg"] { mask-image: url("/zeichen/beleg.svg"); -webkit-mask-image: url("/zeichen/beleg.svg"); }
[data-zeichen="bewilligung"] { mask-image: url("/zeichen/bewilligung.svg"); -webkit-mask-image: url("/zeichen/bewilligung.svg"); }
[data-zeichen="bild"] { mask-image: url("/zeichen/bild.svg"); -webkit-mask-image: url("/zeichen/bild.svg"); }
[data-zeichen="bildAufnehmen"] { mask-image: url("/zeichen/bildAufnehmen.svg"); -webkit-mask-image: url("/zeichen/bildAufnehmen.svg"); }
[data-zeichen="budget"] { mask-image: url("/zeichen/budget.svg"); -webkit-mask-image: url("/zeichen/budget.svg"); }
[data-zeichen="chronik"] { mask-image: url("/zeichen/chronik.svg"); -webkit-mask-image: url("/zeichen/chronik.svg"); }
[data-zeichen="daten"] { mask-image: url("/zeichen/daten.svg"); -webkit-mask-image: url("/zeichen/daten.svg"); }
[data-zeichen="datenschutz"] { mask-image: url("/zeichen/datenschutz.svg"); -webkit-mask-image: url("/zeichen/datenschutz.svg"); }
[data-zeichen="drucken"] { mask-image: url("/zeichen/drucken.svg"); -webkit-mask-image: url("/zeichen/drucken.svg"); }
[data-zeichen="ehrung"] { mask-image: url("/zeichen/ehrung.svg"); -webkit-mask-image: url("/zeichen/ehrung.svg"); }
[data-zeichen="einladung"] { mask-image: url("/zeichen/einladung.svg"); -webkit-mask-image: url("/zeichen/einladung.svg"); }
[data-zeichen="einlesen"] { mask-image: url("/zeichen/einlesen.svg"); -webkit-mask-image: url("/zeichen/einlesen.svg"); }
[data-zeichen="einteilung"] { mask-image: url("/zeichen/einteilung.svg"); -webkit-mask-image: url("/zeichen/einteilung.svg"); }
[data-zeichen="erlassen"] { mask-image: url("/zeichen/erlassen.svg"); -webkit-mask-image: url("/zeichen/erlassen.svg"); }
[data-zeichen="etikett"] { mask-image: url("/zeichen/etikett.svg"); -webkit-mask-image: url("/zeichen/etikett.svg"); }
[data-zeichen="favorit"] { mask-image: url("/zeichen/favorit.svg"); -webkit-mask-image: url("/zeichen/favorit.svg"); }
[data-zeichen="schloss"] { mask-image: url("/zeichen/schloss.svg"); -webkit-mask-image: url("/zeichen/schloss.svg"); }
[data-zeichen="fest"] { mask-image: url("/zeichen/fest.svg"); -webkit-mask-image: url("/zeichen/fest.svg"); }
[data-zeichen="feststellen"] { mask-image: url("/zeichen/feststellen.svg"); -webkit-mask-image: url("/zeichen/feststellen.svg"); }
[data-zeichen="gelesen"] { mask-image: url("/zeichen/gelesen.svg"); -webkit-mask-image: url("/zeichen/gelesen.svg"); }
[data-zeichen="freude"] { mask-image: url("/zeichen/freude.svg"); -webkit-mask-image: url("/zeichen/freude.svg"); }
[data-zeichen="frage"] { mask-image: url("/zeichen/frage.svg"); -webkit-mask-image: url("/zeichen/frage.svg"); }
[data-zeichen="gerda"] { mask-image: url("/zeichen/gerda.svg"); -webkit-mask-image: url("/zeichen/gerda.svg"); }
[data-zeichen="gastkapelle"] { mask-image: url("/zeichen/gastkapelle.svg"); -webkit-mask-image: url("/zeichen/gastkapelle.svg"); }
[data-zeichen="gegenstand"] { mask-image: url("/zeichen/gegenstand.svg"); -webkit-mask-image: url("/zeichen/gegenstand.svg"); }
[data-zeichen="geldausgang"] { mask-image: url("/zeichen/geldausgang.svg"); -webkit-mask-image: url("/zeichen/geldausgang.svg"); }
[data-zeichen="geldeingang"] { mask-image: url("/zeichen/geldeingang.svg"); -webkit-mask-image: url("/zeichen/geldeingang.svg"); }
[data-zeichen="handkasse"] { mask-image: url("/zeichen/handkasse.svg"); -webkit-mask-image: url("/zeichen/handkasse.svg"); }
[data-zeichen="herunterladen"] { mask-image: url("/zeichen/herunterladen.svg"); -webkit-mask-image: url("/zeichen/herunterladen.svg"); }
[data-zeichen="hochladen"] { mask-image: url("/zeichen/hochladen.svg"); -webkit-mask-image: url("/zeichen/hochladen.svg"); }
[data-zeichen="interneVeranstaltung"] { mask-image: url("/zeichen/interneVeranstaltung.svg"); -webkit-mask-image: url("/zeichen/interneVeranstaltung.svg"); }
[data-zeichen="kaution"] { mask-image: url("/zeichen/kaution.svg"); -webkit-mask-image: url("/zeichen/kaution.svg"); }
[data-zeichen="konto"] { mask-image: url("/zeichen/konto.svg"); -webkit-mask-image: url("/zeichen/konto.svg"); }
[data-zeichen="konzertmeister"] { mask-image: url("/zeichen/konzertmeister.svg"); -webkit-mask-image: url("/zeichen/konzertmeister.svg"); }
[data-zeichen="kopieren"] { mask-image: url("/zeichen/kopieren.svg"); -webkit-mask-image: url("/zeichen/kopieren.svg"); }
[data-zeichen="loeschen"] { mask-image: url("/zeichen/loeschen.svg"); -webkit-mask-image: url("/zeichen/loeschen.svg"); }
[data-zeichen="mappe"] { mask-image: url("/zeichen/mappe.svg"); -webkit-mask-image: url("/zeichen/mappe.svg"); }
[data-zeichen="material"] { mask-image: url("/zeichen/material.svg"); -webkit-mask-image: url("/zeichen/material.svg"); }
[data-zeichen="mitnehmen"] { mask-image: url("/zeichen/mitnehmen.svg"); -webkit-mask-image: url("/zeichen/mitnehmen.svg"); }
[data-zeichen="nachzaehlen"] { mask-image: url("/zeichen/nachzaehlen.svg"); -webkit-mask-image: url("/zeichen/nachzaehlen.svg"); }
[data-zeichen="notenarchiv"] { mask-image: url("/zeichen/notenarchiv.svg"); -webkit-mask-image: url("/zeichen/notenarchiv.svg"); }
[data-zeichen="person"] { mask-image: url("/zeichen/person.svg"); -webkit-mask-image: url("/zeichen/person.svg"); }
[data-zeichen="plus"] { mask-image: url("/zeichen/plus.svg"); -webkit-mask-image: url("/zeichen/plus.svg"); }
[data-zeichen="preise"] { mask-image: url("/zeichen/preise.svg"); -webkit-mask-image: url("/zeichen/preise.svg"); }
[data-zeichen="programm"] { mask-image: url("/zeichen/programm.svg"); -webkit-mask-image: url("/zeichen/programm.svg"); }
[data-zeichen="rechnungAusgang"] { mask-image: url("/zeichen/rechnungAusgang.svg"); -webkit-mask-image: url("/zeichen/rechnungAusgang.svg"); }
[data-zeichen="rechnungEingang"] { mask-image: url("/zeichen/rechnungEingang.svg"); -webkit-mask-image: url("/zeichen/rechnungEingang.svg"); }
[data-zeichen="reise"] { mask-image: url("/zeichen/reise.svg"); -webkit-mask-image: url("/zeichen/reise.svg"); }
[data-zeichen="schichtplan"] { mask-image: url("/zeichen/schichtplan.svg"); -webkit-mask-image: url("/zeichen/schichtplan.svg"); }
[data-zeichen="schluessel"] { mask-image: url("/zeichen/schluessel.svg"); -webkit-mask-image: url("/zeichen/schluessel.svg"); }
[data-zeichen="sitzplaetze"] { mask-image: url("/zeichen/sitzplaetze.svg"); -webkit-mask-image: url("/zeichen/sitzplaetze.svg"); }
[data-zeichen="sitzungen"] { mask-image: url("/zeichen/sitzungen.svg"); -webkit-mask-image: url("/zeichen/sitzungen.svg"); }
[data-zeichen="spalten"] { mask-image: url("/zeichen/spalten.svg"); -webkit-mask-image: url("/zeichen/spalten.svg"); }
[data-zeichen="spiele"] { mask-image: url("/zeichen/spiele.svg"); -webkit-mask-image: url("/zeichen/spiele.svg"); }
[data-zeichen="startseite"] { mask-image: url("/zeichen/startseite.svg"); -webkit-mask-image: url("/zeichen/startseite.svg"); }
[data-zeichen="statutenparameter"] { mask-image: url("/zeichen/statutenparameter.svg"); -webkit-mask-image: url("/zeichen/statutenparameter.svg"); }
[data-zeichen="stornieren"] { mask-image: url("/zeichen/stornieren.svg"); -webkit-mask-image: url("/zeichen/stornieren.svg"); }
[data-zeichen="stueck"] { mask-image: url("/zeichen/stueck.svg"); -webkit-mask-image: url("/zeichen/stueck.svg"); }
[data-zeichen="suchen"] { mask-image: url("/zeichen/suchen.svg"); -webkit-mask-image: url("/zeichen/suchen.svg"); }
[data-zeichen="termin"] { mask-image: url("/zeichen/termin.svg"); -webkit-mask-image: url("/zeichen/termin.svg"); }
[data-zeichen="tracht"] { mask-image: url("/zeichen/tracht.svg"); -webkit-mask-image: url("/zeichen/tracht.svg"); }
[data-zeichen="veranstaltungen"] { mask-image: url("/zeichen/veranstaltungen.svg"); -webkit-mask-image: url("/zeichen/veranstaltungen.svg"); }
[data-zeichen="verbergen"] { mask-image: url("/zeichen/verbergen.svg"); -webkit-mask-image: url("/zeichen/verbergen.svg"); }
[data-zeichen="vereinsartBlaulicht"] { mask-image: url("/zeichen/vereinsartBlaulicht.svg"); -webkit-mask-image: url("/zeichen/vereinsartBlaulicht.svg"); }
[data-zeichen="vereinsartChor"] { mask-image: url("/zeichen/vereinsartChor.svg"); -webkit-mask-image: url("/zeichen/vereinsartChor.svg"); }
[data-zeichen="vereinsartKapelle"] { mask-image: url("/zeichen/vereinsartKapelle.svg"); -webkit-mask-image: url("/zeichen/vereinsartKapelle.svg"); }
[data-zeichen="vereinsartLandjugend"] { mask-image: url("/zeichen/vereinsartLandjugend.svg"); -webkit-mask-image: url("/zeichen/vereinsartLandjugend.svg"); }
[data-zeichen="vereinsartSchuetzengilde"] { mask-image: url("/zeichen/vereinsartSchuetzengilde.svg"); -webkit-mask-image: url("/zeichen/vereinsartSchuetzengilde.svg"); }
[data-zeichen="vereinsartSchuetzenkompanie"] { mask-image: url("/zeichen/vereinsartSchuetzenkompanie.svg"); -webkit-mask-image: url("/zeichen/vereinsartSchuetzenkompanie.svg"); }
[data-zeichen="vereinsbuch"] { mask-image: url("/zeichen/vereinsbuch.svg"); -webkit-mask-image: url("/zeichen/vereinsbuch.svg"); }
[data-zeichen="vereinskassa"] { mask-image: url("/zeichen/vereinskassa.svg"); -webkit-mask-image: url("/zeichen/vereinskassa.svg"); }
[data-zeichen="verlauf"] { mask-image: url("/zeichen/verlauf.svg"); -webkit-mask-image: url("/zeichen/verlauf.svg"); }
[data-zeichen="verweis"] { mask-image: url("/zeichen/verweis.svg"); -webkit-mask-image: url("/zeichen/verweis.svg"); }
[data-zeichen="wahlurne"] { mask-image: url("/zeichen/wahlurne.svg"); -webkit-mask-image: url("/zeichen/wahlurne.svg"); }
[data-zeichen="weiter"] { mask-image: url("/zeichen/weiter.svg"); -webkit-mask-image: url("/zeichen/weiter.svg"); }
[data-zeichen="zerlegen"] { mask-image: url("/zeichen/zerlegen.svg"); -webkit-mask-image: url("/zeichen/zerlegen.svg"); }
[data-zeichen="zeugwart"] { mask-image: url("/zeichen/zeugwart.svg"); -webkit-mask-image: url("/zeichen/zeugwart.svg"); }
[data-zeichen="zurueck"] { mask-image: url("/zeichen/zurueck.svg"); -webkit-mask-image: url("/zeichen/zurueck.svg"); }
[data-zeichen="zuruecknehmen"] { mask-image: url("/zeichen/zuruecknehmen.svg"); -webkit-mask-image: url("/zeichen/zuruecknehmen.svg"); }
[data-zeichen="anhaengen"] { mask-image: url("/zeichen/anhaengen.svg"); -webkit-mask-image: url("/zeichen/anhaengen.svg"); }

/* Sprungverweis „Zum Inhalt“: nur bei Tastaturfokus sichtbar */
.sprung {
    position: absolute;
    left: 8px;
    top: -60px;
    z-index: 100;
    min-height: 44px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    border-radius: 24px;
    background: var(--loden);
    color: var(--auf-loden);
    font-weight: 600;
    text-decoration: none;
}
.sprung:focus-visible { top: 8px; }

/* A8 Notenarchiv */
/* Abschnittswort mit Handlungen rechts (Schrank, Ausgaben des Stücks) */
.abschnitt-zeile { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; padding-right: 8px; background: var(--ton-flaeche); border-top: 1px solid var(--ton-linie); border-bottom: 1px solid var(--ton-linie); }
.abschnitt-zeile .abschnitt { flex: 1; min-width: 0; margin-top: 0; border: 0; background: none; }
.abschnitt-aktionen { display: flex; flex: none; align-items: center; }
.chips-reihe > * { flex: none; }
button.chip { font-family: inherit; cursor: pointer; }
.chip .nav-zeichen { width: 18px; height: 18px; }

/* Stück: Metazeile, Ausgaben als Zeilen, Kindausgaben eingerückt */
.stueck-meta b { margin-right: 4px; font-weight: 700; color: var(--tinte); }
.ausgabe-zeile .kreis-kuerzel { width: auto; min-width: 44px; padding: 0 10px; border-radius: 22px; font-size: var(--s-13); }
.ausgabe-zeile { align-items: flex-start; }
.ausgabe-zeile .zeile-neben { white-space: normal; }
.ausgabe-zeile .zeile-stand { flex-wrap: wrap; }
.ausgabe-zeile.ist-kind { position: relative; padding-left: 44px; }
/* Kind einer Ausgabe (Scan/Druck): geschwungener Pfeil ↳ vorn, Einrückung als Zugehörigkeit. */
.ausgabe-zeile.ist-kind::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 14px;
    width: 22px;
    height: 22px;
    background-color: var(--leise);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v8a5 5 0 0 0 5 5h9'/%3E%3Cpath d='M15 11l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3v8a5 5 0 0 0 5 5h9'/%3E%3Cpath d='M15 11l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ausgabe-zeile.ist-kind .kreis-kuerzel { border: 1px solid var(--haar); background: none; }
.ausgabe-aktionen { display: flex; flex-wrap: wrap; align-items: center; margin: 4px 0 0 -10px; }
.zeile-text a { color: inherit; }

/* Schrank: Ebene, Fach (Bild 1-schrankplan) */
.ebene-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 0 16px; }
.ebene-wort { margin: 0; font-size: var(--s-16); font-weight: 700; }
.ebene { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 8px 16px 8px; }
.fach {
    position: relative;
    display: flex;
    min-height: 96px;
    border: 1px solid var(--linie);
    border-radius: 16px;
    background: var(--flaeche);
    color: var(--tinte);
}
.fach-ziel {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 0;
    padding: 12px 12px 40px;
    border: 0;
    border-radius: 16px;
    background: none;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.fach-ziel:hover { background: color-mix(in srgb, var(--zweit) 40%, var(--flaeche)); }
.fach-ziel b { font-size: var(--s-14); font-weight: 700; }
.fach-ziel span { font-size: var(--s-16); font-weight: 600; overflow-wrap: anywhere; }
.fach-ziel small { font-size: var(--s-13); color: var(--leise); }
.fach .fach-weg { position: absolute; right: 2px; bottom: 2px; }
.fach-leer { align-items: center; justify-content: center; border-style: dashed; cursor: pointer; font: inherit; }
.fach-leer:hover { background: color-mix(in srgb, var(--zweit) 40%, var(--flaeche)); }
@media (min-width: 700px) {
    .ebene { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1120px) {
    .ebene { grid-template-columns: repeat(6, minmax(0, 1fr)); padding-left: 0; padding-right: 0; }
    .abschnitt-zeile, .ebene-kopf { padding-left: 0; }
}


/* ---------- A6 Zeilen in Listen, Konzept A (Gesamtplan 2.2, geändert am 07.11.2026, Anordnung Herbert) ----------
   Eine Zeile öffnet beim Tippen die Seite oder das Popup. Kein Wischen, kein langes Drücken, kein „···“, keine Knöpfe in der Zeile:
   Bearbeiten steht im Menü der Seite oder im Popup. „Mehrere auswählen“ (Menü der Seite) macht den Kreis zum Haken. */
li.wisch { position: relative; list-style: none; }
.wisch-vorn { position: relative; background: var(--flaeche); }
.wisch.ist-gewaehlt .wisch-vorn { background: color-mix(in srgb, var(--zweit) 60%, var(--flaeche)); }
.wisch.ist-gewaehlt > td { background: color-mix(in srgb, var(--zweit) 60%, var(--flaeche)); }
tr.wisch.ist-gewaehlt td { background: color-mix(in srgb, var(--zweit) 60%, var(--flaeche)); }

/* Der Pfeil › am Zeilenende: jede Zeile, die beim Tippen weiterführt (Seite, Popup oder Blatt), trägt ihn.
   Zeilen mit eigenem Pfeil (.zeile-pfeil, Start, Betreiber, Menüblatt) bekommen keinen zweiten. */
a.zeile:not(:has(.zeile-pfeil))::after,
button.zeile:not(:has(.zeile-pfeil))::after {
    content: "";
    flex: none;
    align-self: center;
    width: 20px;
    height: 20px;
    margin-right: -4px;
    background-color: var(--leise);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Menü: Blatt von unten */
.zeilenmenue {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    transition: background-color var(--gleit-zu) var(--gleit-kurve-zu);
}
.zeilenmenue[hidden] { display: none; }
.zeilenmenue.ist-da { background: var(--schleier); transition: background-color var(--gleit-auf) var(--gleit-kurve); }
.zeilenmenue-blatt {
    box-sizing: border-box;
    width: min(560px, 100%);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    border-radius: 28px 28px 0 0;
    background: var(--flaeche);
    box-shadow: var(--schatten-blatt);
    transform: translateY(100%);
    transition: transform var(--gleit-zu) var(--gleit-kurve-zu);
}
.zeilenmenue.ist-da .zeilenmenue-blatt { transform: none; transition: transform var(--gleit-auf) var(--gleit-kurve); }
.zeilenmenue-griff { display: block; width: 40px; height: 4px; margin: 4px auto 8px; border-radius: 2px; background: var(--linie); }
.zeilenmenue-titel { margin: 0; padding: 4px 16px 12px; border-bottom: 1px solid var(--haar); font: 700 var(--s-18)/1.25 "Bitter Pro", serif; color: var(--tinte); }
.menue-punkt {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid var(--haar);
    background: none;
    color: var(--tinte);
    font: 600 var(--s-17) "Source Sans 3", system-ui, sans-serif;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.menue-punkt:hover { background: var(--ton-flaeche); }
.menue-punkt-gefahr { color: var(--gefahr); }
.menue-punkt-zu { justify-content: center; border-bottom: 0; color: var(--leise); }

/* Auswahl: Kreis wird Haken. Nur der Kreis-Haken der Listen (mit .haken-bild); das Formular-Häkchen x-haken bleibt eine Zeile.
   Herbert 06.11.2026: im Fenster „Termin anlegen“ lag „Alle aktiven Mitglieder“ über dem Titel, weil beide .haken hießen. */
.haken:has(.haken-bild) {
    position: absolute;
    z-index: 3;
    left: var(--haken-links, 16px);
    top: var(--haken-oben, 12px);
    display: none;
    min-width: 0;
    min-height: 0;
    width: var(--haken-mass, 46px);
    height: var(--haken-mass, 46px);
}
.ist-auswahl .haken { display: block; }
.haken-feld { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.haken-bild { position: absolute; inset: 0; box-sizing: border-box; border: 2px solid var(--linie); border-radius: 50%; background: var(--flaeche); }
.haken-feld:checked + .haken-bild { border-color: var(--loden); background: var(--loden); }
.haken-feld:checked + .haken-bild::after {
    content: "";
    position: absolute;
    left: 33%;
    top: 17%;
    width: 26%;
    height: 48%;
    border: solid var(--auf-loden);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
.haken-feld:focus-visible + .haken-bild { outline: 3px solid var(--loden); outline-offset: 2px; }

/* Handlungsleiste der Auswahl, Papiergrau */
.auswahlleiste {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    box-sizing: border-box;
    min-height: 56px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--haar);
    background: var(--zweit);
}
.auswahlleiste[hidden] { display: none; }
.auswahl-fertig,
.auswahl-alle {
    min-height: 44px;
    padding: 0 14px;
    border: 0;
    border-radius: 22px;
    background: none;
    color: var(--loden);
    font: 700 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    cursor: pointer;
}
.auswahl-zahl { flex: 1 1 auto; margin: 0; font: 700 var(--s-16) "Source Sans 3", system-ui, sans-serif; color: var(--tinte); }
.auswahl-form { display: flex; flex: 1 1 100%; align-items: center; justify-content: flex-end; gap: 6px; margin: 0; }
.auswahl-ausgeben { margin-right: 4px; font-size: var(--s-14); color: var(--leise); }
.auswahl-knopf {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 22px;
    background: var(--loden);
    color: var(--auf-loden);
    font: 700 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    cursor: pointer;
}
.auswahl-knopf:disabled { opacity: 0.4; cursor: default; }
@media (min-width: 450px) {
    .auswahl-form { flex: 0 0 auto; }
}

/* Schreibtisch mit Maus: der Haken erscheint beim Zeigen und Fokussieren */
@media (hover: hover) and (pointer: fine) {
    .haken:has(.haken-bild) { display: block; opacity: 0; }
    .wisch:hover .haken,
    .wisch:focus-within .haken,
    .ist-auswahl .haken,
    .haken:has(:checked) { opacity: 1; }
    .zeilenmenue { align-items: center; }
    .zeilenmenue-blatt { border-radius: 28px; padding-bottom: 8px; }
    .zeilenmenue-griff { display: none; }
    .zeilenmenue-blatt { transform: translateY(24px); opacity: 0; transition: transform var(--gleit-zu) var(--gleit-kurve-zu), opacity var(--gleit-zu) var(--gleit-kurve-zu); }
    .zeilenmenue.ist-da .zeilenmenue-blatt { opacity: 1; transition: transform var(--gleit-auf) var(--gleit-kurve), opacity var(--gleit-auf) var(--gleit-kurve); }
}

/* Schreibtisch-Tabelle des Vereinsbuchs: der Haken sitzt auf dem Kürzelkreis */
.vb-tisch .name-feld { position: relative; }
.vb-tisch .name-feld .haken { left: 0; top: 0; width: 36px; height: 36px; display: block; opacity: 0; }
.vb-tisch tr.wisch:hover .haken,
.vb-tisch tr.wisch:focus-within .haken,
.vb-tisch .ist-auswahl .haken,
.vb-tisch .haken:has(:checked) { opacity: 1; }
@media (hover: none) {
    .vb-tisch .name-feld .haken { opacity: 1; }
}
.vb-tisch .auswahlleiste { margin: 0 0 8px; border-radius: 16px; }

/* A8 Zeugwart */
/* Handlungen eines Gegenstands im Fenster: die alte Tabellenzeile trug sie, die neue Zeile ist ein Verweis. */
.fenster-weiter { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 0; border-top: 1px solid var(--haar); }
.fenster-weiter .pille { border: 1px solid var(--linie); }
.zeile-stand:empty { display: none; }
div.zeile { cursor: default; }
div.zeile:hover { background: none; }

/* A8 Ehrungen */
/* Filterchips der Ehrungen: eine Reihe, die seitlich rollt (auch am Schreibtisch; .chips-reihe versteckt sich dort für das Vereinsbuch). */
/* Zeile ohne Fenster (Liste, Bedarf): nur zu lesen, kein Zeigen. */
.zeile-still:hover { background: none; }
/* Stand kann zwei Zeilen brauchen (Stand · nächster Schritt · Frist): Punkt oben, Text bricht um. */

/* ---------- Fehlende Seiten, Notenarchiv (Unterseiten, Meine Mappen) ---------- */
.blatt-text { padding: 8px 16px 0; font-size: calc(16px * var(--schriftmass)); }
.blatt-text p { margin: 0 0 10px; }
.blatt-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px 16px 0; }
.blatt-form { padding: 8px 16px 0; }
.blatt-form .hinweis, .blatt-form p { margin: 0 0 10px; }
.blatt-form .knopf-haupt { display: flex; margin: 16px 0 0 auto; }
.nummer-form { margin: 0; }
.zeile-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 0 16px 12px; border-bottom: 1px solid var(--haar); }
.zeile-aktionen form { margin: 0; }
.zeile-aktionen .pille { min-height: 36px; padding: 0 14px; font-size: calc(14px * var(--schriftmass)); }
.zeile:has(+ .zeile-aktionen) { border-bottom: 0; }
.mappe-zeile .mappe-stand { margin: 0; flex: none; }
.mappe-zeile { align-items: center; }
.mappe-zeile a.zeile-text { color: inherit; text-decoration: none; }
.mappe-filter { padding: 4px 16px 8px; }
.mappe-stand .stand-knopf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -6px 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.mappe-stand .stufe-flaeche {
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tinte) 22%, transparent);
}
.mappe-stand .stufe-0 { background: var(--stufe-0); }
.mappe-stand .stufe-1 { background: var(--stufe-1); }
.mappe-stand .stufe-2 { background: var(--stufe-2); }
.mappe-stand .stufe-3 { background: var(--stufe-3); }
.mappe-stand .stufe-4 { background: var(--stufe-4); }
.mappe-pdf { flex: none; font-weight: 600; font-size: var(--s-13); color: var(--leise); }
.mappe-pdf.ist-da { color: var(--ampel-gruen-tinte); }
.handel-treffer .zeile-aktionen { padding: 8px 0 0; border: 0; }
.zeile-stand.stand-zu { margin-top: 2px; }

/* A9 Betreiberseite: dieselben Bausteine, dazu die Pille „Fahren“ in der Migrationszeile und das Suchfeld im Protokoll. */
.zeile > .pille { flex: none; align-self: center; min-height: 36px; padding: 0 14px; font-size: calc(14px * var(--schriftmass)); }
.protokoll-suche { height: 42px; margin: 4px 16px 8px; padding: 0 16px; border-radius: 999px; background: var(--ton-flaeche); }
@media (min-width: 1120px) {
    .protokoll-suche { max-width: 420px; margin-left: 0; margin-right: 0; }
}
.vb-tisch a.zeilentitel { text-decoration: none; font-weight: 600; color: inherit; }

/* Am Handy dürfen lange Zeilentitel auf zwei Zeilen umbrechen (wie bei X), statt mit „…“ abzubrechen. */
@media (max-width: 699px) {
    .zeile-titel b {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }
    /* Auch die Nebenzeile darf am Handy auf zwei Zeilen umbrechen: Sätze (Mein Profil, Verwaltung) und Art/Ort (Termine) wurden mitten im Wort abgeschnitten. */
    .zeile-neben {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        white-space: normal;
    }
    /* Aktionszeile der Kassa: bricht sie um, füllt jede Zeile die Breite, kein einzelnes Wort allein links. */
    .aktionen-reihe > *, .aktionen-reihe > .knopf-text { flex: 1 1 auto; justify-content: center; text-align: center; }
    /* Lange Zeilen (Aufgaben, Kassabuch) zeigen den ganzen Titel; die Klemme würde ihn nur halb kürzen und überlappen. */
    .zeilen-lang .zeile-titel b,
    .gross .zeile-titel b { display: block; -webkit-line-clamp: unset; }
}

/* ---------- Spiele (05.11.2026): Tischliste, Üben, Bilanz, Einstellungen. Der Tisch selbst steht in spiele.css. ---------- */
/* Ein Spiel in der Liste: Kartenfächer links, Name und Satz rechts, darunter die Pillen. Die Karten bleiben, wie sie sind (spiele.css). */
.spiel-zeile {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    grid-template-areas: "faecher text" "pillen pillen";
    gap: 8px 16px;
    padding: 14px 16px 16px;
    border-bottom: 1px solid var(--haar);
}
.spiel-zeile .spielfaecher { grid-area: faecher; margin: 4px 0 0 18px; } /* die äußeren Karten kippen 18 px über den Rand */
.spiel-text { grid-area: text; min-width: 0; }
.spiel-name { font: 600 calc(19px * var(--schriftmass))/1.25 "Bitter Pro", serif; }
.spiel-satz { margin-top: 2px; font-size: calc(14px * var(--schriftmass)); line-height: 1.45; color: var(--leise); }
.spiel-pillen { grid-area: pillen; display: flex; flex-wrap: wrap; gap: 8px; }
.spiel-pillen .pille { flex: 1 1 0; min-width: 140px; max-width: 280px; padding: 0 16px; }
/* Bilanz: Zahl der Spiele rechts, der Rest darunter. */
.zeile-fest { cursor: default; }
/* Einstellungen: lange Beschriftung links, kurze Zahl rechts. */
.einstell-zahlen .feld-zeile { grid-template-columns: minmax(0, 1fr) 88px; }
.einstell-zahlen .feld-wert { text-align: right; }
.einstell-zahlen .feld-wert:disabled { color: var(--leise); }
.einstell-block { padding: 0 16px; }
.einstell-block .wahlfeld:first-child { margin-top: 2px; }
.einstell-hinweis { padding: 8px 16px 0; font-size: calc(14px * var(--schriftmass)); line-height: 1.45; color: var(--leise); }
.einstell-fuss { display: flex; justify-content: flex-end; padding: 24px 16px 8px; }
/* Schalter: Text links, Schieber rechts; die Zeile ist die Tippfläche. */
.schalter {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 56px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--haar);
    font-size: calc(16px * var(--schriftmass));
    cursor: pointer;
}
.schalter-text { flex: 1; min-width: 0; }
.schalter-feld {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: none;
    width: 52px;
    height: 32px;
    margin: 0;
    border: 2px solid var(--linie);
    border-radius: 16px;
    background: var(--flaeche);
    cursor: pointer;
}
.schalter-feld::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--leise);
    transition: left 120ms;
}
.schalter-feld:checked { border-color: var(--loden); background: var(--loden); }
.schalter-feld:checked::after { left: 23px; background: var(--auf-loden); }
.schalter-feld:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
/* Im Formular dürfen die allgemeinen Haken-Regeln (seiten.css) den Schalter nicht zum Punkt machen. */
.formular label.schalter:has(input[type="checkbox"]) { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; color: var(--tinte); }
.formular input.schalter-feld[type="checkbox"] {
    flex: none;
    width: 52px;
    min-width: 52px;
    height: 32px;
    min-height: 32px;
    margin: 0;
    padding: 0;
    border: 2px solid var(--linie);
    background: var(--flaeche);
}
.formular input.schalter-feld[type="checkbox"]:checked { border-color: var(--loden); background: var(--loden); }
@media (prefers-reduced-motion: reduce) {
    .schalter-feld::after { transition: none; }
}
/* Einladung am Tisch: der Link bricht um, wo er will. */
.einladung-link { padding: 8px 16px 0; font-size: calc(16px * var(--schriftmass)); font-weight: 600; overflow-wrap: anywhere; }
.tisch-aktionen { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 16px 0; }
.tisch-aktionen form { display: contents; }
/* Nebensache: Zusatzzeile unter einer Angabe (Spieltisch, Gastlink, Dashboard). */
.nebensache { display: block; color: var(--leise); font-size: var(--s-14); }
/* Startseite und Anmeldekarte: eine Karte in der Mitte des Schirms. */
.anmelde-schirm { flex: 1 0 auto; min-height: 0; display: flex; align-items: center; justify-content: center; padding: 24px; }
.anmelde-karte { width: min(32rem, 100%); }

/* ---------- Dunkel-Schalter (Herbert 05.11.2026, Variante B): Mond/Sonne in der Suchpille, auf der Anmeldeseite oben rechts ---------- */
[data-zeichen="mond"] { mask-image: url("/zeichen/mond.svg"); -webkit-mask-image: url("/zeichen/mond.svg"); }
[data-zeichen="sonne"] { mask-image: url("/zeichen/sonne.svg"); -webkit-mask-image: url("/zeichen/sonne.svg"); }
.modus { flex: none; margin: 0; }
.modus-knopf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: none;
    color: var(--leise);
    cursor: pointer;
}
.modus-knopf .nav-zeichen { width: 22px; height: 22px; }
.schrift-knopf { font: 700 calc(15px * var(--schriftmass))/1 "Source Sans 3", system-ui, sans-serif; letter-spacing: -0.03em; }
/* Stufe am Knopf (Herbert 13.11.2026): drei Punkte unter „Aa“, voll = an, Ring = aus. Form, nicht Farbe; die Punkte wachsen nicht mit. */
.schrift-knopf { flex-direction: column; gap: 3px; }
.kopf .schrift-knopf { gap: 4px; }
.schrift-aa { display: block; line-height: 1; }
.schrift-stufen { display: flex; gap: 3px; }
.schrift-stufen > span { width: 6px; height: 6px; box-sizing: border-box; border: 1.5px solid currentColor; border-radius: 50%; }
.schrift-knopf[data-stufe="1"] .schrift-stufen > :nth-child(-n+1),
.schrift-knopf[data-stufe="2"] .schrift-stufen > :nth-child(-n+2),
.schrift-knopf[data-stufe="3"] .schrift-stufen > :nth-child(-n+3) { background: currentColor; }
.modus-knopf:hover { color: var(--tinte); }
/* Vereinswart-Marke im Fuß (x-neu.marke): bei Tag Messing/Tinte, im Dunkelmodus die weißen Dateien aus dem Paket design-2026-09-08. */
.marke-nacht { display: none; }
:root[data-dunkel="immer"] .marke-tag { display: none; }
:root[data-dunkel="immer"] .marke-nacht { display: inline; }
@media print {
    :root[data-dunkel="immer"] .marke-tag { display: inline; }
    :root[data-dunkel="immer"] .marke-nacht { display: none; }
}

/* ---------- Anmelden, Einladung (Herbert 05.11.2026): Wappen groß, Vereinsname, ein Satz, Zeilenfelder, volle Pille ---------- */
/* Anmelde- und Einladungsseite (Herbert, 06.11.2026, Entwurf C): Grund in der Vereinsfarbe, Wappen und Name darauf,
   das Formular auf einem weißen Blatt. Immer hell (Oberflaeche::IMMER_HELL), kein Dunkel-Schalter. */
.anmelden { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--loden); color: var(--auf-loden); }
.anmelden-schirm { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px 16px; }
.anmelden-marke { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.anmelden-wappen { display: block; box-sizing: border-box; width: 96px; height: 112px; padding: 12px; border-radius: 16px; background: var(--flaeche); object-fit: contain; }
.anmelden-wappen.anmelden-wappen-marke { padding: 0; border-radius: 0; background: none; }
.anmelden-marke .titel-gross { margin: 0; padding: 0; font: 700 var(--s-22)/1.2 "Bitter Pro", serif; color: var(--auf-loden); }
.anmelden-blatt { width: 100%; max-width: 440px; padding: 20px 0 24px; border-radius: 16px; background: var(--flaeche); color: var(--tinte); box-sizing: border-box; }
.anmelden-satz { margin: 0; padding: 0 16px; font-size: var(--s-15); color: var(--leise); }
.anmelden-form { margin-top: 18px; }
.anmelden-form .feld-zeile { grid-template-columns: 120px minmax(0, 1fr); }
.anmelden-form .pille { display: flex; width: calc(100% - 32px); min-height: 48px; margin: 24px 16px 0; }
.anmelden-nach { margin: 20px 0 0; padding: 0 16px; font-size: var(--s-14); color: var(--leise); }
.anmelden-fehler { margin: 18px 16px 0; padding: 12px 16px; border-radius: 12px; background: var(--ton-flaeche); font-size: var(--s-15); }
.anmelden-fehler b { display: block; color: var(--gefahr); }
.anmelden .sperrsatz { margin: 18px 16px 0; padding: 12px 16px; border-left: 3px solid var(--gefahr); font-size: var(--s-16); }
.anmelden .hinweis-leise { padding-top: 10px; }
.anmelden-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 16px; border-top: 1px solid color-mix(in srgb, var(--auf-loden) 22%, transparent); font-size: var(--s-13); color: var(--auf-loden); opacity: 0.85; }
.anmelden-fuss a { color: var(--auf-loden); }
.anmelden-fuss .fuss-marke { display: flex; align-items: center; gap: 8px; }
.anmelden-fuss .fuss-links { margin-left: auto; display: flex; gap: 14px; }
.anmelden-fuss .fuss-wort { height: 16px; width: auto; filter: none; }
.anmelden-fuss .fuss-zeichen { width: 22px; height: 18px; }
.anmelden-fuss .fuss-stand { flex: 0 0 100%; margin: 0; padding: 0; font-size: var(--s-13); color: var(--auf-loden); }
@media (min-width: 900px) {
    .anmelden-schirm { flex-direction: row; gap: 72px; padding: 48px; }
    .anmelden-marke { align-items: flex-start; text-align: left; gap: 16px; }
    .anmelden-wappen { width: 200px; height: 232px; padding: 24px; border-radius: 24px; }
    .anmelden-wappen.anmelden-wappen-marke { padding: 0; border-radius: 0; }
    .anmelden-marke .titel-gross { max-width: 12ch; font-size: calc(34px * var(--schriftmass)); line-height: 1.15; }
    .anmelden-blatt { padding: 32px 0 36px; }
}

/* ---------- Optionen: ein Knopf im Seitenkopf, ein Blatt mit Registern (Seitenkopf-Plan 06.11.2026) ---------- */
/* Der Menü-Knopf steht mit float rechts neben dem Titel. Abschnitt, Liste und Leerraum
   räumen ihn weg, sonst wird die erste Zeile daneben schmal (BFC neben dem Float). */
.abschnitt, .zeilen, .leer { clear: both; }
.opt-knopf {
    float: right;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    margin: 12px 16px 0 8px;
    padding: 0 14px 0 10px;
    border: 1.5px solid var(--ton-flaeche-stark);
    border-radius: 20px;
    background: var(--flaeche);
    color: var(--tinte);
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    cursor: pointer;
}
.opt-knopf .nav-zeichen { width: 20px; height: 20px; }
.opt-blatt { display: flex; flex-direction: column; max-height: 88vh; padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); }
.opt-titelzeile { display: flex; align-items: flex-start; justify-content: space-between; padding: 0 8px 0 20px; }
.opt-titelwort { min-width: 0; padding-top: 6px; }
.opt-titel { margin: 0; font: 700 var(--s-20)/1.25 "Bitter Pro", serif; color: var(--tinte); }
.opt-ort { margin: 2px 0 0; font-size: var(--s-14); color: var(--leise); }
.opt-kreuz { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: none; color: var(--leise); cursor: pointer; }
.opt-kreuz-bild { position: relative; display: block; width: 20px; height: 20px; margin: 0 auto; }
.opt-kreuz-bild::before, .opt-kreuz-bild::after { content: ""; position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; margin: -1px 0 0 -10px; background: currentColor; border-radius: 1px; transform: rotate(45deg); }
.opt-kreuz-bild::after { transform: rotate(-45deg); }
.opt-reiter { display: flex; margin-top: 4px; border-bottom: 1px solid var(--haar); }
.opt-reiter-feld { flex: 1; min-height: 48px; padding: 0 4px; border: 0; border-bottom: 3px solid transparent; margin-bottom: -1px; background: none; color: var(--leise); font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.opt-reiter-feld.ist-aktiv { color: var(--tinte); border-bottom-color: var(--loden); }
.opt-inhalt { overflow-y: auto; }
.opt-register[hidden] { display: none; }
.opt-satz { margin: 0; padding: 12px 20px 4px; font-size: var(--s-14); color: var(--leise); }
.opt-zeile { display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: 100%; min-height: 64px; padding: 8px 20px; border: 0; border-bottom: 1px solid var(--haar); background: none; color: var(--tinte); text-align: left; text-decoration: none; font: inherit; cursor: pointer; }
.opt-zeile:hover { background: var(--ton-flaeche); }
.opt-text { min-width: 0; }
.opt-wort { display: block; font-weight: 700; font-size: var(--s-17); }
.opt-neben { display: block; margin-top: 1px; font-size: var(--s-14); font-weight: 400; color: var(--leise); }
.opt-radio { flex: none; width: 24px; height: 24px; box-sizing: border-box; border: 2px solid var(--ton-flaeche-stark); border-radius: 50%; }
.opt-zeile.ist-aktiv .opt-radio { border-color: var(--loden); background: radial-gradient(circle, var(--loden) 0 42%, transparent 46%); }
.opt-kreis { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ton-flaeche); color: var(--leise); }
.opt-kreis .nav-zeichen { width: 22px; height: 22px; }
.opt-gefahr .opt-wort { color: var(--gefahr); }
.opt-gefahr .opt-kreis { background: color-mix(in srgb, var(--gefahr) 12%, var(--flaeche)); color: var(--gefahr); }
.opt-gruppe { margin: 0; padding: 12px 20px 4px; border: 0; min-width: 0; }
.opt-gruppe-wort { float: left; width: 100%; padding: 0; margin: 0 0 8px; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.opt-register > .opt-gruppe-wort { float: none; padding: 16px 20px 4px; margin: 0; }
.opt-wahl { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.opt-chip { position: relative; display: inline-flex; }
.opt-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt-chip-wort { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--linie); border-radius: 20px; background: var(--flaeche); color: var(--tinte); font-size: var(--s-14); font-weight: 500; }
.opt-chip-link { text-decoration: none; border-bottom-width: 1px; }
.opt-chip-link.ist-aktiv { border-color: var(--ton-flaeche-stark); background: var(--ton-flaeche-stark); font-weight: 600; }
.opt-chip-link.ist-aktiv::before { content: "✓"; margin-right: 6px; font-size: calc(13px * var(--schriftmass)); }
.opt-chip input:checked + .opt-chip-wort { border-color: var(--ton-flaeche-stark); background: var(--ton-flaeche-stark); font-weight: 600; }
.opt-chip input:checked + .opt-chip-wort::before { content: "✓"; margin-right: 6px; font-size: calc(13px * var(--schriftmass)); }
.opt-chip input:focus-visible + .opt-chip-wort { outline: 3px solid var(--loden); outline-offset: 2px; }
.opt-fuss { display: flex; gap: 10px; padding: 14px 20px 4px; }
.opt-fuss .knopf-haupt { flex: 1; min-height: 48px; }
.opt-fuss .knopf-still { min-height: 48px; }

/* ---------- Welle 2: Regal, Punkte am Band, Fenster einspaltig, Löschen unten im Fenster ---------- */
.band-mehr { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ton-wort); cursor: pointer; }
/* Senkrechte Punkte (Anordnung Herbert, 07.11.2026: keine waagrechten): der Text „···“ im Markup bleibt unsichtbar, die Punkte zeichnet die Regel. */
.band-mehr-punkte { display: block; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 -8px 0 currentColor, 0 8px 0 currentColor; font-size: 0; }
.abschnitt-zeile .band-mehr { margin-right: -4px; }
.fenster .feld-zeile { grid-template-columns: minmax(0, 1fr); align-items: stretch; row-gap: 0; padding-top: 8px; }
.fenster .feld-name { font-size: var(--s-14); }
.fenster .feld-wert { min-height: 44px; padding: 4px 0 8px; }
/* Editorfeld (Herbert 06.11.2026, Entwurf A): Feld und Werkzeugleiste als eine Einheit. Rahmen 1 px --linie, Radius 12,
   Leiste oben auf --zweit mit den Wörtern Fett (fett), Kursiv (kursiv), Liste (mit Punkt), je 44 px Tippfläche.
   Fokus färbt den ganzen Rahmen Loden. Nur für Felder mit formatierter Ausgabe (Protokolltext, Wortlaut). */
.editorfeld { margin-top: 8px; border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche); overflow: hidden; }
.editorfeld:focus-within { border-color: var(--loden); box-shadow: 0 0 0 1px var(--loden); }
.editorfeld-leiste { display: flex; gap: 2px; padding: 4px 6px; border-bottom: 1px solid var(--linie); background: var(--zweit); }
.editorfeld-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--tinte); font: 400 var(--s-16)/1 "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.editorfeld-knopf:hover, .editorfeld-knopf:active { background: var(--flaeche); box-shadow: 0 0 0 1px var(--linie); }
.editorfeld-knopf:focus-visible { outline: 2px solid var(--loden); outline-offset: -2px; }
.editorfeld-fett { font-weight: 700; }
.editorfeld-kursiv { font-style: italic; }
.editorfeld-liste::before { content: "•"; font-weight: 700; }
.fenster .editorfeld textarea[data-b="feld"], .editorfeld textarea { display: block; box-sizing: border-box; width: 100%; min-height: 150px; margin: 0; padding: 10px 12px; border: 0; border-radius: 0; background: none; color: var(--tinte); font: 400 var(--s-16)/1.4 "Source Sans 3", system-ui, sans-serif; resize: vertical; }
.editorfeld textarea:focus { outline: none; }
.loeschen-rahmen { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: calc(100% - 32px); min-height: 48px; margin: 16px 16px 4px; border: 1.5px solid var(--gefahr); border-radius: 24px; background: none; color: var(--gefahr); font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif; cursor: pointer; }

/* Schreibtisch: früher ein Blatt in der Mitte auf Loden (06.11.2026); nach Figma „Echt“ füllen Randspalte und Inhalt
   die volle Breite (Herbert 12.11.2026: „wir bauen nach figma“). Die Lesebreiten vom Handy gelten am Schreibtisch nicht. */
@media (min-width: 1120px) {
    .startseite, .tkonto, .zeile-block, .angaben-block,
    .haupt .zeilen-register, .haupt .info-klapp, .haupt .zahlen, .haupt .gefahr-zeilen { max-width: none; }
    .leiste-unten { left: 280px; }
}
@media print {
    body { background: var(--flaeche); }
    .app { max-width: none; box-shadow: none; }
}

/* ---------- Zeugwart (Plan 06.11.2026): Zählweise, Größen, Set bei der Ausgabe ---------- */
[data-wenn-feld][hidden], [data-groesse-zeile][hidden], [data-groesse-mehr][hidden], [data-stueck-ohne][hidden], [data-groessen][hidden] { display: none; }
.klappe-inhalt { padding: 0 0 12px; }
.klappe-inhalt .feld { padding: 0; }
.fenster .groesse-zeile .feld { padding: 0; }
.fenster .info-klapp { margin: 0; }
.groessen-wort { margin: 16px 0 0; font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.groesse-zeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 16px; }
[data-groesse-mehr] { margin-top: 10px; }
.listensort-pfeil { margin-left: 4px; color: var(--leise); }

/* ---------- Termin-Seite 06.11.2026 (Wahl C): Register aufklappbar mit drei Zahlen, Handlungen unter Optionen ---------- */
.detailleiste .opt-knopf { float: none; margin: 0 8px 0 4px; }
.detail-herkunft { display: flex; align-items: center; gap: 8px; }
.herkunft-zeichen { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 22px; height: 22px; color: var(--tinte); }
.herkunft-zeichen .nav-zeichen { width: 18px; height: 18px; }
.abschnitt-wort { margin: 16px 16px 0; padding: 0 0 8px; border-bottom: 1px solid var(--haar); font-size: var(--s-13); font-weight: 700; color: var(--leise); }
/* Sitzung (Variante C, Herbert 06.11.2026): Nummer im Kreis, Inhalt unter der Punktzeile eingerückt unter den Titel, Pfeile im Punkt-Blatt. */
.kreis-nummer b { font: 700 var(--s-18)/1 "Bitter Pro", serif; }
.punkt-inhalt { padding: 0 16px 12px 68px; font-size: var(--s-15); line-height: 1.5; }
.punkt-inhalt p { margin: 0 0 6px; overflow-wrap: anywhere; }
.punkt-inhalt ul { margin: 0 0 6px; padding-left: 1.2rem; list-style: disc; }
.pfeil-hoch .nav-zeichen { transform: rotate(-90deg); }
.pfeil-runter .nav-zeichen { transform: rotate(90deg); }
/* Rückweg und Titel einer Detailseite mit Datumszeile (Sitzung) halten am Handy 16 px Abstand; die Hülle gibt dort keinen Rand vor.
   Früher stand das in blatt.css (Sitzungsblatt), das mit der Variante C entfällt. */
@media (max-width: 699px) {
    .haupt:has(> .detail-wann) > .rueckweg, .haupt:has(> .detail-wann) > .seitenkopf { margin-left: 16px; margin-right: 16px; }
}
/* Übrige Seiten mit altem Inhalt im neuen Rahmen (x-seitenkopf, x-rueckweg, x-karte: Listen, Termine-Listen, Dashboard-Ansicht,
   Vereinsbuch-Export) halten unter 1120 px 16 px Seitenrand wie .titel-gross. Die Hülle gibt dort keinen Rand vor; ab 1120 px
   trägt .haupt selbst 40 px. Detailseiten mit Datumszeile behalten ihre eigene Regel darüber (ab 700 px bündig, Zeile 1667). */
@media (max-width: 1119px) {
    .haupt:not(:has(> .detail-wann)) > :is(.seitenkopf, .rueckweg, .karte:not(.blatt-form), .schreibhinweis, .feldhinweis),
    .haupt:has(> .seitenkopf):not(:has(> .detail-wann)) > p:not([class]),
    .haupt > .dash-bereich > .dash-gruppenwort { margin-left: var(--abstand-16); margin-right: var(--abstand-16); }
}
.register-liste { margin: 0; }
.register-liste .info-klapp:last-child { border-bottom: 1px solid var(--haar); }
.register-liste .klapp-kopf { min-height: 64px; gap: 12px; }
.reg-zeile { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; font-size: var(--s-16); }
.reg-zeile .zeile-text { flex: 1; min-width: 0; }
.reg-zeile .zeile-titel b { font-weight: 700; }
.reg-zahlen { flex: none; display: flex; gap: 6px; }
.reg-zahlen b { min-width: 30px; padding: 2px 6px; border-radius: 6px; text-align: center; font-size: var(--s-14); font-weight: 700; }
.reg-zu { color: var(--ok); background: color-mix(in srgb, var(--ok) 10%, var(--flaeche)); }
.reg-ab { color: var(--gefahr); background: color-mix(in srgb, var(--gefahr) 10%, var(--flaeche)); }
.reg-auf { color: var(--tinte); background: color-mix(in srgb, var(--gelb) 18%, var(--flaeche)); }
.hinweis-pfeil { flex: none; width: 10px; height: 10px; margin: 0 6px 0 4px; border-right: 2px solid var(--leise); border-bottom: 2px solid var(--leise); transform: rotate(-45deg); }
.reg-namen { padding: 0 0 8px; }
.reg-namen .zeile-name { min-height: 44px; margin-left: 4px; padding: 6px 0 6px 12px; border-left: 2px solid var(--haar); }
.reg-namen .zeile-wann { margin-left: 8px; }
.hinweis-zeile { display: flex; align-items: center; gap: 14px; box-sizing: border-box; width: calc(100% - 32px); margin: 12px 16px 0; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 14px; background: var(--flaeche); color: var(--tinte); text-align: left; text-decoration: none; font: inherit; }
.hinweis-zeile .opt-kreis { background: color-mix(in srgb, var(--messing) 14%, var(--flaeche)); color: var(--messing); }
.hinweis-zeile .opt-wort { font-size: var(--s-16); }
.hinweis-zeile .opt-text { flex: 1; min-width: 0; }

/* Budget: Summenblock als Raster, Beträge brechen nie um (Bedienkonzept 06.11.2026) */
.budget-summe { display: grid; grid-template-columns: auto 1fr 1fr; gap: 6px 16px; align-items: baseline; margin-top: 12px; padding: 14px 16px; border-bottom: 1px solid var(--haar); font-size: var(--s-16); font-variant-numeric: tabular-nums; }
.budget-summe b { font-weight: 700; text-align: right; white-space: nowrap; }
.budget-summe .bs-kopf { font-size: var(--s-13); font-weight: 600; color: var(--leise); text-align: right; }
.budget-summe .bs-wort { color: var(--leise); }
@media (min-width: 700px) { .budget-summe { max-width: 480px; } }

/* ---------- Anmeldesicherheit: Passkey-Knopf auf der Anmeldeseite, QR-Bild, Schlüsselzeile ---------- */
.anmelden-passkey { margin-top: 18px; }
.anmelden-passkey .pille { display: flex; width: calc(100% - 32px); min-height: 48px; margin: 0 16px; }
.anmelden-passkey .anmelden-nach { margin-top: 12px; color: var(--gefahr); }
.qr-bild { box-sizing: border-box; width: 216px; max-width: 100%; margin: 12px auto; padding: 8px; border-radius: 12px; background: var(--flaeche); border: 1px solid var(--linie); }
.qr-bild svg { display: block; width: 100%; height: auto; }
.qr-schluessel { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: 0.04em; word-break: break-all; }
.meldung-leise[data-passkey-meldung] { color: var(--gefahr); }

/* Ich-komme-Stand in der Terminliste: Vereinsfarbe voll statt Ampelgrün (Wahl B, 07.11.2026). */
.stand-zu.stand-verein { color: var(--auf-loden); background: var(--loden); }

/* Aufgaben (Plan Aufgaben 07.11.2026, Block 2): Fortschritt je Person, Fristgruppen, Fächer im Fenster. */
.fortschritt { display: block; box-sizing: border-box; width: calc(100% - 32px); height: 6px; margin: 4px 16px 0; padding: 0; border: 0; border-radius: 3px; background: var(--zweit); overflow: hidden; appearance: none; -webkit-appearance: none; }
.fortschritt::-webkit-progress-bar { background: var(--zweit); }
.fortschritt::-webkit-progress-value { background: var(--loden); }
.fortschritt::-moz-progress-bar { background: var(--loden); }
.tk-text small.ueberfaellig { color: var(--gefahr); font-weight: 700; }
.aufgaben-frist { padding-bottom: 8px; }
.aufgaben-frist .tk-posten { margin: 0 16px; }
.fach-zeile { display: flex; align-items: center; gap: 12px; min-height: 48px; border-bottom: 1px solid var(--haar); }
.fach-zeile form { margin: 0; }
.fach-text { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: var(--s-15); }
.fach-erledigt .fach-text { color: var(--leise); text-decoration: line-through; }
.fach-zeile .zeichenknopf { border-radius: 50%; }
.fach-zeile:not(.fach-erledigt) .fach-haken .nav-zeichen { opacity: 0.3; }
.fach-erledigt .fach-haken .zeichenknopf { background: var(--loden); border-color: var(--loden); color: var(--auf-loden); }

/* Wartungsstreifen im Betreiberbereich (09.11.2026): fest oben, Warnfarbe, auf jeder Seite, solange eine Wartung läuft. */
.wartungsstreifen { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--gefahr); color: var(--gefahr-schrift); line-height: 1.3; }
.wartungsstreifen-punkt { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--gefahr-schrift); animation: wartungspuls 1.6s ease-in-out infinite; }
.wartungsstreifen-text { margin: 0; display: flex; flex-direction: column; flex: 1; min-width: 0; font-size: calc(15px * var(--schriftmass)); }
.wartungsstreifen-text b { font-size: calc(16px * var(--schriftmass)); }
.wartungsstreifen form { margin: 0; flex: none; }
.wartungsstreifen .pille { border-color: var(--gefahr-schrift); color: var(--gefahr-schrift); background: none; }
@keyframes wartungspuls { 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) { .wartungsstreifen-punkt { animation: none; } }

/* Folgeseiten (x-folgeseiten): Seitenzahlen und Anzahl je Seite unter jeder Liste, ein Baustein für alle Listen. */
.folgeseiten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding: 16px; }
.folgeseiten-seiten { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.folgeseiten-seite, .folgeseiten-schritt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    border-radius: 22px;
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
    color: var(--tinte);
    text-decoration: none;
}
.folgeseiten-seite:hover, .folgeseiten-schritt:hover { background: var(--zweit); }
.folgeseiten-seite.ist { background: var(--loden); color: var(--auf-loden); }
.folgeseiten-ruhe { min-width: 24px; text-align: center; color: var(--leise); }
.folgeseiten-schritt { border: 1px solid var(--linie); }
.folgeseiten-schritt .nav-zeichen { width: 22px; height: 22px; }
.folgeseiten-anzahl { display: flex; align-items: center; gap: 8px; margin: 0; }
.folgeseiten-anzahl select {
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--linie);
    border-radius: 21px;
    background: var(--flaeche);
    color: var(--tinte);
    font: 600 var(--s-15) "Source Sans 3", system-ui, sans-serif;
}

/* Auswahlfelder mit Vorschlägen (x-katalog): Vorschläge und Gewähltes sind Chips wie bei Reitern und Optionen. */
.katalog-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; padding: 0; }
.katalog-liste:not(.ist-offen) { display: none; }
.katalog-liste li { display: inline-flex; }
.katalog-liste li[hidden] { display: none; }
.katalog-eintrag {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--linie);
    border-radius: 20px;
    background: var(--flaeche);
    color: var(--tinte);
    font: 500 var(--s-14) "Source Sans 3", system-ui, sans-serif;
    cursor: pointer;
}
.katalog-eintrag:hover { background: var(--ton-flaeche); }
.katalog-eintrag:focus-visible, .katalog-weg:focus-visible { outline: 3px solid var(--loden); outline-offset: 2px; }
.katalog-gewaehlt { display: flex; flex-wrap: wrap; gap: 8px; }
.katalog-gewaehlt:not(:empty) { margin-top: 8px; }
.katalog-wahl {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 40px;
    padding: 0 4px 0 14px;
    border: 1px solid var(--ton-flaeche-stark);
    border-radius: 20px;
    background: var(--ton-flaeche-stark);
    color: var(--tinte);
    font-size: var(--s-14);
    font-weight: 600;
}
.katalog-weg {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: none;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Vereinsbuch nach Figma „Echt“ (gemessen 12.11.2026; Handy 32:1265, 50:1819, 38:462; Schreibtisch 32:1271, 50:1497, 50:1673, 50:1921) ----------
   Gilt nur unter .vb. Werte aus den Figma-Rahmen abgelesen, nicht geschätzt: Bedienelemente 48 hoch, Ecken 4, Text 17/24 fett;
   Auswahl = helle Vereinsfläche mit Rand in der Hauptfarbe; Rand am Handy 20. */
.vb .nur-tisch, .vb .nur-tisch-block { display: none; }
.vb { display: flex; flex-direction: column; padding-bottom: var(--abstand-16); }
.vb > * { min-width: 0; }
.vb .vb-knopf {
    gap: var(--abstand-8);
    min-height: var(--hoehe-bedien);
    padding: 0 var(--abstand-12);
    border-radius: var(--radius-feld);
    font: 700 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif;
}
.vb .knopf-still.vb-knopf { border-color: var(--linie); background: var(--flaeche); color: var(--tinte); }
.vb .vb-knopf .nav-zeichen { width: 20px; height: 20px; }
.vb .vb-knopf-haupt { border: 0; background: var(--loden); color: var(--auf-loden); }
.vb .vb-knopf:disabled { opacity: 0.45; cursor: default; }
/* Band 136 hoch: Titel Bitter 34 bei 18, Zahl 17 bei 72, Messingfaden 1 px bei 118, 20 eingerückt. */
/* Der Faden hängt am unteren Rand (17 über dem Ende, bei einzeiligem Titel genau bei 118), damit er bei zweizeiligem Titel mitwandert. */
.vb-band { position: relative; min-height: 136px; padding: 18px 20px 40px; background: var(--band); color: var(--auf-band); }
.vb-band::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 17px; height: 1px; background: var(--messing); }
.vb-titel { margin: 0; font: 700 var(--f-34)/calc(41px * var(--schriftmass)) "Bitter Pro", serif; }
.vb-titel-das { display: none; }
.vb-zahl { margin: 13px 0 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
/* Reiter 56 hoch, Feld 168 breit, Wort 12 eingerückt; aktiv fett mit Messing 3 px, sonst leise. */
.vb-reiter { gap: 10px; margin: 0 20px; border-bottom: 1px solid var(--linie); }
.vb-reiter .reiter-feld { flex: 0 1 168px; min-width: 0; min-height: 56px; padding: 16px 12px 16px; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); font-weight: 400; text-align: left; color: var(--leise); }
.vb-reiter .reiter-feld[aria-current="page"] { font-weight: 700; color: var(--tinte); }
.vb-reiter .reiter-feld[aria-current="page"]::after { left: 0; bottom: -1px; width: 100%; height: 3px; margin-left: 0; border-radius: 0; background: var(--messing); }
/* Schnellfilter 100 / 80 / 154 bei 20 unter den Reitern, Filter 134 und Werkzeuge 204 bei 16 darunter. */
.vb-werkzeugzeile { display: grid; gap: var(--abstand-16); padding: 20px 20px 0; }
.vb-werkzeugknoepfe { display: grid; grid-template-columns: minmax(0, 134fr) minmax(0, 204fr); gap: var(--abstand-12); }
.vb-darstellungszeile { display: none; }
.vb-schnell { display: flex; gap: var(--abstand-8); }
.vb-schnell .vb-schnell-feld { flex: none; justify-content: center; padding: 0; }
.vb-schnell .vb-schnell-feld:nth-child(1) { width: 100px; }
.vb-schnell .vb-schnell-feld:nth-child(2) { width: 80px; }
.vb-schnell .vb-schnell-feld:nth-child(3) { width: 154px; }
.vb-schnell-feld {
    display: inline-flex;
    align-items: center;
    min-height: var(--hoehe-bedien);
    padding: 0 var(--abstand-16);
    border: 1px solid var(--linie);
    border-radius: var(--radius-feld);
    background: var(--flaeche);
    color: var(--tinte);
    font-size: var(--f-17);
    line-height: calc(24px * var(--schriftmass));
    font-weight: 700;
    text-decoration: none;
}
.vb-schnell-feld.ist-aktiv { border-color: var(--loden); background: var(--verein-flaeche); }
.vb-schnell-feld:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
/* Filterstand (50:1819): Fläche 48 hoch, 16 unter den Knöpfen, „Filter: …“ fett bei 12, „Aufheben“ 112 rechts. */
.vb-filterstand { display: flex; align-items: center; gap: var(--abstand-12); min-height: var(--hoehe-bedien); margin: var(--abstand-16) 20px 0; padding: 0 0 0 var(--abstand-12); border-radius: var(--radius-feld); background: var(--verein-flaeche); }
.vb-filterstand-satz { flex: 1; min-width: 0; margin: 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); font-weight: 700; color: var(--tinte); }
.vb-filterstand .nur-mobil { width: 112px; }
/* Hauptaktion (32:1964): Leiste 72 hoch über der Fußleiste, Linie oben 20 eingerückt, Knopf 48 in der Hauptfarbe. */
.vb-anlegen { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 2; order: 1; margin: 0; padding: 12px 20px; background: var(--flaeche); }
.vb-anlegen::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--linie); }
.vb-anlegen .vb-knopf { width: 100%; }
/* Am Listenende sitzt die Leiste wie in Figma (32:1964) direkt auf der Fußleiste: kein Platz für einen schwebenden Knopf darunter. */
@media (max-width: 1119px) {
    .app:has(> .haupt > .vb > .vb-anlegen:not(.nur-tisch-block)) { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .haupt:has(> .vb > .vb-anlegen:not(.nur-tisch-block)), .vb:has(> .vb-anlegen:not(.nur-tisch-block)) { padding-bottom: 0; }
}
/* Listenzeile (32:1929): 84 hoch, 20 vom Rand, Text 16 eingerückt; Name 20/28 fett bei 6, Nebenzeile und „seit …“ 15/21 leise bei 35 und 59;
   Trennlinie --haar 16 eingerückt; am Handy kein Pfeil. */
.vb-liste { margin: var(--abstand-16) 20px 0; padding: 0; list-style: none; }
.vb .vb-zeile { position: relative; align-items: center; gap: var(--abstand-4); min-height: 84px; padding: 6px 16px 3px; border-bottom: 0; }
.vb .vb-zeile::before { content: ""; position: absolute; left: 16px; right: 16px; bottom: 0; height: 1px; background: var(--haar); }
.vb .vb-zeile:hover { background: var(--ton-flaeche); }
.vb .vb-pfeil { display: none; width: 20px; height: 20px; color: var(--tinte); }
.vb-name { display: block; font-size: var(--f-20); line-height: calc(28px * var(--schriftmass)); font-weight: 700; color: var(--tinte); overflow-wrap: anywhere; }
.vb-neben { display: block; margin-top: 1px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-seit { display: block; margin-top: 3px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-zeile .zeile-stand { margin-top: var(--abstand-4); }
/* Mehrfachauswahl am Handy (38:462): Haken 24 bei 18 von oben, Name bei 40, Zeile 88, Linie ab 40. */
.vb-eintrag.mit-haken .haken { align-items: flex-start; gap: var(--abstand-16); min-height: 88px; border-bottom: 0; cursor: pointer; }
.vb-eintrag.mit-haken .haken > input { flex: none; margin-top: 18px; }
.vb-eintrag.mit-haken .haken > span { flex: 1; min-width: 0; }
.vb-eintrag.mit-haken .vb-zeile { min-height: 88px; padding: 6px 0 4px; }
.vb-eintrag.mit-haken .vb-zeile::before { left: 0; right: 0; }
.vb-eintrag.mit-haken .vb-name { font-size: var(--f-19); }
.vb-eintrag.mit-haken .vb-seit { margin-top: 4px; }
.vb-eintrag.mit-haken .vb-zeile:hover { background: none; }
/* Haken (38:462): 24, weiß mit Rand --linie, Ecke 3; angekreuzt Hauptfarbe mit weißem Haken. */
.vb .haken input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    display: inline-grid;
    place-content: center;
    flex: none;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1px solid var(--linie);
    border-radius: 3px;
    background: var(--flaeche);
    cursor: pointer;
}
.vb .haken input[type="checkbox"]:checked { border-color: var(--loden); background: var(--loden); }
.vb .haken input[type="checkbox"]:checked::after { content: "✓"; color: var(--auf-loden); font: 700 calc(16px * var(--schriftmass))/1 "Source Sans 3", system-ui, sans-serif; }
.vb .haken input[type="checkbox"]:indeterminate { border-color: var(--loden); background: var(--loden); }
.vb .haken input[type="checkbox"]:indeterminate::after { content: "–"; color: var(--auf-loden); font: 700 calc(16px * var(--schriftmass))/1 "Source Sans 3", system-ui, sans-serif; }
.vb .haken input[type="checkbox"]:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.vb-rechts, .vb-tabelle { display: none; }
/* Kein Treffer (62:915): Suchzeile 24 unter Filter und Werkzeugen, Rand 20 wie die Liste. */
.vb-links > .leer-haupt { margin: var(--abstand-24) 20px 0; }
/* Seitenwechsel (38:379): 20 unter der Liste, „Seite 1 von 3“ 15 leise, „Weiter“ 128 × 48 ohne Zeichen. */
.seitenwechsel { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--abstand-12); padding: 20px 20px var(--abstand-12); }
.seitenwechsel-stand { margin: 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.seitenwechsel-knoepfe { display: flex; gap: var(--abstand-8); }
.seitenwechsel .vb-knopf { min-width: 128px; }
.seitenwechsel-pfeil { display: none; }
.seitenwechsel-anzahl { display: flex; align-items: center; gap: var(--abstand-8); width: 100%; font-size: var(--f-15); color: var(--leise); }
.seitenwechsel-anzahl select { min-height: 44px; padding: 0 10px; border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte); font: inherit; }
/* Unterseiten (Figma 32:1262 Werkzeuge, 38:391 Filter, 38:420 Spalten, 38:478 Ausgabe; Handy 390):
   Rückweg 48 bei 20, Titel Bitter 30 bei 100, Satz 17 leise bei 146, Messingfaden 20 darunter, Inhalt 28 darunter; Rand 20. */
.vb-unter { padding: 20px 20px 96px; }
.rueckleiste { display: flex; align-items: center; justify-content: center; gap: var(--abstand-8); min-height: var(--hoehe-bedien); padding: 0 var(--abstand-12); border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte); font: 700 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; text-decoration: none; }
.rueckleiste .nav-zeichen { width: 20px; height: 20px; }
.vb-unter-titel { margin: 32px 0 0; font: 700 var(--f-30)/calc(36px * var(--schriftmass)) "Bitter Pro", serif; color: var(--tinte); }
.vb-unter-satz { margin: 10px 0 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--leise); }
/* Nur „Werkzeuge“ trägt den Messingfaden (32:2082); Filter, Spalten und Ausgabe nicht. */
.vb-unter-satz.mit-faden { padding-bottom: 20px; border-bottom: 1px solid var(--messing); }
/* Titelgrößen je Rahmen: Werkzeuge und Spalten 30, Filter 28 (38:552), Ausgabe 24 (38:738). */
.vb-unter-titel.titel-28 { font-size: var(--f-28); line-height: calc(34px * var(--schriftmass)); }
.vb-unter-titel.titel-24 { font-size: var(--f-22); line-height: calc(29px * var(--schriftmass)); }
.vb-unter-titel.titel-28 + .vb-unter-satz { margin-top: 12px; }
.vb-unter-titel.titel-24 + .vb-unter-satz { margin-top: 19px; }
.vb-unter-hinweis { margin: 34px 0 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
/* Werkzeugkarte (32:2091): 88 hoch, Rand --linie, Ecke 4; Zeichen 24 bei 16/20, Titel 19 fett bei 56/14, Satz 15 leise, Pfeil 18 rechts. */
.werkzeuge { display: grid; gap: var(--abstand-16); margin-top: 28px; }
.werkzeuge-abstand { margin-top: 28px; }
.werkzeug {
    display: flex;
    align-items: flex-start;
    gap: var(--abstand-16);
    width: 100%;
    min-height: 88px;
    padding: 13px 15px 13px 15px;
    border: 1px solid var(--linie);
    border-radius: var(--radius-feld);
    background: var(--flaeche);
    color: var(--tinte);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.werkzeug:hover { background: var(--ton-flaeche); }
.werkzeug:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.werkzeug-zeichen { flex: none; width: 24px; height: 24px; margin-top: 6px; }
.werkzeug-text { flex: 1; min-width: 0; }
.werkzeug-wort { display: block; font-size: var(--f-19); line-height: calc(27px * var(--schriftmass)); font-weight: 700; }
.werkzeug-neben { display: block; margin-top: 4px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.werkzeug-pfeil { flex: none; width: 18px; height: 18px; margin-top: 5px; }
/* Ausgabe (38:744): Karten 72 hoch, Titel 17 fett bei 10, Satz 15 bei 38, Pfeil 20 mittig. */
form.werkzeuge .werkzeug { align-items: center; min-height: 72px; padding-top: 9px; padding-bottom: 9px; }
form.werkzeuge .werkzeug-zeichen, form.werkzeuge .werkzeug-pfeil { margin-top: 0; }
form.werkzeuge .werkzeug-wort { font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
form.werkzeuge .werkzeug-pfeil { width: 20px; height: 20px; }
/* Filter (38:391): Bezeichnung 17 fett, 6 darüber das Feld 48 hoch mit Wert 17 bei 14 und Pfeil 20 rechts; 22 zum nächsten. */
.vb-formular { display: grid; gap: 6px; margin-top: 38px; }
.vb-formular label { margin-top: 16px; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); font-weight: 700; color: var(--tinte); }
.vb-formular label:first-of-type { margin-top: 0; }
.vb-formular select {
    appearance: none;
    -webkit-appearance: none;
    min-height: var(--hoehe-bedien);
    padding: 0 44px 0 13px;
    border: 1px solid var(--linie);
    border-radius: var(--radius-feld);
    background: var(--flaeche) url("/zeichen/weiter.svg") no-repeat right 13px center / 20px 20px;
    color: var(--tinte);
    font: var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif;
    width: 100%;
    margin: 0;
}
.vb-formular select:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.vb-formular-fuss { display: grid; grid-template-columns: minmax(0, 148fr) minmax(0, 190fr); gap: var(--abstand-12); margin-top: 54px; }
.vb-formular-fuss .vb-knopf { width: 100%; }
.vb-formular .vb-unter-hinweis { margin-top: 28px; }
/* Spalten (38:420): Zeile 52, Haken 24 bei 14, Wort 17 bei 40, „Immer sichtbar“ 15 leise rechts, Linie ab 40; Fuß 128 / 210. */
.vb-formular:has(.vb-haken-liste) { margin-top: 26px; }
.vb-haken-liste { margin: 0; padding: 0; list-style: none; }
.vb-haken-liste > li { position: relative; }
.vb-haken-liste > li::after { content: ""; position: absolute; left: 40px; right: 0; bottom: 0; height: 1px; background: var(--haar); }
.vb-haken-liste .haken { gap: var(--abstand-16); min-height: 52px; border-bottom: 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
.vb-haken-fest { display: flex; align-items: center; gap: var(--abstand-16); min-height: 52px; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
.vb-haken-fest .nebensache { margin-left: auto; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-haken-fix { display: inline-grid; place-content: center; flex: none; width: 24px; height: 24px; border-radius: 3px; background: var(--loden); color: var(--auf-loden); font-weight: 700; }
.vb .vb-formular label.haken { margin-top: 0; font-weight: 400; }
.vb-formular:has(.vb-haken-liste) .vb-unter-hinweis { margin-top: 32px; }
.vb-formular:has(.vb-haken-liste) .vb-formular-fuss { grid-template-columns: minmax(0, 128fr) minmax(0, 210fr); margin-top: 35px; }
/* Ausgabeumfang (38:740): Fläche 132, „AUSGABEUMFANG“ 14 halbfett bei 16/12, Umfang 17 bei 40, Herkunft 15 leise bei 100. */
.vb-umfang { margin-top: 36px; padding: 12px 16px 11px; border-radius: var(--radius-feld); background: var(--verein-flaeche); }
.vb-umfang-wort { margin: 0; font-size: var(--f-14); line-height: calc(20px * var(--schriftmass)); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--leise); }
.vb-umfang-zahl { margin: 8px 0 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--tinte); }
.vb-umfang-filter { margin: 12px 0 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-umfang + .werkzeuge, .vb-umfang + form.werkzeuge { margin-top: 24px; }
/* Auswahlband am Handy (38:462): 20 unter den Reitern, Fläche 104 hoch; „2 gewählt“ fett bei 12/12, „Fertig“ 108 rechts bei 4,
   Haken bei 12/64 mit „Alle 50 auswählen“; darunter Erklärung 15 leise, „Ausgabe: …“ 17, Tabelle und PDF je halbe Breite. */
.vb-auswahlband { display: grid; grid-template-columns: minmax(0, 1fr) 108px; align-items: start; column-gap: var(--abstand-12); min-height: 104px; margin: 20px 20px 0; padding: 4px 4px 0 12px; border-radius: var(--radius-feld); background: var(--verein-flaeche); }
.vb-auswahl-kopf { min-width: 0; padding-top: 8px; }
.vb-auswahl-zahl { margin: 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); font-weight: 700; color: var(--tinte); }
.vb-auswahl-hinweis { margin: 4px 0 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-auswahlband > .vb-knopf { grid-column: 2; grid-row: 1; }
.vb-auswahlband .haken { grid-column: 1 / -1; gap: var(--abstand-12); min-height: 48px; border-bottom: 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
.vb-auswahl-erklaerung { margin: var(--abstand-16) 20px 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.vb-auswahl-knoepfe { display: grid; grid-template-columns: 1fr 1fr; gap: var(--abstand-12); margin: var(--abstand-16) 20px 0; }
.vb-umfang-satz { margin: 18px 20px 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--tinte); }
.vb.vb-auswahlmodus .vb-liste { margin-top: 24px; }
.vb.vb-auswahlmodus .vb-unter-hinweis { margin: var(--abstand-16) 20px 0; }
.vb-auswahl-liste .vb-auswahl-zeile { border-bottom: 1px solid var(--haar); }
.vb-auswahl-liste .haken { align-items: center; min-height: 72px; padding: 8px 0; border-bottom: 0; }

/* Schreibtisch ab 1120 (Figma 1440: Arbeitsfläche 1120). */
@media (min-width: 1120px) {
    .vb .nur-tisch { display: inline-flex; }
    .vb .nur-tisch-block { display: block; }
    .vb .vb-auswahl-knoepfe.nur-tisch-block { display: grid; }
    .vb .nur-mobil, .vb .nur-mobil-block { display: none; }
    .vb { position: relative; padding-bottom: var(--abstand-40); }
    /* Titel Bitter 36 auf Weiß, Zahl 17 leise bei 54; „Person hinzufügen“ bzw. „Fertig“ 240 rechts bei 4. */
    .vb-band { min-height: 0; padding: 0 280px 0 0; background: none; color: var(--tinte); }
    .vb-band::after { display: none; }
    .vb-titel { font-size: var(--f-36); line-height: calc(46px * var(--schriftmass)); }
    .vb-titel-das { display: inline; }
    .vb-zahl { margin-top: 8px; color: var(--leise); }
    .vb-anlegen { position: absolute; top: 4px; right: 0; bottom: auto; width: 240px; min-width: max-content; padding: 0; background: none; }
    .vb-anlegen::before { display: none; }
    /* Reiter bei 104, Linie über die volle Breite. */
    .vb-reiter { margin: 26px 0 0; }
    /* Schnellfilter bei 184; Filter 184 und Werkzeuge 200 rechts, Abstand 16. */
    .vb-werkzeugzeile { display: flex; justify-content: space-between; align-items: center; gap: var(--abstand-16); padding: 24px 0 0; }
    .vb-werkzeugknoepfe { grid-template-columns: 184px 200px; gap: var(--abstand-16); }
    /* Umschalter Liste | Tabelle 272 × 48 bei 256, daneben der Satz 15 leise bei 296. */
    .vb-darstellungszeile { display: flex; align-items: center; gap: var(--abstand-24); margin-top: var(--abstand-24); }
    .vb-darstellung { display: flex; }
    .vb-darstellung .vb-schnell-feld { width: 136px; justify-content: center; padding: 0; font-weight: 400; color: var(--leise); }
    .vb-darstellung .vb-schnell-feld + .vb-schnell-feld { margin-left: -1px; }
    .vb-darstellung .vb-schnell-feld:first-child { border-radius: 4px 0 0 4px; }
    .vb-darstellung .vb-schnell-feld:last-child { border-radius: 0 4px 4px 0; }
    .vb-darstellung .vb-schnell-feld.ist-aktiv { position: relative; border-color: var(--linie); background: var(--verein-flaeche); font-weight: 700; color: var(--tinte); }
    .vb-darstellung-satz { margin: 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
    /* Filterstand (50:1497): volle Breite bei 328, „Filter zurücksetzen“ 220 rechts; Liste 16 darunter. */
    .vb-filterstand { margin: var(--abstand-24) 0 0; }
    .vb-filterstand .nur-tisch { width: 220px; }
    /* Liste 688 breit, Kurzansicht 400 rechts, Abstand 32; Liste 24 unter der letzten Zeile darüber. */
    .vb-arbeit { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: var(--abstand-32); align-items: start; margin-top: var(--abstand-24); }
    .vb-filterstand + .vb-arbeit, .vb-filterstand ~ .vb-arbeit { margin-top: var(--abstand-16); }
    .vb-arbeit.ist-tabelle { grid-template-columns: minmax(0, 1fr); }
    .vb-arbeit.ist-tabelle .vb-links, .vb-arbeit.ist-tabelle .vb-rechts { display: none; }
    .vb-arbeit.ist-tabelle .vb-tabelle { display: block; }
    /* Zeile 84: Name 19 fett bei 24/16, Nebenzeile 17 leise bei 47, Datum 15 leise bei 492 (156 breit), Pfeil 20 bei 652;
       Linie --haar von 24 bis 664; gewählt: helle Vereinsfläche mit Messingkante 4 links. */
    .vb-liste { margin: 0; }
    .vb-links > .leer-haupt { margin: 0; }
    .vb .vb-zeile { gap: var(--abstand-4); padding: 16px 16px 13px 24px; }
    .vb .vb-zeile::before { left: 24px; right: 24px; }
    .vb .vb-zeile.ist-gewaehlt { background: var(--verein-flaeche); box-shadow: inset 4px 0 0 var(--messing); }
    .vb .vb-pfeil { display: inline-block; align-self: center; }
    .vb-zeile .zeile-text { display: grid; grid-template-columns: minmax(0, 1fr) 156px; align-items: center; }
    .vb-zeile .vb-name { grid-column: 1; font-size: var(--f-19); line-height: calc(27px * var(--schriftmass)); }
    .vb-zeile .vb-neben { grid-column: 1; margin-top: 4px; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); }
    .vb-zeile .zeile-stand { grid-column: 1; }
    .vb-zeile .vb-seit { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
    .vb-seit-wort { display: none; }
    /* Mehrfachauswahl am Schreibtisch (50:1673): Haken 24 bei 24, Name bei 64, angekreuzte Zeile helle Vereinsfläche; Pfeil bleibt. */
    .vb-eintrag.mit-haken .haken { align-items: center; gap: 0; min-height: 84px; padding-left: 24px; }
    .vb-eintrag.mit-haken .haken > input { margin-top: 0; }
    .vb-eintrag.mit-haken .vb-zeile { min-height: 84px; padding: 16px 16px 13px 16px; }
    .vb-eintrag.mit-haken .vb-zeile::before { left: 16px; right: 24px; }
    .vb-eintrag.mit-haken .vb-name { font-size: var(--f-19); }
    .vb-eintrag.mit-haken .vb-seit { margin-top: 0; }
    .vb-eintrag.mit-haken:has(:checked) { background: var(--verein-flaeche); }
    .vb-eintrag.mit-haken:has(.ist-gewaehlt) { box-shadow: inset 4px 0 0 var(--messing); }
    .vb-eintrag.mit-haken .vb-zeile.ist-gewaehlt { background: none; box-shadow: none; }
    /* Auswahlband (50:1673): volle Breite bei 184, 88 hoch; „2 gewählt“ 19 fett bei 24/12, Satz 15 leise bei 46;
       Haken bei 440 mit „Alle 50 · alle Seiten“; Tabelle 168 bei 728, PDF 184 bei 912, je bei 20. */
    .vb-auswahlband { display: flex; align-items: center; gap: 0; min-height: 88px; margin: 26px 0 0; padding: 0 24px; }
    .vb-auswahl-kopf { flex: 0 0 416px; padding: 0; }
    .vb-auswahl-zahl { font-size: var(--f-19); line-height: calc(27px * var(--schriftmass)); }
    .vb-auswahl-hinweis { margin-top: 7px; }
    .vb-auswahlband .haken { flex: 1; min-width: 0; }
    .vb-auswahlband .vb-auswahl-knoepfe { grid-template-columns: 168px 184px; gap: var(--abstand-16); margin: 0; }
    .vb-umfang-satz { margin: var(--abstand-24) 0 0; }
    .vb.vb-auswahlmodus .vb-arbeit { margin-top: var(--abstand-24); }
    .vb.vb-auswahlmodus .vb-liste { margin-top: 0; }
    .vb.vb-auswahlmodus .vb-unter-hinweis { margin: var(--abstand-16) 0 0; }
    /* Kurzansicht (32:1271): 400 breit, Rand --linie, Ecke 6, Messing 3 oben; „MITGLIED“ 14 halbfett Messing bei 23/27,
       Name Bitter 28 bei 61, Angaben je 62 Abstand (Bezeichnung 15 leise bei 23, Wert 17 bei 179), Knopf 352 bei 333. */
    .vb-rechts { display: block; }
    .vb-karte { padding: 24px 22px 28px; border: 1px solid var(--linie); border-top: 3px solid var(--messing); border-radius: var(--radius-karte); background: var(--flaeche); }
    .vb-karte-art { margin: 0; font-size: var(--f-14); line-height: calc(20px * var(--schriftmass)); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--messing); }
    .vb-karte-name { margin: 14px 0 0; font: 700 var(--f-28)/calc(34px * var(--schriftmass)) "Bitter Pro", serif; color: var(--tinte); overflow-wrap: anywhere; }
    .vb-karte-angaben { display: grid; grid-template-columns: 156px minmax(0, 1fr); align-items: baseline; row-gap: 38px; margin: 26px 0 64px; }
    .vb-karte-angaben dt { font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
    .vb-karte-angaben dd { margin: 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--tinte); }
    .vb-karte .vb-knopf { width: 100%; }
    /* Tabelle (50:1921): Rahmen --linie, Ecke 8; Kopf 52 hoch helle Vereinsfläche, 14 halbfett; Zeilen 84, Name 19 fett, sonst 17. */
    .vb-tabelle .listenlauf { border: 1px solid var(--linie); border-radius: var(--radius-knopf); overflow: hidden; }
    .vb-tabelle .liste th { height: auto; padding: 16px 12px; background: var(--verein-flaeche); color: var(--tinte); font-size: var(--f-14); line-height: calc(20px * var(--schriftmass)); font-weight: 600; }
    .vb-tabelle .liste td { height: 84px; padding: 0 12px; border-top: 1px solid var(--haar); font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--tinte); vertical-align: middle; }
    .vb-tabelle .liste tr > :first-child { padding-left: 24px; }
    .vb-tabelle .liste tr > :last-child { padding-right: 24px; }
    .vb-tabelle .liste .zeilentitel { font-size: var(--f-19); font-weight: 700; }
    .vb-tabelle .liste .kreis-kuerzel { display: none; }
    .vb-tabelle .liste th .listensort { min-height: 0; padding: 0; line-height: calc(20px * var(--schriftmass)); }
    .vb-tabelle .vereinsbuch-seit { white-space: nowrap; }
    /* Seitenwechsel (32:1271): „Seite 1 von 3 · 20 Personen je Seite“ 15 leise, „Weiter“ 128 mit Pfeil hinter dem Wort, rechts. */
    .seitenwechsel { padding: var(--abstand-24) 0 0; }
    .seitenwechsel-pfeil { display: inline-block; width: 20px; height: 20px; }
    /* Unterseiten (Werkzeuge, Filter, Spalten, Ausgabe) nach Figma-Übergabe 12.11.2026, Notiz an 32:1263: links an der
       Inhaltskante (x 280), höchstens 1120 breit, 32 unter dem Kopfband „Zurück“ (48), darunter der Titel mit 24 Abstand. */
    .vb-unter { max-width: 1120px; margin: 0; padding: 0 0 40px; }
    .vb-unter-titel { margin-top: 24px; }
}

/* ---------- Personpflege nach Figma „Echt“ P01–P20 (12.11.2026) ----------
   Maße aus der Vermessung /mnt/project-files/figma/personpflege-bau/vermessung-p01-p20.md.
   Inhaltsspalte 1120 am Schreibtisch, 350 am Handy; zwischen allen Teilen abstand/24.
   .pp ist die Personenseite, .fenster.fenster-seite das Pflegefenster als ganze Seite (Fensterkopf „Vereinsbuch | Schließen“). */
html {
    --f-26: calc(26px * var(--schriftmass));
    --f-30: calc(30px * var(--schriftmass));
    --f-32: calc(32px * var(--schriftmass));
}
.pp,
.fenster.fenster-seite .fenster-koerper { display: flex; flex-direction: column; gap: var(--abstand-24); max-width: 1120px; color: var(--tinte); font-size: var(--f-17); line-height: 1.4; }
.pp > *,
.fenster.fenster-seite .fenster-koerper > * { flex-shrink: 0; margin: 0; }
.pp-zeile { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-12); }
.pp-titel { margin: 0; font: 700 var(--f-32)/1.19 "Bitter Pro", serif; color: var(--tinte); overflow-wrap: anywhere; hyphens: auto; }
.pp-messing { height: 1px; border: 0; margin: 0; background: var(--messing); }
.pp-unterzeile { margin: 0; color: var(--leise); }
.pp-etikett { margin: 0; font-size: var(--f-14); font-weight: 600; line-height: 1.4; color: var(--leise); }
.pp-unter { margin: 0; font-size: var(--f-19); font-weight: 700; line-height: 1.4; }
.pp-leise { margin: 0; color: var(--leise); }
.pp-klein { margin: 0; font-size: var(--f-15); color: var(--leise); }
.pp-aktionen { display: flex; flex-wrap: wrap; gap: var(--abstand-12); }
.pp-register { display: flex; flex-wrap: wrap; gap: var(--abstand-8); }

/* Knopf (Figma 2.1): 48 hoch, Rand 16, Radius 4, Zeichen 20 */
.pp .knopf-haupt, .pp .knopf-still, .pp-vorzeile .knopf-still,
.fenster.fenster-seite .knopf-haupt, .fenster.fenster-seite .knopf-still {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--abstand-8);
    min-height: var(--hoehe-bedien); margin: 0; padding: 0 var(--abstand-16); border-radius: var(--radius-feld);
    font: 700 var(--f-17)/1.2 "Source Sans 3", system-ui, sans-serif; text-decoration: none; width: auto;
}
.pp .knopf-haupt, .fenster.fenster-seite .knopf-haupt { border: 0; background: var(--loden); color: var(--auf-loden); }
.pp .knopf-still, .pp-vorzeile .knopf-still, .fenster.fenster-seite .knopf-still { border: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte); }
.pp .knopf-gefahr, .fenster.fenster-seite .knopf-gefahr, .fenster.fenster-frage .knopf-gefahr { background: var(--gefahr); color: var(--gefahr-schrift); }
.pp .knopf-haupt .nav-zeichen, .pp .knopf-still .nav-zeichen, .pp-vorzeile .knopf-still .nav-zeichen,
.fenster.fenster-seite .knopf-haupt .nav-zeichen, .fenster.fenster-seite .knopf-still .nav-zeichen { width: 20px; height: 20px; }
.fenster.fenster-seite .zeichenknopf.knopf-still { width: var(--hoehe-bedien); padding: 0; border-radius: 0; }

/* Abschnitt der Personenseite (Figma 2.6) */
.pp-abschnitt { display: flex; flex-direction: column; gap: var(--abstand-16); padding-bottom: var(--abstand-16); border-bottom: 1px solid var(--haar); }
.pp-abschnitt-kopf { display: flex; align-items: center; gap: var(--abstand-12); min-height: 27px; }
.pp-abschnitt-kopf .pp-unter { flex: 1; min-width: 0; }
.pp-werte { display: flex; flex-direction: column; gap: var(--abstand-16); margin: 0; }
.pp-wert { display: flex; align-items: flex-start; gap: var(--abstand-16); }
.pp-wert dt { flex: none; width: 180px; color: var(--leise); }
.pp-wert dd { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }

/* Fenster als ganze Seite (Figma 2.3): Fensterkopf, Titel, Messinglinie */
.fenster.fenster-seite { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; border-radius: 0; background: var(--flaeche); }
.fenster.fenster-seite[open]::before { display: none; }
.fenster.fenster-seite .fenster-koerper { width: 100%; margin: 0 auto; padding: 40px 0 40px; box-sizing: border-box; }
.pp-fensterkopf { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-16); }
.pp-fensterkopf .pp-ort { margin: 0; color: var(--leise); }
.pp-fensteraktionen { display: flex; gap: var(--abstand-8); }
.fenster.fenster-seite .pp-nachweg { align-self: flex-start; }
.fenster.fenster-seite .knopf-haupt { display: inline-flex; margin: 0; }
.fenster.fenster-seite .knopf-still { margin: 0; }
.fenster.fenster-seite .formular { display: flex; flex-direction: column; gap: var(--abstand-24); }
.fenster.fenster-seite .formular-fuss { display: flex; flex-wrap: wrap; gap: var(--abstand-12); margin: 0; }
.fenster.fenster-seite .schreibhinweis { margin: 0; font-size: var(--f-17); color: var(--leise); }
.fenster.fenster-seite .feldhinweis { margin: 0; font-size: var(--f-15); color: var(--leise); }
.fenster.fenster-seite .pp-formzeile { display: grid; grid-template-columns: 1fr 1fr; gap: var(--abstand-24); align-items: start; }

/* Feld (Figma 2.7): Beschriftung über der Eingabe, 48 hoch, Radius 4 */
.fenster.fenster-seite .feld { display: flex; flex-direction: column; gap: var(--abstand-8); margin: 0; }
.fenster.fenster-seite .feld-zeile { display: flex; flex-direction: column; align-items: stretch; gap: var(--abstand-8); min-height: 0; padding: 0; border: 0; }
.fenster.fenster-seite .feld-name,
.fenster.fenster-seite label[data-b="auswahl"],
.fenster.fenster-seite .wahlfeld-titel { display: block; width: auto; margin: 0; font: 700 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif; color: var(--tinte); }
.fenster.fenster-seite .feld-name .punkt, .fenster.fenster-seite .wahlfeld-titel .punkt { display: none; }
.fenster.fenster-seite .feld-pflicht::after { content: " *"; }
.fenster.fenster-seite .feld-wert,
.fenster.fenster-seite select[data-b="auswahl"] {
    width: 100%; min-height: var(--hoehe-bedien); margin: 0; padding: 0 var(--abstand-12); box-sizing: border-box;
    border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte);
    font: 400 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif; text-align: left;
}
.fenster.fenster-seite textarea.feld-wert { min-height: 96px; padding: var(--abstand-12); resize: vertical; }
.fenster.fenster-seite .feld.ist-fehler .feld-name { color: var(--gefahr); }
.fenster.fenster-seite .feld.ist-fehler .feld-wert { border-color: var(--gefahr); }
.fenster.fenster-seite .feld.ist-fehler.ist-erster .feld-wert { border-width: 2px; }
.fenster.fenster-seite .feld-fehler { margin: 0; font-size: var(--f-15); color: var(--gefahr); }

/* Eingabe als Kasten (Figma 2.7). Die Auswahl muss die Fensterregel „.fenster input[data-b=feld]:not(…)“ übertreffen, daher derselbe Aufbau. */
.fenster.fenster-seite .feld { padding: 0; }
.fenster.fenster-seite input[data-b="feld"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.fenster.fenster-seite select[data-b="auswahl"],
.fenster.fenster-seite textarea[data-b="feld"] {
    width: 100%; min-height: var(--hoehe-bedien); margin: 0; padding: 0 var(--abstand-12); box-sizing: border-box;
    border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte);
    font: 400 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif;
}
.fenster.fenster-seite textarea[data-b="feld"] { min-height: 96px; padding: var(--abstand-12); }
.fenster.fenster-seite .feld.ist-fehler input[data-b="feld"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.fenster.fenster-seite .feld.ist-fehler textarea[data-b="feld"] { border-color: var(--gefahr); }
.fenster.fenster-seite .feld.ist-fehler.ist-erster input[data-b="feld"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.fenster.fenster-seite .feld.ist-fehler.ist-erster textarea[data-b="feld"] { border-width: 2px; }
.fenster.fenster-seite .feld-zeile,
.fenster.fenster-seite .feld-zeile:focus-within,
.fenster.fenster-seite .feld.ist-fehler .feld-zeile { margin: 0; padding: 0; border: 0; }
.fenster.fenster-seite input[data-b="feld"]:focus-visible,
.fenster.fenster-seite textarea[data-b="feld"]:focus-visible,
.fenster.fenster-seite select[data-b="auswahl"]:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
.fenster.fenster-seite .haken { border: 0; }

/* Wahlknöpfe (Figma 2.8) und Haken (2.9) */
.fenster.fenster-seite .wahlfeld { display: flex; flex-direction: column; gap: var(--abstand-8); margin: 0; }
.fenster.fenster-seite .wahlfeld-reihe { display: flex; flex-wrap: wrap; gap: var(--abstand-8); }
.fenster.fenster-seite .wahlfeld-reihe { display: flex; flex-wrap: nowrap; gap: var(--abstand-8); padding: 0; }
.fenster.fenster-seite .wahlfeld-punkt { display: flex; flex: 1 1 0; min-width: 0; margin: 0; }
.fenster.fenster-seite .wahlfeld-punkt span { flex: 1; width: 100%; }
.fenster.fenster-seite .wahlfeld-punkt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fenster.fenster-seite .wahlfeld-punkt span { display: flex; align-items: center; justify-content: center; min-height: var(--hoehe-bedien); padding: 0 var(--abstand-12); border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte); font-size: var(--f-17); font-weight: 700; }
.fenster.fenster-seite .wahlfeld-punkt input:checked + span { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.fenster.fenster-seite .wahlfeld-punkt input:checked + span::before { content: none; }
/* Viele Wahlknöpfe (ab fünf, z. B. Funktionen in der Verwaltung): umbrechen, Breite nach dem Wort. */
.fenster.fenster-seite .wahlfeld-reihe:has(> .wahlfeld-punkt:nth-child(5)) { flex-wrap: wrap; }
.fenster.fenster-seite .wahlfeld-reihe:has(> .wahlfeld-punkt:nth-child(5)) > .wahlfeld-punkt { flex: 0 1 auto; }
.fenster.fenster-seite .wahlfeld-punkt input:focus-visible + span { outline: 2px solid var(--tinte); outline-offset: 2px; }
.fenster.fenster-seite .wahlfeld-leer { margin: 0; color: var(--leise); }
.fenster.fenster-seite .haken { display: flex; align-items: center; gap: var(--abstand-12); min-height: var(--hoehe-bedien); margin: 0; font-size: var(--f-17); font-weight: 400; color: var(--tinte); }
.fenster.fenster-seite .haken input { width: 24px; height: 24px; margin: 0; border-radius: 3px; accent-color: var(--loden); }

/* Klappe (Figma 2.10): Rand, Radius 4, Pfeil nach unten rechts */
.fenster.fenster-seite .info-klapp { margin: 0; padding: var(--abstand-16); border: 1px solid var(--linie); border-radius: var(--radius-feld); }
.fenster.fenster-seite .info-klapp > .klapp-kopf { display: flex; align-items: center; gap: var(--abstand-12); min-height: 24px; padding: 0; font-size: var(--f-17); font-weight: 700; list-style: none; cursor: pointer; }
.fenster.fenster-seite .info-klapp > .klapp-kopf::-webkit-details-marker { display: none; }
.fenster.fenster-seite .info-klapp > .klapp-kopf::after { content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; background: currentColor; -webkit-mask: url("/zeichen/weiter.svg") center / contain no-repeat; mask: url("/zeichen/weiter.svg") center / contain no-repeat; transform: rotate(90deg); }
.fenster.fenster-seite .info-klapp[open] > .klapp-kopf::after { transform: rotate(-90deg); }
.fenster.fenster-seite .info-klapp[open] { display: flex; flex-direction: column; gap: var(--abstand-16); }
.fenster.fenster-seite .info-klapp[open] > .formular { gap: var(--abstand-16); }

/* Kasten-Meldung (Figma 2.11): Ampelgrund, Radius 6, Rand 16, Zeichen als Text */
.pp-kasten { margin: 0; padding: var(--abstand-16); border-radius: var(--radius-karte); font-size: var(--f-17); line-height: 1.4; }
.pp-kasten-ok { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.pp-kasten-fehler { background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.pp-kasten-neutral { background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.pp-kasten-ok::before { content: "✓ "; }
.pp-kasten-fehler::before { content: "! "; font-weight: 700; }

/* Rückfrage „Änderungen verwerfen?“ (Figma 2.12) */
.verwerfen-frage { width: 560px; max-width: calc(100vw - 40px); padding: var(--abstand-24); border: 0; border-radius: 12px; background: var(--flaeche); color: var(--tinte); }
.verwerfen-frage[open] { display: flex; flex-direction: column; gap: var(--abstand-24); }
.verwerfen-frage::backdrop { background: var(--zweit); }
.verwerfen-frage > * { margin: 0; }
.verwerfen-frage .pp-frage { font: 700 var(--f-26)/1.19 "Bitter Pro", serif; }
.verwerfen-frage .pp-entscheidung { display: flex; flex-direction: column; gap: var(--abstand-12); }
.verwerfen-frage .knopf-haupt { display: flex; width: 100%; min-height: var(--hoehe-bedien); margin: 0; border-radius: var(--radius-feld); font-size: var(--f-17); }
.verwerfen-frage .knopf-gefahr { background: var(--gefahr); color: var(--gefahr-schrift); }
/* Rückfrage-Fenster (x-fenster :frage, P09-Form, 13.11.2026): mittig über der Seite, 560 breit (Handy 350), Radius 12, Padding 24,
   Knöpfe untereinander in voller Breite. Der Schleier lässt die Seite darunter sehen. */
.fenster.fenster-frage[open], .fenster.fenster-frage[open].ist-da { inset: 0; width: 560px; max-width: calc(100vw - 40px); height: fit-content; max-height: calc(100dvh - 40px); margin: auto; overflow-y: auto; border-radius: 12px; transform: none; transition: none; }
.fenster.fenster-frage[open]::before { display: none; }
.fenster-frage .fenster-koerper { display: flex; flex-direction: column; gap: var(--abstand-24); padding: var(--abstand-24); }
.fenster-frage .fenster-koerper > * { margin: 0; }
.fenster-frage .pp-frage { font: 700 var(--f-26)/1.19 "Bitter Pro", serif; color: var(--tinte); }
.fenster-frage .feldhinweis { font-size: var(--f-17); color: var(--tinte); }
.fenster-frage .formular { display: flex; flex-direction: column; gap: var(--abstand-24); }
.fenster-frage .formular-fuss { display: flex; flex-direction: column; gap: var(--abstand-12); margin: 0; }
.fenster-frage .knopf-haupt, .fenster-frage .knopf-gefahr, .fenster-frage .knopf-still { display: flex; width: 100%; min-height: var(--hoehe-bedien); margin: 0; }
.fenster-frage .schreibhinweis { margin: 0; font-size: var(--f-15); color: var(--leise); }

/* Personenmenü (Figma 2.13) */
.pp-bereich { display: flex; align-items: center; gap: var(--abstand-12); width: 100%; min-height: 72px; padding: var(--abstand-12); box-sizing: border-box; border: 1px solid var(--haar); border-radius: 0; background: var(--flaeche); color: var(--tinte); font: 700 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif; text-align: left; text-decoration: none; cursor: pointer; }
.pp-bereich .nav-zeichen { flex: none; width: 20px; height: 20px; }
.pp-bereich-wort { flex: 1; min-width: 0; }

/* ---------- Kopf der Unterseiten (x-neu.seitenkopf) nach dem Detailmuster Figma „Echt“ P03/T2, 12.11.2026 ----------
   Rückweg als umrandeter Knopf 48 hoch, Radius 4; Titel Bitter 32 (Handy 30) mit Messinglinie; Satz 17 leise.
   Das „Menü“ der Hülle (.opt-knopf, float rechts) bekommt dieselbe Knopfform und steht neben dem Rückweg. */
.sk { padding: 16px 16px 0; }
.sk > * { margin: 0; }
.sk-leiste { display: flex; min-height: var(--hoehe-bedien); }
.sk .sk-zurueck {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--abstand-8); width: auto;
    min-height: var(--hoehe-bedien); margin: 0; padding: 0 var(--abstand-16); border: 1px solid var(--linie); border-radius: var(--radius-feld);
    background: var(--flaeche); color: var(--tinte); font: 700 var(--f-17)/1.2 "Source Sans 3", system-ui, sans-serif; text-decoration: none;
}
.sk .sk-zurueck .nav-zeichen { width: 20px; height: 20px; }
.sk .titel-gross { padding: 0; margin-top: var(--abstand-24); font: 700 var(--f-32)/1.19 "Bitter Pro", serif; color: var(--tinte); overflow-wrap: anywhere; hyphens: auto; }
.sk .sk-leiste + .titel-gross { clear: both; }
.sk:not(:has(.sk-leiste)) .titel-gross { margin-top: 0; }
.sk-messing { height: 1px; margin-top: var(--abstand-24); background: var(--messing); }
.sk .hinweis-leise { padding: 0; margin-top: var(--abstand-24); font-size: var(--f-17); line-height: 1.4; color: var(--leise); }
.haupt:has(> .sk) > .opt-knopf,
.haupt:has(> .pp-vorzeile) > .opt-knopf {
    gap: var(--abstand-8); min-height: var(--hoehe-bedien); margin: 16px 16px 0 8px; padding: 0 var(--abstand-16);
    border: 1px solid var(--linie); border-radius: var(--radius-feld); font: 700 var(--f-17)/1.2 "Source Sans 3", system-ui, sans-serif;
}
@media (max-width: 699px) {
    .sk { padding: 24px 20px 0; }
    .sk .titel-gross { font-size: var(--f-30); }
    .haupt:has(> .sk) > .opt-knopf,
    .haupt:has(> .pp-vorzeile) > .opt-knopf { margin: 24px 20px 0 8px; }
}
@media (min-width: 1120px) {
    .sk { padding: 0; }
    .haupt:has(> .sk) > .opt-knopf { margin-top: 0; margin-right: 0; }
}


/* Reiter im Datenschutz-Fenster (Figma 2.5) */
.fenster.fenster-seite .reiterleiste { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--abstand-8); margin: 0 0 var(--abstand-24); padding: 0; border: 0; }
.fenster.fenster-seite .reiter { min-height: var(--hoehe-bedien); margin: 0; border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte); font-size: var(--f-17); font-weight: 700; }
.fenster.fenster-seite .reiter.ist-an { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.fenster.fenster-seite .reiterblatt.ist-an { display: flex; flex-direction: column; gap: var(--abstand-24); padding: 0; }
.fenster.fenster-seite .reiterblatt > * { margin: 0; }
.fenster.fenster-seite .reiterkasten { display: flex; flex-direction: column; gap: 0; }
.fenster.fenster-seite .zuordnung-zeile { display: flex; flex-direction: column; gap: var(--abstand-16); margin: 0; padding: 0; border: 0; }
.fenster.fenster-seite .zuordnung-zeile-kopf { display: block; margin: 0; padding: 0; }
.fenster.fenster-seite .zuordnung-zeile-name { font-size: var(--f-19); font-weight: 700; line-height: 1.4; color: var(--tinte); }
.fenster.fenster-seite .zuordnung-zeile-zeit:empty { display: none; }
.pp-liste { display: flex; flex-direction: column; gap: var(--abstand-8); margin: 0; padding: 0 0 0 var(--abstand-24); }
.fenster.fenster-seite .katalog { display: flex; flex-direction: column; gap: var(--abstand-8); margin: 0; }
.fenster.fenster-seite .katalog > label { font-weight: 700; font-size: var(--f-17); color: var(--tinte); }
.fenster.fenster-seite .katalog-suche { min-height: var(--hoehe-bedien); padding: 0 var(--abstand-12); border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); font-size: var(--f-17); }

/* Karten (Figma 2.14) */
.pp-karte { display: flex; flex-direction: column; gap: var(--abstand-16); padding: var(--abstand-16); border: 1px solid var(--linie); border-radius: var(--radius-karte); }
.pp-karte > * { margin: 0; }
/* Detailseite mit dem „Menü“ der Hülle (Sitzung, 12.11.2026): Rückweg in einer eigenen Zeile neben dem schwebenden Knopf, die Seite beginnt darunter. */
.pp-vorzeile { display: flex; align-items: center; min-height: 52px; padding: 8px 0 0; }
.pp.pp-nach-vorzeile { clear: both; padding-top: var(--abstand-24); }
/* Personenseite am Schreibtisch nach Claude Design „Personenseite Desktop“ (Herbert, 13.11.2026): Bild 160 links neben dem Namen,
   darunter zwei Spalten — links Angaben, rechts Mitgliedschaft, Ehrungen, Funktionen. Bausteine wie bisher.
   Unter 1120 lösen sich Kopf und Spalten auf (display: contents); die Reihenfolge am Handy bleibt, das Bild steht dort nicht. */
.pp-kopf, .pp-kopf-text, .pp-links, .pp-rechts { display: contents; }
.pp-spalten { display: flex; flex-direction: column; gap: var(--abstand-24); }
/* Das Bild lädt erst, wenn es sichtbar ist (loading="lazy"); am Handy also gar nicht. */
.pp .pp-bild { display: none; }
/* „Datenschutz“ steht am Schreibtisch oben neben „Menü“, am Handy unten (Herbert, 13.11.2026). */
.pp .pp-nur-breit { display: none; }
@media (min-width: 1120px) {
    .pp-kopf { display: flex; align-items: flex-end; gap: 28px; }
    .pp-kopf-text { display: flex; flex: 1; min-width: 0; flex-direction: column; gap: var(--abstand-24); }
    .pp-kopf-text > * { margin: 0; }
    .pp .pp-bild { display: block; flex: none; width: 160px; height: 160px; border-radius: 10px; object-fit: cover; }
    /* Ohne Bild: dieselbe Fläche, Rand --linie, Wort leise in der Mitte; kein Schattenkopf, keine Anfangsbuchstaben.
       Doppelte Klasse, weil „.pp .knopf-still“ Maß und Anzeige des Knopfs setzt. */
    .pp .pp-bild.pp-bild-leer { display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0; border: 1px solid var(--linie); border-radius: 10px; background: none; color: var(--leise); font: 400 var(--f-15)/calc(21px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; }
    .pp-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--abstand-40); row-gap: var(--abstand-24); align-items: start; }
    .pp-links { grid-column: 1; grid-row: 1; }
    .pp-rechts { grid-column: 2; grid-row: 1; }
    .pp .pp-nur-breit { display: inline-flex; margin-left: auto; }
    .pp .pp-nur-schmal { display: none; }
    .pp-links, .pp-rechts { display: flex; flex-direction: column; gap: var(--abstand-24); min-width: 0; }
}

@media (max-width: 699px) {
    .pp-titel { font-size: var(--f-30); }
    /* Wertzeilen (Figma Schritt 2, N2/F9/B2): Beschriftung mindestens 90, bei längeren Wörtern bis 150 breit, eine Spalte je Liste. */
    .pp-werte { display: grid; grid-template-columns: fit-content(150px) minmax(0, 1fr); gap: var(--abstand-16); }
    .pp-wert { display: contents; }
    .pp-wert dt { width: auto; min-width: 90px; }
    .fenster.fenster-seite .pp-formzeile { grid-template-columns: 1fr; }
    .fenster.fenster-seite .fenster-koerper { padding: 24px 20px 40px; }
    .fenster.fenster-seite .reiterleiste { grid-template-columns: 1fr 1fr; }
    .pp { padding: 24px 20px 40px; }
    .pp-vorzeile { padding: 24px 20px 0; min-height: var(--hoehe-bedien); }
    .pp-breit-handy,
    .pp .pp-breit-handy .knopf-haupt, .pp .pp-breit-handy .knopf-still,
    .fenster.fenster-seite .pp-breit-handy .knopf-haupt, .fenster.fenster-seite .pp-breit-handy .knopf-still { width: 100%; }
    .pp-halb-handy > * { flex: 1 1 0; }
    .pp-stapel-handy { flex-direction: column; }
    .pp .pp-stapel-handy > *, .fenster.fenster-seite .pp-stapel-handy > * { width: 100%; }
    .verwerfen-frage { width: 350px; }
}
.fenster.fenster-seite .katalog-gewaehlt:empty { display: none; }
.pp-fett { margin: 0; font-weight: 700; }
.pp-karte.pp-vorgang { gap: var(--abstand-12); }
.fenster.fenster-seite .pp-karte { margin: 0; }
.fenster.fenster-seite .pp-karte textarea[data-b="feld"] { min-height: 88px; }
.fenster .verwerfen-frage[open] { position: fixed; inset: 0; height: fit-content; margin: auto; transform: none; box-shadow: none; }
/* Bereiche ohne eigenen Figma-Rahmen (Ausbildung, Aktivjahre, Projekt, Arbeitskreis, Vorschläge, Ehrungen, Stimmen, Datenschutz; 12.11.2026): nur Bausteine aus P01–P20. */
.pp-haken-liste { display: flex; flex-direction: column; gap: 0; margin: 0; }
.fenster.fenster-seite .pp-karte .formular { gap: var(--abstand-16); }
/* Satz im Seitenfenster (Kassa, 12.11.2026): Fließtext 17 leise wie .pp-leise, nicht der kleine Feldhinweis. */
.fenster.fenster-seite p[data-b="hinweis"].pp-leise { margin: 0; font-size: var(--f-17); line-height: 1.4; }

/* Mitgliedschaftsarten im Fenster (Herbert 12.11.2026): Überschriften über den Häkchen; am Handy je Art ein Block, die Spaltennamen stehen neben dem Häkchen */
.artentabelle { width: 100%; border-collapse: collapse; table-layout: fixed; }
.artentabelle th { padding: 0 6px 8px; border-bottom: 1px solid var(--linie); font: 600 var(--s-14)/1.25 "Source Sans 3", system-ui, sans-serif; text-align: center; vertical-align: bottom; overflow-wrap: anywhere; }
.artentabelle td { padding: 12px 6px; border-bottom: 1px solid var(--haar); text-align: center; vertical-align: middle; }
.artentabelle th:first-child, .artentabelle td:first-child { width: 34%; padding-left: 0; text-align: left; }
@media (max-width: 699px) {
    .artentabelle, .artentabelle tbody, .artentabelle tr, .artentabelle td { display: block; width: auto; }
    .artentabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
    .artentabelle tr { padding: 8px 0; border-bottom: 1px solid var(--haar); }
    .artentabelle td, .artentabelle td:first-child { width: auto; padding: 4px 0; border: 0; text-align: left; }
    .artentabelle td[data-spalte] { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 12px; min-height: 44px; }
    .artentabelle td[data-spalte]::before { content: attr(data-spalte); font-size: var(--s-16); color: var(--tinte); }
}

/* ---------- Vereinsbuch · Listen (Figma 100:999 Übersicht, 100:1000 Fenster „Projekte“, 12.11.2026) ---------- */
/* Übersicht: Rand 24/20/40, Abstand 24; Rückweg so breit wie das Wort; Titel Bitter 30, Messinglinie; Register „Mitglieder | Listen“ 2 × 48. */
.listen-seite { display: flex; flex-direction: column; gap: var(--abstand-24); padding: var(--abstand-24) var(--abstand-20) var(--abstand-40); color: var(--tinte); }
.listen-seite > * { margin: 0; }
.rueckleiste-knapp { align-self: flex-start; padding: 0 var(--abstand-16); }
.listen-titel { margin: 0; font: 700 var(--f-30)/calc(36px * var(--schriftmass)) "Bitter Pro", serif; color: var(--tinte); }
.listen-messing { height: 1px; background: var(--messing); }
.segmentleiste { display: grid; grid-template-columns: 1fr 1fr; gap: var(--abstand-8); }
.segment-feld {
    display: flex; align-items: center; justify-content: center; min-height: var(--hoehe-bedien);
    border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte);
    font: 700 var(--f-17)/calc(24px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; text-decoration: none;
}
.segment-feld.ist-aktiv { border-color: var(--loden); background: var(--loden); color: var(--auf-loden); }
.segment-feld:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
/* Bereich: Überschrift 19 fett, 12 darüber die Karten mit 8 Abstand. Karte: Rand haar, Radius 4, Rand 16, mindestens 88 hoch. */
.listen-bereich { display: flex; flex-direction: column; gap: var(--abstand-12); }
.listen-bereich-titel { margin: 0; font: 700 var(--f-19)/calc(27px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--tinte); }
.listen-karten { display: flex; flex-direction: column; gap: var(--abstand-8); margin: 0; padding: 0; list-style: none; }
.listen-karte { display: flex; align-items: center; gap: var(--abstand-12); min-height: 88px; padding: var(--abstand-16); box-sizing: border-box; border: 1px solid var(--haar); border-radius: var(--radius-feld); background: var(--flaeche); }
.listen-karte-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--abstand-4); }
.listen-karte-name { margin: 0; font: 700 var(--f-19)/calc(27px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--tinte); overflow-wrap: anywhere; }
.listen-karte-zahl { margin: 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.listen-karte .handlung { flex: none; width: var(--hoehe-bedien); height: var(--hoehe-bedien); }
.listen-karte .handlung-bild { width: 20px; height: 20px; }
.listen-satz { font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); color: var(--leise); }
@media (min-width: 1120px) {
    .listen-seite { max-width: 1120px; padding: 32px 0 40px; }
}

/* Listenfenster: Blatt von unten (Radius 28 oben, Rand 12/20/24, Abstand 24, Griff 40 × 4), Schleier Tinte 25 %.
   Felder, Haken, Knöpfe und der Kasten „Gespeichert.“ kommen aus dem Seitenfenster (.fenster-seite), nur der Rahmen ist ein Blatt. */
.fenster.fenster-seite.fenster-blatt { width: 100%; height: auto; max-height: 92dvh; border-radius: 28px 28px 0 0; }
.fenster.fenster-seite.fenster-blatt::backdrop { background: var(--schleier-blatt); }
.fenster.fenster-seite.fenster-blatt .fenster-koerper { max-width: none; padding: var(--abstand-12) var(--abstand-20) var(--abstand-24); }
.blatt-griff { display: block; align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--linie); }
.blatt-kopf { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-12); }
.blatt-titel { flex: 1; min-width: 0; margin: 0; font: 700 var(--f-26)/1.25 "Bitter Pro", serif; color: var(--tinte); overflow-wrap: break-word; hyphens: auto; }
.fenster-blatt .schreibhinweis { color: var(--leise); }
@media (min-width: 700px) {
    .fenster.fenster-seite.fenster-blatt { inset: 0; width: min(560px, calc(100vw - 32px)); max-height: min(86dvh, 820px); margin: auto; border-radius: 28px; }
    .fenster.fenster-seite.fenster-blatt .blatt-griff { display: none; }
}
/* Seitenfenster am Schreibtisch als Popup über der Seite (Herbert 13.11.2026: „angenommen“). Am Handy bleibt es die ganze Seite
   (Figma „Echt“ P04 ff.). Breite nach Inhalt: einspaltig 720, mit Formularzeile (zwei Felder nebeneinander, P05/P07) oder Tabelle 960.
   Lange Fenster rollen innen; Fensterkopf „Bereich | Schließen“ und die Knopfzeile bleiben stehen. Rahmen wie P09: Radius 12. */
@media (min-width: 700px) {
    .fenster.fenster-seite:not(.fenster-blatt) { inset: 0; width: min(720px, calc(100vw - 64px)); height: fit-content; max-height: min(90dvh, 960px); margin: auto; border-radius: 12px; box-shadow: var(--schatten); }
    .fenster.fenster-seite:not(.fenster-blatt):has(.pp-formzeile, table) { width: min(960px, calc(100vw - 64px)); }
    .fenster.fenster-seite:not(.fenster-blatt) .fenster-koerper { max-width: none; padding: 0 var(--abstand-40); scroll-padding-block: 96px; }
    .fenster.fenster-seite:not(.fenster-blatt) .fenster-koerper::after { content: ""; flex: none; height: var(--abstand-8); }
    .fenster.fenster-seite:not(.fenster-blatt) .pp-fensterkopf { position: sticky; top: 0; z-index: 2; padding-top: var(--abstand-24); background: var(--flaeche); }
    .fenster.fenster-seite:not(.fenster-blatt) .formular-fuss { position: sticky; bottom: 0; z-index: 2; padding: var(--abstand-16) 0 var(--abstand-24); background: var(--flaeche); }
}
/* Seitenfenster am Handy: der Fensterkopf „Bereich | Schließen“ bleibt oben stehen, wie am Schreibtisch. Anlass 14.11.2026, „Mitteilung ändern“:
   nach dem Speichern blieb das Fenster offen, der Kopf war weggerollt, und es gab keinen sichtbaren Weg zurück („Kein Rückweg!“).
   Oben der Abstand der Statusleiste: geruest.blade.php setzt viewport-fit=cover, das Fenster reicht bis unter die Leiste, und „Schließen“
   stand dahinter (Herbert 14.11.2026, installierte App, Android, „kein Weg zurück“). */
@media (max-width: 699px) {
    .fenster.fenster-seite:not(.fenster-blatt) .fenster-koerper { padding-top: 0; }
    .fenster.fenster-seite:not(.fenster-blatt) .pp-fensterkopf { position: sticky; top: 0; z-index: 2; padding: calc(var(--abstand-12) + env(safe-area-inset-top, 0px)) 0 var(--abstand-12); background: var(--flaeche); }
}
/* Nachtrag 15.11.2026 (Herbert, „kein Weg zurück“, Vereinsjahr und Statuten, installierte App, Android): env(safe-area-inset-top) meldet dort 0,
   die Statusleiste liegt trotzdem über dem Fenster (gemessen am Bildschirmfoto: nur der untere Rand des Knopfs „Schließen“ ragte darunter hervor,
   die Leiste deckt rund 60 px). Als installierte App bekommt der Kopf deshalb mindestens 52 px Abstand oben; meldet das Gerät mehr, gilt der größere Wert. */
@media (max-width: 699px) and (display-mode: standalone) {
    .fenster.fenster-seite:not(.fenster-blatt) .pp-fensterkopf { padding-top: calc(var(--abstand-12) + max(env(safe-area-inset-top, 0px), 52px)); }
}
/* Eintrag: Rand Linie, Radius 4, Rand 16, Abstand 16; Titel 19 fett, darunter 15 leise; eigenes „Speichern“ so breit wie das Wort,
   in der Karte „Neu“ der Hauptknopf über die volle Breite. */
.listen-eintrag { display: flex; flex-direction: column; gap: var(--abstand-16); padding: var(--abstand-16); border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); }
.listen-eintrag-kopf { display: flex; flex-direction: column; gap: var(--abstand-4); }
.listen-eintrag-titel { margin: 0; font: 700 var(--f-19)/calc(27px * var(--schriftmass)) "Source Sans 3", system-ui, sans-serif; color: var(--tinte); overflow-wrap: anywhere; }
.listen-eintrag-neben { margin: 0; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); overflow-wrap: anywhere; }
.fenster.fenster-seite .listen-eintrag .formular { gap: var(--abstand-16); }
.fenster.fenster-seite .listen-eintrag-neu .knopf-haupt { width: 100%; }
.fenster.fenster-seite .listen-sammelform { gap: var(--abstand-24); }
.listen-haken { display: flex; flex-direction: column; }
.fenster.fenster-seite .listen-sammelfuss .knopf-haupt { width: 100%; }
/* ---------- Termine-Liste nach Figma T1 (Seite „Echt“, 66:922, überarbeitet 12.11.2026) ----------
   Gilt nur unter .tl. Band, Reiter und Hauptaktion wie im Vereinsbuch (.vb); hier nur, was die Terminliste anders misst:
   Werkzeuge 350 × 48 bei 20 unter den Reitern, gelber Hinweis 16 fett mit 12 Innenrand, Abschnitt 40 hoch,
   Zeile mit 16 Rand und 12 Lücke, Datumskreis 56, Titel 20/28 fett, Nebenzeile und Summe 15/21 leise, Ampelwort 13/20. */
.tl-hinweis { margin: 16px 20px 0; font-size: var(--f-17); line-height: 1.4; font-weight: 600; color: var(--ampel-orange-tinte); }
.tl :is(.meldung, .meldung-leise) { margin: 16px 20px 0; padding: 0; }
.tl-liste { margin-top: 16px; }
.tl .abschnitt { margin: 0; padding: 20px 16px 10px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; font-size: var(--f-19); line-height: 1.3; font-weight: 700; letter-spacing: 0; color: var(--tinte); }
.tl .zeilen { margin: 0; padding: 0; }
.tl .zeile { align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--haar); }
.tl .kreis-tag { width: 56px; height: 56px; gap: 1px; background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.tl .kreis-tag b { font: 700 calc(25px * var(--schriftmass))/calc(25px * var(--schriftmass)) "Bitter Pro", serif; }
.tl .kreis-tag small { margin: 0; font-size: calc(11px * var(--schriftmass)); line-height: calc(11px * var(--schriftmass)); font-weight: 600; letter-spacing: 0.05em; color: inherit; }
.tl .kreis-tag.ist-heute { background: var(--loden); color: var(--auf-loden); }
.tl .zeile-titel { align-items: flex-start; gap: 8px; font-size: var(--f-20); line-height: calc(28px * var(--schriftmass)); }
.tl .zeile-titel b { flex: 1; font-weight: 700; white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.tl .zeile-wann { font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); }
.tl .zeile-km { flex: none; width: 20px; height: 20px; margin: 0; }
.tl .zeile-neben { margin-top: 4px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); white-space: normal; }
.tl .zeile-stand { gap: 4px 8px; margin-top: 4px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); }
.tl .zeile-stand :is(.stand-zu, .stand-ab, .stand-offen, .stand-pflicht) { padding: 1px 8px; border-radius: 6px; font-size: var(--f-13); line-height: calc(20px * var(--schriftmass)); font-weight: 600; }
.tl a.zeile::after { width: 24px; height: 24px; margin-right: 0; background-color: var(--tinte); }
.tl-mehr { padding: 16px 20px; }
.tl-mehr .vb-knopf { width: 100%; }
.tl .leer { padding: 24px 20px; }
/* Reiter der Terminliste (66:922): vier Felder je 88 breit ab dem Rand, Wort ohne Einzug; Messing unter dem ganzen Feld. */
.tl .vb-reiter { gap: 0; overflow-x: visible; }
.tl .vb-reiter .reiter-feld { flex: 1 1 0; padding: 16px 0; }
/* Ab „groß“ passen vier gleich breite Register nicht mehr nebeneinander: sie rollen dann seitlich wie in den anderen Modullisten. */
html[data-schrift] .tl .vb-reiter { overflow-x: auto; }
html[data-schrift] .tl .vb-reiter .reiter-feld { flex: none; padding-left: 12px; padding-right: 12px; }
.tl .mk-inhalt { margin-top: 0; }

/* ---------- Terminseite nach Figma T2 (66:1024) und Menü T4 (73:963), überarbeitet 12.11.2026 ----------
   Gilt unter .tp (in .pp). Kopfzeile wie die Personenseite; Marken 48 hoch mit Rand; Antwortknöpfe je halbe Breite;
   Summenzeile 17 mit fetten Zahlen; Register 64 hoch, Kürzel 40, Ampelzahlen 30 × 26; Absenzen als Band mit „fehlt“. */
.tp { gap: var(--abstand-16); }
.tp > .pp-titel { margin-top: var(--abstand-8); }
.tp-kopfaktionen { display: flex; gap: var(--abstand-8); }
.tp-herkunft { margin-top: calc(-1 * var(--abstand-8)); }
.tp-absage { display: flex; flex-wrap: wrap; align-items: center; gap: var(--abstand-8); }
.tp-absage .stand-ab { padding: 1px 8px; border-radius: 6px; font-size: var(--f-15); font-weight: 600; }
.tp-antwort { display: flex; flex-direction: column; gap: var(--abstand-12); }
.tp-antwortknoepfe { display: flex; gap: var(--abstand-12); }
.tp-antwortknoepfe > * { flex: 1 1 0; min-width: 0; }
.tp-antwortknoepfe .knopf-haupt, .tp-antwortknoepfe .knopf-still { width: 100%; }
.pp .tp-antwortknoepfe .knopf-still.tp-zu { border-color: var(--ampel-gruen-tinte); background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.pp .tp-antwortknoepfe .knopf-still.tp-ab { border-color: var(--ampel-rot-tinte); background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.tp-antwort > .knopf-still { align-self: flex-start; }
.tp-rueckmeldungen { display: flex; flex-direction: column; gap: var(--abstand-8); }
.tp .register-liste .klapp-kopf, .tf .register-liste .klapp-kopf { min-height: 64px; padding-left: 0; padding-right: 0; }
.tp .reg-zeile .kreis-kuerzel, .tf .reg-zeile .kreis-kuerzel { background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); font-size: var(--f-15); }
.tp .reg-zeile .zeile-titel b, .tf .reg-zeile .zeile-titel b { font-size: var(--f-20); }
.tp .reg-zahlen { gap: 6px; }
.tp .reg-zahlen b { min-width: 30px; height: 26px; box-sizing: border-box; padding: 0 6px; line-height: calc(26px * var(--schriftmass)); font-size: var(--f-15); font-weight: 600; }
.tp .reg-zu { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.tp .reg-ab { background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.tp .reg-auf { background: var(--ampel-gelb-flaeche); color: var(--ampel-gelb-tinte); }
.tp .reg-namen { padding: 0; border-left: 1px solid var(--haar); }
.tp .reg-namen .zeile-name { min-height: 48px; margin: 0; padding: 12px 0 12px 16px; border-left: 0; border-bottom: 1px solid var(--haar); }
.tp .reg-namen .zeile-name:last-child { border-bottom: 0; }
.tp .reg-namen .zeile-titel { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-8); }
.tp .reg-namen .zeile-titel b { font-weight: 400; font-size: var(--f-17); }
.tp .reg-namen :is(.stand-zu, .stand-ab, .stand-offen) { flex: none; margin: 0; padding: 1px 8px; border-radius: 6px; font-size: var(--f-13); line-height: calc(20px * var(--schriftmass)); font-weight: 600; }
.tp .reg-namen .zeile-neben { display: block; margin-top: 4px; font-size: var(--f-15); color: var(--leise); }
.tp-absenzen { display: flex; flex-direction: column; gap: var(--abstand-12); }
.tp-geld :is(.detail-neben, .hinweis-leise, .aktionen-reihe) { padding-left: 0; padding-right: 0; margin-left: 0; margin-right: 0; }
.tp-geld .aktionen-reihe .knopf-still { width: 100%; }
.tp .register-liste .info-klapp, .tf .register-liste .info-klapp { margin: 0; }
.tp .register-liste .klapp-kopf::after { width: 10px; height: 10px; border-width: 0 3px 3px 0; border-color: var(--tinte); }
/* Menü T4: Bereichszeile mit Satz darunter; Löschen rot. */
.pp-bereich-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--abstand-4); }
.pp-bereich-neben { font-size: var(--f-15); font-weight: 400; color: var(--leise); }
.pp-bereich-gefahr .pp-bereich-wort { color: var(--ampel-rot-tinte); }
/* Menü als ganze Seite (Figma Schritt 2, B3 119:1458): Gruppen untereinander, Etikett 14, Bereichszeilen mit 24 Abstand.
   Die offene Seite trägt aria-current, Figma zeigt dafür keine eigene Markierung. */
/* Marken als Text (Figma F8, Schritt 2) und eine Folge von Bereichszeilen in einem Abschnitt. */
.pp-marken { display: flex; flex-wrap: wrap; gap: var(--abstand-8) var(--abstand-16); margin: 0; color: var(--leise); }
.pp-bereiche { display: flex; flex-direction: column; gap: var(--abstand-12); }
/* Sitzung · Anwesenheit (Figma F9 120:1604): die Klappe „Wer da war ▾“ steht als Wertzeile, die Beschlussfähigkeit offen darunter;
   beide Listen teilen die Beschriftungsspalte 110. */
.sz-anwesenheit .pp-werte { grid-template-columns: 110px minmax(0, 1fr); }
.pp-klappwert .info-klapp { margin: 0; border: 0; }
.pp-klappwert .klapp-kopf { min-height: 0; }
.pp-klappwert .klapp-kopf::after { content: none; }
.pp-klappwert .klapp-text { flex-direction: row; align-items: flex-start; gap: var(--abstand-16); padding: 0; }
.pp-klappwert .klapp-wort { flex: none; width: 110px; font-size: var(--f-17); font-weight: 400; line-height: 1.4; color: var(--leise); }
.pp-klappwert .klapp-wort::after { content: " ▾"; font-size: var(--f-14); }
.pp-klappwert .info-klapp[open] .klapp-wort::after { content: " ▴"; }
.pp-klappwert .klapp-stand { flex: 1; font-size: var(--f-17); line-height: 1.4; color: var(--tinte); }
.pp-klappwert .info-klapp[open] > .pp-werte { margin-top: var(--abstand-16); }
@media (min-width: 700px) {
    .sz-anwesenheit .pp-werte { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: var(--abstand-16); }
    .sz-anwesenheit .pp-wert { display: contents; }
    .pp-klappwert .klapp-wort { width: 180px; }
}
/* Sitzung · Tagesordnung (Figma F9): Nummer als leiser Text 24 breit statt Kreis, Titel 17 normal, Pfeil 20 in Tinte, keine Linie dazwischen. */
.sz-tagesordnung .zeilen { margin: 0; }
.sz-tagesordnung .zeile { align-items: center; gap: var(--abstand-16); min-height: var(--hoehe-bedien); padding: var(--abstand-8) 0; border-bottom: 0; }
.sz-tagesordnung .kreis-nummer { width: 24px; height: auto; min-height: 0; border: 0; border-radius: 0; background: none; align-items: flex-start; }
.sz-tagesordnung .kreis-nummer b { font: 400 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif; color: var(--leise); }
.sz-tagesordnung .zeile-titel { font-size: var(--f-17); font-weight: 400; line-height: 1.4; }
.sz-tagesordnung .zeile-titel b { font-weight: 400; }
.sz-tagesordnung .zeile-pfeil { color: var(--tinte); }
/* An mich übergeben (Figma Z7 122:1439): Zeile 84 hoch, Rand 12/16, Titel 20 fett, Satz 15 leise, Haarlinie 16 eingerückt. */
.zw-meine .zeile { min-height: 84px; margin: 0 16px; padding: 12px 0; border-bottom-color: var(--haar); }
.zw-meine .zeile-titel { font-size: var(--f-20); font-weight: 700; line-height: 1.3; }
.zw-meine .zeile-titel b { white-space: normal; }
.zw-meine .zeile-neben { margin-top: var(--abstand-4); font-size: var(--f-15); white-space: normal; }
.opt-seite { display: flex; flex-direction: column; gap: var(--abstand-24); }
.opt-seite-gruppe { display: flex; flex-direction: column; gap: var(--abstand-24); margin: 0; }
.opt-seite-gruppe > * { margin: 0; }
.opt-seite .opt-gruppe, .opt-seite .opt-fuss { padding-left: 0; padding-right: 0; }

/* ---------- Termin-Fenster als Seite nach Figma T3 (66:1080, 72:961, 72:1056), T5 (74:998), T6 (74:1135) ----------
   Schrittzeile 19 fett, Balken drei Teile 4 hoch mit 8 Lücke (Messing bis zum offenen Schritt); Wahlfelder brechen um und
   sind so breit wie ihr Wort, das gewählte mit „✓“; Rückmeldung in Ampelfarbe; Fußknöpfe je halbe oder ganze Breite. */
.fenster.fenster-seite .tf { display: flex; flex-direction: column; gap: var(--abstand-24); }
.fenster.fenster-seite .tf .schritt.ist-an { display: flex; flex-direction: column; gap: var(--abstand-24); }
.fenster.fenster-seite .tf .schritt-kopf { flex-wrap: wrap; gap: 0 4px; margin: 0; font-size: var(--f-19); line-height: calc(27px * var(--schriftmass)); font-weight: 700; color: var(--tinte); }
.fenster.fenster-seite .tf .schritt-titel::before { content: "· "; }
.fenster.fenster-seite .tf .schritt-balken { flex: 1 0 100%; gap: var(--abstand-8); margin-top: var(--abstand-24); }
.fenster.fenster-seite .tf .schritt-balken i { border-radius: 0; background: var(--linie); }
.fenster.fenster-seite .tf .schritt-balken i.ist-an { background: var(--messing); }
.fenster.fenster-seite .tf .wahlfeld-reihe { flex-wrap: wrap; }
.fenster.fenster-seite .tf .wahlfeld-punkt { flex: none; }
.fenster.fenster-seite .tf .wahlfeld-punkt span { padding: 0 var(--abstand-16); }
.fenster.fenster-seite .tf .wahlfeld-punkt input:checked + span::before { content: "✓\00a0"; }
.fenster.fenster-seite .tf .wahlfeld-punkt input[value="zugesagt"]:checked + span { border-color: var(--ampel-gruen-tinte); background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.fenster.fenster-seite .tf .wahlfeld-punkt input[value="abgesagt"]:checked + span { border-color: var(--gefahr); background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.fenster.fenster-seite .tf .wahlfeld-punkt input[value="unentschieden"]:checked + span { border-color: var(--ampel-gelb-tinte); background: var(--ampel-gelb-flaeche); color: var(--ampel-gelb-tinte); }
.fenster.fenster-seite .tf .schritt-fuss, .tf-fuss { display: flex; gap: var(--abstand-12); margin: 0; }
.fenster.fenster-seite .tf .schritt-fuss > *, .tf-fuss > * { flex: 1 1 0; min-width: 0; margin: 0; }
.fenster.fenster-seite .tf .schritt-fuss .knopf-haupt, .fenster.fenster-seite .tf-fuss .knopf-haupt, .fenster.fenster-seite .tf-fuss .knopf-still { width: 100%; margin: 0; }
.tf-haken { display: flex; flex-direction: column; gap: var(--abstand-24); }
.fenster.fenster-seite .tf-haken .haken { min-height: 48px; gap: var(--abstand-12); font-size: var(--f-17); border-bottom: 0; }
.fenster.fenster-seite .tf-haken .haken input { flex: none; width: 24px; height: 24px; margin: 0; accent-color: var(--loden); }
.tf-gruppe { display: flex; flex-direction: column; gap: var(--abstand-12); }
.fenster.fenster-seite .tf .wahlfeld-titel:has(.punkt)::after { content: " *"; }
.fenster.fenster-seite .tf > label[data-b="auswahl"] + select[data-b="auswahl"] { margin-top: calc(var(--abstand-8) - var(--abstand-24)); }
/* ---------- Gemeinsamer Listenkopf x-neu.modulkopf (12.11.2026) ----------
   Muster der Mitgliederliste (Figma „Echt“ B1 32:1265, B2, B4; Schreibtisch 32:1271) für alle Module. Der Baustein trägt die Klassen
   des Vereinsbuchs (.vb, .vb-band, .vb-reiter, .vb-werkzeugzeile, .vb-anlegen); hier steht nur, was bei anderen Modulen anders ist:
   beliebig viele Register (seitlich verschiebbar statt umbrechen), Schnellfilter mit eigener Breite, ein einzelner Knopf über die
   ganze Breite, Filter- und Werkzeugseite im Seitenfenster. Das Vereinsbuch selbst trägt .mk nicht. */
.mk-reiter { overflow-x: auto; scrollbar-width: none; }
.mk-reiter::-webkit-scrollbar { display: none; }
.mk-reiter .reiter-feld { flex: none; padding-left: 12px; padding-right: 12px; }
.mk .vb-schnell { flex-wrap: wrap; }
.mk .vb-schnell .vb-schnell-feld { width: auto; padding: 0 var(--abstand-16); }
.vb-werkzeugknoepfe.mk-einzeln { grid-template-columns: minmax(0, 1fr); }
.mk-inhalt { min-width: 0; margin-top: var(--abstand-8); }
.mk-filter { margin-top: 0; }
.mk-filtergruppe { display: grid; gap: var(--abstand-8); margin-top: var(--abstand-16); }
.mk-filterwort { margin: var(--abstand-16) 0 0; font-size: var(--f-17); line-height: calc(24px * var(--schriftmass)); font-weight: 700; color: var(--tinte); }
.mk-filtergruppe .mk-filterwort { margin-top: 0; }
.mk-filterfelder { display: flex; flex-wrap: wrap; gap: var(--abstand-8); }
.mk-werkzeuge { margin-top: 0; }
@media (min-width: 1120px) {
    .vb-werkzeugknoepfe.mk-einzeln { grid-template-columns: 200px; }
}
.mk-satz { margin: var(--abstand-16) 20px 0; padding: 0; }
@media (min-width: 1120px) { .mk-satz { margin: var(--abstand-16) 0 0; } }

/* Notenarchiv · Stückseite nach dem Muster der Personenseite (P03, abgeleitet 12.11.2026): Ausgabezeilen und Dateien-Klappe
   stehen bündig im Seitenrand der .pp; die Kindausgabe (Scan, Druck) behält ihre Einrückung mit Haken. */
.na-stueck .zeile:not(.ist-kind) { padding-left: 0; padding-right: 0; }
.na-stueck .ausgabe-zeile.ist-kind { padding-right: 0; }
.na-ausgaben .zeilen > li:last-child > .zeile { border-bottom: 0; }
.na-stueck .klappen { margin-top: 0; }
/* Ausgaben nach Figma N2 118:1276 (Schritt 2, 13.11.2026): Fach leise in einer Spalte 90, Angaben 17 in Tinte, rechts der Kasten „···“ 48
   mit dem bisherigen Zeilenmenü. Keine Linie zwischen den Zeilen, 8 Abstand; die Kindausgabe 16 eingerückt mit „↳“ im Fach (Spalte 74). */
.na-stueck .na-ausgaben .zeilen { display: flex; flex-direction: column; gap: var(--abstand-8); }
.na-stueck .ausgabe-zeile { gap: var(--abstand-16); min-height: var(--hoehe-bedien); padding: 0; border-bottom: 0; background: none; }
.na-stueck .ausgabe-zeile:hover { background: none; }
.na-stueck .ausgabe-zeile.ist-kind { padding-left: var(--abstand-16); }
.na-stueck .ausgabe-zeile.ist-kind::before { content: none; }
.zeile-fach { flex: none; width: 90px; font-size: var(--f-17); line-height: 1.4; color: var(--leise); overflow-wrap: anywhere; }
.ausgabe-zeile.ist-kind .zeile-fach { width: 74px; }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-titel { display: block; font-size: var(--f-17); font-weight: 400; line-height: 1.4; }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-titel b { display: inline; overflow: visible; font-weight: 400; white-space: normal; }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-wann { font-size: var(--f-17); color: var(--tinte); }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-wann::before { content: "\00a0· "; }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-neben { margin-top: 0; font-size: var(--f-17); line-height: 1.4; color: var(--tinte); white-space: normal; }
.ausgabe-zeile .zeile-fach ~ .zeile-text .zeile-stand { margin-top: 0; font-size: var(--f-17); line-height: 1.4; color: var(--tinte); }
.zeile-punkte { flex: none; display: flex; align-items: center; justify-content: center; width: var(--hoehe-bedien); height: var(--hoehe-bedien); margin: 0; padding: 0; border: 1px solid var(--linie); border-radius: var(--radius-feld); background: var(--flaeche); color: var(--tinte); font: 700 var(--f-17)/1 "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.zeile-punkte:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
.na-stueck .info-klapp { margin: 0; }
.na-ausgaben { padding-bottom: 0; border-bottom: 0; }

/* Betreiber-Vereinsseite unter x-neu.seitenkopf: am Schreibtisch derselbe Abstand zur Messinglinie wie am Handy (24). */
@media (min-width: 1120px) { .sk + .bb-abschnitte { padding-top: var(--abstand-24); } }

/* Gesamtampel in der Terminliste und auf der Terminseite (Bestand x-ampel, Herbert 13.11.2026: „hier fehlt die Gesamtampel“) */
.termin-balken.ist-inline { display: block; }
.tl .zeile-text .termin-balken { margin-top: var(--abstand-8); }

/* Einträge und Hinzufügen (Standard Personpflege, Figma 110:1146 Handy / 110:1244 Desktop, Herbert 12.11.2026; Baustein x-eintraege / x-eintrag).
   Je Eintrag ein Kasten: Rand 1, Radius 4, Innenabstand 16, 12 zwischen den Kästen. Kopf: Name 17 fett, 4 darunter der Zeitraum 15 leise, Pfeil rechts.
   Der Hinzufügen-Teil steht 32 tiefer unter einer 2-px-Linie, 16 danach. Ohne Schreibrecht ein fester Kasten ohne Pfeil. */
.eintraege { display: flex; flex-direction: column; gap: 0; }
.eintraege > * { margin: 0; }
.eintraege-liste { display: flex; flex-direction: column; gap: var(--abstand-12); }
.eintraege-liste > * { margin: 0; }
.eintraege-dazu { display: flex; flex-direction: column; gap: var(--abstand-24); margin-top: var(--abstand-32); padding-top: var(--abstand-16); border-top: 2px solid var(--linie); }
.eintraege-dazu > * { margin: 0; }
.eintrag { margin: 0; padding: var(--abstand-16); border: 1px solid var(--linie); border-radius: var(--radius-feld); color: var(--tinte); }
.eintrag-kopf { display: flex; align-items: center; gap: var(--abstand-12); margin: 0; padding: 0; list-style: none; }
.eintrag-kopf::-webkit-details-marker { display: none; }
details.eintrag > .eintrag-kopf { cursor: pointer; }
details.eintrag > .eintrag-kopf::after { content: ""; flex: none; width: 20px; height: 20px; margin-left: auto; background: currentColor; -webkit-mask: url("/zeichen/weiter.svg") center / contain no-repeat; mask: url("/zeichen/weiter.svg") center / contain no-repeat; transform: rotate(90deg); }
details.eintrag[open] > .eintrag-kopf::after { transform: rotate(-90deg); }
details.eintrag > .eintrag-kopf:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
details.eintrag[open] { display: flex; flex-direction: column; gap: var(--abstand-16); }
.eintrag-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--abstand-4); }
.eintrag-name { font: 700 var(--f-17)/1.4 "Source Sans 3", system-ui, sans-serif; color: var(--tinte); overflow-wrap: anywhere; }
.eintrag-stand { font-size: var(--f-15); font-weight: 400; line-height: 1.4; color: var(--leise); overflow-wrap: anywhere; }
.eintraege details.eintrag > .formular { display: flex; flex-direction: column; gap: var(--abstand-16); margin: 0; }
.eintraege details.eintrag .schreibhinweis { margin: 0; font-size: var(--f-15); color: var(--leise); }

/* ---------- Listenregeln für alle Modullisten (Figma „Echt“, Polieren und Konsistenz Schritt 1/3, 13.11.2026) ----------
   Maßstab Mitgliederliste 32:1027, abgeleitet Z1 115:1064 … F7 119:2383. Gilt für jede Liste unter x-neu.modulkopf außer den Sonderformen
   (:liste="false": Termine, Aufgaben-Tafel, Schrank, Budget, T-Konto der Kassa-Übersicht, Unterseiten einer Veranstaltung). Fenster in der Seite bleiben unberührt.
   Erklärsatz: unter dem Band, 16 Abstand, 15 leise, ohne Kasten. Abschnitt: 40 hoch, 14 halbfett, --ton-flaeche-stark (Vereinstönung; Figma zeigte --zweit am Standardverein, Herbert 14.11.2026 „Vereinsfarbe fehlt“), 16 Innenabstand, 20 vom Rand.
   Zeile: 20 vom Rand, 16 Innenabstand, mindestens 84 hoch, Titel 20 fett --tinte, darunter 4 Abstand die Nebensache 15 --leise,
   kurzer Zusatzwert rechts (15 --leise, höchstens 104 breit), Pfeil 20; Haarlinie 16 eingerückt. Kein Kreis, kein Abschneiden. */
.mk-erklaerung { margin: var(--abstand-16) 20px; font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); color: var(--leise); }
.mk-liste .vb-reiter { gap: var(--abstand-8); }
.mk-liste .mk-inhalt { margin-top: var(--abstand-16); }
.mk-liste .mk-inhalt :is(ul.zeilen, .abschnitt):not(.fenster *, .im-fenster) { margin-left: 20px; margin-right: 20px; }
/* Gerda in einer Modulliste (Plan Gerda G6): Antworttext und Knopf in der Flucht der Zeilen. */
.mk-liste .mk-inhalt .mk-gerda:not(.fenster *) { margin-left: 20px; margin-right: 20px; }
@media (min-width: 1120px) {
    .mk-liste .mk-erklaerung { margin-left: 0; margin-right: 0; }
    .mk-liste .mk-inhalt :is(ul.zeilen, .abschnitt):not(.fenster *, .im-fenster) { margin-left: 0; margin-right: 0; }
    .mk-liste .mk-inhalt .mk-gerda:not(.fenster *) { margin-left: 0; margin-right: 0; }
}
.mk-liste .mk-inhalt .abschnitt:not(.fenster *) {
    display: flex;
    align-items: center;
    min-height: 40px;
    margin-top: var(--abstand-16);
    padding: 0 var(--abstand-16);
    border: 0;
    background: var(--ton-flaeche-stark);
    font-size: var(--f-14);
    font-weight: 600;
    letter-spacing: 0;
    color: var(--leise);
}
.mk-liste .mk-inhalt .abschnitt:not(.fenster *):first-child { margin-top: 0; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    align-content: center;
    gap: 0;
    min-height: 84px;
    padding: var(--abstand-4) var(--abstand-16);
    border-bottom: 0;
    background-image: linear-gradient(var(--haar), var(--haar));
    background-position: var(--abstand-16) 100%;
    background-size: calc(100% - 2 * var(--abstand-16)) 1px;
    background-repeat: no-repeat;
}
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile-block { border-bottom: 0; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile :is(.zeile-text, .zeile-titel) { display: contents; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile :is(.zeile-text > *, .zeile-titel > b) { grid-column: 1; min-width: 0; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile .zeile-titel > b {
    display: block;
    margin: 0;
    overflow: visible;
    font-size: var(--f-20);
    line-height: calc(26px * var(--schriftmass));
    font-weight: 700;
    color: var(--tinte);
    white-space: normal;
    text-overflow: clip;
    overflow-wrap: anywhere;
    -webkit-line-clamp: unset;
}
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile :is(.zeile-neben, .zeile-stand, .zeile-hinweis) {
    display: block;
    margin-top: var(--abstand-4);
    overflow: visible;
    font-size: var(--f-15);
    line-height: calc(21px * var(--schriftmass));
    color: var(--leise);
    white-space: normal;
    text-overflow: clip;
    -webkit-line-clamp: unset;
}
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile .zeile-stand:empty { display: none; }
/* Der kurze Zusatzwert (Zahl, Betrag, Stand) rechts; was länger ist, steht schon im Text links. */
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile :is(.zeile-titel > :not(b), .zeile-rechts) {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    max-width: 104px;
    margin-left: var(--abstand-12);
    font-size: var(--f-15);
    line-height: calc(21px * var(--schriftmass));
    font-weight: 400;
    color: var(--leise);
    text-align: right;
    overflow-wrap: anywhere;
}
/* Passt der Name nicht neben den Zusatzwert, ohne mitten im Wort zu brechen, rutscht der Wert unter die Nebenzeilen (bedienung.js setzt .wert-unten;
   .misst gilt nur während der Messung). Der Pfeil bleibt rechts und steht mittig über allen Zeilen. */
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile.misst :is(.zeile-titel > b, .zeile-titel > :not(b), .zeile-rechts) { overflow-wrap: normal; hyphens: manual; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile.wert-unten :is(.zeile-titel > :not(b), .zeile-rechts) {
    grid-column: 1;
    grid-row: 8;
    align-self: start;
    max-width: none;
    margin-left: 0;
    margin-top: var(--abstand-4);
    text-align: left;
}
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile.wert-unten:is(a, button)::after,
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile.wert-unten > .zeile-pfeil { grid-row: 1 / span 8; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile .zeile-titel > .betrag { color: var(--tinte); font-weight: 600; }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile .zeile-titel > .betrag-ein { color: var(--ok); }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) :is(a.zeile, button.zeile)::after,
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile > .zeile-pfeil {
    grid-column: 3;
    grid-row: 1 / span 6;
    margin: 0 0 0 var(--abstand-12);
    background-color: var(--tinte);
}
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) .zeile > :not(.zeile-text, .zeile-pfeil, .zeile-rechts) { grid-column: 1; }

/* ---------- Vereinslokal, Scheibe 1 (Entwurf Main.dc.html 390 und Desktop.dc.html 1440, Herbert 13.11.2026) ----------
   Maße aus dem Entwurf; seine Farben auf unsere Tokens: #f1f1f1/#cdd2ce/#343e39 Band = --ton-flaeche/--ton-linie/--ton-wort,
   #556059 = --leise, #c6cfc8 = --linie, Balken #2f7d43/#e0a31a/#b3261e = x-ampel (--ok/--gelb/--gefahr). */
.vl-kopf { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px 16px; }
.vl-titel { margin: 0; font: 700 var(--f-28)/1.2 "Bitter Pro", serif; color: var(--tinte); }
.vl-unter { margin: 0; font-size: var(--f-15); line-height: 1.45; color: var(--leise); }
.vl-spalten, .vl-rechts, .vl-links { display: flex; flex-direction: column; min-width: 0; }
.vl-teil { display: flex; flex-direction: column; min-width: 0; }
.vl-teil + .vl-teil { margin-top: 20px; }
.vl-links { margin-top: 20px; }
/* Gerda im Vereinslokal: der Tag in Sätzen (Entwurf Vereinslokal je Stufe, 18.11.2026). */
.vl-gerda { padding: 0; margin-bottom: 20px; }
.vl-tag { display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px 0; }
.vl-tag .kreis-kuerzel { flex: none; width: 36px; height: 36px; }
.vl-tag .gs-blase { flex: 1 1 auto; padding: 12px 14px; }
.vl-tag-satz { margin: 0; font-size: var(--s-17); line-height: 1.6; }
.vl-tag-satz .vl-tag-verweis, .inhalt .vl-tag-satz a.vl-tag-verweis { color: var(--tinte); font-weight: 700; text-decoration: underline; text-decoration-color: var(--akzent, var(--verein, var(--tinte))); text-decoration-thickness: 1.5px; text-underline-offset: 4px; border-bottom: 0; }
.vl-tag-hinweis { margin: 8px 16px 0 62px; color: var(--leise); font-size: var(--s-13); line-height: 1.5; }
.vl-angebote { padding: 18px 16px 8px; }
.vl-angebote-wort { margin: 0 0 4px; color: var(--leise); font-size: var(--s-14); font-weight: 600; }
.vl-angebot { display: flex; flex-direction: column; gap: 10px; padding: 12px 0 14px; border-top: 1px solid var(--linie); }
.vl-angebot-satz { margin: 0; font-size: var(--s-17); line-height: 1.45; }
.vl-angebot-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.vl-angebot-knoepfe .knopf-haupt, .vl-angebot-knoepfe .knopf-still { min-height: 44px; padding: 0 18px; border-radius: 22px; font-size: var(--s-16, 16px); font-weight: 700; }
.vl-angebot-knoepfe .knopf-still { border: 1.5px solid var(--loden); background: var(--flaeche); color: var(--tinte); }
.vl-band { display: flex; align-items: center; box-sizing: border-box; min-height: 40px; margin: 0; padding: 0 16px; border-top: 1px solid var(--ton-linie); border-bottom: 1px solid var(--ton-linie); background: var(--ton-flaeche); font-size: var(--f-15); font-weight: 700; letter-spacing: 0.2px; color: var(--ton-wort); }
.vl-held { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 20px; border-bottom: 1px solid var(--ton-linie); }
.vl-held p { margin: 0; }
.vl-vorwort { font-size: var(--f-15); font-weight: 700; color: var(--leise); }
.vl-held-titel { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--f-22); font-weight: 700; line-height: 1.3; color: var(--tinte); text-decoration: none; }
.vl-held-titel:hover { text-decoration: underline; }
.vl-held-wann { font-size: var(--f-17); line-height: 1.45; }
.vl-held-ort { font-size: var(--f-16); line-height: 1.45; color: var(--leise); }
.vl-balken { display: block; margin-top: 4px; }
.vl-balken-gross { margin-top: 8px; }
.vl-balken .termin-ampel { gap: 2px; background: none; }
.vl-balken .termin-ampel span:first-child { border-radius: 4px 0 0 4px; }
.vl-balken .termin-ampel span:last-child { border-radius: 0 4px 4px 0; }
.vl-balken .termin-ampel span:only-child { border-radius: 4px; }
.vl-satz { display: block; margin: 0; font-size: var(--f-15); line-height: 1.45; color: var(--leise); }
.vl-held .vl-antwort { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: var(--f-16); line-height: 1.45; }
.vl-antwort-wort { color: var(--leise); }
.vl-antwort-stand { font-weight: 700; }
.vl-antwort-stand.ist-zu { color: var(--ok); }
.vl-antwort-stand.ist-ab { color: var(--gefahr); }
.vl-knoepfe { margin-top: 8px; }
.vl-knoepfe .pille { min-height: 48px; border-radius: 24px; font-size: var(--f-17); }
.vl-knoepfe .pille-voll { border: 1px solid var(--loden); }
.vl-zeilen { margin: 0; padding: 0; list-style: none; }
.vl-zeile { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 84px; padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--ton-linie); color: var(--tinte); text-decoration: none; }
.vl-zeile:hover { background: var(--ton-flaeche); }
.vl-zeile:focus-visible, .vl-alle:focus-visible, .vl-held-titel:focus-visible { outline: 3px solid var(--akzent); outline-offset: -3px; }
.vl-termin { min-height: 92px; gap: 10px; }
.vl-text { display: flex; flex: 1; flex-direction: column; gap: 4px; min-width: 0; }
.vl-text-weit { gap: 6px; }
.vl-zeile-titel { font-size: var(--f-20); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.vl-neben { font-size: var(--f-15); line-height: 1.45; color: var(--leise); }
.vl-vorwort-ton { font-size: var(--f-15); font-weight: 700; color: var(--ton-wort); }
.vl-meine { flex: none; font-size: var(--f-15); color: var(--leise); text-align: right; }
.vl-pfeil { flex: none; width: 18px; font-size: calc(30px * var(--schriftmass)); line-height: 1; text-align: center; color: var(--tinte); }
.vl-zeichen { flex: none; width: 32px; height: 32px; color: var(--ton-wort); }
.vl-ueben { display: flex; align-items: center; gap: 8px; font-size: var(--f-15); line-height: 1.35; }
.vl-stufe { flex: none; width: 14px; height: 14px; border-radius: 3px; background: var(--stufe-0); }
.vl-stufe.stufe-1 { background: var(--stufe-1); }
.vl-stufe.stufe-2 { background: var(--stufe-2); }
.vl-stufe.stufe-3 { background: var(--stufe-3); }
.vl-stufe.stufe-4 { background: var(--stufe-4); }
.vl-ueben-titel { flex: 1; min-width: 0; }
.vl-ueben-stufe { flex: none; color: var(--leise); }
.vl .vl-mappen { padding: 14px 16px 6px; }
.vl-alle { display: flex; align-items: center; box-sizing: border-box; min-height: 56px; padding: 0 12px 0 16px; font-size: var(--s-17); font-weight: 600; color: var(--ton-wort); text-decoration: none; }
.vl-alle-linie { min-height: 60px; border-bottom: 1px solid var(--ton-linie); }
.vl-alle-wort { flex: 1; }
.vl-alle .vl-pfeil { color: var(--ton-wort); }
/* Chips unter „Für mich“: der Stand-Chip des Bestands (Zeile ~830, ohne Punkt); „neutral“ ist dessen Form auf der Neutralfläche. */
.vl-stand-neutral { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: var(--s-12); font-weight: 600; line-height: 1.5; background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.vl-zeile > :is(.stand-offen, .vl-stand-neutral) { flex: none; white-space: nowrap; }
.vl-weiteres .abschnitt { margin-top: 0; }
/* „Aus dem Verein“ leer (angenommen 14.11.2026 am Bild): Satz, Erklärung, Knopf, kleiner als die Leerfläche einer ganzen Seite. */
.vl-teil .leer { padding: 24px 16px 28px; }
/* Der Knopf darin ist ein Tippziel: 44 px statt der 42 der Pille. */
.vl-teil .leer .pille { min-height: 44px; border-radius: 22px; }
/* Vereinslokal, Scheibe 3 (Entwurf Main.dc.html 390, Desktop.dc.html 1440; Befund Schritt 2): Wichtig-Karten oben, „Aus dem Verein“.
   Die Karte trägt die Vereinsfarbe (--wichtig-flaeche), tags über --loden wie der Kopf, nachts --verein; ohne Vereinsfarbe Loden.
   Berichtigt 14.11.2026: Herbert hat am Bild (vorschlag-wichtig-vereinsfarbe.png) „bleibt Loden“ vom 13.11.2026 zurückgenommen.
   Ein langer Text steht auf drei Zeilen; die Klappe „Ganzen Text lesen“ oder ein Sprung auf #eintrag-… zeigt ihn ganz. */
.vl-wichtig { display: flex; flex-direction: column; gap: 12px; padding: 0 16px 20px; }
.vl-wkarte { display: flex; flex-direction: column; gap: 10px; box-sizing: border-box; padding: 16px; border-radius: 10px; background: var(--wichtig-flaeche); color: var(--wichtig-schrift); }
.vl-wkarte.vl-auto { flex-direction: row; align-items: center; gap: 10px; min-height: 84px; padding: 14px 12px 14px 16px; border-bottom: 0; color: var(--wichtig-schrift); }
.vl-wkarte.vl-auto:hover { background: var(--wichtig-flaeche); }
a.vl-wkarte:hover .vl-zeile-titel { text-decoration: underline; }
.vl-wkopf { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--f-15); line-height: 1.45; color: var(--wichtig-leise); }
.vl-wwort { font-weight: 700; color: var(--wichtig-wort); }
.vl-wkarte .vl-datum, .vl-wkarte .vl-von { color: var(--wichtig-leise); }
.vl-wkopf .vl-datum { margin-left: auto; }
.vl-eintrag { scroll-margin-top: 96px; }
.vl-mitteilung { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-bottom: 1px solid var(--ton-linie); }
.vl-mitteilung.vl-wkarte { border-bottom: 0; }
.vl-mkopf { display: flex; align-items: baseline; gap: 10px; }
.vl-mtitel { flex: 1; min-width: 0; margin: 0; font-size: var(--f-20); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.vl-datum { flex: none; font-size: var(--f-15); color: var(--leise); }
.vl-von { margin: 0; font-size: var(--f-15); line-height: 1.45; color: var(--leise); }
.vl-etikett { font-weight: 700; color: var(--ton-wort); }
.vl-blatt { font-size: var(--f-15); font-weight: 600; line-height: 1.45; color: var(--ton-wort); }
.vl-mtext { margin: 0; font-size: var(--f-17); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
/* Reaktionen unter einer Mitteilung (Scheibe 7, Entwurf reaktionen()): Pille 44 hoch, Zeichen 20 px, Zahl daneben. Der eigene Tipp
   ist gefüllt und trägt „· du“ (Wort, nicht nur Farbe). Auf der Wichtig-Karte umgekehrt: Rand hell, eigener Tipp hell gefüllt. */
.vl-reaktionen { display: flex; flex-wrap: wrap; gap: 8px; margin: 2px 0 0; }
.vl-reaktionen .pille { min-height: 44px; padding: 0 14px; gap: 6px; border-radius: 22px; font-size: var(--f-16); }
.vl-reaktionen .pille-rand { border-color: var(--linie); }
.vl-reaktionen .pille-voll { border: 2px solid var(--loden); }
.vl-reaktionen .pille .nav-zeichen { width: 20px; height: 20px; }
.vl-wkarte .vl-reaktionen .pille-rand { border-color: color-mix(in srgb, var(--wichtig-schrift) 55%, transparent); color: var(--wichtig-schrift); }
.vl-wkarte .vl-reaktionen .pille-voll { border-color: var(--wichtig-schrift); background: var(--wichtig-schrift); color: var(--wichtig-flaeche); }
.vl-wkarte .vl-reaktionen .pille:focus-visible { outline-color: var(--wichtig-wort); }
/* „Ältere ansehen“ (Scheibe 7, Entwurf Schritt 2 Aeltere): die Monatsbänder folgen ohne Abstand aufeinander. */
.vl-monat + .vl-monat { margin-top: 0; }
.vl-rueck { display: flex; flex-direction: column; padding: 16px 16px 0; }
@media (min-width: 1120px) {
    .vl-rueck { padding: 16px 0 0; }
    /* Entwurf Aeltere-Desktop: eine Spalte von rund 760 px, die Monatsbänder schließen ohne Abstand an. */
    .vl-aeltere { max-width: 760px; }
    .vl-aeltere .vl-monat + .vl-monat { margin-top: 0; }
}
.vl-mitteilung.ist-lang .vl-mtext { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.vl-mitteilung.ist-lang:has(> .info-klapp[open]) .vl-mtext,
.vl-mitteilung.ist-lang:target .vl-mtext { display: block; -webkit-line-clamp: none; overflow: visible; }
.startseite .vl-eintrag .info-klapp { margin: 0; border: 0; }
.startseite .vl-eintrag .klapp-kopf { justify-content: flex-start; min-height: 44px; padding: 0; font-size: var(--f-17); font-weight: 600; color: var(--ton-wort); }
.startseite .vl-wkarte .klapp-kopf { color: var(--wichtig-schrift); }
.startseite .vl-eintrag .klapp-kopf::after { border-color: currentColor; }
.vl-mkopf .vl-punkte, .vl-wkopf .vl-punkte { flex: none; align-self: center; width: 44px; height: 44px; min-height: 44px; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--ton-flaeche-stark); color: var(--tinte); font-size: var(--f-17); font-weight: 700; line-height: 1; }
.vl-wkopf .vl-punkte { background: transparent; border: 1px solid var(--wichtig-leise); color: var(--wichtig-schrift); }
div.vl-auto:hover { background: none; }
.vl-zahl { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--ton-linie); font-size: var(--f-15); line-height: 1.45; color: var(--leise); }
/* Fenster „Mitteilung“: Schalter „Wichtig“ mit Wort An/Aus; „Wichtig bis“ steht nur, wenn der Schalter an ist (ohne Skript). */
.vl-mform .schalter { padding: 8px 0; border-top: 1px solid var(--haar); border-bottom: 1px solid var(--haar); }
.vl-mform .schalter-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 16px; }
.vl-schalter-wort { grid-column: 1; font-size: var(--f-17); font-weight: 700; }
.vl-schalter-satz { grid-column: 1; font-size: var(--f-15); font-weight: 400; color: var(--leise); }
.vl-schalter-stand { grid-column: 2; grid-row: 1 / span 2; font-size: var(--f-17); font-weight: 600; }
.vl-schalter-stand::after { content: "Aus"; }
.vl-mform .schalter:has(.schalter-feld:checked) .vl-schalter-stand::after { content: "An"; }
.vl-mform:not(:has(.schalter-feld:checked)) .vl-wichtig-bis { display: none; }
.vl-mform .vl-wichtig-bis input { max-width: 240px; }
/* Blatt zum Lesen (Scheibe 6, Entwurf Blatt.dc.html): Freigabe-Vermerk mit Wort, weißes Blatt, Verein in Messing, Titel in Bitter,
   Angaben, Abschnitte mit Nummer, Beschluss auf dem Grund, Schluss leise. */
.vl-lesen { display: flex; flex-direction: column; gap: var(--abstand-12); margin-top: var(--abstand-12); }
.vl-lesen-vermerk { display: flex; flex-direction: column; gap: var(--abstand-4); }
.vl-lesen-frei { align-self: flex-start; margin: 0; padding: 5px 12px; border-radius: 6px; background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); font-size: var(--f-15); font-weight: 700; }
.vl-lesen-blatt { display: flex; flex-direction: column; gap: 18px; padding: 22px 18px 26px; border: 1px solid var(--linie); border-radius: 10px; background: var(--flaeche); }
.vl-lesen-verein { margin: 0; font: 700 var(--f-13)/1.3 "Bitter Pro", serif; letter-spacing: .08em; text-transform: uppercase; color: var(--messing); }
.vl-lesen-titel { margin: 0; font: 700 var(--f-22)/1.25 "Bitter Pro", serif; overflow-wrap: anywhere; }
.vl-lesen-werte { padding: 14px 0; border-top: 1px solid var(--haar); border-bottom: 1px solid var(--haar); }
.vl-lesen-werte .pp-wert dt { width: 110px; }
.vl-lesen-abschnitt { display: flex; flex-direction: column; gap: var(--abstand-8); }
.vl-lesen-unter { display: flex; gap: 10px; margin: 0; font-size: var(--f-19); font-weight: 700; line-height: 1.3; }
.vl-lesen-nr { min-width: 20px; font-family: "Bitter Pro", serif; color: var(--messing); }
.vl-lesen-abschnitt > .vl-lesen-text, .vl-lesen-beschluss { margin: 0 0 0 30px; }
.vl-lesen-text { margin: 0; font-size: var(--f-17); line-height: 1.55; overflow-wrap: anywhere; }
ul.vl-lesen-text { padding-left: 20px; }
.vl-lesen-beschluss { display: flex; flex-direction: column; gap: var(--abstand-8); padding: 12px 14px; border-radius: 6px; background: var(--zweit); }
.vl-lesen-beschluss-wort { margin: 0; font-size: var(--f-15); font-weight: 700; }
.vl-lesen-schluss { padding-top: 14px; border-top: 1px solid var(--haar); }
/* Abschnitt „Für Mitglieder“ auf Sitzungs- und Einteilungsseite (Scheibe 6): der Stand als Satz, fett. */
.vl-freigabe-stand { margin: 0; font-size: var(--f-17); font-weight: 700; }
.vl-freigabe .formular { display: flex; flex-direction: column; gap: var(--abstand-16); }
/* In einer Modulliste (Einteilung) läuft der Inhalt randlos; der Abschnitt nimmt den Rand wie .hinweis-leise. */
.mk-inhalt > .vl-freigabe { margin-top: var(--abstand-24); padding: 0 var(--abstand-16); }
@media (min-width: 1120px) {
    .haupt .mk-inhalt > .vl-freigabe { padding-left: 0; padding-right: 0; }
}
@media (min-width: 1120px) {
    .vl-wichtig { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: 16px; padding: 0 0 28px; }
}
@media (min-width: 1120px) {
    .vl-kopf { padding: 14px 0 22px; }
    .vl-titel { font-size: calc(var(--f-30) + 2px); }
    .vl-unter { font-size: var(--f-16); }
    .vl-verein { display: none; }
    .vl-spalten { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: start; }
    .vl-spalten { row-gap: 0; }
    .vl-rechts { grid-column: 2; grid-row: 1 / span 2; }
    .vl-gerda { grid-column: 1; grid-row: 1; margin-bottom: 28px; }
    .vl-links { grid-column: 1; grid-row: 2; margin-top: 0; }
    .vl-teil + .vl-teil { margin-top: 28px; }
    .haupt .vl .zeile { padding-left: 16px; padding-right: 16px; }
    .haupt .vl-weiteres .abschnitt { border-radius: 0; }
}

/* ---------- Startseite des Betreibers (Entwurf „Betreiber Start“, Claude Design, angenommen 13.11.2026) ----------
   Handy 390: eine Spalte. Desktop: links „Das wartet auf dich“, rechts 460 px Betrieb, Buchung, Bestand.
   Maße aus dem Entwurf: Band 40 hoch, Zeile mindestens 84, Titel 20, Stand-Chip ohne Punkt (stand-*), Wappenfeld 48 (zwei gestaffelt je 36). */
.bstart { padding-bottom: 24px; }
.bstart-gruss { margin: 0; padding: 16px; font: 700 calc(22px * var(--schriftmass))/1.3 "Bitter Pro", serif; }
.bstart-raster { display: flex; flex-direction: column; gap: 20px; }
.bstart-spalte { display: flex; flex-direction: column; min-width: 0; }
.bstart-band {
    display: flex; align-items: center; height: 40px; box-sizing: border-box; margin: 0; padding: 0 16px;
    background: var(--ton-flaeche); border-top: 1px solid var(--ton-linie); border-bottom: 1px solid var(--ton-linie);
    font-size: calc(15px * var(--schriftmass)); font-weight: 700; letter-spacing: 0.2px; color: var(--ton-wort);
}
.bstart-spalte .bstart-band ~ .bstart-band { margin-top: 20px; }
.bstart-leer { display: flex; flex-direction: column; gap: 6px; padding: 20px 16px 24px; border-bottom: 1px solid var(--ton-linie); }
.bstart-leer-satz { margin: 0; font: 700 calc(20px * var(--schriftmass))/1.3 "Bitter Pro", serif; }
.bstart-leer-neben { margin: 0; font-size: calc(16px * var(--schriftmass)); line-height: 1.45; color: var(--leise); }
.bstart-gruppe { display: flex; align-items: center; gap: 10px; margin: 0; padding: 18px 16px 8px; border-bottom: 1px solid var(--ton-linie); color: var(--ton-wort); }
.bstart-gruppe .nav-zeichen { width: 26px; height: 26px; }
.bstart-gruppe b { font: 700 calc(18px * var(--schriftmass))/1.3 "Bitter Pro", serif; }
.bstart-gruppe-zahl { font-size: calc(15px * var(--schriftmass)); color: var(--leise); }
.bstart-zeilen { margin: 0; padding: 0; list-style: none; }
.bstart-zeile {
    display: flex; align-items: flex-start; gap: 12px; min-height: 84px; box-sizing: border-box;
    padding: 14px 12px 14px 16px; border-bottom: 1px solid var(--ton-linie); color: var(--tinte); text-decoration: none;
}
a.bstart-zeile:hover { background: var(--ton-flaeche); }
.bstart-mitte { align-items: center; }
.bstart-vorne { position: relative; flex: none; width: 52px; height: 52px; margin-top: 2px; }
.bstart-vorne > .vwappen-klein:first-child { position: absolute; left: 0; top: 0; }
.bstart-vorne > .vwappen-klein + .vwappen-klein { position: absolute; left: 16px; top: 16px; }
.bstart-ohne { width: 34px; height: 34px; margin: 7px; color: var(--ton-wort); }
.bstart-zeichen { width: 32px; height: 32px; color: var(--ton-wort); }
.bstart-text { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.bstart-titel { font-size: calc(20px * var(--schriftmass)); font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.bstart-chips { display: flex; flex-wrap: wrap; gap: 6px; }
/* Stand-Chip ohne Punkt aus den vorhandenen stand-*-Klassen (Herbert 05.11.2026, Vorschlag B2); der Punkt im Entwurf gilt nicht.
   Ohne Ampel kein Chip, nur leiser Text. */
.bstart-stand { align-self: flex-start; }
.bstart-leise { font-size: var(--s-14); line-height: 1.45; color: var(--leise); }
.bstart-chip-zahl { align-self: center; padding: 1px 10px; font-size: calc(18px * var(--schriftmass)); font-weight: 700; font-variant-numeric: tabular-nums; }
.bstart-namen { font-size: calc(15px * var(--schriftmass)); line-height: 1.45; color: var(--ton-wort); }
.bstart-namen b { font-weight: 600; }
.bstart-zahl { flex: none; min-width: 18px; padding-top: 2px; font-size: calc(20px * var(--schriftmass)); font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.bstart-pfeil { flex: none; width: 18px; padding-top: 2px; font-size: calc(30px * var(--schriftmass)); line-height: 1; text-align: center; }
.bstart-mitte .bstart-pfeil { padding-top: 0; }
.bstart-wartung { background: color-mix(in srgb, var(--ampel-orange-flaeche) 45%, var(--flaeche)); }
.bstart-beenden { flex: none; align-self: center; margin: 0; }
.bstart-beenden .pille { min-height: 44px; padding: 0 16px; font-size: calc(17px * var(--schriftmass)); border-color: var(--ampel-orange-tinte); background: var(--flaeche); color: var(--ampel-orange-tinte); }
.bstart-summe { margin: 0; padding: 10px 16px; border-bottom: 1px solid var(--ton-linie); font-size: calc(15px * var(--schriftmass)); color: var(--leise); }
.bstart-alle { align-items: center; min-height: 60px; padding-top: 0; padding-bottom: 0; font-size: calc(18px * var(--schriftmass)); font-weight: 600; color: var(--ton-wort); }
.bstart-alle .nav-zeichen { width: 28px; height: 28px; }
.bstart-alle .bstart-pfeil { padding-top: 0; }
/* Wappenfeld: weiße Kachel mit Linie; Ecke 22 %, Innenabstand 12 %, Zeichen 72 % der Kante (Baustein Wappenfeld im Entwurf). */
.vwappen {
    display: inline-flex; align-items: center; justify-content: center; flex: none; box-sizing: border-box; overflow: hidden;
    width: 48px; height: 48px; padding: 6px; border-radius: 11px; border: 1px solid var(--linie); background: var(--weiss);
}
.vwappen-klein { width: 36px; height: 36px; padding: 4px; border-radius: 8px; }
.vwappen-ring { box-shadow: 0 0 0 2px var(--flaeche); }
.vwappen img { display: block; width: 100%; height: 100%; object-fit: contain; }
.vwappen-zeichen { width: 72%; height: 72%; flex: none; color: var(--umgebung); }
.vwappen .vwappen-marke { width: 72%; height: 72%; }
@media (min-width: 1120px) {
    .bstart-gruss { padding: 14px 0 22px; font-size: calc(28px * var(--schriftmass)); line-height: 1.25; }
    .bstart-raster { display: grid; grid-template-columns: minmax(0, 1fr) 460px; gap: 40px; align-items: start; }
    .bstart-spalte .bstart-band ~ .bstart-band { margin-top: 28px; }
}

/* ---------- Suche im Vereinslokal (Entwurf Claude Design „Suche“, von Herbert angenommen 13.11.2026; SucheInhalt.dc.html):
   Zahlzeile 15 leise, Gruppenwort als Band 40 hoch, Trefferzeile 84 hoch mit Titel fett und Pfeil in Tinte,
   abgesetzt unter einer 2-px-Linie die Schlusszeilen 72 hoch in der Hauptfarbe. Am Schreibtisch höchstens 860 breit. */
.treffer { max-width: 860px; }
.treffer-zahl { margin: 0; padding: 14px 16px 10px; font-size: var(--s-14); color: var(--leise); }
.treffer-leer { margin: 0; padding: 28px 16px 20px; font: 700 var(--s-20)/1.35 "Bitter Pro", serif; color: var(--tinte); }
.treffer-gruppe {
    display: flex;
    align-items: center;
    height: 40px;
    margin: 0;
    padding: 0 16px;
    box-sizing: border-box;
    background: var(--gruppenband);
    border-top: 1px solid var(--gruppenband-linie);
    border-bottom: 1px solid var(--gruppenband-linie);
    font-size: var(--s-14);
    font-weight: 700;
    letter-spacing: 0.2px;
    color: var(--ton-wort);
}
.treffer .zeilen { margin: 0; padding: 0; list-style: none; }
.treffer .zeile { align-items: center; gap: 10px; min-height: 84px; padding: 14px 12px 14px 16px; border-bottom-color: var(--gruppenband-linie); }
.treffer .zeile-titel b { font-weight: 700; line-height: 1.3; white-space: normal; overflow: visible; text-overflow: clip; }
.treffer .zeile-neben { margin-top: 4px; font-size: var(--s-14); line-height: 1.45; }
.treffer :is(a, button).zeile::after { width: 24px; height: 24px; background-color: var(--tinte); }
.treffer-gerda { padding-bottom: 6px; }
/* „In einem Bereich weitersuchen“: eine Klappe statt der langen Liste (Herbert 15.11.2026, Bild angenommen). */
.treffer .info-klapp { margin: 24px 0 0; border-top: 1px solid var(--gruppenband-linie); border-bottom: 1px solid var(--gruppenband-linie); }
.treffer .info-klapp > .klapp-kopf { min-height: 64px; padding: 0 16px; }
.treffer .info-klapp[open] > .klapp-kopf { border-bottom: 1px solid var(--gruppenband-linie); }
.treffer .info-klapp .zeilen > li:last-child .zeile { border-bottom: 0; }
.treffer-schluss { margin-top: 28px; border-top: 2px solid var(--ton-wort); }
.treffer .treffer-schluss .zeile { min-height: 72px; padding-top: 12px; padding-bottom: 12px; color: var(--ton-wort); }
.treffer .treffer-schluss :is(a, button).zeile::after { background-color: var(--ton-wort); }
.treffer .treffer-schluss button.zeile:disabled { cursor: progress; }
/* Gerda arbeitet (Herbert 15.11.2026: „Es ist nicht klar ob Gerda wirklich arbeitet?“): Solange die Seite auf Gerda wartet
   (bedienung.js setzt aria-busy), steht am Zeilenende statt des Pfeils › drei Punkte, über die langsam ein dunkler Schein
   wandert. Der Pfeil fiele weg, weil es nichts zu öffnen gibt. Bei „Bewegung reduzieren“ stehen die drei Punkte still. */
.treffer button.zeile[aria-busy="true"] { cursor: progress; }
.treffer button.zeile[aria-busy="true"]:hover { background: none; }
.treffer button.zeile[aria-busy="true"]::after {
    width: 36px;
    height: 24px;
    background: linear-gradient(90deg, var(--linie) 0 30%, var(--tinte) 50%, var(--linie) 70% 100%) 100% 0 / 300% 100%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Ccircle cx='6' cy='12' r='4'/%3E%3Ccircle cx='18' cy='12' r='4'/%3E%3Ccircle cx='30' cy='12' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 24'%3E%3Ccircle cx='6' cy='12' r='4'/%3E%3Ccircle cx='18' cy='12' r='4'/%3E%3Ccircle cx='30' cy='12' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: gerdaarbeitet 1.6s ease-in-out infinite;
}
@keyframes gerdaarbeitet { to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .treffer button.zeile[aria-busy="true"]::after { animation: none; background: var(--tinte); } }
/* Gespräch mit Gerda (Herbert 15.11.2026, Bild assistent/suche-bau/vorschlag-gespraech-mit-gerda-390.png angenommen):
   deine Fragen rechts in Loden, Gerda links mit „G“ in heller Blase, Gegenfragen mit Antworten zum Antippen, die Stelle im
   Programm als Zeile in der Blase. Das Feld zum Zurückschreiben klebt über der Fußleiste (am Desktop am unteren Rand). */
.gespraech { margin: 0 0 8px; border-bottom: 1px solid var(--linie); }
.gespraech-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 10px 16px; background: var(--gs-ton); border-bottom: 1px solid var(--linie); }
.gespraech-kopf h2 { margin: 0; font: 700 var(--s-16) "Source Sans 3", system-ui, sans-serif; color: var(--ton-wort); }
.gespraech-kopf span { font-size: var(--s-14); color: var(--leise); }
.gespraech-verlauf { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 14px 16px; list-style: none; }
.gespraech-verlauf:empty { display: none; }
.gs-ich { align-self: flex-end; max-width: 80%; padding: 10px 14px; border-radius: 14px 14px 4px 14px; background: var(--loden); color: var(--auf-loden); font-size: var(--s-16); line-height: 1.35; overflow-wrap: anywhere; }
.gs-gerda { display: flex; align-items: flex-start; gap: 10px; max-width: 92%; }
.gs-gerda .kreis { width: 36px; height: 36px; font-size: var(--s-14); }
.gs-blase { min-width: 0; padding: 10px 14px; border: 1px solid var(--linie); border-radius: 14px 14px 14px 4px; background: var(--ton-flaeche); font-size: var(--s-16); line-height: 1.4; }
.gs-blase > p { margin: 0; white-space: pre-line; }
.gs-blase .zeilen { margin: 10px 0 0; }
.gs-belege { display: flex; flex-direction: column; gap: 8px; }
/* Stück vom Blatt: Kopf und Fuß, wie das Gerät sie gelesen hat (Konzept mit und ohne KI, 16.11.2026). */
/* Stück vom Blatt (Entwurf Von Hand und Herkunft 16.11.2026, B.1/B.2): Abschnitt Kopf und Fuß, der Ausschnitt, darunter die Felder mit Herkunftswort. */
.gs-ausschnitte { display: flex; flex-direction: column; gap: 16px; margin: 10px 0 0; }
.gs-ausschnitt { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.gs-ausschnitt-wort { margin: 0; color: var(--leise); font-size: var(--s-14); font-weight: 600; }
.gs-ausschnitt img { display: block; width: 100%; height: auto; border: 1px solid var(--linie); border-radius: 6px; }
.gs-ausschnitt img[hidden] { display: none; }
.gs-feld { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 10px 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); }
.gs-feld-wert { font-size: var(--s-17); font-weight: 600; overflow-wrap: anywhere; }
.gs-herkunft { padding: 1px 8px; border-radius: 6px; background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); font-size: var(--s-13); font-weight: 600; line-height: 1.5; }
.gs-feld-gerda .gs-herkunft { background: color-mix(in srgb, var(--akzent) 14%, var(--flaeche)); color: var(--akzent); }
:root[data-dunkel="immer"] .gs-feld-gerda .gs-herkunft { background: color-mix(in srgb, var(--akzent) 22%, var(--flaeche)); }
.gs-feld-nicht { border-style: dashed; }
.gs-feld-nicht .gs-feld-wert { color: var(--leise); }
.gs-feld-nicht .gs-herkunft { border: 1px dashed var(--linie); background: none; color: var(--leise); }
.gs-belege .zeile { min-height: 52px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); }
.gs-belege .zeile-titel b { font-size: var(--s-16); }
.treffer .gs-blase form .zeile { min-height: 48px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); }
.gs-wahl { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin: 10px 0 2px; }
.gs-wahl form { margin: 0; }
.gs-wahl .knopf-still { justify-content: flex-start; width: 100%; min-height: 44px; padding: 6px 16px; border: 1.5px solid var(--loden); border-radius: 22px; background: var(--flaeche); text-align: left; white-space: normal; }
.gs-wahl .knopf-still:disabled { border-color: var(--linie); color: var(--leise); cursor: default; }
/* Gerda sucht: dieselben drei Punkte mit dem wandernden Schein wie in der Zeile „Gerda fragen“. */
.gs-punkte { display: block; width: 36px; height: 16px; margin-top: 6px;
    background: linear-gradient(90deg, var(--linie) 0 30%, var(--tinte) 50%, var(--linie) 70% 100%) 100% 0 / 300% 100%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 16'%3E%3Ccircle cx='6' cy='8' r='4'/%3E%3Ccircle cx='18' cy='8' r='4'/%3E%3Ccircle cx='30' cy='8' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 16'%3E%3Ccircle cx='6' cy='8' r='4'/%3E%3Ccircle cx='18' cy='8' r='4'/%3E%3Ccircle cx='30' cy='8' r='4'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: gerdaarbeitet 1.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .gs-punkte { animation: none; background: var(--tinte); } }
.gespraech-eingabe { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 5; display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-top: 2px solid var(--loden); background: var(--flaeche); }
.gespraech-eingabe .feld { flex: 1 1 auto; min-width: 0; }
.gespraech-eingabe .feld-zeile { display: block; min-height: 0; border: 0; }
.gespraech-eingabe .feld-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gespraech-eingabe .feld-wert { min-height: 48px; padding: 0 16px; border: 1px solid var(--linie); border-radius: 24px; background: var(--flaeche); }
.gespraech-eingabe .feld-wert:focus-visible { outline: 3px solid var(--akzent); outline-offset: 1px; }
.gespraech-eingabe .knopf-haupt { flex: none; min-height: 48px; border-radius: 24px; font-weight: 700; font-size: var(--s-16); }
.gespraech-hinweis { padding: 4px 16px 10px; }
@media (min-width: 1120px) { .gespraech-eingabe { bottom: 0; } }
.treffer-ende { height: 32px; }

/* ---------- Gerdas Seite nach Entwurf von Claude Design (Herbert 15.11.2026, Bild assistent/suche-bau/entwurf-gerda-seite-zeichen-390.png) ----------
   Das Gespräch ist der Baustein der Suche; dazu die Begrüßung mit großem Kreis, „Wartet auf dich“ eingerückt in Gerdas Blase,
   darunter die drei Knöpfe Erstellen, Schreiben, Nachsehen (x-neu.aufgabenwahl, Entwurf Aufgaben im Gespräch), unten das Feld. *
.gerda-gespraech { margin: 0; border-bottom: 0; }
.gerda-gespraech .gespraech-kopf { min-height: 44px; align-items: center; border-bottom: 0; }
.gerda-gespraech .gespraech-verlauf { gap: 14px; padding: 20px 16px 24px; }
.gerda-gespraech .gs-blase { flex: 1 1 auto; }
.gs-gruss { align-items: flex-end; }
.gs-gruss .kreis { width: 48px; height: 48px; flex: none; font: 700 var(--s-20)/1 "Bitter Pro", serif; box-shadow: 0 0 0 6px var(--ton-flaeche); }
.gs-gruss .gs-blase { padding: 14px 16px; }
.gs-gruss-titel { font: 700 var(--s-20)/1.35 "Bitter Pro", serif; }
.gs-gruss .gs-blase > p + p { margin-top: 4px; }
.gs-nachsatz { max-width: 100%; padding-left: 58px; }
.gs-nachsatz .gs-blase { padding: 12px; }
.gs-ueber { margin: 0 0 2px 4px; font-size: var(--s-14); font-weight: 600; color: var(--leise); }
.gs-ueber + .zeilen { margin-top: 8px; }
.gs-gerda.ist-aus .kreis { color: var(--leise); background: var(--zweit); }
.gs-gerda.ist-aus .gs-blase { background: var(--zweit); }
.gs-satz { font-weight: 700; }
.gs-blase > .gs-leise { margin-top: 6px; color: var(--leise); }
.gerda-werkbank { display: flex; flex-direction: column; gap: 12px; padding: 20px 16px 32px; }
.werkbank-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--linie); }
.werkbank-kopf h2 { margin: 0; font: 700 var(--s-22)/1.2 "Bitter Pro", serif; }
.werkbank-kopf span { font-size: var(--s-14); color: var(--leise); }
.gerda-werkbank .feldhinweis { margin: 6px 0 0; padding: 0; }
/* ---------- Aufgaben im Gespräch mit Gerda (Entwurf Claude Design, Herbert 15.11.2026, Bild vorschlag-entwurf-aufgaben-im-gespraech-390.png) ----------
   Band mit dem Modell oben, das Gespräch scrollt nach oben weg, unten Feld mit Büroklammer und die drei Knöpfe. Am Handy steht
   der untere Teil über der Fußleiste fest; am Bildschirm ist alles ein Kasten, in dem nur das Gespräch scrollt. */
.gs-band { position: sticky; top: 0; z-index: 6; min-height: 44px; padding: 6px 16px; }
.gs-band-wer { display: flex; flex-direction: column; }
.gs-band-modell { margin: 0; font-size: var(--s-15); font-weight: 700; color: var(--tinte); }
.gerda-seite .gerda-gespraech { position: relative; }
.gerda-gespraech .gs-spalte { display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; }
.gs-kennzeichnung { margin: 6px 0 0; font-size: var(--s-14); color: var(--leise); }
.gs-ich-datei { white-space: pre-line; }
.gs-marke { display: flex; align-items: center; gap: 10px; margin: 6px 0; list-style: none; }
.gs-marke::before, .gs-marke::after { content: ""; flex: 1 1 0; height: 1px; background: var(--linie); }
.gs-marke-kapsel { display: inline-flex; align-items: center; gap: 10px; max-width: 80%; padding: 5px 16px 5px 5px; border: 1px solid var(--linie); border-radius: 26px; background: var(--flaeche); }
.gs-marke-kreis { display: flex; flex: none; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 19px; background: var(--ton-flaeche); color: var(--ton-wort); }
.gs-marke-kreis .nav-zeichen { width: 22px; height: 22px; }
.gs-marke-wort { display: flex; flex-direction: column; min-width: 0; }
.gs-marke-ueber { font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.gs-marke-wort b { font-size: var(--s-17); font-weight: 700; overflow-wrap: anywhere; }
.gs-entwurf { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; padding: 14px 16px 16px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); }
.gs-entwurf > p { margin: 0; }
.gs-entwurf-art { font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.gs-entwurf-titel { padding-bottom: 8px; border-bottom: 1px solid var(--messing); font: 700 var(--s-20)/1.3 "Bitter Pro", serif; }
.gs-entwurf-text { font-size: var(--s-17); line-height: 1.55; white-space: pre-line; }
.gs-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.gs-aktion form { margin: 0; }
.gs-aktion > .knopf-haupt { flex: 1 1 auto; min-height: 48px; border-radius: 24px; font-size: var(--s-17); font-weight: 700; }
.gs-aktion .knopf-still { min-height: 48px; padding: 0 22px; border: 1.5px solid var(--loden); border-radius: 24px; background: var(--flaeche); font-size: var(--s-17); font-weight: 700; }
.gs-aktion .knopf-still:disabled, .gs-aktion .knopf-haupt:disabled { opacity: .55; cursor: default; }
.gs-kopiert { flex-basis: 100%; font-size: var(--s-14); color: var(--leise); }
.gs-unten { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); z-index: 31; display: flex; flex-direction: column; gap: 10px; padding: 10px 16px; border-top: 2px solid var(--loden); background: var(--flaeche); }
/* Das Feld sitzt unten direkt auf der Fußleiste, ohne Lücke darunter, auch wenn das Gespräch noch kurz ist. */
@media (max-width: 1119px) {
    .app:has(> .haupt > .gerda-seite) { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
    .haupt:has(> .gerda-seite) { display: flex; flex-direction: column; padding-bottom: 0; }
    .gerda-seite { display: flex; flex: 1 0 auto; flex-direction: column; }
    .gerda-seite .gerda-gespraech { flex: 1 0 auto; }
}
.gs-unten .gespraech-eingabe { position: static; align-items: flex-end; padding: 0; border: 0; }
.gs-unten .gespraech-hinweis { margin: 0; padding: 0; font-size: var(--s-13); }
.gs-feldkasten { flex: 1 1 auto; min-width: 0; border: 1px solid var(--linie); border-radius: 24px; background: var(--flaeche); }
.hat-anhaenge .gs-feldkasten { border-radius: 16px; }
.gs-feldkasten:focus-within { outline: 3px solid var(--akzent); outline-offset: 1px; }
.gs-schreibzeile { display: flex; align-items: center; min-height: 46px; }
.gs-unten .gespraech-eingabe .gs-feldkasten .feld-wert { min-height: 46px; padding: 0 16px 0 0; border: 0; border-radius: 0; background: transparent; font-size: var(--s-17); }
.gs-unten .gespraech-eingabe .gs-feldkasten .feld-wert:focus-visible { outline: 0; }
.gs-klammer { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 22px; color: var(--tinte); cursor: pointer; }
.gs-klammer .nav-zeichen { width: 26px; height: 26px; }
.gs-klammer-wahl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.gs-anhaenge { padding: 10px 10px 2px; }
.gs-anhaenge-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gs-anhang { position: relative; padding: 6px 6px 0 0; }
.gs-anhang-bild { display: block; width: 64px; height: 64px; border: 1px solid var(--linie); border-radius: 8px; object-fit: cover; }
.gs-anhang-pdf { display: flex; align-items: center; gap: 8px; max-width: 240px; height: 64px; padding: 0 12px 0 8px; border-radius: 8px; background: var(--zweit); }
.gs-pdf-kachel { display: flex; flex: none; align-items: center; justify-content: center; width: 34px; height: 44px; border: 1px solid var(--linie); border-radius: 2px 10px 2px 2px; background: var(--flaeche); color: var(--loden); font-size: var(--s-12); font-weight: 700; }
.gs-anhang-name { overflow: hidden; font-size: var(--s-15); text-overflow: ellipsis; white-space: nowrap; }
.gs-anhang-weg { position: absolute; top: -4px; right: -6px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 2px solid var(--flaeche); border-radius: 14px; background: var(--tinte); color: var(--flaeche); font: 700 var(--s-14)/1 "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.gs-anhang-weg::after { content: ""; position: absolute; inset: -8px; }
.gs-anhaenge-zahl { margin: 6px 0 0; font-size: var(--s-14); color: var(--leise); }
.gs-knoepfe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.gs-knoepfe-einer { display: flex; }
.gs-knopf { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 10px; border: 1px solid var(--linie); border-radius: 22px; background: var(--gs-ton); color: var(--tinte); font: 700 var(--s-15)/1.2 "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
.gs-knopf .nav-zeichen { flex: none; width: 20px; height: 20px; color: var(--ton-wort); }
.gs-knopf[aria-expanded="true"] { padding: 0 9px; border: 2px solid var(--ton-wort); background: var(--ton-flaeche); }
.gs-knopf:focus-visible, .gs-aufgabe:focus-visible, .gs-zu:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.gs-knopf-pfeil { display: none; }
.gs-schleier { position: fixed; inset: 0; z-index: 48; background: var(--schleier); }
.gs-gruppe { position: fixed; right: 0; bottom: 0; left: 0; z-index: 49; max-height: 85vh; max-height: 85dvh; overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); border-radius: 16px 16px 0 0; background: var(--flaeche); }
.gs-gruppe-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid var(--linie); }
.gs-gruppe-titel { margin: 0; font: 700 var(--s-22)/1.2 "Bitter Pro", serif; }
.gerda-seite .gs-zu, .inhalt .gerda-seite a.gs-zu { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--linie-stark); border-radius: 4px; color: var(--tinte); font-size: var(--s-16); font-weight: 700; text-decoration: none; }
.gs-gruppe-zeilen { margin: 0; }
.gs-aufgabe { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; width: 100%; min-height: 72px; padding: 10px 16px; border: 0; border-bottom: 1px solid var(--linie); background: var(--flaeche); color: var(--tinte); font: inherit; text-align: left; cursor: pointer; }
.gs-aufgabe-titel { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.gs-aufgabe-titel b { font-size: var(--s-17); font-weight: 700; }
.gs-aufgabe-neben { font-size: var(--s-15); color: var(--leise); }
.gs-aufgabe-fehlt { font-size: var(--s-15); font-weight: 600; }
.gs-aufgabe:disabled { cursor: default; }
.gs-aufgabe:disabled .gs-aufgabe-titel b { color: var(--leise); }
/* „Von Hand“ ohne Gerda Plus (Entwurf Von Hand und Herkunft 16.11.2026, A.1): die Linie gehört dem Behälter, darunter ein eigenes Ziel ins Modul oder der Hinweis. */
.gs-aufgabe-zeile { border-bottom: 1px solid var(--linie); }
.gs-aufgabe-zeile > .gs-aufgabe { border-bottom: 0; }
.gs-von-hand { display: flex; align-items: center; gap: 8px; min-height: 48px; margin: 0 16px 8px; padding: 6px 4px 6px 14px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); color: var(--tinte); font-size: var(--s-16); line-height: 1.35; text-decoration: none; }
.inhalt a.gs-von-hand, .inhalt a.gs-von-hand:hover { border-bottom: 1px solid var(--linie); }
.gs-von-hand:focus-visible { outline: 3px solid var(--akzent); outline-offset: 2px; }
.gs-von-hand-text { flex: 1 1 auto; min-width: 0; }
.gs-von-hand-wort { font-weight: 600; color: var(--leise); }
.gs-von-hand-pfeil { flex: none; width: 16px; font-size: var(--f-28); line-height: 1; color: var(--leise); }
.gs-von-hand-hinweis { margin: 0 16px 12px; padding: 8px 12px; border-radius: 8px; background: var(--zweit); color: var(--leise); font-size: var(--s-15); line-height: 1.45; }
.gs-gruppe-satz { margin: 0; padding: 16px 16px 20px; font-size: var(--s-15); color: var(--leise); }
.gs-ablegen { position: absolute; inset: 8px; z-index: 4; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 2px dashed var(--ton-wort); border-radius: 12px; background: color-mix(in srgb, var(--flaeche) 94%, transparent); color: var(--ton-wort); text-align: center; }
.gs-ablegen[hidden] { display: none; }
.gs-ablegen .nav-zeichen { width: 56px; height: 56px; }
.gs-ablegen-titel { margin: 0; font: 700 var(--s-22)/1.2 "Bitter Pro", serif; color: var(--tinte); }
@media (min-width: 1120px) {
    .gerda-seite { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: calc(100vh - 160px); height: calc(100dvh - 160px); min-height: 560px; margin-top: 16px; overflow: hidden; border: 1px solid var(--linie); border-radius: 12px; }
    .gs-band { position: static; }
    .gerda-seite .gerda-gespraech { min-height: 0; overflow-y: auto; }
    .gerda-seite .gerda-gespraech > .stufenzeile, .gerda-seite .gerda-gespraech > .gespraech-verlauf { max-width: 760px; margin-right: auto; margin-left: auto; }
    .gs-unten { position: static; padding: 10px max(16px, calc((100% - 1080px) / 2)); }
    .gs-knoepfe { max-width: 560px; }
    .gs-knopf-pfeil { display: inline-block; font-size: var(--s-16); line-height: 1; transform: rotate(90deg); }
    .gs-knopf[aria-expanded="true"] .gs-knopf-pfeil { transform: rotate(-90deg); }
    .gs-schleier { display: none; }
    .gs-gruppe { position: static; max-height: 40vh; padding-top: 4px; border-top: 1px solid var(--linie); border-radius: 0; }
    .gs-gruppe-kopf { display: none; }
    .gs-gruppe-zeilen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
    .gs-gruppe-satz { padding: 10px 0 0; }
}

/* ---------- Gerdas Spalte am Computer (Entwurf Claude Design 17.11.2026): rechts 420 breit neben jeder Seite, öffnet und schließt über „Gerda“ in der Randspalte ---------- */
.gerda-spalte { display: none; }
@media (min-width: 1120px) {
    .app.hat-gerda-spalte { grid-template-columns: 240px minmax(0, 1fr) 420px; grid-template-areas: "randspalte kopf spalte" "randspalte haupt spalte"; }
    .gerda-spalte { grid-area: spalte; position: sticky; top: 0; display: block; height: 100vh; height: 100dvh; min-width: 0; overflow: hidden; border-left: 1px solid var(--linie); background: var(--flaeche); }
    .gerda-spalte[hidden] { display: none; }
    .gerda-spalte[aria-busy] { opacity: 0.6; }
    .gerda-spalte .gerda-seite { height: 100%; min-height: 0; margin-top: 0; border: 0; border-radius: 0; }
    .gerda-spalte .gs-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; padding-block: 10px; }
    .gerda-spalte .gs-band > span { grid-column: 1 / -1; grid-row: 2; }
    .gerda-spalte .gs-band > [data-gerda-spalte-zu] { grid-column: 2; grid-row: 1; }
    .gerda-spalte .gerda-gespraech > .stufenzeile, .gerda-spalte .gerda-gespraech > .gespraech-verlauf { max-width: none; }
    .gerda-spalte .gs-unten { padding: 10px 16px; }
    .gerda-spalte .gs-knoepfe { max-width: none; }
    .gerda-spalte .gs-gruppe-zeilen { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Gerda trägt ein (Entwurf Claude Design 17.11.2026): Feld mit 2-px-Rand in der Vereinsfarbe und zarter Fläche, darunter die Marke „von Gerda eingetragen“ ---------- */
.gerda-marke { align-self: flex-start; display: inline-block; margin: 6px 0 0; padding: 1px 8px; border-radius: 6px; background: var(--ton-flaeche); color: var(--ton-wort); font-size: var(--s-13); font-weight: 600; line-height: 1.5; }
.feld:has(+ .gerda-marke) .feld-wert { border: 2px solid var(--ton-wort); background: var(--ton-flaeche); }
.fenster .feld:has(+ .gerda-marke) input[data-b="feld"]:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]) { padding: 4px 10px; border: 2px solid var(--ton-wort); border-radius: 6px; background: var(--ton-flaeche); }
.gs-eintrag { display: flex; flex-direction: column; gap: 6px; margin: 8px 0 0; padding: 10px 12px; border: 1px solid var(--linie); border-radius: 8px; background: var(--flaeche); }
.gs-eintrag-zeile { display: flex; flex-direction: column; gap: 2px; margin: 0; }
.gs-eintrag-zeile dt { font-size: var(--s-13); font-weight: 600; color: var(--leise); }
.gs-eintrag-zeile dd { margin: 0; font-size: var(--s-16); font-weight: 600; }

/* ---------- Kassa nach Entwurf von Claude Design (Herbert 13.11.2026): Inhalt der Sonderformen, Bausteine wie im Programm ---------- */
/* Am Handy zeigt das T-Konto eine Seite; der Umschalter wählt Ausgaben/Einnahmen bzw. Soll/Ist. Ab 700 px stehen beide Seiten nebeneinander. */
.tk-wahl .reiterleiste { display: none; }
.tkonto > .reiterblatt { padding-top: 0; }
@media (max-width: 699px) {
    .tk-wahl .reiterleiste { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 16px 0; border: 1px solid var(--linie); border-radius: var(--radius-feld); overflow: hidden; }
    .tk-wahl .reiter { min-height: 44px; margin: 0; padding: 0 12px; border: 0; background: var(--flaeche); color: var(--tinte); font: 700 var(--s-15) "Source Sans 3", system-ui, sans-serif; cursor: pointer; }
    .tk-wahl .reiter.ist-an { background: var(--loden); color: var(--auf-loden); }
    .tk-wahl .reiter.ist-an::before { content: "\2713\00a0"; }
    .tk-wahl .reiter:focus-visible { outline: 3px solid var(--akzent); outline-offset: -3px; }
    .tk-wahl .tkonto { grid-template-columns: 1fr; }
    .tk-wahl .tkonto > section + section { border-left: 0; }
    .tk-wahl .tk-posten { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; }
    .tk-wahl .tk-posten .betrag { flex: none; align-self: baseline; }
}
@media (min-width: 700px) {
    .tk-wahl .tkonto > .reiterblatt { display: block; }
}
@media print {
    .tk-wahl .reiterleiste { display: none; }
    .tk-wahl .tkonto { grid-template-columns: 1fr 1fr; }
    .tk-wahl .tkonto > .reiterblatt { display: block; }
}
/* Kassabuch: der Saldo steht rechts unter dem Betrag, „Beleg liegt vor“ in eigener Zeile */
.kb-neben { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 2px; }
.kb-neben .zeile-neben { flex: 1; min-width: 0; margin-top: 0; white-space: normal; }
.kb-saldo { flex: none; font-size: var(--s-14); color: var(--leise); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.kb-beleg { font-weight: 600; color: var(--tinte); }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .kb-neben { display: contents; }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .zeile-titel > b { grid-row: 1; }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .kb-neben > .zeile-neben { grid-column: 1; grid-row: 2; }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .zeile-titel > .betrag { grid-row: 1; align-self: start; margin-top: 3px; max-width: none; white-space: nowrap; }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .kb-saldo { grid-column: 2; grid-row: 2; align-self: start; margin: var(--abstand-4) 0 0 var(--abstand-12); font-size: var(--f-15); line-height: calc(21px * var(--schriftmass)); }
.mk-liste .mk-inhalt .zeilen.kb-zeilen:not(.fenster *, .im-fenster) .zeile .kb-beleg { grid-column: 1; grid-row: 3; font-weight: 600; color: var(--tinte); }
/* Budget: Ist füllt, Wartendes schließt an, der Strich steht beim Soll */
.budget-balken { position: relative; height: 8px; margin: 6px 0; border-radius: 4px; background: var(--haar); }
.budget-balken .bb-ist { position: absolute; top: 0; bottom: 0; left: 0; width: var(--ist); border-radius: 4px 0 0 4px; background: var(--gefahr); }
.budget-balken .bb-vor { position: absolute; top: 0; bottom: 0; left: var(--ist); width: var(--vor); background: color-mix(in srgb, var(--gefahr) 45%, var(--flaeche)); }
.budget-balken.ist-ein .bb-ist { background: var(--ok); }
.budget-balken.ist-ein .bb-vor { background: color-mix(in srgb, var(--ok) 45%, var(--flaeche)); }
.budget-balken .bb-soll { position: absolute; top: -5px; bottom: -5px; left: var(--soll); width: 2px; margin-left: -2px; background: var(--tinte); }
/* Verbrauch von Gerda Plus (Seite Gerda, Bauplan W5): der Balken unter einer Zeile steht im Rand der Zeile. */
.zeile-block > .budget-balken { margin: 0 16px 16px; }
.budget-legende { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 16px 0; font-size: var(--s-13); color: var(--leise); }
.budget-legende span::before { content: ""; display: inline-block; width: 14px; height: 8px; margin-right: 6px; border-radius: 2px; vertical-align: middle; }
.budget-legende .bl-soll::before { width: 10px; background: var(--haar); border-right: 2px solid var(--tinte); }
.budget-legende .bl-ist::before { background: linear-gradient(90deg, var(--gefahr) 50%, var(--ok) 50%); }
.budget-legende .bl-vor::before { background: linear-gradient(90deg, color-mix(in srgb, var(--gefahr) 45%, var(--flaeche)) 50%, color-mix(in srgb, var(--ok) 45%, var(--flaeche)) 50%); }
.budget-summe { column-gap: 0; }
.budget-summe > :not(:nth-child(3n+1)) { padding-left: 16px; }
.budget-summe .bs-kopf { padding-bottom: 4px; border-bottom: 2px solid var(--ton-wort); }
.budget-summe .bs-kopf:empty::before { content: "\00a0"; }
.budget-summe .bs-leise { font-weight: 400; color: var(--leise); }
/* Jahresabrechnung: die Konten als Zeilen, Name links, Stand rechts */
.konten-zeilen { margin: 0; padding: 0; list-style: none; }
.konten-zeilen li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.konten-zeilen li + li { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--haar); }
.konten-zeilen b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

.tf .register-liste .tf-haken { padding: var(--abstand-8) 0 var(--abstand-16); }
/* Absenzen nach Register: die Klappen im Fenster sehen aus wie die Register der Rückmeldungen (Zeile mit Linie, Pfeil nach unten), nicht wie Kästen. */
.fenster.fenster-seite .register-liste .info-klapp { padding: 0; border: 0; border-top: 1px solid var(--haar); border-radius: 0; margin: 0; }
.fenster.fenster-seite .register-liste .info-klapp:last-child { border-bottom: 1px solid var(--haar); }
.fenster.fenster-seite .register-liste .info-klapp > .klapp-kopf { min-height: 64px; gap: 12px; justify-content: space-between; font-size: var(--f-16); font-weight: 600; }
.fenster.fenster-seite .register-liste .info-klapp > .klapp-kopf::after { content: ""; flex: none; width: 10px; height: 10px; margin: 0 4px 3px 12px; background: none; -webkit-mask: none; mask: none; border-style: solid; border-color: var(--tinte); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.fenster.fenster-seite .register-liste .info-klapp[open] > .klapp-kopf::after { margin-bottom: -3px; transform: rotate(-135deg); }
.fenster.fenster-seite .register-liste .info-klapp[open] { display: block; }

/* „Für Mitglieder freigeschaltet“ (Vereinslokal, Scheibe 8; Entwurf Schritt 2, Bild 8): Bänder wie im Vereinslokal (.vl-band),
   Zeilen 64 hoch, Zeichen links, Wort fett, darunter der leise Satz, rechts Stand und Schieber; die Zeile ist die Tippfläche. */
.fs-teil { margin: 16px 0 0; }
.fs-liste { margin: 0; padding: 0; list-style: none; }
.fs-zeile { display: flex; align-items: center; gap: 12px; box-sizing: border-box; min-height: 64px; padding: 0 0 0 16px; border-bottom: 1px solid var(--ton-linie); color: var(--tinte); }
.fs-zeichen { flex: none; width: 24px; height: 24px; color: var(--ton-wort); }
.fs-text { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 16px 10px 0; }
.fs-form { display: block; flex: 1; min-width: 0; margin: 0; }
.fs-form .schalter { min-height: 64px; padding: 8px 16px 8px 0; border-bottom: 0; }
.fs-form .schalter-text { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 12px; }
.fs-wort { grid-column: 1; font-size: var(--f-17); font-weight: 700; line-height: 1.3; }
.fs-satz { grid-column: 1; font-size: var(--f-15); line-height: 1.4; color: var(--leise); }
.fs-stand { grid-column: 2; grid-row: 1 / span 2; font-size: var(--f-15); font-weight: 600; color: var(--leise); }
.fs-fest { display: inline-flex; flex: none; align-items: center; gap: 6px; padding-right: 16px; font-size: var(--f-15); font-weight: 600; color: var(--leise); }
.fs-fest .nav-zeichen { width: 18px; height: 18px; }

/* ---------- Termine nach dem Entwurf (Claude Design, angenommen 14.11.2026) ----------
   Liste: Abschnitt als Überschrift 19 mit Linie, die eigene Antwort als fettes Wort (grün „Ich komme“, rot „Ich kann nicht“),
   „Deine Antwort fehlt noch“ als Stand-Chip, Summen leise. Am Computer ab 1280 links die Liste (540), rechts der gewählte Termin.
   Termin-Seite: Kopf als Zeilen (Tag und Zeit fett, Ort, Treffen leise, Art und Sichtbarkeit als Chip, Bemerkung), ein Zahlensatz
   mit Balken in seiner Breite; ab 1280 links Kopf, Antwort und Zahlen (480), rechts Rückmeldungen, Absenzen, Planung, Gebucht. */
.tl .zeile-stand { gap: 4px 10px; }
.tl-ich { font-weight: 700; }
.tl-ich-zu { color: var(--ok); }
.tl-ich-ab { color: var(--gefahr); }
.tl .tl-summe { color: var(--leise); }
.tl .zeile[aria-current="true"] { background: var(--zweit); }
@media (min-width: 1120px) {
    .haupt .tl .abschnitt { padding-left: 12px; padding-right: 12px; border-radius: 0; border-bottom: 1px solid var(--linie); }
}
@media (min-width: 1280px) {
    .tl-zwei:has(> .tl-gewaehlt:not([hidden])) { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); column-gap: 48px; align-items: start; max-width: 1120px; }
    .tl-gewaehlt { position: sticky; top: 0; max-height: 100vh; max-height: 100dvh; overflow-y: auto; padding: 8px 0 24px 40px; border-left: 1px solid var(--linie); box-sizing: border-box; }
}
.tp-kopfzeile.tp-nur-menue { justify-content: flex-end; }
.tp-kopfzeile.tp-nur-menue:not(:has(.knopf-still, .knopf-haupt, a, button)) { display: none; }
.tp-raster, .tp-links, .tp-rechts { display: flex; flex-direction: column; min-width: 0; }
.tp-raster { gap: var(--abstand-24); }
.tp-links { gap: 18px; }
.tp-kopf { display: flex; flex-direction: column; gap: 10px; padding-top: var(--abstand-8); }
.tp-kopf > * { margin: 0; }
.tp-titelverweis { color: inherit; text-decoration: none; border-bottom: 0; }
.inhalt a.tp-titelverweis, .tp a.tp-titelverweis:hover { border-bottom: 0; }
.tp-wann { margin-top: 4px; font-size: calc(18px * var(--schriftmass)); font-weight: 600; line-height: 1.4; }
.tp-ort { font-size: var(--f-17); line-height: 1.4; }
.tp-treffen { font-size: var(--f-17); line-height: 1.4; color: var(--leise); }
.tp-marken { display: flex; flex-wrap: wrap; gap: var(--abstand-8); margin-top: 2px; }
.tp-marke { display: inline-block; padding: 1px 8px; border-radius: 6px; font-size: var(--f-13); font-weight: 600; line-height: 1.5; background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.tp-bemerkung { font-size: var(--f-17); line-height: 1.5; }
.tp-summe { padding-bottom: var(--abstand-16); border-bottom: 1px solid var(--linie); }
.tp-summe-innen { display: inline-flex; flex-direction: column; gap: var(--abstand-8); max-width: 100%; }
.tp-zahlen { margin: 0; font-size: calc(18px * var(--schriftmass)); font-weight: 600; line-height: 1.4; }
.tp-summe .termin-balken { width: 100%; }
.tp-ueber { margin: 0; padding: 20px 0 10px; border-bottom: 1px solid var(--linie); font-size: var(--f-19); font-weight: 700; line-height: 1.3; color: var(--tinte); }
.tp-rueckmeldungen { gap: 0; }
.tp .reg-namen .zeile-name { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; min-height: 0; padding: 8px 0 8px 16px; }
.tp .reg-namen .zeile-titel b { font-weight: 600; }
.tp-person-stand { display: flex; flex-wrap: wrap; align-items: center; gap: var(--abstand-8); }
.tp .tp-person-stand .zeile-neben { margin: 0; }
.tp .tp-person-stand :is(.stand-zu, .stand-ab, .stand-offen) { padding: 1px 8px; border-radius: 6px; font-size: var(--f-13); line-height: 1.5; font-weight: 600; }
.tp-absenzen { gap: 0; }
.tp-festgestellt { margin: 16px 0 0; font-size: var(--f-17); line-height: 1.5; }
.tp-absenzen > .pp-klein { margin-top: var(--abstand-12); }
.tp-fehlt { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.tp-fehlt li { display: flex; align-items: center; justify-content: space-between; gap: var(--abstand-12); min-height: 52px; border-bottom: 1px solid var(--haar); }
.tp-fehlt-name { font-size: var(--f-17); font-weight: 600; }
.tp-fehlt-wort { flex: none; font-size: var(--f-16); font-weight: 600; color: var(--tinte); }
.tp-geld { padding: 0; }
.tp-geld .abschnitt { margin: 0; padding: 20px 0 10px; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0; background: none; font-size: var(--f-19); font-weight: 700; line-height: 1.3; letter-spacing: 0; color: var(--tinte); }
.pp.tp.tp-spalte { padding: 0; max-width: none; }
@media (min-width: 1280px) {
    .pp.tp:not(.tp-spalte) .tp-raster { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); column-gap: 48px; align-items: start; }
}

/* Preisjassen (Plan Preisjassen P3/P4, Skizze skizze-schreiben-390.png): Stand je Platz, Punkte des Spiels mit Kontrolle 157.
   Die Felder sind die Zeilenfelder (.feld), nur größer und rechtsbündig für Zahlen. */
.pj-schritt { display: flex; flex-direction: column; gap: var(--abstand-12); margin: var(--abstand-16) 16px; }
.pj-mitschrift { display: flex; flex-direction: column; gap: var(--abstand-12); padding: var(--abstand-16) 0; }
.pj-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--abstand-8); margin: 0 16px; padding: 0; list-style: none; }
.pj-kachel { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; padding: 10px 6px; border: 1px solid var(--linie); border-radius: var(--radius-karte); background: var(--flaeche); text-align: center; }
.pj-kachel.pj-schreiber { border-color: var(--loden); }
.pj-kachel-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--s-14); color: var(--leise); }
.pj-kachel-zahl { font-size: var(--s-20); font-weight: 700; color: var(--tinte); }
.pj-zwischen { margin: 0 16px; font-size: var(--s-14); line-height: 1.4; color: var(--leise); }
.pj-eingabe { display: flex; flex-direction: column; gap: var(--abstand-12); margin: 0 16px; padding: var(--abstand-16) 0; border: 1px solid var(--linie); border-radius: var(--radius-karte); background: var(--flaeche); }
.pj-eingabe-titel { margin: 0 16px; font: 700 var(--s-20) "Bitter Pro", Georgia, serif; color: var(--tinte); }
.pj-eingabe .feld-zeile { grid-template-columns: minmax(0, 1fr) 112px; min-height: 64px; }
.pj-eingabe .feld-name { font-size: var(--s-16); font-weight: 700; color: var(--tinte); }
.pj-eingabe .feld-wert { min-height: 52px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: var(--radius-karte); font-size: var(--s-20); text-align: center; }
.pj-eingabe .feld-wert:focus-visible { border-color: var(--loden); }
.pj-summe { margin: 0 16px; padding: 12px 14px; border-radius: var(--radius-karte); font-size: var(--s-16); font-weight: 700; background: var(--ampel-neutral-flaeche); color: var(--ampel-neutral-tinte); }
.pj-summe-gut { background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.pj-summe-falsch { background: var(--ampel-rot-flaeche); color: var(--ampel-rot-tinte); }
.pj-eingabe .haken { margin: 0 16px; }
.pj-eingabe > .knopf-haupt { margin: 0 16px; }
.pj-zurueck { margin: 0 16px; font-size: var(--s-14); text-align: center; color: var(--leise); }
.pj-mitschrift > .feldhinweis { margin: 0 16px; }
tr.pj-jetzt td, tr.pj-ich td { background: var(--ton-flaeche); }
.pj-gast { min-height: 100vh; background: var(--zweit); }
.pj-kopf { padding: 18px 16px 16px; background: var(--band); color: var(--auf-band); }
.pj-kopf-ort { margin: 0; font-size: var(--s-14); line-height: 1.4; }
.pj-kopf-titel { margin: 2px 0 0; font: 700 calc(26px * var(--schriftmass)) "Bitter Pro", Georgia, serif; }
.pj-gast-inhalt { display: flex; flex-direction: column; gap: var(--abstand-12); max-width: 1120px; margin: 0 auto; padding-bottom: 32px; }
.pj-gast-inhalt > p, .pj-gast-inhalt > .feldhinweis, .pj-gast-inhalt > .meldung { margin-left: 16px; margin-right: 16px; }
.pj-ich-satz { margin-top: var(--abstand-12); font-weight: 600; }
.pj-hinweis { margin: var(--abstand-12) 16px; }

/* ---------- Hilfe, Startseite (Plan Hilfe H5, Bild angenommen 15.11.2026): Schloss vor „Für die Vereinsleitung“ ---------- */
.hilfe-kategorie .nav-zeichen { width: 14px; height: 14px; margin: -2px 6px 0 0; }

/* Datenschutz-Stufen I bis IV (Herbert, 15.11.2026): runder Badge mit römischer Zahl. Grün = I, Blau = II, Orange = III, Rot = IV
   (Rot als Zustand „Rechtsrisiko“, Gelb bleibt der Ampel). Die Zahl steht immer im Badge, nie nur die Farbe. */
.stufe {
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font: 700 var(--s-14) Bitter, Georgia, serif;
    line-height: 1;
    color: var(--ampel-gruen-tinte);
    background: var(--ampel-gruen-flaeche);
}
.stufe-klein { width: 22px; height: 22px; font-size: var(--s-12); vertical-align: 2px; margin-left: 6px; }
.stufe-blau { color: var(--stufe-blau-schrift); background: var(--stufe-blau-flaeche); }
.stufe-orange { color: var(--ampel-orange-tinte); background: var(--ampel-orange-flaeche); }
.stufe-rot { color: var(--ampel-rot-tinte); background: var(--ampel-rot-flaeche); }
.stufe-klapp { margin: 8px 16px 0; border: 0; }
.stufe-chip { display: inline-flex; justify-content: flex-start; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 22px; font-weight: 600; font-size: var(--s-14); color: var(--ampel-gruen-tinte); background: var(--ampel-gruen-flaeche); }
.stufe-chip.stufe-blau { color: var(--stufe-blau-schrift); background: var(--stufe-blau-flaeche); }
.stufe-chip.stufe-orange { color: var(--ampel-orange-tinte); background: var(--ampel-orange-flaeche); }
.stufe-chip.stufe-rot { color: var(--ampel-rot-tinte); background: var(--ampel-rot-flaeche); }
.stufe-chip .stufe { margin-left: 0; vertical-align: baseline; background: var(--flaeche); }
.stufe-satz { margin: 8px 0 0; font-size: var(--s-14); line-height: 1.45; color: var(--leise); }
.zeile-name-logo { display: flex; align-items: flex-start; gap: 12px; }
.zeile-name-logo > .vwappen { flex: none; }
/* Betreiberseite, Vereinsliste: das Vereinslogo steht vor dem Namen (Herbert, 15.11.2026). Die Zeile ist ein eigenes Raster; das Logo liegt links daneben. */
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) a.zeile.zeile-mit-logo { position: relative; padding-left: calc(var(--abstand-16) + 36px + 12px); }
.mk-liste .mk-inhalt .zeilen:not(.fenster *, .im-fenster) a.zeile.zeile-mit-logo > .vwappen { position: absolute; left: var(--abstand-16); top: 50%; transform: translateY(-50%); grid-column: auto; }
.zeile-titel b .stufe-klein { margin-left: 8px; }
/* Die Stufe für Mitglieder (Herbert, 15.11.2026): Badge und ein Satz, wo Gerda rechnet. */
.stufenzeile { display: flex; align-items: flex-start; gap: 10px; margin: 0 0 12px; font-size: var(--s-14); line-height: 1.45; color: var(--leise); }
.stufenzeile .stufe-klein { margin-left: 0; margin-top: 1px; }
.stufenzeile b { font-weight: 600; color: var(--tinte); }
.stufenzeile-klein { margin: 0; padding: 10px 16px 0; font-size: var(--s-13); }
.gs-herkunft { margin: 0; padding: 8px 16px 0; font-size: var(--s-14); color: var(--leise); }
.gs-herkunft b { color: var(--tinte); font-weight: 600; }

/* Schritt für Schritt (Entwurf Claude Design 17.11.2026): Kopf mit Balken, Schritte mit Kreis und Linie, Stand immer mit Wort. */
.schritte { display: block; margin: 0; }
.schritte-kopf { margin: 0 0 8px; font-size: var(--s-14); font-weight: 600; color: var(--leise); }
.schritte-balken { display: flex; gap: 3px; margin: 0 0 16px; }
.schritte-teil { flex: 1; height: 6px; border-radius: 3px; background: var(--linie); }
.schritte-teil.ist-erledigt { background: var(--ampel-gruen-tinte); }
.schritte-teil.ist-dran { background: var(--akzent); }
.schritte-liste { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.ablauf-schritt { position: relative; margin: 0 0 18px; padding: 0 0 0 44px; counter-increment: schritt; }
.ablauf-schritt:last-child { margin-bottom: 0; }
.ablauf-schritt::before { content: counter(schritt); position: absolute; left: 0; top: 0; box-sizing: border-box; width: 32px; height: 32px; border: 1.5px solid var(--linie); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: var(--s-15); font-weight: 600; color: var(--leise); background: var(--flaeche); }
.ablauf-schritt:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: -16px; width: 2px; background: var(--linie); }
.ablauf-schritt-erledigt::before { content: "✓"; border-color: transparent; background: var(--ampel-gruen-flaeche); color: var(--ampel-gruen-tinte); }
.ablauf-schritt-erledigt:not(:last-child)::after { background: var(--ampel-gruen-tinte); }
.ablauf-schritt-dran::before { border: 2px solid var(--akzent); background: var(--ton-flaeche-stark); color: var(--akzent); }
.ablauf-schritt-spaeter::before { border-style: dashed; border-color: var(--leise); }
.ablauf-schritt-titel { margin: 4px 0 2px; font-size: var(--s-17); font-weight: 600; }
.ablauf-schritt-dran .klapp-kopf { font-weight: 700; }
.ablauf-schritt .klapp-kopf { font-size: var(--s-17); }
.ablauf-schritt-erledigt .klapp-kopf { color: var(--leise); }
.stand-hier, .stand-spaeter { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: var(--s-13); font-weight: 600; }
.stand-hier { color: var(--akzent); background: var(--ton-flaeche-stark); }
.stand-spaeter { color: var(--leise); background: var(--ampel-neutral-flaeche); }
.ablauf-schritt-inhalt { padding: 10px 0 0; }
.ablauf-schritt-satz { margin: 0 0 10px; font-size: var(--s-16); line-height: 1.45; }
.ablauf-schritt-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.ablauf-schritt-knoepfe form { margin: 0; }
.schritte-seite { max-width: 640px; padding: 0 20px; box-sizing: border-box; }
.ablauf-schritt .klapp-kopf span { white-space: nowrap; }
.schritte-leiste { border-bottom: 1px solid var(--linie); background: var(--flaeche); padding: 0 12px 0 16px; }
.schritte-leiste .info-klapp { margin: 0; }

/* Das habe ich mir gemerkt / Zuletzt gemacht: Knopf unter der Zeile und das Feld zum Dazuschreiben stehen im Rand der Seite. */
.zeile-block > form { margin: 0 16px 14px; }
.gemerkt-neu { margin: 20px 16px 0; max-width: 560px; }
.gemerkt-neu .knopf-haupt { margin-top: 12px; }
