/*
Theme Name: SeeMeFit
Theme URI: https://seemefit.nl
Author: Micro Tides
Author URI: https://microtides.com
Description: Custom WordPress theme for SeeMeFit Personal Training Aalsmeer
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 8.1
License: Private
Text Domain: seemefit
*/

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/montserrat-italic-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/montserrat-italic-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

html:focus-within {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

input,
button,
textarea,
select {
  font: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Variables ------------------------------------------------------------ */

:root {
  /* Colors — brand */
  --color-primary: #d01928;
  --color-secondary: #141414;
  --color-accent: #94887d;
  --color-accent-on-light: #807469; /* WCAG AA contrast (4.5:1) op witte achtergrond */
  --color-text: #141414;
  --color-text-light: #525c65;
  --color-text-muted: #c5c5c5;
  --color-bg: #ffffff;
  --color-bg-alt: #f8f8f8;
  --color-bg-section: #ffffff;

  /* Colors — dark surfaces */
  --color-dark: #191919;
  --color-darker: #090909;
  --color-black: #000000;

  /* Colors — UI */
  --color-icon-bg: #feecee;
  --color-form-border: #fd2020;
  --color-form-placeholder: #868686;

  /* Typography — families */
  --font-heading: "Montserrat";
  --font-body: "Montserrat";

  /* Typography — sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.75rem;
  --text-2xl: 1.875rem;
  --text-3xl: 2.375rem;
  --text-4xl: 3.833rem;

  /* Typography — line heights */
  --leading-tight: 1.2;
  --leading-snug: 1.3;
  --leading-normal: 1.6;
  --leading-relaxed: 2;

  /* Typography — weights */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* Spacing scale */
  --space-xs: 0.375rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.625rem;
  --space-paragraph: 1.75rem;
  --space-2xl: 2.5rem;
  --space-3xl: 3.75rem;
  --space-4xl: 7.5rem;

  /* Component spacing */
  --gap-tight: 0.375rem;
  --gap-sm: 0.5rem;
  --gap-md: 0.75rem;
  --gap-base: 1rem;
  --gap-lg: 1.25rem;
  --gap-xl: 1.625rem;
  --gap-2xl: 2.75rem;
  --gap-section: 3.75rem;

  /* Layout rhythm */
  --leading-display: 48px;
  --leading-heading: 36px;
  --leading-emphasis: 28px;
  --leading-support: 26px;
  --leading-body: 24px;
  --leading-small: 20px;
  --gap-section-head: var(--space-sm);
  --gap-stack: var(--space-xl);
  --gap-card: var(--space-md);
  --gap-card-compact: 10px;
  --gap-inline-icon: 14px;
  --gap-inline-tight: 4px;
  --stat-number-size: 61.333px;
  --stat-label-size: 10.885px;

  /* Section rhythm — each section contributes half of the gap to the adjacent
     section on each side. Gap between two sections = section-A-pb + section-B-pt.
     Target: 120px standard, 80px for intentionally tighter transitions. */
  --section-gap: 120px;
  --section-gap-tight: 80px;
  --section-pad: 60px; /* half of --section-gap */
  --gap-before-footer: 160px; /* last section bottom-padding on non-home pages */
  --page-header-pt: 10px; /* gap breadcrumb → page title on non-home pages */

  /* Layout */
  --container-width: 1200px;

  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 10px;

  /* Shadows */
  --shadow-card: 0 15px 30px rgba(123, 133, 141, 0.2);
}

/* --- Base / Typography ---------------------------------------------------- */

body {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

h1 {
  font-size: var(--text-3xl);
}

h2 {
  font-size: var(--text-xl);
}

h3 {
  font-size: var(--text-lg);
  line-height: 1.56;
}

h4 {
  font-size: var(--text-base);
}

p {
  line-height: var(--leading-relaxed);
}

.eyebrow {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.43;
  color: var(--color-accent-on-light);
  text-transform: uppercase;
}

:where(ul[class], ol[class]) {
  list-style: none;
  padding: 0;
  margin: 0;
}

a {
  color: var(--color-primary);
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-text);
  color: var(--color-bg);
  z-index: 1000;
  text-decoration: none;
  font-weight: var(--weight-bold);
}

.skip-link:focus {
  top: var(--space-sm);
}

::selection {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

/* --- Layout --------------------------------------------------------------- */

.container,
.ds-container {
  width: min(var(--container-width), 100% - 3rem);
  margin-inline: auto;
}

.ds-section {
  padding-top: var(--ds-section-pt, 0);
  padding-bottom: var(--ds-section-pb, 0);
}

.ds-stack {
  display: flex;
  flex-direction: column;
  gap: var(--ds-stack-gap, var(--gap-stack));
}

.ds-stack--eyebrow-heading > .eyebrow + :is(h1, h2, h3) {
  margin-top: calc(
    var(--ds-section-head-gap, var(--gap-section-head)) -
    var(--ds-stack-gap, var(--gap-stack))
  );
}

.ds-section-head {
  display: flex;
  flex-direction: column;
  gap: var(--ds-section-head-gap, var(--gap-section-head));
}

.ds-section-head--center {
  align-items: center;
  text-align: center;
}

.ds-prose > p {
  margin: 0;
}

.ds-prose > p + p {
  margin-top: var(--ds-prose-gap, var(--space-paragraph));
}

.ds-heading-xl {
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
}

.ds-copy {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
}

.ds-emphasis {
  font-size: var(--text-lg);
  font-weight: var(--weight-bold);
  line-height: var(--leading-emphasis);
}

.ds-chevron {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* --- Header --------------------------------------------------------------- */

.site-header {
  background-color: var(--color-darker);
  position: relative;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  height: 97px;
}

.site-header__logo {
  flex-shrink: 0;
  margin-right: auto;
}

.site-header__logo img {
  display: block;
  height: 50px;
  width: 176px;
}

/* --- Navigation ----------------------------------------------------------- */

.site-header__nav {
  display: flex;
  align-items: center;
}

.site-header__menu {
  display: flex;
  gap: 40px;
}

.site-header__menu li a {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 16px;
  font-weight: var(--weight-medium);
  line-height: 30px;
  color: var(--color-bg);
  text-decoration: none;
  white-space: nowrap;
}

.site-header__menu li a:hover {
  opacity: 0.8;
}

.site-header__menu li.current-menu-item a {
  font-weight: var(--weight-bold);
  position: relative;
}

.site-header__menu li.current-menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
}

.btn.site-header__cta {
  flex-shrink: 0;
  margin-left: 44px;
  padding: 8px 24px;
  font-size: 14px;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-header__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.site-header__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-bg);
  transition: transform 0.3s;
}

@media (max-width: 1023px) {
  .site-header__inner {
    flex-wrap: wrap;
    height: auto;
    padding-block: 12px;
  }

  .site-header__logo {
    flex: 0 0 auto;
  }

  .site-header__logo img {
    width: 140px;
    height: auto;
  }

  .btn.site-header__cta {
    display: none;
  }

  .site-header__nav {
    display: none;
    width: 100%;
    order: 3;
    padding: 24px 0 16px;
  }

  .site-header__nav.is-open {
    display: block;
  }

  .site-header__menu {
    flex-direction: column;
    gap: 16px;
  }

  .site-header__menu li a {
    font-size: 14px;
  }

  .site-header__toggle {
    display: flex;
    margin-left: auto;
    padding: 8px;
    gap: 6px;
  }

  .site-header__toggle span {
    width: 32px;
    height: 3px;
  }
}

/* --- Hero ----------------------------------------------------------------- */

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-md);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  width: fit-content;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: 1.714;
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-bg);
}

.btn--primary:hover {
  opacity: 0.9;
}

.btn--primary:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (max-width: 1023px) {
  .btn {
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.4;
  }

  .btn:not(.home-hero__cta) {
    width: 100%;
    justify-content: center;
  }
}

/* --- Breadcrumb ---------------------------------------------------------- */

.breadcrumb-bar {
  padding: 22px 0 8px;
  background-color: var(--color-secondary);
}

.breadcrumb {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: var(--weight-medium);
  color: #919191;
}

.breadcrumb a {
  color: var(--color-bg);
  text-decoration: underline;
  font-weight: var(--weight-semibold);
}

