/* ==========================================================================
   Hero sectie: 100% viewport hoogte, tweekolom layout
   Topbar + header + hero samen vullen het volledige scherm.
   ========================================================================== */

/* De hero vult exact het resterende deel van de viewport, zodat topbar +
   header + hero samen precies 100% van het scherm innemen. Waardes worden
   dynamisch berekend in main.js via CSS custom property --header-total. */
.hero-fullscreen {
  position: relative;
  min-height: calc(100vh - var(--header-total, 114px));
  min-height: calc(100dvh - var(--header-total, 114px));
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: var(--sp-6);
}

.hero-fullscreen::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 32, 64, 0.78) 0%, rgba(0, 32, 64, 0.62) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-fullscreen::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(32, 144, 208, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 90%, rgba(242, 138, 46, 0.08) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

/* Hero video achtergrond. Vult de hele hero, achter de overlays. */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-fullscreen .container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: var(--container-wide);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--sp-12);
  align-items: center;
}

/* Hero content kolom */
.hero-content {
  max-width: 640px;
}

.hero-content .kicker {
  color: var(--color-accent);
  font-size: var(--fs-sm);
  margin-bottom: var(--sp-3);
}

.hero-content h1 {
  color: var(--color-white);
  font-size: clamp(1.75rem, 2.6vw + 0.5rem, 2.75rem);
  line-height: 1.12;
  margin-bottom: var(--sp-4);
  letter-spacing: -0.01em;
}

.hero-content .lead {
  font-size: var(--fs-md);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--sp-5);
  max-width: 560px;
}

/* USP badges direct onder subheadline */
.hero-badges {
  display: flex;
  gap: var(--sp-2);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-1) var(--sp-3);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-round);
  color: var(--color-white);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.hero-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}

/* Social proof block */
.hero-proof {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-proof-stars {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  color: var(--color-accent);
  font-size: var(--fs-lg);
  letter-spacing: 0.15em;
}

.hero-proof-text {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  white-space: nowrap;
}

@media (max-width: 560px) {
  .hero-proof-text {
    white-space: normal;
  }
}

.hero-proof-text strong {
  color: var(--color-white);
  font-weight: var(--fw-bold);
}

/* Hero visual kolom */
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 480px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.hero-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 32, 64, 0.85) 100%);
  pointer-events: none;
}

/* Floating quote card over hero visual */
.hero-quote-card {
  position: absolute;
  bottom: var(--sp-6);
  left: var(--sp-6);
  right: var(--sp-6);
  background-color: var(--color-warm-white);
  color: var(--color-text);
  padding: var(--sp-5);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  box-shadow: var(--shadow-xl);
  z-index: 1;
}

.hero-quote-card .hero-quote-stars {
  color: var(--color-accent);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-2);
}

.hero-quote-card p {
  font-size: var(--fs-sm);
  font-style: italic;
  color: var(--color-text);
  margin: 0 0 var(--sp-2);
  line-height: 1.5;
}

.hero-quote-card .hero-quote-author {
  font-size: var(--fs-xs);
  color: var(--color-text-secondary);
  font-weight: var(--fw-semibold);
}

/* Scroll indicator onderaan */
.hero-scroll {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.hero-scroll:hover,
.hero-scroll:focus-visible {
  color: var(--color-white);
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
  animation: heroScrollBounce 2s ease-in-out infinite;
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }

  .hero-visual {
    max-width: 440px;
    margin-inline: auto;
    aspect-ratio: 4 / 3;
  }

  .hero-content {
    max-width: 720px;
  }
}

@media (max-width: 820px) {
  .hero-fullscreen {
    /* Op mobiel geen topbar, dus alleen header compenseren */
    min-height: calc(100vh - var(--header-total, 70px));
    min-height: calc(100dvh - var(--header-total, 70px));
    padding-block: var(--sp-8);
  }

  .hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }

  .hero-content .lead {
    font-size: var(--fs-md);
    margin-bottom: var(--sp-6);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badges {
    gap: var(--sp-2);
  }

  .hero-badge {
    font-size: var(--fs-xs);
    padding: var(--sp-1) var(--sp-3);
  }

  .hero-visual {
    display: none;
  }

  .hero-scroll {
    display: none;
  }
}
