:root {
  --himmel-oben: #0b1d3a;
  --himmel-unten: #1f4e8c;
  --karte: #ffffff;
  --text: #14233b;
  --text-leise: #5b6b84;
  --akzent: #f59e0b;
  --akzent-dunkel: #d97706;
  --radius-karte: 24px;
  --radius-knopf: 999px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --himmel-oben: #050c1a;
    --himmel-unten: #12305a;
    --karte: #14213a;
    --text: #eef3fb;
    --text-leise: #a3b2cc;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 16px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: linear-gradient(160deg, var(--himmel-oben), var(--himmel-unten));
}

.karte {
  width: 100%;
  max-width: 420px;
  padding: 40px 32px 36px;
  text-align: center;
  background: var(--karte);
  border-radius: var(--radius-karte);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.etikett {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--akzent-dunkel);
  border: 1px solid currentColor;
  border-radius: var(--radius-knopf);
}

h1 {
  margin: 0 0 8px;
  font-size: 2.25rem;
  line-height: 1.1;
}

.einleitung {
  margin: 0 0 28px;
  color: var(--text-leise);
  line-height: 1.5;
}

.stand {
  display: block;
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: transform 0.12s ease-out;
}

.stand.huepft {
  transform: scale(1.12);
}

.wort {
  margin: 4px 0 28px;
  color: var(--text-leise);
}

.knopf {
  width: 100%;
  padding: 16px 24px;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a1203;
  background: var(--akzent);
  border: 0;
  border-radius: var(--radius-knopf);
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}

.knopf:hover {
  background: var(--akzent-dunkel);
}

.knopf:active {
  transform: translateY(1px);
}

.knopf:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .stand,
  .knopf {
    transition: none;
  }
}
