/* ==========================================================================
   Subpagina's — zelfde wereld als de homepage (zie DESIGN.md):
   antraciet, gravel-oranje en ivoor als vlakken, krijt- en inktlijnen als enige ornament.
   ========================================================================== */

.band-alt { background: var(--ivory-2); }
.section-head-sub { max-width: 62ch; margin-bottom: clamp(28px, 3.5vw, 48px); }
.section-head-sub .section-sub { margin-top: .45em; }
.section-intro { margin-top: 16px; font-size: 1.125rem; color: var(--muted); max-width: 56ch; }
.on-dark .section-intro { color: var(--chalk-dim); }

/* ------------------------------------------------------------------ knoppen (extra varianten) */
.btn-ghost { --btn-bg: transparent; --btn-fg: var(--chalk); --btn-bg-hover: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bg-hover: var(--ivory-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.on-dark .btn-outline, .aside-card .btn-outline, .plan-card .btn-outline, .lesson-card.is-featured .btn-outline {
  --btn-fg: var(--chalk); --btn-bg-hover: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
}
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ------------------------------------------------------------------ paginaheader */
.page-hero { padding: calc(var(--topbar-h) + var(--header-h) + clamp(28px, 4.5vw, 64px)) 0 clamp(48px, 6vw, 96px); }
.page-hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: center; }
.page-hero-copy { grid-column: 1 / span 6; }
.page-hero-media { grid-column: 8 / span 5; }
.page-hero-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; font-size: .875rem; color: var(--chalk-dim); }
.crumbs a { min-height: 32px; display: inline-flex; align-items: center; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.crumbs a:hover { color: var(--chalk); text-decoration-color: currentColor; }
.page-title {
  /* maximaal twee regels: --l2w is de breedste regel (em) bij de beste verdeling, berekend in render.mjs */
  --cw: calc((min(100vw, 1440px) - 2 * var(--gutter) - var(--col-gap)) / 2);
  text-transform: none; font-stretch: 106%; letter-spacing: -.028em; line-height: 1;
  font-size: min(clamp(2.25rem, 1rem + 3.4vw, 4.5rem), calc(var(--cw) / (var(--l2w, 8) * 1.06)));
}
@media (max-width: 1023px) { .page-title { --cw: calc(100vw - 2 * var(--gutter)); } }
.page-hero .section-sub { margin-top: .6em; }
.page-intro { margin-top: 20px; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.5; color: var(--chalk-dim); max-width: 52ch; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: clamp(32px, 3.4vw, 44px); padding-top: 22px; border-top: 1px solid var(--line-dark); max-width: 640px; }
.hero-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; }
.hero-badges .icon { color: var(--orange-lt); }

@media (max-width: 1023px) {
  .page-hero-copy, .page-hero-media { grid-column: 1 / -1; }
  .page-hero-media { margin-top: 12px; }
  .page-hero-media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 767px) {
  .page-actions { flex-direction: column; align-items: stretch; }
}

/* ------------------------------------------------------------------ strook (USP's / stappen) */
.strip { background: var(--ivory-2); padding-block: clamp(24px, 3vw, 40px); }
.strip-title { font-size: 1.25rem; margin-bottom: 14px; }
.strip-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); border-top: 2px solid var(--ink); }
.strip-list li {
  display: flex; align-items: center; gap: 10px; padding: 16px 20px; min-height: 64px;
  border-left: 1px solid var(--line-light); font-weight: 600; line-height: 1.35;
}
.strip-list li:first-child { border-left: 0; padding-left: 0; }
.strip-list .icon { color: var(--orange); }
.strip-num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.5rem; color: var(--orange-deep); font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
  .strip-list { grid-template-columns: 1fr; }
  .strip-list li { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line-light); min-height: 56px; }
}

