/* ==========================================================================
   Elevate — More than a team
   Design system: navy #140957 + amber #ffa000
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #140957;
  --ink-deep:   #0c0538;
  --ink-soft:   #201363;
  --ink-card:   #1b1060;
  --amber:      #ffa000;
  --amber-lt:   #ffbc4d;
  --amber-dk:   #d98800;
  /* Amber is te licht voor tekst op witte/crème vlakken.
     amber-text haalt 5,0:1 op wit, amber-graphic 3,4:1 voor iconen en sterren. */
  --amber-text: #a35f00;
  --amber-graphic: #c47a00;

  /* Neutrals */
  --cream:      #f6f3ec;
  --cream-2:    #efeadf;
  --paper:      #ffffff;
  --text:       #171235;
  --muted:      #5d5780;
  --muted-lt:   rgba(255,255,255,.72);
  --line:       rgba(20,9,87,.12);
  --line-lt:    rgba(255,255,255,.14);

  /* Shape */
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --r-sm: 10px;
  --pill: 999px;

  --shadow-sm: 0 2px 8px rgba(20,9,87,.06);
  --shadow-md: 0 12px 32px rgba(20,9,87,.10);
  --shadow-lg: 0 28px 60px rgba(20,9,87,.16);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  color: var(--ink);
  /* geen afbreekstreepjes in koppen; alleen als laatste redmiddel breken */
  overflow-wrap: break-word;
  hyphens: manual;
}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 4px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--amber); color: var(--ink); font-weight: 700;
  padding: 12px 20px; border-radius: var(--pill); transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* Ankerlinks niet onder de sticky header laten vallen */