.breadcrumb a:hover {
  text-decoration: none;
}

/* Archive/blog page: dark body bg to prevent white bleed */
.page-archive {
  background-color: var(--color-secondary);
}

/* Contact page: light body bg, dark breadcrumb link.
   Mock-wp emits `page-page-contact`; real WP emits `page-template-page-contact`. */
.page-page-contact,
.page-template-page-contact {
  background-color: var(--color-bg-section);
}

.page-page-contact .breadcrumb-bar,
.page-template-page-contact .breadcrumb-bar {
  background-color: var(--color-bg-section);
}

.page-page-contact .breadcrumb a,
.page-template-page-contact .breadcrumb a {
  color: var(--color-text);
}

/* Fundamental page: breadcrumb-bar must match the hero so there
   is no seam between the two dark bands. */
.page-page-fundamental .breadcrumb-bar,
.page-template-page-fundamental .breadcrumb-bar {
  background-color: var(--color-dark);
}

/* --- Default page template ------------------------------------------------ */

.page-default__header {
  background-color: var(--color-secondary);
  color: var(--color-bg);
  padding-top: var(--page-header-pt);
  padding-bottom: 60px;
}

.page-default__title {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: clamp(1.75rem, 2.5vw, 2.375rem);
  line-height: var(--leading-display);
  font-weight: var(--weight-bold);
  margin: 0;
}

.page-default__intro {
  margin: 22px 0 0;
  max-width: 720px;
  font-size: 1.125rem;
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
}

.page-default__content {
  padding: 80px 0 var(--gap-before-footer);
}

.page-default__prose {
  max-width: 720px;
  font-size: 1rem;
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.page-default__prose > * + * {
  margin-top: 1.25rem;
}

.page-default__prose h2 {
  font-size: 1.5rem;
  line-height: var(--leading-heading);
  font-weight: var(--weight-bold);
  margin-top: 2.5rem;
}

.page-default__prose h3 {
  font-size: 1.125rem;
  line-height: var(--leading-heading);
  font-weight: var(--weight-bold);
  margin-top: 2rem;
}

.page-default__prose a {
  color: var(--color-primary);
  text-decoration: underline;
}

.page-default__prose ul,
.page-default__prose ol {
  padding-left: 1.5rem;
}

.page-default__prose li + li {
  margin-top: 0.5rem;
}

.page-default__prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.page-default__prose th,
.page-default__prose td {
  border: 1px solid var(--color-text-muted);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.page-default__prose th {
  font-weight: var(--weight-bold);
  background-color: var(--color-bg-alt);
}

/* --- Cards ---------------------------------------------------------------- */

/* --- Forms ---------------------------------------------------------------- */

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background-color: var(--color-black);
  color: var(--color-bg);
  padding-top: 86px;
}

.site-footer a {
  color: var(--color-bg);
  text-decoration: none;
}

.site-footer a:hover {
  opacity: 0.8;
}

.site-footer__main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap-2xl);
  padding-bottom: var(--space-3xl);
}

.site-footer__logo {
  display: block;
  margin-bottom: var(--space-lg);
}

.site-footer__logo img {
  height: 50px;
  width: auto;
}

.site-footer__address {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-style: normal;
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-lg);
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.site-footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: var(--leading-relaxed);
}

.site-footer__contact-item svg {
  flex-shrink: 0;
}

.site-footer__heading {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: var(--leading-relaxed);
  margin-bottom: 12px;
}

.site-footer__hours {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.site-footer__hours div {
  display: flex;
  gap: 1rem;
}

.site-footer__hours dt {
  font-weight: var(--weight-bold);
  min-width: 5rem;
}

.site-footer__hours dd {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--gap-sm);
}

