/* Hero der Landingpage: zentrierter Titel-Block (MISSION SAUBER) */

#start.hero {
  position: relative;
  max-width: 1200px;
  padding: 18px 28px 32px;
  gap: 0;
}

/* HUD-Eckwinkel: rahmt die Buehne (Sucher-/Dossier-Optik) */
.hero-hud {
  position: absolute;
  inset: clamp(10px, 1.6vw, 22px);
  z-index: 1;
  pointer-events: none;
}

.hero-hud__c {
  position: absolute;
  width: clamp(16px, 2.2vw, 30px);
  height: clamp(16px, 2.2vw, 30px);
  border: 2px solid rgba(238, 114, 2, 0.5);
}

.hero-hud__c--tl { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.hero-hud__c--tr { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.hero-hud__c--bl { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.hero-hud__c--br { bottom: 0; right: 0; border-left: 0; border-top: 0; }

/* AKTE-00-Reiter optisch zentrieren (Reiter-Fahne ragt rechts heraus) */
.hero-stage-akte {
  margin-left: 6px;
}

/* Sprungziel fuer den Spiel-Start (#spielen) – nimmt keinen Platz ein */
#start .hero-showcase {
  display: block !important;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#start .hero-showcase .hero-right {
  width: 0;
  height: 0;
  min-height: 0;
  margin: 0;
  overflow: visible;
}

#start .hero-showcase .hero-right::before {
  content: none;
}

/* Eine zentrierte Spalte: Pretitle, Titel-Logo, Slogan, Copy, CTAs */
.hero-scene-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(18px, 3vw, 30px);
  /* Buehne: fuellt ~einen Screen (svh fuer stabile Mobile-Hoehe) */
  min-height: min(80vh, 760px);
  min-height: min(80svh, 760px);
  padding: clamp(10px, 3vw, 30px) 0 clamp(52px, 8vh, 88px);
}

/* Weicher, randloser Abschluss am Fuss der Buehne */
#start.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: clamp(120px, 18vh, 190px);
  margin-left: -50vw;
  /* Horizont-Schatten: laeuft nach oben UND zur Naht hin aus -> keine harte Kante */
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 14, 34, 0.45) 55%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}

/* Scroll-Hinweis: fuehrt aus der Buehne in den Inhalt */
.hero-scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(12px, 2.2vw, 24px);
  transform: translateX(-50%);
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  color: rgba(210, 220, 234, 0.5);
  font-family: var(--px);
  font-size: clamp(7px, 0.8vw, 9px);
  letter-spacing: 0.34em;
  padding-left: 0.34em;
  transition: color 0.15s;
}

.hero-scroll-cue:hover,
.hero-scroll-cue:focus-visible {
  color: var(--orange);
}

.hero-scroll-cue__chevron {
  font-size: 1.5em;
  line-height: 1;
  animation: heroCueBob 2.4s ease-in-out infinite;
}

@keyframes heroCueBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-cue__chevron { animation: none; }
  .hero-stage-story__title { animation: none; opacity: 1; }
}

/* Textspalte – zentriert */
.hero-stage-story {
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  max-width: 900px;
}

.hero-stage-story__pretitle {
  margin: 0;
  color: var(--orange);
  font-family: var(--px);
  font-size: clamp(8px, 1vw, 13px);
  letter-spacing: 0.34em;
}

.hero-stage-story__title {
  margin: 0;
  color: #f4f4f7;
  font-family: var(--px);
  font-size: clamp(18px, 2.6vw, 30px);
  line-height: 1.5;
  letter-spacing: 0.06em;
  text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.4);
  /* Dauerblink (Keyframe 'blink' aus animations.css) */
  animation: blink 1.2s steps(1) infinite;
}

.hero-stage-story__title span {
  color: var(--orange);
}

.hero-stage-copy {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--px);
  font-size: clamp(8px, 0.95vw, 11px);
  line-height: 2.1;
  letter-spacing: 0.04em;
  text-align: center;
}

/* CTA-Reihe unter der Copy */
.hero-scene-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(4px, 1vw, 10px);
}

.hero-stage-btn {
  min-width: 164px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  letter-spacing: 0.12em;
}

.hero-stage-btn--primary {
  border: 3px solid #c85e00;
  background: linear-gradient(180deg, #ff8c00 0%, #ee7202 100%);
  box-shadow: 4px 4px 0 var(--orange2);
  transition: transform 0.1s, box-shadow 0.1s;
}
.hero-stage-btn--primary:hover {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--orange2);
}

.hero-stage-btn--secondary {
  color: rgba(210, 220, 234, 0.86);
  border: 3px solid #24486e;
  background: rgba(11, 40, 73, 0.9);
  box-shadow:
    0 0 0 3px rgba(36, 72, 110, 0.92) inset,
    4px 4px 0 rgba(10, 26, 51, 0.76);
}

.hero-stage-btn__icon {
  font-size: 0.82em;
  transform: translateY(-1px);
}

/* Logo-Stack Basis – fuer Hero-Titel (--hero) und Divider (--divider) */
.hero-logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-family: var(--px);
  line-height: 1;
}

/* Titel-Logo im Hero */
.hero-logo-stack--hero {
  gap: clamp(6px, 1vw, 14px);
  margin: 0;
}

.hero-logo-stack--hero .hero-logo-stack__mission {
  font-size: clamp(18px, 3.4vw, 40px);
  letter-spacing: 0.5em;
}

