/* ============================================
   HERO — Fullwidth Hero Section
   ============================================ */

.hero {
  position: relative;
  min-height: clamp(480px, 36.5vw, 900px);
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 96px; /* Nav offset */
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.78) 0%,
      rgba(0, 0, 0, 0.55) 40%,
      rgba(0, 0, 0, 0.15) 70%,
      rgba(0, 0, 0, 0.00) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.20) 0%,
      rgba(0, 0, 0, 0.00) 50%,
      rgba(0, 0, 0, 0.30) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  color: var(--color-neutral-0);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-6);
  color: var(--color-neutral-0);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  margin-bottom: var(--space-8);
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Subpage Hero (kleiner) */
.hero--sub {
  min-height: clamp(320px, 25vw, 450px);
}

.hero--sub .hero__title {
  font-size: var(--text-3xl);
}

@media (max-width: 768px) {
  .hero {
    min-height: 400px;
    margin-top: 64px;
  }

  .hero__content {
    padding-top: var(--space-8);
    padding-bottom: var(--space-8);
  }

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