@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-italic.woff2") format("woff2");
  font-weight: 300 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f3f3f1;
  --white: #ffffff;
  --ink: #1e1b22;
  --muted: #5a5560;
  --line: #d9d6dc;
  --accent: #7f4796;
  --accent-deep: #6e3a84;
  --radius: 22px;
  --gutter: clamp(16px, 4vw, 48px);
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .footer :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff;
  padding: 10px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1344px; margin-inline: auto; padding-inline: var(--gutter); }

/* typografie */
h1, h2, h3 { font-weight: 560; letter-spacing: -0.035em; line-height: 1.04; hyphens: manual; }
h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); text-wrap: balance; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.028em; line-height: 1.1; }
em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
  font-size: 1.1em;
  line-height: 1;
}
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--muted); max-width: 46ch; }

.section { padding-block: clamp(72px, 10vw, 148px); scroll-margin-top: 20px; }

/* knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; letter-spacing: -0.005em; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .ico { width: 16px; height: 16px; flex: none; transition: transform .25s; }
.btn:hover .ico { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #38323f; }
.btn--line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--line:hover { background: #fff; color: var(--ink); }

/* navigatie */
.site-header { position: fixed; z-index: 50; top: 12px; left: 0; right: 0; padding-inline: var(--gutter); pointer-events: none; }
.nav {
  pointer-events: auto; position: relative; max-width: 1280px; margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  padding: 8px 10px 8px 18px; box-shadow: 0 6px 24px rgba(30, 27, 34, .08);
}
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 46px; width: auto; }
.nav__links { display: none; margin-left: auto; gap: 6px; }
.nav__links a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 500; }
.nav__links a:hover { background: var(--bg); }
.nav__call { min-height: 46px; padding: 0 20px; margin-left: auto; border-radius: 12px; }
.nav__call .ico { width: 16px; height: 16px; }
.nav__call:hover .ico { transform: none; }
.nav__toggle {
  width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; padding: 0;
}
.nav__toggle-bars, .nav__toggle-bars::before {
  display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative;
  transition: transform .25s;
}
.nav__toggle-bars::before { content: ""; position: absolute; top: 6px; left: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars { transform: translateY(3px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-bars::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }
.nav__menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line);
  border-radius: 20px; padding: 8px; box-shadow: 0 12px 32px rgba(30, 27, 34, .12);
}
.nav__menu a { display: block; padding: 14px 16px; border-radius: 12px; text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.nav__menu a:hover { background: var(--bg); }

/* hero */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden; background: #120f16;
}
.hero__media { position: absolute; left: 0; top: 0; width: 100%; height: 80svh; overflow: hidden; }
.hero__media img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 15, 22, 0) 0, rgba(18, 15, 22, .3) 26svh, rgba(18, 15, 22, .88) 62svh, #120f16 80svh);
}
.hero__inner {
  position: relative; display: grid; gap: 40px; align-items: end;
  padding-top: 54svh; padding-bottom: clamp(32px, 5vw, 64px);
}
.hero h1 { font-size: clamp(2.2rem, 9.2vw, 5.4rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .line > span { display: block; }
.hero h1 em { font-size: 1.04em; line-height: .8; }
.hero__sub { margin-top: 24px; max-width: 34ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); line-height: 1.5; color: #f1eef3; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__rows { display: grid; width: 100%; }
.hero__rows a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 0 18px; text-decoration: none; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
}
.hero__rows .rule { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .85); transform-origin: left; }
.hero__rows .ico { width: 18px; height: 18px; transition: transform .25s; }
.hero__rows a:hover .ico { transform: translateX(4px); }
.hero__rows a:hover span { text-decoration: underline; text-underline-offset: 5px; }

