/* ==========================================================================
   VP1: Hero Section
   ========================================================================== */

.hero {
  min-height: 100vh;
  width: 100%;
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* WebGL Shader Canvas */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Background Waves Overlay */
.hero__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 150%;
  background-image: url('../img/bg_waves_digital_white_alpha.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

/* Content Container */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-2xl);
  text-align: center;
}

/* Weltkugel Logo */
.hero__logo {
  width: clamp(60px, 5vw, 80px);
  height: auto;
  margin-bottom: var(--space-md);
}

/* Name (Grafik) */
.hero__name {
  width: clamp(280px, 45vw, 700px);
  height: auto;
  margin-bottom: var(--space-sm);
}

/* Slogan - Ticker */
.hero__slogan {
  font-family: var(--font-body);
  font-size: var(--fs-md);
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  white-space: nowrap;
  overflow: hidden;
}

/* Icons Container */
.hero__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.hero__icons img {
  height: clamp(30px, 3vw, 45px);
  width: auto;
}

/* Rating Box ist breiter */
.hero__icons img:last-child {
  height: clamp(25px, 2.5vw, 35px);
}

/* Barcode */
.hero__barcode {
  width: clamp(180px, 20vw, 300px);
  height: auto;
  margin-top: var(--space-xl);
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

/* Tablet */
@media (max-width: 1024px) {
  .hero__content {
    gap: var(--space-md);
    padding: var(--space-xl);
  }

  .hero__name {
    width: clamp(250px, 55vw, 500px);
  }

  .hero__icons {
    gap: var(--space-md);
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero__content {
    gap: var(--space-sm);
    padding: var(--space-lg);
  }

  .hero__logo {
    width: 50px;
  }

  .hero__name {
    width: clamp(220px, 70vw, 350px);
  }

  .hero__slogan {
    font-size: var(--fs-lg);
    letter-spacing: 0.1em;
  }

  .hero__icons {
    gap: var(--space-sm);
    flex-wrap: wrap;
  }

  .hero__icons img {
    height: 28px;
  }

  .hero__icons img:last-child {
    height: 22px;
  }

  .hero__barcode {
    width: 160px;
    margin-top: var(--space-lg);
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero__content {
    padding: var(--space-md);
  }

  .hero__name {
    width: 85vw;
    max-width: 300px;
  }

  .hero__slogan {
    font-size: var(--fs-md);
    letter-spacing: 0.05em;
  }

  .hero__icons img {
    height: 24px;
  }

  .hero__icons img:last-child {
    height: 18px;
  }
}

/* ==========================================================================
   Animation States (for GSAP)
   ========================================================================== */

/* Initial hidden states - GSAP will animate these */
.hero__logo,
.hero__name,
.hero__slogan,
.hero__icons img,
.hero__barcode {
  opacity: 0;
}

/* When JS is disabled, show everything */
@media (prefers-reduced-motion: reduce) {
  .hero__logo,
  .hero__name,
  .hero__slogan,
  .hero__icons img,
  .hero__barcode {
    opacity: 1;
  }
}
