/* ============================================================
   HERO - Shared wrapper
   ============================================================ */
#hero { position: relative; overflow-x: clip; }

.hero-section { display: none; }
.hero-section.active { display: block; }

/* --- Variant 0: Aurora --- */
.hero-aurora {
  position: relative;
  min-height: clamp(640px, 100vh, 1000px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 150px 24px 96px;
}

.hero-aurora-bg {
  position: absolute; inset: 0;
  background: linear-gradient(140deg, #0B3FA8 0%, #0A348C 45%, #072C77 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(34px);
  pointer-events: none;
}
.hero-orb-1 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, #1C91CE, transparent 70%);
  top: -140px; left: -90px;
  opacity: 0.7;
}
.hero-orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, #4FB3E8, transparent 70%);
  bottom: -150px; right: -80px;
  opacity: 0.55;
  filter: blur(40px);
}
.hero-orb-3 {
  width: 240px; height: 240px;
  background: radial-gradient(circle, #7FD0F2, transparent 70%);
  top: 30%; right: 18%;
  opacity: 0.4;
  filter: blur(30px);
}

.hero-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  top: 50%; left: 50%;
}
.hero-ring-1 {
  width: 680px; height: 680px;
  margin: -340px 0 0 -340px;
  border: 1.5px solid rgba(255,255,255,0.12);
}
.hero-ring-2 {
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border: 1px solid rgba(255,255,255,0.10);
}

.hero-dot-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask: radial-gradient(ellipse 70% 70% at 50% 45%, #000, transparent 75%);
  mask: radial-gradient(ellipse 70% 70% at 50% 45%, #000, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.hero-aurora-content {
  position: relative;
  max-width: 920px;
  text-align: center;
}

.hero-aurora-content h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 24px;
  text-wrap: balance;
}

