/*
 * Gestaltung der Rechtsseiten (Impressum, Datenschutz).
 *
 * Eine Datei fuer beide: Vorher stand derselbe Block zweimal im
 * Quelltext, und die Farbtoken darin ein drittes Mal. Wer eine Farbe
 * anpasst, trifft sonst zwei von drei Stellen - und der Fehler faellt
 * erst auf, wenn jemand die uebersehene Seite im Dunkelmodus oeffnet.
 *
 * Die Werte stimmen mit landing/template.html und src/theme.css der App
 * ueberein. --on-primary kippt mit dem Farbschema: Weiss auf dem hellen
 * Blau des Dunkelmodus ergaebe 2,83:1 und fiele durch WCAG AA.
 */
:root {
  --primary: #0b63d6;
  --on-primary: #ffffff;
  --bg: #ffffff;
  --text: #1c1c1e;
  --muted: #545456;
  --border: #e3e5e8;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #409cff;
    --on-primary: #000000;
    --bg: #000000;
    --text: #f2f2f7;
    --muted: #a1a1a6;
    --border: #2c2c2e;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 720px; margin: 0 auto; padding: 48px 24px 72px; }
a { color: var(--primary); }
h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 8px; }
h2 { font-size: 20px; letter-spacing: -.01em; margin: 36px 0 8px; }
p, li { margin: 0 0 14px; }
ul { padding-left: 22px; }
address { font-style: normal; color: var(--muted); }
.muted { color: var(--muted); font-size: 15.5px; }

/* Sichtbarer Fokus auf allem Bedienbaren, wie auf der Startseite. */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.back {
  display: inline-flex; align-items: center; min-height: 44px;
  margin-bottom: 28px; color: var(--muted);
  text-decoration: none; font-size: 15px;
}
.back:hover { color: var(--text); }

/* Was noch auszufuellen ist, faellt so beim Ueberfliegen auf. */
.todo {
  border: 1px solid var(--primary); border-radius: 12px;
  padding: 16px 18px; margin: 0 0 28px; font-size: 15.5px;
}
.todo strong { color: var(--primary); }
