/* N3 (senior-dev-Review r2 06.10.): App-Regeln mit display:flex/block heben das
   Standard-Ausblenden von [hidden] auf — gemessen in Chromium: alle Ansichten gleichzeitig. */
[hidden]{display:none !important}
/* apps/kundenstatus/static/app.css — Gestaltung 1:1 nach den Entwuerfen
 * (Main/Entscheidung/Erledigt/Zugang/Inaktiv.html, Review 06.10.2026).
 * ABWEICHUNG VOM ENTWURF (bewusst, dokumentiert): Figtree ist NICHT lokal
 * mitgeliefert (Bauplan §5 erlaubt ausdruecklich "Figtree nur wenn lokal
 * als Datei mitgeliefert, sonst Systemschrift" — eine Google-Fonts-
 * Verbindung vom Kunden-Browser aus waere ein drittes Netzwerkziel, das
 * dieser Dienst bewusst nicht hat). Systemschrift-Stack stattdessen.
 * Markenfarben kommen als CSS-Variablen aus app_kundenlink.marke (per
 * JS gesetzt, s. app.js) — --brand/--brand-deep/--brand-wash sind daher
 * hier NUR Vorgabewerte (GEIST-Navy), nie die einzige Quelle.
 */
body { margin: 0; background: #ecebe8; }

.phone {
  --ink: #1c2024; --muted: #5d6670; --soft: #8a929b; --line: #e4e2de; --bg: #f6f5f2;
  --card: #ffffff; --brand: #2B61A1; --brand-deep: #1C4A80; --brand-wash: #e9f0f8;
  width: 100%; max-width: 480px; min-height: 100vh; margin: 0 auto;
  background: var(--bg); color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  font-size: 15px; line-height: 1.5; box-sizing: border-box;
  display: flex; flex-direction: column;
}
.phone * { box-sizing: border-box; }
.top { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.logo { height: 40px; width: auto; display: block; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.wrap { padding: 22px 20px 28px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.eyebrow { margin: 0; font-size: 13px; color: var(--muted); font-weight: 500; }
h1 { margin: 2px 0 0; font-size: 27px; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
h2 { margin: 0; font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
h3 { margin: 0 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
p { margin: 0; }
.card { background: var(--card); border-radius: 18px; padding: 20px; box-shadow: 0 1px 2px rgba(28,32,36,.06), 0 8px 24px rgba(28,32,36,.06); display: flex; flex-direction: column; gap: 12px; }
.bar { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 5px; }
.seg { height: 6px; border-radius: 3px; background: var(--line); }
.seg.done { background: var(--ink); }
.seg.cur { background: var(--brand); }
.nowlabel { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--brand-deep); }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-wash); }
.lead { color: #363c42; }
.next { display: flex; gap: 10px; align-items: flex-start; background: var(--bg); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: #363c42; }
.next b { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.arrow { flex: none; width: 22px; height: 22px; margin-top: 1px; color: var(--muted); }
.tl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.st { display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; position: relative; padding-bottom: 18px; }
.st:last-child { padding-bottom: 0; }
.st::before { content: ""; position: absolute; left: 13px; top: 28px; bottom: 0; width: 2px; background: var(--line); }
.st.done::before { background: var(--ink); }
.st:last-child::before { display: none; }
.dot { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--card); border: 2px solid var(--line); color: var(--soft); font-size: 12px; font-weight: 700; position: relative; z-index: 1; }
.st.done .dot { background: var(--ink); border-color: var(--ink); color: #fff; }
.st.cur .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 0 5px var(--brand-wash); }
.st.ask .dot { border-color: var(--brand); color: var(--brand-deep); border-style: dashed; }
.sttitle { font-weight: 700; font-size: 15px; line-height: 1.3; padding-top: 3px; }
.st.open .sttitle { color: var(--muted); font-weight: 600; }
.stmeta { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--brand-wash); color: var(--brand-deep); margin-top: 6px; width: fit-content; }
.help { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.help-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tel { font-size: 18px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.btn { appearance: none; border: 0; font: inherit; font-weight: 700; font-size: 16px; border-radius: 14px; min-height: 52px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none; }
.btn.primary { background: var(--brand); color: #fff; width: 100%; }
.btn.primary:disabled { opacity: .5; cursor: not-allowed; }
.btn.ghost { background: var(--bg); color: var(--ink); min-height: 44px; font-size: 15px; }
.foot { font-size: 12px; color: var(--soft); text-align: center; line-height: 1.5; padding: 4px 8px 0; }
.q { font-size: 19px; font-weight: 800; line-height: 1.25; }
.opts { display: flex; flex-direction: column; gap: 10px; }
.opt { appearance: none; font: inherit; text-align: left; width: 100%; background: var(--card); border: 2px solid var(--line); border-radius: 14px; padding: 14px 14px; display: grid; grid-template-columns: 24px 1fr; column-gap: 12px; cursor: pointer; color: var(--ink); }
.opt.on { border-color: var(--brand); background: #fbfdff; }
.radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b9bfc5; margin-top: 1px; display: flex; align-items: center; justify-content: center; }
.opt.on .radio { border-color: var(--brand); }
.opt.on .radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.optt { font-weight: 700; font-size: 16px; line-height: 1.3; }
.optd { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.pills { display: flex; gap: 8px; }
.pill { appearance: none; font: inherit; font-weight: 600; font-size: 14px; min-height: 44px; padding: 0 14px; flex: 1; border-radius: 999px; border: 2px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.pill.on { border-color: var(--ink); background: var(--ink); color: #fff; }
.small { font-size: 13px; color: var(--muted); }
.collapsed { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; font-weight: 600; }
.checks { display: flex; gap: 4px; }
.mini { width: 18px; height: 18px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.center { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 28px 24px; }
.lockic { width: 56px; height: 56px; border-radius: 16px; background: var(--brand-wash); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; }
.muted-ic { width: 64px; height: 64px; border-radius: 50%; background: #e9e7e3; color: var(--muted); display: flex; align-items: center; justify-content: center; }
.pin { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 260px; }
.pin input { width: 100%; height: 64px; border-radius: 14px; border: 2px solid var(--line); background: var(--card); text-align: center; font: inherit; font-size: 28px; font-weight: 800; color: var(--ink); }
.pin input.err { border-color: #c4121b; }
label.lbl { font-size: 14px; font-weight: 700; }
.why { display: flex; gap: 10px; font-size: 13px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.big-ok { width: 72px; height: 72px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.focus-visible:focus-visible, button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* M3 (senior-dev+ux-Review 06.10.): Hilfsklassen statt style="" — die CSP
 * (default-src 'self', server.py _sicherheits_header) blockiert sonst jedes
 * inline style="" im Browser, ausgerechnet auf der einzigen Seite, die nie
 * kaputt aussehen darf. Sichtbarkeit, die app.js umschaltet, läuft über
 * das native HTML-Attribut `hidden` (UA-Stylesheet `[hidden]{display:none}`
 * — KEINE eigene .hidden-Klasse hier, die würde beim Wieder-Einblenden per
 * `el.style.display=''` nicht weichen, weil eine Klasse dieselbe
 * Spezifität wie .center/.wrap hat und die später deklarierte gewinnt). */
.stack-8 { display: flex; flex-direction: column; gap: 8px; }
.stack-14 { display: flex; flex-direction: column; gap: 14px; }
.icon-flex-none { flex: none; }
.err-text { color: #c4121b; }
.card-start { align-items: flex-start; gap: 14px; }
.inline-block { display: block; }
.lbl-sm { font-weight: 700; font-size: 14px; }
.bold { font-weight: 700; }
