@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Geist-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Geist-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/GeistMono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/GeistMono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --paper: #ffffff;
  --cream: #fafaf9;
  --parchment: #f5f5f4;
  --ink-900: #09090b;
  --ink-700: #27272a;
  --ink-600: #3f3f46;
  --ink-500: #52525b;
  --ink-400: #71717a;
  --ink-200: #d4d4d8;
  --ink-100: #e4e4e7;
  --brand-200: #fecaca;
  --brand-600: #cd1f32;
  --brand-700: #a9172a;
  --font-sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
}

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

html {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--cream);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--ink-900);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "ss03", "cv11";
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  display: flex;
  flex-direction: column;
  /* Lange Datenschutzerklärung kann horizontal überlaufen wegen
     URLs in <p> — Sicherheitsnetz: nie horizontal scrollen */
  overflow-x: hidden;
}

::selection { background: var(--brand-600); color: white; }

a { color: inherit; }

.container {
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 clamp(20px, 4vw, 40px);
}
.container.narrow { max-width: 760px; }

/* Header */
header.top { padding: 28px 0 0; }
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo { display: inline-flex; align-items: center; height: 28px; }
.logo svg { height: 28px; width: auto; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  text-decoration: none;
  transition: color 200ms;
}
.back-link:hover { color: var(--ink-900); }

/* Page hero */
main.page {
  flex: 1;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0 clamp(4rem, 9vw, 7.5rem);
}

.eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}
.label-brand { color: var(--brand-600); }
.rule-sm {
  height: 1px;
  width: 32px;
  background: var(--ink-200);
  display: inline-block;
}

h1.page-title {
  margin: 24px 0 0;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: var(--ink-900);
  text-wrap: balance;
}

.page-lead {
  margin: 24px 0 0;
  max-width: 60ch;
  color: var(--ink-600);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
}

/* Prose */
.prose {
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--ink-700);
  line-height: 1.7;
  font-size: clamp(0.9375rem, 1.1vw, 1.0625rem);
}
.prose > * + * { margin-top: 1.25em; }
.prose h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: 2.5em;
  color: var(--ink-900);
  line-height: 1.25;
}
.prose h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin-top: 2em;
  color: var(--ink-900);
  letter-spacing: -0.015em;
}
.prose h4 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-top: 1.6em;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.prose p, .prose ul, .prose ol { max-width: 68ch; }
.prose ul, .prose ol { padding-left: 1.5em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.5em; }
.prose a {
  color: var(--brand-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: var(--brand-200);
  transition: text-decoration-color 200ms;
  /* lange URLs (Datenschutzerklärung enthält viele) brechen sauber
     statt horizontal aus dem Container auszubrechen */
  overflow-wrap: anywhere;
  word-break: break-word;
}
.prose a:hover { text-decoration-color: var(--brand-600); }
.prose strong { font-weight: 600; color: var(--ink-900); }
.prose hr {
  border: none;
  border-top: 1px solid var(--ink-100);
  margin: 3em 0;
}

.placeholder-note {
  margin-top: 32px;
  padding: 20px 24px;
  border: 1px solid var(--ink-100);
  border-left: 2px solid var(--brand-600);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Footer */
footer.baseline {
  border-top: 1px solid var(--ink-100);
  background: var(--paper);
}
.baseline-inner {
  /* explizite Top/Bottom statt padding-shorthand — sonst killt das die
     horizontale Container-Padding (padding: 20px 0 setzt left/right auf 0) */
  padding-top: 20px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--ink-500);
}
.baseline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.baseline-links a {
  color: var(--ink-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms;
}
.baseline-links a:hover { border-bottom-color: var(--ink-700); }
@media (min-width: 640px) {
  .baseline-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; }
}
