/* Wobbet – Website
   Farbwerte aus src/theme/colors.ts (Palette "Clean & Calm").

   Bewusst ohne externe Einbindungen: keine Web-Fonts, kein Analytics,
   keine Icon-CDNs. Eine Seite, die nichts nachlädt, erhebt keine Daten
   und braucht deshalb weder Consent-Banner noch eigene Cookie-Erklärung. */

:root {
  --bg: #0f1117;
  --card: #1a1d27;
  --primary: #6c63ff;
  --accent: #f5a623;
  --text: #f0f0f0;
  --muted: #9a9ab0;
  --border: #2a2d3a;
  --error: #e74c3c;
}

/* Helles Systemthema: gleiche Rollen, invertierte Werte. */
@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --card: #f4f4f7;
    --primary: #514ac7;
    --accent: #b87200;
    --text: #16181f;
    --muted: #5a5a70;
    --border: #dcdce4;
    --error: #b32d20;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0 1.25rem 4rem;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.wrap { max-width: 46rem; margin: 0 auto; }

header {
  padding: 3rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}

header .logo {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0;
}

header .logo a { color: var(--text); text-decoration: none; }
header .tagline { color: var(--muted); margin: 0.35rem 0 0; }

nav { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 1.25rem; }
nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
nav a:hover, nav a:focus { color: var(--primary); text-decoration: underline; }

h1 { font-size: 1.9rem; letter-spacing: -0.01em; margin: 0 0 1.5rem; }
h2 { font-size: 1.3rem; margin: 2.5rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.75rem 0 0.5rem; color: var(--muted); }

a { color: var(--primary); }

p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.35rem; }
li { margin-bottom: 0.35rem; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
}

.games { list-style: none; padding: 0; }
.games li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1.1rem;
  margin-bottom: 0.6rem;
}
.games strong { display: block; }
.games span { color: var(--muted); font-size: 0.92rem; }

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

/* Offene Stellen. Absichtlich auffällig: Was hier rot leuchtet, darf so
   nicht online gehen. Siehe website/README.md. */
.todo {
  display: inline-block;
  background: var(--error);
  color: #fff;
  padding: 0.05em 0.5em;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
}

.note {
  border-left: 3px solid var(--accent);
  padding: 0.75rem 0 0.75rem 1rem;
  margin: 1.5rem 0;
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  justify-content: space-between;
}
footer a { color: var(--muted); }
