/* Self-hosted (Google Fonts, open license), Latin characters only. */
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("/fonts/montserrat-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

/* The style guide of Mobilis CrossFit. Read from mobiliscrossfit.nl (G5, 24-11-2026).
   Sizes are rem without a unit: the size on mobile (20rem wide) and on desktop
   (80rem wide). In between it scales by itself. */
:root {
  /* Fonts. Self-hosted: files in fonts/, @font-face in styles/fonts.css. */
  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-text: "Montserrat", system-ui, sans-serif;
  --weight-heading: 700;
  --font-school: "Inter", system-ui, sans-serif;   /* only Training voor scholen */
  --color-school-text: #4a4c4f;
  --color-school-heading: #333333;
  --weight-text: 400;

  /* Sizes. h1 is the page title on the photo (31 → 51.4 px). */
  --h1-mobile: 1.9375;   --h1-desktop: 3.2125;
  --h2-mobile: 2.3625;   --h2-desktop: 2.3625;
  --h3-mobile: 1.375;    --h3-desktop: 1.375;
  --h4-mobile: 1.25;     --h4-desktop: 1.25;
  --text-mobile: 1.125;  --text-desktop: 1.125;
  --small-mobile: 0.875;
  --price: 3.125;
  --button: 1.25;
  --menu: 1;

  /* Line height */
  --leading-heading: 1.05;
  --leading-text: 1.5;

  /* Letter spacing */
  --tracking-heading: 0em;
  --tracking-text: 0em;

  /* Colors */
  --color-text: #231f20;
  --color-background: #f0f0f0;
  --color-accent: #a53347;
  --color-accent-light: #b93b51;
  --color-on-accent: #ffffff;
  --color-surface: #ffffff;
  --color-dark: #231f20;
  --color-darkest: #150e0d;
  --color-line: #e4e4e4;
  --color-star: #fb8e28;

  /* White space */
  --space-xs: 0.5rem;
  --space-s: 1rem;
  --space-m: 1.5rem;
  --space-l: 3rem;
  --space-xl: 5rem;
  --width: 75rem;
  --gutter: 2.5vw;
  --header: 8.125rem;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Typography: tokens only. Sizes scale from mobile (20rem) to desktop (80rem). */
body {
  margin: 0;
  font-family: var(--font-text);
  font-weight: var(--weight-text);
  font-size: clamp(calc(var(--text-mobile) * 1rem), calc(var(--text-mobile) * 1rem + (var(--text-desktop) - var(--text-mobile)) * (100vw - 20rem) / 60), calc(var(--text-desktop) * 1rem));
  line-height: var(--leading-text);
  letter-spacing: var(--tracking-text);
  color: var(--color-text);
  background: var(--color-background);
}
h1, h2, h3, h4, .styleguide__h1 {
  overflow-wrap: break-word;
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--leading-heading);
  letter-spacing: var(--tracking-heading);
  margin: 0 0 var(--space-s);
}
/* h1 steps like the original: the mobile size up to 48rem, then the desktop size. */
h1, .styleguide__h1 { font-size: calc(var(--h1-mobile) * 1rem); }
@media (min-width: 48rem) { h1, .styleguide__h1 { font-size: calc(var(--h1-desktop) * 1rem); } }
h2 { font-size: clamp(calc(var(--h2-mobile) * 1rem), calc(var(--h2-mobile) * 1rem + (var(--h2-desktop) - var(--h2-mobile)) * (100vw - 20rem) / 60), calc(var(--h2-desktop) * 1rem)); }
h3 { font-size: clamp(calc(var(--h3-mobile) * 1rem), calc(var(--h3-mobile) * 1rem + (var(--h3-desktop) - var(--h3-mobile)) * (100vw - 20rem) / 60), calc(var(--h3-desktop) * 1rem)); line-height: var(--leading-text); }
h4, .label { font-size: clamp(calc(var(--h4-mobile) * 1rem), calc(var(--h4-mobile) * 1rem + (var(--h4-desktop) - var(--h4-mobile)) * (100vw - 20rem) / 60), calc(var(--h4-desktop) * 1rem)); line-height: 1.3; color: var(--color-accent); text-transform: uppercase; }
.small { font-size: calc(var(--small-mobile) * 1rem); }
p { margin: 0 0 2.15em; }
a { color: var(--color-accent); }
.eyebrow { color: var(--color-accent); font-weight: 700; font-size: 1.125rem; line-height: 1.35; margin-bottom: 1.125rem; }
h2 + p { margin-top: 1.125rem; }
.lead { color: var(--color-accent); font-weight: 700; line-height: 1.35; margin-bottom: var(--space-s); }
.lead--space { margin-top: var(--space-l); }
blockquote { margin: 0 0 var(--space-m); padding-left: var(--space-s); border-left: 4px solid var(--color-accent); }
.icon { width: 1em; height: 1em; flex: none; vertical-align: -0.125em; }

/* Lists: with red check marks when "check". */
.section ul, .text ul { margin: 0 0 2.15em; padding-left: 1.25em; }
.section ul.checks { list-style: none; padding: 0; }
.checks li { display: flex; gap: var(--space-xs); align-items: baseline; margin-bottom: 0.6875rem; line-height: 1.55; }
.checks .icon { color: var(--color-accent); width: 0.9em; height: 0.9em; position: relative; top: 0.1em; }

/* Buttons */
.buttons { display: flex; flex-wrap: wrap; gap: var(--space-s); }
.button {
  display: inline-flex; align-items: center; gap: var(--space-xs);
  padding: 0.55em 1.2em; border: 0;
  background: var(--color-accent); color: var(--color-on-accent);
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
}
.button:hover, .button:focus-visible { background: var(--color-dark); color: var(--color-on-accent); }
.button--large { font-size: calc(var(--button) * 1rem); padding: 0.6em 0.75em; }
.button--plain { background: none; color: var(--color-text); padding: 0; font-size: 1.125rem; gap: 0.6em; }
.button--plain .icon { width: 0.7em; height: 0.7em; color: var(--color-accent); }
.button--plain:hover, .button--plain:focus-visible { background: none; color: var(--color-accent); }
.button--white { background: var(--color-surface); color: var(--color-accent); }
.button--white:hover, .button--white:focus-visible { background: var(--color-dark); color: var(--color-on-accent); }

/* Header: logo, menu and "Lid worden". Under 64rem a menu button. */
.header { background: var(--color-dark); color: var(--color-on-accent); position: relative; z-index: 10; }
.header__inner { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; min-height: var(--header); display: flex; align-items: center; gap: var(--space-l); }
.header__logo img { width: 5rem; }
.header__toggle { margin-left: auto; }
.header__toggle summary { list-style: none; cursor: pointer; font-size: 1.75rem; display: flex; }
.header__toggle summary::-webkit-details-marker { display: none; }
.menu { display: none; order: 3; }
.header__inner:has(.header__toggle[open]) .menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-dark); padding: var(--space-s) var(--gutter) var(--space-m); }
.menu ul { list-style: none; }
.menu a, .menu button { color: inherit; text-decoration: none; font: inherit; font-weight: 700; font-size: calc(var(--menu) * 1rem); background: none; border: 0; padding: var(--space-xs) 0; cursor: pointer; display: inline-flex; align-items: center; gap: 0.3em; }
.menu__item--active > a, .menu__item--active > button, .menu a:hover, .menu button:hover, .menu [aria-current="page"] { color: var(--color-accent); }
.menu__sub { padding-left: var(--space-s); }
.header__button { display: none; font-size: 1.125rem; font-weight: 400; min-height: 2.8rem; }
.header__button:hover, .header__button:focus-visible { background: var(--color-on-accent); color: var(--color-accent); }
@media (min-width: 48rem) {
  .header__button { display: inline-flex; margin-left: auto; }
  .header__toggle { margin-left: 0; }
}
@media (min-width: 64rem) {
  .header__toggle { display: none; }
  .menu, .header__inner:has(.header__toggle[open]) .menu { display: flex; order: 0; align-items: center; position: static; padding: 0; margin-left: auto; background: none; }
  .header__button { margin-left: 0; }
  .menu > ul { display: flex; gap: var(--space-l); }
  .menu li { position: relative; }
  .menu__sub { display: none; position: absolute; top: 100%; left: calc(var(--space-s) * -1); min-width: 15rem; background: var(--color-dark); padding: var(--space-xs) var(--space-s); }
  .menu__sub a { font-weight: 400; color: var(--color-on-accent); }
  .menu__item--sub:hover .menu__sub, .menu__item--sub:focus-within .menu__sub { display: block; }
}

