/* Gestaltung !StraTeGo (0026), nach Jonys Entwürfen docs/ux/entwuerfe/login-v3.html und verwaltung.html.
   Nur Darstellung: Farben, Schrift, Abstände, Karten mit Farbstreifen. Texte kommen aus den Templates.
   Dunkle Fassung: stratego-dunkel.css (nur bei prefers-color-scheme: dark geladen). */

:root {
  --blau:#1A325D; --blau-dunkel:#142849; --tief:#10213F; --orange:#F6921E; --gruen-hell:#5CC952;
  --orange-text:#B35F00; --gruen-band:#25871C; --gruen-text:#1F7A18; --hell:#F4F6FA; --linie:#E2E8F0;
  --rand:#7C889B; --mitte:#5E6B80; --auf-blau:#BAC2CF; --fehler:#B42318; --fehler-grund:#FEF3F2;
  --warn-grund:#FFF6EA; --ok-grund:#EEF8EC;
  /* Flächen der Karte; die dunkle Fassung tauscht nur diese */
  --karte:#fff; --karte-text:var(--blau); --karte-leise:var(--mitte); --feld:var(--hell); --feld-fokus:#fff;
  --knopf-haupt:var(--blau); --knopf-haupt-hover:var(--blau-dunkel); --knopf-haupt-text:#fff;
  --streifen:linear-gradient(90deg, var(--blau) 0 50%, var(--orange) 50% 75%, var(--gruen-band) 75% 100%);
}

*, *::before, *::after { box-sizing:border-box; }
html, body { margin:0; padding:0; min-height:100%; }
body { font-family:'Poppins', system-ui, sans-serif; font-size:15px; line-height:1.6; color:#fff;
  background:var(--tief); -webkit-font-smoothing:antialiased; }
p, h1, h2, h3, ul, form, fieldset { margin:0; }
:focus-visible { outline:3px solid var(--orange); outline-offset:3px; }

/* Hinweis Testsystem: schmale Leiste ganz oben */
.testsystem { margin:0; padding:8px 16px; background:#EEF0F3; color:var(--mitte); font-size:12px;
  border-bottom:1px solid var(--linie); position:relative; z-index:3; }