/* ------------------------------------------------------------------ kaarten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: var(--col-gap); }
.card { padding-top: 22px; border-top: 2px solid var(--ink); }
.card-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.375rem; line-height: 1.15; letter-spacing: -.01em; margin-bottom: 10px; }
.card p { color: var(--muted); }
/* Keuzes (max. 4): donkere beslissingskaarten met een servicevak als baanlijn in de hoek */
.cards-dark { gap: 12px; }
.card-option {
  position: relative; display: flex; flex-direction: column; min-height: clamp(240px, 22vw, 320px); overflow: hidden;
  padding: clamp(28px, 3vw, 40px); background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange);
}
.card-option .card-title {
  margin-bottom: auto; padding-bottom: 36px;
  font-stretch: 118%; text-transform: uppercase; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.375rem); line-height: .94; letter-spacing: -.012em;
}
.card-option p { position: relative; z-index: 1; max-width: min(30ch, 68%); font-size: 1.0625rem; color: var(--chalk-dim); }
.card-option::after {
  content: ""; position: absolute; right: -2px; bottom: -2px; width: 26%; height: 52%;
  border-top: 2px solid rgba(255, 255, 255, .14); border-left: 2px solid rgba(255, 255, 255, .14);
  transition: border-color var(--dur-med) var(--ease-out);
}
.card-option:hover::after { border-color: rgba(232, 138, 96, .55); }
.cards-price .card { padding: 28px; background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange); }
.cards-price .card-title { margin-bottom: 16px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding: 12px 0; border-top: 1px solid var(--line-dark); }
.cards-price .price-row span { color: var(--chalk-dim); }
.price-row strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.5rem, 1.2rem + .8vw, 2rem); font-variant-numeric: tabular-nums lining-nums; color: var(--chalk); }

/* ------------------------------------------------------------------ hoofdstukken: long-read met index */
.chapters-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.chapter-rail { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 32px; }
.chapters { grid-column: 6 / span 7; }
.chapters-grid.no-rail .chapters { grid-column: 3 / span 8; }
.chapter-toc { padding-top: 16px; border-top: 2px solid var(--ink); }
.toc-label { margin-bottom: 10px; font-size: .875rem; font-weight: 600; color: var(--muted); }
.chapter-toc a {
  display: block; padding: 9px 0 9px 18px; border-left: 2px solid var(--line-light);
  font-weight: 600; font-size: .9375rem; line-height: 1.35; color: var(--muted); text-decoration: none;
  transition: color var(--dur-fast), border-color var(--dur-med) var(--ease-out);
}
.chapter-toc a:hover { color: var(--ink); border-left-color: var(--ink); }
.chapter-toc a.is-active { color: var(--ink); border-left-color: var(--orange); }
.chapter-block { padding-bottom: clamp(44px, 5vw, 72px); scroll-margin-top: calc(var(--header-h) + 24px); }
.chapter-block + .chapter-block, .chapter-break + .chapter-block { padding-top: clamp(44px, 5vw, 72px); border-top: 1px solid var(--line-light); }
.chapter-h { margin-bottom: 20px; font-family: var(--font-display); font-stretch: 106%; font-weight: 800; font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.75rem); line-height: 1.04; letter-spacing: -.026em; text-wrap: balance; }
.chapter-block p { max-width: 64ch; margin-bottom: 1em; }
.chapter-block .lede { font-size: clamp(1.1875rem, 1.05rem + .45vw, 1.4375rem); line-height: 1.5; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ivory-2); border-radius: 3px; font-weight: 600; font-size: .9375rem; line-height: 1.3; }
.chips .icon { color: var(--orange); }
.chapter-break { margin-bottom: clamp(44px, 5vw, 72px); }
.chapter-break img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.checks li { display: flex; align-items: baseline; gap: 10px; padding: 6px 0; }
.checks .icon { flex: none; color: var(--orange); transform: translateY(3px); }
.checks-lg li { padding: 14px 0; border-bottom: 1px solid var(--line-light); font-size: 1.125rem; }
.aside-card { padding: clamp(24px, 2.6vw, 36px); background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange); }
.aside-title { font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.375rem; line-height: 1.15; }
.aside-sub { margin: 4px 0 12px; font-weight: 600; color: var(--orange-lt); }
.aside-card p { margin-top: 12px; color: var(--chalk-dim); }
.aside-card .info-row { display: flex; align-items: flex-start; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.aside-card .info-row .icon { flex: none; margin-top: 3px; color: var(--orange-lt); }
.aside-card .checks .icon { color: var(--orange-lt); }
.aside-card a:not(.btn) { color: var(--chalk); }
.aside-actions { display: grid; gap: 8px; margin-top: 22px; }
@media (max-width: 1023px) {
  .chapter-rail, .chapters, .chapters-grid.no-rail .chapters { grid-column: 1 / -1; }
  .chapter-rail { position: static; order: 2; }
  .chapter-toc { display: none; }
}

/* ------------------------------------------------------------------ stappen: donkere band, omlijnde cijfers aan één krijtlijn */
.steps-section { padding-block: clamp(72px, 9vw, 136px); }
.steps-track { position: relative; }
.steps-track .steps-line { position: absolute; left: 0; right: 0; top: clamp(40px, 3.6vw, 56px); margin: 0; background: rgba(255, 255, 255, .34); }
.steps { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--col-gap); }
.steps li { padding: 0; border: 0; }
.step-num {
  display: inline-block; padding-right: 22px; background: var(--charcoal);
  font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(5rem, 3.4rem + 4vw, 8.5rem);
  line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 2px var(--chalk);
  font-variant-numeric: tabular-nums; transition: color var(--dur-slow) var(--ease-out);
}
.steps li:first-child .step-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.steps li:hover .step-num { color: var(--chalk); }
.steps li:first-child:hover .step-num { color: var(--orange); }
.steps p { margin: 26px 0 0; max-width: 30ch; font-size: 1.125rem; line-height: 1.5; color: var(--chalk-dim); }
@media (max-width: 767px) {
  .steps-track .steps-line { display: none; }
  .steps { gap: 36px; }
  .step-num { font-size: 4.5rem; }
  .steps p { margin-top: 14px; }
}