/* Block: hero (page title on a photo) */
.hero { position: relative; padding: calc(5.25rem + 10vw) 0 calc(1.75rem + 8vw); color: #f0f0f0; display: flex; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero__image--top { object-position: 50% 8%; }
.hero__image--low { object-position: 50% 62%; }
.hero__inner { position: relative; max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--space-m); }
.hero h1 { margin: 0; line-height: 1; font-size: clamp(2.25rem, 1.6rem + 3.4vw, 4rem); text-transform: uppercase; text-shadow: 0.625rem 0 0 rgb(0 0 0 / 0.62), 2px 2px 23px rgb(0 0 0 / 0.94); }
.hero .button { font-size: 1.44375rem; padding: 1.125rem 1.4rem; margin: 0.9625rem; }
@media (min-width: 64rem) { .hero { padding-top: min(calc(5.25rem + 10vw), 14.25rem); padding-bottom: min(calc(1.75rem + 8vw), 8.95rem); } }

/* Block: section */
.section { padding: 6.25rem 0; }
.section--light { background: var(--color-background); }
.section--white { background: var(--color-surface); }
.section--dark { background: var(--color-dark); color: var(--color-on-accent); }
.section + .section--light, .section--light + .section--light { padding-top: 0; }
.section__inner { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; display: grid; gap: var(--space-l); }
.section__inner > * { min-width: 0; }
.section__content > :last-child { margin-bottom: 0; }
.section--split .section__content, .section__after { max-width: 40rem; }
/* Less room above on some pages, like the original: prices, coach pages (photo mosaic), location home pages. */
.section--prices { padding-top: 3.75rem; }
.section:has(.section__images--mosaic) { padding-top: 3.75rem; }
.hero--tall + .section { padding-top: 3.125rem; }
.section--split h2 { max-width: 30.375rem; }
.section__images { display: grid; gap: 0.25rem; }
.section__after > :last-child { margin-bottom: 0; }
.section__after .lead--space { margin-top: 0; }
.section__images img, .coach img { width: 100%; height: 100%; object-fit: cover; }
.section__images--mosaic { display: block; columns: 2; column-gap: 0.25rem; }
.section__images--mosaic img { height: auto; margin-bottom: 0.25rem; }
.flow-image { margin: 0 0 var(--space-m); }
@media (min-width: 64rem) {
  .section--split .section__inner { grid-template-columns: 1fr 1fr; gap: 0 3.375rem; align-items: center; }
  .section--split .section__after { margin-top: var(--space-l); }
  .section__images--mosaic { align-self: start; }
  .section__images { grid-column: 2; grid-row: 1 / span 2; }
  .section__after { grid-column: 1; }
}