.site-footer__links li a {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-footer__links li a::before {
  content: "";
  width: 7px;
  height: 11px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 7 11' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.54 10.55a.7.7 0 01-.97 0 .8.8 0 010-1.05L4.14 6.2a1 1 0 000-1.4L.57 1.5a.8.8 0 010-1.05.7.7 0 01.97 0L6.25 4.8a1 1 0 010 1.4L1.54 10.55Z' fill='%23D01928'/%3E%3C/svg%3E")
    no-repeat center / contain;
  flex-shrink: 0;
}

.site-footer__blog {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.site-footer__blog-thumb {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex-shrink: 0;
}

.site-footer__blog li a {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

.site-footer__bottom p {
  margin: 0;
}

.site-footer__legal {
  display: flex;
  gap: 2rem;
}

.site-footer__legal a {
  font-weight: var(--weight-bold);
}

@media (max-width: 1023px) {
  .site-footer__main {
    grid-template-columns: 1fr;
    gap: 41px;
    text-align: center;
  }

  .site-footer__col {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .site-footer__hours div {
    justify-content: center;
  }

  .site-footer__links {
    width: 100%;
    gap: 0;
  }

  .site-footer__links li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .site-footer__links li:last-child {
    border-bottom: none;
  }

  .site-footer__links li a {
    padding-block: 16px;
  }

  .site-footer__blog {
    width: 100%;
  }

  .site-footer__col:last-child .site-footer__heading {
    align-self: flex-start;
  }

  .site-footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* --- Page: Home — Hero --------------------------------------------------- */

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 660px;
  display: flex;
  align-items: flex-start;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 133px;
  padding-bottom: 60px;
}

.home-hero__inner {
  --ds-stack-gap: var(--space-md);
  max-width: 528px;
}

.home-hero__subtitle {
  font-size: var(--text-lg);
  line-height: 1.56;
}

.home-hero__heading {
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
  color: var(--color-bg);
}

.home-hero__highlight {
  position: relative;
  display: inline;
}

.home-hero__highlight-bar {
  position: absolute;
  bottom: 2px;
  left: -4px;
  width: 167px;
  height: 45px;
  background-color: var(--color-primary);
  z-index: 0;
}

.home-hero__highlight-text {
  position: relative;
  z-index: 1;
  color: var(--color-black);
}

.home-hero__subtext {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  line-height: 1.89;
  color: var(--color-bg);
}

.home-hero__cta {
  margin-top: var(--space-sm);
}

/* --- Page: Home — Intro -------------------------------------------------- */

.home-intro {
  background-color: var(--color-secondary);
  color: var(--color-bg);
  --ds-section-pt: 157px; /* Figma intra-frame leading */
  --ds-section-pb: 200px; /* Figma intra-frame trailing */
}

.home-intro__inner {
  display: grid;
  grid-template-columns: 590px 1fr;
  gap: 56px;
  align-items: start;
}

.home-intro__heading {
  max-width: 488px;
}

.home-intro__bullets {
  display: flex;
  flex-direction: column;
}

.home-intro__bullet {
  display: flex;
  align-items: baseline;
  gap: var(--gap-inline-icon);
}

.home-intro__chevron {
  position: relative;
  top: 1px;
}

.home-intro__cta {
  margin-top: var(--space-sm);
}

.home-intro__media {
  position: relative;
}

.home-intro__image-wrap {
  width: 547px;
  max-width: 100%;
  height: 547px;
  margin-left: 43px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.home-intro__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.home-intro__counter {
  position: absolute;
  bottom: 40px;
  left: 0;
  width: 223px;
  height: 115px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.home-intro__counter-number {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--stat-number-size);
  font-weight: var(--weight-bold);
  line-height: 46px;
  text-transform: uppercase;
}

.home-intro__counter-label {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--stat-label-size);
  font-weight: var(--weight-bold);
  line-height: var(--leading-body);
  text-transform: uppercase;
}

/* --- Page: Home — Responsive --------------------------------------------- */

@media (max-width: 1023px) {
  .home-hero {
    min-height: auto;
  }

  .home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, transparent 35%),
      rgba(25, 25, 25, 0.68);
    z-index: 1;
  }

  .home-hero__content {
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .home-hero__inner {
    max-width: 100%;
  }

  .home-hero__subtitle {
    font-size: var(--text-sm);
  }

  .home-hero__heading {
    font-size: 26px;
    line-height: 36px;
  }

  .home-hero__highlight {
    display: inline-block;
  }

  .home-hero__highlight-bar {
    width: 120px;
    height: 34px;
  }

  .home-hero__subtext {
    font-size: var(--text-sm);
    line-height: 1.75;
  }

  .home-intro {
    padding-block: 60px;
  }

  .home-intro__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-intro__media {
    order: 2;
  }

  .home-intro__text {
    order: 1;
  }

  .home-intro__cta {
    width: 100%;
    justify-content: center;
  }

  .home-proefsessie__submit {
    width: 100%;
    justify-content: center;
  }

  .home-intro__image-wrap {
    position: relative;
    width: calc(100% - 43px);
    height: 0;
    padding-bottom: calc(100% - 43px);
    max-width: 100%;
    margin-left: 43px;
  }

  .home-intro__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-intro__counter {
    width: 160px;
    height: 70px;
  }

  .home-intro__counter-number {
    font-size: 40px;
    line-height: 36px;
  }

  .home-intro__counter-label {
    font-size: 9px;
  }
}

/* --- Page: Home ---------------------------------------------------------- */

/* --- Page: Home — Section 3: Fundamental programma ---------------------- */

.home-fundamental {
  background-color: var(--color-bg-section);
  --ds-section-pt: 120px;
  --ds-section-pb: 120px;
}

.home-fundamental__top {
  display: grid;
  grid-template-columns: 387px 1fr;
  gap: 47px;
  align-items: start;
  margin-bottom: 56px;
}

.home-fundamental__heading {
  color: var(--color-text);
}

.home-fundamental__body {
  color: var(--color-text);
}

.home-fundamental__usps {
  padding-top: var(--space-4xl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 20px;
  align-items: start;
}

.home-fundamental__usp {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.home-fundamental__usp-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: var(--color-icon-bg);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-fundamental__usp-icon img {
  width: 33px;
  height: 33px;
  object-fit: contain;
}

.home-fundamental__usp-content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-inline-tight);
}

.home-fundamental__usp-title {
  font-size: var(--text-base);
  line-height: var(--leading-support);
  color: var(--color-text);
}

.home-fundamental__usp-desc {
  color: var(--color-text);
}

.home-fundamental__bottom {
  display: grid;
  grid-template-columns: 577px 1fr;
  gap: 58px;
  align-items: start;
}

.home-fundamental__media {
  position: relative;
}

.home-fundamental__image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 547px;
  height: 478px;
  margin-left: 30px;
}

.home-fundamental__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-fundamental__quote-box {
  position: absolute;
  bottom: 21px;
  left: 0;
  background-color: var(--color-secondary);
  padding: 9px 32px;
  max-width: 350px;
  color: var(--color-bg);
}

.home-fundamental__detail {
  --ds-stack-gap: var(--gap-stack);
}

.home-fundamental__detail-body {
  color: var(--color-text);
}

@media (max-width: 1023px) {
  .home-fundamental {
    padding-block: 60px;
  }

  .home-fundamental__top {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .home-fundamental__usps {
    padding-top: 0;
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .home-fundamental__bottom {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-fundamental__image-wrap {
    position: relative;
    width: calc(100% - 30px);
    height: 0;
    padding-bottom: calc((100% - 30px) * 334 / 382);
    margin-left: 30px;
  }

  /* Per Figma mobile: body copy removed, only image + quote + CTA shown. */
  .home-fundamental__detail-body {
    display: none;
  }

  .home-fundamental__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-fundamental__cta {
    width: 100%;
    justify-content: center;
    /* Tight inline padding + gap + slightly smaller font so 'Meer over het
       Fundamental programma' fits on one line at iPhone widths (375-390px).
       12px is a minimal accommodation vs Figma's 14px; Figma was drawn at
       a 440px ideal width which is wider than every real iPhone. */
    font-size: 12px;
    padding-inline: 10px;
    gap: 6px;
  }
}

/* --- Page: Home — Section 4: Programme banner card ---------------------- */

.home-banner {
  background-color: var(--color-bg-section);
  --ds-section-pb: 120px;
}

.home-banner__inner {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.home-banner__card {
  --ds-stack-gap: var(--gap-card-compact);
  background-color: var(--color-bg);
  width: 712px;
  height: 602px;
  flex-shrink: 0;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 40px;
}

.home-banner__heading {
  color: var(--color-primary);
}

.home-banner__desc {
  color: var(--color-text);
  min-height: 85px;
}

.home-banner__features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-banner__feature {
  display: flex;
  align-items: baseline;
  gap: var(--gap-inline-icon);
  color: var(--color-text);
  max-width: 323px;
}

.home-banner__price {
  display: flex;
  align-items: baseline;
  gap: var(--gap-inline-tight);
  height: 58px;
  margin-top: 6px;
}

.home-banner__price-from,
.home-banner__price-currency,
.home-banner__price-unit {
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  line-height: var(--leading-emphasis);
  color: var(--color-text);
}

.home-banner__price-amount {
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-black);
}

.home-banner__media {
  flex: 1;
  height: 602px;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.home-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1023px) {
  .home-banner__inner {
    flex-direction: column;
  }

  .home-banner__card {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 24px 20px 32px;
  }

  .home-banner__desc {
    min-height: auto;
  }

  .home-banner__feature {
    max-width: 100%;
  }

  .home-banner__price {
    height: auto;
  }

  .home-banner__media {
    flex: 0 0 auto;
    position: relative;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    width: 100%;
    height: 0;
    padding-bottom: 77.5%;
  }

  .home-banner__image {
    position: absolute;
    inset: 0;
  }

  .home-banner__cta {
    width: 100%;
    justify-content: center;
    /* This card is narrower than the section-level CTA so the button has
       less room; we shrink font to 11px + minimal padding+gap to fit
       'Alles over het Fundamental programma' on one line at 375px width.
       Figma drew this at 440px ideal — narrower iPhones need accommodation. */
    font-size: 11px;
    padding-inline: 4px;
    gap: 4px;
  }
}

/* --- Page: Home — Section 5: Video testimonials ------------------------- */

.home-video {
  background-color: var(--color-dark);
  --ds-section-pt: 100px;
  --ds-section-pb: 171px;
}

.home-video__header {
  margin-bottom: 78px;
}

.home-video__heading {
  color: var(--color-bg);
}

.home-video__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
}

.home-video__card {
  --ds-stack-gap: var(--gap-card);
}

.home-video__thumb-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 573 / 387;
}

.home-video__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-video__card:nth-child(1) .home-video__thumb {
  object-position: 2.8% 5.8%;
}

.home-video__card:nth-child(2) .home-video__thumb {
  object-position: 8.3% 2.7%;
}

.home-video__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.home-video__play img {
  width: 79px;
  height: 79px;
}

.home-video__quote {
  color: var(--color-bg);
}

.home-video__attribution {
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  font-style: italic;
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

@media (max-width: 1023px) {
  .home-video {
    padding-block: 60px;
  }

  .home-video__header {
    margin-bottom: 40px;
  }

  .home-video__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-video__thumb-wrap {
    aspect-ratio: 16 / 11;
  }

  .home-video__play img {
    width: 50px;
    height: 50px;
  }

  .home-video__quote,
  .home-video__attribution {
    text-align: center;
  }
}

/* --- Page: Home — Section 6: Reviews ------------------------------------ */

.home-reviews {
  background-color: var(--color-bg-section);
  --ds-section-pt: 80px;
  --ds-section-pb: 69px;
}

.home-reviews__header {
  margin-bottom: 60px;
}

.home-reviews__heading {
  color: var(--color-text);
}

.home-reviews__grid {
  display: grid;
  grid-template-columns: 387px 386px 384px;
  gap: 20px;
}

.home-reviews__card {
  background-color: var(--color-bg-alt);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.home-reviews__stars {
  width: 111px;
  height: 21px;
}

.home-reviews__quote {
  color: var(--color-text);
  text-align: center;
  min-height: 140px;
}

.home-reviews__text {
  margin: 0;
}

.home-reviews__card.is-expanded .home-reviews__text--short {
  display: none;
}

.home-reviews__card.is-expanded .home-reviews__text--full {
  display: block;
}

.home-reviews__more {
  display: inline;
  margin-inline-start: 4px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-text);
  font: inherit;
  font-weight: var(--weight-bold);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  white-space: nowrap;
}

.home-reviews__more:hover,
.home-reviews__more:focus-visible {
  color: var(--color-primary);
}

.home-reviews__user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.home-reviews__avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.home-reviews__user-info {
  text-align: center;
}

.home-reviews__user-name {
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: var(--leading-small);
  color: var(--color-text-light);
}

.home-reviews__user-date {
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-small);
  color: var(--color-text-light);
}

.home-reviews__slider {
  position: relative;
  max-width: 1197px;
  margin-inline: auto;
  overflow: visible;
}

.home-reviews__swiper {
  overflow: hidden;
}

.home-reviews__nav {
  position: absolute;
  top: 184px;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-reviews__nav::after {
  content: none;
}

.home-reviews__nav--prev {
  left: -24px;
}

.home-reviews__nav--next {
  right: -24px;
}

.home-reviews .home-reviews__dots.swiper-pagination {
  position: static;
  width: auto;
  margin-top: 60px;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.home-reviews__dots .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: var(--color-text-muted);
  opacity: 0.4;
  border-radius: 50%;
}

.home-reviews__dots .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
  opacity: 1;
}

@media (max-width: 1023px) {
  .home-reviews {
    padding-block: 60px 40px;
  }

  .home-reviews__header {
    margin-bottom: 32px;
  }

  .home-reviews__card {
    padding: 24px 20px 20px;
  }

  .home-reviews__quote {
    min-height: auto;
  }

  .home-reviews__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .home-reviews__card:nth-child(n + 2) {
    display: none;
  }

  .home-reviews__slider {
    padding-inline: 20px;
  }

  .home-reviews__nav {
    width: 40px;
    height: 40px;
    top: 50%;
  }

  .home-reviews__nav--prev {
    left: 0;
  }

  .home-reviews__nav--next {
    right: 0;
  }

  .home-reviews .home-reviews__dots.swiper-pagination {
    margin-top: 24px;
  }
}

/* --- Page: Home — Section 7: Na 10 weken -------------------------------- */

.home-after {
  --ds-section-pt: 69px;
  --ds-section-pb: 117px;
}

.home-after__title {
  color: var(--color-primary);
  text-align: center;
  max-width: 565px;
  margin-inline: auto;
  margin-bottom: 60px;
}

.home-after__inner {
  display: grid;
  grid-template-columns: 572px 1fr;
  gap: 55px;
  align-items: start;
}

.home-after__media {
  position: relative;
}

.home-after__image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 547px;
  height: 443px;
  margin-left: 25px;
}

.home-after__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-after__quote-box {
  position: absolute;
  bottom: 21px;
  left: 0;
  background-color: var(--color-secondary);
  padding: 20px 32px;
  width: 362px;
  color: var(--color-bg);
}

.home-after__text {
  --ds-stack-gap: var(--gap-stack);
}

.home-after__body {
  color: var(--color-text);
}

.home-after__bullets {
  display: flex;
  flex-direction: column;
}

.home-after__bullet {
  display: flex;
  align-items: baseline;
  gap: var(--gap-inline-icon);
  font-weight: var(--weight-semibold);
  color: var(--color-black);
}

.home-after__body-closing {
  color: var(--color-text);
}

@media (max-width: 1023px) {
  .home-after {
    padding-block: 60px;
  }

  .home-after__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .home-after__image-wrap {
    position: relative;
    width: calc(100% - 25px);
    height: 0;
    padding-bottom: calc((100% - 25px) * 334 / 382);
    margin-left: 25px;
  }

  .home-after__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-after__quote-box {
    width: auto;
    max-width: 90%;
    padding: 14px 20px;
  }
}

/* --- Page: Home — Section 8: E-book download ---------------------------- */

.home-ebook {
  --ds-section-pb: 180px;
}

.home-ebook__banner {
  position: relative;
  /* overflow stays visible so the book can stick out past the box per Figma;
     the bg image is clipped by .home-ebook__bg's own overflow:hidden. */
  overflow: visible;
  height: 471px;
  border-radius: var(--radius-md);
}

.home-ebook__banner .home-ebook__bg {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.home-ebook__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-ebook__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.home-ebook__bg-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.74);
}

.home-ebook__bg-stripe {
  position: absolute;
  top: 50%;
  left: calc(50% + 380px);
  transform: translate(-50%, -50%);
  width: 591px;
  height: 1066px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-ebook__bg-stripe::after {
  content: "";
  display: block;
  width: 284px;
  height: 1029px;
  background-color: var(--color-primary);
  transform: rotate(18.18deg);
}

.home-ebook__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 566px 1fr;
  gap: 60px;
  align-items: start;
  padding: 70px 66px 80px;
}

.home-ebook__content {
  display: flex;
  flex-direction: column;
}

.home-ebook__heading {
  color: var(--color-bg);
  max-width: 566px;
}

.home-ebook__heading-accent {
  color: var(--color-primary);
}

.home-ebook__subheading {
  color: var(--color-bg);
  max-width: 544px;
  margin-top: 18px;
}

.home-ebook__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
}