[id] { scroll-margin-top: 96px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: clamp(44px, 6vw, 72px) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--deep { background: var(--ink-deep); color: #fff; }
.section--paper { background: var(--paper); }
.section--cream { background: var(--cream); }
/* Opeenvolgende cream-secties niet dubbel laten ademen */
.section--cream + .section--cream { padding-top: 0; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--deep h1, .section--deep h2, .section--deep h3, .section--deep h4 { color: #fff; }
.section--dark p, .section--deep p { color: var(--muted-lt); }

.center { text-align: center; }
.head { max-width: 720px; margin-inline: auto; margin-bottom: clamp(36px, 5vw, 60px); }
.head--left { margin-inline: 0; max-width: 640px; }
.head p { color: var(--muted); font-size: 1.02rem; }
.section--dark .head p, .section--deep .head p { color: var(--muted-lt); }

h1 { font-size: clamp(2.35rem, 5.6vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.9vw, 2.8rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.4rem); }
.lead { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--muted); }
.section--dark .lead, .section--deep .lead { color: var(--muted-lt); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .97rem;
  padding: 15px 28px; border-radius: var(--pill);
  border: 2px solid transparent; text-decoration: none; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--amber); color: var(--ink); box-shadow: 0 8px 22px rgba(255,160,0,.32); }
.btn--primary:hover { background: var(--amber-lt); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-soft); }
.btn--ghost { border-color: rgba(255,255,255,.34); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--outline { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 1.03rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; gap: 24px; height: 74px; }
.nav__logo { flex: none; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav__links a {
  display: block; padding: 9px 14px; border-radius: var(--pill);
  color: rgba(255,255,255,.82); text-decoration: none;
  font-size: .93rem; font-weight: 500; transition: .16s; white-space: nowrap;
}
.nav__links a:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav__links a[aria-current="page"] { color: var(--amber); }
.nav__cta { flex: none; }
.nav__cta-mobile { display: none; }
/* .nav__links a wint qua specificiteit van .btn--primary, waardoor de knop in het
   mobiele menu witte tekst op amber kreeg (2,0:1). Hier terugzetten naar navy. */
.nav__links li.nav__cta-mobile a,
.nav__links li.nav__cta-mobile a:hover {
  color: var(--ink); background: var(--amber);
}
.nav__links li.nav__cta-mobile a:hover { background: var(--amber-lt); }
.nav__cta .btn { padding: 11px 22px; font-size: .9rem; }
.nav__toggle {
  display: none; margin-left: auto; background: rgba(255,255,255,.1);
  border: 0; color: #fff; width: 44px; height: 44px; border-radius: 12px; cursor: pointer;
}
.nav__toggle span { display: block; width: 19px; height: 2px; background: #fff; margin: 4px auto; border-radius: 2px; transition: .2s; }
.nav[data-open="true"] .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav[data-open="true"] .nav__toggle span:nth-child(2) { opacity: 0; }
.nav[data-open="true"] .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; left: 0; right: 0; top: 74px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--ink); padding: 12px var(--gutter) 22px;
    border-bottom: 1px solid rgba(255,255,255,.1);
    display: none;
  }
  .nav[data-open="true"] .nav__links { display: flex; }
  .nav__links a { padding: 13px 12px; font-size: 1rem; }
  .nav__cta { display: none; }
  .nav__cta-mobile { display: block; margin-top: 10px; }
  .nav__cta-mobile a { padding: 15px 20px; }
  .nav__cta-mobile a:hover { background: var(--amber-lt); }
}

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 82% -10%, rgba(255,160,0,.16), transparent 62%),
    radial-gradient(600px 480px at 8% 108%, rgba(255,160,0,.08), transparent 60%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(52px, 7vw, 92px) clamp(60px, 8vw, 100px);
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero h1 .accent { color: var(--amber); }
.hero__sub { color: rgba(255,255,255,.8); font-size: clamp(1.02rem, 1.6vw, 1.16rem); max-width: 52ch; }
.hero__cta { margin: 30px 0 26px; }

.hero__trust { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero__note { font-size: .92rem; color: rgba(255,255,255,.78); max-width: 46ch; margin: 0; }
.hero__note strong { color: #fff; }

/* Hero visual */
.hero__visual { position: relative; }
.panel {
  border-radius: var(--r-xl); overflow: hidden; position: relative;
  aspect-ratio: 4 / 3.4;
  background:
    linear-gradient(140deg, rgba(255,160,0,.92), rgba(255,160,0,.55) 42%, rgba(255,255,255,.14) 100%),
    var(--ink-soft);
  box-shadow: var(--shadow-lg);
  display: grid; place-items: center;
}
.panel::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,.13) 0 2px, transparent 2px 22px);
}
.panel img { width: 58%; max-width: 260px; position: relative; z-index: 1; opacity: .95; }
.case .panel:not(.panel--photo) img,
.review--big .panel:not(.panel--photo) img { width: auto; height: 128px; }
.panel--photo { padding: 0; background: var(--ink); }
.panel--photo img { width: 100%; max-width: none; height: 100%; object-fit: cover; }
/* Subtiele merkwaas over foto's, zodat wit/amber tekst er altijd overheen kan */
.panel--photo::after {
  background-image: none;
  background: linear-gradient(200deg, rgba(20,9,87,.06) 0%, rgba(20,9,87,.34) 100%);
}
.hero__badge {
  position: absolute; right: -20px; bottom: -24px; z-index: 2;
  background: #fff; color: var(--ink); border-radius: var(--r-md);
  padding: 16px 20px; box-shadow: var(--shadow-lg); max-width: 220px;
}
.hero__badge strong { display: block; font-family: var(--font-head); font-size: 1.5rem; line-height: 1; }
.hero__badge span { font-size: .82rem; color: var(--muted); }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  /* Tekst en CTA eerst, foto daaronder: de knop moet above the fold blijven. */
  .hero__visual { order: 2; max-width: 520px; margin-top: 34px; }
  /* Onder tablet staat de badge onder de foto in plaats van eroverheen,
     zodat hij geen gezichten afdekt. */
  .hero__badge {
    position: static; max-width: none; margin-top: 14px;
    display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
    box-shadow: var(--shadow-md);
  }
  .hero__badge strong { font-size: 1.15rem; }
  .hero__badge span { flex: 1 1 200px; }
}

