:root {
  --bg: #fbfaf7;
  --text: #1d1d1b;
  --muted: #5d5b55;
  --accent: #1f5f8b;
  --rule: #e2dfd7;
  --box: #f1efe9;
  --max: 42rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --text: #ecebe7;
    --muted: #a9a69d;
    --accent: #7fb6dc;
    --rule: #34332f;
    --box: #21201e;
  }
}
* { box-sizing: border-box; }
html { font-size: 112.5%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Georgia, "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.6;
}
header, main, footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem;
}
header {
  padding-top: 2rem;
  border-bottom: 1px solid var(--rule);
}
header .brand {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  font-size: 1.1rem;
}
nav { margin: 0.75rem 0 1rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 0.9rem; }
nav a { margin-right: 1rem; color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); }
h1 { font-size: 1.9rem; line-height: 1.25; margin: 2rem 0 0.5rem; }
h2 { font-size: 1.3rem; margin-top: 2.2rem; }
h3 { font-size: 1.05rem; margin-top: 1.6rem; }
a { color: var(--accent); }
.lead { font-size: 1.15rem; color: var(--muted); }
.box {
  background: var(--box);
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1.5rem 0;
}
.kennzahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 0.75rem;
  margin: 1.5rem 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
.kennzahlen div { background: var(--box); padding: 0.7rem 0.8rem; }
.kennzahlen strong { display: block; font-size: 1.25rem; }
.kennzahlen span { color: var(--muted); font-size: 0.8rem; }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; margin: 1rem 0; }
th, td { text-align: left; padding: 0.4rem 0.5rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.meta { color: var(--muted); font-size: 0.85rem; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
footer {
  margin-top: 4rem;
  padding-top: 1rem;
  padding-bottom: 2rem;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.85rem;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}
footer a { color: var(--muted); margin-right: 1rem; }
@media (max-width: 30rem) {
  html { font-size: 106%; }
  h1 { font-size: 1.6rem; }
}

/* Newsletter-Formular */
.anmeldung { display: grid; gap: .5rem; margin-top: .75rem; max-width: 32rem; }
.anmeldung input[type=email] { font: inherit; padding: .55rem .7rem; border: 1px solid var(--rule); border-radius: 6px; background: var(--bg); color: var(--text); }
.anmeldung .check { font-size: .9rem; line-height: 1.4; }
.anmeldung .check input { margin-right: .35rem; }
.anmeldung button { font: inherit; justify-self: start; padding: .55rem 1.2rem; border: 0; border-radius: 6px; background: var(--accent); color: var(--bg); cursor: pointer; }
.anmeldung button:hover { opacity: .9; }
.anmeldung .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