.home-ebook__field {
  display: flex;
  flex-direction: column;
}

.home-ebook__input {
  width: 390px;
  height: 40px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-form-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.home-ebook__input::placeholder {
  color: var(--color-form-placeholder);
}

.home-ebook__book {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  margin-right: -57px;
  /* Per Figma: book top aligns with heading top (natural inner position),
     bottom extends below banner. Banner has overflow:visible so the
     ~144px past banner-bottom (book 465 vs inner content area 321) shows.*/
}

.home-ebook__cover {
  width: 388px;
  height: 465px;
  object-fit: contain;
}

@media (max-width: 1024px) {
  .home-ebook__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .home-ebook {
    /* 80 base + ~120 to fit the book that sticks out below the banner +
       breathing room before the proefsessie section, per Figma. */
    --ds-section-pb: 160px;
  }

  .home-ebook__banner {
    height: auto;
  }

  .home-ebook__bg-stripe {
    display: none;
  }

  .home-ebook__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }

  .home-ebook__heading,
  .home-ebook__subheading {
    max-width: 100%;
  }

  .home-ebook__input {
    width: 100%;
  }

  /* Per Figma mobile (#48): book image stays, 360x432, left-aligned.
     Book sticks out the BOTTOM of the banner (different from desktop where
     it sticks out the top). Reset desktop's negative margin-top and pull
     the book down with negative margin-bottom so the banner-bg ends above
     the book's lower portion. */
  .home-ebook__book {
    justify-content: flex-start;
    margin-right: 0;
    margin-left: 20px;
    margin-top: 0;
    margin-bottom: -120px;
  }

  .home-ebook__cover {
    width: 100%;
    max-width: 360px;
    height: auto;
    aspect-ratio: 360 / 432;
  }
}

/* --- Page: Home — Section 9: Proefsessie form --------------------------- */

.home-proefsessie {
  background-color: var(--color-dark);
}

.home-proefsessie__inner {
  display: grid;
  grid-template-columns: 610px 1fr;
  column-gap: 60px;
  align-items: stretch;
  min-height: 655px;
}

.home-proefsessie__heading {
  color: var(--color-bg);
  margin: 0 0 25px;
}

.home-proefsessie__content {
  display: flex;
  flex-direction: column;
  width: 610px;
  padding-top: 77px;
}

.home-proefsessie__content .eyebrow {
  margin-bottom: 8px;
}

.home-proefsessie__subtext {
  color: var(--color-bg);
  max-width: 610px;
  margin: 0 0 12px;
}

.home-proefsessie__form {
  width: 610px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}

.home-proefsessie__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-proefsessie__label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-body);
  color: var(--color-bg);
}

