/* Werkstart – Ankündigungsseite
   Dunkler Grund mit Kupfer-, Petrol- und Violettlicht, eine zentrierte Botschaft. */

@font-face {
  font-family: "Geist";
  src: url("/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --night: #0c1719;
  --cream: #f6efe6;
  --text: #eef2f0;
  --text-2: rgba(238, 242, 240, 0.72);
  --text-3: rgba(238, 242, 240, 0.5);
  --line: rgba(238, 242, 240, 0.12);
  --copper: #ec8a4c;
  --copper-soft: #ffc08f;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --gutter: clamp(16px, 5vw, 48px);
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

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

html {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  background: var(--night);
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--text);
  /* Grund liegt auf html, damit das Licht (.aurora, z-index -1) sichtbar bleibt */
  background: transparent;
  -webkit-font-smoothing: antialiased;
}

h1, p, ul { margin: 0; }
a { color: inherit; touch-action: manipulation; }

:focus-visible {
  outline: 2px solid var(--copper-soft);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Licht im Hintergrund: fest, ohne Dauerbewegung */
.aurora {
  position: fixed;
  inset: -20vh -20vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(38vmax 34vmax at 22% 18%, rgba(196, 116, 62, 0.5), transparent 70%),
    radial-gradient(34vmax 30vmax at 84% 24%, rgba(31, 92, 88, 0.55), transparent 70%),
    radial-gradient(40vmax 34vmax at 50% 96%, rgba(70, 58, 150, 0.48), transparent 70%),
    radial-gradient(30vmax 30vmax at 92% 80%, rgba(36, 120, 108, 0.38), transparent 70%),
    var(--night);
}
.aurora::after {
  /* feines Korn gegen Banding */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.08;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>");
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(48px + env(safe-area-inset-top, 0px)) var(--gutter) 48px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper-soft);
  background: rgba(236, 138, 76, 0.1);
  box-shadow: inset 0 0 0 1px rgba(236, 138, 76, 0.28);
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  box-shadow: 0 0 0 4px rgba(236, 138, 76, 0.2);
}

.logo {
  display: block;
  width: clamp(72px, 12vw, 104px);
  height: auto;
  margin-top: clamp(40px, 8vh, 64px);
  color: var(--cream);
  filter: drop-shadow(0 0 28px rgba(236, 138, 76, 0.3));
}

h1 {
  margin-top: 20px;
  font-size: clamp(3.25rem, 11vw, 7rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  font-weight: 700;
}
.dot { color: var(--copper); }

.claim {
  margin-top: 14px;
  font-size: clamp(1.125rem, 2.4vw, 1.5rem);
  color: var(--text-2);
  letter-spacing: -0.01em;
}

.keys {
  list-style: none;
  padding: 0;
  margin-top: clamp(36px, 6vh, 56px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
.keys li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  color: var(--text);
}
.keys li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
}
@media (max-width: 520px) {
  .keys { flex-direction: column; align-items: center; }
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom, 0px));
  font-size: 0.8125rem;
  color: var(--text-3);
}
.footer nav { display: flex; gap: 18px; }
.footer a {
  color: var(--text-2);
  text-decoration: none;
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
}

/* Einmaliger Auftritt beim Laden: von oben nach unten, kurz versetzt */
.stage > * {
  animation: rise 800ms var(--ease-out) both;
}
.stage > :nth-child(2) { animation-delay: 80ms; }
.stage > :nth-child(3) { animation-delay: 140ms; }
.stage > :nth-child(4) { animation-delay: 200ms; }
.stage > :nth-child(5) { animation-delay: 280ms; }
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
}
@keyframes fade {
  from { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .stage > * { animation: fade 300ms ease both; }
}