/* ------------------------------------------------------------------ notitie, callout, solo */
.note-section { padding-top: 0; }
.note-panel { max-width: 880px; padding: clamp(24px, 3vw, 40px); background: var(--ivory-2); border-top: 3px solid var(--ink); }
.note-panel .h-alt { margin-bottom: 12px; }
.callout { padding-block: clamp(56px, 7vw, 104px); }
.callout-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: end; }
.callout-head { grid-column: 1 / span 6; margin: 0; }
.callout-grid > div:last-child { grid-column: 8 / span 5; }
.callout-text { font-size: 1.125rem; }
.callout .page-actions { margin-top: 20px; }
.solo-band { padding-block: clamp(56px, 7vw, 104px); }
.solo-grid { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.solo-grid > div:first-child { max-width: 640px; }
.solo-text { margin-top: 16px; font-size: 1.125rem; color: var(--chalk-dim); }
.solo-grid .page-actions { margin: 0; }
@media (max-width: 1023px) {
  .callout-head, .callout-grid > div:last-child { grid-column: 1 / -1; }
  .callout-grid > div:last-child { margin-top: 12px; }
}

/* ------------------------------------------------------------------ voordelen: grote uitspraken met beeld */
.summary-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.summary-head { grid-column: 1 / span 5; position: sticky; top: calc(var(--header-h) + 28px); }
.summary-head .section-head-sub { margin-bottom: 28px; }
.summary-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.benefits { grid-column: 7 / span 6; border-top: 2px solid var(--ink); }
.benefits li {
  display: flex; align-items: center; gap: 20px; padding: clamp(20px, 2.4vw, 32px) 0; border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display); font-stretch: 106%; font-weight: 700; font-size: clamp(1.375rem, 1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -.015em;
}
.benefit-mark { display: grid; place-items: center; flex: none; width: 44px; height: 44px; background: var(--orange); color: var(--chalk); border-radius: 3px; }
@media (max-width: 1023px) {
  .summary-head, .benefits { grid-column: 1 / -1; }
  .summary-head { position: static; }
  .benefits { margin-top: 28px; }
}

/* ------------------------------------------------------------------ abonnement */
.plan-card {
  position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px var(--col-gap); align-items: center;
  padding: clamp(32px, 4vw, 56px); background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange);
}
.plan-main { grid-column: 1 / span 6; }
.plan-card .checks { grid-column: 8 / span 5; border-top: 1px solid var(--line-dark); }
.plan-card .checks li { border-bottom-color: var(--line-dark); }
.plan-card .checks .icon { color: var(--orange-lt); }
.plan-badge {
  position: absolute; top: 0; left: clamp(32px, 4vw, 56px); transform: translateY(-50%);
  padding: 6px 12px; background: var(--orange); color: var(--chalk); font-weight: 600; font-size: .875rem; border-radius: 3px;
}
.plan-price { margin: 14px 0 6px; }
.plan-price span { font-family: var(--font-display); font-stretch: 125%; font-weight: 800; font-size: clamp(3rem, 2rem + 3.6vw, 5.5rem); line-height: .9; letter-spacing: -.02em; font-variant-numeric: tabular-nums lining-nums; }
.plan-price small { font-size: 1.125rem; color: var(--chalk-dim); }
.plan-note, .plan-other { color: var(--chalk-dim); }
.plan-other { margin-top: 20px; font-size: .9375rem; }
.plan-other a { color: var(--chalk); text-underline-offset: 4px; }
@media (max-width: 1023px) { .plan-main, .plan-card .checks { grid-column: 1 / -1; } }

