/* ATB Administratie & Advies */
:root {
  --navy: #003a63;
  --navy-deep: #002947;
  --navy-ink: #0d2236;
  --pink: #e60d63;
  --pink-dark: #c70a55;
  --text: #3d4b59;
  --muted: #6b7885;
  --line: #dfe5eb;
  --soft: #f2f3f5;
  --soft-2: #f7f7f8;
  --white: #fff;
  --radius: 8px;
  --wrap: 1200px;
  --gutter: 20px;
  --header-h: 68px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--navy); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  color: var(--navy-ink);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); }
h3 { font-size: 1.25rem; line-height: 1.25; }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); line-height: 1.55; color: var(--text); }
.text-pink { color: var(--pink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 72px 0; }
.section--soft { background: var(--navy-deep); color: #cfdbe6; }
.section--navy { background: var(--navy); color: #cfdbe6; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section-head { max-width: 720px; margin-bottom: 40px; }
.section-head p { margin: 0; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: 0 24px;
  border: 2px solid transparent; border-radius: 6px;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn--pink { background: var(--pink); color: #fff; }
.btn--pink:hover { background: var(--pink-dark); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-deep); }
.btn--line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: #e9edf1; }
.btn--line-white { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--line-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn .arr { display: none; }
/* Pijltje verschijnt alleen bij hover (op apparaten met muis) */
@media (hover: hover) {
  .btn::after {
    content: "\2192"; display: inline-block; overflow: hidden; max-width: 0; margin-left: -.5em; opacity: 0;
    transform: translateX(-6px); transition: max-width .2s ease, margin .2s ease, opacity .2s ease, transform .2s ease;
  }
  .btn:hover::after, .btn:focus-visible::after { max-width: 1.2em; margin-left: 0; opacity: 1; transform: none; }
  .btn[disabled]::after, .adm .btn::after { content: none; }
}
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow { font-weight: 700; color: var(--pink); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* USP bar */
.usp { background: var(--navy); font-size: .875rem; color: #fff; }
.usp .check { color: #fff; }
.usp .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 24px; }
/* Mobiel: één USP tegelijk, gecentreerd, wisselt automatisch (zie main.js) */
.usp ul { position: relative; flex: 1; height: 38px; overflow: hidden; }
.usp li {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.usp li.on { opacity: 1; transform: none; }
.usp a { color: #fff; text-decoration: none; font-weight: 500; white-space: nowrap; }
.usp .usp-right { display: none; }
.check { flex: none; width: 16px; height: 16px; color: #1a9b54; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { flex: none; }
.brand img { height: 46px; width: auto; }
.nav { display: none; }
.nav a { color: var(--navy-ink); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--pink); }
.header-cta { display: none; }
.menu-btn {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px; border: 0; background: none; cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--navy-ink); transition: transform .2s, opacity .2s; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #fff; overflow-y: auto; padding: 8px var(--gutter) 32px;
  transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
}
.menu-open .mobile-menu { transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-menu a.mm-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--navy-ink); font-size: 1.2rem; font-weight: 700; text-decoration: none;
}
.mobile-menu .mm-group { padding: 16px 0 8px; font-size: .875rem; color: var(--muted); }
.mobile-menu .btns { margin-top: 28px; flex-direction: column; }
.mobile-menu .btn { width: 100%; }
.mm-contact { margin-top: 28px; font-size: .95rem; }
.mm-contact a { display: block; color: var(--navy-ink); font-weight: 700; text-decoration: none; padding: 4px 0; }

/* Hero */
.hero { padding: 32px 0 56px; background: var(--navy); color: #cfdbe6; }
.hero-grid { display: grid; gap: 32px; }
.rating { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; font-size: .925rem; color: var(--navy-ink); text-decoration: none; }
.rating img { width: 20px; height: 20px; }
.stars { color: #f5a623; letter-spacing: 1px; }
.hero h1 { margin-bottom: 20px; }
.hero .lead { max-width: 560px; margin-bottom: 28px; }
.hero .btns .btn { flex: 1 1 auto; }
.hero-media { position: relative; }
.hero-media .photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--soft); }
.hero-media .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }

/* Path chooser */
.paths { display: grid; gap: 12px; margin-top: 8px; }
.path {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--text); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.path:hover { border-color: var(--navy); box-shadow: 0 6px 20px rgba(0, 41, 71, .08); }
.path strong { color: var(--navy-ink); font-size: 1.15rem; }
.path span { grid-column: 1; font-size: .95rem; }
.path .go { grid-row: 1 / span 2; grid-column: 2; font-size: 1.4rem; color: var(--pink); font-weight: 700; transition: transform .15s; }
.path:hover .go { transform: translateX(4px); }

/* Logos */
.logos { padding: 40px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-title { text-align: center; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); margin-bottom: 32px; }
.logo-viewport { overflow: hidden; margin: 0 calc(var(--gutter) * -1); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-row { display: flex; align-items: center; width: max-content; animation: logos 30s linear infinite; }
.logo-row img { flex: none; margin-right: 48px; }
@keyframes logos { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logo-row { animation: none; } .logo-viewport { overflow-x: auto; } }
.logo-row img { height: 40px; width: 140px; object-fit: contain; }

/* Split */
.split { display: grid; gap: 36px; align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.features { display: grid; gap: 28px; margin-top: 28px; }
.feature h3 { margin-bottom: .35em; }
.feature p { margin: 0; }
.feature { padding-left: 20px; border-left: 3px solid var(--pink); }

/* Audience cards */
.cards { display: grid; gap: 20px; }
.card {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
a.card:hover { box-shadow: 0 14px 34px rgba(0, 41, 71, .12); transform: translateY(-2px); }
.card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-img img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-body h3 { font-size: 1.4rem; margin-bottom: .3em; }
.card-price { font-size: .95rem; color: var(--navy-ink); margin-bottom: 16px; }
.card-price b { font-size: 1.1rem; }
.card .ticks { margin-bottom: 24px; }
.card .link-arrow { margin-top: auto; }

.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; line-height: 1.45; }
.ticks .check { margin-top: 4px; }
.ticks--lg li { padding: 8px 0; font-size: 1.05rem; }
.section--navy .ticks li { color: #fff; }
.section--navy .check { color: #fff; }

/* Stats + reasons */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.stat b { display: block; font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); line-height: 1; color: #fff; font-weight: 700; }
.stat span { display: block; margin-top: 8px; font-size: .9rem; line-height: 1.35; }
.reasons { display: grid; gap: 28px; }
.reason h3 { font-size: 1.2rem; margin-bottom: .4em; }
.reason p { margin: 0; }

/* Steps */
.steps { display: grid; gap: 0; counter-reset: s; }
.step { position: relative; padding: 0 0 32px 64px; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -6px; font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--pink);
}
.step::after { content: ""; position: absolute; left: 14px; top: 46px; bottom: 8px; width: 2px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: .3em; }
.step p { margin: 0; }

/* Reviews */
.review-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; margin-bottom: 32px; }
.review-title { flex: 1 1 460px; max-width: 720px; }
.review-score { flex: 0 1 auto; min-width: 0; }
@media (min-width: 640px) { .review-score { flex: none; } }
.review-title h2 { margin: 0; }
.review-title .lead { margin: 12px 0 0; }
.review-top:has(.lead) { align-items: flex-end; }
.review-score { display: flex; align-items: center; gap: 14px; }
.review-score b { font-size: 2.6rem; line-height: 1; color: var(--navy-ink); }
.review-score .stars { font-size: 1.15rem; display: block; }
.review-score small { font-size: .875rem; color: var(--muted); }
.reviews { display: grid; gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.review .stars { margin-bottom: 14px; }
.review blockquote { margin: 0 0 24px; color: var(--navy-ink); font-size: 1.02rem; line-height: 1.6; }
.review footer { margin-top: auto; display: flex; align-items: center; gap: 14px; }
.review footer img { height: 34px; width: auto; max-width: 110px; object-fit: contain; }
.review cite { font-style: normal; font-size: .925rem; line-height: 1.35; }
.review cite b { display: block; color: var(--navy-ink); }

/* Visit */
.visit { display: grid; gap: 32px; align-items: center; }
.visit-photos { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.visit-photos img { border-radius: var(--radius); width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.visit-photos img:first-child { aspect-ratio: auto; }
.address { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.address b { color: var(--navy-ink); display: block; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative;
  font-weight: 700; color: var(--navy-ink); font-size: 1.1rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--pink); }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 22px; max-width: 700px; }
.faq .answer p:last-child { margin: 0; }

/* CTA band */
.cta { background: var(--navy); color: #cfdbe6; position: relative; overflow: hidden; }
.cta .wrap { display: grid; gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.cta h2 { color: #fff; margin-bottom: .35em; }
.cta p { margin: 0; max-width: 560px; }
.cta-photo { display: none; }

/* Page hero */
.page-hero { padding: 40px 0 56px; background: var(--navy); color: #cfdbe6; }
.page-hero .crumbs { font-size: .875rem; color: #a9bccd; margin-bottom: 18px; }
.page-hero .crumbs a { color: #a9bccd; }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); max-width: 860px; }
.page-hero .lead { max-width: 680px; margin-bottom: 28px; }
.page-hero-grid { display: grid; gap: 32px; align-items: center; }
.page-hero-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Service grid */
.grid-2, .grid-3 { display: grid; gap: 20px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.section--soft .box { border-color: transparent; }
.box, .review, .form-card { color: var(--text); }
.box h3 { margin-bottom: .4em; }
.box p { margin: 0; }

/* Pricing */
.pricing { display: grid; gap: 32px; align-items: start; }
.price-card { background: #fff; border: 2px solid var(--navy); border-radius: var(--radius); padding: 32px 28px; }
.price-card h3 { font-size: 1.3rem; }
.price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 4px; color: var(--navy-ink); }
.price b { font-size: 3.4rem; line-height: 1; }
.price small { font-size: 1rem; color: var(--muted); }
.price-note { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.price-card .ticks { margin-bottom: 28px; }
.price-card .btn { width: 100%; }
.factors { margin: 20px 0 24px; }
.factors li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--navy-ink); font-weight: 500; }

/* Sectors */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.sectors li { padding: 10px 16px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--navy-ink); font-weight: 500; font-size: .95rem; }

/* Prose */
.prose { max-width: 720px; }
.prose p { font-size: 1.075rem; }
.prose h2 { margin-top: 1.4em; font-size: 1.6rem; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }

/* Contact */
.contact-grid { display: grid; gap: 28px; align-items: start; grid-template-areas: "intro" "form" "channels"; }
.c-intro { grid-area: intro; }
.c-intro .lead { margin: 0; }
.contact-grid .form-card { grid-area: form; }
.contact-grid .channels { grid-area: channels; }
.hide-sm { display: none; }
.channels { display: grid; gap: 12px; }
.channel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 16px;
  padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  text-decoration: none; color: var(--text); transition: border-color .15s;
}
.channel:hover { border-color: var(--navy); }
.channel b { color: var(--navy-ink); font-size: 1.05rem; }
.channel b { grid-column: 2; }
.channel span { font-size: .925rem; grid-column: 2; }
.channel .ch-ico { grid-column: 1; grid-row: 1 / span 2; display: flex; width: 32px; height: 32px; color: var(--navy); }
.channel .ch-ico svg { width: 100%; height: 100%; }
.channel .ch-ico--wa { color: #25d366; }
.channel .go { grid-column: 3; grid-row: 1 / span 2; color: var(--pink); font-weight: 700; font-size: 1.3rem; }

/* Form */
.form-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 41, 71, .10); overflow: hidden; }
.form-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 20px 24px 0; }
.form-progress i { height: 4px; background: var(--line); border-radius: 2px; transition: background .25s; }
.form-progress i.on { background: var(--pink); }
.form-meta { padding: 12px 24px 0; font-size: .85rem; color: var(--muted); }
.form-step { display: none; padding: 12px 24px 28px; }
.form-step.active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.form-step h3 { font-size: 1.45rem; margin-bottom: .25em; }
.form-step > p { color: var(--muted); margin-bottom: 20px; }
.choices { display: grid; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label {
  display: grid; gap: 2px; padding: 16px 18px 16px 52px; border: 1.5px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .15s, background .15s; position: relative;
}
.choice label::before {
  content: ""; position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  border: 2px solid #b8c4cf; border-radius: 4px; background: #fff; transition: all .15s;
}
.choice input[type="radio"] + label::before { border-radius: 50%; }
.choice label b { color: var(--navy-ink); }
.choice label small { font-size: .9rem; color: var(--muted); }
.choice input:checked + label { border-color: var(--navy); background: #fff; box-shadow: inset 0 0 0 1px var(--navy); }
.choice input:checked + label::before { border-color: var(--pink); background: var(--pink); box-shadow: inset 0 0 0 3px #fff; }
.choice input:focus-visible + label { outline: 3px solid rgba(230, 13, 99, .35); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip label { display: inline-block; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 6px; cursor: pointer; font-weight: 500; color: var(--navy-ink); font-size: .95rem; transition: all .15s; user-select: none; }
.chip input:checked + label { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip input:focus-visible + label { outline: 3px solid rgba(230, 13, 99, .35); outline-offset: 2px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 700; color: var(--navy-ink); font-size: .95rem; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c9d3dc; border-radius: 6px; background: #fff;
  font-size: 16px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0, 58, 99, .12); }
.field.invalid input { border-color: var(--pink); }
.field .err { display: none; color: var(--pink-dark); font-size: .875rem; }
.field.invalid .err { display: block; }
.row-2 { display: grid; gap: 0 14px; }
.sublabel { font-weight: 700; color: var(--navy-ink); font-size: .95rem; margin: 6px 0 10px; }
.form-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; }
.form-nav .back { background: none; border: 0; color: var(--muted); font-weight: 700; cursor: pointer; padding: 12px 0; }
.form-nav .back:hover { color: var(--navy-ink); }
.form-nav .btn { margin-left: auto; }
.form-note { font-size: .825rem; color: var(--muted); margin: 14px 0 0; }
.form-error { display: none; margin-top: 12px; padding: 12px 14px; border-radius: 6px; background: #fdecf3; color: var(--pink-dark); font-size: .925rem; }
.form-error.show { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-done { display: none; padding: 36px 24px 40px; }
.form-done.active { display: block; animation: stepIn .3s ease; }
.form-done h3 { font-size: 1.6rem; }
.form-done .fallback { display: none; }
.form-done.fallback-mode .fallback { display: block; }
.form-done.fallback-mode .ok { display: none; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Footer */
.footer { background: var(--navy-deep); color: #a9bccd; font-size: .95rem; padding: 56px 0 0; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-brand img { height: 52px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0 96px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .85rem; }
.footer-bottom a { color: #a9bccd; }

/* Mobile action bar */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0, 41, 71, .08);
  transform: translateY(110%); transition: transform .25s ease;
}
.actionbar.show { transform: none; }
.actionbar a { min-height: 46px; padding: 0 10px; font-size: .95rem; }
.wa-btn { background: #1faa59; color: #fff; }
.wa-btn:hover { background: #18914b; }

@media (min-width: 1200px) { .header-cta { display: inline-flex; min-height: 48px; } }

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Tablet ---------- */
@media (min-width: 640px) {
  :root { --gutter: 28px; }
  .paths { grid-template-columns: repeat(3, 1fr); }
  .paths--2 { grid-template-columns: repeat(2, 1fr); }
  .path { grid-template-columns: 1fr; }
  .path .go { grid-row: auto; grid-column: 1; margin-top: 8px; }
  .stats { gap: 32px; }
  .reasons, .grid-2 { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .row-2 { grid-template-columns: 1fr 1fr; }
  .choices--2 { grid-template-columns: 1fr 1fr; }
  .hero .btns .btn { flex: 0 0 auto; }
  .hide-sm { display: inline; }
  .usp ul { position: static; flex: 0 1 auto; height: auto; display: flex; gap: 28px; }
  .usp li { position: static; opacity: 1; transform: none; transition: none; justify-content: flex-start; }
  .usp li:nth-child(n+3), .usp li.usp-m { display: none; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1000px) {
  body { font-size: 18px; }
  :root { --header-h: 80px; }
  .section { padding: 112px 0; }
  .hide-sm { display: inline; }
  .usp .usp-right { display: flex; gap: 24px; }
  .brand img { height: 56px; }
  .nav { display: flex; gap: 28px; font-size: 1rem; }
  .menu-btn, .mobile-menu { display: none; }
  .hero { padding: 56px 0 96px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
  .hero-media .photo { aspect-ratio: 4 / 4.4; }
  .logo-viewport { overflow: visible; margin: 0; -webkit-mask-image: none; mask-image: none; }
  .logo-row { display: grid; grid-template-columns: repeat(7, 1fr); gap: 24px; width: auto; justify-items: center; animation: none; }
  .logo-row img { margin-right: 0; width: 100%; max-width: 140px; }
  .logo-row .logo-dup { display: none; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; }
  .split--rev .split-media { order: 2; }
  .split-media img { aspect-ratio: 4 / 4.6; }
  .cards { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .reasons { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .navy-split { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .step { padding: 64px 0 0; }
  .step::before { top: 0; }
  .step::after { left: 56px; right: -24px; top: 20px; bottom: auto; width: auto; height: 2px; }
  .reviews { grid-template-columns: repeat(3, 1fr); }
  .reviews--2 { grid-template-columns: repeat(2, 1fr); }
  .visit { grid-template-columns: 1.1fr 1fr; gap: 80px; }
  .visit-photos { gap: 16px; }
  .cta .wrap { grid-template-columns: 1.4fr 1fr; align-items: center; padding-top: 88px; padding-bottom: 88px; }
  .cta .btns { justify-content: flex-end; }
  .page-hero { padding: 64px 0 88px; }
  .page-hero-grid { grid-template-columns: 1.1fr 1fr; gap: 64px; }
  .pricing { grid-template-columns: 1.2fr 1fr; gap: 80px; }
  .contact-grid { grid-template-columns: 1fr 1.25fr; gap: 32px 64px; grid-template-areas: "intro form" "channels form"; grid-template-rows: auto 1fr; }
  .contact-grid .form-card { position: sticky; top: calc(var(--header-h) + 24px); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; }
  .footer-bottom { padding-bottom: 24px; }
  .actionbar { display: none; }
  .form-step, .form-done { padding-left: 36px; padding-right: 36px; }
  .form-progress, .form-meta { padding-left: 36px; padding-right: 36px; }
}

/* ---------- Geanimeerde iconen in dienstblokken ---------- */
.ico { display: block; width: 52px; height: 52px; margin-bottom: 20px; color: var(--navy); }
.ico svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ico .d {
  fill: none; stroke: currentColor; stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1s cubic-bezier(.65, 0, .35, 1) var(--d, 0s);
}
.ico .a { stroke: var(--pink); transition-delay: calc(var(--d, 0s) + .5s); }
.ico .fat { stroke-width: 5; }
.ico .dot { fill: var(--pink); opacity: 0; transition: opacity .3s calc(var(--d, 0s) + 1s); }
.ico .m { transform-box: fill-box; transform-origin: center; }
.in .ico .d { stroke-dashoffset: 0; }
.in .ico .dot { opacity: 1; }

/* Na het tekenen blijft elk icoon rustig bewegen (4 s cyclus, grotendeels stil) */
.in .ico .m { animation: 4s ease-in-out calc(var(--d, 0s) + 1.6s) infinite both; }
.in .ico .m-redraw .d { animation: ico-redraw 4s ease-in-out calc(var(--d, 0s) + 1.6s) infinite; }
.in .ico .m-bars .bar { transform-box: fill-box; transform-origin: 50% 100%; animation: ico-grow 4s ease-in-out calc(var(--d, 0s) + 1.6s) infinite; }
.in .ico .m-bars .bar:nth-child(2) { animation-delay: calc(var(--d, 0s) + 1.75s); }
.in .ico .m-bars .bar:nth-child(3) { animation-delay: calc(var(--d, 0s) + 1.9s); }
.in .ico .m-typing .dot { animation: ico-type 1.4s ease-in-out calc(var(--d, 0s) + 1.4s) infinite; }
.in .ico .m-typing .dot:nth-child(2) { animation-delay: calc(var(--d, 0s) + 1.6s); }
.in .ico .m-typing .dot:nth-child(3) { animation-delay: calc(var(--d, 0s) + 1.8s); }
.in .ico .m-wobble { animation-name: ico-wobble; }
.in .ico .m-bounce { animation-name: ico-bounce; }
.in .ico .m-spin { animation-name: ico-spin; }
.in .ico .m-flicker { animation-name: ico-flicker; }
.in .ico .m-slide { animation-name: ico-slide; }
.in .ico .m-right { animation-name: ico-right; }
.in .ico .m-left { animation-name: ico-left; }
.in .ico .m-fly { animation-name: ico-fly; }
.in .ico .m-redraw, .in .ico .m-bars, .in .ico .m-typing { animation: none; }

@keyframes ico-redraw { 0%, 62% { stroke-dashoffset: 0; } 72% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes ico-grow { 0%, 60%, 100% { transform: scaleY(1); } 72% { transform: scaleY(.35); } 86% { transform: scaleY(1.08); } }
@keyframes ico-type { 0%, 60%, 100% { transform: translateY(0); opacity: .35; } 30% { transform: translateY(-2.5px); opacity: 1; } }
@keyframes ico-wobble { 0%, 60%, 100% { transform: rotate(0); } 68% { transform: rotate(-12deg); } 78% { transform: rotate(9deg); } 88% { transform: rotate(-4deg); } }
@keyframes ico-bounce { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-5px); } 80% { transform: translateY(0); } 86% { transform: translateY(-2px); } }
@keyframes ico-spin { 0%, 55% { transform: rotate(0); } 85%, 100% { transform: rotate(360deg); } }
@keyframes ico-flicker { 0%, 58%, 100% { opacity: 1; } 64% { opacity: .15; } 70% { opacity: 1; } 76% { opacity: .3; } 84% { opacity: 1; } }
@keyframes ico-slide { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(-4px); } }
@keyframes ico-right { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(4px); } }
@keyframes ico-left { 0%, 60%, 100% { transform: translateX(0); } 75% { transform: translateX(-4px); } }
@keyframes ico-fly { 0%, 60%, 100% { transform: translate(0, 0); opacity: 1; } 74% { transform: translate(6px, -6px); opacity: 0; } 75% { transform: translate(-6px, 6px); opacity: 0; } 88% { transform: translate(0, 0); opacity: 1; } }

/* Hover op het blok: het icoon reageert direct */
@media (hover: hover) {
  .box { transition: border-color .2s, box-shadow .2s; }
  .box:hover { border-color: #c9d3dc; box-shadow: 0 10px 28px rgba(0, 41, 71, .07); }
}

@media (prefers-reduced-motion: reduce) {
  .ico .d { stroke-dashoffset: 0; transition: none; }
  .ico .dot { opacity: 1; transition: none; }
}

/* ---------- Zwevende WhatsApp-knop ---------- */
.wa-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff; text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .12);
  transition: transform .2s ease, bottom .25s ease, background-color .2s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float:hover { background: #1ebe5b; transform: scale(1.06); }
.wa-float:focus-visible { outline: 3px solid rgba(37, 211, 102, .45); outline-offset: 3px; }
.bar-on .wa-float { bottom: calc(82px + env(safe-area-inset-bottom)); }
.wa-tip {
  position: absolute; right: calc(100% + 12px); top: 50%; transform: translate(6px, -50%);
  background: var(--navy-ink); color: #fff; font-size: .875rem; font-weight: 500; white-space: nowrap;
  padding: 8px 12px; border-radius: 6px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
@media (hover: hover) { .wa-float:hover .wa-tip { opacity: 1; transform: translate(0, -50%); } }
@media (min-width: 1000px) {
  .wa-float { right: 28px; bottom: 28px; width: 62px; height: 62px; }
  .wa-float svg { width: 32px; height: 32px; }
  .bar-on .wa-float { bottom: 28px; }
}

/* ---------- Kaart contactpagina ---------- */
.map-section { padding-bottom: 72px; }
.map { position: relative; aspect-ratio: 4 / 3.2; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 640px) { .map { aspect-ratio: 16 / 8; } }
@media (min-width: 1000px) { .map { aspect-ratio: 16 / 6; } .map-section { padding-bottom: 112px; margin-top: -32px; } }

/* ---------- Klantverhaal AdVries ---------- */
.klant-feature { display: grid; background: #00335a; color: #d6e2ec; overflow: hidden; }
.klant-feature img { grid-area: 1 / 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 58% 0; }
.kf-text { grid-area: 2 / 1; padding-top: 32px; padding-bottom: 56px; }
.kf-inner { max-width: 760px; }
.klant-feature h1 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.8vw, 3.2rem); margin-bottom: 12px; }
.kf-name { color: #fff; font-size: 1.15rem; font-weight: 500; margin-bottom: 22px; }
.klant-feature blockquote { margin: 0; font-size: 1.05rem; line-height: 1.75; color: #d6e2ec; }
@media (min-width: 1000px) {
  .klant-feature img { aspect-ratio: auto; object-fit: fill; }
  .kf-text { grid-area: 1 / 1; align-self: start; padding-top: calc(35vw * .43); padding-bottom: 72px; }
  .kf-inner { max-width: min(760px, 52vw); }
  .klant-feature blockquote { font-size: 1.1rem; }
}

/* Breed scherm: derde USP erbij (staat onderaan zodat hij de tabletregel overschrijft) */
@media (min-width: 1240px) { .usp li:nth-child(3) { display: flex; } }

/* ---------- Blog ---------- */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cat-chips a { padding: 9px 14px; border: 1.5px solid #c9d3dc; border-radius: 6px; background: #fff; color: var(--navy-ink); text-decoration: none; font-weight: 500; font-size: .95rem; }
.cat-chips a:hover { border-color: var(--navy); }
.cat-chips a[aria-current] { background: var(--pink); border-color: var(--pink); color: #fff; }
.post-meta { font-size: .875rem; color: var(--muted); margin-bottom: 8px; }
.post-cat { color: var(--pink); font-weight: 700; }
.post-card .card-body h3 { font-size: 1.25rem; }
.post-card .card-body p:not(.post-meta) { margin-bottom: 18px; }
.post-noimg { width: 100%; height: 100%; display: grid; place-items: center; background: var(--soft); }
.post-noimg img { width: 64px; height: auto; opacity: .5; }
.empty { max-width: 640px; }

.post-head { background: var(--navy); color: #cfdbe6; padding: 40px 0 48px; }
.post-head .crumbs, .post-head .crumbs a, .post-head .post-meta { color: #a9bccd; }
.post-wrap { max-width: 800px; }
.post-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-bottom: 14px; }
.post-head .lead { margin: 16px 0 0; }
.post-cover { max-width: 1040px; margin-top: -24px; }
.post-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.post-body { padding: 40px 0 8px; max-width: none; }
.post-body h2 { font-size: 1.65rem; margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; }
.post-body p, .post-body li { font-size: 1.1rem; line-height: 1.75; }
.post-body ul, .post-body ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.post-body ul { list-style: disc; }
.post-body ol { list-style: decimal; }
.post-body li { margin-bottom: .35em; }
.post-body li::marker { color: var(--pink); }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--pink); font-size: 1.2rem; color: var(--navy-ink); }
.post-body a { color: var(--pink-dark); text-underline-offset: 3px; }
.post-body img { border-radius: var(--radius); margin: 1.4em 0; width: 100%; height: auto; }
.post-body strong { color: var(--navy-ink); }
.post-help { margin: 40px 0 72px; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); border-left: 4px solid var(--pink); }
.post-help h2 { font-size: 1.35rem; margin-bottom: .3em; }
.preview-bar { background: #fff3dc; color: #6b4600; padding: 12px var(--gutter); text-align: center; font-weight: 500; font-size: .95rem; }
.preview-bar a { color: inherit; font-weight: 700; }
@media (min-width: 1000px) {
  .post-head { padding: 64px 0 72px; }
  .post-cover { margin-top: -36px; }
  .post-help { padding: 36px; }
}

/* ---------- Blauwe en donkerblauwe vlakken (huisstijl a-t-b.nl) ---------- */
:is(.hero, .page-hero, .photo-hero, .post-head, .section--soft) :is(h1, h2, h3):not(:is(.card, .box, .review, .form-card, .channel, .path, .price-card) *) { color: #fff; }
:is(.hero, .page-hero, .photo-hero, .post-head, .section--soft) .lead:not(:is(.card, .box, .review, .form-card) *) { color: #cfdbe6; }
:is(.hero, .page-hero, .photo-hero, .section--soft) .btn--line:not(:is(.card, .box, .form-card) *) { border-color: rgba(255, 255, 255, .6); color: #fff; }
:is(.hero, .page-hero, .photo-hero, .section--soft) .btn--line:not(:is(.card, .box, .form-card) *):hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.hero .rating { color: #fff; }
.section--soft .review-score b { color: #fff; }
.section--soft .review-score small { color: #a9bccd; }
.section--soft .feature p, .section--soft p { color: #cfdbe6; }
.section--soft :is(.card, .box, .review) p { color: var(--text); }
.section--soft .review blockquote { color: var(--navy-ink); }
.section--soft .link-arrow { color: #ff5c9a; }
.section--soft :is(.card) .link-arrow { color: var(--pink); }

/* Homepage: blauw blok met foto + donkerblauwe band met drie punten */
.band-dark { background: var(--navy-deep); color: #cfdbe6; padding: 48px 0 56px; }
.band-points { display: grid; gap: 32px; }
.band-point h3 { display: flex; align-items: center; gap: 14px; color: #fff; font-size: 1.2rem; margin-bottom: 12px; }
.band-point h3 img { width: 44px; height: auto; flex: none; }
.band-point p { margin: 0; }
.section--navy .lead { color: #cfdbe6; }
@media (min-width: 1000px) {
  .band-dark { padding: 64px 0 72px; }
  .band-points { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

/* Klantenpagina: verhalen zoals op a-t-b.nl */
.klant-quote { display: grid; gap: 20px; padding: 40px 0; border-bottom: 1px solid var(--line); }
.klant-quote:first-child { padding-top: 0; }
.klant-quote:last-child { border-bottom: 0; padding-bottom: 0; }
.kq-logo img { width: 100%; max-width: 220px; height: 90px; object-fit: contain; object-position: left center; }
.klant-quote:nth-child(even) .kq-logo img { object-position: right center; }
.kq-text { max-width: 760px; }
.kq-text h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); margin-bottom: .7em; }
.kq-text p { font-size: 1.075rem; line-height: 1.75; }
.kq-text p:last-child { margin-bottom: 0; }
@media (min-width: 1000px) {
  .klant-quote { grid-template-columns: 260px 1fr; gap: 64px; padding: 56px 0; }
  .kq-logo { padding-top: 6px; }
  .klant-quote:nth-child(even) { grid-template-columns: 1fr 260px; }
  .klant-quote:nth-child(even) .kq-logo { order: 2; display: flex; justify-content: flex-end; }
}

/* Keuzeblok onder de hero */
.paths-section { padding: 40px 0 48px; }
.paths-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin-bottom: 20px; }
@media (min-width: 640px) {
  .paths--2 .path { grid-template-columns: 1fr auto; }
  .paths--2 .path .go { grid-row: 1 / span 2; grid-column: 2; margin-top: 0; }
}
@media (min-width: 1000px) { .paths-section { padding: 64px 0 72px; } }

/* FAQ: gecentreerd op donkerblauw */
.faq-section .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.faq-section .faq { margin: 0 auto; }
.faq-section .faq details, .faq-section .faq details:first-of-type { border-color: rgba(255, 255, 255, .16); }
.faq-section .faq summary { color: #fff; }
.faq-section .faq summary::after { color: #ff5c9a; }
.faq-section .faq .answer, .faq-section .faq .answer p { color: #cfdbe6; }
.faq-section .faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

/* Iconen op blauwe achtergrond (Waarom ATB) */
.reason .ico { margin-bottom: 18px; }
:is(.section--navy, .section--soft) .ico { color: #fff; }
.in .ico .m-steam .d { animation: ico-steam 3s ease-in-out calc(var(--d, 0s) + 1.4s) infinite; }
.in .ico .m-steam .d:nth-child(2) { animation-delay: calc(var(--d, 0s) + 1.7s); }
.in .ico .m-steam .d:nth-child(3) { animation-delay: calc(var(--d, 0s) + 2s); }
.in .ico .m-steam { animation: none; }
@keyframes ico-steam { 0%, 100% { opacity: 1; transform: translateY(0); } 50% { opacity: .35; transform: translateY(-3px); } }

/* ---------- Fotohero (stijl AdVries-klantverhaal) ---------- */
.photo-hero { position: relative; background: var(--navy); color: #cfdbe6; overflow: hidden; }
.photo-hero .ph-media { aspect-ratio: 4 / 3; }
.photo-hero .ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 35%); }
.photo-hero .ph-pink { display: none; }
.photo-hero .ph-content { padding-top: 28px; padding-bottom: 48px; }
.photo-hero .crumbs { font-size: .875rem; color: #a9bccd; margin-bottom: 14px; }
.photo-hero .crumbs a { color: #a9bccd; }
.photo-hero h1 { margin-bottom: 18px; }
.photo-hero .lead { margin-bottom: 26px; }
.photo-hero .rating { color: #fff; margin-bottom: 16px; }
@media (min-width: 1000px) {
  .photo-hero { display: flex; align-items: flex-end; min-height: clamp(600px, 76vh, 780px); }
  .photo-hero .ph-media { position: absolute; inset: 0; aspect-ratio: auto; }
  .photo-hero .ph-content { position: relative; z-index: 2; width: 100%; padding-top: 0; padding-bottom: 0; }
  .photo-hero .ph-panel { position: relative; max-width: 700px; padding: 52px 0 64px; }
  .photo-hero .ph-panel::before {
    content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -100vw; right: -110px;
    background: rgba(0, 41, 71, .88); clip-path: polygon(0 0, 100% 0, calc(100% - 64px) 100%, 0 100%);
  }
  .photo-hero h1 { font-size: clamp(2.4rem, 1.2rem + 2.6vw, 3.6rem); }
}
@media (min-width: 1320px) {
  .photo-hero .ph-pink {
    display: block; position: absolute; z-index: 1; right: 0; bottom: 0; width: 27%; height: 46%;
    background: var(--pink); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
  }
}

.faq-cta { justify-content: center; margin-top: 40px; }

/* Homepage-hero: foto (1000×700) vult het rechter deel, zodat het gezicht naast het tekstvlak blijft */
@media (min-width: 1000px) {
  .photo-hero--right .ph-media { left: 32%; }
  /* Tekstvlak over de volle hoogte, tekst verticaal gecentreerd */
  .photo-hero--right .ph-content { align-self: stretch; display: flex; }
  .photo-hero--right .ph-panel { max-width: 640px; display: flex; flex-direction: column; justify-content: center; }
}
@media (min-width: 1600px) { .photo-hero--right .ph-media { left: 38%; } }
@media (min-width: 1000px) and (max-width: 1319px) {
  .photo-hero--right .ph-media { left: 42%; }
  .photo-hero--right .ph-panel { max-width: 560px; }
}

/* Fotohero op mobiel/tablet: het blauwe tekstvlak snijdt schuin door de onderkant van de foto,
   met een roze strook parallel aan die snede (AdVries-accent, vertaald naar een smal scherm) */
@media (max-width: 999px) {
  .photo-hero { --cut: 28px; --stripe: 14px; }
  .photo-hero .ph-media { position: relative; aspect-ratio: 1 / 1; }
  .photo-hero .ph-media::before {
    content: ""; position: absolute; bottom: 0; left: 45%; right: 0; height: calc(var(--cut) + var(--stripe));
    background: var(--pink);
    /* navylijn loopt van (0, H - cut) naar (100%, H); de strook ligt er 'stripe' boven, op 45%..100% van de breedte */
    clip-path: polygon(0 calc(var(--cut) * .45), 100% var(--cut), 100% calc(var(--cut) + var(--stripe)), 0 calc(var(--cut) * .45 + var(--stripe)));
  }
  .photo-hero .ph-content {
    position: relative; z-index: 1; margin-top: calc(var(--cut) * -1); padding-top: calc(var(--cut) + 20px);
    background: var(--navy); clip-path: polygon(0 0, 100% var(--cut), 100% 100%, 0 100%);
  }
}
@media (min-width: 640px) and (max-width: 999px) {
  .photo-hero { --cut: 40px; --stripe: 16px; }
  .photo-hero .ph-media { aspect-ratio: 16 / 10; }
}
/* Hero met foto rechts: smaller roze blok helemaal rechts, zodat het niet over de persoon valt */
@media (min-width: 1320px) {
  .photo-hero--right .ph-pink { width: 13%; height: 38%; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
}

/* ---------- Fotohero exact volgens het AdVries-klantverhaal ----------
   Blauw vlak tot ±68% van de breedte met schuine rechterrand; roze blok (42% hoog) sluit
   direct aan op die schuine rand en loopt door tot de rechterkant. */
@media (min-width: 1000px) {
  .photo-hero { --panel-x: max(28px, calc((100vw - 1200px) / 2 + 28px)); }
  .photo-hero .ph-panel::before { right: calc(100% - 68vw + var(--panel-x)); }
  .photo-hero--right .ph-panel::before { right: -110px; }
}
@media (min-width: 1320px) {
  .photo-hero .ph-pink {
    z-index: 3; left: 63vw; right: 0; width: auto; height: 42%;
    clip-path: polygon(3.4vw 0, 100% 0, 100% 100%, 0 100%);
  }
  .photo-hero--right .ph-pink { left: auto; width: 13%; height: 38%; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
}

/* AdVries-klantverhaal: geen losse blauwe strook onder de foto als de tekst langer is */
@media (min-width: 1000px) {
  .klant-feature img { height: 100%; object-fit: cover; object-position: left top; }
  .kf-text { padding-bottom: 56px; }
}

/* Blauw vlak en roze blok delen exact dezelfde schuine lijn (vaste hoek, zelfde voetpunt),
   zodat er nooit een strook foto tussen zit — ongeacht de hoogte van de tekst */
@media (min-width: 1000px) {
  .photo-hero { --slant: -6deg; --edge: 64vw; }
  .photo-hero .ph-panel::before {
    clip-path: none; transform: skewX(var(--slant)); transform-origin: 100% 100%;
    right: calc(100% - var(--edge) + var(--panel-x));
  }
  .photo-hero--right .ph-panel::before { right: -110px; }
}
@media (min-width: 1320px) {
  .photo-hero .ph-pink {
    clip-path: none; left: calc(var(--edge) - 3px); right: -25vw; width: auto; height: 42%; z-index: 1;
    transform: skewX(var(--slant)); transform-origin: 0 100%;
  }
  .photo-hero--right .ph-pink { left: auto; right: 0; width: 13%; height: 38%; transform: none; clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%); }
}

/* AdVries-klantverhaal: broodkruimels en meer lucht bovenin het blauwe vlak */
.klant-feature .crumbs { font-size: .875rem; color: #a9bccd; margin-bottom: 14px; }
.klant-feature .crumbs a { color: #a9bccd; }
@media (min-width: 1000px) {
  .kf-text { padding-top: calc(35vw * .394 + 44px); }
}

/* ---------- Eenheid: vaste opbouw voor ALLE fotohero's (desktop) ----------
   Zelfde hoogte, blauw vlak altijd de onderste 72% (tekst verticaal gecentreerd),
   roze blok altijd de onderste 42%: verhoudingen zijn per pagina identiek. */
@media (min-width: 1000px) {
  .photo-hero, .klant-feature { height: clamp(660px, 80vh, 820px); min-height: 0; }
  .photo-hero { align-items: stretch; }
  .photo-hero .ph-content { display: flex; align-items: flex-end; height: 100%; }
  .photo-hero .ph-panel { height: 72%; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; }
  .photo-hero--right .ph-panel { height: 100%; }
  .photo-hero .ph-panel .btns { margin-top: 4px; }

  /* AdVries-klantverhaal: zelfde hoogte; het ingebakken blauwe vlak begint op 39,4% van de foto */
  .klant-feature { position: relative; display: block; }
  .klant-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; }
  .kf-text { position: absolute; left: 0; right: 0; top: calc(39.4% + 36px); padding: 0 var(--gutter); }
  .klant-feature h1 { font-size: clamp(2rem, 1.2rem + 1.8vw, 3rem); }
  .klant-feature blockquote { font-size: 1rem; line-height: 1.7; }
  .kf-inner { max-width: min(780px, 52vw); }
}

/* AdVries-klantverhaal krijgt hetzelfde roze blok als de andere fotohero's */
.klant-feature .ph-pink { display: none; }
@media (min-width: 1320px) {
  .klant-feature { --slant: -6deg; --edge: 64vw; }
  .klant-feature .ph-pink {
    display: block; position: absolute; z-index: 1; bottom: 0; height: 42%;
    left: calc(var(--edge) - 3px); right: -25vw; background: var(--pink);
    transform: skewX(var(--slant)); transform-origin: 0 100%;
  }
  .klant-feature .kf-text { z-index: 2; }
}

.field-hint { font-size: .9rem; color: var(--muted); margin-top: -2px; }

/* ---------- Fotohero: vlakken als één SVG-figuur (desktop) ----------
   Blauw (effen) vanaf 28% hoogte tot 68%→64% breedte; roze vanaf 44% hoogte, met de linkerrand
   onder het blauw. Identiek op alle pagina's met fotohero, inclusief het AdVries-klantverhaal. */
.ph-shapes { display: none; }
@media (min-width: 1000px) {
  .ph-shapes { display: block; position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
  .ph-s-navy { fill: rgba(0, 41, 71, .88); }
  .ph-s-pink { fill: var(--pink); }
  .photo-hero:not(.photo-hero--right) .ph-panel::before,
  .photo-hero:not(.photo-hero--right) .ph-pink,
  .klant-feature .ph-pink { display: none; }
  .photo-hero--right .ph-shapes { display: none; }
  /* Tekst blijft altijd binnen het blauwe vlak (onderrand op 64% van de breedte) */
  .photo-hero:not(.photo-hero--right) .ph-panel { max-width: min(700px, calc(64vw - var(--panel-x) - 48px)); }

  /* AdVries: foto op volle breedte zonder zijwaarts bijsnijden; de ingebakken vlakken vallen onder de SVG */
  .klant-feature { background: #00365c; }
  .klant-feature img { inset: 0 auto auto 0; width: 100%; height: auto; object-fit: fill; }
  .klant-feature .kf-text { top: 28%; bottom: 0; display: flex; align-items: center; }
  .klant-feature .kf-inner { max-width: min(780px, calc(64vw - var(--panel-x) - 48px)); }
  .klant-feature { --panel-x: max(28px, calc((100vw - 1200px) / 2 + 28px)); }
}

/* AdVries-klantverhaal via hetzelfde fotohero-component */
.photo-hero--advries .kf-name { color: #fff; font-size: 1.15rem; font-weight: 500; margin: 0 0 16px; }
.photo-hero--advries .kf-quote { margin: 0; font-size: 1.02rem; line-height: 1.7; color: #d6e2ec; }
@media (max-width: 999px) {
  /* Mobiel: alleen het schone bovenste deel van de foto tonen (daaronder zit het ingebakken vlak) */
  .photo-hero--advries .ph-media { overflow: hidden; aspect-ratio: 16 / 10; }
  .photo-hero--advries .ph-media img { height: 250%; object-position: 62% 0; }
}
@media (min-width: 1000px) {
}

/* ---------- Fotohero: vlakken vast aan het tekstblok ----------
   Het blauwe vlak + roze blok (SVG) zitten in .ph-zone, de strook met de tekst. De tekst kan er dus nooit
   buiten vallen. De zone is overal 480px hoog (groeit alleen mee als tekst echt meer ruimte nodig heeft);
   de hero is minimaal 480/0,606 = 792px, zodat het blauw op ±39% begint en het roze op ±50%. */
@media (min-width: 1000px) {
  .photo-hero:not(.photo-hero--right) {
    display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch;
    height: auto; min-height: 792px;
  }
  .photo-hero:not(.photo-hero--right) .ph-shapes { position: absolute; inset: 0; width: 100%; height: 100%; }
  .photo-hero:not(.photo-hero--right) .ph-zone { position: relative; min-height: 480px; display: flex; }
  .photo-hero:not(.photo-hero--right) .ph-content { position: relative; z-index: 2; height: auto; display: flex; align-items: center; }
  .photo-hero:not(.photo-hero--right) .ph-panel { height: auto; padding: 24px 0 28px; }
  .photo-hero:not(.photo-hero--right) h1 { font-size: clamp(2.2rem, 1rem + 2vw, 3rem); }
}

/* Homepage-hero: tekst lijnt uit met het logo (en heeft op kleinere schermen extra ruimte links);
   het donkerblauwe vlak loopt altijd een stuk over de foto heen, dus nooit een lichtblauwe strook ertussen.
   Kleur = exact de huidige doorzichtige navy op de herokleur, maar dekkend, zodat de fotorand er niet doorheen schijnt. */
@media (min-width: 1000px) {
  .photo-hero--right {
    --hp-w: 640px; --hp-pad: clamp(32px, 4vw, 72px);
    --hp-x: max(var(--panel-x), calc(28px + var(--hp-pad)));
    --hp-edge: calc(var(--hp-x) + var(--hp-w) + 110px);
  }
  .photo-hero--right .ph-content { max-width: none; margin: 0; padding-left: var(--hp-x); padding-right: 0; }
  .photo-hero--right .ph-panel { width: var(--hp-w); max-width: none; padding-left: 0; }
  .photo-hero--right .ph-panel::before { background: #002b4a; }
  .photo-hero--right .ph-media { left: calc(var(--hp-edge) - 120px); }
}
@media (min-width: 1000px) and (max-width: 1319px) {
  .photo-hero--right { --hp-w: 540px; }
}
