/*
 * SC-CA – Design-Tokens + Grundbausteine (eine Datei für alle Seiten)
 * Version: v01-14
 * Changelog:
 *   v01-14 · 16.11.2026 · O21: .sc-warn (gelbes ▲ für einen Hinweis in der Prüfliste der Statusseite, kein Fehler)
 *   v00-08 · 17.10.2026 · Die Versionsnummer (#sc-version, #sc-version-fuss) bricht nie am Bindestrich um („v00-“ und „07“ in zwei Zeilen auf schmalen Handys)
 *   v00-02 · 16.10.2026 · P2: Tabelle (sc-tabelle) für den Messbericht auf der Statusseite, Zeilen mit Kurzinfo (sc-kurz)
 *   v00-01 · 16.10.2026 · Erstfassung P1: Farben, Schrift und Grundbausteine (Karte, Knopf, Liste, Feld) aus dem gemeinsamen Kern;
 *                         nur, was Start- und Statusseite brauchen. Die Bausteine der Check-Seite kommen mit P2.
 */
:root {
  --navy: #283264;
  --navy-dunkel: #1E2650;
  --gold: #FFC000;
  --rot: #E63214;
  --gruen: #8BC34A;
  --gelb-rand: #E8A020;
  --gelb-flaeche: #FFF0D6;
  --gruen-flaeche: #E8F5ED;
  --rot-flaeche: #FDEAE6;
  --anth: #444444;
  --hell-1: #EAEAF2;
  --hell-2: #C9D2E8;
  --hell-3: #8A93B5;
  --radius: 14px;
  --schrift: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--schrift);
  background: var(--navy-dunkel);
  color: var(--hell-1);
  line-height: 1.6;
}
a { color: var(--gold); }

.sc-seite { max-width: 760px; margin: 0 auto; padding: 32px 16px 64px; }
.sc-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.sc-logo { width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; flex: none; }
.sc-kopf h1 { font-size: 1.35rem; margin: 0; line-height: 1.25; }
.sc-kopf small { color: var(--hell-3); display: block; font-size: .85rem; }

.sc-karte { background: var(--navy); border-radius: var(--radius); padding: 20px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,.08); }
.sc-karte h2 { font-size: 1.05rem; margin: 0 0 8px; color: var(--gold); }
.sc-karte p { margin: 0 0 10px; color: var(--hell-2); }

.sc-feld { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--hell-3);
  background: #fff; color: #1a1a2e; font-size: 1rem; }
.sc-knopfreihe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sc-knopf { appearance: none; border: 0; border-radius: 10px; padding: 11px 16px; font-weight: 700;
  font-size: .95rem; cursor: pointer; background: var(--gold); color: var(--navy); }
.sc-knopf--leise { background: transparent; color: var(--hell-1); border: 1px solid var(--hell-3); }
.sc-knopf:disabled { opacity: .5; cursor: wait; }

.sc-liste { list-style: none; padding: 0; margin: 12px 0 0; }
.sc-liste li { display: grid; grid-template-columns: 28px 1fr; gap: 8px; padding: 9px 0;
  border-top: 1px solid rgba(255,255,255,.08); }
.sc-liste .tipp { grid-column: 2; color: var(--gold); font-size: .9rem; }
.sc-ok { color: var(--gruen); font-weight: 800; }
.sc-nein { color: var(--rot); font-weight: 800; }
.sc-warn { color: var(--gelb-rand); font-weight: 800; }

.sc-tabelle-wrap { overflow-x: auto; margin: 6px 0 10px; }
.sc-tabelle { width: 100%; border-collapse: collapse; font-size: .88rem; color: var(--hell-1); }
.sc-tabelle th, .sc-tabelle td { padding: 6px 8px; border-top: 1px solid rgba(255,255,255,.1); text-align: right; white-space: nowrap; }
.sc-tabelle th:first-child, .sc-tabelle td:first-child { text-align: left; }
.sc-tabelle th { color: var(--hell-3); font-weight: 600; }
.sc-kurz { background: rgba(255,192,0,.12); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; padding: 10px 12px; margin: 12px 0; color: #fff; }

.sc-code { font-family: Consolas, monospace; background: #fff; color: #1a1a2e; padding: 10px 12px;
  border-radius: 8px; word-break: break-all; display: block; margin: 6px 0; }
.sc-hinweis { font-size: .9rem; color: var(--hell-3); }
.sc-fuss { margin-top: 32px; font-size: .85rem; color: var(--hell-3); text-align: center; }

/* Die Versionsnummer darf nie am Bindestrich umbrechen */
#sc-version, #sc-version-fuss { white-space: nowrap; }

/* Das Attribut hidden muss immer gewinnen (sonst zeigen Klassen mit display:flex versteckte Elemente doch an) */
[hidden] { display: none !important; }