/* ------------------------------------------------------------------ lestarieven */
.lesson-hours { display: grid; gap: 4px; margin-bottom: 24px; max-width: 72ch; color: var(--muted); }
.lesson-hours strong { color: var(--ink); }
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: 36px; background: var(--ivory-2); border-radius: var(--radius); }
.seg button { min-height: 44px; padding: 0 18px; font-weight: 600; border-radius: 3px; transition: background-color var(--dur-fast), color var(--dur-fast); }
.seg button:hover { background: rgba(32, 37, 34, .08); }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--chalk); }
.lesson-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px var(--col-gap); }
.lesson-grid[hidden] { display: none; }
.lesson-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 32px 24px 24px; background: var(--ivory-2); border-top: 2px solid var(--ink); }
.lesson-card .plan-badge { left: 24px; color: var(--chalk); }
.lesson-card.is-featured { background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange); }
.lesson-card p { margin: 0; color: var(--muted); }
.lesson-card.is-featured p { color: var(--chalk-dim); }
.lesson-price { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 2rem; line-height: 1.05; color: var(--ink) !important; font-variant-numeric: tabular-nums lining-nums; }
.lesson-card.is-featured .lesson-price { color: var(--chalk) !important; }
.lesson-price small { font-family: var(--font-text); font-size: .9375rem; font-weight: 500; }
.lesson-meta { font-weight: 600; }
.lesson-rows { width: 100%; margin: 6px 0; }
.lesson-rows th, .lesson-rows td { padding: 9px 0; border-top: 1px solid var(--line-light); text-align: left; font-weight: 500; }
.lesson-rows td { text-align: right; font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.lesson-rows em { font-style: normal; font-size: .8125rem; color: var(--orange-deep); font-weight: 600; }
.lesson-small { font-size: .875rem; }
.lesson-card .btn { margin-top: auto; }

/* ------------------------------------------------------------------ bekijk ook / verder op de site */
.faq-page .faq { margin-top: 0; }
.more-links { padding-block: 28px; border-top: 1px solid var(--line-light); }
.more-links-inner { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 40px; }
.more-links-title { font-family: var(--font-text); font-size: .9375rem; font-weight: 600; color: var(--muted); }
.more-links ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
.more-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 600; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.more-links a .icon { width: 18px; height: 18px; transition: transform var(--dur-fast) var(--ease-out); }
.more-links a:hover .icon { transform: translateX(4px); }
.page-home .more-links { background: var(--ivory); }

/* ------------------------------------------------------------------ afsluitende actie: kop, één krijtlijn, staand beeld tot de rand */
.page-cta { position: relative; overflow: hidden; padding-block: clamp(72px, 9vw, 136px); }
.page-cta-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: end; }
.page-cta-title { grid-column: 1 / -1; max-width: 14ch; font-size: clamp(2.75rem, .8rem + 6vw, 7.75rem); line-height: .86; letter-spacing: -.02em; }
.page-cta.has-media .page-cta-title { grid-column: 1 / span 8; max-width: none; font-size: clamp(2.25rem, .5rem + 3.4vw, 4rem); line-height: .9; }
.page-cta .court-line { grid-column: 1 / -1; width: 100vw; margin: clamp(28px, 3.4vw, 48px) 0 clamp(26px, 3vw, 40px) calc(50% - 50vw); }
.page-cta-row { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.page-cta.has-media .page-cta-row { grid-column: 1 / span 7; flex-direction: column; align-items: flex-start; }
.page-cta-row p { margin: 0; max-width: 42ch; font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); }
.page-cta-actions { margin: 0; }
.page-cta.has-media { min-height: clamp(520px, 44vw, 680px); }
.page-cta-media {
  position: absolute; z-index: 1; top: clamp(72px, 9vw, 136px); bottom: 0;
  right: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
  width: calc((min(100vw, 1440px) - 2 * var(--gutter)) * .31);
}
.page-cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 -30px 60px -40px rgba(40, 14, 4, .6); }
@media (max-width: 1023px) {
  .page-cta.has-media .page-cta-title, .page-cta.has-media .page-cta-row { grid-column: 1 / -1; }
  .page-cta.has-media { min-height: 0; padding-bottom: 0; }
  .page-cta-media { position: relative; top: auto; right: auto; bottom: auto; width: 100%; grid-column: 1 / -1; aspect-ratio: 4 / 3; margin-top: 44px; }
}
@media (max-width: 767px) {
  .page-cta-title, .page-cta.has-media .page-cta-title { font-stretch: 112%; font-size: clamp(2.375rem, 1rem + 6vw, 3.5rem); }
  .page-cta-actions { width: 100%; }
}

