/* ==========================================================================
   NEVO Homepage-Hero — interaktives 3D-Logo (übernommen aus Claude-Code-Prototyp)
   ========================================================================== */

body.has-hero { background: var(--c-dark); }

/* Custom-Cursor (gelber Punkt) + cursor:none: jetzt global in style.css (gilt für alle Seiten). */

#hero-canvas-wrap canvas {
  display: block;
  position: fixed;
  top: 0; left: 0;
  z-index: 1;
}

#section-hero {
  position: relative; z-index: 2;
  height: 100vh; height: 100svh;
  padding: 56px var(--pad-x);
  pointer-events: none;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
}
#hero-text {
  width: 100%; max-width: 2200px;
  display: flex; flex-direction: column;
}
#nevo-title {
  font-family: 'Archivo', var(--font);
  font-weight: 800;
  font-size: clamp(120px, 28vw, 540px);
  color: var(--c-white);
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin: 0;
  align-self: flex-start;
}
#subtitle {
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(22px, 7vw, 154px);
  color: var(--c-white);
  margin-top: 8px;
  letter-spacing: 0.01em;
  align-self: flex-end;
}

#section-tagline {
  position: relative; z-index: 2;
  height: 220vh;
  pointer-events: none;
}
#tagline {
  position: fixed; z-index: 2;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font);
  font-weight: 200;
  font-size: clamp(36px, 3.8vw, 62px);
  color: var(--c-yellow);
  text-align: center;
  width: 100%; max-width: 1400px;
  line-height: 1;
  padding: 0 40px;
}

/* Weisser Seiteninhalt liegt über Canvas + Tagline */
#page-content {
  position: relative; z-index: 10;
  background: var(--c-white);
}

/* #cursor-Styles jetzt global in style.css; hier bleibt nur der Hero-Scroll-Pfeil. */

#cursor-arrow {
  position: fixed; pointer-events: none; z-index: 2000;
  transform: translate(-50%, 0);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  opacity: 0; transition: opacity 1.2s ease;
}
#cursor-arrow.visible { opacity: 1; }
#cursor-arrow.hidden { opacity: 0 !important; transition: opacity 0.6s ease; }
#cursor-arrow svg { animation: arrowBounce 1.2s ease-in-out infinite; }
#cursor-arrow svg:nth-child(2) { animation-delay: 0.2s; }
#cursor-arrow svg:nth-child(3) { animation-delay: 0.4s; }
@keyframes arrowBounce {
  0%, 100% { opacity: 0.2; transform: translateY(-3px); }
  50%      { opacity: 1;   transform: translateY(3px); }
}

/* Loader */
#loading {
  position: fixed; inset: 0; background: var(--c-dark);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  z-index: 3000; transition: opacity 0.8s;
}
#loading span {
  color: var(--c-yellow); font-size: 11px; letter-spacing: 0.35em;
  text-transform: uppercase; font-family: var(--font); font-weight: 500;
}
.bar-wrap { width: 120px; height: 1px; background: var(--c-grey-70); margin-top: 20px; }
.bar { height: 1px; background: var(--c-yellow); width: 0%; transition: width 0.3s; }

/* Mobile: Hero kompakter */
@media (max-width: 760px) {
  #section-hero { padding: 32px var(--pad-x); }
  #section-tagline { height: 160vh; }
}

/* ==========================================================================
   Home 2 — Video-Hero (ersetzt das 3D-Logo durch ein Hintergrundvideo)
   ========================================================================== */
#hero-video-wrap { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: var(--c-dark); }
#hero-video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
/* Kein Abdunkeln über dem Video — volle Helligkeit. Die Lesbarkeit der Schrift
   wird stattdessen über einen weichen Text-Schatten an Headline/Subline sichergestellt. */
#hero-video-wrap::after { content: none; }

/* Home 2: Hero-Headline (Aussage statt Logo-Wort) + Subline, linksbündig */
.home2 #nevo-title {
  font-family: var(--font);
  font-weight: 800;
  font-size: clamp(34px, 6.2vw, 84px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  max-width: 30ch;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.62), 0 1px 4px rgba(0, 0, 0, 0.55);
}
.home2 #subtitle {
  font-weight: 400;
  font-size: clamp(15px, 1.5vw, 20px);
  line-height: 1.55;
  align-self: flex-start;
  max-width: 34ch;
  margin-top: 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.62), 0 1px 3px rgba(0, 0, 0, 0.5);
}
/* Dezenter Scroll-Hinweis (ersetzt den Call-to-Action) */
#hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font); font-weight: 600; font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); pointer-events: none;
}
#hero-scroll .hs-arrow { display: inline-block; animation: heroScrollBounce 1.8s ease infinite; }
@keyframes heroScrollBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