/* Block: columns */
.columns__title { text-align: center; margin: 0 auto; max-width: 30.375rem; }
.columns { display: grid; gap: var(--space-l); }
.column > :last-child { margin-bottom: 0; }
.column--box { background: var(--color-surface); padding: var(--space-l) var(--space-m); text-align: center; font-size: 1.25rem; }
.column--box h3 { font-size: 1.25rem; }
.column--box .buttons { justify-content: center; }
.column--box .button { border-radius: 0.25rem; font-size: 1.125rem; padding: 0.7em 1.3em; }
.column--accent { background: var(--color-accent); color: var(--color-on-accent); padding: var(--space-m); border-radius: 0.5rem; }
.column--accent .label { color: inherit; }
.column--accent .button { background: var(--color-surface); color: var(--color-accent); }
@media (min-width: 48rem) {
  .columns--2 { grid-template-columns: 1fr 1fr; }
}

/* Block: cards (icon, title, text, button) */
.cards { display: grid; gap: var(--space-l); text-align: center; }
.card { display: flex; flex-direction: column; align-items: center; }
.card > .icon { font-size: 2.25rem; margin-bottom: var(--space-xs); }
.card .button { font-size: 1.44375rem; line-height: 1.5; padding: 0.9625rem; gap: 0.6em; }
.card .button .icon { font-size: 1em; stroke-width: 3; }
.section:has(+ .section .cards) { padding-bottom: 3.125rem; }
.section:has(+ .section .cards) h2 { font-size: 2.025rem; }
.section:has(+ .section .cards) p { max-width: 33.75rem; }
.card h3 { margin: 0; }
.card p { margin-bottom: var(--space-s); }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 1fr; gap: var(--space-m); } }

/* Block: prices */
.prices__title { margin: 0; }
@media (min-width: 64rem) { .prices__title { max-width: 35.8rem; } }
.prices { display: grid; gap: var(--space-s) var(--space-l); }
.prices__title--small { font-size: 1.5rem; max-width: none; }
.price { background: var(--color-accent); color: var(--color-on-accent); text-align: center; padding: var(--space-l) var(--space-m) var(--space-m); }
.price h3 { font-size: 1.5rem; margin: 0 0 var(--space-s); }
.price__amount { font-weight: 700; font-size: calc(var(--price) * 1rem); line-height: 1.4; margin: 0 0 var(--space-xs); }
.price__note { font-size: 0.9625rem; margin: 0 0 var(--space-s); }
@media (min-width: 48rem) { .prices { grid-template-columns: repeat(3, 1fr); } .prices--2 { grid-template-columns: 1fr 1fr; } }