/* ---------- Promise bar ---------- */
.promise {
  background: var(--amber); color: var(--ink);
}
.promise__inner {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: center;
  padding-block: 15px; font-family: var(--font-head); font-weight: 700; font-size: .9rem;
}
.promise__inner span { display: inline-flex; align-items: center; gap: 8px; }
.promise__inner svg { flex: none; }

/* ---------- Quote block ---------- */
.quote { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; max-width: 900px; margin-inline: auto; }
.quote__avatar {
  width: 72px; height: 72px; border-radius: 50%; flex: none;
  background: var(--ink); color: var(--amber);
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1.35rem;
}
.quote__text { font-family: var(--font-head); font-size: clamp(1.2rem, 2.5vw, 1.75rem); line-height: 1.42; letter-spacing: -.015em; color: var(--ink); }
.quote__text mark { background: rgba(255,160,0,.34); color: inherit; padding: 0 .12em; border-radius: 3px; }
.quote__meta { font-size: .88rem; color: var(--muted); font-weight: 600; margin: 0; }
@media (max-width: 640px) { .quote { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Image / panel grid ---------- */
.panel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.panel-grid .panel { aspect-ratio: 1 / 1; border-radius: var(--r-lg); }
.panel-grid .panel:nth-child(2) { background: linear-gradient(150deg, var(--ink-soft), var(--ink)); }
.panel-grid .panel:nth-child(2)::after { background-image: repeating-linear-gradient(115deg, rgba(255,160,0,.22) 0 2px, transparent 2px 18px); }
.panel-grid .panel:nth-child(3) { background: linear-gradient(160deg, #fff, var(--cream-2)); }
.panel-grid .panel:nth-child(3)::after { background-image: repeating-linear-gradient(115deg, rgba(20,9,87,.09) 0 2px, transparent 2px 18px); }
@media (max-width: 760px) { .panel-grid { grid-template-columns: 1fr 1fr; } .panel-grid .panel:nth-child(3) { grid-column: span 2; aspect-ratio: 16/9; } }

/* ---------- Feature cards (dark) ---------- */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature {
  background: var(--ink-card); border: 1px solid var(--line-lt); border-radius: var(--r-lg);
  padding: 30px 28px; transition: .2s;
}
.feature:hover { border-color: rgba(255,160,0,.5); transform: translateY(-3px); }
.card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.card__head h3 { margin: 0; }
.card__mark {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(255,160,0,.16);
}
.card__mark img { width: 26px; height: auto; }
.pillar .card__mark { background: rgba(20,9,87,.07); }
.feature h3 { color: #fff; margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted-lt); font-size: .95rem; }
@media (max-width: 700px) { .features { grid-template-columns: 1fr; } }

/* ---------- Team cards ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.member {
  border-radius: var(--r-lg); overflow: hidden; position: relative; aspect-ratio: 3/4;
  background-color: var(--ink);
  background-image: linear-gradient(165deg, var(--ink-soft), var(--ink));
}
.member::before {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,160,0,.18) 0 2px, transparent 2px 20px);
}
.member__initials {
  position: absolute; inset: 0; display: grid; place-items: center;
  /* ruimte laten voor de naambalk onderaan, anders valt de letter erachter */
  padding-bottom: 58px;
  font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; color: rgba(255,255,255,.9);
}
.member__bar {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  background: rgba(12,5,56,.82); backdrop-filter: blur(6px);
  border-radius: var(--r-sm); padding: 11px 14px; color: #fff;
}
.member__bar strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.member__bar span { font-size: .76rem; color: rgba(255,255,255,.66); }
@media (max-width: 860px) { .team { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step {
  background: var(--ink-card); border: 1px solid var(--line-lt); border-radius: var(--r-lg); padding: 28px 26px;
}
.step__n {
  counter-increment: step;
  font-family: var(--font-head); font-weight: 800; font-size: .78rem; letter-spacing: .12em;
  color: var(--amber); text-transform: uppercase; margin-bottom: 12px; display: block;
}
.step__n::before { content: "Stap 0" counter(step) " — "; }
.step h3 { color: #fff; font-size: 1.1rem; }
.step p { margin: 0; font-size: .93rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.compare__col { border-radius: var(--r-lg); padding: 30px 28px; }
.compare__col--bad { background: var(--cream-2); border: 1px solid var(--line); }
.compare__col--good { background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.compare__col--good h3 { color: #fff; }
.compare__col h3 { font-size: 1.15rem; margin-bottom: 6px; }
.compare__col > p { font-size: .88rem; color: var(--muted); margin-bottom: 20px; }
.compare__col--good > p { color: var(--muted-lt); }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.compare__col li { display: flex; gap: 12px; font-size: .95rem; align-items: flex-start; }
.compare__col li i {
  flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  font-style: normal; font-size: .72rem; font-weight: 800; font-family: var(--font-head); margin-top: 2px;
}
.compare__col--bad li i { background: rgba(20,9,87,.1); color: var(--ink); }
.compare__col--good li i { background: var(--amber); color: var(--ink); }
@media (max-width: 780px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px;
  display: flex; flex-direction: column;
}
.stars { color: var(--amber-graphic); font-size: .95rem; letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-size: .95rem; flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.review__who .av {
  width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--ink); color: var(--amber);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; font-size: .85rem;
}
.review__who strong { display: block; font-size: .9rem; font-family: var(--font-head); }
.review__who span { font-size: .78rem; color: var(--muted); }
.review__src { font-size: .72rem; color: var(--muted); margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }

.review--big {
  display: grid; grid-template-columns: 280px 1fr; gap: 0; overflow: hidden; padding: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
}
.review--big .panel { aspect-ratio: auto; height: 100%; border-radius: 0; }
.review--big__body { padding: clamp(28px, 4vw, 44px); }
.review--big__body blockquote { margin: 0 0 20px; font-family: var(--font-head); font-size: clamp(1.15rem,2vw,1.5rem); line-height: 1.45; color: var(--ink); letter-spacing: -.015em; }
@media (max-width: 780px) { .review--big { grid-template-columns: 1fr; } .review--big .panel { aspect-ratio: 16/9; } }

/* ---------- Cases ---------- */
.cases { display: grid; gap: 18px; }
.case {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  display: grid; grid-template-columns: 300px 1fr; overflow: hidden;
}
.case .panel { aspect-ratio: auto; height: 100%; min-height: 260px; border-radius: 0; }
.case__body { padding: clamp(26px, 3.5vw, 40px); }
.case__tag {
  font-family: var(--font-head); font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text);
  margin: 0 0 12px;
}
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } .case .panel { min-height: 0; aspect-ratio: 16/8; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 4px 22px; transition: border-color .2s;
}
.faq details[open] { border-color: rgba(255,160,0,.6); box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; border-radius: 50%; background: var(--amber); color: var(--ink);
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem; line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 20px; color: var(--muted); font-size: .96rem; }
.faq details > div p:last-child { margin-bottom: 0; }
.faq--split { grid-template-columns: 1fr 1fr; max-width: none; }
@media (max-width: 900px) { .faq--split { grid-template-columns: 1fr; max-width: 780px; margin-inline: auto; } }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 860px) { .split, .split--wide-left { grid-template-columns: 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.ticks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--amber); color: var(--ink); display: grid; place-items: center;
  font-weight: 800; font-size: .78rem; font-family: var(--font-head); margin-top: 1px;
}

/* ---------- Related links ---------- */
.related { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(26px,4vw,40px); }
.related h2 { font-size: 1.35rem; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.related__grid a {
  display: block; text-decoration: none; padding: 20px 22px;
  border: 1px solid var(--line); border-radius: var(--r-md); transition: .18s;
  background: var(--cream);
}
.related__grid a:hover { border-color: var(--ink); transform: translateY(-2px); }
.related__grid strong { display: block; font-family: var(--font-head); color: var(--ink); margin-bottom: 4px; }
.related__grid span { font-size: .85rem; color: var(--muted); }
@media (max-width: 1000px) { .related__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .related__grid { grid-template-columns: 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink); color: #fff; border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 56px); position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 88% 10%, rgba(255,160,0,.22), transparent 60%);
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-banner p { color: var(--muted-lt); }
.cta-banner .panel { aspect-ratio: 16/10; }
@media (max-width: 820px) { .cta-banner { grid-template-columns: 1fr; } }

/* ---------- Forms ---------- */
.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--ink); }
.field .hint { font-weight: 400; color: var(--muted); font-size: .82rem; font-family: var(--font-body); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font: inherit; font-size: .97rem; color: var(--text);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .16s, background .16s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--amber); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.field--check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--amber); }
.field .error { color: #c0392b; font-size: .82rem; margin-top: 6px; display: none; }
/* spamval voor Netlify: onzichtbaar voor mensen, wel invulbaar voor bots */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error {
  margin: 14px 0 0; padding: 14px 16px; border-radius: var(--r-sm);
  background: rgba(192,57,43,.08); border: 1px solid rgba(192,57,43,.4);
  color: #8c2b20; font-size: .9rem;
}
.form-error a { color: inherit; font-weight: 700; }
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #c0392b; }
.field[data-invalid="true"] .error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  border: 1.5px solid var(--line); border-radius: var(--pill); padding: 9px 16px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 500; margin: 0;
}
.chips input { width: auto; accent-color: var(--amber); }
.chips label:has(input:checked) { border-color: var(--amber); background: rgba(255,160,0,.1); }
@media (max-width: 620px) { .field--row { grid-template-columns: 1fr; } }

/* ---------- Contact / map ---------- */
.map-frame {
  border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line);
  box-shadow: var(--shadow-md); background: var(--cream-2);
}
.map-frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.info-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 24px; }
.info-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.info-card p { font-size: .93rem; color: var(--muted); margin-bottom: .6em; }
.info-card a { color: var(--ink); font-weight: 600; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; } }

.route-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.route-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.route-list .ric {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,160,0,.16);
  color: var(--amber-text); display: grid; place-items: center;
}
.route-list strong { display: block; font-family: var(--font-head); font-size: .95rem; color: var(--ink); }
.route-list span { font-size: .9rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-deep); color: #fff; padding-top: clamp(52px, 7vw, 84px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 46px; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: var(--muted-lt); font-size: .92rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer li a { color: rgba(255,255,255,.72); text-decoration: none; font-size: .92rem; }
.site-footer li a:hover { color: var(--amber); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,.1); padding-block: 22px; font-size: .82rem; color: rgba(255,255,255,.55);
}
.footer__bottom a { color: rgba(255,255,255,.72); text-decoration: none; }
.footer__wordmark {
  font-family: var(--font-head); font-weight: 800; letter-spacing: -.04em;
  font-size: clamp(3.5rem, 18vw, 15rem); line-height: .78; color: rgba(255,255,255,.06);
  text-align: center; padding-bottom: 10px; user-select: none;
}
@media (max-width: 880px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(12,5,56,.96); backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,.12);
  transform: translateY(110%); transition: transform .28s ease;
}
.sticky-cta[data-visible="true"] { transform: translateY(0); }
.sticky-cta .btn { flex: 1; padding: 14px 16px; font-size: .93rem; }
.sticky-cta .btn--call { flex: 0 0 auto; padding: 14px 18px; }
@media (max-width: 900px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 78px; }
}

