:root {
  --bg: #0b1120;
  --bg-elev: #111827;
  --border: #1e293b;
  --border-light: #334155;
  --text: #f1f5f9;
  --text-dim: #94a3b8;
  --text-muted: #64748b;
  --accent: #38bdf8;
  --accent-dark: #0284c7;
  --gold: #facc15;
  --success: #22c55e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Noise-Texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Aurora Halos hinter dem Content */
.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.aurora-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 70%);
  top: -100px; left: -100px;
  animation: aurora-1 20s ease-in-out infinite;
}
.aurora-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.28), transparent 70%);
  bottom: -100px; right: -100px;
  animation: aurora-2 24s ease-in-out infinite;
}
.aurora-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(250, 204, 21, 0.15), transparent 70%);
  top: 40%; right: 20%;
  animation: aurora-3 28s ease-in-out infinite;
}
@keyframes aurora-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(120px, 80px) scale(1.15); }
}
@keyframes aurora-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-100px, -60px) scale(1.1); }
}
@keyframes aurora-3 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
  50% { transform: translate(-80px, 40px) scale(1.2); opacity: 1; }
}

/* Grid-Pattern-Hintergrund */
.grid-bg {
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(56, 189, 248, 0.12) 1px, transparent 1.5px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* Cursor-Spotlight */
.cursor-spotlight {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.1), transparent 65%);
  pointer-events: none;
  z-index: 2;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.cursor-spotlight.is-active { opacity: 1; }
@media (hover: none), (max-width: 768px) {
  .cursor-spotlight { display: none; }
}

/* Reveal-Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Main Stage */
.stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  position: relative;
  z-index: 3;
}

.stage-inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* Status-Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.06);
  border: 1px solid rgba(56, 189, 248, 0.25);
  backdrop-filter: blur(10px);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: status-pulse 2s ease-in-out infinite;
}

@keyframes status-pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

/* Logo mit Breathing-Effect */
.logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
}

.logo-glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35), transparent 65%);
  filter: blur(40px);
  animation: logo-breathe 4s ease-in-out infinite;
  pointer-events: none;
}

.logo {
  height: 180px;
  width: auto;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 20px 50px rgba(56, 189, 248, 0.35));
  animation: logo-float 6s ease-in-out infinite;
}

@keyframes logo-breathe {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.15); }
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Headline */
.headline {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2px;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #b8c5e5 130%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 640px;
  padding-bottom: 0.12em;
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    #7dd3fc 25%,
    #ffffff 50%,
    #7dd3fc 75%,
    var(--accent) 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: shimmer 4s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  display: inline-block;
  padding: 0 0.05em 0.15em;
  line-height: 1.2;
}
@keyframes shimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Tagline */
.tagline {
  font-size: 18px;
  color: var(--text-dim);
  line-height: 1.65;
  max-width: 520px;
  letter-spacing: -0.01em;
}

/* Progress-Row */
.progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 8px;
  max-width: 100%;
  flex-wrap: nowrap;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 60px;
}

.progress-check {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: var(--bg-elev);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.3s ease;
  position: relative;
}

.progress-step.done .progress-check {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
  color: var(--success);
  box-shadow: 0 0 16px -2px rgba(34, 197, 94, 0.35);
}

.progress-step.active .progress-check {
  background: rgba(56, 189, 248, 0.15);
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 20px -2px rgba(56, 189, 248, 0.5);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
}

.progress-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.progress-step.done .progress-label,
.progress-step.active .progress-label {
  color: var(--text-dim);
}

.progress-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  margin-bottom: 20px;
  min-width: 24px;
  position: relative;
  overflow: hidden;
}

.progress-line.done {
  background: linear-gradient(90deg, var(--success), rgba(34, 197, 94, 0.3));
}

.progress-line.half {
  background: linear-gradient(90deg, var(--success), var(--accent));
}


/* Footer — dezent, nur Pflichtangaben */
.cs-footer {
  padding: 20px;
  position: relative;
  z-index: 3;
}

.cs-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.cs-footer-inner:hover { opacity: 1; }

.cs-footer-brand {
  color: var(--text-muted);
  font-size: 12px;
}

.cs-footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cs-footer-nav a {
  color: var(--text-muted);
  font-size: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cs-footer-nav a:hover {
  color: var(--accent);
}

/* Responsive */
@media (max-width: 640px) {
  .stage { padding: 40px 20px; }
  .stage-inner { gap: 24px; }
  .logo { height: 140px; }
  .logo-glow { width: 240px; height: 240px; }
  .headline { font-size: 42px; letter-spacing: -1px; }
  .tagline { font-size: 16px; }

  .progress-row { gap: 4px; }
  .progress-step { min-width: 50px; }
  .progress-label { font-size: 10px; }
  .progress-check { width: 26px; height: 26px; font-size: 11px; }
  .progress-line { min-width: 12px; }

  .cs-footer-inner { flex-direction: column; text-align: center; }
  .cs-footer-nav { justify-content: center; }
}
