/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #090c18;
  color: #f0ebe1;
  font-family: 'Georgia', 'Times New Roman', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 2.5rem;
  animation: fade-up 0.8s 3.2s ease-out both;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: #c9a84c;
  text-transform: uppercase;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: rgba(240, 235, 225, 0.6);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #c9a84c;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Deep, atmospheric background with subtle center vignette */
  background:
    radial-gradient(ellipse 90% 70% at 50% 45%, #111628 0%, #090c18 70%);
}

/* ============================================================
   SMOKE STAGE
   ============================================================ */
.smoke-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  /* Hard-kill the entire stage after the longest wisp finishes */
  animation: stage-hide 0s 5.5s forwards;
}

/* Dense fog blanket that clears first */
.fog-cover {
  position: absolute;
  inset: -15%;
  background:
    radial-gradient(ellipse 70% 60% at 48% 42%,  rgba(185, 205, 235, 0.60) 0%, transparent 65%),
    radial-gradient(ellipse 90% 75% at 52% 55%,  rgba(165, 188, 220, 0.45) 0%, transparent 70%),
    radial-gradient(ellipse 110% 90% at 50% 50%, rgba(140, 165, 205, 0.25) 0%, transparent 80%);
  /* Reduced blur — large values bleed through at opacity:0 on some renderers */
  filter: blur(18px);
  will-change: opacity, transform;
  animation: fog-out 3s ease-out forwards;
}

/* Individual smoke wisps — rise from around the logo and drift away */
.wisp {
  position: absolute;
  border-radius: 50%;
  filter: blur(var(--blur, 28px));
  background: radial-gradient(ellipse at center,
    rgba(185, 205, 235, var(--op, 0.55)) 0%,
    rgba(165, 188, 220, calc(var(--op, 0.55) * 0.5)) 40%,
    transparent 70%
  );
  animation: wisp-rise var(--dur) var(--delay) ease-out forwards;
}

/* Wisps clustered around the logo center (~50% 42% of viewport) */
.wisp-1 {
  width: 480px; height: 380px;
  left: calc(50% - 380px); top: calc(42% - 260px);
  --dur: 3.8s; --delay: 0.0s; --blur: 32px; --op: 0.60;
  --ex: -90px; --ey: -130px; --es: 2.2;
}
.wisp-2 {
  width: 360px; height: 300px;
  left: calc(50% + 60px);  top: calc(42% - 200px);
  --dur: 4.2s; --delay: 0.15s; --blur: 26px; --op: 0.55;
  --ex: 100px; --ey: -150px; --es: 2.4;
}
.wisp-3 {
  width: 420px; height: 350px;
  left: calc(50% - 200px); top: calc(42% + 40px);
  --dur: 3.5s; --delay: 0.3s;  --blur: 30px; --op: 0.50;
  --ex: -70px; --ey: -100px; --es: 2.0;
}
.wisp-4 {
  width: 320px; height: 280px;
  left: calc(50% + 20px);  top: calc(42% + 60px);
  --dur: 4.5s; --delay: 0.1s;  --blur: 24px; --op: 0.48;
  --ex: 80px;  --ey: -120px; --es: 2.3;
}
.wisp-5 {
  width: 550px; height: 420px;
  left: calc(50% - 280px); top: calc(42% - 180px);
  --dur: 5.0s; --delay: 0.2s;  --blur: 40px; --op: 0.40;
  --ex: -30px; --ey: -160px; --es: 1.9;
}
.wisp-6 {
  width: 300px; height: 260px;
  left: calc(50% - 100px); top: calc(42% - 280px);
  --dur: 3.2s; --delay: 0.4s;  --blur: 22px; --op: 0.50;
  --ex: 20px;  --ey: -110px; --es: 2.1;
}
.wisp-7 {
  width: 400px; height: 360px;
  left: calc(50% + 80px);  top: calc(42% - 120px);
  --dur: 4.0s; --delay: 0.5s;  --blur: 35px; --op: 0.45;
  --ex: 120px; --ey: -140px; --es: 2.5;
}
.wisp-8 {
  width: 460px; height: 400px;
  left: calc(50% - 320px); top: calc(42% + 80px);
  --dur: 4.8s; --delay: 0.05s; --blur: 38px; --op: 0.42;
  --ex: -110px; --ey: -90px; --es: 2.0;
}

/* ============================================================
   HERO INNER LAYOUT
   ============================================================ */
.hero-inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 7rem 2rem 4rem;
  max-width: 1200px;
  width: 100%;
  gap: 2.5rem;
}

/* ============================================================
   HERO LOGO
   ============================================================ */
