/* Frontlabel – stijl naar de Cliste-template: donker, aurora-achtergrond, glas, witte pil-knoppen.
   Gedeeld door de homepage en de dienstpagina's. Alleen donker. */

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --bg: #000000;
  --ink: #F7F7F8;
  --ink-2: rgba(255, 255, 255, .8);
  --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .07);
  --line-soft: rgba(255, 255, 255, .1);
  --glass: rgba(255, 255, 255, .1);
  --glass-hover: rgba(255, 255, 255, .14);
  --glass-card: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05));
  --glass-soft: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  --panel: rgba(16, 17, 19, .82);
  --white: #FFFFFF;
  --black: #000000;
  --btn: #FFFFFF;
  --btn-ink: #000000;
  --star: #FCBF07;
  --ok: #30D158;
  --shadow: 0 4px 20px rgba(0, 0, 0, .3), 0 0 20px rgba(156, 163, 175, .05);

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1180px;
  --gutter: 24px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
  overflow-x: clip;
  background: var(--bg);
}
body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
em { font-style: italic; font-weight: 500; }
::selection { background: var(--white); color: var(--black); }

:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 8px; }

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--btn);
  color: var(--btn-ink);
  font-weight: 600;
}
.skip:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }

/* ---------- Aurora-achtergrond ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 55% at 22% 0%, rgba(100, 116, 139, .38), transparent 70%),
    radial-gradient(40% 55% at 78% 0%, rgba(71, 85, 105, .38), transparent 70%),
    radial-gradient(60% 40% at 50% 0%, rgba(148, 163, 184, .18), transparent 70%);
}
.aurora canvas { display: block; width: 100%; height: 100%; }
.aurora.is-live { background: none; }

main, .foot { position: relative; z-index: 1; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 128px var(--gutter); }
.sec, .sec-alt { background: transparent; }

.h2,
.cta h2 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  font-weight: 300;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.sec-head { margin: 0 auto 64px; max-width: 820px; text-align: center; }
.sec-head .h2 { margin-bottom: 20px; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }

/* ---------- Knoppen en links ---------- */
.btn,
.btn2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.btn { background: var(--btn); color: var(--btn-ink); }
.btn:hover { background: #F2F2F3; transform: scale(1.04); box-shadow: 0 10px 30px rgba(255, 255, 255, .12); }
.btn svg { transition: transform .3s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn2 { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn2:hover { background: var(--glass); transform: scale(1.04); }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 18px; font-weight: 500; }

.link {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  text-decoration-color: #ff7c4c;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--white); }
.chev { display: inline-block; margin-left: .4em; text-decoration: none; transition: transform .2s ease; }
.link:hover .chev { transform: translateX(2px); }

.mag { display: inline-flex; padding: 12px; margin: -12px; }
.mag > .btn { will-change: transform; }

/* Glaskaart, gedeeld door alle kaarten */
.problem, .case, .plan, .tblock, .stef, .review, .quote-card, .cta-card, .slots {
  border: 1px solid var(--line);
  background: var(--glass-card);
  box-shadow: var(--shadow);
}

/* ---------- Navigatie: zwevende glazen pil ---------- */
.site-header {
  position: fixed;
  top: 24px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 12px;
  transition: transform .5s ease, opacity .5s ease;
}
.site-header.is-hidden { transform: translateY(-120px); opacity: 0; }
.site-header:focus-within { transform: none; opacity: 1; }
.nav-bar {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 880px;
  height: 64px;
  margin: 0 auto;
  padding: 0 8px 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background-color .4s ease, border-color .4s ease, -webkit-backdrop-filter .4s ease, backdrop-filter .4s ease;
}
/* Glas pas na scrollen, of als een menu open is */
.site-header.is-scrolled .nav-bar,
.site-header:has([aria-expanded="true"]) .nav-bar {
  border-color: rgb(255 255 255 / 6%);
  background: var(--glass);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.brand { display: inline-flex; align-items: center; transition: transform .2s ease; }
.brand:hover { transform: scale(1.05); }
.brand img { display: block; width: auto; }
.brand-nav img { height: 30px; }
.brand .on-light { display: none; }

.menu { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 15px; font-weight: 500; }
.menu a,
.menu-btn {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease;
}
.menu a:hover,
.menu-btn:hover,
.menu-btn[aria-expanded="true"] { color: var(--white); background: var(--glass); }
.menu a:focus-visible,
.menu-btn:focus-visible { outline: none; color: var(--white); background: var(--glass); box-shadow: inset 0 0 0 2px var(--white); }

.nav-end { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.btn-nav { min-height: 46px; padding: 0 22px; font-size: 15px; font-weight: 500; }
.nav-end .mag { padding: 8px; margin: -8px; }

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: 2px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
}
.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform .3s ease, translate .3s ease;
}
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { translate: 0 3px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { translate: 0 -3px; transform: rotate(-45deg); }

/* Uitklapmenu Diensten: donker glas, even breed als de balk */
.mega {
  position: absolute;
  left: 12px;
  right: 12px;
  top: calc(100% + 10px);
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  border-radius: 28px;
  border: 1px solid rgb(255 255 255 / 6%);
  background: var(--glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
  opacity: 0;
  visibility: hidden;
  translate: 0 -6px;
  transition: opacity .25s ease, translate .25s ease, visibility 0s .25s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.mega.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s ease, translate .3s ease, visibility 0s; }
.mega-inner {
  padding: 24px 24px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 28px;
}
.mega-label { margin: 0 0 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.mega-label + .mega-list + .mega-label { margin-top: 20px; }
.mega-list { display: flex; flex-direction: column; gap: 2px; }
.mega-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin: 0 -10px;
  padding: 8px 10px;
  border-radius: 14px;
  color: var(--ink-2);
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.mega-list .mi { flex: 0 0 20px; color: var(--muted); transition: color .2s ease; }
.mega-list strong { font-size: 15px; font-weight: 500; }
.mega-list a:hover,
.mega-list a:focus-visible { background-color: var(--glass); color: var(--white); outline: none; }
.mega-list a:focus-visible { box-shadow: inset 0 0 0 2px var(--white); }
.mega-list a:hover .mi,
.mega-list a:focus-visible .mi { color: var(--white); }
.mega-list:has(a:hover) a:not(:hover) { opacity: .55; }

.mega-dim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility 0s .3s;
}
.mega-dim.is-open { opacity: 1; visibility: visible; transition: opacity .3s ease, visibility 0s; }

/* Mobiel menu: glazen paneel onder de balk */
.mob { display: none; }
@media (max-width: 860px) {
  .menu, .nav-end .mag, .mega, .mega-dim { display: none; }
  .burger { display: block; }
  .nav-bar { height: 60px; padding: 0 8px 0 20px; }
  .mob {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    left: 12px;
    right: 12px;
    top: calc(100% + 10px);
    z-index: 1;
    max-height: calc(100dvh - 120px);
    padding: 20px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 24px;
    border: 1px solid var(--line);
    background: var(--panel);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: opacity .3s ease, translate .3s ease, visibility 0s .3s;
  }
  .mob.is-open { opacity: 1; visibility: visible; translate: 0 0; transition: opacity .3s ease, translate .3s ease, visibility 0s; }
  .mob-main > li > a,
  .mob-main > li > span {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
  }
  .mob-main > li > a:hover { background: var(--glass); }
  .mob-sub { margin: 0 0 8px; }
  .mob-sub a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; font-size: 16px; color: var(--muted); }
  .mob-sub a:hover { background: var(--glass); color: var(--white); }
  .mob .btn { min-height: 52px; }
}

/* ---------- 1. Hero ---------- */
.hero-center {
  max-width: 1240px;
  margin: 0 auto;
  padding: 116px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-badge {
  margin-bottom: 28px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, .5);
}
.hero h1,
.page h1 {
  font-size: clamp(40px, 4.7vw, 68px);
  line-height: 1.14;
  font-weight: 300;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }
/* Wisselend woord: zelfde regelhoogte en basislijn als de rest van de kop */
.rot {
  display: inline-grid;
  vertical-align: baseline;
  margin: 0 .04em;
  color: var(--white);
  font-weight: 700;
  overflow-x: visible;
  overflow-y: clip;
  transition: width .35s cubic-bezier(.22, .61, .36, 1);
}
.rot-word { grid-area: 1 / 1; justify-self: center; display: block; white-space: nowrap; }
/* Duwen: beide woorden bewegen even ver, even snel en met dezelfde curve, dus ze schuiven als één strook */
.rot-word.in { animation: rotIn .6s cubic-bezier(.65, 0, .35, 1) both; }
.rot-word.out { animation: rotOut .6s cubic-bezier(.65, 0, .35, 1) both; }
@keyframes rotIn { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes rotOut { from { transform: translateY(0); } to { transform: translateY(-100%); } }
.hero-sub {
  max-width: 46rem;
  margin: 28px auto 0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--white);
  text-wrap: balance;
}
.hero-ctas { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px; }

.proof { margin-top: 24px; display: inline-flex; align-items: center; gap: 12px; padding: 4px 14px 4px 4px; border-radius: 999px; font-size: 15px; color: var(--muted); }
.proof img { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; box-shadow: 0 0 0 2px var(--black); }
.stars { color: var(--star); letter-spacing: 2px; margin-right: 6px; }
.pile { display: inline-flex; align-items: center; }
.pile > * { position: relative; margin-left: -10px; transition: margin .45s cubic-bezier(.34, 1.56, .5, 1), transform .3s ease; transition-delay: calc(var(--i, 0) * .03s); }
.pile > :first-child { margin-left: 0; }
.proof:hover .pile > *, .proof:focus-visible .pile > *, .plan:hover .pile > *, .plan:focus-within .pile > * { margin-left: 4px; }
.proof:hover .pile > :first-child, .proof:focus-visible .pile > :first-child, .plan:hover .pile > :first-child, .plan:focus-within .pile > :first-child { margin-left: 0; }
.pile > :hover { transform: translateY(-4px) scale(1.08); z-index: 2; }

/* Klantlogo's: doorlopende strook */
.trust { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter) 56px; text-align: center; }
.trust-label { margin-bottom: 28px; font-size: 14px; color: var(--white); }
.marquee {
  display: flex;
  overflow: hidden;
  opacity: .6;
  transition: opacity .5s ease;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee:hover { opacity: .85; }
.marquee { --mq-gap: 56px; }
.marquee-track { flex: 0 0 auto; display: flex; align-items: center; gap: var(--mq-gap); margin-right: var(--mq-gap); animation: slideLeft 32s linear infinite; }
.marquee-track img { display: block; height: 28px; width: auto; filter: brightness(0) invert(1); }
/* De marge hoort bij de lus: de rij schuift een rijbreedte plus de marge op, dus de naad sluit naadloos aan */
@keyframes slideLeft { to { transform: translateX(calc(-100% - var(--mq-gap))); } }

/* Cases in de hero: diavoorstelling in een glazen kader */
.hero-figure { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.slides {
  position: relative;
  aspect-ratio: 1620 / 716;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--glass);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s cubic-bezier(.4, 0, .2, 1); }
.slide.is-on { opacity: 1; }
.slide-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; scale: 1.035; transition: scale 7s cubic-bezier(.2, 0, .2, 1); }
.slide.is-on .slide-img { scale: 1; }
.chips { position: absolute; top: clamp(16px, 5%, 40px); left: clamp(16px, 3%, 40px); display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  background-color: rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  color: var(--white);
  font-size: 16px;
  line-height: 1.3;
  opacity: 0;
  translate: 0 10px;
  transition: opacity .4s ease, translate .4s ease;
}
.chip svg { flex: 0 0 18px; }
.slide.is-on .chip { opacity: 1; translate: 0 0; transition: opacity .8s cubic-bezier(.22, .61, .36, 1) calc(.6s + var(--ci) * .25s), translate .8s cubic-bezier(.22, .61, .36, 1) calc(.6s + var(--ci) * .25s); }
.slides-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 72px clamp(16px, 3%, 40px) 22px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
  font-size: 15px;
  color: rgba(255, 255, 255, .9);
}
.pills { display: flex; align-items: center; gap: 4px; }
.pill-btn { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; transition: width .4s cubic-bezier(.4, 0, .2, 1); }
.pill-btn::before, .pill-btn::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; }
.pill-btn::before { background: rgba(255, 255, 255, .3); }
.pill-btn:not(.is-on)::after { display: none; }
.pill-btn.is-on { width: 48px; }
.pill-btn.is-on::after { background: var(--white); transform-origin: left center; animation: prog 6s linear forwards; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slides-bar.paused .pill-btn.is-on::after { animation-play-state: paused; }
.caps { display: grid; }
.cap { grid-area: 1 / 1; opacity: 0; transition: opacity .8s ease; }
.cap.is-on { opacity: 1; }
.slides-toggle { margin-left: auto; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; background: rgba(255, 255, 255, .15); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--white); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.slides-toggle .i-play { display: none; }
.slides-bar.user-paused .slides-toggle .i-play { display: block; }
.slides-bar.user-paused .slides-toggle .i-pause { display: none; }
html:not(.js) .slides-bar { display: none; }

/* ---------- 2. Herkenning ---------- */
.herken-head { margin-bottom: 56px; display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.seg button { min-height: 44px; padding: 0 22px; border: none; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 15px; font-weight: 600; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.seg button[aria-pressed="true"] { background: var(--white); color: var(--black); }
html:not(.js) .seg { display: none; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 20px; }
.problem { display: flex; flex-direction: column; gap: 20px; padding: 36px; border-radius: 24px; }
.problem svg { width: 36px; height: 36px; color: var(--white); }
.problem .q { font-size: 21px; line-height: 1.35; font-weight: 500; letter-spacing: -0.01em; }
.problem .fix { font-size: 16px; color: var(--muted); }
.route-title { margin-bottom: 20px; font-size: 15px; font-weight: 600; color: var(--muted); text-align: center; }
.js .route-title { display: none; }
.route-list + .route-list { margin-top: 48px; }
.js .route-list + .route-list { margin-top: 0; }
.route-more { margin-top: 48px; text-align: center; }

/* ---------- 3. Werk ---------- */
/* Cases: breder dan de rest van de site, maar altijd met ruimte tot de schermrand */
.grid-cases {
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: min(1600px, calc(100vw - 2 * clamp(24px, 3vw, 48px)));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.case { display: flex; flex-direction: column; border-radius: 24px; overflow: hidden; transition: border-color .3s ease; }
.case:hover { border-color: rgba(255, 255, 255, .32); }
.case .frame { aspect-ratio: 2 / 1; overflow: hidden; }
.case .pic { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s cubic-bezier(.22, .61, .36, 1); }
.case:hover .pic { transform: scale(1.03); }
.case .body { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding: clamp(28px, 3vw, 44px); }
.case h3 { max-width: 22em; font-size: clamp(24px, 2.3vw, 34px); line-height: 1.3; font-weight: 300; letter-spacing: -0.04em; text-wrap: balance; }
.case-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; }
.case .client-logo { height: 26px; width: auto; filter: brightness(0) invert(1); }
.case .client { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.case .result { display: inline-flex; align-items: baseline; gap: 6px; padding: 10px 18px; border-radius: 999px; background: var(--glass); font-size: 15px; color: var(--ink-2); }
.case .result strong { color: var(--white); }
/* De derde case over de volle breedte: beeld links, tekst rechts */
.case-wide { grid-column: 1 / -1; flex-direction: row; }
.case-wide .frame { flex: 0 0 50%; aspect-ratio: 2 / 1; }
@media (max-width: 900px) {
  .grid-cases { grid-template-columns: minmax(0, 1fr); width: calc(100vw - 2 * var(--gutter)); }
  .case-wide { flex-direction: column; }
  .case-wide .frame { flex: none; }
  .case .frame { aspect-ratio: 16 / 10; }
  .case .body { gap: 32px; }
}

/* ---------- 4. Tarieven ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); column-gap: 20px; }
.plan { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: 24px; padding: 36px; border-radius: 24px; }
.plan h3 { font-size: 24px; line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; }
.plan .title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.plan .for { margin-top: 4px; font-size: 15px; color: var(--muted); }
.plan .stack { margin-top: 14px; display: flex; }
.plan .more { align-self: end; justify-self: start; }
.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; background: var(--white); color: var(--black); font-size: 12px; font-weight: 700; white-space: nowrap; }
.logo-dot { width: 34px; height: 34px; border-radius: 999px; background: var(--white); box-shadow: 0 0 0 2px var(--black); display: inline-flex; align-items: center; justify-content: center; }
.logo-dot img { width: 20px; height: 20px; object-fit: contain; }
.price small { display: block; font-size: 14px; color: var(--muted); }
.price strong { display: block; font-size: 44px; font-weight: 300; letter-spacing: -0.03em; line-height: 1.1; }
.price .per { display: block; margin-top: 6px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: 0 0 20px; width: 20px; height: 20px; padding: 4px; border-radius: 50%; background: var(--white); color: var(--black); }
.tblock { margin-top: 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px 48px; align-items: center; padding: 48px; border-radius: 24px; }
.tblock-kicker { margin: 0 0 12px; font-size: 15px; font-weight: 500; color: var(--muted); }
.tblock-title { font-size: clamp(28px, 3vw, 38px); line-height: 1.12; font-weight: 300; letter-spacing: -0.025em; text-wrap: balance; }
.tlist { margin: 28px 0; font-size: 16px; color: var(--ink-2); }
.tlist li { padding: 12px 0; border-top: 1px solid var(--line-soft); }
.tlist li:last-child { border-bottom: 1px solid var(--line-soft); }
.tfan { position: relative; height: 320px; }
.tfan img {
  position: absolute;
  left: 50%;
  bottom: 24px;
  width: 170px;
  height: 232px;
  margin-left: -85px;
  object-fit: cover;
  object-position: 50% 0;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .1);
  transform-origin: 50% 130%;
  transform: translateX(calc(var(--x) * 60px)) rotate(calc(var(--x) * 11deg));
  transition: transform .9s cubic-bezier(.34, 1.35, .5, 1) var(--d, 0s), translate .3s ease;
}
.reveal-ready .tfan:not(.fanned) img { transform: rotate(calc(var(--x) * 2deg)); }
.tfan img:hover { translate: 0 -10px; }
.price-note { margin: 32px auto 0; max-width: 680px; text-align: center; font-size: 14px; line-height: 1.7; color: var(--muted); }
.price-note .link { font-size: inherit; }

/* ---------- 5. Werkwijze ---------- */
.werkwijze .h2 { margin-bottom: 72px; text-align: center; }
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.flow::before { content: ""; position: absolute; top: 24px; left: 24px; right: calc(25% - 42px); height: 1px; background: var(--line); }
.flow li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.flow-node { position: relative; z-index: 1; width: 48px; height: 48px; margin-bottom: 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: center; color: var(--white); }
.flow li:first-child .flow-node { background: var(--white); color: var(--black); border-color: var(--white); }
.flow-when { font-size: 13px; font-weight: 600; color: var(--muted); }
.flow li:first-child .flow-when { color: var(--white); }
.flow strong { margin-top: 4px; font-size: 20px; line-height: 1.3; font-weight: 500; }
.flow .desc { font-size: 15px; line-height: 1.45; color: var(--muted); }
.werkwijze-cta { margin-top: 72px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.slots { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; padding: 14px 22px; border-radius: 999px; font-size: 15px; font-weight: 500; box-shadow: none; }
.slots .bars { display: flex; gap: 4px; }
.slots .bars span { width: 18px; height: 8px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--muted); }
.slots .bars .taken { background: var(--white); box-shadow: none; }
.guarantee { margin: 40px auto 0; max-width: 760px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 17px; line-height: 1.45; text-align: center; }
.guarantee svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--ok); }

/* ---------- 6. Over Stef ---------- */
.stef { max-width: 880px; margin: 0 auto 128px; padding: 48px clamp(28px, 5vw, 56px); border-radius: 28px; display: flex; flex-direction: column; gap: 28px; }
.stef-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.avatar { width: 88px; height: 88px; flex: 0 0 88px; border-radius: 999px; box-shadow: 0 0 0 1px var(--line); }
.stef-head h2 { font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; font-weight: 300; letter-spacing: -0.03em; }
.stef-head span { font-size: 16px; color: var(--muted); }
.stef-intro { font-size: clamp(19px, 2vw, 23px); line-height: 1.5; font-weight: 300; letter-spacing: -0.01em; }
.stats { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 28px; border-top: 1px solid var(--line-soft); }
.stats div { display: flex; flex-direction: column-reverse; justify-content: flex-end; }
.stats dd { margin: 0; font-size: clamp(28px, 3vw, 38px); font-weight: 300; letter-spacing: -0.03em; line-height: 1.3; }
.stats dt { font-size: 15px; line-height: 1.4; color: var(--muted); }
.stef-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 36px; }

.reviews-head { margin-bottom: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; font-size: 16px; font-weight: 500; color: var(--ink-2); }
.gbadge { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 999px; background: var(--white); display: inline-flex; align-items: center; justify-content: center; }

/* Reviews: drie kolommen die langzaam doorlopen */
.review-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  height: 680px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}
.rcol { overflow: hidden; }
.rtrack { display: flex; flex-direction: column; gap: 24px; padding-bottom: 24px; animation: scrollUp var(--dur, 30s) linear infinite; }
.rcol:hover .rtrack { animation-play-state: paused; }
@keyframes scrollUp { to { transform: translateY(-50%); } }
.review { display: flex; flex-direction: column; gap: 24px; padding: 32px; border-radius: 24px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.review blockquote { font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .88); }
.person { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.person img { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 999px; object-fit: cover; }
.initials { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
.person > span:last-child { display: flex; flex-direction: column; font-size: 15px; line-height: 1.35; }
.person > span:last-child span { color: var(--muted); }

/* ---------- 7. FAQ ---------- */
.faq-head { margin-bottom: 56px; text-align: center; }
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 72px; padding: 12px 0; font-size: 19px; font-weight: 500; line-height: 1.4; cursor: pointer; list-style: none; transition: color .2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--white); }
.faq .plus { flex: 0 0 auto; font-size: 28px; font-weight: 300; line-height: 1; color: var(--muted); transition: transform .25s ease; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding-bottom: 24px; color: var(--muted); }

/* ---------- 8. Actie: kaart ---------- */
.cta .wrap { padding-top: 64px; padding-bottom: 128px; }
.cta-card { max-width: 900px; margin: 0 auto; padding: clamp(36px, 6vw, 64px); border-radius: 32px; display: flex; flex-direction: column; align-items: center; gap: 24px; text-align: center; }
.cta-card h2 { max-width: 720px; }
.cta-card .lead { max-width: 560px; }
.cta-card .small { font-size: 15px; color: var(--muted); }
.cta-card .small a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Footer ---------- */
.foot {
  max-width: 1300px;
  margin: 0 auto;
  border-radius: 48px 48px 0 0;
  border-top: 1px solid var(--line);
  background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, .08), transparent);
}
.foot::before { content: ""; position: absolute; top: 0; left: 50%; width: 33%; height: 1px; transform: translate(-50%, -50%); border-radius: 999px; background: rgba(255, 255, 255, .25); filter: blur(4px); }
.foot-in { padding: 48px 96px 48px; }
@media (max-width: 1000px) { .foot-in { padding-left: 48px; padding-right: 48px; } }
.foot .brand img { height: 48px; }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line-soft); }
.foot-proof { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .2s ease; }
.foot-proof:hover { color: var(--white); }
.foot-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; align-items: start; }
.foot-company, .foot-col { display: flex; flex-direction: column; gap: 32px; }
.foot-company { gap: 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.foot-company p { margin: 0; }
.foot-company strong, .foot-grid nav strong { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--white); }
.foot-company a { transition: color .2s ease; }
.foot-company a:hover { color: var(--white); }
.foot-small { font-size: 13px; }
.foot-social { align-self: flex-start; display: inline-grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 999px; color: var(--white); transition: background-color .2s ease; }
.foot-social:hover { background: var(--glass); }
.foot-grid nav { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.foot-grid nav strong { margin-bottom: 6px; }
.foot-grid nav a { transition: color .2s ease; }
.foot-grid nav a:hover { color: var(--white); }
.foot-base { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; font-size: 13px; color: var(--muted); }

/* ---------- Dienstpagina's (zoals /website-laten-maken/) ---------- */
.hero-grid { max-width: var(--wrap); margin: 0 auto; padding: 160px var(--gutter) 72px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(min-content, 1fr); gap: 40px 72px; align-items: end; }
.page h1 { font-size: clamp(40px, 4.7vw, 68px); }
.hero-side > p { font-size: 18px; line-height: 1.6; font-weight: 300; color: var(--ink-2); }
.hero-grid .hero-ctas { margin-top: 28px; justify-content: flex-start; }
.hero-grid .proof { margin: 24px 0 0 -4px; }
.crumbs { grid-column: 1 / -1; margin: 0 0 56px; font-size: 14px; color: var(--muted); }
.crumbs ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 0 10px; }
.crumbs li + li::before { content: "›"; margin-right: 10px; }
.crumbs a:hover { color: var(--white); }
.page-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 24px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: 14px; font-weight: 500; }
.shot { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 64px; }
.shot-img { position: relative; aspect-ratio: 1620 / 716; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--glass); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.shot-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.shot figcaption { margin-top: 14px; font-size: 14px; color: var(--muted); text-align: center; }
.gets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gets li { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass-soft); }
.gets svg { width: 32px; height: 32px; }
.gets p { font-size: 17px; line-height: 1.5; }
.gets p span { color: var(--muted); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.price-grid .plan { display: flex; flex-direction: column; gap: 24px; padding: 40px; }
.price-grid .plan .mag { align-self: flex-start; margin-top: auto; }
.price-grid .plan .link { margin-top: auto; align-self: flex-start; }
.plan-ghost { background: transparent; box-shadow: none; }
.plan-ghost .text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.quote-card { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; padding: 48px; border-radius: 28px; }
.quote-card .src { font-size: 16px; color: var(--muted); }
.quote-card blockquote { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.45; font-weight: 300; letter-spacing: -0.01em; }
.page .guarantee { margin-top: 56px; }
.cta-card .avatar { margin-bottom: 4px; }

/* ---------- Inkomen bij scrollen (alleen met script, niet bij reduced motion) ---------- */
.reveal-on [data-reveal]:not(.in),
.reveal-on [data-stagger] > :not(.in) { opacity: 0; translate: 0 32px; filter: blur(4px); }
.reveal-on [data-zoom]:not(.in) { translate: none; scale: .96; }
.reveal-ready [data-reveal],
.reveal-ready [data-stagger] > * {
  transition: opacity 1s cubic-bezier(.22, .61, .36, 1) var(--d, 0s), translate 1s cubic-bezier(.22, .61, .36, 1) var(--d, 0s), filter 1s ease var(--d, 0s), scale 1.2s cubic-bezier(.22, .61, .36, 1) var(--d, 0s), transform .3s ease, border-color .3s ease;
}
[data-stagger] > :nth-child(2) { --d: .1s; }
[data-stagger] > :nth-child(3) { --d: .2s; }
[data-stagger] > :nth-child(4) { --d: .3s; }
[data-stagger] > :nth-child(5) { --d: .4s; }
[data-stagger] > :nth-child(6) { --d: .5s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 140px; }
  .plans { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 16px; }
  .plan { grid-row: auto; display: flex; flex-direction: column; gap: 24px; }
  .plan .more { margin-top: auto; }
  .tblock { grid-template-columns: minmax(0, 1fr); padding: 32px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-company { grid-column: 1 / -1; }
  .mega-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  /* Smal scherm: reviews stilstaand onder elkaar, zodat er geen enkele wegvalt */
  .review-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); height: auto; -webkit-mask-image: none; mask-image: none; }
  .rcol, .rtrack { display: contents; }
  .rtrack { animation: none; }
  .rtrack .review[aria-hidden="true"] { display: none; }
  .gets, .price-grid { grid-template-columns: minmax(0, 1fr); }
  .price-grid .plan { padding: 32px; }
  .crumbs { margin-bottom: 40px; }
}