/* ---------- 404 ---------- */
.err { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: clamp(50px,8vw,90px) 0; }
.err__code {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(5rem, 20vw, 11rem);
  line-height: .85; color: var(--amber); letter-spacing: -.05em; margin-bottom: 10px;
}
.err__links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 28px; }
.err__links a {
  background: rgba(255,255,255,.08); border: 1px solid var(--line-lt); color: #fff;
  padding: 10px 18px; border-radius: var(--pill); text-decoration: none; font-size: .9rem;
}
.err__links a:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 380px at 78% -20%, rgba(255,160,0,.16), transparent 62%);
}
.page-hero__inner { position: relative; padding-block: clamp(48px, 6vw, 78px); max-width: 760px; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); font-size: clamp(1rem, 1.5vw, 1.12rem); }
.crumbs { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.crumbs a { color: rgba(255,255,255,.8); text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs span { margin: 0 8px; }

/* ---------- Utility ---------- */
.notice {
  background: rgba(255,160,0,.12); border: 1px solid rgba(255,160,0,.4);
  border-radius: var(--r-md); padding: 16px 20px; font-size: .9rem; color: var(--ink);
}
.section--dark .notice, .section--deep .notice { color: #fff; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Reveal on scroll.
   Vangnet: mocht JavaScript uitvallen, dan maakt de animatie de inhoud na 2s
   alsnog zichtbaar — content mag nooit onzichtbaar blijven. */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
  animation: revealFallback 1ms linear 2s forwards;
}
.reveal.is-in { opacity: 1; transform: none; animation: none; }
@keyframes revealFallback { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; animation: none; } }


/* ---------- Pijlers (drie kaarten, licht) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 30px 28px;
}
.pillar h3 { font-size: 1.12rem; }
.pillar p { margin: 0; font-size: .95rem; color: var(--muted); }
@media (max-width: 940px) { .pillars { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Varianten ---------- */
.features--2 { grid-template-columns: repeat(2, 1fr); max-width: 900px; margin-inline: auto; }
@media (max-width: 700px) { .features--2 { grid-template-columns: 1fr; } }

.steps--light .step { background: var(--paper); border-color: var(--line); }
.steps--light .step h3 { color: var(--ink); }
.steps--light .step p { color: var(--muted); }

.team--2 { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-inline: auto; }
.team--2 .member { aspect-ratio: 1 / 1; }
.team--2 .member__initials { font-size: 3.4rem; }

/* ---------- Kleine hulpklassen ---------- */
.note { font-size: .84rem; color: var(--muted); }
.section--dark .note, .section--deep .note { color: rgba(255,255,255,.6); }
.h-card { font-size: 1.5rem; }
.stack { display: grid; gap: 16px; align-content: start; }
.stack .panel { aspect-ratio: 4 / 3; }
.center-row { justify-content: center; margin-top: 20px; }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); margin-top: 1.6em; }
.prose h2:first-of-type { margin-top: 0; }
.mb-32 { margin-bottom: 32px; }
.mt-16 { margin-top: 16px; }
.mt-28 { margin-top: 28px; }

