/* Systemschriften only – keine externen Fonts */
:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #6e6e73;
  --accent: #b8860b;
  --border: #e5e5ea;
  --max: 42rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --fg: #f2f2f4;
    --muted: #a1a1a6;
    --accent: #e0b84a;
    --border: #2c2c2e;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.site-header, main, .site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
}

.site-header {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--border);
}

.brand { font-weight: 700; text-decoration: none; color: var(--fg); }

nav { display: flex; gap: 1rem; }

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

h1 { line-height: 1.2; }

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

h2 { margin-top: 2rem; font-size: 1.25rem; }
h3 { font-size: 1rem; }
.meta { color: var(--muted); font-size: 0.875rem; }
