/* Rijschool Vrije Baan · pakket Compleet.
   Asfalt en wegverf. Eén vorm: de middenstreep (een streep met ronde koppen) in knoppen, fotomaskers, opsommingen en de route. */
:root {
  --ground: #16181c;
  --g2: #1e2126;
  --g3: #282c33;
  --g4: #323740;
  --g5: #3d434d;
  --paint: #e9eae6;
  --paint-soft: #b4b7b3;
  --accent: #f2b705;
  --accent-2: #d9a300;
  --on-accent: #16181c;
  --font: 'Jost', 'Futura', 'Century Gothic', Arial, sans-serif;
  --m: clamp(16px, 2.4vw, 36px);
  --r: 28px;
  --pill: 999px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --s-small: 16px;
  --s-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);
  --s-lead: clamp(20px, 1.6vw, 24px);
  --s-h3: clamp(24px, 2vw, 30px);
  --s-h2: clamp(44px, 5.4vw, 84px);
  --s-hero: clamp(64px, 10.5vw, 168px);
  --gap: clamp(120px, 12vw, 180px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--paint); font-family: var(--font); font-size: var(--s-body); line-height: 1.5; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .9; text-wrap: balance; }
h3 { font-size: var(--s-h3); line-height: 1; }
p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--accent); color: var(--on-accent); padding: 12px 16px; }
.skip:focus { left: var(--m); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- knoppen: de streep ---------- */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; border-radius: var(--pill); font-weight: 500; font-size: var(--s-small); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; transition: transform .2s var(--ease), background-color .2s, color .2s; touch-action: manipulation; }
.btn:hover { transform: translateX(4px); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--paint); }
.btn--ink { background: var(--ground); color: var(--paint); }
.btn--line { background: var(--g3); color: var(--paint); }
.btn--line:hover { background: var(--g4); }
.arrow { width: 20px; height: 20px; flex: none; transition: transform .2s var(--ease); }
a:hover > .arrow { transform: translateX(3px); }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px var(--m); background: var(--ground); transition: transform .35s var(--ease); }
.top.is-hidden { transform: translateY(-100%); }
.wordmark { font-size: 22px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.top__nav { display: flex; gap: 26px; font-size: var(--s-small); }
.top__nav a { padding: 12px 0; text-decoration: underline 3px transparent; text-underline-offset: 8px; transition: text-decoration-color .2s; }
.top__nav a:hover, .top__nav a[aria-current="page"] { text-decoration-color: var(--accent); }
.top__cta { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: var(--s-small); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; transition: background-color .2s; }
.top__cta:hover { background: var(--paint); }
.top__menu { display: none; }
.cta-short { display: none; }
.wordmark { white-space: nowrap; }
.menu { position: fixed; inset: 0; z-index: 120; display: none; flex-direction: column; padding: 18px 16px 32px; background: var(--ground); }
.menu.is-open { display: flex; animation: fade .25s ease both; }
.menu__close { align-self: flex-end; min-height: 48px; padding: 0 20px; border: 0; border-radius: var(--pill); background: var(--g3); color: var(--paint); font: inherit; font-size: var(--s-small); text-transform: uppercase; cursor: pointer; }
.menu__links { display: flex; flex-direction: column; gap: 6px; margin-top: 32px; }
.menu__links a { font-size: 34px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; text-decoration: none; padding: 6px 0; }
.menu__foot { margin-top: auto; font-size: var(--s-small); color: var(--paint-soft); }
body.menu-open { overflow: hidden; }

/* ---------- de middenstreep als tekening ---------- */
.road { display: block; width: 100%; height: 14px; color: var(--paint); }

/* ---------- hero: rijstroken als tabbladen ---------- */
.hero { position: relative; height: calc(100svh - 76px); min-height: 640px; overflow: hidden; }
.hero__text { position: relative; z-index: 2; padding-top: clamp(28px, 6vh, 72px); text-align: center; }
.hero__title { font-size: var(--s-hero); letter-spacing: -0.03em; white-space: nowrap; }
.hero__sub { max-width: 46ch; margin: 22px auto 0; padding: 0 var(--m); font-size: var(--s-lead); line-height: 1.35; color: var(--paint); }
.lanes { position: absolute; left: 7%; right: 7%; top: 47%; bottom: 0; }
.lane { position: absolute; left: 0; right: 0; height: 100%; border-radius: 22px 22px 0 0; text-decoration: none; transition: translate .3s var(--ease); }
.lane__tab { position: absolute; top: -34px; display: inline-flex; align-items: center; height: 34px; padding: 0 22px; border-radius: 18px 18px 0 0; background: inherit; font-size: var(--s-small); font-weight: 500; text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.lane--1 { top: 0; background: var(--g3); }
.lane--1 .lane__tab { left: 4%; }
.lane--2 { top: 44px; background: var(--g4); }
.lane--2 .lane__tab { left: 27%; }
.lane--3 { top: 88px; background: var(--g5); }
.lane--3 .lane__tab { left: 52%; }
.lane--4 { top: 132px; background: #4a515c; }
.lane--4 .lane__tab { right: 4%; }
a.lane:hover { translate: 0 -10px; }
.lane--front { top: 176px; background: var(--accent); color: var(--on-accent); overflow: visible; }
.lane--front .lane__tab { left: 50%; translate: -50% 0; }
.lane__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 22px 22px 0 0; }
.lane__go { position: absolute; left: 32px; top: 32px; z-index: 2; }
.js .hero__title { animation: rise .8s var(--ease) both; }
.js .hero__sub { animation: fade .7s .15s var(--ease) both; }
.js .lane { animation: lane .9s var(--ease) both; }
.js .lane--2 { animation-delay: .06s; } .js .lane--3 { animation-delay: .12s; } .js .lane--4 { animation-delay: .18s; } .js .lane--front { animation-delay: .24s; }
@keyframes rise { from { translate: 0 22px; } }
@keyframes fade { from { opacity: 0; } }
@keyframes lane { from { translate: 0 60px; } }

/* ---------- zinnen met beelden erin ---------- */
.words { padding: var(--gap) var(--m) 0; }
.words__text { max-width: 44ch; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
.slot { display: inline-block; width: 1.9em; height: 1em; vertical-align: -0.14em; border-radius: var(--pill); overflow: hidden; background: var(--g3); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
.words__foot { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: 72px; align-items: center; }
.words__foot p { grid-column: 7 / 11; font-size: var(--s-body); }
.words__foot .btn { grid-column: 11 / 13; justify-self: end; }

/* ---------- de lessen-schatter ---------- */
.est { margin-top: var(--gap); padding: var(--gap) var(--m); background: var(--g2); }
.est__intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; margin-bottom: 56px; }
.est__title { grid-column: 1 / 9; font-size: var(--s-h2); }
.est__lead { grid-column: 9 / 13; max-width: 34ch; font-size: var(--s-body); }
.est__box { display: grid; grid-template-columns: 5fr 7fr; gap: 12px; }
.est__form { display: grid; gap: 18px; align-content: start; padding: 28px; border-radius: var(--r); background: var(--g3); }
.est__form fieldset { margin: 0; padding: 0; border: 0; }
.est__form legend { padding: 0; margin-bottom: 10px; font-size: var(--s-small); color: var(--paint-soft); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--pill); background: var(--g4); font-size: var(--s-small); transition: background-color .2s, color .2s; }
.seg label:hover span { background: var(--g5); }
.seg input:checked + span { background: var(--accent); color: var(--on-accent); }
.seg input:focus-visible + span { outline: 3px solid var(--paint); outline-offset: 2px; }
.est__out { display: flex; flex-direction: column; gap: 16px; padding: 28px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.est__num { font-size: clamp(56px, 6vw, 96px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.04em; line-height: .9; font-variant-numeric: tabular-nums; }
.est__line { font-size: var(--s-lead); line-height: 1.3; font-weight: 500; }
.est__route { position: relative; margin: 24px 0 72px; }
.est__road { color: var(--on-accent); }
.route { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.route li { position: absolute; top: -8px; left: calc(var(--p) * 100%); display: flex; flex-direction: column; align-items: flex-start; translate: calc(var(--p) * -100%) 0; transition: left .5s var(--ease), translate .5s var(--ease); }
.route li::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: var(--on-accent); border: 7px solid var(--accent); }
.route li:nth-child(2):not(:last-child) { align-items: center; }
.route li:last-child { align-items: flex-end; }
.route__label { margin-top: 6px; font-size: 15px; font-weight: 700; text-transform: uppercase; white-space: nowrap; }
.route__date { font-size: 15px; white-space: nowrap; }
.est__pack { font-size: var(--s-body); }
.est__out .btn { align-self: flex-start; margin-top: auto; background: var(--on-accent); color: var(--paint); }
.est__out .btn:hover { background: var(--g4); }

/* ---------- twee pakketten, twee velden ---------- */
.duo { display: grid; grid-template-columns: 5fr 7fr; margin-top: var(--gap); }
.duo__field { display: flex; flex-direction: column; min-height: 90svh; padding: 40px var(--m) 40px; }
.duo__field--a { background: var(--g3); }
.duo__field--b { background: var(--accent); color: var(--on-accent); }
.duo__name { font-size: var(--s-h2); }
.duo__who { margin-top: 22px; max-width: 26ch; font-size: var(--s-lead); line-height: 1.3; }
.duo__incl { margin-top: 18px; max-width: 40ch; }
.duo__foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.duo__price { font-size: clamp(64px, 9vw, 150px); font-weight: 700; letter-spacing: -0.05em; line-height: .85; font-variant-numeric: tabular-nums; }
.duo__more { padding: 28px var(--m) 0; font-size: var(--s-lead); }
.duo__more a { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline 3px var(--accent); text-underline-offset: 8px; }

/* ---------- ingezet paneel met de streep als fotomasker ---------- */
.inset { padding: var(--gap) 20px 0; }
.inset__panel { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 110svh; padding: 56px; border-radius: var(--r); background: var(--g2); overflow: hidden; }
.inset__title { grid-column: 1; font-size: clamp(40px, 4.4vw, 68px); max-width: 15ch; }
.inset__shape { position: absolute; left: 56px; bottom: -8%; width: 38vw; max-width: 600px; aspect-ratio: 5 / 8; border-radius: var(--pill); overflow: hidden; }
.inset__shape img { width: 100%; height: 100%; object-fit: cover; }
.inset__text { grid-column: 2; display: flex; flex-direction: column; gap: 56px; padding-left: 26%; align-items: flex-start; }
.inset__text h3 { margin-bottom: 14px; }
.inset__text p { max-width: 34ch; }
.inset--page { padding-top: 0; }

/* ---------- citaat ---------- */
.quote { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: var(--gap) var(--m) 0; }
.quote__portrait { grid-column: 2 / 6; margin: 0; }
.quote__portrait img { width: 100%; aspect-ratio: 3 / 4; height: auto; max-height: 72svh; object-fit: cover; border-radius: 240px 240px var(--r) var(--r); }
.quote__text { grid-column: 7 / 13; margin: 120px 0 0; }
.quote__text p { font-size: clamp(22px, 2vw, 30px); line-height: 1.25; max-width: 32ch; font-weight: 400; }
.quote__text footer { margin-top: 32px; font-size: var(--s-small); color: var(--paint-soft); }
.quote__place { grid-column: 10 / 12; margin: -40px 0 0; }
.quote__place img { aspect-ratio: 1; object-fit: cover; border-radius: var(--pill); }

/* ---------- één lijst, wisselende foto ---------- */
.frame { padding: var(--gap) var(--m) 0; display: flex; flex-direction: column; align-items: center; text-align: center; }
.frame__title { font-size: var(--s-h2); margin-bottom: 56px; }
.frame__box { position: relative; width: min(340px, 72vw); aspect-ratio: 4 / 5; border-radius: var(--pill); overflow: hidden; background: var(--g3); cursor: pointer; }
.frame__item { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s ease; }
.frame__item.is-on { opacity: 1; }
.frame__item img { width: 100%; height: 100%; object-fit: cover; }
.frame__cap { margin-top: 18px; min-height: 1.5em; font-size: var(--s-small); color: var(--paint-soft); }
.frame__more { margin-top: 28px; font-size: var(--s-lead); }
.frame__more a, .index__row, .reviews a { text-decoration-color: var(--accent); }
.frame__more a { display: inline-flex; align-items: center; gap: 10px; text-decoration: underline 3px var(--accent); text-underline-offset: 8px; }

/* ---------- vragen ---------- */
.faq { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: var(--gap) var(--m); }
.faq__title { grid-column: 1 / 5; font-size: var(--s-h2); position: sticky; top: 110px; align-self: start; }
.faq__list { grid-column: 5 / 13; display: grid; gap: 8px; }
.faq details { background: var(--g2); border-radius: 22px; transition: background-color .25s, color .25s; }
.faq details[open] { background: var(--accent); color: var(--on-accent); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 16px 26px; font-size: var(--s-lead); font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 16px; height: 16px; }
.plus::before, .plus::after { content: ''; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; border-radius: 2px; background: currentColor; transition: rotate .25s var(--ease); }
.plus::after { rotate: 90deg; }
details[open] .plus::after { rotate: 0deg; }
.faq details p { padding: 0 26px 26px; max-width: 54ch; }

/* ---------- footer ---------- */
.foot { padding: 120px var(--m) 28px; background: var(--g2); overflow: clip; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.foot__invite { grid-column: 1 / 6; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.foot__title { font-size: clamp(36px, 3.6vw, 56px); }
.foot__links { grid-column: 7 / 10; display: flex; flex-direction: column; gap: 4px; }
.foot__links a { padding: 6px 0; text-decoration: none; }
.foot__links a:hover { color: var(--accent); }
.foot__contact { grid-column: 10 / 13; font-size: var(--s-small); line-height: 2; }
.foot__road { margin-top: 96px; color: var(--accent); }
.foot__name { margin: 40px 0 0; font-size: 15.6vw; font-weight: 700; line-height: .8; letter-spacing: -0.03em; white-space: nowrap; text-align: center; }
.foot__legal { margin-top: 48px; max-width: 72ch; font-size: var(--s-small); color: var(--paint-soft); }

/* ---------- paginakop ---------- */
.head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: end; padding: clamp(72px, 9vw, 140px) var(--m) clamp(72px, 7vw, 120px); }
.head__title { grid-column: 1 / 8; font-size: var(--s-hero); }
.head__side { grid-column: 8 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.head__lead { font-size: var(--s-lead); line-height: 1.35; max-width: 36ch; }
.js [data-rise] { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 90ms); }

/* ---------- lessen: index met voorbeeldfoto ---------- */
.index { position: relative; padding: 0 var(--m); }
.index__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.index__row { display: grid; grid-template-columns: 1.3fr 1.6fr auto; gap: 8px 32px; align-items: baseline; padding: 22px 26px; border-radius: 22px; background: var(--g2); text-decoration: none; transition: background-color .2s, opacity .24s; }
.index__row:hover, .index__row:focus-visible { background: var(--g3); }
.index__name { font-size: clamp(26px, 2.4vw, 36px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; line-height: 1; }
.index__what { color: var(--paint-soft); }
.index__price { font-size: var(--s-h3); font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.index__thumb { grid-column: 1 / -1; order: -1; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.index__frame { display: none; }
@media (hover: hover) and (pointer: fine) and (min-width: 861px) {
  .index__list { max-width: 64%; }
  .index__thumb { display: none; }
  .index__list:has(.index__row:hover, .index__row:focus-visible) .index__row:not(:hover, :focus-visible) { opacity: .45; }
  .index__frame { display: block; position: absolute; top: 0; right: var(--m); width: 31%; aspect-ratio: 4 / 5; border-radius: var(--pill); overflow: hidden; pointer-events: none; clip-path: inset(100% 0 0 0 round 200px); transition: clip-path .32s var(--ease), translate .36s var(--ease); }
  .index__frame.is-open { clip-path: inset(0 0 0 0 round 200px); }
  .index__frame img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- lessen: zo ziet een les eruit ---------- */
.look { display: grid; grid-template-columns: 6fr 3fr 3fr; gap: 16px; align-items: end; padding: var(--gap) var(--m) 0; }
.look__title { grid-column: 1 / -1; font-size: var(--s-h2); margin-bottom: 32px; }
.look figure { margin: 0; }
.look video, .look img { width: 100%; object-fit: cover; border-radius: var(--r); }
.look video { aspect-ratio: 16 / 10; }
.look figure:nth-of-type(2) img { aspect-ratio: 3 / 5; border-radius: var(--pill); }
.look figure:nth-of-type(3) img { aspect-ratio: 4 / 5; }
.look figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--paint-soft); }

/* ---------- lessen: twee auto's ---------- */
.gear { padding: var(--gap) var(--m) 0; }
.gear__title { font-size: var(--s-h2); margin-bottom: 48px; }
.gear__row { display: grid; grid-template-columns: 7fr 5fr; gap: 24px; align-items: end; }
.gear__car { margin: 0; }
.gear__car img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.gear__car + .gear__car img { aspect-ratio: 4 / 5; }
.gear__car figcaption { margin-top: 16px; max-width: 46ch; }
.gear__car b { font-weight: 500; }

/* ---------- Ruben: stappen langs de weg ---------- */
.steps { padding: var(--gap) var(--m) 0; }
.steps__title { font-size: var(--s-h2); max-width: 14ch; margin-bottom: 64px; }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.steps__list h3 { font-size: var(--s-lead); margin-bottom: 10px; }
.steps__list p { color: var(--paint-soft); font-size: var(--s-small); }
.steps__list li::before { content: ''; display: block; width: 46px; height: 10px; margin-bottom: 22px; border-radius: var(--pill); background: var(--accent); }
.steps__road { margin-top: 48px; color: var(--g5); }

.area { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: var(--gap) var(--m) 0; }
.area__film video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.area__title { font-size: var(--s-h2); margin-bottom: 32px; }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.area__list li { display: grid; grid-template-columns: 22px 1fr; column-gap: 14px; }
.area__list li::before { content: ''; grid-row: span 2; width: 22px; height: 7px; margin-top: .7em; border-radius: var(--pill); background: var(--accent); }
.area__list b { font-weight: 500; }
.area__list li { color: var(--paint-soft); }
.area__list b { color: var(--paint); }

.pair { display: grid; grid-template-columns: 5fr 7fr; gap: 24px; align-items: start; padding: var(--gap) var(--m) 0; }
.pair figure { margin: 0; }
.pair img { width: 100%; object-fit: cover; border-radius: var(--r); }
.pair figure:first-child img { aspect-ratio: 4 / 5; border-radius: 300px 300px var(--r) var(--r); }
.pair figure:last-child { margin-top: 120px; }
.pair figure:last-child img { aspect-ratio: 4 / 3; }
.pair figcaption { margin-top: 14px; font-size: var(--s-small); color: var(--paint-soft); }

/* ---------- geslaagd ---------- */
.wall { padding: 0 var(--m); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filters button { min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--pill); background: var(--g3); color: var(--paint); font: inherit; font-size: var(--s-small); cursor: pointer; transition: background-color .2s; }
.filters button:hover { background: var(--g4); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.wall__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: start; }
.wall__grid li { grid-column: span var(--span, 3); }
.wall__grid li[hidden] { display: none; }
.wall__grid figure { margin: 0; }
.wall__grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.g--0 img { border-radius: 300px 300px var(--r) var(--r) !important; }
.g--2 { margin-top: 64px; }
.g--3 img { aspect-ratio: 1 !important; border-radius: var(--pill) !important; }
.g--4 { margin-top: 120px; }
.wall__cta { grid-column: span 6 !important; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 16px; padding: 40px; border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.wall__cta[hidden] { display: none; }
.wall__cta-title { font-size: var(--s-h2); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .9; }
.wall__grid figcaption { margin-top: 12px; font-size: var(--s-small); color: var(--paint-soft); }
.wall__grid figcaption b { display: block; font-size: var(--s-lead); font-weight: 700; text-transform: uppercase; color: var(--paint); }
.keys { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: center; padding: var(--gap) var(--m) 0; }
.keys__film video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.keys__text { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.keys__title { font-size: var(--s-h2); }
.keys__text p { max-width: 36ch; font-size: var(--s-lead); line-height: 1.35; }
.reviews { padding: var(--gap) var(--m) 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.reviews__title { grid-column: 1 / 5; font-size: var(--s-h2); position: sticky; top: 110px; align-self: start; }
.reviews__list { grid-column: 5 / 13; list-style: none; margin: 0; padding: 0; display: grid; gap: 56px; }
.reviews__list blockquote { margin: 0; }
.reviews__list p { font-size: clamp(22px, 2vw, 30px); line-height: 1.3; max-width: 34ch; }
.reviews__list li:nth-child(even) { padding-left: 16%; }
.reviews__list footer { margin-top: 14px; font-size: var(--s-small); color: var(--paint-soft); }
.reviews__list footer b { color: var(--accent); font-weight: 500; }

/* ---------- proefles ---------- */
.book { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; padding: 0 var(--m); }
.book__form { grid-column: 1 / 8; }
.book__side { grid-column: 9 / 13; position: sticky; top: 110px; align-self: start; display: flex; flex-direction: column; gap: 22px; }
.book__shape { margin: 0; width: 72%; aspect-ratio: 5 / 7; border-radius: var(--pill); overflow: hidden; }
.book__shape img { width: 100%; height: 100%; object-fit: cover; }
.dashes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dashes li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; }
.dashes li::before { content: ''; width: 22px; height: 7px; margin-top: .7em; border-radius: var(--pill); background: var(--accent); }
.book__live, .reach__now { display: flex; gap: 12px; align-items: baseline; }
.book__live { padding: 16px 18px; border-radius: 22px; background: var(--g2); font-size: var(--s-small); }
.dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--paint-soft); }
.book__live:has([data-state="les"]) .dot { background: var(--accent); }
.book__live:has([data-state="vrij"]) .dot { background: #3ecf7a; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .3; } }

/* boekingsformulier uit vrijebaan.js, op asfalt */
.bk { display: grid; gap: 12px; }
.bk__step { margin: 0; padding: 26px; border: 0; background: var(--g2); border-radius: var(--r); min-width: 0; }
.bk__title { padding: 0; margin: 0 0 16px; font-size: var(--s-h3); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1; }
.bk__hint { margin-top: 12px; font-size: var(--s-small); color: var(--paint-soft); }
.bk__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.bk__opts--small { grid-template-columns: repeat(3, 1fr); }
.bk__opt, .bk__day, .bk__time { position: relative; display: flex; flex-direction: column; justify-content: center; min-height: 64px; padding: 12px 18px; background: var(--g3); border-radius: 20px; cursor: pointer; transition: background-color .2s, color .2s; }
.bk__opt:hover, .bk__day:hover, .bk__time:hover { background: var(--g4); }
.bk__opt input, .bk__day input, .bk__time input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk__opt:has(input:checked), .bk__day:has(input:checked), .bk__time:has(input:checked) { background: var(--accent); color: var(--on-accent); }
.bk__opt:has(input:checked) .bk__optmeta { color: var(--on-accent); }
.bk__opt:has(input:focus-visible), .bk__day:has(input:focus-visible), .bk__time:has(input:focus-visible) { outline: 3px solid var(--paint); outline-offset: 2px; }
.bk__optname { font-weight: 500; }
.bk__optmeta { font-size: var(--s-small); color: var(--paint-soft); }
.bk__opts--small .bk__opt { min-height: 52px; align-items: center; border-radius: var(--pill); }
.bk__days { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.bk__day { align-items: center; text-align: center; padding: 10px 4px; line-height: 1.15; }
.bk__wd, .bk__mon { font-size: var(--s-small); }
.bk__num { font-size: var(--s-lead); font-weight: 700; }
.bk__times { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.bk__time { min-height: 48px; min-width: 80px; align-items: center; border-radius: var(--pill); font-weight: 500; font-variant-numeric: tabular-nums; }
.bk__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bk__field { display: flex; flex-direction: column; gap: 6px; }
.bk__field--wide { grid-column: 1 / -1; }
.bk__field--pc { max-width: 260px; }
.bk__field label, .bk__label { font-size: var(--s-small); color: var(--paint-soft); }
.bk__field input { font: inherit; min-height: 54px; padding: 12px 18px; border: 0; border-radius: var(--pill); background: var(--g3); color: var(--paint); }
.bk__field input::placeholder { color: #8f8b83; }
.bk__field input:focus { outline: 3px solid var(--accent); outline-offset: 0; }
.bk__field input[aria-invalid="true"] { outline: 3px solid #ff8a7a; }
.bk__error { font-size: var(--s-small); color: #ff9d8f; }
.bk__error:empty { display: none; }
.bk__area { margin-top: 12px; font-size: var(--s-small); max-width: 54ch; }
.bk__area:empty { display: none; }
.bk__area[data-ok="true"] { color: #7ee2a6; }
.bk__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 26px; background: var(--accent); color: var(--on-accent); border-radius: var(--pill); }
.bk__sum { font-size: var(--s-small); font-weight: 500; }
.bk__go { flex: none; font: inherit; font-size: var(--s-small); text-transform: uppercase; letter-spacing: .02em; font-weight: 500; min-height: 54px; padding: 0 26px; border: 0; border-radius: var(--pill); background: var(--on-accent); color: var(--paint); cursor: pointer; transition: transform .2s var(--ease); }
.bk__go:hover { transform: translateX(3px); }
.bk__done { padding: 44px; background: var(--accent); color: var(--on-accent); border-radius: var(--r); }
.bk__done:focus { outline: none; }
.bk__done-title { font-size: clamp(36px, 4vw, 60px); font-weight: 700; text-transform: uppercase; letter-spacing: -0.03em; line-height: .95; }
.bk__done-text { margin-top: 20px; font-size: var(--s-lead); max-width: 40ch; }
.bk__done-note { margin-top: 16px; font-size: var(--s-small); }
.bk__again { margin-top: 24px; font: inherit; font-size: var(--s-small); text-transform: uppercase; min-height: 52px; padding: 0 24px; border: 0; border-radius: var(--pill); background: var(--on-accent); color: var(--paint); cursor: pointer; }

/* ---------- contact ---------- */
.reach { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; padding: 0 var(--m); align-items: start; }
.reach__now { flex-direction: column; gap: 22px; }
.reach__status { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.25; max-width: 24ch; }
.reach__status[data-state]::before { content: ''; display: inline-block; width: .5em; height: .5em; margin-right: .35em; border-radius: 50%; background: var(--paint-soft); vertical-align: .08em; }
.reach__status[data-state="les"]::before { background: var(--accent); }
.reach__status[data-state="vrij"]::before { background: #3ecf7a; }
.reach__pic { margin: 8px 0 0; width: min(100%, 420px); aspect-ratio: 16 / 10; border-radius: var(--pill); overflow: hidden; }
.reach__pic img { width: 100%; height: 100%; object-fit: cover; }
.reach__links a { text-decoration-color: var(--accent); text-underline-offset: 5px; }
.pc { padding: 28px; border-radius: var(--r); background: var(--g2); display: flex; flex-direction: column; gap: 12px; }
.pc label { font-size: var(--s-small); color: var(--paint-soft); }
.pc__row { display: flex; gap: 8px; }
.pc__row input { flex: 1; min-width: 0; font: inherit; min-height: 54px; padding: 0 18px; border: 0; border-radius: var(--pill); background: var(--g3); color: var(--paint); }
.pc__row input:focus { outline: 3px solid var(--accent); }
.pc__row button { min-height: 54px; padding: 0 22px; border: 0; border-radius: var(--pill); background: var(--accent); color: var(--on-accent); font: inherit; font-size: var(--s-small); text-transform: uppercase; cursor: pointer; }
.pc__out { font-size: var(--s-small); }
.pc__out[data-ok="true"] { color: #7ee2a6; }
.reach__days h3 { margin-bottom: 16px; }
.days { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.days li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 16px; border-radius: var(--pill); background: var(--g2); font-size: var(--s-small); font-variant-numeric: tabular-nums; }
.days li.is-today { background: var(--accent); color: var(--on-accent); }

/* de bon om uit te knippen */
.coupon { padding: var(--gap) var(--m) 0; overflow: clip; }
.coupon__card { position: relative; display: grid; grid-template-columns: 46% 54%; max-width: 1180px; margin: 0 auto; border-radius: var(--r); background: var(--accent); color: var(--on-accent); }
.coupon__card::before, .coupon__card::after { content: ''; position: absolute; left: 46%; width: 30px; height: 30px; margin-left: -15px; border-radius: 50%; background: var(--ground); }
.coupon__card::before { top: -15px; }
.coupon__card::after { bottom: -15px; }
.coupon__left { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 48px; }
.coupon__title { font-size: clamp(32px, 3.2vw, 48px); max-width: 9ch; }
.coupon__form { display: grid; gap: 10px; align-content: start; padding: 48px; }
.coupon__form input { font: inherit; min-height: 54px; padding: 0 20px; border: 0; border-radius: var(--pill); background: #f8d75a; color: var(--on-accent); }
.coupon__form input::placeholder { color: #5f4a00; }
.coupon__form input:focus { outline: 3px solid var(--on-accent); background: #fbe7a0; }
.coupon__form button { min-height: 58px; border: 0; border-radius: var(--pill); background: var(--on-accent); color: var(--paint); font: inherit; font-size: var(--s-small); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: transform .2s var(--ease); }
.coupon__form button:hover { transform: translateY(-2px); }
.coupon__err { font-size: 15px; color: #6b1206; }
.coupon__err:empty { display: none; }
.coupon__status { font-weight: 500; }
.coupon__status:empty { display: none; }
.coupon__perf { position: absolute; left: 46%; top: 22px; bottom: 22px; width: 6px; margin-left: -3px; color: var(--ground); }

/* ---------- onthullen ---------- */
.js [data-reveal] { opacity: 0; translate: 0 26px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- telefoon ---------- */
@media (max-width: 860px) {
  :root { --m: 16px; --r: 22px; --gap: 96px; }
  .top { padding: 10px 16px; gap: 10px; }
  .top__nav { display: none; }
  .wordmark { font-size: 19px; }
  .top__cta { min-height: 44px; padding: 0 18px; font-size: 14px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .top__menu { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--pill); background: var(--g3); color: var(--paint); font: inherit; font-size: 15px; text-transform: uppercase; cursor: pointer; }
  .hero { height: calc(100svh - 64px); min-height: 600px; }
  .hero__text { padding-top: 48px; }
  .hero__title { font-size: 16.4vw; white-space: normal; }
  .hero__sub { font-size: 18px; max-width: 30ch; }
  .lanes { left: 0; right: 0; top: 50%; }
  .lane { border-radius: 18px 18px 0 0; }
  .lane__tab { top: -30px; height: 30px; padding: 0 14px; font-size: 13px; }
  .lane--2 { top: 34px; } .lane--3 { top: 68px; } .lane--4 { top: 102px; } .lane--front { top: 136px; }
  .lane--1 .lane__tab { left: 3%; } .lane--2 .lane__tab { left: 34%; } .lane--3 .lane__tab { left: auto; right: 3%; } .lane--4 .lane__tab { right: auto; left: 8%; }
  .lane__film { border-radius: 18px 18px 0 0; }
  .lane__go { left: 16px; right: 16px; top: 20px; justify-content: center; }
  .words__text { font-size: 23px; max-width: none; }
  .words__foot { display: flex; flex-direction: column; align-items: flex-start; margin-top: 40px; }
  .est { padding: 96px 16px; }
  .est__intro { display: block; margin-bottom: 32px; }
  .est__title { font-size: 10vw; }
  .est__lead { margin-top: 16px; }
  .est__box { grid-template-columns: 1fr; }
  .est__form, .est__out { padding: 20px 16px; }
  .est__route { margin: 8px 0 0; }
  .route { position: static; display: grid; gap: 8px; margin-top: 18px; }
  .route li { position: static; translate: none; display: grid; grid-template-columns: 22px auto 1fr; align-items: center; column-gap: 12px; }
  .route li::before { width: 22px; height: 22px; border-width: 5px; }
  .route__label { margin-top: 0; font-size: 15px; }
  .route__date { text-align: right; }
  .wall__cta { grid-column: span 2 !important; padding: 28px 20px; }
  .wall__cta-title { font-size: 10vw; }
  .duo { grid-template-columns: 1fr; }
  .duo__field { min-height: 70svh; padding: 28px 20px; }
  .duo__field--b { order: -1; }
  .duo__name { font-size: 12vw; }
  .duo__price { font-size: 20vw; }
  .duo__foot .btn { width: 100%; justify-content: center; }
  .inset { padding: 96px 10px 0; }
  .inset__panel { display: flex; flex-direction: column; gap: 32px; min-height: 0; padding: 28px 18px 0; }
  .inset__title { font-size: 9vw; max-width: none; }
  .inset__text { padding-left: 0; gap: 28px; }
  .inset__shape { position: static; width: 86vw; max-width: none; margin: 8px auto -25%; }
  .inset__panel { padding-bottom: 0; }
  .quote { display: block; }
  .quote__portrait { width: 72%; }
  .quote__text { margin: 32px 0 0; }
  .quote__text p { font-size: 22px; }
  .quote__place { width: 44%; margin: 48px 0 0 auto; }
  .frame__title { font-size: 11vw; margin-bottom: 32px; }
  .faq { display: block; }
  .faq__title { position: static; font-size: 12vw; margin-bottom: 24px; }
  .faq summary { min-height: 64px; padding: 14px 20px; font-size: 18px; }
  .faq details p { padding: 0 20px 22px; font-size: 16px; }
  .foot { padding: 96px 16px 28px; }
  .foot__top { display: flex; flex-direction: column; gap: 40px; }
  .foot__road { margin-top: 64px; }
  .head { display: block; padding: 64px 16px 56px; }
  .head__title { font-size: 13vw; }
  .head__side { margin-top: 24px; }
  .head__side .btn { width: 100%; justify-content: center; }
  .index__row { grid-template-columns: 1fr auto; padding: 14px; }
  .index__what { grid-column: 1 / -1; grid-row: 3; font-size: 16px; }
  .index__name { font-size: 24px; }
  .gear__row { grid-template-columns: 1fr; }
  .look { grid-template-columns: 1fr 1fr; }
  .look figure:first-of-type { grid-column: 1 / -1; }
  .look__title { font-size: 11vw; }
  .gear__title { font-size: 11vw; }
  .steps__title { font-size: 11vw; margin-bottom: 40px; }
  .steps__list { grid-template-columns: 1fr; gap: 28px; }
  .steps__road { display: none; }
  .area { grid-template-columns: 1fr; gap: 32px; }
  .area__title { font-size: 11vw; }
  .pair { grid-template-columns: 1fr; }
  .pair figure:last-child { margin-top: 0; }
  .wall__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .wall__grid li { grid-column: span 1 !important; margin-top: 0 !important; }
  .wall__grid li:first-child { grid-column: span 2 !important; }
  .keys { grid-template-columns: 1fr; gap: 28px; }
  .keys__title { font-size: 11vw; }
  .reviews { display: block; }
  .reviews__title { position: static; font-size: 12vw; margin-bottom: 32px; }
  .reviews__list { gap: 40px; }
  .reviews__list li:nth-child(even) { padding-left: 10%; }
  .reviews__list p { font-size: 21px; }
  .book { display: flex; flex-direction: column; gap: 40px; }
  .book__side { position: static; }
  .book__shape { width: 60%; }
  .bk__step { padding: 18px 14px; }
  .bk__days { grid-template-columns: repeat(4, 1fr); }
  .bk__fields { grid-template-columns: 1fr; }
  .bk__bar { flex-direction: column; align-items: stretch; border-radius: var(--r); padding: 16px; }
  .bk__go { width: 100%; }
  .bk__done { padding: 26px 18px; }
  .reach { grid-template-columns: 1fr; gap: 32px; }
  .reach__status { font-size: 22px; }
  .coupon__card { grid-template-columns: 1fr; }
  .coupon__card::before, .coupon__card::after { left: auto; top: 172px; bottom: auto; margin: 0; }
  .coupon__card::before { left: -15px; }
  .coupon__card::after { right: -15px; }
  .coupon__left { padding: 28px 20px 40px; }
  .coupon__form { padding: 24px 20px 28px; }
  .coupon__perf { display: none; }
}

@media (min-width: 600px) and (max-width: 860px) {
  :root { --gap: 136px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero__title, .js .hero__sub, .js .lane, .js [data-rise] { animation: none; }
  .js [data-reveal] { opacity: 1; translate: none; transition: none; }
  .frame__item { transition: none; }
  .route li { transition: none; }
  .book__live .dot { animation: none !important; }
}

/* heel smalle telefoons (320px): kop past anders net niet */
@media (max-width: 340px) {
  .top { gap: 6px; padding-inline: 12px; }
  .top__cta { padding: 0 12px; }
  .top__menu { padding: 0 12px; }
}

/* telefoon: lange woorden (Faalangstexamen) en het e-mailadres mogen de pagina niet breder maken */
@media (max-width: 860px) {
  .index__row { column-gap: 16px; }
  .index__name { font-size: min(24px, 5.6vw); overflow-wrap: anywhere; }
  .reach { grid-template-columns: minmax(0, 1fr); }
  .reach__links { overflow-wrap: anywhere; }
}
