/* ==== DSC Hero (gescope'd) ============================================== */
.dsc-hero {
  position: relative;
  padding: 50px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  align-items: flex-end;
  justify-content: center;
  align-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  /* default: big */
  min-height: 100vh;
}

@supports (min-height: 100dvh) {
  .dsc-hero.size-big {
    min-height: 100dvh;
  }
  .dsc-hero.size-small {
    min-height: 54dvh;
  }
}
@supports not (min-height: 100dvh) {
  .dsc-hero.size-big {
    min-height: 100vh;
  }
  .dsc-hero.size-small {
    min-height: 50vh;
  }
}

/* achtergrondafbeelding */
.dsc-hero .dsc-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(1.05) contrast(1.02) brightness(0.92);
  transform: scale(1);
  z-index: -2;
}

/* overlay */
.dsc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--overlay-to, rgba(255, 255, 255, 0.01)) 60%,
    var(--overlay-from, rgba(100, 100, 100, 0.8)) 100%
  );
  z-index: -1;
}

/* content */
.dsc-hero .dsc-hero__content {
  text-align: center;
  padding: clamp(24px, 4vw, 48px);
  color: var(--text, #fff);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
  max-width: 1100px;
}
.dsc-hero h1 {
  margin: 0px;
  font-weight: 800;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.2px;
  min-height: 75px;
}

.dsc-hero .lead {
  margin: 0 auto clamp(28px, 3vw, 40px);
  margin-top: 15px;
  font-size: clamp(1rem, 1vw + 0.6rem, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
  opacity: 0.95;
}

/* CTA container verbergen als leeg */
.dsc-hero .cta-group:empty {
  display: none;
}

/* size-big variant: achtergrond aanpassing */
.dsc-hero.size-big .dsc-hero__bg {
  object-position: 50% 75%;
  transform: scale(1.2);
}

/* Responsief fine-tune */
@media (max-width: 720px) {
  .dsc-hero .dsc-hero__bg {
    /* object-position: 50% 35%; */
    object-position: 83% 35% !important;
    transform: scale(1.5) !important;
  }
}

/* Scroll indicator — mouse */
.dsc-hero__scroll-indicator {
  position: absolute;
  bottom: 28px;
  right: 32px;
  transition: opacity 0.4s ease;
  cursor: pointer;
  z-index: 1;
}

.dsc-hero__scroll-indicator.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-mouse__wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 2px;
  animation: dsc-hero-scroll-wheel 1.8s ease-in-out infinite;
}

@keyframes dsc-hero-scroll-wheel {
  0%   { opacity: 1; transform: translateY(0); }
  60%  { opacity: 0; transform: translateY(12px); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dsc-hero .dsc-hero__bg {
    transition: none;
    transform: none;
  }
  .scroll-mouse__wheel {
    animation: none;
  }
}
