:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --text: #1f2023;
  --muted: #63625c;
  --line: #dcdcd6;
  --accent: #1f2023;
  --todo-bg: #fff3c4;
  --todo-text: #5c4500;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1013;
    --surface: #171a1f;
    --text: #eef0f3;
    --muted: #a2a9b4;
    --line: #2a2f37;
    --accent: #eef0f3;
    --todo-bg: #3d3210;
    --todo-text: #f5dc8a;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Atkinson Hyperlegible Next", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
header { padding: 18px 0; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
main { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 32px; margin-bottom: 40px; }
h1 { margin-top: 0; font-size: clamp(1.5rem, 7vw, 2rem); letter-spacing: -.01em; hyphens: auto; overflow-wrap: break-word; }
h2 { font-size: 1.2rem; margin-top: 2em; }
p, li { color: var(--text); }
.muted { color: var(--muted); font-size: .9rem; }
footer { padding: 0 0 40px; color: var(--muted); font-size: .9rem; }
footer a { color: var(--muted); }
@media (max-width: 600px) { main { padding: 22px; } }
/* Logo: Graphit auf Hell, Weiß auf Dunkel */
.logo { display: block; height: 30px; width: auto; }
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  .logo-light { display: none; }
  .logo-dark { display: block; }
}

a { overflow-wrap:anywhere; }
:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
@media(max-width:600px) { header { flex-wrap:wrap; gap:16px; } .logo { max-width:100%; height:auto; } }