@media (max-width: 760px) {
  .site-header { top: 16px; }
  .wrap { padding-top: 96px; padding-bottom: 96px; }
  .hero-center { padding-top: 130px; min-height: 0; padding-bottom: 56px; }
  .hero-ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; margin-top: 36px; }
  .hero-ctas .mag { display: flex; padding: 0; margin: 0; }
  .hero-ctas .btn, .hero-ctas .btn2 { width: 100%; }
  .trust { padding-bottom: 64px; }
  .marquee { --mq-gap: 36px; }
  .marquee-track { animation-duration: 25s; }
  .slides { aspect-ratio: 4 / 5; }
  .chips { display: none; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .flow::before { top: 24px; bottom: 24px; left: 24px; right: auto; width: 1px; height: auto; }
  .flow li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start; }
  .flow-node { grid-column: 1; grid-row: 1 / span 3; margin: 0; }
  .flow li > :not(.flow-node) { grid-column: 2; }
  .slots { border-radius: 20px; }
  .foot { border-radius: 32px 32px 0 0; }
  .foot-in { padding: 48px 24px 32px; }
  .hero-grid { padding-top: 120px; }
  .page .hero-grid { text-align: left; }
}

@media (max-width: 600px) {
  .tfan { height: 250px; }
  .tfan img { width: 124px; height: 170px; margin-left: -62px; transform: translateX(calc(var(--x) * 40px)) rotate(calc(var(--x) * 10deg)); }
  .stats dd { font-size: 26px; }
  .stats dt { font-size: 13px; }
  .problem, .plan, .review { padding: 28px; }
}