.success-mark {
  width: 76px; height: 76px; border-radius: 50%; background: var(--amber);
  display: grid; place-items: center; margin: 0 auto 24px;
}
.err-section { position: relative; overflow: hidden; }
.err__intro { margin-top: 40px; font-size: .85rem; color: rgba(255,255,255,.6); }
.err h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.err .lead { max-width: 52ch; margin-inline: auto; }


/* ---------- Overloopbeveiliging op smalle schermen ----------
   Grid-items hebben standaard min-width:auto, waardoor een breed kind
   (bijvoorbeeld een select of een lange knoptekst) de hele kolom oprekt
   en de pagina horizontaal laat scrollen. */
.split > *, .split--wide-left > *, .features > *, .pillars > *, .steps > *,
.compare > *, .reviews > *, .related__grid > *, .info-grid > *, .team > *,
.stack > *, .cta-banner > *, .case > *, .review--big > *, .footer__top > * { min-width: 0; }
input, select, textarea { min-width: 0; max-width: 100%; }

/* ---------- Hero-blok: hero plus gele balk vullen samen het eerste scherm ---------- */
@media (max-width: 700px) {
  .hero-block {
    display: flex; flex-direction: column;
    /* 75px = navigatie (74px) plus de onderrand van de header */
    min-height: calc(100vh - 75px);
    min-height: calc(100svh - 75px);
  }
  .hero-block .hero { flex: 1 0 auto; display: flex; align-items: center; }
  .hero-block .hero__inner { width: 100%; }
  .hero-block .promise { flex: none; }
}

