/**
 * HERO SECTION COMPONENT
 * Auto-Ankauf Website
 *
 * Full viewport hero mit Video Background
 */

/* ==========================================
   HERO BASE
   ========================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 70px;
}


/* ==========================================
   VIDEO BACKGROUND
   ========================================== */

.hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* ==========================================
   OVERLAY
   ========================================== */

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}


/* ==========================================
   CONTENT BOX
   ========================================== */

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  text-align: center;
  padding: 35px;
  margin: 0 var(--container-padding);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  animation: heroFadeIn 1s var(--ease-smooth) both;
}

.hero__title {
  color: var(--color-white);
  margin-bottom: var(--spacing-sm);
}

.hero__text {
  color: var(--color-light-grey);
  margin-bottom: var(--spacing-lg);
}


/* ==========================================
   USP BADGES
   ========================================== */

.hero__badges {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.hero__badge {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 8px 16px;
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--color-white);
  white-space: nowrap;
}


/* ==========================================
   CTA BUTTON LAYOUT
   ========================================== */

.hero__cta {
  display: flex;
  width: 100%;
}

.hero__cta .btn-large {
  flex-direction: row;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
}

.hero__cta .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.hero__cta .btn-arrow {
  margin-left: var(--spacing-sm);
  transition: transform var(--duration-normal) var(--ease-smooth);
}

.hero__cta .btn-large:hover .btn-arrow {
  transform: translateX(4px);
}


/* ==========================================
   SCROLL INDICATOR
   ========================================== */

.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -8px;
  cursor: pointer;
  z-index: 10;
}

.hero__scroll-indicator:hover .hero__scroll-arrow {
  color: var(--color-light-gold);
}

.hero__scroll-arrow {
  width: 32px;
  height: 32px;
  color: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
  margin-top: -8px;
}

.hero__scroll-arrow:first-child {
  margin-top: 0;
}

.hero__scroll-arrow--1 {
  animation: scrollArrowFade 2.5s ease-in-out infinite;
}

.hero__scroll-arrow--2 {
  animation: scrollArrowFade 2.5s ease-in-out 0.4s infinite;
}

@keyframes scrollArrowFade {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  60% {
    opacity: 1;
    transform: translateY(6px);
  }
  100% {
    opacity: 0;
    transform: translateY(6px);
  }
}


/* ==========================================
   FADE-IN ANIMATION
   ========================================== */

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 991px) {
  .hero__content {
    max-width: 600px;
    padding: 32px;
    margin: 0 var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 60px;
  }

  .hero__content {
    max-width: 100%;
    padding: 28px 24px;
    margin: 0 var(--spacing-sm);
  }

  .hero__badges {
    flex-direction: row;
    align-items: center;
  }

  .hero__cta .btn-large {
    padding: 16px 20px;
  }

  .hero__scroll-arrow {
    width: 28px;
    height: 28px;
  }

  .hero__scroll-indicator {
    bottom: 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    height: auto;
    padding-top: 60px;
    padding-bottom: var(--spacing-xl);
  }

  .hero__content {
    padding: 24px 16px;
    margin: 0 var(--spacing-xs);
  }

  .hero__badge {
    font-size: 12px;
    padding: 6px 12px;
  }

  .hero__cta .btn-large {
    padding: 14px 16px;
  }

  .hero__scroll-indicator {
    display: none;
  }
}
