:root {
  --bg: #f6f5f1;
  --fg: #16161a;
  --muted: #6b6b73;
  --accent: #d9480f;
  --line: #dcdad2;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101013;
    --fg: #ecebe6;
    --muted: #8d8d96;
    --accent: #ff7a3d;
    --line: #2a2a31;
  }
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.doc { align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
main { width: 100%; max-width: 560px; }
body.doc main { max-width: 680px; }
.mark {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: clamp(1.25rem, 4.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}
.mark a { color: inherit; text-decoration: none; }
.mark span { color: var(--accent); }
.rule {
  width: 48px;
  height: 3px;
  margin: 20px 0;
  background: var(--accent);
  border: 0;
}
p {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--muted);
}
p strong { color: var(--fg); font-weight: 600; }
p.contact { margin-top: 20px; font-size: 1rem; }
a { color: var(--fg); text-underline-offset: 3px; text-decoration-color: var(--accent); }
a:hover { color: var(--accent); }

/* Rechtliche Seiten */
h2.page { margin: 0 0 4px; font-size: 1.5rem; line-height: 1.25; }
body.doc h3 { margin: 32px 0 8px; font-size: 1.0625rem; line-height: 1.3; }
body.doc p { font-size: 1rem; margin-bottom: 12px; }
body.doc ul { margin: 0 0 12px; padding-left: 1.25rem; color: var(--muted); line-height: 1.55; }
body.doc li { margin-bottom: 4px; }
.meta { font-size: 0.875rem !important; }
address { font-style: normal; color: var(--muted); line-height: 1.55; margin-bottom: 12px; }
address strong { color: var(--fg); font-weight: 600; }

footer {
  margin-top: 56px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
footer a { color: var(--muted); }
footer a:hover { color: var(--accent); }