.hero-logo-stack--hero .hero-logo-stack__sauber {
  font-size: clamp(46px, 11vw, 104px);
  letter-spacing: 0.04em;
  text-shadow: 6px 6px 0 #8c3700;
}

.hero-logo-stack--divider {
  flex: 0 0 auto;
  gap: 4px;
  padding: 0 8px;
}

.hero-logo-stack--divider .hero-logo-stack__mission {
  font-size: clamp(12px, 1vw, 16px);
  letter-spacing: 0.4em;
}

.hero-logo-stack--divider .hero-logo-stack__sauber {
  font-size: clamp(34px, 3vw, 52px);
  text-shadow: 4px 4px 0 #8c3700;
}

.hero-logo-stack__presented {
  display: none;
}

.hero-logo-stack__divider {
  display: none;
}

.hero-logo-stack__mission {
  padding-left: 0.52em;
  color: #f3f4f8;
  font-size: clamp(16px, 1.4vw, 20px);
  letter-spacing: 0.52em;
}

.hero-logo-stack__sauber {
  color: var(--orange);
  font-size: clamp(42px, 4.3vw, 66px);
  letter-spacing: 0.03em;
  text-shadow: 6px 6px 0 #8c3700;
}

/* ===== Responsive ===== */

@media (max-width: 1040px) {
  .hero-stage-btn {
    min-width: 152px;
  }
}

@media (max-width: 880px) {
  .hero-scene-shell {
    /* Buehne auch auf Mobile, aber moderater gedeckelt */
    min-height: min(78vh, 600px);
    min-height: min(78svh, 600px);
    gap: clamp(16px, 4vw, 26px);
  }

  .hero-stage-story {
    max-width: 620px;
    gap: clamp(12px, 3.4vw, 20px);
  }
}

@media (max-width: 760px) {
  #start.hero {
    padding: 18px 18px 28px;
  }

  /* Hero-Titel-Logo */
  .hero-logo-stack--hero .hero-logo-stack__mission {
    font-size: clamp(14px, 4.6vw, 22px);
    letter-spacing: 0.42em;
  }

  .hero-logo-stack--hero .hero-logo-stack__sauber {
    font-size: clamp(40px, 13vw, 70px);
    text-shadow: 4px 4px 0 #8c3700;
  }

  /* Divider-Logo */
  .hero-logo-stack__mission {
    font-size: 14px;
    letter-spacing: 0.34em;
  }

  .hero-logo-stack__sauber {
    font-size: clamp(34px, 8.8vw, 54px);
    text-shadow: 3px 3px 0 #8c3700;
  }

  .hero-logo-stack--divider .hero-logo-stack__mission {
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .hero-logo-stack--divider .hero-logo-stack__sauber {
    font-size: clamp(24px, 6vw, 34px);
    text-shadow: 2px 2px 0 #8c3700;
  }

  .hero-stage-story__pretitle {
    font-size: 8px;
    letter-spacing: 0.26em;
  }

  .hero-stage-story__title {
    font-size: clamp(16px, 4.6vw, 24px);
    line-height: 1.6;
  }

  .hero-stage-copy {
    max-width: none;
    font-size: clamp(8px, 2.2vw, 10px);
    line-height: 2.05;
  }

  .hero-scene-actions {
    gap: 12px;
  }

  .hero-stage-btn {
    min-width: 150px;
    min-height: 44px;
    gap: 6px;
    font-size: 7px;
    padding: 10px 12px;
  }

  .hero-stage-btn--secondary {
    color: #dfe8f4;
    box-shadow:
      0 0 0 3px rgba(44, 84, 129, 0.88) inset,
      4px 4px 0 rgba(10, 26, 51, 0.76);
  }

  #start.hero::after {
    height: clamp(96px, 15vh, 140px);
  }

  .hero-scroll-cue {
    font-size: 7px;
    letter-spacing: 0.28em;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  /* Hero-Titel-Logo */
  .hero-logo-stack--hero .hero-logo-stack__mission {
    font-size: clamp(13px, 5vw, 18px);
    letter-spacing: 0.36em;
  }

  .hero-logo-stack--hero .hero-logo-stack__sauber {
    font-size: clamp(34px, 13.5vw, 56px);
    text-shadow: 3px 3px 0 #8c3700;
  }

  .hero-stage-story__title {
    font-size: clamp(15px, 5vw, 22px);
  }

  .hero-stage-copy {
    font-size: clamp(7px, 2.4vw, 9px);
    line-height: 2;
    letter-spacing: 0.02em;
  }

  .hero-scene-actions {
    gap: 8px;
    width: 100%;
  }

  .hero-stage-btn {
    min-width: 150px;
    min-height: 42px;
    font-size: 7px;
    padding: 8px 12px;
  }

  /* Divider-Logo */
  .hero-logo-stack__mission {
    font-size: 13px;
  }

  .hero-logo-stack__sauber {
    font-size: clamp(30px, 8.6vw, 46px);
  }

  .hero-logo-stack--divider {
    padding: 0 4px;
  }

  .hero-logo-stack--divider .hero-logo-stack__mission {
    font-size: 8px;
  }

  .hero-logo-stack--divider .hero-logo-stack__sauber {
    font-size: clamp(20px, 5.8vw, 28px);
  }
}