.home-proefsessie__input {
  width: 100%;
  height: 40px;
  background-color: var(--color-bg);
  border: 1px solid var(--color-form-border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: var(--text-sm);
  line-height: var(--leading-body);
  color: var(--color-text);
}

.home-proefsessie__input::placeholder {
  color: var(--color-form-placeholder);
}

.home-proefsessie__media {
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.home-proefsessie__image {
  width: 100%;
  height: auto;
  aspect-ratio: 547 / 676;
  object-fit: cover;
  transform: scale(1.3);
  transform-origin: center;
}

@media (max-width: 1023px) {
  .home-proefsessie {
    padding-block: 60px 0;
  }

  .home-proefsessie__inner {
    grid-template-columns: 1fr;
    width: min(var(--container-width), 100% - 3rem);
    min-height: auto;
    gap: 40px;
    margin-inline: auto;
  }

  .home-proefsessie__media {
    margin-inline: -1.5rem;
    border-radius: 0;
  }

  .home-proefsessie__image {
    transform: none;
    aspect-ratio: 4 / 3;
  }

  .home-proefsessie__content {
    width: auto;
    padding-top: 0;
  }

  .home-proefsessie__form {
    width: 100%;
  }

  .home-proefsessie__form {
    width: 100%;
    margin-top: var(--space-sm);
  }

  .home-proefsessie__submit {
    width: 100%;
    justify-content: center;
  }
}

/* --- Page: Team ----------------------------------------------------------- */

.page-team {
  background-color: var(--color-bg-section);
}

/* Team hero — Figma: bg #141414, ~570px tall content area below nav */

.team-hero {
  background-color: var(--color-secondary);
  padding-top: var(--page-header-pt);
  padding-bottom: 100px;
}

/* Breadcrumb + page title block (Figma: y=24 within header) */

.team-hero__top {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 40px;
}

.team-hero__title {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-display);
  color: var(--color-bg);
}

/* Hero inner: heading left (528px) + image right (from x=711) */

.team-hero__inner {
  display: grid;
  grid-template-columns: 528px 1fr;
  gap: 63px;
  align-items: start;
}

.team-hero__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.team-hero__heading {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-3xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-display);
  color: var(--color-bg);
  max-width: 528px;
}

.team-hero__highlight {
  position: relative;
  display: inline-block;
}

.team-hero__highlight-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 189px;
  height: 48px;
  background-color: var(--color-primary);
  z-index: 0;
}

.team-hero__highlight-text {
  position: relative;
  z-index: 1;
  color: var(--color-black);
  font-weight: 800;
}

.team-hero__subtext {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: 18px;
  font-weight: var(--weight-regular);
  line-height: 34px;
  color: var(--color-bg);
  max-width: 528px;
}

/* Hero image — Figma: starts at x=711, mask 609x323 */

.team-hero__image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: 100%;
  max-width: 609px;
  aspect-ratio: 609 / 323;
}

.team-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}

/* Team grid — Figma: 4 cols, ~289px cards, 14px col gap, starts at y=775 */

.team-grid {
  padding-top: 110px;
  padding-bottom: var(--gap-before-footer);
}

.team-grid__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 14px;
  row-gap: 73px;
}

.team-grid__item {
  position: relative;
}

/* Photo — Figma: 289x325 masked area, border-radius 4px */

.team-grid__photo-wrap {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 289 / 325;
}

.team-grid__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* Name label — Figma: 167x47, bg #D01928, overlaps photo bottom by 26px,
   extends 21px below photo. Positioned absolute within grid item. */

.team-grid__label {
  position: absolute;
  bottom: -21px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  border-radius: 3px;
  width: 167px;
  min-height: 47px;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-grid__name {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 15px;
  font-weight: var(--weight-bold);
  line-height: 19px;
  color: var(--color-bg);
  text-align: center;
  overflow-wrap: break-word;
}

/* Screen-reader only utility */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Team — responsive */

@media (max-width: 1024px) {
  .team-hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 1023px) {
  .team-hero {
    padding-top: 16px;
    padding-bottom: 40px;
  }

  .team-hero__inner {
    grid-template-columns: 1fr;
  }

  .team-hero__image-wrap {
    display: none;
  }

  .team-hero__title,
  .team-hero__heading {
    font-size: 26px;
    line-height: 36px;
  }

  .team-hero__highlight-bar {
    width: 120px;
    height: 34px;
  }

  .team-hero__subtext {
    font-size: var(--text-sm);
    line-height: 24px;
  }

  .team-grid {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .team-grid__list {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 12px;
    row-gap: 50px;
  }

  .team-grid__name {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .team-grid__list {
    grid-template-columns: 1fr;
  }
}

/* --- Page: Locatie -------------------------------------------------------- */

.page-locatie {
  background-color: var(--color-secondary);
}

.locatie-hero {
  padding-top: var(--page-header-pt);
  padding-bottom: var(--space-3xl);
}

.locatie-hero h1 {
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
  color: var(--color-bg);
  margin: 0;
}

.locatie-block {
  padding-bottom: 80px;
}

.locatie-block:last-of-type {
  padding-bottom: var(--gap-before-footer);
}

.locatie-block__grid {
  display: grid;
  grid-template-columns: 590px 1fr;
  gap: 56px;
  align-items: start;
}

.locatie-block__media {
  position: relative;
  padding-left: 43px;
}

.locatie-block__image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 547 / 361;
}

.locatie-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.locatie-block__label {
  position: absolute;
  top: 15px;
  left: 0;
  width: 223px;
  height: 78px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.locatie-block__label-name {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-bg);
}

.locatie-block__label-sub {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: var(--weight-bold);
  line-height: 16px;
  color: var(--color-bg);
  text-transform: uppercase;
}

.locatie-block__thumbs {
  display: flex;
  gap: var(--space-md);
  margin-top: 22px;
}

.locatie-block__thumb {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  line-height: 0;
  flex: 1 1 0;
  min-width: 0;
  aspect-ratio: 173 / 116;
  opacity: 0.6;
  transition: opacity 0.15s;
}

.locatie-block__thumb:hover,
.locatie-block__thumb.is-active {
  opacity: 1;
}

.locatie-block__thumb:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  opacity: 1;
}

.locatie-block__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.locatie-block__content {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

.locatie-block__content h2 {
  font-size: var(--text-xl);
  line-height: var(--leading-heading);
  color: var(--color-bg);
}

.locatie-block__address {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
  font-style: normal;
}

.locatie-block__services {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.locatie-block__services li {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
  padding-left: 1.5rem;
  position: relative;
}

.locatie-block__services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 9px;
  background-color: var(--color-primary);
  clip-path: polygon(20% 45%, 40% 70%, 85% 15%, 95% 25%, 40% 85%, 10% 55%);
}

/* --- Page: Contact -------------------------------------------------------- */

/* Contact header */
.contact-header {
  background-color: var(--color-bg-section);
  padding-top: var(--page-header-pt);
  padding-bottom: 2rem;
}

.contact-header h1 {
  font-size: 2.375rem;
  line-height: 1.263;
  font-weight: var(--weight-bold);
  color: var(--color-text);
}

/* Contact info grid */
.contact-info {
  background-color: var(--color-bg-section);
  padding-top: 1.75rem;
  padding-bottom: 5rem;
}

.contact-info__grid {
  display: grid;
  grid-template-columns: 488px 692px;
  gap: 0 1.75rem;
  align-items: start;
}

/* Contact items list */
.contact-info__list {
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-info__item {
  display: flex;
}

.contact-info__link {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  text-decoration: none;
  color: inherit;
}

.contact-info__link:focus-visible {
  outline: 2px solid var(--color-primary);
  border-radius: 4px;
}

.contact-info__icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}

.contact-info__text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info__title {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

.contact-info__value {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
}

/* Location & hours */
.contact-info__location {
  margin-top: 1.5rem;
}

.contact-info__hours {
  margin-top: 0.75rem;
}

.contact-info__h3 {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin: 0;
}

.contact-info__address,
.contact-info__hours-line {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text);
  margin: 0;
}

/* Map image */
.contact-info__map iframe,
.contact-info__map img {
  width: 692px;
  height: 355px;
  border: 0;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Contact form section */
/* Contact form section reuses .home-proefsessie* (zelfde dark band, zelfde
   image-rechts behandeling). Alleen de form-velden links verschillen
   inhoudelijk; hier de minimale extra's. */

.home-proefsessie__input--textarea {
  height: 139px;
  resize: vertical;
}

/* Contact form has more fields than proefsessie — match top padding at bottom
   so the longer content keeps breathing room before the dark band ends, en
   laat de image meeschalen naar de hoogte van het content-blok. */
.page-contact .home-proefsessie__content {
  padding-bottom: 77px;
}

.page-contact .home-proefsessie__media {
  align-items: stretch;
}

.page-contact .home-proefsessie__image {
  aspect-ratio: auto;
  height: 100%;
  object-fit: cover;
}

/* Contact responsive */
@media (max-width: 1280px) {
  .contact-info__grid {
    grid-template-columns: 1fr;
    gap: var(--gap-2xl) 0;
  }

  .contact-info__map iframe,
  .contact-info__map img {
    width: 100%;
    height: auto;
    aspect-ratio: 692 / 355;
  }
}

@media (max-width: 1023px) {
  /* Contact form image — kortere afbeelding op mobiel (Figma 440/492),
     en minder ruimte tussen CTA en image. */
  .page-contact .home-proefsessie__content {
    padding-bottom: 21px;
  }

  .page-contact .home-proefsessie__image {
    aspect-ratio: 440 / 492;
    height: auto;
  }
}

/* --- Page: Fundamental Programma ------------------------------------------ */

/* Fund: Hero */
.fund-hero {
  background-color: var(--color-dark);
  height: 469px;
  padding-block: 0;
  overflow: visible;
}

.fund-hero__inner {
  display: grid;
  grid-template-columns: 609px 488px;
  column-gap: 103px;
  align-items: start;
}

.fund-hero__media {
  position: relative;
  width: 609px;
  padding-top: 40px;
}

.fund-hero__image {
  width: 609px;
  height: 509px;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}

.fund-hero__content {
  padding-top: 96px;
}

.fund-hero__heading {
  font-size: 38px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-display);
  color: var(--color-bg);
  margin-block: 0;
}

.fund-hero__highlight {
  position: relative;
  display: inline-block;
  color: var(--color-text);
  white-space: nowrap;
  isolation: isolate;
}

.fund-hero__highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--color-primary);
  border-radius: 2px;
  z-index: -1;
}

