/* Farben wie in der App (UI-Auffrischung, Spec A §3.1): Nachtblau aus dem App-Icon, Weiss für
   Bedienbares, Grün/Amber/Rot nur für den Schranken-Zustand — hier daher kein Akzent-Grün. */
:root {
  --bg: #060d20;
  --surface: rgba(120, 150, 220, 0.10);
  --line: rgba(190, 210, 255, 0.12);
  --text: #f5f7fc;
  --muted: rgba(232, 238, 252, 0.64);
  --link-line: rgba(245, 247, 252, 0.4);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }

body {
  margin: 0;
  color: var(--text);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  padding: 2rem 1.25rem 5rem;
}

/* Die zwei ruhigen Lichter der App (NightBackdrop). Als fixierte Ebene statt
   background-attachment:fixed, das iOS Safari nicht unterstützt. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(120% 60% at 85% 0%, #0c2a36 0%, rgba(12, 42, 54, 0) 55%),
    radial-gradient(90% 50% at 0% 100%, #0e2046 0%, rgba(14, 32, 70, 0) 60%),
    linear-gradient(#060d20, #050a18);
}

main { max-width: 720px; margin: 0 auto; }

header.brand { margin-bottom: 2rem; overflow: hidden; }
header.brand a.wordmark {
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
}
.lang { float: right; font-size: 0.85rem; }

h1 { font-size: 1.6rem; margin: 0.5rem 0 0.5rem; line-height: 1.25; }
h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1rem; margin: 1.25rem 0 0.35rem; }

p, li { color: var(--text); }
.muted { color: var(--muted); }
.updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 1.5rem; }

a {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--link-line);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover, a:active { text-decoration-color: var(--text); }

table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.5rem 0.6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; }

hr { border: none; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; margin: 1.5rem 0; }

.callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid var(--text);
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  margin: 1.25rem 0;
}

footer {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
