/* =============================================================
   Lumina Reach — WIP / Coming-Soon Holding-Page
   style.css · Build-Mode S (Signature)
   Dunkle Bühne = dokumentierte Premium-Ausnahme (Teaser, User-Wahl,
   #0a0a0a = etablierte Brand-Footer-Tonalität). Kein Gradient-Text.
   ============================================================= */

/* ─────────── 1. Tokens ─────────── */
:root {
  --c-bg:        #0a0a0a;
  --c-bg-2:      #050505;
  --c-text:      #f5f5f4;
  --c-muted:     #a3a3a3;
  --c-dim:       rgba(255, 255, 255, 0.42);
  --c-line:      rgba(255, 255, 255, 0.10);
  --c-line-soft: rgba(255, 255, 255, 0.06);

  /* Signature-Akzent (nur Grafik, nie Text-Fill) */
  --c-amber:  #f59e0b;
  --c-orange: #f97316;
  --c-pink:   #ec4899;
  --c-violet: #7c3aed;
  --grad-rainbow: linear-gradient(90deg, var(--c-amber), var(--c-orange), var(--c-pink), var(--c-violet));

  --ff-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.7, 0.6, 1);
  --dur-base: 350ms;
  --dur-slow: 800ms;

  --max-w: 940px;
}

/* ─────────── 2. Base ─────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  font-family: var(--ff-sans);
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.ws-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

/* ─────────── 3. Bühne ─────────── */
.ws-stage {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
  padding: clamp(1.5rem, 4vw, 3rem);
  /* Statischer Tiefen-Vignette-Backdrop (kein Blob, kein Blur) */
  background:
    radial-gradient(120% 90% at 50% 18%, #15151a 0%, var(--c-bg) 46%, var(--c-bg-2) 100%);
}

/* ─────────── 4. Cinematischer Video-Reel + Scrim ─────────── */
.ws-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--c-bg);
}
.ws-bg-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04); /* minimaler Overscan gegen Kantenflimmern */
  opacity: 0;
  transition: opacity 1.2s linear; /* weicher Fade-Übergang zwischen Clips */
  will-change: opacity;
}
.ws-bg-vid.is-top { opacity: 1; }

/* Scrim — macht weißen Text lesbar, ohne das Video zu erschlagen */
.ws-bg-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(125% 80% at 50% 40%, rgba(10,10,10,0.30) 0%, rgba(10,10,10,0.60) 55%, rgba(5,5,6,0.86) 100%),
    linear-gradient(180deg, rgba(10,10,10,0.62) 0%, rgba(10,10,10,0.12) 28%, rgba(10,10,10,0.30) 68%, rgba(5,5,6,0.84) 100%);
}

@media (prefers-reduced-motion: reduce) {
  .ws-bg-vid { display: none; }
  .ws-bg { background: #050506 url('video/poster.jpg') center / cover no-repeat; }
}

/* ─────────── 5. Inhalts-Ebene ─────────── */
.ws-content {
  position: relative;
  z-index: 1;
  align-self: center;
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  text-align: center;
  text-shadow: 0 1px 22px rgba(0, 0, 0, 0.5);
}

/* Header */
.ws-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.55);
}
.ws-header-brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.ws-logo-mark { width: 30px; height: 30px; fill: #ffffff; }
.ws-logo-name {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Status-Text (Header, rechts) — schlicht, kein Chip, kein Punkt */
.ws-header-status {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--c-muted);
  white-space: nowrap;
}

/* Headline (1 Font, weiß, 1 Weight) */
.ws-headline {
  margin: 0 0 1.25rem;
  font-size: clamp(2.4rem, 1.4rem + 5vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.ws-line { display: block; }

/* Subline */
.ws-sub {
  max-width: 56ch;
  margin: 0 auto clamp(2.5rem, 6vw, 3.75rem);
  font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem);
  line-height: 1.6;
  color: var(--c-muted);
}

/* ─────────── 6. Countdown (schwebendes Centerpiece) ─────────── */
.ws-cd {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(0.5rem, 2.5vw, 1.75rem);
  padding: clamp(1.1rem, 3vw, 1.9rem) clamp(1.4rem, 4vw, 3rem);
  margin-bottom: 1.75rem;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.012));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 30px 70px -28px rgba(0,0,0,0.8),
    0 0 60px -30px rgba(124, 58, 237, 0.4);
  position: relative;
}
/* Signature-Hairline (Grafik, kein Text) */
.ws-cd::after {
  content: "";
  position: absolute;
  left: 18%; right: 18%; bottom: -1px; height: 1.5px;
  background: var(--grad-rainbow);
  opacity: 0.7;
  border-radius: 2px;
}

