@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --nacht: #0b1020;
  --kopf: #23252b;
  --linie: rgba(255, 255, 255, 0.09);
  --linie-stark: rgba(255, 255, 255, 0.15);
  --text: #f5f7fb;
  --text-leise: #aab3c8;
  --text-gedaempft: #8e97b8;
  --akzent: #4f46e5;
  --akzent-hover: #4338ca;
  --akzent-hell: #818cf8;
  --gruen: #22c55e;
  --breite: 1188px;
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", Consolas, monospace;
}

* { box-sizing: border-box; }
html {
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--nacht);
  -webkit-text-size-adjust: 100%;
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #a5b4fc; outline-offset: 3px; border-radius: 4px; }
svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.breite { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 24px; }

/* Kopf */
.kopf { position: relative; z-index: 1; background: var(--kopf); border-bottom: 1px solid var(--linie); }
.kopf-innen { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.marke { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.wortmarke { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.punkt { color: #6366f1; }
.produkt { padding-left: 14px; border-left: 1px solid var(--linie-stark); font-size: 17px; font-weight: 600; line-height: 22px; }
.kopf-link { font-size: 15px; font-weight: 500; color: var(--text-leise); text-decoration: none; }
.kopf-link:hover { color: var(--text); }

/* Bühne */
.buehne {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(67, 56, 202, 0.34), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(13, 148, 136, 0.13), transparent 70%),
    radial-gradient(35% 45% at 100% 100%, rgba(67, 56, 202, 0.12), transparent 70%),
    var(--nacht);
}
.buehne::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(70% 75% at 50% 35%, #000 25%, transparent 80%);
  mask-image: radial-gradient(70% 75% at 50% 35%, #000 25%, transparent 80%);
  pointer-events: none;
}
.mitte { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 72px; padding-bottom: 72px; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 28px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--linie-stark);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}
.puls { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--gruen); }
.puls::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: puls 2s ease-out infinite;
}
@keyframes puls {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}

h1 { margin: 0 0 24px; font-size: 72px; line-height: 1.05; font-weight: 700; letter-spacing: -0.04em; }
h1 span { display: block; }
h1 .leise { color: var(--text-gedaempft); }

.einleitung { max-width: 36em; margin: 0 0 36px; font-size: 19px; line-height: 1.6; color: var(--text-leise); }

.aktionen { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 28px; margin-bottom: 64px; }
.knopf {
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 22px;
  border-radius: 6px;
  background: var(--akzent);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.35);
}
.knopf:hover { background: var(--akzent-hover); }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Fortschritt */
.fortschritt {
  width: 100%;
  max-width: 760px;
  border: 1px solid var(--linie-stark);
  border-radius: 12px;
  background: rgba(17, 22, 40, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  text-align: left;
}
.fortschritt-kopf { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--linie); font-size: 13px; color: var(--text-leise); }
.fortschritt h2 { margin: 0; font-size: 14px; font-weight: 600; color: var(--text); }

.etappen { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 24px 18px 22px; list-style: none; }
.etappen::before, .etappen::after {
  content: "";
  position: absolute;
  top: 37px;
  height: 2px;
  border-radius: 2px;
}
.etappen::before { left: calc(18px + 100% / 6 - 6px); right: calc(18px + 100% / 6 - 6px); background: var(--linie-stark); }
.etappen::after { left: calc(18px + 100% / 6 - 6px); width: calc((100% - 36px) / 3); background: linear-gradient(90deg, var(--akzent), var(--akzent-hell)); }
.etappen li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 8px; text-align: center; }
.marker {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 50%;
  border: 2px solid var(--linie-stark);
  background: var(--nacht);
}
.fertig .marker { border-color: var(--akzent); background: var(--akzent); color: #fff; }
.fertig .marker svg { width: 15px; height: 15px; stroke-width: 2.4; }
.aktiv .marker { border-color: var(--akzent-hell); }
.aktiv .puls { background: var(--akzent-hell); }
.etappen strong { font-size: 15px; font-weight: 600; }
.etappen li > span:last-child { font-size: 13px; line-height: 1.45; color: var(--text-leise); }
.etappen li:not(.fertig):not(.aktiv) strong { color: var(--text-leise); }

/* Bausteine */
.bausteine { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; max-width: 760px; margin: 28px 0 0; padding: 0; list-style: none; }
.bausteine li { display: flex; flex-direction: column; gap: 4px; padding: 4px 16px; }
.bausteine li + li { border-left: 1px solid var(--linie); }
.bausteine code { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--akzent-hell); }
.bausteine span { font-size: 13px; line-height: 1.45; color: var(--text-leise); }

/* Fuß */
.fuss { border-top: 1px solid var(--linie); background: var(--nacht); color: var(--text-gedaempft); font-size: 14px; }
.fuss-innen { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; }
.fuss nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

/* Schmal */
@media (max-width: 760px) {
  h1 { font-size: 48px; }
  .einleitung { font-size: 17px; }
}
@media (max-width: 600px) {
  .breite { padding: 0 16px; }
  .wortmarke { font-size: 24px; }
  .produkt { font-size: 15px; padding-left: 12px; }
  .marke { gap: 12px; }
  .mitte { padding-top: 48px; padding-bottom: 48px; }
  h1 { font-size: 38px; }
  .aktionen { margin-bottom: 44px; }
  .knopf { width: 100%; justify-content: center; }
  .etappen { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .etappen::before, .etappen::after { display: none; }
  .etappen li { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 12px; text-align: left; }
  .etappen .marker { margin-bottom: 0; }
  .etappen li > span:last-child { flex-basis: 100%; padding-left: 40px; }
  .bausteine { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .bausteine li { padding: 0 4px; }
  .bausteine li + li { border-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .puls::after { animation: none; display: none; }
}