.fund-hero__subtext {
  font-size: 18px;
  line-height: 34px;
  color: var(--color-bg);
  margin: 22px 0 0;
}

/* Fund: Problems */
.fund-problems {
  background-color: var(--color-secondary);
  padding-top: 221px;
  padding-bottom: 117px;
}

.fund-problems__inner {
  display: grid;
  grid-template-columns: minmax(0, 654px) 1fr;
  gap: var(--gap-2xl);
  align-items: center;
}

.fund-problems__eyebrow {
  font-size: 14px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-small);
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fund-problems__heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-bg);
  max-width: 651px;
  margin-block: 0;
}

.fund-problems__intro {
  font-size: 14px;
  line-height: var(--leading-emphasis);
  color: var(--color-bg);
  max-width: 654px;
  margin-top: 31px;
  margin-bottom: 0;
}

.fund-problems__items {
  margin: 42px 0 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.fund-problems__item {
  display: flex;
  align-items: flex-start;
}

.fund-problems__item-icon {
  flex-shrink: 0;
  width: 45px;
  height: 45px;
}

.fund-problems__item-content {
  margin-left: 30px;
  max-width: 576px;
}

.fund-problems__item-title {
  font-size: 16px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-support);
  color: var(--color-bg);
  margin-block: 0;
}

.fund-problems__item-desc {
  font-size: 14px;
  line-height: var(--leading-emphasis);
  color: var(--color-bg);
  margin: 16px 0 0;
}

.fund-problems__cta {
  display: inline-flex;
  margin-top: 40px;
}

.fund-problems__media {
  align-self: stretch;
  justify-self: end;
}

.fund-problems__image {
  width: 480px;
  height: 632px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

/* Fund: Steps */
.fund-steps {
  background-color: var(--color-bg);
  background-image: linear-gradient(
      rgba(253, 253, 253, 0.8),
      rgba(253, 253, 253, 0.8)
    ), url("img/fund-steps-bg.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 75px 0 70px;
}

.fund-steps__header {
  text-align: center;
  margin-bottom: 111px;
}

.fund-steps__eyebrow {
  font-size: 14px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-small);
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.fund-steps__heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-text);
  margin: 0;
}

/* Descriptions always start on the same Y-axis regardless of title length:
   each step uses display:contents so its children land directly in the
   parent grid. The title row auto-sizes to the tallest title across all
   steps, so all descs below share the same baseline. */
.fund-steps__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: 70px auto auto;
  grid-auto-flow: column;
  column-gap: 24px;
}

.fund-steps__step {
  display: contents;
}

.fund-steps__step-icon-wrap {
  position: relative;
  width: 70px;
  height: 70px;
  justify-self: center;
  align-self: start;
}

.fund-steps__step-icon--full {
  width: 70px;
  height: 70px;
  display: block;
  object-fit: contain;
}

.fund-steps__step-icon-box {
  width: 70px;
  height: 70px;
  background-color: var(--color-secondary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fund-steps__step-icon-box img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.fund-steps__step-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 29px;
  height: 29px;
  background-color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  line-height: var(--leading-body);
  color: var(--color-bg);
}

.fund-steps__step-title {
  font-size: 16px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-support);
  color: var(--color-text);
  margin: 50px 0 0;
  max-width: 210px;
  justify-self: center;
  text-align: center;
}

.fund-steps__step-desc {
  font-size: 14px;
  font-weight: var(--weight-regular);
  line-height: var(--leading-emphasis);
  color: var(--color-text);
  margin: 10px 0 0;
  max-width: 210px;
  justify-self: center;
  text-align: center;
}

@media (max-width: 1023px) {
  /* Mobile per Figma: one step per row, icon left + content right. */
  .fund-steps__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    row-gap: 40px;
  }

  .fund-steps__step {
    display: grid;
    grid-template-columns: 70px 1fr;
    column-gap: 40px;
    row-gap: 10px;
    align-items: start;
    text-align: left;
  }

  .fund-steps__step-icon-wrap {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .fund-steps__step-title {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
    max-width: none;
    text-align: left;
    align-self: start;
    justify-self: start;
  }

  .fund-steps__step-desc {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    max-width: none;
    text-align: left;
    justify-self: start;
  }
}

/* Fund: Audience */
.fund-audience {
  background-color: var(--color-bg-section);
  padding: 125px 0 80px;
}

.fund-audience__inner {
  display: grid;
  grid-template-columns: 664px 468px;
  gap: 48px;
  align-items: start;
}

.fund-audience__heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-text);
  margin-block: 8px 0;
}

.fund-audience__text {
  margin-top: 26px;
}

.fund-audience__text p {
  font-size: 14px;
  line-height: var(--leading-emphasis);
  color: var(--color-text);
  margin: 0 0 28px;
}

.fund-audience__text p:last-child {
  margin-bottom: 0;
}

.fund-audience__bullets {
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fund-audience__bullet {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: var(--weight-semibold);
  line-height: var(--leading-emphasis);
  color: var(--color-text);
}

.fund-audience__cta {
  display: inline-flex;
  margin-top: 26px;
}

.fund-audience__media {
  position: relative;
  width: 468px;
  height: 566px;
  justify-self: end;
}

.fund-audience__media-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 4px;
}

.fund-audience__image {
  width: 508px;
  height: 762px;
  max-width: none;
  transform: translate(-2px, -166px);
}

.fund-audience__counter {
  position: absolute;
  bottom: 21px;
  right: -20px;
  background-color: var(--color-primary);
  padding: 20px;
  border-radius: 4px;
  text-transform: uppercase;
}

.fund-audience__counter-number {
  display: block;
  font-size: 61.333px;
  font-weight: var(--weight-bold);
  line-height: 46px;
  color: var(--color-bg);
}

.fund-audience__counter-label {
  display: block;
  font-size: 10.885px;
  font-weight: var(--weight-bold);
  line-height: 24.5px;
  color: var(--color-bg);
  margin-top: 2px;
}

/* Fund: Pricing */
.fund-pricing {
  background-color: var(--color-bg-section);
  padding: 63px 0 130px;
}

.fund-pricing__header {
  text-align: center;
  margin-bottom: 73px;
}

.fund-pricing__heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-text);
  max-width: 664px;
  margin-inline: auto;
  margin-top: 8px;
}

.fund-pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.fund-pricing__card {
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 30px rgba(123, 133, 141, 0.2);
}

.fund-pricing__card-image {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  height: 216px;
}

.fund-pricing__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fund-pricing__card-body {
  background-color: var(--color-bg);
  border-radius: 0 0 10px 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-height: 634px;
}

.fund-pricing__card-header {
  text-align: center;
}

.fund-pricing__card-label {
  display: block;
  font-size: 10px;
  font-weight: var(--weight-bold);
  line-height: 16px;
  color: var(--color-accent);
}