/* ---------- Hero op telefoon: foto als achtergrond ----------
   Onder 700px vervangt het kantoorbeeld het losse fotopaneel. De navy laag
   erover houdt de witte tekst ruim boven de contrastnorm (>10:1). */
@media (max-width: 700px) {
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(12,5,56,.93) 0%,
        rgba(12,5,56,.80) 30%,
        rgba(12,5,56,.66) 58%,
        rgba(12,5,56,.95) 100%),
      url("../img/foto-hero-mobiel.jpg");
    background-size: cover;
    background-position: 50% 40%;
    background-repeat: no-repeat;
  }
  /* het fotopaneel vervalt, de witte kaart komt op de plek van de oude notitie */
  .hero__visual .panel { display: none; }
  .hero__visual { margin-top: 24px; max-width: none; }
  .hero__badge { margin-top: 0; }
  .hero__inner { padding-block: clamp(26px, 5vw, 40px) clamp(28px, 6vw, 44px); }
  .hero h1 { font-size: clamp(2rem, 8.2vw, 2.5rem); margin-bottom: 16px; }
  /* "wie dan ook" hoort volledig op de laatste regel */
  .hero h1 .accent { display: block; white-space: nowrap; }
  .hero__sub { font-size: 1rem; }
}

/* ---------- Knoppen op telefoon: gecentreerd en even breed ---------- */
@media (max-width: 700px) {
  .btn-row { justify-content: center; }
  .btn-row > .btn { width: 100%; max-width: 320px; }
  .hero__cta { margin: 26px 0 0; }
  .split .btn-row, .head .btn-row { justify-content: center; }
}

