:root {
  --bg:    #FAFAFA;
  --fg:    #111111;
  --muted: #6B6B6B;
  --faint: #9A9A9A;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }

.page {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 48px clamp(24px, 8vw, 120px);
}

main   { align-self: center; width: 100%; max-width: 560px; }
footer { width: 100%; max-width: 560px; }

/* Unterseiten (Impressum, Datenschutz): Inhalt oben ausrichten */
.page--sub main { align-self: start; padding-bottom: 64px; }

.wordmark {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 30px;
}
.dot {
  width: 8px;
  height: 8px;
  background: var(--fg);
  align-self: flex-end;
  margin-bottom: 3px;
}
.page--sub .wordmark { font-size: 20px; margin-bottom: 48px; }
.page--sub .wordmark .dot { width: 6px; height: 6px; margin-bottom: 2px; }

.lead   { font-size: 15.5px; margin: 0; max-width: 48ch; }
.status { font-size: 14px; margin: 16px 0 0; max-width: 48ch; color: var(--muted); }

.contact { font-size: 14px; margin: 32px 0 0; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Rechtstexte */
.legal h1 { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 32px; }
.legal h2 { font-size: 14px; font-weight: 500; margin: 36px 0 8px; }
.legal p  { font-size: 14px; margin: 0 0 12px; color: var(--muted); }
.legal ul { font-size: 14px; margin: 0 0 12px; padding-left: 20px; color: var(--muted); }
.legal li { margin-bottom: 4px; }
.legal strong { color: var(--fg); font-weight: 500; }
.legal a:hover { text-decoration: underline; text-underline-offset: 3px; }

footer {
  font-size: 12.5px;
  letter-spacing: 0.01em;
  color: var(--faint);
}
footer .footer-address { margin: 0 0 12px; }
footer .footer-address a:hover { color: var(--fg); }
footer .footer-links { margin: 0; }
footer .sep { padding: 0 8px; }
footer a:hover { color: var(--fg); }

@media (prefers-color-scheme: dark) {
  :root {
    --bg:    #0B0B0C;
    --fg:    #EDEDED;
    --muted: #8A8A8E;
    --faint: #5C5C60;
  }
}