/* ---------- Rustig bij reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
  .slide-img { scale: 1; }
  .reveal-on [data-reveal]:not(.in),
  .reveal-on [data-stagger] > :not(.in) { opacity: 1; translate: none; scale: none; filter: none; }
  .case:hover, .case:hover .pic, .pile > :hover, .tfan img:hover, .btn:hover, .btn2:hover { transform: none; translate: none; }
  /* Reviews zonder beweging: alle reviews gewoon onder elkaar */
  .review-cols { height: auto; -webkit-mask-image: none; mask-image: none; }
  .review-cols .rcol { display: block !important; }
  .rtrack .review[aria-hidden="true"] { display: none; }
}

/* ---------- Koppen: strakke letterafstand en accentwoord ---------- */
h1, h2, h3,
h1, h2, h3, .h2, .hero h1, .page h1, .cta h2, .stef-head h2, .tblock-title, .plan h3, .foot-h { letter-spacing: -0.05em; }
:is(h1, h2, h3, .foot-h) em {
  font-style: normal;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

/* ---------- Call-to-action-knoppen: kleurverloop (niet in de navigatie) ---------- */
:root { --cta-gradient: linear-gradient(160deg, rgb(43 96 218), #9b55c8, #ff56aa, #fd9057, #fcb328); }
.btn:not(.btn-nav):not(.mob .btn) {
  background: var(--cta-gradient);
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.btn:not(.btn-nav):not(.mob .btn):hover {
  background: var(--cta-gradient);
  filter: saturate(1.1) brightness(1.05);
  box-shadow: 0 12px 36px -8px rgba(255, 86, 170, .45);
}

/* ---------- Squircle-hoeken overal (Chrome/Edge; elders gewone ronde hoeken) ---------- */
@supports (corner-shape: squircle) {
  *, *::before, *::after { corner-shape: squircle; }
  /* Een squircle oogt kleiner dan een gewone ronding met dezelfde straal, dus de straal gaat omhoog */
  .problem, .case, .plan, .tblock, .review, .gets li, .slides, .shot-img { border-radius: 40px; }
  .stef, .quote-card { border-radius: 48px; }
  .cta-card { border-radius: 56px; }
  .mega { border-radius: 44px; }
  .mob { border-radius: 40px; }
  .mega-list a, .mob-main > li > a, .mob-main > li > span, .mob-sub a { border-radius: 20px; }
  .chip { border-radius: 24px; }
  .tfan img { border-radius: 24px; }
  .foot { border-radius: 80px 80px 0 0; }
  .slots .bars span { border-radius: 6px; }
  /* Profielfoto's blijven een echte cirkel */
  .person img, .person .initials, .pile > *, .avatar { corner-shape: round; }
}

/* ---------- Hero: tekst links, carousel rechts tot tegen de rand ---------- */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
  padding: 168px 0 0 max(var(--gutter), calc((100% - var(--wrap)) / 2 + var(--gutter)));
}
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.hero-copy .hero-badge { margin-bottom: 24px; }
.hero .hero-copy h1 { font-size: clamp(40px, 4.7vw, 68px); line-height: 1.06; text-wrap: initial; }
.hero-copy .hero-sub { margin: 36px 0 0; max-width: 36rem; text-wrap: pretty; }
.hero-copy .hero-ctas { justify-content: flex-start; margin-top: 40px; }
.hero-copy .proof { margin: 24px 0 0 -4px; }
.hero .hero-figure { max-width: none; margin: 0; padding: 0; min-width: 0; }
.hero .slides { aspect-ratio: 16 / 10.3; border-right: 0; border-radius: 28px 0 0 28px; }
@supports (corner-shape: squircle) { .hero .slides { border-radius: 44px 0 0 44px; } }
.hero .trust { padding-top: 120px; padding-bottom: 32px; }

@media (max-width: 900px) {
  .hero-split { grid-template-columns: minmax(0, 1fr); gap: 48px; padding: 130px var(--gutter) 0; }
  .hero .slides { aspect-ratio: 4 / 3; border-right: 1px solid var(--line); border-radius: 24px; }
  @supports (corner-shape: squircle) { .hero .slides { border-radius: 36px; } }
  .hero .trust { padding-top: 72px; }
}
@media (max-width: 760px) {
  .hero-copy .hero-ctas { width: 100%; max-width: 360px; }
}

/* ---------- Samengevoegd blok: over ons + actie ---------- */
.cta-card .lead { max-width: 640px; }
.cta-card .stats { width: 100%; max-width: 640px; padding: 28px 0; border-bottom: 1px solid var(--line-soft); text-align: center; }
.cta-card .stats div { align-items: center; }
.contact { display: inline-flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); text-align: left; }
.contact img { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 999px; object-fit: cover; corner-shape: round; }
.reviews-head { font-weight: 500; letter-spacing: 0; }

/* ---------- Schakelaar licht/donker ---------- */
.theme-toggle {
  position: relative;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  corner-shape: round;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.theme-toggle:hover { background: var(--glass); color: var(--white); }
.theme-toggle svg { position: absolute; inset: 0; margin: auto; transition: transform .5s cubic-bezier(.34, 1.56, .5, 1), opacity .3s ease; }
.theme-toggle .i-moon { opacity: 0; transform: rotate(-90deg) scale(.4); }
[data-theme="light"] .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.4); }
[data-theme="light"] .theme-toggle .i-moon { opacity: 1; transform: none; }
.brand { position: relative; }

/* De wissel vloeit rustig over van donker naar licht en terug */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .5s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Lichte weergave ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #F6F7F8;
  --ink: #0B0C0E;
  --ink-2: rgba(11, 12, 14, .78);
  --muted: rgba(11, 12, 14, .6);
  --line: rgba(11, 12, 14, .08);
  --line-soft: rgba(11, 12, 14, .1);
  --glass: rgba(11, 12, 14, .05);
  --glass-hover: rgba(11, 12, 14, .08);
  --glass-card: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .72));
  --glass-soft: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .45));
  --panel: rgba(255, 255, 255, .9);
  --white: #0B0C0E;
  --black: #FFFFFF;
  --btn: #0B0C0E;
  --btn-ink: #FFFFFF;
  --shadow: 0 1px 2px rgba(11, 12, 14, .04), 0 12px 32px -12px rgba(11, 12, 14, .12);
}
[data-theme="light"] .brand .on-dark { display: none; }
[data-theme="light"] .brand .on-light { display: block; }
[data-theme="light"] .aurora { filter: brightness(0) invert(1); }
[data-theme="light"] .btn:hover { background: #26282C; box-shadow: 0 10px 30px rgba(11, 12, 14, .18); }
[data-theme="light"] .site-header.is-scrolled .nav-bar,
[data-theme="light"] .site-header:has([aria-expanded="true"]) .nav-bar,
[data-theme="light"] .mega { border-color: rgba(11, 12, 14, .08); background: rgba(255, 255, 255, .72); }
[data-theme="light"] .mega { box-shadow: 0 30px 60px -24px rgba(11, 12, 14, .25); }
[data-theme="light"] .mega-dim { background: rgba(246, 247, 248, .55); }
[data-theme="light"] .hero-badge { color: rgba(11, 12, 14, .55); }
[data-theme="light"] .marquee-track img { filter: brightness(0); opacity: .75; }
[data-theme="light"] .review blockquote { color: rgba(11, 12, 14, .86); }
[data-theme="light"] .case:hover { border-color: rgba(11, 12, 14, .25); }
[data-theme="light"] .slides, [data-theme="light"] .shot-img { box-shadow: 0 40px 80px -36px rgba(11, 12, 14, .35); }
[data-theme="light"] .gbadge, [data-theme="light"] .logo-dot { background: #FFFFFF; box-shadow: 0 0 0 1px rgba(11, 12, 14, .1); }
[data-theme="light"] .foot::before { background: rgba(11, 12, 14, .2); }
/* Op foto's en op de kleurknop blijft de tekst wit */
[data-theme="light"] .slides, [data-theme="light"] .tfan, [data-theme="light"] .btn:not(.btn-nav):not(.mob .btn) { --white: #FFFFFF; --black: #000000; }
[data-theme="light"] .foot { background: radial-gradient(35% 128px at 50% 0%, rgba(255, 255, 255, .9), transparent); }
[data-theme="light"] .case .client-logo { filter: brightness(0); }

/* ---------- Dienstpagina's: tekstblok, add-ons en planner ---------- */
.prose { max-width: 760px; margin: 0 auto; text-align: center; }
.prose .h2 { margin-bottom: 28px; }
.prose p { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.6; font-weight: 300; color: var(--ink-2); text-wrap: pretty; }
.prose p + p { margin-top: 1em; }
.sec-alt > .wrap > .price-note:only-child { margin-top: 0; font-size: 16px; }
.sec-alt:has(> .wrap > .price-note:only-child) > .wrap { padding-top: 0; padding-bottom: 64px; }
.hero-side .tlist { margin: 28px 0 0; }
.addons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.addon-group { padding: 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass-soft); }
.addon-group h3 { margin-bottom: 8px; font-size: 20px; font-weight: 500; letter-spacing: -0.03em; }
.addon-group dl { margin: 0; }
.addon-group dl div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.addon-group dt { font-size: 16px; font-weight: 500; }
.addon-group dt span { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--muted); }
.addon-group dd { margin: 0; font-size: 16px; font-weight: 600; white-space: nowrap; }
.embed { max-width: 960px; margin: 0 auto; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: #FFFFFF; box-shadow: var(--shadow); }
.embed iframe { display: block; width: 100%; height: 1000px; border: 0; }
@supports (corner-shape: squircle) { .addon-group, .embed { border-radius: 40px; } }
@media (max-width: 900px) {
  .addons { grid-template-columns: minmax(0, 1fr); }
  .embed iframe { height: 1100px; }
}

/* ---------- Kennisbank: artikel en overzichtskaart ---------- */
.plan > .text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.article { max-width: 720px; margin: 0 auto; }
.article h2 { margin: 56px 0 16px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; font-weight: 400; letter-spacing: -0.04em; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { font-size: 18px; line-height: 1.65; color: var(--ink-2); }
.article p + p, .article ul + p, .article p + ul { margin-top: 16px; }
.article ul { margin: 0; padding-left: 1.2em; }
.article li + li { margin-top: 8px; }
.article strong { color: var(--ink); }
.themes-note { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound .wrap { padding-top: 200px; }
@media (max-width: 760px) { .notfound .wrap { padding-top: 140px; } }

/* ---------- Accentkleur: links en vinkjes ---------- */
:root { --accent: #ff7c4c; }
:root[data-theme="light"] { --accent: #d4541c; }
.link { color: var(--accent); text-decoration-color: var(--accent); }
.link:hover { text-decoration-color: transparent; }
.link .chev { color: var(--ink-2); }
.ticks svg { border-radius: 6px; background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); corner-shape: round; }

/* ---------- Themasectie: los op de pagina, grotere voorbeelden ---------- */
.tblock { border: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tfan { height: 400px; }
.tfan img { width: 212px; height: 290px; margin-left: -106px; transform: translateX(calc(var(--x) * 76px)) rotate(calc(var(--x) * 11deg)); }
@media (max-width: 1100px) {
  .tfan { height: 340px; }
  .tfan img { width: 176px; height: 240px; margin-left: -88px; transform: translateX(calc(var(--x) * 60px)) rotate(calc(var(--x) * 11deg)); }
}
@media (max-width: 760px) {
  .tfan { height: 280px; }
  .tfan img { width: 140px; height: 192px; margin-left: -70px; transform: translateX(calc(var(--x) * 44px)) rotate(calc(var(--x) * 10deg)); }
}
.reveal-ready .tfan:not(.fanned) img { transform: rotate(calc(var(--x) * 2deg)); }
@media (prefers-reduced-motion: reduce) { .tfan img:hover { translate: none; } }

/* ---------- Kruimelpad onder de kop ---------- */
.crumbs, .hero-grid .crumbs { grid-column: auto; margin: 20px 0 0; }

/* ---------- Carousel zonder rand ---------- */
.slides, .hero .slides, .shot-img { border: 0; }

/* ---------- Wisselend woord: het oude vervaagt en schuift weg, daarna schuift het nieuwe van links in ---------- */
.rot {
  overflow: visible;
  /* Woorden schuiven achter de rand van het vak in en uit, nooit over de rest van de kop heen */
  clip-path: inset(-.3em -.06em);
  transition: width .3s cubic-bezier(.22, .61, .36, 1);
}
.rot-word { justify-self: start; }
.rot-word.out { animation: rotOutX .28s cubic-bezier(.55, 0, .8, .4) both; }
.rot-word.in { animation: rotInX .45s cubic-bezier(.22, .61, .36, 1) both; }
@keyframes rotOutX { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(35%); } }
@keyframes rotInX { from { opacity: 0; transform: translateX(-45%); } to { opacity: 1; transform: translateX(0); } }

/* ---------- Hero: kop blijft op drie regels, ook met het langste wisselwoord ---------- */
.hero .hero-copy h1 { font-size: clamp(40px, 4.2vw, 68px); }
@media (min-width: 901px) { .hero-split { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 48px; } }

/* ---------- Klantlogo's: titel erboven ---------- */
.trust-label { margin-bottom: 50px; opacity: .5; font-size: 18px; font-weight: 500; color: var(--ink-2); text-wrap: balance; }

/* ---------- Hero: "Webbureau Almere" als link naar de regiopagina ---------- */
.hero-badge a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .3); transition: color .2s ease, text-decoration-color .2s ease; }
.hero-badge a:hover, .hero-badge a:focus-visible { color: var(--white); text-decoration-color: var(--accent); }
[data-theme="light"] .hero-badge a { text-decoration-color: rgba(11, 12, 14, .3); }

/* ---------- Cases: beeld als kaart, met nummer, logo en tags eroverheen ---------- */
.work {
  position: relative;
  left: 50%;
  translate: -50% 0;
  width: min(1600px, calc(100vw - 2 * clamp(24px, 3vw, 48px)));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.work-card {
  position: relative;
  isolation: isolate;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  display: grid;
  grid-template: "top" auto "mid" 1fr "tags" auto / 1fr;
  padding: clamp(24px, 2.4vw, 36px);
  color: #FFFFFF;
  background: #0b0c0e;
}
.work-pic {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(.6) saturate(1);
  transform: scale(1.02);
  transition: transform .9s cubic-bezier(.22, .61, .36, 1), filter .6s ease;
}
.work-card:hover .work-pic { transform: scale(1.07); filter: brightness(.75); }
.work-top { grid-area: top; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 22px; font-weight: 600; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.work-res strong { font-weight: 700; color: #FFFFFF; }
.work-mid { grid-area: mid; display: grid; place-items: center; }
.work-mid img { height: 52px; width: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 14px rgba(0, 0, 0, .5)); }
.work-mid img[alt="Janssen Bremer"] { height: 68px; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .5)); }
.work-name { font-size: clamp(26px, 2.4vw, 36px); font-weight: 600; letter-spacing: -0.04em; }
.work-tags { grid-area: tags; margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.work-tags li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(20, 20, 22, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 14px; font-weight: 500; line-height: 1.2; }
@supports (corner-shape: squircle) { .work-card { border-radius: 44px; } }
@media (max-width: 900px) {
  .work { grid-template-columns: minmax(0, 1fr); width: calc(100vw - 2 * var(--gutter)); gap: 16px; }
  .work-card,   .work-mid img { height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .work-card:hover .work-pic { transform: scale(1.02); } }

.work-mid img.work-logo-color { height: 56px; filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .5)); }

/* ---------- Kennisbank A–Z ---------- */
.kb-tools { display: none; }
.js .kb-tools { display: block; }
.kb-search { position: relative; max-width: 760px; }
.kb-search svg { position: absolute; z-index: 1; left: 20px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.kb-search input { box-sizing: border-box; width: 100%; min-height: 60px; padding: 0 20px 0 54px; border: 1px solid var(--line); border-radius: 18px; background: var(--glass); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font: inherit; font-size: 18px; color: var(--ink); outline: none; transition: border-color .2s ease, background-color .2s ease; }
.kb-search input::placeholder { color: var(--muted); }
.kb-search input:focus { border-color: var(--accent); background: var(--glass-hover); }
.kb-cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.kb-cats button { min-height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--glass); color: var(--ink); font: inherit; font-size: 15px; font-weight: 500; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.kb-cats button:hover { background: var(--glass-hover); }
.kb-cats button.on, .kb-az button.on { border-color: transparent; background: var(--btn); color: var(--btn-ink); }
.kb-az { display: flex; flex-wrap: wrap; gap: 4px; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-soft); }
.kb-az button { min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.kb-az button:hover { background: var(--glass); }
.kb-az button.on:hover { background: var(--btn); }
.kb-az button.dis { color: var(--muted); opacity: .4; cursor: default; background: transparent; }
.kb-cats button:focus-visible, .kb-az button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.kb-count { margin: 32px 0 16px; font-size: 15px; color: var(--muted); }
.kb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kb-card { display: flex; flex-direction: column; gap: 8px; padding: 28px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass-card); box-shadow: var(--shadow); scroll-margin-top: 120px; }
.kb-card[hidden], .kb-empty[hidden] { display: none; }
.kb-card small { font-size: 13px; font-weight: 500; color: var(--muted); }
.kb-card h3 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 500; letter-spacing: -0.02em; }
.kb-card p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.kb-card .link { margin-top: auto; padding-top: 8px; align-self: flex-start; }
.kb-card:target { border-color: var(--accent); }
.kb-empty { padding: 48px 32px; border-radius: 24px; border: 1px solid var(--line); background: var(--glass-soft); }
.kb-empty p { margin: 0; font-size: 16px; color: var(--muted); }
.kb-empty .kb-empty-h { margin-bottom: 8px; font-size: 20px; font-weight: 500; color: var(--ink); }
.kb-empty .link { border: 0; padding: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; }
@supports (corner-shape: squircle) { .kb-card, .kb-empty { border-radius: 36px; } .kb-search input { border-radius: 26px; } }
@media (max-width: 760px) { .kb-grid { grid-template-columns: minmax(0, 1fr); } .kb-card { padding: 24px; } }

/* ---------- Mobiel menu: zelfde glas als de navigatie ---------- */
.mob { border-color: rgb(255 255 255 / 6%); background: var(--glass); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
[data-theme="light"] .mob { border-color: rgba(11, 12, 14, .08); background: rgba(255, 255, 255, .72); }
