:root {
  --bg: #f3f6f2; --surface: #fbfcfa; --fg: #10231a; --muted: #51655a; --line: #cbd8cb; --accent: #1c5a3e; --chip: #dde7dc;
  --font-display: "Roboto Slab", ui-serif, Georgia, serif;
  --font-body: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --bg: #0b1812; --surface: #12271e; --fg: #e9f0ea; --muted: #94a99c; --line: #234034; --accent: #e8b595; --chip: #183227; color-scheme: dark; }
}
:root[data-theme="dark"] { --bg: #0b1812; --surface: #12271e; --fg: #e9f0ea; --muted: #94a99c; --line: #234034; --accent: #e8b595; --chip: #183227; color-scheme: dark; }
:root[data-lang="en"] .de { display: none; }
:root:not([data-lang="en"]) .en { display: none; }
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.top { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto; padding: 20px clamp(16px, 4vw, 32px) 0; }
.seg { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.seg button { font: 600 0.75rem/1 var(--font-body); letter-spacing: 0.06em; color: var(--muted); background: none; border: 0; border-radius: 999px; padding: 8px 11px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
main { max-width: 760px; margin: 0 auto; padding: 32px clamp(16px, 4vw, 32px) 64px; overflow-wrap: anywhere; }
h1, h2 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); margin: 0 0 28px; }
h2 { font-size: 1.25rem; margin: 36px 0 10px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }
.muted { color: var(--muted); font-size: 0.9rem; }
.todo { background: #ffe58a; color: #3a2d00; padding: 0 4px; border-radius: 4px; }
footer { max-width: 760px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px) 40px; font-size: 0.85rem; color: var(--muted); }