.hero-aurora-content p {
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.6;
  color: #C7DCF2;
  max-width: 660px;
  margin: 0 auto 38px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.hero-trust {
  margin: 34px 0 0;
  color: #9FC2E6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* --- Variant 1: Split --- */
.hero-split {
  position: relative;
  background: #F6F9FD;
  padding: 148px 24px 80px;
  overflow: hidden;
}

.hero-split-bg {
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, #E1F0FB, transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-split-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px;
}

.hero-split-text {
  flex: 1 1 420px;
  min-width: 300px;
}

.hero-split-text h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #0B2545;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero-split-text h1 span { color: #0B3FA8; }

.hero-split-text p {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: #5B6B82;
  max-width: 520px;
  margin: 0 0 34px;
}

.hero-sphere-wrap {
  flex: 1 1 380px;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.hero-sphere-card {
  position: relative;
  width: min(440px, 100%);
  aspect-ratio: 1;
  border-radius: 36px;
  background: linear-gradient(140deg, #0B3FA8, #072C77);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(11,63,168,0.35);
}

.hero-sphere-blob {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #7FD0F2, #1C91CE 55%, #0B3FA8 100%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 80px rgba(127,208,242,0.5);
  animation: wd-bob 6s ease-in-out infinite;
}

.hero-sphere-glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, #4FB3E8, transparent 70%);
  filter: blur(24px);
  opacity: 0.7;
  animation: wd-float3 12s ease-in-out infinite;
}

.hero-sphere-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
}

.hero-sphere-chips {
  position: absolute;
  bottom: 26px; left: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-chip {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.hero-chip:nth-child(1) { animation: wd-bob 5s ease-in-out infinite; }
.hero-chip:nth-child(2) { margin-left: 36px; animation: wd-bob2 6s ease-in-out infinite; }
.hero-chip:nth-child(3) { margin-left: 14px; animation: wd-bob 7s ease-in-out infinite; }

/* --- Variant 2: Mesh --- */
.hero-mesh {
  position: relative;
  min-height: clamp(620px, 96vh, 960px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 150px 24px 90px;
  background:
    radial-gradient(at 18% 22%, #1C91CE, transparent 50%),
    radial-gradient(at 82% 12%, #4FB3E8, transparent 46%),
    radial-gradient(at 72% 82%, #0B3FA8, transparent 52%),
    radial-gradient(at 8% 88%, #072C77, transparent 48%),
    #0A3A98;
  background-size: 200% 200%;
  animation: wd-mesh 20s ease-in-out infinite;
}

.hero-mesh-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 30px 30px;
  opacity: 0.45;
  pointer-events: none;
}

.hero-mesh-inner {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
}

.hero-mesh-text {
  flex: 1 1 460px;
  min-width: 300px;
}

.hero-mesh-text h1 {
  font-family: 'Montserrat Alternates', sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero-mesh-text p {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.6;
  color: #DCEAFB;
  max-width: 540px;
  margin: 0 0 36px;
}

.hero-mesh-chips {
  flex: 1 1 300px;
  min-width: 260px;
  position: relative;
  height: 340px;
}

.hero-mesh-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.95);
  color: #0B3FA8;
  font-weight: 600;
  font-size: 16px;
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}

.hero-mesh-chip.dark {
  background: rgba(11,37,69,0.85);
  color: #fff;
  font-size: 15px;
  padding: 14px 20px;
  backdrop-filter: blur(8px);
}

.hero-mesh-chip:nth-child(1) { top: 10px; left: 30px; animation: wd-bob 6s ease-in-out infinite; }
.hero-mesh-chip:nth-child(2) { top: 120px; right: 10px; animation: wd-bob2 7s ease-in-out infinite; }
.hero-mesh-chip:nth-child(3) { bottom: 30px; left: 50px; animation: wd-bob 5.5s ease-in-out infinite; }
.hero-mesh-chip:nth-child(4) { bottom: 120px; right: 40px; animation: wd-bob2 6.5s ease-in-out infinite; }

.chip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.chip-dot-cyan { background: #1C91CE; }
.chip-dot-blue { background: #4FB3E8; }
.chip-dot-dark { background: #0B3FA8; }
.chip-dot-glow { background: #7FD0F2; box-shadow: 0 0 10px #7FD0F2; width: 9px; height: 9px; }

/* ============================================================
   HERO VARIANT SWITCHER
   ============================================================ */
#hero-switcher {
  position: fixed;
  left: 16px; bottom: 16px;
  z-index: 130;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 999px;
  padding: 8px 8px 8px 16px;
  box-shadow: 0 10px 30px rgba(7,33,90,0.18);
}

#hero-switcher span {
  font-size: 12px;
  font-weight: 600;
  color: #5B6B82;
  letter-spacing: 0.02em;
}

.hero-switcher-btns { display: flex; gap: 5px; }

.hero-switcher-btn {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 13px;
  background: #EAF3FB;
  color: #5B6B82;
  transition: background .2s;
}
.hero-switcher-btn:hover { background: #D8E8F8; }
.hero-switcher-btn.active {
  background: #0B3FA8;
  color: #fff;
  box-shadow: 0 4px 12px rgba(11,63,168,0.35);
}

/* ============================================================
   LOGO MARQUEE
   ============================================================ */
.logo-marquee {
  background: #fff;
  padding: 44px 0;
  border-bottom: 1px solid #EDF3FA;
  overflow: hidden;
}

.marquee-label {
  text-align: center;
  color: #8294AC;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 28px;
}

.marquee-track-wrap {
  position: relative;
  width: 100%;
  -webkit-mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  align-items: center;
  animation: wd-marquee 38s linear infinite;
}

.marquee-logo-img {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.marquee-logo-img img {
  height: 40px;
  width: auto;
  display: block;
  filter: grayscale(100%) opacity(0.45);
  transition: filter .3s;
}

.marquee-logo-img img:hover {
  filter: grayscale(0%) opacity(1);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].visible {
  opacity: 1;
  transform: none;
}

/* Geen entree-animatie in de hero's: hero-content staat direct stil en zichtbaar */
.hero-aurora [data-reveal], .hero-aurora[data-reveal],
.page-hero [data-reveal], .page-hero[data-reveal],
.contact-map-hero [data-reveal],
.lp-hero [data-reveal], .lp-hero[data-reveal],
.case-hero [data-reveal], .case-hero[data-reveal] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
/* ============================================================
   RESPONSIVE - hero
   ============================================================ */
@media (max-width: 1080px) {
  .hero-mesh-chips { display: none; }
  .hero-mesh-text { flex: 1 1 100%; }
}
@media (max-width: 680px) {
  .hero-aurora-content h1 { font-size: 2.2rem; }
  .hero-cta-group { flex-direction: column; align-items: center; }
  .hero-cta-group .btn { width: 100%; max-width: 340px; justify-content: center; }
}
@media (max-width: 480px) {
  #hero-switcher { padding: 7px 7px 7px 12px; }
  .hero-mesh-chips { display: none; }
}