/* Logo in drei Farben */
.logo { font-size:30px; font-weight:800; letter-spacing:-.5px; line-height:1; margin:0; text-decoration:none; }
.logo .a { color:#fff; } .logo .b { color:var(--orange); } .logo .c { color:var(--gruen-hell); }

/* Band unten: die drei Blöcke */
.band-unten { display:flex; min-height:52px; position:relative; z-index:1; }
.band-unten div { flex:1; display:flex; align-items:center; justify-content:center; text-align:center; padding:0 8px;
  font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:#fff; }
.band-unten .s { background:var(--blau); } .band-unten .t { background:var(--orange); color:var(--blau); }
.band-unten .g { background:var(--gruen-band); }

/* Kreise im Hintergrund */
.ring { position:absolute; border-radius:50%; pointer-events:none; }

/* ------------------------------------------------------------------ Karte (beide Bereiche) */
.flaeche { background:var(--karte); color:var(--karte-text); border-radius:16px; position:relative;
  box-shadow:0 30px 80px rgba(0,0,0,.35); }
.flaeche::before { content:''; position:absolute; left:0; right:0; top:0; height:6px; border-radius:16px 16px 0 0;
  background:var(--streifen); }
.flaeche > * + * { margin-top:16px; }
.flaeche a { color:var(--karte-text); font-weight:600; text-decoration:none; border-bottom:1px solid currentColor; }
.flaeche a:focus-visible, .flaeche button:focus-visible, .flaeche input:focus-visible, .flaeche textarea:focus-visible {
  outline:3px solid var(--karte-text); outline-offset:2px; }
.flaeche h2 { font-size:20px; font-weight:700; line-height:1.25; }
.flaeche .leise { color:var(--karte-leise); font-size:13px; }
.flaeche a.kontakt { white-space:nowrap; } /* L10: bricht nicht am Bindestrich um */
.flaeche label, .flaeche legend { display:block; font-size:12px; font-weight:600; letter-spacing:.3px; margin-bottom:6px; }
.flaeche input[type=email], .flaeche input[type=text], .flaeche input[type=password], .flaeche textarea {
  display:block; width:100%; min-height:50px; margin:0 0 18px; padding:0 16px; font:inherit; font-size:15px;
  color:var(--karte-text); background:var(--feld); border:1.5px solid var(--rand); border-radius:8px; }
.flaeche textarea { padding:12px 16px; min-height:96px; resize:vertical; }
.flaeche input:focus, .flaeche textarea:focus { border-color:var(--karte-text); background:var(--feld-fokus); }
.flaeche input::placeholder, .flaeche textarea::placeholder { color:#6B778A; }
.flaeche input[type=radio] { width:18px; height:18px; accent-color:var(--blau); margin:0 8px 0 0; vertical-align:-3px; }
/* Zustimmung (Neue Firma, 0029): Kästchen oben bündig mit dem Text, ganze Zeile klickbar (Entwurf .check.top) */
.flaeche .zustimmung label { display:flex; gap:10px; align-items:flex-start; font-size:13px; font-weight:400;
  letter-spacing:0; color:var(--karte-leise); cursor:pointer; margin:0; min-height:44px; }
.flaeche input[type=checkbox] { width:20px; height:20px; accent-color:var(--blau); margin:1px 0 0; flex-shrink:0; }
.flaeche .zustimmung a { color:var(--karte-text); }
/* Fehler am Feld (Entwurf .fg .err): leiser Satz direkt unter dem Feld, roter Rand am Feld; kein Kasten */
.flaeche span.fehler { display:block; margin:6px 0 18px; padding:0; background:none; border:0; font-size:13px; }
.flaeche input[aria-invalid=true] { border-color:var(--fehler); margin-bottom:0; }
.flaeche .zustimmung span.fehler { margin:4px 0 10px 30px; }
.flaeche .zustimmung .neuer-tab { display:block; margin:4px 0 0 30px; }
/* Rückweg (Befund Frank 28.11.): auf jeder Seite im Anmelde-Rahmen gleich, unten in der Karte; Form wie .back im Entwurf login-v3 */
.flaeche .rueckweg { font-size:13px; margin-top:24px; }
.flaeche .rueckweg a { font-weight:600; border-bottom:1px solid currentColor; }
.flaeche fieldset { border:0; padding:0; margin:0; min-width:0; }
.flaeche fieldset label { font-size:14px; font-weight:400; letter-spacing:0; display:inline-flex; align-items:center;
  min-height:44px; margin:0; cursor:pointer; }

/* Knöpfe: Nebenknopf hell mit Rand, Hauptknopf blau mit Pfeil */
.flaeche button, .flaeche a.knopf, .kopf button, .oben button {
  display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:0 20px;
  font:inherit; font-size:14px; font-weight:600; line-height:1.2; text-align:center; text-decoration:none; cursor:pointer;
  border-radius:8px; background:var(--karte); color:var(--karte-text); border:1.5px solid var(--rand); }
.flaeche button:hover, .flaeche a.knopf:hover { background:var(--feld); }
.flaeche button.haupt, .flaeche a.knopf.haupt {
  min-height:54px; background:var(--knopf-haupt); color:var(--knopf-haupt-text); border-color:var(--knopf-haupt); font-size:16px; }
.flaeche button.haupt:hover, .flaeche a.knopf.haupt:hover { background:var(--knopf-haupt-hover); border-color:var(--knopf-haupt-hover); }
.flaeche .haupt::after { content:'→' / ''; transition:transform .2s; }
.flaeche .haupt:hover::after { transform:translateX(4px); }
.flaeche button[disabled] { opacity:.75; cursor:progress; }
.flaeche button[disabled]::after { content:none; }

/* Meldungen und Zustände */
.flaeche .fehler { background:var(--fehler-grund); color:var(--fehler); border:1px solid #F4C7C3; border-radius:8px;
  padding:12px 14px; font-size:13px; }
.flaeche .meldung, .flaeche .willkommen { background:var(--feld); border-left:4px solid var(--orange); border-radius:8px;
  padding:12px 14px; font-size:14px; }
.flaeche .karte { background:var(--feld); border-radius:8px; padding:16px 18px; font-size:14px; }

/* ------------------------------------------------------------------ Anmeldung: Bühne mit Karte */
.buehne { min-height:calc(100vh - 52px); position:relative; overflow:hidden;
  background:radial-gradient(1200px 700px at 15% 10%, #22406F 0%, var(--blau) 45%, var(--tief) 100%);
  display:grid; grid-template-columns:1fr 460px; grid-template-rows:auto 1fr; gap:0 72px; padding:40px 72px 48px; }
.buehne .ring.r1 { width:720px; height:720px; right:-240px; top:-260px; border:110px solid rgba(255,255,255,.035); }
.buehne .ring.r2 { width:340px; height:340px; right:300px; bottom:120px; border:56px solid rgba(246,146,30,.10); }
.buehne .ring.r3 { width:160px; height:160px; left:44%; top:90px; border:26px solid rgba(92,201,82,.10); }
.buehne .kopf { grid-column:1 / -1; display:flex; align-items:center; justify-content:space-between; gap:16px;
  position:relative; z-index:2; }
.kopf button { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); }
.kopf button:hover { background:rgba(255,255,255,.08); }
.buehne .links { grid-column:1; grid-row:2; display:flex; flex-direction:column; justify-content:center;
  position:relative; z-index:1; padding-top:24px; }
.buehne .marke { font-size:11px; font-weight:600; letter-spacing:2.5px; text-transform:uppercase; color:var(--orange); margin-bottom:24px; }
.buehne .strecke { margin-top:28px; }
/* Bühnen-Aussage (Jony, gestaltung-durchgespielt.md): zwei Zeilen weiß, die dritte in Markenfarbe */
.buehne .aussage { margin:0; color:#fff; font-size:52px; line-height:1.08; font-weight:700; letter-spacing:-.5px; }
.buehne .aussage span { display:block; }
.buehne .aussage .marke-farbe { color:var(--orange); }
.zellen { display:grid; grid-template-columns:repeat(12, 1fr); gap:6px; }
.zellen span { height:44px; border-radius:6px; display:flex; align-items:center; justify-content:center;
  font-size:12px; font-weight:700; transform-origin:left; }
.zellen .s { background:rgba(255,255,255,.14); color:#fff; }
.zellen .t { background:var(--orange); color:var(--blau); }
.zellen .g { background:var(--gruen-band); color:#fff; }
.phasen { display:grid; grid-template-columns:6fr 3fr 3fr; gap:6px; margin-top:14px; font-size:11px; font-weight:700;
  letter-spacing:1.5px; text-transform:uppercase; }
.phasen .s { color:#fff; } .phasen .t { color:var(--orange); } .phasen .g { color:var(--gruen-hell); }
.buehne main.flaeche { grid-column:2; grid-row:2; align-self:center; padding:44px 40px 36px; z-index:2; }
/* Knöpfe, Felder und Karte der Anmeldung: anmeldung.css (Entwurf login-v3, 28.11.) */

@media (prefers-reduced-motion: no-preference) {
  .zellen span { transform:scaleX(0); animation:fuellen .35s ease-out forwards; }
  /* Nur Bewegung, keine Deckkraft: ein Bildschirmfoto direkt nach dem Laden zeigt die Karte (Befund Jony 5) */
  .buehne main.flaeche { transform:translateY(16px); animation:steigen .6s .2s ease-out forwards; }
  .zellen span:nth-child(1) { animation-delay:.87s; } .zellen span:nth-child(2) { animation-delay:.94s; }
  .zellen span:nth-child(3) { animation-delay:1.01s; } .zellen span:nth-child(4) { animation-delay:1.08s; }
  .zellen span:nth-child(5) { animation-delay:1.15s; } .zellen span:nth-child(6) { animation-delay:1.22s; }
  .zellen span:nth-child(7) { animation-delay:1.29s; } .zellen span:nth-child(8) { animation-delay:1.36s; }
  .zellen span:nth-child(9) { animation-delay:1.43s; } .zellen span:nth-child(10) { animation-delay:1.5s; }
  .zellen span:nth-child(11) { animation-delay:1.57s; } .zellen span:nth-child(12) { animation-delay:1.64s; }
}
@keyframes steigen { to { transform:none; } }
@keyframes fuellen { to { transform:scaleX(1); } }

@media (max-height:820px) and (min-width:1101px) { .buehne { padding-top:28px; padding-bottom:28px; } }
/* Tablet und Smartphone: Karte zuerst, Strecke darunter */
@media (max-width:1100px) {
  .buehne { grid-template-columns:1fr; grid-template-rows:auto; align-content:start; padding:20px 20px 40px; gap:0; }
  .buehne .kopf { margin-bottom:24px; }
  .buehne .links { display:contents; }
  .buehne main.flaeche { grid-column:1; grid-row:2; padding:36px 24px 28px; }
  .buehne .aussage { grid-row:3; margin:40px 0 0; font-size:34px; }
  .buehne .aussage:not(.start) { display:none; } /* Handy/Tablet: Aussage nur auf der Startseite (Jony) */
  .buehne .marke { grid-row:4; margin:40px 0 14px; }
  .buehne .strecke { grid-row:5; margin-top:0; }
  .buehne .ring.r1 { width:420px; height:420px; right:-200px; top:-160px; border-width:64px; }
  .buehne .ring.r2, .buehne .ring.r3 { display:none; }
  .zellen span { height:34px; font-size:10px; }
  .phasen { grid-template-columns:1fr; gap:8px; }
  /* Band unten bleibt hier eine Zeile wie am Desktop (901–1100 px, David 28.11.); Handy siehe unten (6 px). */
}

/* ------------------------------------------------------------------ Verwaltung: Kopf, Leiste, Fläche */
body.verwaltung { font-size:14px; background:radial-gradient(1400px 800px at 10% 0%, #22406F 0%, var(--blau) 40%, var(--tief) 100%) fixed var(--tief); }
body.verwaltung::before, body.verwaltung::after { content:''; position:fixed; border-radius:50%; pointer-events:none; z-index:0; }
body.verwaltung::before { width:720px; height:720px; right:-260px; top:-200px; border:110px solid rgba(255,255,255,.035); }
body.verwaltung::after { width:300px; height:300px; right:22%; bottom:60px; border:48px solid rgba(246,146,30,.07); }
.oben { min-height:76px; display:flex; align-items:center; gap:16px; padding:14px 24px 18px; position:relative; z-index:1;
  border-bottom:1px solid rgba(255,255,255,.08); }
.oben::before { content:''; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--streifen); }
.oben .logo { font-size:28px; }
.oben .bereich { color:var(--auf-blau); font-size:13px; font-weight:500; padding-left:16px; border-left:1px solid rgba(255,255,255,.2); }
.oben .platz { flex:1; }
.oben .ich { color:#fff; font-size:13px; }
.gerippe { display:flex; min-height:calc(100vh - 90px - 52px); position:relative; z-index:1; }
.seitenleiste { width:248px; flex-shrink:0; padding:28px 0 20px; border-right:1px solid rgba(255,255,255,.08); }
.seitenleiste a { display:flex; align-items:center; min-height:44px; padding:10px 24px; margin:2px 12px 2px 0;
  font-size:14px; font-weight:500; color:rgba(255,255,255,.85); text-decoration:none; border-left:4px solid transparent;
  border-radius:0 8px 8px 0; }
.seitenleiste a:hover { background:rgba(255,255,255,.06); }
/* W4 (Jony 28.11.): offene Beitrittsanfragen als oranger Kreis an „Personen“ (Entwurf `.count`) */
.seitenleiste a:has(.zahl-kreis) { justify-content:space-between; gap:8px; }
.seitenleiste .zahl-kreis { font-size:11px; font-weight:700; line-height:1.4; background:var(--orange); color:var(--blau);
  border-radius:10px; padding:1px 7px; }
.seitenleiste a[aria-current="page"] { background:rgba(255,255,255,.09); border-left-color:var(--orange); color:#fff; font-weight:600; }
.gerippe main { flex:1; min-width:0; max-width:1180px; padding:44px 56px 72px; }
.kopfzeile { margin-bottom:32px; }
.kopfzeile .augenbraue { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.kopfzeile h1 { color:#fff; font-size:clamp(34px, 3.6vw, 52px); font-weight:800; letter-spacing:-1px; line-height:1.05; }
body.verwaltung .flaeche { padding:32px 28px 28px; box-shadow:0 20px 60px rgba(0,0,0,.28); }
body.verwaltung .flaeche::before { height:5px; }
body.verwaltung .flaeche h2 { font-size:17px; margin-top:28px; }
body.verwaltung .flaeche > h2:first-child { margin-top:0; }
/* Personen und Einladungen: Zeilen wie in der Tabelle des Entwurfs */
body.verwaltung .flaeche .karte { display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
  margin-top:0; padding:14px 16px; background:transparent; border-radius:0; border-bottom:1px solid var(--linie); line-height:1.5; }
body.verwaltung .flaeche h2 + .karte { border-top:1px solid var(--linie); margin-top:12px; }
body.verwaltung .flaeche section.karte { display:block; border:0; background:var(--feld); border-radius:8px; margin-top:28px; padding:20px; }
.knoepfe { display:flex; gap:8px; flex-wrap:wrap; align-items:center; }
body.verwaltung .knoepfe button, body.verwaltung .knoepfe a.knopf, body.verwaltung .karte button { min-height:38px; padding:0 14px; font-size:13px; }
body.verwaltung .flaeche .knoepfe .haupt { min-height:48px; padding:0 20px; font-size:15px; }
body.verwaltung .flaeche form.ganz button.haupt { min-height:48px; font-size:15px; }
.flaeche .satz-gross { font-size:28px; font-weight:800; letter-spacing:-.5px; line-height:1.15; }
.flaeche .eintrag { padding:14px 0; border-bottom:1px solid var(--linie); margin:0; }
.flaeche .eintrag:last-of-type { border-bottom:0; }
.flaeche .leer { text-align:center; padding:32px 16px; color:var(--karte-leise); }
.flaeche fieldset .knoepfe { gap:4px 20px; margin-bottom:12px; }

/* Smartphone: Leiste wird Reiterzeile über der Fläche */
@media (max-width:900px) {
  .oben { min-height:64px; padding:12px 16px 16px; gap:8px; }
  .oben .bereich { display:none; }
  .oben .ich { font-size:12px; color:var(--auf-blau); }
  .gerippe { flex-direction:column; min-height:0; }
  .seitenleiste { width:auto; padding:8px 8px 0; border-right:0; display:flex; flex-wrap:wrap; gap:4px; align-items:center; }
  .seitenleiste a { flex:1; justify-content:center; margin:0; padding:8px; border-left:0; border-bottom:3px solid transparent; border-radius:8px 8px 0 0; }
  .seitenleiste a[aria-current="page"] { border-bottom-color:var(--orange); }
  .seitenleiste a:has(.zahl-kreis) { justify-content:center; gap:6px; } /* W4: Reiter ohne JS, Wort und Zahl als Paar */
  .gerippe main { padding:24px 16px 48px; }
  .kopfzeile { margin-bottom:20px; }
  body.verwaltung .flaeche { padding:24px 18px 20px; }
  body.verwaltung::after { display:none; }
  body.verwaltung .flaeche .karte { flex-direction:column; align-items:stretch; }
  body.verwaltung .karte button, body.verwaltung .karte a.knopf, body.verwaltung .flaeche form.ganz button { width:100%; }
  .band-unten { flex-direction:column; }
  .band-unten div { flex:none; height:40px; }
}

/* Feinschliff nach Bildvergleich */
.flaeche form > p { margin-top:10px; }
.flaeche .karte .knopf { margin-top:12px; }
body.verwaltung .flaeche section.karte h2 { margin-top:0; margin-bottom:6px; }
body.verwaltung .flaeche section.karte > * + * { margin-top:6px; }
body.verwaltung .flaeche .karte > div:first-child::first-line { font-weight:600; }
@media (max-width:900px) {
  body.verwaltung .flaeche .karte { padding:14px 0; }
  .flaeche .satz-gross { font-size:22px; }
}
.flaeche .karte > * + * { margin-top:6px; }
.flaeche .karte h2 { font-size:17px; }

/* Wer ist angemeldet, „Nicht du?“ und Abmelden im Kopf (beide Rahmen) */
.wer { text-align:right; color:#fff; font-size:13px; line-height:1.4; position:relative; z-index:1; }
.wer small { display:block; color:var(--auf-blau); font-size:12px; }
.nicht-du { display:flex; gap:10px; align-items:center; justify-content:flex-end; margin-top:6px; color:var(--auf-blau); font-size:12px; }
.nicht-du form { margin:0; }
.oben button { background:transparent; color:#fff; border-color:rgba(255,255,255,.45); min-height:38px; padding:0 14px; font-size:13px; }
.oben button:hover { background:rgba(255,255,255,.08); }
.oben .ich:has(+ .wer) { display:none; } /* „Angemeldet als …“ sagt dasselbe */
@media (max-width:900px) {
  .oben { min-height:64px; flex-wrap:wrap; }
  .oben .ich { display:none; }
}
@media (max-width:1100px) { .buehne .kopf { align-items:flex-start; } }
.buehne .kopf { margin-bottom:24px; }
.flaeche section > * + * { margin-top:12px; }
.flaeche section > h2 + * { margin-top:4px; }
.flaeche .knoepfe input { margin:0 !important; }
.flaeche ol, .flaeche ul { padding-left:22px; }
.flaeche li + li { margin-top:4px; }

/* Handy: Strecke 1–12 in zwei Reihen à 6, nichts abgeschnitten (Befund Jony 4) */
@media (max-width:900px) {
  .zellen { grid-template-columns:repeat(6, minmax(0, 1fr)); }
}

/* Handy: Kopf nur Name und Abmelden, Mailadresse erst nach Tipp auf den Namen (Befund Jony 11).
   Band unten als schmaler Streifen in drei Farben ohne Text (Befund Jony 12). Desktop unverändert. */
.wer-kurz { display:none; }
@media (max-width:900px) {
  .wer { display:flex; align-items:center; justify-content:flex-end; gap:8px; flex:0 1 auto; min-width:0; text-align:left; }
  .wer > span, .wer > small, .nicht-du > span { display:none; }
  .wer-kurz { display:block; min-width:0; }
  .wer-kurz summary { list-style:none; cursor:pointer; min-height:38px; line-height:38px; max-width:100%;
    display:flex; align-items:center; white-space:nowrap; color:#fff; font-size:13px; font-weight:600; }
  .wer-kurz summary .name { min-width:0; overflow:hidden; text-overflow:ellipsis; } /* Pfeil bleibt stehen (H2) */
  .wer-kurz summary::after { flex:none; }
  .wer-kurz summary::-webkit-details-marker { display:none; }
  .wer-kurz summary::after { content:'▾' / ''; margin-left:6px; color:var(--auf-blau); }
  .wer-kurz[open] summary::after { content:'▴' / ''; }
  .wer-kurz.nur-adresse .name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
    line-height:38px; color:#fff; font-size:13px; font-weight:600; } /* ohne Namen: nur Adresse, kein Pfeil (H6) */
  .wer-kurz small { position:absolute; right:0; top:100%; margin-top:6px; padding:8px 12px; border-radius:8px;
    background:var(--tief); border:1px solid rgba(255,255,255,.2); color:var(--auf-blau); font-size:12px;
    white-space:nowrap; z-index:5; box-shadow:0 10px 30px rgba(0,0,0,.35); }
  .nicht-du { margin-top:0; flex:none; }
  .oben { flex-wrap:nowrap; }
  .buehne .kopf { min-width:0; gap:12px; }
  .buehne .kopf .logo { font-size:28px; } /* wie im Verwaltungskopf, damit der Name Platz hat */
  .kopf .nicht-du button { min-height:38px; padding:0 14px; font-size:13px; }
  .band-unten { flex-direction:row; min-height:0; height:6px; }
  .band-unten div { flex:1; height:auto; padding:0; font-size:0; }
}
/* Nachprüfung Handy 27.11. (Jony H1, H3): sehr schmal Logo kleiner, Abmelden schmaler, damit der Name steht;
   der Kopf liegt über der Karte, damit die aufgeklappte Mailadresse ganz zu sehen ist. */
@media (max-width:900px) {
  .buehne .kopf { z-index:3; }
}
@media (max-width:359px) {
  .buehne .kopf .logo, .oben .logo { font-size:18px; } /* Ziel Jony: Name mind. 80 px */
  .buehne .kopf, .oben { gap:8px; }
  .wer { gap:6px; }
  .wer-kurz summary::after { margin-left:4px; }
  .kopf .nicht-du button, .oben .nicht-du button { padding:0 8px; font-size:12px; }
}

/* Nachtlauf 28.11. (Jony H7, H8, H11). Desktop von Protokoll und Anmeldung unverändert. */
/* H8: Gründe als Karten-Knöpfe, mind. 44 px, der gewählte mit Akzentrand */
.flaeche fieldset .gruende label { min-height:44px; padding:0 14px; border:1.5px solid var(--rand); border-radius:8px;
  background:var(--feld); }
.flaeche fieldset .gruende label:has(input:checked) { border-color:var(--blau); box-shadow:inset 0 0 0 1px var(--blau); }
.flaeche fieldset .gruende { gap:8px; }
/* H7: Freitextfeld nur bei „Anderer Grund“ (ohne :has() bleibt es sichtbar) */
@supports selector(:has(*)) {
  .flaeche fieldset .anderer-feld { display:none; }
  .flaeche fieldset:has(input[value="anderer"]:checked) .anderer-feld { display:block; }
}
.flaeche .anderer-feld .fehler { margin-bottom:6px; }
@media (max-width:600px) {
  .flaeche fieldset .gruende { flex-direction:column; align-items:stretch; }
  .flaeche fieldset .gruende label { width:100%; }
  body.verwaltung .karte form { width:100%; } /* H11: Zurückziehen ganze Breite */
}

/* ------------------------------------------------------------------ Verwaltung vollständig (Entwurf verwaltung.html, 28.11.) */
.nur-vorleser { position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; border:0; }
/* Kopf: Sprachwahl, Avatar, Burger */
.oben .sprachwahl { display:flex; gap:2px; margin:0; }
.oben .sprachwahl button { min-height:36px; padding:0 8px; border:0; background:none; color:var(--auf-blau);
  font-size:12px; font-weight:600; }
.oben .sprachwahl button[aria-pressed="true"] { color:#fff; text-decoration:underline; text-underline-offset:4px; }
.oben .sprachwahl button:hover { background:rgba(255,255,255,.08); }
.ich-block { display:flex; align-items:center; gap:10px; }
.avatar { width:34px; height:34px; flex:none; border-radius:50%; background:rgba(246,146,30,.25); color:var(--orange);
  font-weight:700; font-size:12px; display:flex; align-items:center; justify-content:center; }
.avatar.gross { width:48px; height:48px; font-size:18px; background:var(--feld); color:var(--orange-text); }
.oben .wer { text-align:left; }
.oben .nicht-du { justify-content:flex-start; }
.oben button.burger { display:none; border:0; padding:0 8px; font-size:13px; }
.seitenleiste .gruppe { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange);
  padding:16px 24px 8px; margin:0; }
.seitenleiste .gruppe:first-of-type { padding-top:4px; }
.seitenleiste .leiste-hinweis { margin:20px 24px 0; padding-top:16px; border-top:1px solid rgba(255,255,255,.12);
  font-size:12px; color:rgba(255,255,255,.62); line-height:1.6; }
.schleier { position:fixed; inset:0; background:rgba(16,33,63,.55); z-index:20; }
.kopfzeile .lead { color:rgba(255,255,255,.72); font-size:15px; font-weight:300; line-height:1.6; margin-top:6px; max-width:640px; }
.kopf-aktionen { display:flex; gap:16px; align-items:center; flex-wrap:wrap; margin:-12px 0 24px; }
.kopf-aktionen .plaetze-link { color:rgba(255,255,255,.85); font-size:13px; }
.kopf-aktionen .plaetze-link strong { font-weight:500; }
.kopf-aktionen a.knopf.haupt { display:inline-flex; align-items:center; min-height:48px; padding:0 22px; border-radius:8px;
  background:var(--orange); color:var(--blau); font-weight:600; font-size:15px; text-decoration:none; }
.kopf-aktionen a.knopf.haupt::after { content:' →' / ''; white-space:pre; }
.kopf-aktionen a.knopf.haupt:hover { background:#FFA43A; }

/* Bänder, Pillen, Zahl groß */
.flaeche .band { border-radius:12px; padding:12px 16px; font-size:13px; line-height:1.5; }
.flaeche .band.warn { background:var(--warn-grund); border:1px solid #F3D3A6; color:var(--blau); }
.flaeche .band.info { background:var(--feld); border-left:4px solid var(--orange); }
.flaeche .band.ok { background:var(--ok-grund); border:1px solid #BFE3B9; color:var(--blau); }
.pille { display:inline-block; white-space:nowrap; font-size:12px; font-weight:600; border-radius:12px; padding:2px 10px; }
.pille.ok { background:var(--ok-grund); color:var(--gruen-text); }
.pille.warn { background:var(--warn-grund); color:var(--orange-text); }
/* W5 (Jony 28.11.): eigene Klasse, weil `.flaeche span.fehler` (Feldfehler) die Kapsel sonst als Block ohne Grund zeigt */
.pille.abgelaufen { background:var(--fehler-grund); color:var(--fehler); }
.pille.neutral { background:var(--feld); color:var(--karte-text); border:1px solid var(--linie); }
.flaeche .klein { font-size:12px; }
.flaeche .block { display:block; }
.flaeche .zahl-gross { font-size:28px; font-weight:700; line-height:1.2; margin-top:8px; }
.flaeche .augenbraue-karte { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange-text); }

/* Suche und Filter */
.flaeche .werkzeuge { display:flex; gap:12px; flex-wrap:wrap; align-items:center; }
.flaeche .werkzeuge input[type=search] { flex:1 1 240px; max-width:320px; margin:0; }
.flaeche input[type=search], .flaeche input[type=number], .flaeche select {
  min-height:48px; padding:0 14px; font:inherit; font-size:14px; color:var(--karte-text); background:var(--feld);
  border:1.5px solid var(--rand); border-radius:8px; margin:0 0 6px; }
.flaeche input[type=search] { width:100%; }
.flaeche input.kurz { width:120px; }
.flaeche select { padding-right:32px; }
.flaeche input:focus, .flaeche select:focus { border-color:var(--karte-text); background:var(--feld-fokus); }

/* Tabelle wie im Entwurf; am Handy Karten */
.flaeche table.tabelle { width:100%; border-collapse:collapse; border:1px solid var(--linie); border-radius:12px;
  overflow:hidden; font-size:14px; }
.flaeche .tabelle th { text-align:left; font-size:11px; font-weight:600; letter-spacing:1px; text-transform:uppercase;
  color:var(--karte-leise); padding:12px 16px; background:var(--feld); border-bottom:1px solid var(--linie); }
.flaeche .tabelle td { padding:14px 16px; border-bottom:1px solid var(--linie); vertical-align:top; line-height:1.45; }
.flaeche .tabelle tr:last-child td { border-bottom:0; }
.flaeche .tabelle td.mail { overflow-wrap:break-word; }
.flaeche .tabelle a.zeile-link { font-weight:700; }
.flaeche .tabelle .knoepfe { margin-top:8px; }
.flaeche .tabelle .leise.klein { display:block; margin-top:4px; }

/* Formulare: Wahlkarten, Begründung, Abschnitte */
.flaeche .feld-hinweis { margin:-12px 0 16px; font-size:12px; line-height:1.5; }
.flaeche select + .feld-hinweis, .flaeche input[type=number] + .feld-hinweis { margin-top:0; }
.flaeche .wahl { display:grid; gap:8px; margin-bottom:16px; }
.flaeche .wahl legend { margin-bottom:8px; }
.flaeche label.wahlkarte { display:flex; gap:12px; align-items:flex-start; padding:12px 14px; border:1.5px solid var(--linie);
  border-radius:8px; font-size:14px; font-weight:400; letter-spacing:0; min-height:44px; margin:0; cursor:pointer; }
.flaeche label.wahlkarte:has(input:checked) { border-color:var(--karte-text); background:var(--feld); }
.flaeche label.wahlkarte input { margin-top:3px; }
.flaeche label.wahlkarte b { display:block; font-weight:600; }
.flaeche label.wahlkarte small { display:block; color:var(--karte-leise); font-size:12px; }
.flaeche details.begruendung { border:1.5px solid var(--linie); border-radius:8px; padding:0 14px; }
.flaeche details.begruendung summary { min-height:44px; display:flex; align-items:center; font-weight:600; cursor:pointer; }
.flaeche details.begruendung[open] { padding-bottom:14px; }
.flaeche details.begruendung[open] summary { margin-bottom:8px; }
.flaeche .abschnitt { padding:18px 0; border-top:1px solid var(--linie); }
.flaeche .abschnitt > * + * { margin-top:8px; }
.flaeche .abschnitt h3 { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--orange-text); }
.flaeche .person-kopf { display:flex; gap:14px; align-items:center; }
.flaeche .person-kopf h2 { margin:0; overflow-wrap:anywhere; }
.flaeche .knoepfe.ende { justify-content:flex-end; }
.flaeche .knoepfe.zwischen { justify-content:space-between; }
.flaeche a.knopf.gefahr, .flaeche button.gefahr { color:var(--fehler); border-color:var(--fehler); }
.flaeche button.gefahr.voll { background:var(--fehler); color:#fff; }
.flaeche form.schmal { max-width:560px; }
.flaeche .zwei-spalten { display:grid; grid-template-columns:1fr 1fr; gap:28px; padding-bottom:20px; border-bottom:1px solid var(--linie); }
.flaeche .zwei-spalten > div > * + * { margin-top:8px; }
.flaeche dl.werte { display:grid; grid-template-columns:240px 1fr; gap:10px 16px; margin:0; }
.flaeche dl.werte dt { color:var(--karte-leise); font-size:13px; }
.flaeche dl.werte dd { margin:0; font-weight:600; }
.flaeche .verbindung { padding-bottom:16px; border-bottom:1px solid var(--linie); }
.flaeche .verbindung > * + * { margin-top:8px; }
body.verwaltung .flaeche section.karte.anleitung-it { margin-top:16px; }

@media (max-width:900px) {
  html.js .oben button.burger { display:inline-flex; }
  .oben .sprachwahl button { padding:0 6px; }
  .oben .avatar { display:none; }
  html.js .seitenleiste { position:fixed; top:0; left:0; bottom:0; z-index:21; width:280px; max-width:85vw; display:block;
    padding:16px 0; background:var(--tief); overflow:auto; transform:translateX(-105%); transition:transform .2s;
    border-right:1px solid rgba(255,255,255,.12); visibility:hidden; }
  html.js .seitenleiste.offen { transform:none; visibility:visible; }
  html.js .seitenleiste a { justify-content:flex-start; margin:2px 12px 2px 0; padding:10px 24px; border-bottom:0;
    border-left:4px solid transparent; border-radius:0 8px 8px 0; }
  html.js .seitenleiste a[aria-current="page"] { border-left-color:var(--orange); }
  html.js .seitenleiste a:has(.zahl-kreis) { justify-content:space-between; gap:8px; } /* W4: Menü wie Entwurf, Zahl rechts */
  html:not(.js) .seitenleiste .gruppe, html:not(.js) .seitenleiste .leiste-hinweis { display:none; }
  .kopf-aktionen { margin:-4px 0 16px; }
  .kopf-aktionen a.knopf.haupt { width:100%; justify-content:center; }
  .flaeche table.karten-am-handy, .flaeche .karten-am-handy tbody, .flaeche .karten-am-handy tr,
  .flaeche .karten-am-handy td { display:block; width:100%; }
  .flaeche .karten-am-handy thead { display:none; }
  .flaeche table.karten-am-handy { border:0; }
  .flaeche .karten-am-handy tr { border:1px solid var(--linie); border-radius:12px; padding:12px 14px; margin-bottom:10px; }
  .flaeche .karten-am-handy td { padding:2px 0; border:0; }
  .flaeche .karten-am-handy td:empty { display:none; }
  .flaeche .karten-am-handy td[data-titel]::before { content:attr(data-titel) ': '; color:var(--karte-leise); font-size:12px; }
  .flaeche .karten-am-handy .knoepfe > *, .flaeche .karten-am-handy .knoepfe form, .flaeche .karten-am-handy a.knopf,
  .flaeche .karten-am-handy button { width:100%; }
  .flaeche .karten-am-handy a.knopf { margin-top:8px; }
  .flaeche .zwei-spalten { grid-template-columns:1fr; }
  .flaeche dl.werte { grid-template-columns:1fr; gap:2px 0; }
  .flaeche dl.werte dd { margin-bottom:10px; }
  .flaeche .werkzeuge input[type=search] { max-width:none; }
  .flaeche .knoepfe.ende > *, .flaeche form.schmal button.haupt, .flaeche details.begruendung button.haupt { width:100%; }
}
.flaeche form.einladen { padding-bottom:20px; border-bottom:1px solid var(--linie); }
.flaeche form.einladen h2 { margin:0 0 12px; }
.flaeche .einladen-wahl { display:flex; gap:12px; align-items:flex-end; flex-wrap:wrap; margin-bottom:16px; }
.flaeche .einladen-wahl select { margin:0; }
.flaeche .einladen-wahl button.haupt { min-height:48px; }
@media (max-width:900px) { .flaeche .einladen-wahl > * { flex:1 1 100%; } .flaeche .einladen-wahl select { width:100%; } }
.flaeche .tabelle td.aktion { text-align:right; white-space:nowrap; }
.flaeche .tabelle td.aktion .leise.klein { white-space:normal; display:inline; }
.flaeche .tabelle + h2, .flaeche form.einladen + form + h2 { margin-top:28px; }
@media (max-width:900px) { .flaeche .tabelle td.aktion { text-align:left; white-space:normal; } }
/* Jony 28.11. (Z3): Mailadressen brechen nach dem „@“ und vor einem Punkt um (<wbr>, Filter mail_umbruch), am
   Bindestrich ohnehin; mitten im Wort nur, wenn ein Teil allein nicht in die Spalte passt. */
.flaeche .tabelle td.mail { overflow-wrap:break-word; word-break:normal; }
.flaeche .tabelle td.mail a.zeile-link, .flaeche .tabelle td:first-child a.zeile-link { white-space:normal; overflow-wrap:break-word; }
@media (min-width:1280px) { .flaeche .tabelle td.mail .teil { white-space:nowrap; } }
.flaeche .tabelle th, .flaeche .tabelle td { padding-left:12px; padding-right:12px; }
.flaeche .tabelle a.zeile-link { white-space:nowrap; }
.flaeche .werkzeuge input, .flaeche .werkzeuge select { margin:0; }
@media (max-width:900px) { .flaeche .tabelle td.mail { overflow-wrap:anywhere; white-space:normal; } .flaeche .tabelle a.zeile-link { white-space:normal; } }
.seitenleiste .sprachwahl.in-leiste { display:none; }
@media (max-width:900px) {
  html.js .oben .sprachwahl { display:none; }
  html.js .seitenleiste .sprachwahl.in-leiste { display:flex; gap:8px; margin:20px 24px 0; padding-top:16px; border-top:1px solid rgba(255,255,255,.12); }
  .seitenleiste .sprachwahl.in-leiste button { min-height:44px; padding:0 14px; border-radius:8px; font:inherit; font-size:13px; font-weight:600;
    background:transparent; color:rgba(255,255,255,.85); border:1.5px solid rgba(255,255,255,.3); }
  .seitenleiste .sprachwahl.in-leiste button[aria-pressed="true"] { border-color:var(--orange); color:#fff; }
  .oben { gap:6px; }
  .oben .logo { font-size:24px; }
}
@media (max-width:420px) { .oben .logo { font-size:20px; } .oben button.burger { padding:0 4px; } }
/* Lizenz und Abrechnung: Zahl groß, Balken (Entwurf) */
.flaeche .zwei-spalten.oben-linie { border-top:1px solid var(--linie); border-bottom:0; padding:20px 0 0; }
.flaeche .zahl-riesig { font-size:48px; font-weight:800; line-height:1.1; letter-spacing:-1px; }
.flaeche .zahl-riesig small { font-size:16px; font-weight:500; color:var(--karte-leise); letter-spacing:0; }
.flaeche .balken { display:flex; height:12px; border-radius:6px; overflow:hidden; background:var(--linie); }
.flaeche .balken .a { background:var(--karte-text); } .flaeche .balken .e { background:var(--orange); }
.flaeche .legende i { display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:4px; vertical-align:-1px; }
.flaeche .legende i.a { background:var(--karte-text); } .flaeche .legende i.e { background:var(--orange); }
.flaeche .balken .l, .flaeche .legende i.l { background:color-mix(in srgb, var(--karte-text) 35%, var(--linie)); } /* W11: liest nur */
.flaeche .legende i.k { background:var(--linie); margin-right:8px; }
.flaeche .zwei-spalten .augenbraue-karte + p { margin-top:2px; }
.flaeche .zwei-spalten p.augenbraue-karte:not(:first-child) { margin-top:16px; }
@media (max-width:900px) { .gerippe:has(.seitenleiste.offen) { z-index:30; } }
/* Mein KI-Zugang, schon verbunden: Schritte zugeklappt (Jony 28.11.) */
.flaeche details.schritte-nochmal { margin:20px 0; border:1.5px solid var(--linie); border-radius:8px; padding:0 14px; }
.flaeche details.schritte-nochmal summary { min-height:44px; display:flex; align-items:center; font-weight:600; cursor:pointer; }
.flaeche details.schritte-nochmal[open] { padding-bottom:14px; }
/* O5: am Rechner steht das Einladen-Formular sichtbar da; der Sprung-Knopf nur am Handy */
@media (min-width:901px) { .kopf-aktionen a.knopf.haupt.nur-handy { display:none; } }
/* O1: Neben der Leiste passt die Tabelle erst ab 1280 px in die Karte (gemessen 320 bis 1440 px, de und en).
   Darunter dieselben Karten wie am Handy; jede Zeile zeigt alles, auch die E-Mail. */
@media (min-width:901px) and (max-width:1279px) {
  .flaeche table.karten-am-handy, .flaeche .karten-am-handy tbody, .flaeche .karten-am-handy tr,
  .flaeche .karten-am-handy td { display:block; width:100%; }
  .flaeche .karten-am-handy thead { display:none; }
  .flaeche table.karten-am-handy { border:0; }
  .flaeche .karten-am-handy tr { border:1px solid var(--linie); border-radius:12px; padding:12px 14px; margin-bottom:10px; }
  .flaeche .karten-am-handy td { padding:2px 0; border:0; }
  .flaeche .karten-am-handy td:empty { display:none; }
  .flaeche .karten-am-handy td[data-titel]::before { content:attr(data-titel) ': '; color:var(--karte-leise); font-size:12px; }
  .flaeche .karten-am-handy td.aktion { text-align:left; white-space:normal; }
  .flaeche .karten-am-handy td.mail { overflow-wrap:anywhere; white-space:normal; }
  .flaeche .karten-am-handy a.zeile-link { white-space:normal; }
  .flaeche .karten-am-handy a.knopf { margin-top:8px; }
}
/* Kopf 320 bis 399 px: Burger, Logo, Name und Abmelden passen nicht nebeneinander (gemessen 28.11., de 349 px bei 320).
   Dort steht Abmelden unten in der Leiste (Burger); der Name behält seinen Platz. */
.seitenleiste .abmelden.in-leiste { display:none; }
@media (max-width:900px) { .oben .ich-block { min-width:0; flex:0 1 auto; } }
@media (max-width:399px) {
  html.js .oben .ich-block .nicht-du { display:none; }
  html.js .seitenleiste .abmelden.in-leiste { display:block; margin:12px 24px 0; }
  html.js .seitenleiste .abmelden.in-leiste button { min-height:44px; padding:0 14px; background:transparent; color:#fff;
    border:1.5px solid rgba(255,255,255,.45); border-radius:8px; font:inherit; font-size:13px; font-weight:600; }
}
.flaeche select { max-width:100%; } /* lange Rollennamen (en) schieben den Filter bei 320 px nicht aus der Karte */

/* ------------------------------------------------------------------ Entwurf 1:1 (Frank 28.11.)
   Kopf: Kürzel, Name, Rolle · Recht; Abmelden unten in der Leiste. Personen: Kopfzeile mit Platzzahl und
   „Person einladen →“ rechts, Suche und Rolle auf Navy, Tabelle als weiße Karte, Einladen als Leiste von rechts. */
.wer.entwurf { text-align:left; }
.wer.entwurf .name { display:block; color:#fff; font-size:13px; font-weight:600; }
.wer.entwurf small { display:block; color:var(--auf-blau); font-size:11px; }
@media (max-width:900px) {
  .wer.entwurf { display:block; min-width:0; }
  .wer.entwurf > span.name { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:42vw; }
  .wer.entwurf > small { display:none; }
}
body.verwaltung .seitenleiste .abmelden.in-leiste { display:block; margin:20px 24px 0; padding-top:16px;
  border-top:1px solid rgba(255,255,255,.12); }
body.verwaltung .seitenleiste .abmelden.in-leiste button { min-height:32px; padding:0; background:none; border:0;
  color:#fff; font:inherit; font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }

.kopf-reihe { display:flex; justify-content:space-between; align-items:flex-end; gap:16px 24px; flex-wrap:wrap; margin-bottom:32px; }
.kopf-reihe .kopfzeile { margin-bottom:0; flex:1 1 480px; }
.kopf-reihe .kopf-aktionen { margin:0; }
.kopf-aktionen .plaetze-link { color:rgba(255,255,255,.85); text-decoration:underline; text-underline-offset:3px; }

body.verwaltung .flaeche.nackt { background:none; box-shadow:none; padding:0; border-radius:0; color:#fff; }
body.verwaltung .flaeche.nackt::before { display:none; }
.flaeche.nackt > * + * { margin-top:0; }
.flaeche.nackt > .band, .flaeche.nackt > .meldung { margin-bottom:16px; background:#fff; color:var(--blau); }
/* W3 (Jony 28.11.): Beitrittsanfrage cremefarben wie Entwurf `.band.warn`; Aufnehmen und Ablehnen gleich groß, ohne Pfeil */
.flaeche.nackt > .band.beitritt { display:flex; gap:16px; align-items:center; justify-content:space-between; flex-wrap:wrap;
  background:var(--warn-grund); border:1px solid #F3D3A6; }
body.verwaltung .flaeche .band.beitritt .knoepfe button { min-height:38px; padding:0 14px; font-size:13px; }
.flaeche .band.beitritt button.voll { background:var(--knopf-haupt); color:var(--knopf-haupt-text); border-color:var(--knopf-haupt); }
.flaeche .band.beitritt button.voll:hover { background:var(--knopf-haupt-hover); border-color:var(--knopf-haupt-hover); }
.flaeche.nackt .werkzeuge { margin-bottom:12px; }
.flaeche.nackt .werkzeuge input[type=search] { flex:0 1 280px; background:#fff; border-color:transparent; height:48px; }
.flaeche.nackt .werkzeuge select, .schublade select { height:48px; min-height:48px; -webkit-appearance:none; appearance:none;
  padding-right:36px; background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M1 5l4-4 4 4M1 9l4 4 4-4' fill='none' stroke='%231A325D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.flaeche.nackt .werkzeuge select { flex:0 1 240px; border-color:transparent; }
.schublade select { width:100%; background-color:var(--feld); }
html.js .flaeche .werkzeuge .ohne-js { display:none; }
.flaeche.nackt .werkzeuge .ohne-js { background:#fff; }
.flaeche.nackt table.personen-liste { background:#fff; color:var(--blau); border:0; border-radius:14px; box-shadow:0 20px 60px rgba(0,0,0,.28); }
.flaeche.nackt .personen-liste th { background:#FAFBFD; }
.flaeche.nackt .personen-liste tbody tr { cursor:pointer; }
.flaeche.nackt .personen-liste tbody tr:hover { background:var(--hell); }
.flaeche.nackt .personen-liste a.zeile-link { border-bottom:0; color:var(--blau); }
.flaeche.nackt .personen-liste td.name { font-weight:700; }
.flaeche.nackt .personen-liste tr[hidden] { display:none; }
.flaeche.nackt .leer { color:#fff; }
.flaeche.nackt .leer-kasten { margin-top:16px; background:#fff; color:var(--blau); border-radius:16px; padding:28px;
  box-shadow:0 20px 60px rgba(0,0,0,.28); text-align:center; }
.flaeche.nackt .leer-kasten p { margin:0 auto 16px; max-width:560px; line-height:1.6; }
.flaeche.nackt .leer-kasten a.knopf.haupt { min-height:48px; font-size:15px; }
@media (max-width:900px) {
  .kopf-reihe { margin-bottom:20px; }
  .kopf-reihe .kopf-aktionen { width:100%; }
  .flaeche.nackt .werkzeuge input[type=search], .flaeche.nackt .werkzeuge select { flex:1 1 100%; max-width:none; }
  .flaeche.nackt table.personen-liste { background:none; box-shadow:none; }
  .flaeche.nackt .karten-am-handy tr { background:#fff; border:0; box-shadow:0 10px 30px rgba(0,0,0,.25); }
  .flaeche.nackt .personen-liste tbody tr:hover { background:#fff; }
}

/* Leiste von rechts (Entwurf .panel) */
.schleier-einladen { position:fixed; inset:0; background:rgba(20,40,73,.45); z-index:200; }
body.verwaltung .flaeche.schublade { position:fixed; top:0; right:0; bottom:0; width:min(520px,100%); z-index:201; border-radius:0;
  padding:0; display:none; flex-direction:column; box-shadow:-20px 0 60px rgba(0,0,0,.35); }
.flaeche.schublade::before { display:none; }
body.verwaltung .flaeche.schublade.offen, body.verwaltung .flaeche.schublade:target { display:flex; }
.schublade form { display:flex; flex-direction:column; height:100%; margin:0; }
.schublade header { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:24px 28px 20px;
  background:linear-gradient(90deg, var(--tief), var(--blau)); color:#fff; position:relative; }
.schublade header::after { content:''; position:absolute; left:0; right:0; bottom:0; height:4px; background:var(--streifen); }
.schublade header .augenbraue-karte { color:var(--orange); margin:0 0 6px; }
body.verwaltung .schublade header h2 { margin:0; color:#fff; font-size:17px; }
.schublade header a.schliessen { color:#fff; border:0; font-size:14px; padding:12px 0; }
.schublade .koerper { flex:1; overflow:auto; padding:24px 28px; }
.schublade .koerper > * + * { margin-top:0; }
.schublade .koerper .meldung { margin-bottom:16px; }
.schublade .koerper textarea { margin-bottom:6px; }
.schublade .feld-hinweis { margin:0 0 18px; }
.schublade .feld-fehler { margin:-12px 0 18px; font-size:12px; color:var(--fehler); }
.schublade fieldset.wahl { border:0; padding:0; margin:0 0 8px; }
.schublade fieldset.wahl legend { padding:0; }
.schublade .wahlkarte input[type=radio] { flex:none; margin-top:3px; }
.schublade select { margin-bottom:18px; }
.schublade .platz-hinweis { display:flex; justify-content:space-between; gap:16px; align-items:center; flex-wrap:wrap; margin:0; }
.schublade footer { display:flex; justify-content:flex-end; gap:10px; flex-wrap:wrap; padding:16px 28px;
  border-top:1px solid var(--linie); }
.schublade footer a.knopf, .schublade footer button { min-height:48px; font-size:15px; }
.schublade footer button.haupt { min-height:48px; font-size:15px; }
.schublade #einladen-senden[disabled] { opacity:.45; cursor:not-allowed; }
@media (max-width:600px) {
  .schublade header, .schublade .koerper, .schublade footer { padding-left:16px; padding-right:16px; }
  .schublade footer { flex-direction:column-reverse; }
  .schublade footer > * { width:100%; }
}
.kopf-reihe .kopfzeile { flex:1 1 360px; }
.flaeche.nackt .personen-liste .einladung-zeile a.zeile-link { font-weight:400; }
@media (max-width:900px) {
  .flaeche.nackt .karten-am-handy .einladung-zeile td.name { display:none; }
  .flaeche.nackt .personen-liste td:nth-child(4):not(:empty), .flaeche.nackt .personen-liste td:nth-child(5) {
    display:inline-block; width:auto; margin:6px 6px 0 0; padding:0; }
  .flaeche.nackt .personen-liste td:nth-child(3) { color:var(--mitte); font-size:13px; }
}
/* Auswahlfelder so hoch wie Textfelder, auch in Safari (Befund Frank 28.11.: Auswahl kleiner als Textfeld) */
.flaeche select { height:48px; -webkit-appearance:none; appearance:none; padding-right:36px;
  background:var(--feld) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='14' viewBox='0 0 10 14'%3E%3Cpath d='M1 5l4-4 4 4M1 9l4 4 4-4' fill='none' stroke='%231A325D' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 14px center; }
.flaeche.nackt .werkzeuge select { background-color:#fff; }
/* V-D2 (Jony 30.11.): Kopf am Handy wie Entwurf: rechts „DE EN“ und der Kreis mit Kürzel.
   V-F1: Wie im Entwurf steht im Menü kein Name; es beginnt mit „Für mich“. Die Sprachwahl im Menü bleibt. */
@media (max-width:900px) {
  html.js .oben .sprachwahl { display:flex; }
  .oben .avatar { display:flex; }
  html.js .oben .wer.entwurf { display:none; }
}
/* V-D5 (Jony 30.11.): Personen am Handy wie Entwurf: Name; Rolle mit Owner/Admin-Pille in einer Zeile; darunter der
   Stand. Die E-Mail steht nur, wenn kein Name da ist (Eingeladene). Zwischen 901 und 1279 px bleibt alles (O1). */
@media (max-width:900px) {
  .flaeche.nackt .personen-liste .person-zeile td.mail { display:none; }
  .flaeche.nackt .personen-liste td:nth-child(3) { display:inline-block; width:auto; margin:6px 8px 0 0; }
  .flaeche.nackt .personen-liste td:nth-child(4):not(:empty) { display:inline-block; width:auto; margin:6px 0 0; }
  .flaeche.nackt .personen-liste td:nth-child(5) { display:block; width:auto; margin:6px 0 0; }
}