/* routes */
.routes { background: var(--bg); }
.routes__head { display: grid; gap: 24px; margin-bottom: clamp(40px, 6vw, 72px); }
.routes__head h2 { max-width: 16ch; }
.routes__grid { display: grid; gap: 20px; }
.route { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.route__media { aspect-ratio: 3 / 2; overflow: hidden; }
.route__media img { width: 100%; height: 100%; object-fit: cover; }
.route__body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; align-items: flex-start; }
.route__body p { color: #3f3a45; }
.route__fit { color: var(--ink) !important; padding-top: 14px; border-top: 1px solid var(--line); width: 100%; }
.route__fit strong { font-weight: 650; }
.route__body .btn { margin-top: auto; }

/* kiezer */
.picker { background: #fff; border-block: 1px solid var(--line); }
.picker__head { display: grid; gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
.zones { display: grid; gap: 40px; }
.zone h3 { margin-bottom: 20px; }
.zone__group { margin-bottom: 28px; }
.zone__label { font-weight: 650; font-size: .95rem; letter-spacing: 0; margin-bottom: 8px; color: var(--accent-deep); }
.zone__item { padding: 14px 0; border-top: 1px solid var(--line); font-size: 1.15rem; line-height: 1.4; max-width: 44ch; }
.zone__group ul li:last-child { border-bottom: 1px solid var(--line); }

.zones.is-tabs { gap: 20px; }
.zones__tabs {
  position: relative; display: flex; gap: 8px; overflow-x: auto; padding: 4px; margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter); scroll-snap-type: x proximity; scrollbar-width: none;
}
.zones__tabs::-webkit-scrollbar { display: none; }
.zones__marker {
  position: absolute; left: 0; top: 0; width: 0; height: 0; background: var(--accent); border-radius: 999px; z-index: 0;
  pointer-events: none;
}
.zones__tab {
  position: relative; z-index: 1; flex: none; scroll-snap-align: center; cursor: pointer; background: transparent;
  border: 1.5px solid var(--line); border-radius: 999px; padding: 12px 20px; min-height: 48px; font-weight: 550;
  font-size: 1.02rem; letter-spacing: -0.01em; white-space: nowrap; transition: color .2s, border-color .2s;
}
.zones__tab[aria-selected="true"] { color: #fff; border-color: transparent; }
.zones__tab:hover:not([aria-selected="true"]) { border-color: var(--ink); }
.is-tabs .zone h3 { margin-bottom: 20px; }
.is-tabs .zone { background: var(--bg); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px); }
.js .is-tabs .zone h3 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); margin: -1px; }
.is-tabs .zone__cta { margin-top: 8px; }
.is-tabs .zone__item { border-color: #cfccd2; }
.is-tabs .zone__group ul li:last-child { border-color: #cfccd2; }

/* over */
.about { background: var(--bg); }
.about__grid { display: grid; gap: 40px; align-items: start; }
.about__photo { border-radius: var(--radius); overflow: hidden; max-width: 440px; background: #ddd; }
.about__photo img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.about__text { display: grid; gap: 32px; min-width: 0; }
.quote p { font-family: var(--serif); font-style: italic; font-weight: 300; font-optical-sizing: auto; font-size: clamp(1.8rem, 3.8vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
.quote footer { margin-top: 16px; color: var(--muted); font-weight: 500; }
.facts { display: grid; border-top: 1px solid var(--line); }
.facts > div { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-weight: 650; font-size: 1.25rem; letter-spacing: -0.02em; }
.facts dd { color: var(--muted); }
.about__prose { display: grid; gap: 16px; max-width: 58ch; color: #3f3a45; }

/* stappen */
.steps { background: #fff; border-block: 1px solid var(--line); }
.steps h2 { margin-bottom: clamp(40px, 6vw, 72px); }
.steps__wrap { position: relative; }
.steps__line { position: absolute; background: var(--accent); transform-origin: left top; display: block; left: 7px; top: 8px; bottom: 8px; width: 2px; }
.steps__list { display: grid; gap: 36px; }
.step { position: relative; padding-left: 40px; display: grid; gap: 10px; align-content: start; }
.step__dot { position: absolute; left: 0; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid var(--accent); }
.step h3 { font-size: clamp(1.4rem, 2vw, 1.7rem); }
.step p { color: #3f3a45; max-width: 40ch; }
.assure {
  margin-top: clamp(48px, 7vw, 88px); background: var(--bg); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 48px); display: grid; gap: 16px; justify-items: start;
}
.assure__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 560; letter-spacing: -0.03em; line-height: 1.1; }
.assure p:not(.assure__title) { max-width: 62ch; color: #3f3a45; }
.assure .btn { margin-top: 8px; }

/* locaties */
.where { background: var(--bg); }
.where__head { display: grid; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); }
.where__band { border-radius: var(--radius); overflow: hidden; margin-bottom: 20px; }
.where__band img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 40%; }
.where__grid { display: grid; gap: 20px; }
.loc { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 12px; align-content: start; }
.loc__days { font-weight: 650; color: var(--accent-deep); }
.loc h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin-bottom: 4px; }
.loc address { color: #3f3a45; line-height: 1.55; }
.loc__tel { margin-top: 8px; justify-self: start; font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.loc__tel:hover { color: var(--accent-deep); }
.refund { margin-top: clamp(40px, 6vw, 72px); display: grid; gap: 12px; max-width: 62ch; }
.refund p { color: #3f3a45; }

/* cta + formulier */
.cta { background: #fff; border-top: 1px solid var(--line); }
.cta__head { display: grid; justify-items: center; text-align: center; gap: 20px; margin-bottom: clamp(40px, 6vw, 72px); }
.cta__head .lead { max-width: 36ch; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.cta__mail { color: var(--muted); }
.form { max-width: 760px; margin-inline: auto; display: grid; gap: 18px; background: var(--bg); border-radius: var(--radius); padding: clamp(22px, 4vw, 44px); scroll-margin-top: 90px; }
.field { display: grid; gap: 8px; }
.field label { font-weight: 600; font-size: .98rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; border: 1.5px solid #c9c6cd; border-radius: 12px; background: #fff;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #75707b; }
.field input:user-invalid, .field select:user-invalid { border-color: #b3261e; }
.form__foot { display: grid; gap: 14px; justify-items: start; }
.form__msg { padding: 14px 16px; background: #fff; border-left: 4px solid var(--accent); border-radius: 8px; max-width: 56ch; }

/* footer */
.footer { background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(48px, 7vw, 88px); }
.footer__grid { display: grid; gap: 36px; }
.footer__brand { display: grid; gap: 14px; align-content: start; justify-items: start; }
.footer__brand img { height: 64px; width: auto; }
.footer__name { font-weight: 650; font-size: 1.2rem; letter-spacing: -0.02em; }
.footer__head { font-weight: 650; margin-bottom: 8px; }
.footer address, .footer__brand p { color: #3f3a45; }
.footer a { text-decoration-color: var(--line); text-underline-offset: 3px; }
.footer a:hover { text-decoration-color: currentColor; }
.footer__bottom { padding-block: 40px 28px; color: var(--muted); font-size: .95rem; }

/* mobiele balk */
.mbar {
  position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 12px; display: none; gap: 10px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 28px rgba(30, 27, 34, .16);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
}
.mbar .btn { flex: 1; min-height: 50px; }
.js .mbar { display: flex; }
.mbar.is-on { transform: none; }

/* toast */
.toast {
  position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%); width: max-content; max-width: min(92vw, 460px);
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); text-align: center;
}
.mbar.is-on ~ .toast { bottom: 96px; }

/* begintoestanden voor beweging (alleen met JS en zonder reduced motion) */
.js:not(.rm) .hero h1 .line > span { transform: translateY(105%); }
.js:not(.rm) .hero__sub, .js:not(.rm) .hero__cta { opacity: 0; transform: translateY(18px); }
.js:not(.rm) .hero__rows .rule { transform: scaleX(0); }
.js:not(.rm) .hero__rows a > span, .js:not(.rm) .hero__rows a > svg { opacity: 0; }
.js:not(.rm) .reveal { opacity: 0; transform: translateY(26px); }

@media (min-width: 640px) {
  .where__grid { grid-template-columns: 1fr 1fr; }
  .form { grid-template-columns: 1fr 1fr; }
  .field--wide, .form__foot { grid-column: 1 / -1; }
  .where__band img { aspect-ratio: 1920 / 560; }
}

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__call { margin-left: 0; }
  .nav__toggle, .nav__menu { display: none !important; }
  .mbar { display: none !important; }

  .hero__media { height: 100%; }
  .hero__media img { width: 136%; max-width: none; height: 100%; object-position: 50% 0; }
  .hero__shade { background: linear-gradient(0deg, rgba(18, 15, 22, .88) 0%, rgba(18, 15, 22, .35) 40%, rgba(18, 15, 22, 0) 70%), linear-gradient(90deg, rgba(18, 15, 22, .92) 0%, rgba(18, 15, 22, .66) 38%, rgba(18, 15, 22, 0) 60%, rgba(18, 15, 22, .55) 100%); }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding-top: 170px; }
  .hero h1 { font-size: clamp(3.4rem, 5.2vw, 5rem); }
  .hero__rows a { font-size: 1.25rem; padding: 22px 0 22px; }

  .routes__head { grid-template-columns: 1.1fr 1fr; align-items: end; gap: 64px; }
  .routes__grid { grid-template-columns: 1fr 1fr; gap: 24px; }

  .zones.is-tabs { grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
  .zones__tabs { flex-direction: column; overflow: visible; margin-inline: 0; padding: 0; gap: 6px; }
  .zones__tab { text-align: left; border-radius: 16px; padding: 18px 24px; font-size: 1.3rem; border-color: transparent; background: transparent; }
  .zones__tab:hover:not([aria-selected="true"]) { background: var(--bg); border-color: transparent; }
  .zones__marker { border-radius: 16px; }
  .is-tabs .zone { min-height: 100%; }
  .is-tabs .zone__item { font-size: 1.3rem; max-width: 46ch; }

  .about__grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: clamp(48px, 7vw, 112px); }
  .about__photo { position: sticky; top: 100px; }

  .steps__list { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .steps__line { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 2px; transform-origin: left center; }
  .step { padding-left: 0; padding-top: 44px; }
  .step__dot { top: 0; }

  .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 64px; }
}

@media (min-width: 1100px) {
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 0; gap: 28px; }
  .facts > div { border-bottom: 0; border-top: 1px solid var(--ink); padding-top: 14px; align-content: start; }
  .nav__links a { padding: 10px 18px; }
}

@media (max-width: 899px) {
  body { padding-bottom: 0; }
  .js .footer { padding-bottom: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