/* ------------------------------------------------------------------ contact */
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--col-gap); }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 26px 24px; background: var(--ivory-2); border-top: 2px solid var(--ink); }
.contact-icon { width: 28px; height: 28px; margin-bottom: 8px; color: var(--orange); }
.contact-card p { color: var(--muted); margin: 0; }
.hours li { font-variant-numeric: tabular-nums; font-weight: 600; }
.contact-duo-section { padding-top: 0; }
.contact-duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.hans-card { grid-column: 1 / span 5; }
.hans-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; object-position: 50% 22%; border-radius: var(--radius); }
.hans-card > div { margin-top: 24px; }
.hans-card > div > p:not(.section-sub) { margin: 16px 0 24px; max-width: 46ch; }
.form-card { grid-column: 7 / span 6; padding: clamp(24px, 3vw, 40px); background: var(--ivory-2); border-top: 3px solid var(--ink); }
.form-card .section-sub { margin-bottom: 20px; }
@media (max-width: 1023px) { .hans-card, .form-card { grid-column: 1 / -1; } .form-card { margin-top: 16px; } }

.map-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: center; }
.map-frame {
  grid-column: 1 / span 7; position: relative; aspect-ratio: 1600 / 997; overflow: hidden;
  color: var(--chalk); border-radius: var(--radius); background: var(--charcoal);
}
.map-frame .map-card { position: absolute; inset: 0; border-radius: 0; }
.map-frame .map-credit { top: 0; bottom: auto; border-radius: 0 0 0 3px; }
.map-consent {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 10px 10px 10px 18px;
  border-radius: var(--radius); background: rgba(17, 24, 22, .84); backdrop-filter: blur(6px);
  font-size: .9375rem; line-height: 1.4;
}
.map-consent p { margin: 0; color: var(--chalk-dim); }
.map-consent .btn { flex: none; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-road {
  transform: translate(-50%, -50%) rotate(var(--a)); padding: 5px 8px; white-space: nowrap;
  border: 1px solid rgba(247, 243, 237, .55); border-radius: 2px; background: var(--charcoal-3); color: var(--chalk);
  font: 700 9.5px/1 var(--font-text); letter-spacing: .14em; text-transform: uppercase;
}
.map-street {
  transform: translate(-50%, -50%); white-space: nowrap; color: rgba(247, 243, 237, .8);
  font: italic 500 11.5px/1 var(--font-text); text-shadow: 0 0 2px var(--charcoal), 0 0 5px var(--charcoal), 0 0 9px var(--charcoal);
}
@media (max-width: 599px) {
  .map-frame { aspect-ratio: auto; display: flex; flex-direction: column; }
  .map-frame .map-card { position: relative; }
  .map-frame.is-loaded { aspect-ratio: 4 / 5; }
  .map-consent { position: static; flex-direction: column; align-items: stretch; padding: 14px 16px 16px; border-radius: 0; background: var(--charcoal-2); }
}
.map-copy { grid-column: 9 / span 4; }
.map-copy p { margin: 10px 0; }
.map-copy .btn { margin-top: 12px; }
@media (max-width: 1023px) { .map-frame, .map-copy { grid-column: 1 / -1; } .map-copy { margin-top: 12px; } }

/* ------------------------------------------------------------------ formulieren */
.form-layout { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.form-intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 24px); }
.form-intro > p:not(.section-sub) { margin-top: 16px; }
.form-section .form { grid-column: 6 / span 7; padding: clamp(24px, 3vw, 44px); background: var(--ivory); color: var(--ink); border-top: 3px solid var(--orange); box-shadow: 0 44px 90px -44px rgba(0, 0, 0, .8); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 16px; }
.field { display: grid; gap: 6px; align-content: start; }
.field-wide { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .9375rem; }
.field small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 1.5px solid rgba(32, 37, 34, .32); border-radius: var(--radius);
  transition: border-color var(--dur-fast);
}
.field select {
  appearance: none; padding-right: 42px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23202522' stroke-width='1.8'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 12px center / 20px;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.check-field { display: flex; align-items: flex-start; gap: 12px; margin: 10px 0; font-size: 1rem; cursor: pointer; }
.check-field input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--orange-deep); }
.form .btn { margin-top: 12px; }
.form-note { margin-top: 12px; min-height: 1.5em; font-size: .9375rem; color: var(--muted); }
.form-note.is-error { color: var(--error); font-weight: 600; }
.form-summary { margin: 16px 0 4px; font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 1.125rem; }
.form-wait { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.form-wait .h-alt { font-size: 1.25rem; margin-bottom: 8px; }
.form-wait .btn { margin-top: 14px; }
@media (max-width: 1023px) { .form-intro, .form-section .form { grid-column: 1 / -1; } .form-intro { position: static; margin-bottom: 12px; } }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ calculator */
.calc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--col-gap); align-items: start; }
.calc-controls { grid-column: 1 / span 7; display: grid; gap: 22px; }
.calc-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.calc-field legend { margin-bottom: 8px; font-weight: 600; font-size: .9375rem; }
.calc .seg { margin: 0; }
.calc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.calc-hint { margin: -14px 0 0; font-size: .875rem; color: var(--muted); }
.calc-result {
  grid-column: 9 / span 4; position: sticky; top: calc(var(--header-h) + 24px);
  padding: clamp(24px, 2.6vw, 32px); background: var(--charcoal); color: var(--chalk); border-top: 3px solid var(--orange);
}
.calc-block { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; font-size: .9375rem; color: var(--chalk-dim); }
.calc-block strong { color: var(--chalk); }
.calc-block em { font-style: normal; color: var(--orange-lt); font-weight: 600; }
.calc-week { display: grid; margin: 14px 0 18px; }
.calc-week span { color: var(--chalk-dim); font-size: .9375rem; }
.calc-week strong { font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.5rem); line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.calc-list { margin: 0; }
.calc-list > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.calc-list dt { color: var(--chalk-dim); }
.calc-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-saving { margin: 16px 0 20px; padding-top: 14px; border-top: 1px solid var(--line-dark); }
.calc-saving strong { color: var(--orange-lt); }
.calc-note { margin-top: 12px; font-size: .8125rem; color: var(--chalk-dim); }
.calc-footnote { margin-top: 14px; max-width: 86ch; font-size: .9375rem; color: var(--muted); }
@media (max-width: 1023px) { .calc-controls, .calc-result { grid-column: 1 / -1; } .calc-result { position: static; } }
@media (max-width: 479px) { .calc-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ vergelijking */
.table-scroll { overflow-x: auto; }
.table-scroll:focus-visible { outline: 3px solid var(--orange-deep); }
.compare { width: 100%; min-width: 640px; border-top: 2px solid var(--ink); }
.compare th, .compare td { padding: 16px 16px 16px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-light); }
.compare thead th { font-size: .9375rem; font-weight: 600; color: var(--muted); }
.compare tbody th { font-weight: 600; }
.compare .is-ppl { padding-left: 18px; background: var(--charcoal); color: var(--chalk); font-weight: 600; border-bottom-color: var(--line-dark); }
.compare thead .is-ppl { background: var(--orange); color: var(--chalk); }