.fund-pricing__card-title {
  font-size: 24px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-primary);
  margin: 0;
}

.fund-pricing__card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.fund-pricing__card-amount {
  font-size: 30px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-text);
}

.fund-pricing__card-note {
  font-size: 16px;
  font-weight: var(--weight-medium);
  line-height: 27.9px;
  color: var(--color-text);
}

.fund-pricing__card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

@media (min-width: 1024px) {
  .fund-pricing__card-features-toggle {
    display: none;
  }
}

@media (max-width: 1023px) {
  .fund-pricing__card-features-wrap:not(.is-open) .fund-pricing__card-features {
    display: none;
  }
}

.fund-pricing__card-feature {
  font-size: 14px;
  line-height: var(--leading-emphasis);
  color: var(--color-text);
}

.fund-pricing__card-notes {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 20px;
}

.fund-pricing__card-notes li {
  font-size: 12px;
  font-weight: var(--weight-medium);
  font-style: italic;
  line-height: var(--leading-small);
  color: #968c8c;
}

.fund-pricing__card-cta {
  align-self: center;
  margin-top: auto;
}

/* Fund: FAQ */
.fund-faq {
  background-color: var(--color-secondary);
  padding: 93px 0 144px;
}

.fund-faq__header {
  text-align: center;
  margin-bottom: 141px;
}

.fund-faq__eyebrow {
  font-size: 14px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-small);
  color: var(--color-accent);
  margin-bottom: 8px;
}

.fund-faq__heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-bg);
  margin: 0;
}

.fund-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 60px;
}

.fund-faq__col {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.fund-faq__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 20px;
}

.fund-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 47px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-align: left;
  font-size: 16px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-support);
  color: var(--color-bg);
  font-family: var(--font-heading), system-ui, sans-serif;
}

.fund-faq__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.fund-faq__icon {
  flex-shrink: 0;
  color: var(--color-primary);
  transform: rotate(90deg);
  transition: transform 0.2s ease;
}

.fund-faq__item--open .fund-faq__icon {
  transform: rotate(-90deg);
}

.fund-faq__answer {
  padding-top: 16px;
  font-size: 14px;
  line-height: var(--leading-emphasis);
  color: var(--color-text-muted);
}

.fund-faq__answer[hidden] {
  display: none;
}

/* Fund: Responsive */
@media (max-width: 1024px) {
  .fund-hero {
    height: auto;
    padding-block: 40px 60px;
  }

  .fund-hero__inner {
    grid-template-columns: 1fr;
  }

  .fund-hero__media {
    width: 100%;
    padding-top: 0;
  }

  .fund-hero__image {
    width: 100%;
    height: auto;
    aspect-ratio: 609 / 509;
  }

  .fund-hero__content {
    padding-top: 40px;
  }

  .fund-problems {
    padding-top: 80px;
    padding-bottom: 60px;
  }

  .fund-problems__inner {
    grid-template-columns: 1fr;
  }

  .fund-problems__image {
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 257;
    object-position: center -50px;
  }

  .fund-audience {
    padding: 60px 0;
  }

  .fund-audience__inner {
    grid-template-columns: 1fr;
  }

  .fund-audience__media {
    width: 100%;
    height: auto;
  }

  .fund-audience__media-frame {
    width: calc(100% - 16px);
    aspect-ratio: 468 / 400;
    height: auto;
  }

  .fund-audience__image {
    width: 100%;
    max-width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
  }

  .fund-audience__counter {
    right: 0;
  }

  .fund-pricing {
    padding: 60px 0 80px;
  }

  /* Mobile order per Figma: Small Group (right on desktop) first,
     then Duo, then Personal Training. Reverses the ACF repeater order
     without touching the data. */
  .fund-pricing__grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
    max-width: 480px;
    margin-inline: auto;
  }

  .fund-pricing__card-body {
    min-height: auto;
  }

  .fund-pricing__card-features-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    cursor: pointer;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--color-text-muted);
    padding: 16px 0 8px;
    font-family: var(--font-heading), system-ui, sans-serif;
    font-size: 18px;
    font-weight: var(--weight-bold);
    color: var(--color-text);
    text-align: left;
  }

  .fund-pricing__card-features-caret {
    transition: transform 0.2s ease;
  }

  .fund-pricing__card-features-wrap.is-open .fund-pricing__card-features-caret {
    transform: rotate(180deg);
  }

  .fund-pricing__card-features-wrap.is-open .fund-pricing__card-features {
    margin-top: 16px;
  }

  .fund-pricing__card-cta {
    margin-top: 32px;
  }

  .fund-faq {
    padding: 60px 0 80px;
  }

  .fund-faq__header {
    margin-bottom: 40px;
  }

  .fund-faq__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1023px) {
  .fund-hero__heading {
    font-size: 28px;
    line-height: 38px;
  }

  .fund-hero__subtext {
    font-size: var(--text-sm);
    line-height: 24px;
  }

  .fund-problems__grid {
    grid-template-columns: 1fr;
  }

  .fund-steps {
    padding: 50px 0;
  }

  .fund-steps__header {
    margin-bottom: 40px;
  }

  .fund-pricing__header {
    margin-bottom: 32px;
  }
}

/* --- Page: Blog ----------------------------------------------------------- */

/* Blog archive — page header */
.blog-archive {
  background-color: var(--color-secondary);
}

.blog-archive__header {
  padding-top: var(--page-header-pt);
  padding-bottom: var(--space-3xl);
}

.blog-archive__title {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 38px;
  line-height: var(--leading-display);
  font-weight: 700;
  color: var(--color-bg);
  margin: 0;
}

/* Blog grid */
.blog-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 380px);
  gap: 0 27px;
}

.blog-grid__divider {
  grid-column: 1 / -1;
  height: 1px;
  margin: 60px 0;
  background-color: #505050;
}

/* Blog card */
.blog-card {
  display: flex;
  flex-direction: column;
}

.blog-card__image-link {
  display: block;
  text-decoration: none;
}

.blog-card__image {
  width: 380px;
  height: 214px;
  overflow: hidden;
  margin-bottom: 26px;
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--color-accent-on-light);
  text-transform: uppercase;
  margin: 0 0 8px;
}

.blog-card__title {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 20px;
  line-height: var(--leading-emphasis);
  font-weight: 700;
  color: var(--color-bg);
  margin: 0 0 20px;
}

.blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-card__title a:hover {
  text-decoration: underline;
}

.blog-card__excerpt {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 14px;
  line-height: var(--leading-emphasis);
  font-weight: 400;
  color: var(--color-bg);
  margin: 0 0 20px;
  flex: 1;
}

.blog-card__cta {
  align-self: flex-start;
  font-size: 14px;
  line-height: var(--leading-body);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  text-decoration: none;
}

/* Blog pagination */
.blog-pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  margin-top: var(--gap-section);
  padding: 0 0 var(--gap-before-footer);
}

/* paginate_links() output: <a|span class="page-numbers">, current span gets .current, ellipsis gets .dots */
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 37px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 14px;
  line-height: var(--leading-body);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  background-color: #2b2b2b;
  border: 1px solid #828282;
  color: var(--color-bg);
  cursor: pointer;
}

.blog-pagination .page-numbers.current {
  background-color: transparent;
  border-color: #505050;
  color: #8d8d8d;
  cursor: default;
}

.blog-pagination .page-numbers:not(.current):hover {
  background-color: #3a3a3a;
}

.blog-pagination .page-numbers.dots {
  min-width: 0;
  padding: 6px 4px;
  background-color: transparent;
  border-color: transparent;
  color: #8d8d8d;
}

/* Blog — responsive */
@media (max-width: 1023px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-grid__divider {
    display: none;
  }

  .blog-grid .blog-card:nth-child(n + 2) {
    border-top: 1px solid #505050;
    padding-top: 40px;
  }

  .blog-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 214;
  }
}

/* --- Page: Blog Detail ---------------------------------------------------- */

.single-post {
  background-color: var(--color-secondary);
}

/* Hero / header area */

.single-post__hero {
  padding-top: var(--page-header-pt);
  padding-bottom: 41px;
}

