:root {
  color-scheme: light dark;
  --text: #1f2328;
  --bg: #f6f7f9;
  --accent: #2f5d8a;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #e6e8eb;
    --bg: #15181c;
    --accent: #8fb6dd;
  }
}

* { box-sizing: border-box; }

html, body { height: 100%; margin: 0; }

body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

main { text-align: center; }

h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 600;
  letter-spacing: 0.12em;
}

a.anmelden {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: var(--accent);
  text-decoration: none;
}

a.anmelden:hover, a.anmelden:focus-visible { background: var(--accent); color: var(--bg); }
