/* =============================================
   HERO BANNER MODULE
   ============================================= */

.hero {
  position: relative;
  min-height: calc(100vh - var(--nav-height));
  margin-top: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f9fa 0%, #e8f0ed 100%);
}

/* Hintergrundbild */
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__bg--loaded {
  opacity: 1;
}

/* Overlay für Lesbarkeit */
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 70, 54, 0.65) 0%,
    rgba(36, 94, 72, 0.5) 50%,
    rgba(45, 122, 94, 0.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 1.5rem var(--container-padding);
  max-width: 800px;
}

.hero__logo {
  width: 500px;
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.15));
  animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero__headline {
  color: #fff;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.15;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: heroFadeIn 1s ease-out 0.4s both;
}

.hero__subtext {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-lg);
  margin-bottom: 2.5rem;
  max-width: 550px;
  margin-left: auto;
  margin-right: auto;
  animation: heroFadeIn 1s ease-out 0.6s both;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeIn 1s ease-out 0.8s both;
}

.hero__btn-primary {
  background: var(--copper);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 700;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  text-decoration: none;
}

.hero__btn-primary:hover {
  background: var(--copper-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 154, 78, 0.35);
}

.hero__btn-secondary {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: var(--font-size-base);
  transition: all var(--transition-base);
  text-decoration: none;
}

.hero__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

/* Scroll-Indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: heroFloat 2s ease-in-out infinite;
}

.hero__scroll svg {
  stroke: rgba(255, 255, 255, 0.6);
  width: 28px;
  height: 28px;
}

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

@keyframes heroFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === MOBILE === */
@media (max-width: 767px) {
  .hero {
    min-height: 80vh;
  }

  .hero__logo {
    width: 160px;
  }

  .hero__content {
    padding: 2rem 1.5rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__btn-primary,
  .hero__btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .hero__scroll {
    display: none;
  }
}