/* ------------------------------------------------------------------ galerij: redactioneel mozaïek */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 11vw, 176px); gap: var(--col-gap); margin-top: 36px; }
.g-item { position: relative; margin: 0; min-height: 0; grid-column: span 4; grid-row: span 2; }
.g-1 { grid-column: 1 / span 7; grid-row: 1 / span 4; }
.g-2 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.g-3 { grid-column: 8 / span 3; grid-row: 3 / span 2; }
.g-4 { grid-column: 11 / span 2; grid-row: 3 / span 2; }
.g-open { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); cursor: zoom-in; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.g-open:hover img { transform: scale(1.04); }
.g-zoom { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; background: rgba(17, 24, 22, .6); color: var(--chalk); border-radius: 3px; opacity: 0; transition: opacity var(--dur-fast); }
.g-open:hover .g-zoom, .g-open:focus-visible .g-zoom { opacity: 1; }
.g-item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; pointer-events: none;
  background: linear-gradient(to top, rgba(17, 24, 22, .85), rgba(17, 24, 22, 0)); color: var(--chalk);
  font-size: .875rem; font-weight: 600; border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; transform: translateY(6px); transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}
.g-item:hover figcaption, .g-item:focus-within figcaption { opacity: 1; transform: none; }
@media (hover: none) { .g-item figcaption, .g-zoom { opacity: 1; transform: none; } }
@media (max-width: 767px) {
  .gallery { grid-auto-rows: 120px; }
  .g-1 { grid-column: 1 / -1; grid-row: span 2; }
  .g-2, .g-3, .g-4, .g-item { grid-column: span 6; grid-row: span 2; }
}

/* ------------------------------------------------------------------ leestekst (juridisch) */
.prose-wrap { max-width: calc(880px + 2 * var(--gutter)); }
.prose-block { padding: 28px 0; border-top: 1px solid var(--line-light); }
.prose-block:first-child { border-top: 2px solid var(--ink); }
.prose h2 { margin-bottom: 12px; font-family: var(--font-display); font-stretch: 106%; font-weight: 800; font-size: 1.5rem; line-height: 1.2; letter-spacing: -.01em; }
.prose h3 { margin: 18px 0 8px; font-size: 1.125rem; }
.prose p, .prose li { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0; }
.prose li { margin: 6px 0; }
.prose li::marker { color: var(--orange); }
.prose a { text-underline-offset: 4px; }

