@font-face {
  font-family: 'Newsreader';
  src: url('fonts/Newsreader-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #f4f3ef;
  --surface: #ffffff;
  --line: rgba(0, 0, 0, 0.08);
  --text: #1c1c1e;
  --sub: #6b6b70;
  --todo-bg: #fff3d6;
  --todo-text: #7a4b00;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f10;
    --surface: #18191b;
    --line: rgba(255, 255, 255, 0.1);
    --text: #f2f2f4;
    --sub: #9a9aa0;
    --todo-bg: #3a2c0c;
    --todo-text: #ffd27a;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
}
main { max-width: 720px; margin: 0 auto; padding: 48px 20px 80px; }

h1, h2, .brand {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 4px; }
h2 { font-size: 24px; line-height: 1.25; margin: 40px 0 8px; }
h3 { font-size: 17px; margin: 24px 0 4px; }
.brand { font-size: 20px; color: var(--sub); text-decoration: none; }
.stand { color: var(--sub); font-size: 15px; margin: 0 0 24px; }
p, ul { margin: 0 0 12px; }
ul { padding-left: 20px; }
li { margin-bottom: 4px; }
a { color: inherit; text-underline-offset: 2px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  margin: 16px 0;
}
.card h2 { margin-top: 0; }

table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sub); }
tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }

/* Platzhalter, die vor dem Veröffentlichen gefüllt werden müssen */
.todo {
  background: var(--todo-bg);
  color: var(--todo-text);
  border-radius: 6px;
  padding: 0 4px;
  font-weight: 600;
}

footer { margin-top: 56px; color: var(--sub); font-size: 13px; }
footer a { margin-right: 16px; }

.toc ol { margin: 0; padding-left: 22px; }
.toc li { margin-bottom: 2px; }
h2[id] { scroll-margin-top: 16px; }
