/* Landingspagina v2 (gedeeld door alle sectoren) — desktop-aanpassingen (hero in de stijl van personeel.com/garantie, uitgelichte review).
   Alles staat binnen @media (min-width: 768px), met afgesproken uitzonderingen die ook op mobiel gelden (zie onderaan):
   "Klinkt dit bekend?" in vakken, "Hoe het werkt" (4 stappen + foto) en de rij "Werkgevers uit andere sectoren". */
.dhero, .dfeat, .dtop-cta { display: none; }

@media (min-width: 768px) {
  /* Mobiele hero verbergen, desktop-hero tonen. */
  .hero-wrap > .hero { display: none; }

  .dhero {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center;
    max-width: 1240px; margin: 0 auto; min-height: calc(100svh - 68px);
    justify-content: center; padding: 48px 40px 88px;
  }

  .dh-eb {
    display: inline-flex; align-items: center; gap: 9px;
    font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  }
  .dh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

  .dh-title {
    margin: 22px 0 0; font-family: var(--font-heading); font-weight: 800; color: var(--primary);
    font-size: clamp(44px, 5.2vw, 80px); line-height: 1.07; letter-spacing: -0.052em;
  }
  .dh-ln { display: block; white-space: nowrap; }
  .dh-cursor {
    display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em; vertical-align: -0.06em;
    background: var(--accent); animation: pcBlink 1s steps(1) infinite;
  }
  #dh-text { transition: opacity 450ms ease; }
  .dh-mark {
    display: inline-block; margin: 0.06em 0.02em 0 0.08em; padding: 0.02em 0.24em 0.08em;
    background: var(--accent); color: #fff; border-radius: 0.2em; transform: rotate(-2deg);
    box-shadow: 0 0.22em 0.5em -0.2em rgba(255,94,46,0.7);
  }

  .dh-sub { margin: 26px 0 0; max-width: 520px; font-size: 19px; line-height: 1.55; color: var(--fg-2); text-wrap: balance; }

  .dh-act { margin-top: 34px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .dh-cta { width: auto; min-height: 60px; padding: 0 34px; font-size: 18px; }
  .dh-note { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--slate-600); }
  .dh-note [data-icon], .dh-note svg { color: var(--success); }

  .dh-proof {
    margin-top: 56px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
    font-size: 14px; color: var(--slate-600);
  }
  .dh-proof b { color: var(--primary); font-weight: 700; }
  .dh-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--slate-300, #cbd5e1); }
  .dh-stars { display: inline-flex; color: #f5a623; }
  .dh-item { display: inline-flex; align-items: center; gap: 6px; }


  /* ---------- Uitgelichte review (vervangt op desktop de scores + carrousel) ---------- */
  .reviews-grid { display: none; }
  .dfeat {
    display: grid; grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr); align-items: center; gap: clamp(32px, 5vw, 72px);
    padding: clamp(24px, 3.4vw, 48px); background: var(--slate-50); border-radius: 32px;
    box-shadow: 0 0 0 6px rgba(255,94,46,0.08), 0 40px 80px -48px rgba(25,42,75,0.35);
  }
  .dfeat-media .hero-media { max-width: none; margin: 0; }
  .dfeat-media .video-badge { display: none; }
  .dfeat-media .video-frame { padding: 0; background: none; box-shadow: 0 30px 60px -28px rgba(25,42,75,0.45); }
  .dfeat-media .video-inner { border-radius: 28px; }

  .dfeat-body { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
  .dfeat-tp { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; color: var(--slate-900); }
  .dfeat-tp [data-icon], .dfeat-tp svg { color: #00B67A; }
  .dfeat-quote {
    margin: 0; font-family: var(--font-heading); font-weight: 800; color: var(--primary);
    font-size: clamp(26px, 2.9vw, 44px); line-height: 1.16; letter-spacing: -0.03em; text-wrap: balance;
  }
  .dfeat-person { margin-top: 28px; display: flex; align-items: center; gap: 16px; }
  .dfeat-avatar {
    position: relative; width: 60px; height: 60px; flex: none; border-radius: 50%; overflow: hidden;
    background: var(--brand-blue-10); color: var(--primary); font-family: var(--font-heading); font-weight: 800; font-size: 17px;
    display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--slate-200);
  }
  .dfeat-avatar-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
  .dfeat-name { display: block; font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--primary); }
  .dfeat-co { display: block; margin-top: 2px; font-size: 16px; color: var(--fg-2); }

  .dfeat-ratings { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 14px; width: 100%; }
  .dfeat-rating {
    display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; background: #fff; border-radius: 20px;
    box-shadow: 0 0 0 1px var(--slate-200), 0 12px 28px -20px rgba(25,42,75,0.3);
  }
  .dfeat-rating-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .dfeat-rating-top .g-word { font-weight: 700; font-size: 15px; }
  .dfeat-rating-stars { display: flex; gap: 1px; }
  .dfeat-score { font-family: var(--font-heading); font-weight: 800; font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; color: var(--primary); }
  .dfeat-score span { font-size: 18px; color: var(--slate-400, #94a3b8); }
  .dfeat-label { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-600); }



  /* ---------- Sticky header met knop (desktop) ---------- */
  .hero-wrap { padding-top: 68px; }
  .topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 50; pointer-events: none; }
  .topbar-pill { pointer-events: auto; }
  .topbar-pill { justify-content: space-between; background: rgba(255,255,255,0.92); padding: 0 8px 0 20px; }
  .dtop-cta { display: flex; width: auto; min-height: 42px; padding: 0 20px; font-size: 15px; box-shadow: 0 8px 20px -10px rgba(255,94,46,0.6); }

  /* ---------- Optioneel: achtergrondvideo in de desktop-hero (.dhero--video, bijv. agrarisch) ---------- */
  .dhero--video { isolation: isolate; }
  .hero-wrap:has(.dhero--video) { overflow-x: clip; }
  .dhero-bg {
    position: absolute; z-index: -1; top: -68px; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
    overflow: hidden; background: var(--primary);
  }
  .dhero-bg video { width: 100%; height: 100%; object-fit: cover; display: block; }
  .dhero-bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,27,52,0.78) 0%, rgba(15,27,52,0.62) 45%, rgba(15,27,52,0.80) 100%);
  }
  .dhero--video .dh-eb { color: #ffb08f; }
  .dhero--video .dh-dot { background: #ffb08f; }
  .dhero--video .dh-title { color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,0.25); }
  .dhero--video .dh-sub { color: rgba(255,255,255,0.88); }
  .dhero--video .dh-note { color: rgba(255,255,255,0.85); }
  .dhero--video .dh-note [data-icon], .dhero--video .dh-note svg { color: #7ee2a0; }
  .dhero--video .dh-proof { color: rgba(255,255,255,0.8); }
  .dhero--video .dh-proof b { color: #fff; }
  .dhero--video .dh-proof i { background: rgba(255,255,255,0.4); }
  .dhero--video .btn-cta { box-shadow: 0 14px 34px -10px rgba(255,94,46,0.75); }
}

@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  .dh-cursor { animation: none; }
}

/* ---------- Hoe het werkt: kop + 4 stappen in vakken + foto (mobiel én desktop) ---------- */
.how .h2--how, .how .steps { display: none; }
.dhow-head { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; margin-bottom: clamp(24px, 3.4vw, 48px); }
.dhow-title {
  margin: 0; font-family: var(--font-heading); font-weight: 800; color: var(--primary);
  font-size: clamp(28px, 3.6vw, 52px); line-height: 1.08; letter-spacing: -0.04em; text-wrap: balance;
}
.dhow-title span { color: var(--accent); }
.dsteps { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.dsteps-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.dstep {
  position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 22px 20px;
  background: var(--slate-100, #f1f5f9); border: 1px solid transparent; border-radius: 22px;
}
.dstep--first { background: #fff7f3; border-color: var(--accent); box-shadow: 0 18px 36px -24px rgba(255,94,46,0.55); }
.dstep-badge {
  position: absolute; top: -12px; right: 16px; padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff;
  font-family: var(--font-heading); font-weight: 700; font-size: 12px; white-space: nowrap;
}
.dstep-num {
  width: 44px; height: 44px; margin-bottom: 8px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 17px; color: var(--primary); background: #fff; box-shadow: 0 0 0 1px var(--slate-200);
}
.dstep--first .dstep-num { background: var(--accent); color: #fff; box-shadow: none; }
.dstep--last .dstep-num { background: var(--primary); color: #fff; box-shadow: none; }
.dstep-title { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 18px; line-height: 1.25; letter-spacing: -0.015em; color: var(--primary); }
.dstep-text { margin: 0; font-size: 15px; line-height: 1.5; color: var(--slate-600); }
.dstep-tag { margin-top: auto; padding-top: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }

@media (max-width: 767px) {
  /* Foto ook op mobiel tonen, boven de vakken. */
  .how .how-grid { gap: 22px; }
  .how .how-photo { display: block; order: -1; aspect-ratio: 16 / 10; max-height: none; }
  .dsteps .btn-cta { margin: 0 auto; }
}

@media (min-width: 768px) {
  .how .how-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: stretch; }
  /* Pagina zonder foto bij Hoe het werkt (bijv. bouw): stappen over de volle breedte. */
  .how .how-grid:not(:has(.how-photo)) { grid-template-columns: minmax(0, 1fr); }
  .how .how-grid:not(:has(.how-photo)) .dsteps { align-items: center; }
  .how .how-photo { aspect-ratio: auto; height: 100%; max-height: none; min-height: 360px; }
  .dsteps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .dstep { padding: 20px 20px 18px; border-radius: 20px; }
  .dstep-num { width: 40px; height: 40px; font-size: 16px; }
  .dstep-title { font-size: 17px; }
  .dstep-text { font-size: 14.5px; }
  .dsteps .btn-cta { align-self: flex-start; }
}

/* ---------- Klinkt dit bekend? in vakken (mobiel én desktop; 4 vakken passen in één scherm) ---------- */
.pains .pains-inner { display: none; }
.dpains { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.dpains-eb {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--slate-200);
  font-family: var(--font-heading); font-weight: 700; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary);
}
.dpains-title { margin: 12px 0 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.02; letter-spacing: -0.045em; color: var(--primary); }
.dpains-grid { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.dpain {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 14px 16px;
  background: #fff; border-radius: 18px; box-shadow: 0 0 0 1px var(--slate-200);
}
.dpain-icon { grid-row: 1 / span 3; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,94,46,0.1); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.dpain-label { display: none; font-family: var(--font-heading); font-weight: 800; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.dpain-title { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; color: var(--primary); }
.dpain-text { margin: 3px 0 0; font-size: 14.5px; line-height: 1.45; color: var(--fg-2); }
.dpain--answer { background: var(--accent); box-shadow: 0 20px 40px -24px rgba(255,94,46,0.7); }
.dpain--answer .dpain-icon { background: rgba(255,255,255,0.2); color: #fff; }
.dpain--answer .dpain-label, .dpain--answer .dpain-title, .dpain--answer .dpain-text, .dpain--answer strong { color: #fff; }

@media (min-width: 768px) {
  .dpains-title { margin-top: 14px; }
  .dpains-grid { margin-top: clamp(24px, 3vw, 36px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .dpain { display: flex; flex-direction: column; padding: 22px 24px; border-radius: 22px; box-shadow: 0 0 0 1px var(--slate-200), 0 20px 40px -32px rgba(25,42,75,0.35); }
  .dpain-icon { width: 42px; height: 42px; }
  .dpain-label { display: block; margin-top: 18px; }
  .dpain-title { margin-top: 6px; font-size: clamp(19px, 1.6vw, 23px); }
  .dpain-text { margin-top: 8px; font-size: 15px; line-height: 1.55; }
}
@media (min-width: 1024px) {
  .dpains-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .how .how-grid:not(:has(.how-photo)) .dsteps-list { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; }
}

/* ---------- Werkgevers uit andere sectoren: rij met videoverhalen (mobiel én desktop) ---------- */
.dstories { margin-top: 36px; }
.dstories-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.dstories-title { margin: 0; font-family: var(--font-heading); font-weight: 800; font-size: clamp(20px, 2.2vw, 30px); letter-spacing: -0.02em; color: var(--primary); }
.dstories-arrows { display: none; gap: 8px; }
.dstories-rail {
  list-style: none; margin: 0 calc(-1 * clamp(20px, 4vw, 40px)); padding: 4px clamp(20px, 4vw, 40px) 12px;
  display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 clamp(20px, 4vw, 40px); scrollbar-width: none;
}
.dstories-rail::-webkit-scrollbar { display: none; }
.dstories-rail li { scroll-snap-align: start; }
.dstory {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 20px; overflow: hidden; cursor: pointer;
  background: var(--primary); box-shadow: 0 0 0 5px #fff, 0 0 0 6px var(--slate-200), 0 24px 40px -28px rgba(25,42,75,0.5); margin: 6px 0;
}
.dstory:focus-visible { outline: 3px solid var(--primary); outline-offset: 9px; }
.dstory-img { position: absolute; inset: 0; background-size: cover; transition: transform 300ms ease-out; }
.dstory:hover .dstory-img { transform: scale(1.04); }
.dstory::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(15,23,42,0.75)); }
.dstory-dur { position: absolute; z-index: 1; top: 12px; right: 12px; padding: 3px 8px; border-radius: 8px; background: rgba(15,23,42,0.7); color: #fff; font-size: 12px; font-weight: 700; }
.dstory-play {
  position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 8px rgba(255,255,255,0.22);
}
.dstory-cap { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; text-align: left; }
.dstory-name { font-family: var(--font-heading); font-weight: 800; font-size: 16px; color: #fff; }
.dstory-sector { font-family: var(--font-heading); font-weight: 700; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.85); }

@media (max-width: 767px) {
  /* Op mobiel staat de rij onder de scores en de reviewcarrousel. */
  .reviews-inner { display: flex; flex-direction: column; }
  .reviews-inner > .dstories { order: 1; }
}
@media (min-width: 768px) {
  .dstories { margin-top: clamp(40px, 5vw, 64px); }
  .dstories-head { margin-bottom: 18px; }
  .dstories-arrows { display: flex; }
  .dstories-rail { margin: 0; padding: 4px 2px 12px; grid-auto-columns: clamp(200px, 22%, 260px); gap: 16px; scroll-padding: 0; }
  .dstory { border-radius: 22px; box-shadow: 0 0 0 6px #fff, 0 0 0 7px var(--slate-200), 0 24px 40px -28px rgba(25,42,75,0.5); margin: 7px 0; }
  .dstory-play { width: 56px; height: 56px; }
  .dstory-cap { left: 16px; right: 16px; bottom: 14px; }
  .dstory-name { font-size: 17px; }
  .dstory-sector { font-size: 11px; }
}

/* ---------- Cijfers boven de footer (mobiel én desktop) ---------- */
.dstats { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.dstats-list {
  list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px;
  border-top: 1px solid var(--slate-200); border-bottom: 1px solid var(--slate-200);
}
.dstats-list li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.dstats-num { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 800; font-size: 36px; line-height: 1.05; letter-spacing: -0.04em; color: var(--primary); }
.dstats-star { display: inline-flex; color: var(--brand-blue-60, #3b5a9a); }
.dstats-star svg { width: 0.62em; height: 0.62em; }
.dstats-label { font-family: var(--font-heading); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); }
@media (min-width: 768px) {
  .dstats-list { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 44px 0; }
  .dstats-num { font-size: clamp(40px, 4.2vw, 60px); }
}

/* ---------- Label boven de mobiele kop ("Horecapersoneel gezocht?"); desktop toont .dh-eb in de desktop-hero ---------- */
.hero-eb {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px;
  font-family: var(--font-heading); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.hero-eb .dh-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