/* ------------------------------------------------------------------ aanmelddialoog */
.signup-dialog { width: min(92vw, 580px); max-height: 92vh; padding: 0; border: 0; border-radius: 0; background: var(--ivory); color: var(--ink); }
.signup-dialog::backdrop { background: rgba(10, 14, 13, .82); }
.signup-inner { position: relative; padding: clamp(24px, 4vw, 40px); border-top: 3px solid var(--orange); }
.signup-close { position: absolute; top: 14px; right: 14px; color: var(--ink); }
.signup-close:hover { background: var(--ink); color: var(--chalk); }
.signup-inner .h-alt { padding-right: 56px; }
.signup-price { margin: 8px 0 0; font-family: var(--font-display); font-stretch: 108%; font-weight: 800; font-size: 1.25rem; }
.signup-inner .section-sub { margin-bottom: 20px; }

/* ------------------------------------------------------------------ footer: alle plaatsen */
.footer-more summary {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px;
  color: var(--chalk-dim); cursor: pointer; list-style: none; text-decoration: underline; text-underline-offset: 4px;
}
.footer-more summary::-webkit-details-marker { display: none; }
.footer-more summary:hover { color: var(--chalk); }
.footer-more .icon { transition: transform var(--dur-fast) var(--ease-out); }
.footer-more[open] .icon { transform: rotate(180deg); }


