/* Manrope (SIL Open Font License), selbst gehostet */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/manrope-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;
}

:root {
  --bg: #f4f8fb;
  --ink: #161718;
  --muted: #5c6166;
  --line: #dde3e8;
  --accent: #32ffcc;
  --accent-ink: #0b7a5f;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161718;
    --ink: #f4f8fb;
    --muted: #9aa1a7;
    --line: #2b2e31;
    --accent-ink: #32ffcc;
  }
}

* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Logo als Maske, damit es in Hell und Dunkel die Textfarbe übernimmt */
.logo {
  display: block;
  aspect-ratio: 8192 / 1444;
  background: var(--ink);
  -webkit-mask: url(/logo.svg) center / contain no-repeat;
  mask: url(/logo.svg) center / contain no-repeat;
}

/* Startseite */
.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 48px 16px;
}
.hero .logo {
  width: min(560px, 72vw);
  animation: rise 900ms cubic-bezier(.2, .7, .2, 1) both;
}
.dot {
  width: 10px;
  height: 10px;
  margin: 40px auto 0;
  border-radius: 50%;
  background: var(--accent);
  animation: rise 900ms 250ms cubic-bezier(.2, .7, .2, 1) both;
}

/* Rechtstexte */
.page-head {
  padding: 28px max(16px, calc((100% - 72ch) / 2 + 16px));
  border-bottom: 1px solid var(--line);
}
.page-head a { display: inline-block; }
.page-head .logo { width: 96px; }
.doc {
  flex: 1;
  width: 100%;
  max-width: 72ch;
  margin: 0 auto;
  padding: 56px 16px 72px;
  overflow-wrap: anywhere;
}
.doc h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 40px;
}
.doc h1::after {
  content: "";
  display: block;
  width: 40px;
  height: 4px;
  margin-top: 20px;
  border-radius: 2px;
  background: var(--accent);
}
.doc h2 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
}
.doc h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 28px 0 8px;
}
.doc h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin: 20px 0 6px;
}
.doc p, .doc ul, .doc dl { margin-bottom: 14px; }
.doc ul { padding-left: 1.25em; }
.doc li { margin-bottom: 4px; }
.doc a { color: var(--accent-ink); text-underline-offset: 3px; }
.doc address { font-style: normal; margin-bottom: 14px; }
.doc dl { display: grid; gap: 18px; }
.doc dt { font-weight: 700; }
.doc dd { margin: 4px 0 0; color: var(--muted); }

/* Fußzeile */
footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 24px 16px 28px;
  font-size: 0.875rem;
  color: var(--muted);
}
footer a { color: inherit; text-decoration: none; }
footer a:hover, footer a[aria-current] { color: var(--ink); }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .logo, .dot { animation: none; }
}