/* Block: team */
.team { display: grid; gap: var(--space-m); padding: 0 8%; }
.coach { position: relative; display: block; aspect-ratio: 1; overflow: hidden; color: var(--color-on-accent); text-decoration: none; }
.coach__name { font-weight: 700; }
.coach__band { position: absolute; left: 18%; right: 18%; bottom: 1rem; background: rgb(165 51 71 / 0.8); padding: var(--space-xs); font-size: 0.875rem; line-height: 1.35; display: flex; flex-direction: column; }
@media (min-width: 48rem) { .team { grid-template-columns: repeat(3, 1fr); padding: 0; } }

/* Block: faq */
.faq__title { font-size: 1.125rem; line-height: var(--leading-text); font-weight: 700; margin: var(--space-l) 0 0; }
.faq__group + .faq__group { margin-top: var(--space-s); }
.faq__group:has(.faq__heading--plain) { margin-top: calc(var(--space-s) * -1); }
.faq__heading { font-size: calc(var(--h4-desktop) * 1rem); color: var(--color-accent); text-transform: uppercase; line-height: 1.3; margin: 0 0 var(--space-xs); }
.faq__heading--plain { text-transform: none; font-size: 1.125rem; }
.faq__item { background: #fbfbfb; border: 1px solid var(--color-line); margin-bottom: var(--space-xs); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; gap: var(--space-s); align-items: baseline; padding: 0.35em var(--space-s); font-size: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { color: #999; width: 0.8em; height: 0.8em; }
.faq__answer { padding: var(--space-xs) var(--space-s) var(--space-s) calc(var(--space-s) * 2 + 0.8em); font-size: 1rem; }
.faq__answer > :last-child { margin-bottom: 0; }

/* Block: reviews */
.reviews { padding: var(--space-l) 0; }
.reviews__title { text-align: center; margin: 0; }
.reviews__body { display: grid; gap: var(--space-m); align-items: center; }
.reviews__summary p { margin: 0; }
.reviews__summary a { color: inherit; }
.reviews__score { color: var(--color-star); display: flex; gap: 0.1em; align-items: center; }
.reviews__summary .reviews__write { display: inline-block; margin-top: var(--space-xs); background: #1a73e8; color: #fff; text-decoration: none; border-radius: 1rem; padding: 0.2em 0.8em; font-size: 0.875rem; }
.reviews__list { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(13rem, 1fr); gap: var(--space-m); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-xs); }
.review { background: var(--color-background); color: var(--color-text); padding: var(--space-s); scroll-snap-align: start; font-size: 0.875rem; align-self: start; min-height: 9rem; }
.review__text { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review p { margin: 0 0 var(--space-xs); }
.review__head { display: flex; gap: var(--space-xs); align-items: center; line-height: 1.3; }
.review__head a { color: #1a5bb8; font-weight: 700; text-decoration: none; display: block; }
.review__initial { width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--color-accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review__stars { color: var(--color-star); }
@media (min-width: 64rem) { .reviews__body { grid-template-columns: 14rem 1fr; } .reviews__list { grid-auto-columns: calc((100% - 2 * var(--space-m)) / 3); } }

/* Shared by tiles, steps, points and booking */
.section__inner--stack { gap: var(--space-m); }
.section__inner--rule { border-top: 2px solid var(--color-accent); padding-top: var(--space-l); }
.section__intro { max-width: 40rem; }
.section__intro > :last-child { margin-bottom: 0; }
.section__content--wide { max-width: 47rem; }
.button--outline { background: none; color: var(--color-text); outline: 1px solid var(--color-text); outline-offset: -1px; }
.button--outline:hover, .button--outline:focus-visible { background: var(--color-dark); color: var(--color-on-accent); }

/* Block: facts */
.facts { background: #f5f4f2; border-block: 1px solid var(--color-line); }
.facts__inner { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; display: grid; }
.facts__inner div { padding: var(--space-s); border-left: 1px solid var(--color-line); }
.facts dt { color: #888; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.facts dd { margin: 0; font-weight: 600; font-size: 0.875rem; }
@media (min-width: 48rem) { .facts__inner { grid-template-columns: repeat(4, 1fr); } }

/* Block: tiles */
.tiles { display: grid; border: 1px solid var(--color-line); background: var(--color-line); gap: 1px; }
.tile { background: var(--color-surface); padding: var(--space-m); font-size: 0.875rem; }
.tile .eyebrow, .steps .eyebrow { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-xs); }
.tile h3 { font-size: 1rem; text-transform: uppercase; margin-bottom: var(--space-xs); }
.tile p { margin-bottom: var(--space-xs); }
.tile__link { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; text-decoration: none; }
.tiles--2, .tiles--small { gap: var(--space-s); background: none; border: 0; }
.tiles--2 .tile { border: 1px solid var(--color-line); border-radius: 0.5rem; }
.tiles--small .tile { border: 1px solid var(--color-line); border-radius: 0.25rem; padding: var(--space-s); }
.tiles--small h3 { text-transform: none; font-size: 0.875rem; }
@media (min-width: 48rem) { .tiles--2 { grid-template-columns: 1fr 1fr; } .tiles--4 { grid-template-columns: repeat(4, 1fr); } }

/* Block: steps */
.steps { list-style: none; padding: 0; margin: 0; border: 1px solid var(--color-line); border-radius: 0.5rem; background: var(--color-surface); }
.steps li { display: flex; gap: var(--space-m); padding: var(--space-m); font-size: 0.875rem; }
.steps li + li { border-top: 1px solid var(--color-line); }
.steps__number { flex: none; width: 2rem; height: 2rem; border-radius: 0.375rem; background: var(--color-accent); color: #fff; display: grid; place-items: center; font-weight: 700; }
.steps h4 { color: var(--color-text); font-size: 1rem; margin-bottom: var(--space-xs); }
.steps p { margin: 0; }

/* Block: points */
.points__grid { display: grid; gap: var(--space-m) var(--space-l); }
.point { display: flex; gap: var(--space-s); font-size: 0.875rem; }
.point > .icon { color: var(--color-accent); font-size: 1.1rem; }
.point h3 { color: var(--color-text); font-size: 0.9rem; margin-bottom: 0.25rem; }
.point p { margin: 0; }
@media (min-width: 48rem) { .points__grid { grid-template-columns: 1fr 1fr; } }

/* Block: booking */
.booking { display: grid; gap: var(--space-s); }
.booking__option { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: 0.5rem; padding: var(--space-m); font-size: 0.875rem; }
.booking__option--highlight { border: 2px solid var(--color-accent); }
.booking__tag { display: inline-block; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; border: 1px solid var(--color-accent); color: var(--color-accent); border-radius: 1rem; padding: 0.2em 0.8em; }
.booking__option--highlight .booking__tag { background: var(--color-accent); color: #fff; }
.booking h3 { text-transform: uppercase; font-size: 1.1rem; }
.booking dl { margin: var(--space-m) 0 0; border-top: 1px solid var(--color-line); }
.booking dl div { display: flex; justify-content: space-between; padding: var(--space-xs) 0; border-bottom: 1px solid var(--color-line); }
.booking dd { margin: 0; font-weight: 700; }
@media (min-width: 48rem) { .booking { grid-template-columns: 1fr 1fr; } }

/* FAQ, plain variant */
.faq--plain .faq__item { background: none; border: 0; border-bottom: 1px solid var(--color-line); margin: 0; }
.faq--plain .faq__item summary { justify-content: space-between; flex-direction: row-reverse; font-weight: 700; font-size: 0.875rem; padding: var(--space-s) 0; }
.faq--plain .faq__item summary .icon { color: var(--color-accent); }
.faq--plain .faq__answer { padding: 0 0 var(--space-s); font-size: 0.875rem; }

/* Nutrition LAB: its own spacing on the original (indented text, tighter paragraphs, bigger labels and price). */
.page--nutrition .section ul.checks { margin: 1.09375rem 0 1.53125rem; }
.page--nutrition h2:nth-of-type(2) ~ p, .page--nutrition .column p { margin-bottom: 0.875rem; }
.page--nutrition .label { font-size: 1.575rem; line-height: 1.2; margin-bottom: 1.3125rem; }
.page--nutrition .columns { gap: 4.375rem; padding: 0 0.875rem; }
.page--nutrition .column--accent { align-self: start; padding: 2.625rem; border-radius: 0.875rem; }
.page--nutrition .column--accent .button { border-radius: 0.625rem; padding: 0.7875rem 2.45rem; font-size: 0.875rem; }
.page--nutrition main > .section:not(:last-child) { padding-bottom: 4.375rem; }
.page--nutrition h2:nth-of-type(2) ~ * { margin-left: 0.875rem; margin-right: 0.875rem; }
.page--nutrition .price__amount { font-size: 4.15625rem; line-height: 1; margin-bottom: 0.65625rem; }

/* Training voor scholen: a narrower page, uppercase headings, labels in small capitals */
.page--school .hero h1 { font-size: clamp(1.875rem, 0.9rem + 3.9vw, 4rem); }
.page--school .section__inner, .page--school .facts__inner { max-width: 67rem; }
.page--school .section__intro h3 { text-transform: uppercase; font-size: 1.4375rem; line-height: 1.3; }
.page--school .section { font-family: var(--font-school); color: var(--color-school-text); font-size: 1rem; padding: var(--space-xl) 0; }
.page--school .section h2, .page--school .section h3, .page--school .section h4 { color: var(--color-school-heading); letter-spacing: -0.02em; }
.page--school .section h2 { font-weight: 800; text-transform: uppercase; font-size: 1.8125rem; line-height: 1.1; max-width: none; margin-bottom: var(--space-m); }
.page--school .section__content--wide h2 { font-weight: 900; font-size: 2.5rem; line-height: 1.03; max-width: 39.375rem; }
@media (min-width: 48rem) { .page--school .section h2 { font-size: 2.375rem; } .page--school .section__content--wide h2 { font-size: 3.625rem; } }
.page--school .tiles--2 h3 { font-size: 1.5rem; line-height: 1.3; }
.page--school .tiles--4:not(.tiles--small) h3 { font-size: 1.125rem; line-height: 1.3; }
.page--school .steps h4 { font-size: 1.25rem; line-height: 1.3; text-transform: uppercase; }
.page--school .point h3 { font-size: 1.1875rem; line-height: 1.3; text-transform: uppercase; }
.page--school .booking h3 { font-size: 1.375rem; line-height: 1.3; }
.page--school .section__content--wide > p:not([class]) { font-size: 1.25rem; line-height: 1.55; }
.page--school .button { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.02em; padding: 0.9em 1.3em; border-radius: 0.25rem; }
.page--school .section + .section--light { padding-top: var(--space-xl); }
.page--school .eyebrow { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: var(--space-l); }
.page--school .section__intro { max-width: none; font-size: 1.05rem; }
.page--school .section__intro > :not(h2) { max-width: 32rem; }
@media (max-width: 47.99rem) { .page--school .tile, .page--school .steps li, .page--school .point { font-size: 1rem; } }
.page--school .section__content--wide { max-width: 39.375rem; }
.page--school .section__content--wide > p { max-width: 32rem; }
.page--school .flow-image { border-radius: 0.5rem; width: 100%; max-width: none; aspect-ratio: 2.5; object-fit: cover; margin-top: var(--space-l); }
.page--school .section__content--wide .flow-image { width: min(66.5rem, 95vw); max-width: none; }
.page--school .tile { padding: var(--space-m) var(--space-m) var(--space-l); }
.page--school .tile h3 { margin: var(--space-m) 0 var(--space-xs); }
.page--school .steps li { padding: var(--space-l) var(--space-m); }
.page--school .column--accent { padding: var(--space-l); }
.page--school .column h3 { text-transform: uppercase; font-size: 1.3125rem; line-height: 1.3; margin-bottom: var(--space-xs); }
.page--school .column--accent h2 { text-transform: uppercase; }

/* Block: portal (start page). Sizes read from the original at 390, 600, 768, 900, 1024, 1200 and 1440 (27-11-2026). */
.page--portal { background: var(--color-darkest); }
.portal { background: var(--color-dark); color: var(--color-on-accent); }
.portal__intro { position: relative; padding: clamp(2.1875rem, 6vw, 3.9375rem) clamp(1.05rem, 4vw, 2.625rem); text-align: center; }
.portal__intro h1 { max-width: 36.75rem; margin: 0 auto 0.9375rem; font-weight: 800; font-size: clamp(1.75rem, 4vw, 2.625rem); line-height: 1.1; }
.portal__intro p { max-width: 36.75rem; margin: 0 auto; font-weight: 500; font-size: clamp(0.91875rem, 1.6vw, 1.1375rem); line-height: 1.6; }
.portal__badge { width: 10.25rem; height: 10.25rem; border-radius: 50%; background: var(--color-accent); border: 0.35rem solid var(--color-darkest); outline: 0.2rem solid var(--color-accent); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; transform: rotate(8deg); transition: transform 0.3s, background 0.3s; text-transform: uppercase; font-weight: 800; line-height: 1.1; font-size: 0.7175rem; letter-spacing: 0.03em; margin: 0.45rem auto 0; }
.portal__badge:hover, .portal__badge:focus-visible { transform: scale(1.06); background: var(--color-accent-light); }
.portal__badge span:first-child { font-style: italic; font-weight: 900; font-size: 1.3125rem; line-height: 1; letter-spacing: 0.02em; }
.portal__places { display: grid; }
.portal__place { position: relative; min-height: 25rem; display: flex; align-items: flex-start; overflow: hidden; }
.portal__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.portal__place:hover .portal__photo { transform: scale(1.04); }
.portal__place::before { content: ""; position: absolute; inset: 0; background: rgb(21 14 13 / 0.25); z-index: 1; }
.portal__place--closed .portal__photo { filter: grayscale(1); }
.portal__place--closed::before { background: rgb(21 14 13 / 0.65); }
.portal__text { position: relative; z-index: 2; width: 100%; padding: 3.9375rem clamp(1.4rem, 5vw, 3.9375rem) clamp(1.4rem, 5vw, 3.9375rem); }
.portal__text h2 { font-weight: 800; font-size: clamp(1.6625rem, 3.2vw, 2.5375rem); line-height: 1.15; margin: 0 0 0.875rem; }
.portal__text h2 + .button { margin-top: 0.5625rem; }
.portal__text p { max-width: 18rem; font-weight: 600; font-size: 0.8925rem; line-height: 1.5; margin: 0 0 0.875rem; }
.portal__link { color: #fff; font-weight: 700; font-size: 0.83125rem; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.portal__label { position: absolute; z-index: 2; top: 0.875rem; right: 1.25rem; background: #fff; color: var(--color-accent); font-weight: 800; font-style: italic; font-size: 0.83125rem; line-height: 1.5; border-radius: 2rem; padding: 0.48rem 1rem; transform: rotate(5deg); }
.portal__cover { position: absolute; inset: 0; z-index: 3; }
.portal__place .button { position: relative; z-index: 4; font-size: 0.875rem; line-height: 1.5; padding: 0.74375rem 1.4875rem; transition: transform 0.25s, box-shadow 0.25s; }
.portal__place:hover .button { transform: translateY(-3px); box-shadow: 0 10px 26px rgb(0 0 0 / 0.4); }
.portal__band { position: absolute; z-index: 2; left: -2%; right: -2%; bottom: 4rem; margin: 0; background: var(--color-accent); transform: rotate(-4deg); white-space: nowrap; overflow: hidden; display: flex; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; padding: 0.3em 0; font-size: 0.91875rem; }
.portal__track { display: flex; flex: none; animation: ticker 40s linear infinite; }
.portal__track span { padding-right: 0.6em; }
.portal__track span::after { content: " •"; }
@media (min-width: 48rem) {
  .portal__places { grid-template-columns: 1fr 1fr; }
  .portal__place { min-height: clamp(26.25rem, 38vw, 33.75rem); }
  .portal__text { padding-top: min(11vw, 7.4375rem); }
}
@media (min-width: 64rem) {
  .portal__badge { position: absolute; width: 11.625rem; height: 11.625rem; right: clamp(7rem, 11vw, 11.625rem); top: clamp(2.375rem, 3.7vw, 2.75rem); margin: 0; font-size: 0.805rem; }
  .portal__badge span:first-child { font-size: 1.53125rem; }
}

/* Ticker (start page) */
.ticker { background: var(--color-accent); display: flex; overflow: hidden; white-space: nowrap; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74375rem; line-height: 1.3; padding: 0.74375rem 0; }
.ticker ul { list-style: none; display: flex; flex: none; animation: ticker 45s linear infinite; }
.ticker:hover ul { animation-play-state: paused; }
.ticker li { display: flex; align-items: center; gap: 1.05rem; padding-left: 1.05rem; }
.ticker li::after { content: ""; width: 13px; height: 15px; background: var(--color-darkest); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@keyframes ticker { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .ticker ul, .portal__track { animation: none; } }

/* Notice: Buitenveldert closed */
.closed { background: var(--color-accent); color: var(--color-on-accent); }
.closed a { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: var(--space-m) 0; display: flex; flex-wrap: wrap; gap: var(--space-s); align-items: center; justify-content: space-between; color: inherit; text-decoration: none; }

/* Block: text (legal pages) */
.text { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: var(--space-xl) 0; font-size: 0.875rem; }
.text p { margin-bottom: 1.75rem; }
.text h1 { font-size: 1.25rem; text-transform: uppercase; margin-bottom: var(--space-m); }
.text h2, .text h3 { font-size: 0.875rem; line-height: inherit; margin: 0 0 var(--space-m); }

/* YouTube: photo with play button until the visitor clicks. */
.youtube { background: var(--color-darkest); }
.youtube__link { position: relative; display: block; color: #fff; }
.youtube__poster, .youtube__frame { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 0; }
.youtube__play { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(4rem, 8vw, 6rem); transition: color 0.2s; }
.youtube__link:hover .youtube__play, .youtube__link:focus-visible .youtube__play { color: var(--color-accent-light); }

/* Footer */
.footer { background: var(--color-accent); color: var(--color-on-accent); font-size: 0.875rem; line-height: 1.5; }
.footer a { color: inherit; text-decoration: none; }
.footer__inner { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: 4.375rem 0 2.75rem; display: grid; gap: var(--space-l); font-weight: 700; }
.footer__journal img { width: 15.75rem; }
.footer__place p { margin: 0 0 0.875rem; line-height: 1.8; }
.footer__place .icon { font-size: 1rem; }
.footer__social { display: flex; gap: 0.4375rem; }
.footer__social a { width: 2.4375rem; height: 2.4375rem; border-radius: 50%; background: #fff; color: var(--color-accent); display: grid; place-items: center; font-size: 1.4rem; }
.footer__place .footer__social .icon { font-size: 1.5rem; vertical-align: 0; }
.footer__bottom { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: 1rem 0 4.0625rem; border-top: 2px solid rgb(10 37 64 / 0.11); font-weight: 700; text-align: center; }
.footer__bottom p { margin: 0; }
.footer__bottom nav a + a::before { content: " / "; }
.footer__bottom--general { border: 0; font-weight: 400; text-transform: uppercase; font-size: 0.75rem; color: rgb(255 255 255 / 0.85); display: grid; gap: var(--space-s); }
.footer__bottom--general nav a { text-decoration: underline; }
.footer__bottom--general nav a + a::before { content: "  /  "; }
.footer__bottom--general .footer__social { justify-content: center; gap: var(--space-m); }
.footer__bottom--general .footer__social a { width: auto; height: auto; background: none; color: inherit; font-size: 1.1rem; }
@media (min-width: 48rem) {
  .footer__inner { grid-template-columns: 18.25rem 1fr 1fr; padding-bottom: 7.1875rem; }
}

/* Block: styleguide (only for the style guide page) */
.styleguide { max-width: var(--width); width: calc(100% - 2 * var(--gutter)); margin: 0 auto; padding: var(--space-l) 0; }
.styleguide section { padding: var(--space-l) 0; border-top: 1px solid var(--color-line); }
.styleguide__label { display: block; font-family: ui-monospace, monospace; font-size: 0.75rem; letter-spacing: 0; color: var(--color-accent); margin-bottom: var(--space-xs); }
.styleguide__row { margin-bottom: var(--space-m); }
.styleguide__on-accent { background: var(--color-accent); padding: var(--space-m); margin-top: var(--space-s); }
.styleguide__colors { display: grid; grid-template-columns: repeat(auto-fill, minmax(10rem, 1fr)); gap: var(--space-s); }
.styleguide__swatch { height: 5rem; border: 1px solid var(--color-line); border-radius: 0.25rem; margin-bottom: var(--space-xs); }
.styleguide__space { height: 1rem; background: var(--color-accent); }
.styleguide__swatch--color-accent { background: var(--color-accent); }
.styleguide__swatch--color-accent-light { background: var(--color-accent-light); }
.styleguide__swatch--color-background { background: var(--color-background); }
.styleguide__swatch--color-dark { background: var(--color-dark); }
.styleguide__swatch--color-darkest { background: var(--color-darkest); }
.styleguide__swatch--color-line { background: var(--color-line); }
.styleguide__swatch--color-on-accent { background: var(--color-on-accent); }
.styleguide__swatch--color-school-heading { background: var(--color-school-heading); }
.styleguide__swatch--color-school-text { background: var(--color-school-text); }
.styleguide__swatch--color-star { background: var(--color-star); }
.styleguide__swatch--color-surface { background: var(--color-surface); }
.styleguide__swatch--color-text { background: var(--color-text); }
.styleguide__space--space-xs { width: var(--space-xs); }
.styleguide__space--space-s { width: var(--space-s); }
.styleguide__space--space-m { width: var(--space-m); }
.styleguide__space--space-l { width: var(--space-l); }
.styleguide__space--space-xl { width: var(--space-xl); }
.styleguide dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-xs) var(--space-m); font-family: ui-monospace, monospace; font-size: 0.8125rem; letter-spacing: 0; }
.styleguide dd { margin: 0; }
