/* =====================================================================
   Homepage-specifieke stijlen (index.html)
   ===================================================================== */

/* ------------------------------- HERO ------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.8s ease;
  background-size: cover;
  background-position: center;
}
.hero__bg.is-active { opacity: 1; }

/* Foto's komen inline uit het CMS (background-image op het element). */
.hero__bg--1 {
  animation: kenburns 22s ease-in-out infinite alternate;
}
.hero__bg--2 {
  background-position: center bottom;
  animation: kenburns2 26s ease-in-out infinite alternate;
}
.hero__bg--3 {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
    radial-gradient(130% 120% at 80% 80%, rgba(70,179,206,.3), #222222 62%);
}
.hero__bg--4 {
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 1px, transparent 1px 26px),
    radial-gradient(130% 120% at 28% 78%, rgba(255,108,0,.3), #222222 62%);
}

/* De donkere waas als losse laag boven de foto's, zodat een mask er een
   cirkelvormig gat in kan maken op de plek van de muis (zie home.js). */
@property --spot-r {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  --spot-x: 50%;
  --spot-y: 50%;
  --spot-r: 0px;
  background:
    linear-gradient(180deg, rgba(15,52,62,.45) 0%, rgba(15,52,62,.62) 45%, rgba(15,52,62,.92) 100%),
    linear-gradient(90deg, rgba(15,52,62,.78) 0%, rgba(15,52,62,.25) 55%, rgba(15,52,62,.1) 100%);
  -webkit-mask-image: radial-gradient(circle var(--spot-r) at var(--spot-x) var(--spot-y),
    transparent 0 55%, rgba(0,0,0,.6) 80%, #000 100%);
  mask-image: radial-gradient(circle var(--spot-r) at var(--spot-x) var(--spot-y),
    transparent 0 55%, rgba(0,0,0,.6) 80%, #000 100%);
  transition: --spot-r .45s ease;
}

.hero__note {
  position: absolute;
  left: var(--gutter); bottom: 30px;
  font-size: 12px;
  letter-spacing: .04em;
  color: rgba(247,246,243,.5);
  max-width: 300px;
  line-height: 1.6;
  z-index: 3;
}
.hero__inner {
  position: relative;
  z-index: 4;
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 26px;
  animation: revealFade .8s ease both;
}
.hero__eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: dotFade 2s ease infinite;
}
.hero .h1 { animation: revealUp .9s var(--ease) both; }
.hero__typedwrap {
  min-height: 1.15em;
  margin-top: 8px;
  font-family: var(--f-display);
  font-size: clamp(25px, 4.6vw, 58px);
  line-height: 1.12;
  letter-spacing: .005em;
  color: var(--text);
}
.hero__cursor {
  display: inline-block;
  width: 4px; height: .92em;
  background: var(--orange);
  margin-left: 5px;
  vertical-align: -.06em;
  border-radius: 2px;
  animation: blink 1.05s steps(1) infinite;
}
.hero__lead {
  max-width: 540px;
  margin: 30px 0 0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--muted);
  animation: revealUp 1s var(--ease) .1s both;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: revealUp 1s var(--ease) .2s both;
}
.hero__scroll {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero__scroll span.mouse {
  width: 24px; height: 38px;
  border: 1px solid rgba(247,246,243,.3);
  border-radius: 999px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__scroll span.mouse i {
  width: 4px; height: 7px;
  border-radius: 2px;
  background: var(--orange);
  animation: scrolldot 1.8s ease infinite;
}

/* ---------------------- OVER (intro grid) --------------------------- */
.over-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) { .over-grid { grid-template-columns: 1fr; gap: 32px; } }

/* --------------------------- SERVICES CTA --------------------------- */
.services-cta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg);
  border-radius: 22px;
  padding: 34px 40px;
  color: var(--text);
}
.services-cta__title {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: -.01em;
}
.services-cta__sub { margin-top: 6px; font-size: 15.5px; color: var(--muted-4); }

/* ---------------------------- CASE SLIDER --------------------------- */
.case-slider { overflow: visible; }
.case-track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.66,0,.2,1);
}
.case-track .case-card { flex: 0 0 440px; max-width: 440px; }
.slider-nav { display: flex; gap: 12px; align-items: center; }
.slider-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.slider-btn--ghost {
  border: 1px solid var(--line-3);
  background: transparent;
  color: var(--text);
}
.slider-btn--ghost:hover { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.5); }
.slider-btn--solid { border: none; background: var(--orange); color: #1A1A1A; }
.slider-btn--solid:hover { transform: translateY(-3px); }

/* ------------------------------- TEAM ------------------------------- */
.team-band {
  position: relative;
  width: 100%;
  height: clamp(440px, 62vh, 660px);
  background:
    linear-gradient(180deg, rgba(20,20,20,0) 40%, rgba(20,20,20,.65) 100%),
    linear-gradient(115deg, #1d2a30 0%, #143038 45%, #16323b 100%);
}
.team-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 1px, transparent 1px 22px);
}
.team-dot { position: absolute; z-index: 5; }
.team-dot--1 { left: 36%; top: 56%; }
.team-dot--2 { left: 64%; top: 56%; }
.team-dot__btn {
  position: absolute; left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 22px;
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s ease;
}
.team-dot__btn:hover { transform: translate(-50%, -50%) scale(1.12); }
.team-dot--1 .team-dot__btn { background: var(--orange); animation: dotPulse 2.4s ease-out infinite; }
.team-dot--2 .team-dot__btn { background: var(--teal); animation: dotPulse 2.4s ease-out infinite .6s; }
.team-card {
  position: absolute;
  left: 50%; bottom: 38px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s var(--ease);
  width: 320px;
  background: rgba(28,28,28,.92);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 28px 64px rgba(0,0,0,.55);
}
.team-dot.is-open .team-card {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.team-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.team-card__avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head);
  font-weight: 700; font-size: 19px;
  color: #fff;
}
.team-card__name { font-family: var(--f-head); font-weight: 600; font-size: 18px; color: var(--text); }
.team-card__role { font-size: 13.5px; color: var(--teal-light); }
.team-card p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 7px; }
.team-card__tags span {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  color: #C7C8CF;
}

/* Contact-CTA gebruikt nu de gedeelde component .cta-band (+ .cta-band--lg) */

/* FAQ two-column layout op de homepage */
.faq-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 980px) { .faq-split { grid-template-columns: 1fr; gap: 32px; } }

@media (max-width: 620px) {
  .case-track .case-card { flex: 0 0 84vw; max-width: 84vw; }
  .services-cta { padding: 28px 24px; }
  .team-dot--1 { left: 26%; }
  .team-dot--2 { left: 74%; }
  .team-card { width: min(280px, 78vw); }
}