.ws-cd-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: clamp(2.6rem, 9vw, 4rem);
}
.ws-cd-num {
  font-size: clamp(2rem, 1.1rem + 4vw, 3.6rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  font-feature-settings: "tnum" 1;
}
.ws-cd-num.ws-tick { animation: ws-roll 0.55s var(--ease-spring); }
@keyframes ws-roll {
  0%   { transform: translateY(-55%); opacity: 0; filter: blur(3px); }
  60%  { filter: blur(0); }
  100% { transform: translateY(0); opacity: 1; filter: blur(0); }
}
.ws-cd-label {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-dim);
}
.ws-cd-sep {
  font-size: clamp(1.4rem, 0.9rem + 2vw, 2.4rem);
  font-weight: 300;
  line-height: 1;
  margin-top: clamp(0.1rem, 1vw, 0.35rem);
  color: var(--c-line);
}

@media (prefers-reduced-motion: reduce) {
  .ws-cd-num.ws-tick { animation: none; }
}

/* Datum */
.ws-date {
  margin: 0 0 2.5rem;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--c-muted);
}
.ws-date strong { color: var(--c-text); font-weight: 600; }

/* Kontakt */
.ws-contact {
  margin: 0;
  font-size: 0.95rem;
  color: var(--c-dim);
}
.ws-contact-intro { margin: 0 0 0.6rem; }
.ws-contact-mail { margin: 0 0 0.7rem; }
.ws-contact-people {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 2.2rem;
  margin: 0;
}
.ws-contact-person {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
}
.ws-contact-name { color: var(--c-dim); }
.ws-contact-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  margin: 0 0.15rem;
  color: var(--c-text);
  font-weight: 500;
}
.ws-contact-link::after {
  content: "";
  position: absolute;
  left: 2px; right: 2px; bottom: 2px; height: 1.5px;
  background: var(--grad-rainbow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-out);
}
.ws-contact-link:hover::after,
.ws-contact-link:focus-visible::after { transform: scaleX(1); }

:focus-visible { outline: 2px solid var(--c-violet); outline-offset: 3px; border-radius: 3px; }

/* ─────────── 7. Footer ─────────── */
.ws-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: var(--c-dim);
}
.ws-foot a { transition: color var(--dur-base) var(--ease-out); }
.ws-foot a:hover { color: var(--c-muted); }

/* ─────────── 8. Reveal-Choreographie ─────────── */
.ws-rv {
  opacity: 0;
  transform: translateY(22px);
  animation: ws-rv-in 0.9s var(--ease-out) forwards;
  animation-delay: calc(0.12s * var(--rv-i, 0) + 0.15s);
}
@keyframes ws-rv-in {
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ws-rv { opacity: 1; transform: none; animation: none; }
}

/* ─────────── 9. Mobile ─────────── */
@media (max-width: 560px) {
  .ws-cd {
    gap: 0.3rem;
    padding: 1rem 0.75rem;
    width: 100%;
  }
  .ws-cd-sep { display: none; }
  .ws-cd-unit { min-width: 0; flex: 1; }
  .ws-contact-people { gap: 0.3rem 1.4rem; }
  .ws-contact-link { display: inline-block; }

  .ws-logo-name { font-size: 0.95rem; }
  .ws-logo-mark { width: 26px; height: 26px; }
  .ws-header-status { font-size: 0.72rem; }
}