/* ------------------------------------------------------------------ bestemmingen: fotokaarten */
.related-section { background: var(--ivory-2); }
.related-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 40px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.related-head .section-head-sub { margin: 0; }
.related-intro { margin: 0; max-width: 40ch; color: var(--muted); }
.dest-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--col-gap); }
.dest-grid[data-count="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dest-grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dest-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--charcoal); color: var(--chalk); text-decoration: none; }
.dest-grid[data-count="3"] .dest-tile, .dest-grid[data-count="2"] .dest-tile { aspect-ratio: 5 / 4; }
.dest-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease-out); }
.dest-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17, 24, 22, .92) 0%, rgba(17, 24, 22, .45) 42%, rgba(17, 24, 22, 0) 72%); }
.dest-tile:hover img { transform: scale(1.04); }
.dest-body { position: absolute; left: 0; right: 68px; bottom: 0; z-index: 1; display: grid; gap: 6px; padding: clamp(18px, 2vw, 26px); }
.dest-title { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.dest-text { font-size: .9375rem; line-height: 1.4; color: var(--chalk-dim); }
.dest-tile .tile-arrow { z-index: 1; }
.dest-tile:hover .tile-arrow { background: var(--orange); border-color: var(--orange); }
.dest-tile:hover .tile-arrow .icon { transform: translateX(3px); }
@media (max-width: 1023px) { .dest-grid, .dest-grid[data-count="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .dest-grid, .dest-grid[data-count="3"], .dest-grid[data-count="2"] { grid-template-columns: 1fr; } .dest-tile, .dest-grid .dest-tile { aspect-ratio: 16 / 10; } }

/* ------------------------------------------------------------------ formulier op donker podium */
.form-section .form-intro > p:not(.section-sub) { color: var(--chalk-dim); }
.form-section .form-intro a { color: var(--chalk); }
.form-section .form :focus-visible { outline-color: var(--orange-deep); }
.form-section .form .btn-outline { --btn-fg: var(--ink); --btn-bg-hover: var(--ivory-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.direct-contact { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-dark); }
.direct-contact img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 18%; border-radius: 3px; }
.dc-who { display: grid; }
.dc-who strong { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 1.25rem; }
.dc-who span { font-size: .9375rem; color: var(--chalk-dim); }
.dc-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.dc-actions .btn { min-height: 48px; }

/* ------------------------------------------------------------------ vergrootweergave */
.lightbox { width: min(94vw, 1400px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; overflow: visible; }
.lightbox::backdrop { background: rgba(10, 14, 13, .94); }
.lb-figure { display: grid; gap: 14px; margin: 0; }
.lb-figure img { width: auto; max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius); }
.lb-figure figcaption { text-align: center; font-size: .9375rem; color: var(--chalk-dim); }
.lb-btn { position: fixed; color: var(--chalk); border-color: rgba(255, 255, 255, .5); background: rgba(0, 0, 0, .4); }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }

/* ------------------------------------------------------------------ FAQ: titel altijd op één regel, boven de vragen */
.visit .faq, .faq-page .faq { row-gap: 0; }
.visit .faq-head, .faq-page .faq-head { display: contents; }
.visit .faq-head h2, .faq-page .faq-head h2 {
  grid-column: 1 / -1; white-space: nowrap; margin-bottom: clamp(20px, 2.4vw, 36px);
  /* nooit breder dan de kolom: "Veelgestelde vragen" is circa 10,4 × de lettergrootte */
  font-size: min(clamp(2rem, 1.1rem + 2.5vw, 3.75rem), calc((100vw - 2 * var(--gutter)) / 10.6));
}
.visit .faq-head .section-sub, .faq-page .faq-head .section-sub { grid-column: 1 / span 4; align-self: start; margin: 0; padding-top: 18px; }
.visit .faq-list, .faq-page .faq-list { grid-column: 5 / -1; margin-top: 0; }
@media (max-width: 1023px) {
  .visit .faq-head .section-sub, .faq-page .faq-head .section-sub { grid-column: 1 / -1; padding-top: 0; margin-bottom: 16px; }
  .visit .faq-list, .faq-page .faq-list { grid-column: 1 / -1; }
}

/* stappen direct na een donkere sectie: lichte variant, zodat secties niet in elkaar overlopen */
.steps-light { background: var(--ivory-2); }
.steps-light .steps-track .steps-line { background: rgba(32, 37, 34, .3); }
.steps-light .step-num { background: var(--ivory-2); -webkit-text-stroke-color: var(--ink); }
.steps-light .steps li:hover .step-num { color: var(--ink); }
.steps-light .steps li:first-child .step-num, .steps-light .steps li:first-child:hover .step-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
.steps-light .steps p { color: var(--muted); }
@media (max-width: 767px) {
  .hero-badges { flex-direction: column; gap: 10px; }
}

/* partnerraster: vak "Jouw logo hier" krijgt genoeg breedte */
@media (min-width: 1024px) and (max-width: 1399px) {
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .logo-slot a { grid-template-columns: 1fr; gap: 4px; }
}

/* keuzekaarten: titel schaalt mee met het langste woord, zodat niets buiten de kaart valt */
.card-option { container-type: inline-size; }
.card-option .card-title { font-size: min(clamp(1.5rem, 1.1rem + 1.3vw, 2.375rem), calc(100cqi / (var(--lw, 8) * .8))); }

/* kleine schermen: koppen met lange woorden passen altijd binnen de kolom */
@media (max-width: 479px) {
  .prose h2 { font-size: 1.25rem; }
  .team-panel .h2 { font-size: 1.625rem; }
}
@media (max-width: 767px) {
  .page-cta-title, .page-cta.has-media .page-cta-title {
    font-size: min(clamp(2.375rem, 1rem + 6vw, 3.5rem), calc((100vw - 2 * var(--gutter)) / (var(--lw, 8) * .84)));
  }
}

/* homepage "Wat wil je doen?": ook de vier kleinere keuzes als fototegels */
.offer-grid-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--col-gap); margin-top: var(--col-gap); }
.offer-grid-more .tile { aspect-ratio: 2 / 1; }
.offer-grid-more .tile-title { font-size: clamp(1.375rem, 1rem + 1.2vw, 2.25rem); }
@media (max-width: 1023px) {
  .offer-grid-more .tile { aspect-ratio: 4 / 3.3; }
  .offer-grid-more .tile-title { font-size: clamp(1.25rem, 1rem + .8vw, 1.75rem); }
}
@media (max-width: 767px) {
  .offer-grid-more .tile { aspect-ratio: 4 / 4.6; }
}

/* homepage-hero: de korte kernzin op één regel vanaf tabletbreedte */
@media (min-width: 768px) {
  .page-home:not(.page-region) .hero-lead { max-width: none; white-space: nowrap; }
}

/* afsluitertitels: nooit meer dan twee regels. De build geeft per titel de breedte (em) van de
   breedste regel bij de beste tweeregelige verdeling mee (--l2w); de letter wordt nooit groter dan dat past. */
.page-cta-title, .page-cta.has-media .page-cta-title {
  --cw: calc(min(100vw, 1440px) - 2 * var(--gutter));
  max-width: none; font-stretch: 125%; line-height: .9;
  font-size: min(clamp(2.25rem, .5rem + 3.4vw, 4rem), calc(var(--cw) / (var(--l2w, 9) * 1.06)));
}
.page-cta.has-media .page-cta-title { --cw: calc((min(100vw, 1440px) - 2 * var(--gutter)) * .64); }
.closing-title {
  font-size: min(clamp(2.5rem, .6rem + 4.7vw, 5.75rem), calc((min(100vw, 1440px) - 2 * var(--gutter)) / (var(--l2w, 9) * 1.06)));
}
@media (max-width: 1023px) {
  .page-cta.has-media .page-cta-title { --cw: calc(100vw - 2 * var(--gutter)); }
}