.single-post__title {
  font-size: 38px;
  font-weight: var(--weight-bold);
  line-height: 1.2;
  color: var(--color-bg);
  margin-top: 4px;
  margin-bottom: 16px;
  max-width: 800px;
}

.single-post__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  color: var(--color-bg);
}

.single-post__meta-label {
  font-weight: var(--weight-bold);
}

.single-post__meta-label:not(:first-child) {
  margin-left: 18px;
}

.single-post__meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.single-post__share-icons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.single-post__share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  text-decoration: none;
  transition: opacity 0.15s;
  flex-shrink: 0;
}

/* The SVGs use preserveAspectRatio="none", so lock their box to the intrinsic
   ratio — otherwise flex pressure would stretch them into odd rectangles. */
.single-post__share-icon img {
  display: block;
  width: 22px;
  height: auto;
}

.single-post__share-icon:hover {
  opacity: 0.75;
}

.single-post__share-icon:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Content card */

.single-post__card {
  background-color: var(--color-dark);
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Intro block: image left + text right */

.single-post__intro {
  display: grid;
  grid-template-columns: 633px 407px;
  gap: 40px;
  align-items: start;
}

.single-post__intro-media {
  flex-shrink: 0;
}

.single-post__intro-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.single-post__intro-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.single-post__intro-heading {
  font-size: 28px;
  font-weight: var(--weight-bold);
  line-height: 1.3;
  color: var(--color-bg);
}

.single-post__intro-body {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
}

/* Body content — WP the_content() output */

.single-post__content {
  display: flex;
  flex-direction: column;
  gap: 0;
  /* Base colour so any element the client uses stays readable on the dark card. */
  color: var(--color-bg);
}

/* Headings — every level the editor might use, all readable on dark. The migrated
   posts open with an <h1>; without this it inherited the default dark colour and
   vanished against the card. */
.single-post__content :where(h1, h2, h3, h4, h5, h6) {
  color: var(--color-bg);
  font-weight: var(--weight-bold);
  line-height: 1.3;
  margin-top: 40px;
  margin-bottom: 16px;
}

.single-post__content :where(h1, h2, h3, h4, h5, h6):first-child {
  margin-top: 0;
}

.single-post__content h1 {
  font-size: 32px;
}

.single-post__content h2 {
  font-size: 28px;
}

.single-post__content h3 {
  font-size: 22px;
}

.single-post__content h4 {
  font-size: 18px;
}

.single-post__content h5 {
  font-size: 16px;
}

.single-post__content h6 {
  font-size: 16px;
}

.single-post__content p {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
  margin-bottom: 16px;
}

.single-post__content p:last-child {
  margin-bottom: 0;
}

.single-post__content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-block: 24px;
}

.single-post__content .single-post__inline-image {
  margin: 36px 0;
}

.single-post__content .single-post__inline-image img {
  margin: 0;
  aspect-ratio: 691 / 362;
  object-fit: cover;
}

.single-post__content ul,
.single-post__content ol {
  padding-left: 1.5rem;
  margin-bottom: 16px;
  color: var(--color-bg);
}

.single-post__content li {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--color-bg);
}

.single-post__content a {
  color: var(--color-primary);
}

.single-post__content blockquote {
  margin: 24px 0;
  padding-left: 20px;
  border-left: 3px solid var(--color-primary);
  font-style: italic;
}

/* Related posts */

.related-posts {
  padding-top: 64px;
  padding-bottom: 80px;
}

.related-posts__heading {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: var(--text-xl);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-bg);
  margin-bottom: 32px;
}

.related-posts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 27px;
  align-items: stretch;
}

.related-posts__grid > li {
  display: flex;
}

.related-posts__card {
  background-color: var(--color-dark);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
}

.related-posts__card-img-link {
  display: block;
  overflow: hidden;
}

.related-posts__card-img {
  width: 100%;
  aspect-ratio: 383 / 215;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.related-posts__card-img-link:hover .related-posts__card-img {
  transform: scale(1.03);
}

.related-posts__card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.related-posts__card-date {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 12px;
  line-height: 18px;
  font-weight: var(--weight-medium);
  color: var(--color-accent-on-light);
  text-transform: uppercase;
  margin: 0;
}

.related-posts__card-cta {
  margin-top: auto;
  align-self: flex-start;
}

.related-posts__card-title {
  font-size: 20px;
  font-weight: var(--weight-bold);
  line-height: var(--leading-emphasis);
  margin: 0;
}

.related-posts__card-title a {
  color: var(--color-bg);
  text-decoration: none;
}

.related-posts__card-title a:hover {
  color: var(--color-primary);
}

.related-posts__card-title a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.related-posts__card-excerpt {
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-text-muted);
  margin: 0;
}

/* --- Page: 404 ------------------------------------------------------------ */

.error-404 {
  background-color: var(--color-secondary);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-404__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--gap-xl);
  padding-block: var(--space-4xl);
}

.error-404__code {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 7.5rem;
  font-weight: var(--weight-bold);
  line-height: 1;
  color: var(--color-primary);
  margin: 0;
}

.error-404__heading {
  font-family: var(--font-heading), system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: var(--weight-bold);
  line-height: var(--leading-heading);
  color: var(--color-bg);
}

.error-404__body {
  font-family: var(--font-body), system-ui, sans-serif;
  font-size: var(--text-sm);
  font-weight: var(--weight-regular);
  line-height: var(--leading-emphasis);
  color: var(--color-bg);
  margin: 0;
}

.error-404__cta {
  margin-top: var(--space-md);
}

@media (max-width: 1023px) {
  .error-404__code {
    font-size: 5rem;
  }

  .error-404__heading {
    font-size: 1.375rem;
    line-height: 30px;
  }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 1023px) {
  .locatie-hero h1 {
    font-size: 26px;
    line-height: 36px;
  }

  .locatie-block__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .locatie-block__media {
    padding-left: 0;
  }

  .locatie-block__label {
    width: max-content;
    min-width: 180px;
    max-width: calc(100% - 30px);
    height: auto;
    padding: 12px 22px;
  }

  /* Blog detail — mobile */

  .single-post__title {
    font-size: 26px;
  }

  /* Keep content headings at or below the hero title (26px) on mobile. */
  .single-post__content h1 {
    font-size: 24px;
  }

  .single-post__content h2 {
    font-size: 22px;
  }

  .single-post__content h3 {
    font-size: 20px;
  }

  .single-post__content h4 {
    font-size: 17px;
  }

  .single-post__card {
    padding: 24px;
    gap: 32px;
  }

  .single-post__intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .single-post__intro-image {
    height: auto;
    /* Show the whole graphic — these images carry text that cover-cropping cut off. */
    aspect-ratio: auto;
  }

  /* Stack the meta and the share icons onto their own rows so neither gets cramped. */
  .single-post__meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .single-post__meta {
    flex-wrap: wrap;
  }

  .related-posts__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Forms: honeypot, ALTCHA, inline feedback --- */

/* Honeypot — visually hidden but present in the DOM for bots to fill. */
.smf-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ALTCHA runs invisibly: the widget auto-solves the proof-of-work on load and
   is fully hidden — no visible checkbox. The proof-of-work is computational, so
   no user interaction is required. Kept in the DOM (display:none doesn't stop
   the auto-solve) but removed from layout and the accessibility tree. */
altcha-widget {
  display: none;
}

/* Inline confirmation / error shown after an AJAX submit. */
.smf-form__message {
  position: relative;
  margin-top: var(--gap-md);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.5;
}

.smf-form__message--success {
  background-color: var(--color-icon-bg);
  border: 1px solid var(--color-primary);
  color: var(--color-secondary);
  /* room for the close button so text never sits under it */
  padding-right: 2.75rem;
}

.smf-form__message-text {
  margin: 0;
}

.smf-form__message-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.smf-form__message-close:hover {
  background-color: rgb(0 0 0 / 8%);
}

.smf-form__message-close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

/* On success forms.js sets [hidden] on the form so the confirmation takes its
   place. The forms set their own display (flex), which would otherwise beat the
   UA [hidden] rule — these win it back. */
.home-proefsessie__form[hidden],
.home-ebook__form[hidden] {
  display: none;
}

.smf-form__message--error {
  background-color: var(--color-bg);
  border: 1px solid var(--color-form-border);
  color: var(--color-primary);
}