.hero-logo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Warm glow behind the logo — appears after smoke clears */
.logo-glow {
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 240, 190, 0.14) 0%,
    rgba(210, 190, 120, 0.07) 45%,
    transparent 70%
  );
  animation: glow-in 1.5s 2.8s ease-out both;
}

.hero-logo {
  width: min(480px, 82vw);
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  will-change: opacity, filter;
  animation: logo-reveal 2.8s 0.6s ease-out both;
}

/* ============================================================
   HERO TEXT
   ============================================================ */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #c9a84c;
  animation: fade-up 0.8s 3.3s ease-out both;
}

.hero-heading {
  font-size: clamp(2rem, 5.5vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: #f5f0e8;
  animation: fade-up 0.8s 3.5s ease-out both;
}

.hero-tagline {
  font-size: clamp(0.88rem, 1.8vw, 1.05rem);
  color: rgba(240, 235, 225, 0.55);
  letter-spacing: 0.06em;
  font-style: italic;
  animation: fade-up 0.8s 3.7s ease-out both;
}

.btn-primary {
  display: inline-block;
  margin-top: 0.6rem;
  padding: 0.9rem 2.5rem;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  animation: fade-up 0.8s 3.9s ease-out both;
}

.btn-primary:hover {
  background: #c9a84c;
  color: #090c18;
}

/* ============================================================
   KEYFRAMES
   ============================================================ */

/* Fog blanket dissolves upward */
@keyframes fog-out {
  0%   { opacity: 1;   transform: translateY(0); }
  65%  { opacity: 0.5; transform: translateY(-2%); }
  100% { opacity: 0;   transform: translateY(-5%); }
}

/* Individual wisps rise and expand to nothing */
@keyframes wisp-rise {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--ex, 0px), var(--ey, -100px)) scale(var(--es, 2));
  }
}

/* Logo materialises — opacity + blur only, no brightness/saturate to avoid white-flash */
@keyframes logo-reveal {
  0%   { opacity: 0; filter: blur(40px); }
  60%  { opacity: 0.85; filter: blur(6px); }
  100% { opacity: 1; filter: blur(0px) drop-shadow(0 0 48px rgba(210, 190, 120, 0.18)); }
}

/* Smoke stage fully removed from compositing once all animations are done */
@keyframes stage-hide {
  to { visibility: hidden; }
}

/* Glow pulses in behind the logo */
@keyframes glow-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* Text slides up and fades in */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  padding: 0.75rem 2rem;
  z-index: 50;
}

.age-disclaimer {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: rgba(240, 235, 225, 0.2);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .site-header {
    padding: 1.2rem 1.5rem;
  }

  .hero-inner {
    gap: 2rem;
    padding-top: 6rem;
  }
}

/* ============================================================
   Impressum
   ============================================================ */

    .impressum-main {
      min-height: 100vh;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 9rem 2rem 6rem;
      background: radial-gradient(ellipse 90% 70% at 50% 45%, #111628 0%, #090c18 70%);
    }

    .impressum-wrap {
      max-width: 680px;
      width: 100%;
      animation: imp-in 0.8s ease-out both;
    }

    .impressum-back {
      display: inline-block;
      margin-bottom: 3rem;
      font-size: 0.72rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(240, 235, 225, 0.35);
      text-decoration: none;
      transition: color 0.3s;
    }

    .impressum-back::before { content: '← '; }
    .impressum-back:hover { color: #c9a84c; }

    .impressum-h1 {
      font-size: clamp(1.6rem, 4vw, 2.4rem);
      font-weight: 400;
      letter-spacing: 0.08em;
      color: #f5f0e8;
      margin-bottom: 3rem;
      padding-bottom: 1.2rem;
      border-bottom: 1px solid rgba(201, 168, 76, 0.2);
    }

    .impressum-section {
      margin-bottom: 2.4rem;
    }

    .impressum-section h2 {
      font-size: 0.68rem;
      font-weight: 400;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: #c9a84c;
      margin-bottom: 0.8rem;
    }

    .impressum-section p {
      font-size: 0.88rem;
      line-height: 1.95;
      color: rgba(240, 235, 225, 0.5);
    }

    .impressum-section a {
      color: rgba(240, 235, 225, 0.5);
      text-decoration: none;
      transition: color 0.3s;
    }

    .impressum-section a:hover { color: #c9a84c; }

    .impressum-divider {
      border: none;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      margin: 0 0 2.4rem;
    }

    @keyframes imp-in {
      from { opacity: 0; transform: translateY(16px); }
      to   { opacity: 1; transform: translateY(0); }
    }