@media (max-width: 380px) {
  h1 { font-size: 2rem; }
  .btn { padding: 14px 20px; font-size: .92rem; }
  .btn--lg { padding: 16px 22px; font-size: .96rem; }
  .err__code { font-size: 4.6rem; }
}


/* ==========================================================================
   Spotlight: kaarten met een lijn die zich tekent tijdens het scrollen.
   Techniek overgenomen uit de Codegrid-demo (stroke-dasharray plus
   stroke-dashoffset gekoppeld aan de scrollpositie), maar het pad wordt hier
   in JavaScript uit de werkelijke kaartposities berekend. Daardoor klopt de
   lijn op elke schermbreedte zonder aparte paden per breakpoint.
   ========================================================================== */
.spotlight { position: relative; overflow: hidden; }
.spotlight__inner { position: relative; display: grid; }

.spotlight__path {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* de lijn loopt bewust door boven en onder het blok; hier wordt hij afgesneden
     en zacht uitgefaded, zodat er geen ronde stip over de kopregels valt */
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.spotlight__path svg { width: 100%; height: 100%; overflow: visible; display: block; }
.spotlight__path path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 46;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .38;
}
.section--dark .spotlight__path path,
.section--deep .spotlight__path path { opacity: .34; }

.spot-row { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; }
.spot-row--right { direction: rtl; }
.spot-row--right > * { direction: ltr; }
.spot-row + .spot-row { margin-top: clamp(32px, 6vw, 88px); }

/* de kaarten zelf houden hun bestaande opmaak, alleen de breedte verandert */
.spotlight .pillar,
.spotlight .feature { margin: 0; }

/* sectie die de lijn alleen op telefoon toont */
.spotlight--phone .spotlight__path { display: none; }
/* de stappen moeten boven de lijn liggen: zonder positie stapelt het
   absoluut gepositioneerde pad eroverheen */
.spotlight--phone .steps { position: relative; z-index: 1; }

@media (max-width: 900px) {
  .spot-row { grid-template-columns: 1fr; }
  .spot-row--left  { padding-right: 12%; }
  .spot-row--right { padding-left: 12%; }
  .spotlight__path path { stroke-width: 34; }
}

@media (max-width: 700px) {
  .spotlight--phone .spotlight__path { display: block; }
  /* meer lucht tussen de stappen, anders is er geen ruimte voor de lijn */
  .spotlight--phone .steps { gap: 42px; }
  .spot-row--left, .spot-row--right { padding: 0; }
  .spot-row + .spot-row { margin-top: 40px; }
  .spotlight__path path { stroke-width: 26; opacity: .32; }
  .section--dark .spotlight__path path { opacity: .3; }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight__path path { opacity: .22; }
}
