/* ==========================================================================
   CROOW — Think beyond comfort
   Front-end stylesheet (design: Brand to the Bone, build: Bit-Care)
   Desktop referentie: 1440px artboard, container 1158px (141px marges)
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
/* Host Grotesk (Google Font, OFL) — zelf gehost voor GDPR.
   Run tools/get-fonts.sh om het woff2-bestand in /assets/fonts te zetten. */
@font-face {
  font-family: "Host Grotesk";
  src: url("../fonts/host-grotesk-latin-wght.woff2") format("woff2-variations"),
       url("../fonts/host-grotesk-latin-wght.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  --red: #e50019;
  --red-dark: #b80014;
  --black: #000;
  --ink: #000;
  --white: #fff;
  --grey: #f3f3f3;          /* #DBDBDB @ 32% op wit, zoals in XD */
  --grey-line: #d9d9d9;
  --placeholder: #9d9d9d;

  --font: "Host Grotesk", "Helvetica Neue", Arial, sans-serif;

  --container: 1158px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 10px;
  --pill: 999px;

  --fs-body: clamp(16px, 0.35vw + 14.7px, 18px);
  --lh-body: 1.56;                                    /* 28/18 */
  --fs-h1: clamp(38px, 3.2vw + 12px, 56px);
  --fs-h2: clamp(36px, 3.4vw + 10px, 60px);
  --fs-display: clamp(48px, 6.2vw + 8px, 100px);
  --fs-card-title: clamp(20px, 0.6vw + 15px, 24px);
  --fs-small: 14px;

  --section: clamp(64px, 8vw, 110px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 0.98; letter-spacing: -0.005em; }
ul { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.on-red :focus-visible, .on-dark :focus-visible, .menu :focus-visible { outline-color: var(--white); }

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

/* Layout ----------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--section); position: relative; }

/* Grid used on inner pages: label (left) + content (right, 768px of 1158) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 356fr) minmax(0, 768fr); gap: 34px; }
}

/* Typography helpers ------------------------------------------------------ */
.h1 { font-size: var(--fs-h1); font-weight: 800; text-transform: uppercase; line-height: .98; }
.h2 { font-size: var(--fs-h2); font-weight: 800; text-transform: uppercase; line-height: 1; }
.display { font-size: var(--fs-display); font-weight: 300; line-height: 1; letter-spacing: -0.01em; }
.lead { font-size: clamp(18px, 0.5vw + 15px, 21px); line-height: 1.52; font-weight: 500; }
.text-red { color: var(--red); }
.richtext > * + * { margin-top: 1em; }
.richtext h2, .richtext h3 { font-size: var(--fs-card-title); font-weight: 700; text-transform: uppercase; line-height: 1.2; margin-top: 1.6em; }
.richtext ul { padding-left: 1.2em; }
.richtext li + li { margin-top: .35em; }
.richtext a { color: var(--red); text-underline-offset: 3px; }

/* Buttons & pills --------------------------------------------------------- */
.btn {
  --h: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 30px;
  border-radius: var(--pill);
  border: 1px solid transparent;
  font-size: 18px; line-height: 1; font-weight: 400;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--lg { --h: 66px; padding: 0 40px 0 32px; font-size: clamp(19px, 0.5vw + 16px, 23px); font-weight: 600; }
.btn--red { background: var(--red); color: var(--white); }
.btn--red:hover { background: var(--red-dark); }
.btn--white { background: var(--white); color: var(--red); }
.btn--white:hover { background: var(--black); color: var(--white); }
.btn--outline-white { border-color: currentColor; color: var(--white); }
.btn--outline-white:hover { background: var(--white); color: var(--red); }
.on-dark .btn--outline-white:hover { color: var(--black); }

.pill { /* label "tag" as used on inner pages (WAAROM WERKEN BIJ CROOW…) */
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 30px;
  border: 1px solid currentColor; border-radius: var(--pill);
  font-size: 18px; line-height: 1.2; text-transform: uppercase; white-space: nowrap;
}
.pills { display: flex; flex-wrap: wrap; gap: 11px 12px; list-style: none; }
.pills .btn { text-transform: uppercase; }

/* Header ------------------------------------------------------------------ */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 50;
  padding-top: clamp(24px, 4vw, 58px);
  color: var(--ink);
}
.site-header--dark { color: var(--white); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; width: clamp(130px, 12vw, 179px); color: var(--red); }
.logo svg { width: 100%; height: auto; }
.site-header__right { display: flex; align-items: center; gap: clamp(24px, 3vw, 48px); }

.nav { display: none; }
@media (min-width: 900px) { .nav { display: block; } }
.nav__list { display: flex; gap: clamp(28px, 3vw, 48px); list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 0; font-size: 18px; text-decoration: none; background: none; border: 0;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after, .nav__item.is-active > .nav__link::after { transform: scaleX(1); }
.nav__chevron { width: 10px; height: 10px; transition: transform .2s; }
.nav__item.is-open .nav__chevron { transform: rotate(180deg); }
.subnav {
  position: absolute; top: calc(100% + 10px); left: -24px; min-width: 260px;
  list-style: none; padding: 14px 0;
  background: var(--white); color: var(--ink); border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.nav__item.is-open .subnav, .nav__item:focus-within .subnav {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
@media (hover: hover) { .nav__item:hover .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; } }
.subnav a { display: block; padding: 10px 24px; text-decoration: none; text-transform: uppercase; font-size: 16px; }
.subnav a:hover, .subnav a[aria-current="page"] { color: var(--red); }

.burger {
  position: relative; width: 42px; height: 31px; padding: 0; border: 0; background: none; color: var(--red);
  flex: none;
}
.burger span {
  position: absolute; left: 0; width: 42px; height: 3px; background: currentColor;
  transition: transform .35s var(--ease), opacity .2s, top .35s var(--ease);
}
.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 14px; }
.burger span:nth-child(3) { top: 28px; }
/* Open-state zoals in XD: twee verschoven lijnen, wit */
.menu-open .burger { color: var(--white); }
.menu-open .burger span:nth-child(1) { top: 0; transform: translateX(-30px); }
.menu-open .burger span:nth-child(2) { top: 2px; }
.menu-open .burger span:nth-child(3) { opacity: 0; }

/* Full-screen menu (Hamburger artboard) ------------------------------------ */
.menu {
  position: fixed; inset: 0; z-index: 40;
  background: var(--red); color: var(--white);
  display: flex; flex-direction: column;
  padding-top: clamp(110px, 12vw, 150px);
  overflow-y: auto;
  opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease), opacity .3s, visibility 0s .5s;
}
.menu-open .menu { opacity: 1; visibility: visible; clip-path: inset(0); transition-delay: 0s; }
.menu-open { overflow: hidden; }
.menu-open .site-header { position: fixed; color: var(--white); z-index: 60; }
.menu-open .site-header .logo { color: var(--white); }
.menu-open .site-header .nav { visibility: hidden; }
.menu__inner { flex: 1; display: flex; flex-direction: column; }
.menu__primary { list-style: none; display: grid; gap: clamp(8px, 1.2vw, 14px); }
.menu__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 4vw, 52px); }
.menu__big { font-size: clamp(36px, 3vw + 12px, 48px); line-height: 1.2; text-decoration: none; font-weight: 400; }
.menu__big:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu__sep { border: 0; border-top: 1px solid rgba(255,255,255,.85); margin: clamp(24px, 3vw, 38px) 0; }
.menu__secondary .btn { text-transform: none; }
.menu__secondary li:first-child .btn { text-transform: uppercase; }
.menu__secondary { flex-direction: column; align-items: flex-start; }
.menu__footer { margin-top: auto; padding-block: 48px 40px; }
@media (max-width: 599px) { .menu__row { flex-direction: column; align-items: flex-start; } }

/* Address block (footer / menu) */
.address { display: grid; grid-template-columns: repeat(2, max-content); gap: 0 clamp(24px, 4vw, 58px); font-size: var(--fs-small); line-height: 1.5; }
.address p { margin: 0; }
.address a { text-decoration: none; }
.address a:hover { text-decoration: underline; }
@media (max-width: 420px) { .address { grid-template-columns: 1fr; gap: 14px; } }

/* Home hero ----------------------------------------------------------------- */
.hero {
  position: relative; background: var(--black); color: var(--white);
  overflow: hidden;
  padding-top: clamp(120px, 11.6vw, 167px);
}
.hero__title { max-width: 900px; }
.hero__pills { margin-top: clamp(28px, 4vw, 92px); }
.hero__body { display: grid; gap: 40px; margin-top: clamp(36px, 5vw, 120px); }
.hero__text { max-width: 341px; }
.hero__cta { margin-top: clamp(28px, 4vw, 58px); }
.hero__visual {
  position: relative; aspect-ratio: 1007 / 572; width: 100%;
  margin-top: 8px;
}
.hero__visual::before { /* rode CROOW-symbool */
  content: ""; position: absolute; inset: 0; background: var(--red);
  -webkit-clip-path: url(#croow-clip);
          clip-path: url(#croow-clip);
}
.hero__team {
  position: absolute; left: 11.7%; top: 6.3%; width: 81.2%; height: auto;
}
@media (min-width: 900px) {
  .hero { min-height: 878px; padding-bottom: 0; }
  .hero__body { grid-template-columns: 341px 1fr; margin-top: clamp(40px, 6vw, 120px); padding-bottom: 152px; }
  .hero__visual {
    position: absolute; margin: 0;
    width: max(70vw, 1007px * 0.8); max-width: 1007px;
    left: calc(50% - 720px + 508px); top: 386px;
  }
}
@media (min-width: 900px) and (max-width: 1439px) {
  .hero__visual { left: auto; right: -8vw; width: 70vw; top: auto; bottom: -9vw; }
}
@media (max-width: 899px) {
  .hero { padding-bottom: 0; }
  .hero__visual { width: 118%; margin-left: -4%; margin-bottom: -9%; }
}

/* Help (Hoe kunnen wij u helpen?) ----------------------------------------- */
.help { display: grid; gap: 40px; }
@media (min-width: 960px) { .help { grid-template-columns: 356fr 768fr; gap: 35px; } }
.help__list { list-style: none; display: grid; gap: 12px; }
.help-card {
  display: grid; grid-template-columns: 44px 1fr; gap: 20px 33px;
  padding: 30px clamp(20px, 2.5vw, 30px) 30px clamp(18px, 1.5vw, 21px);
  background: var(--grey); border-radius: var(--radius);
  min-height: 193px;
}
.help-card__icon { width: 44px; height: 44px; color: var(--red); margin-top: 2px; }
.help-card__icon svg { width: 100%; height: 100%; }
.help-card__title { font-size: var(--fs-card-title); font-weight: 700; text-transform: uppercase; line-height: 1.15; margin-bottom: 6px; }
@media (max-width: 599px) {
  .help-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; min-height: 0; }
}

/* Services (Onze diensten) ------------------------------------------------- */
.services { position: relative; isolation: isolate; padding-bottom: clamp(80px, 10vw, 160px); }
.services__symbol {
  position: absolute; z-index: -1; color: var(--red); pointer-events: none;
  width: min(1072px, 92vw); aspect-ratio: 1072 / 608;
  left: calc(50% - 720px + 555px); top: calc(var(--section) - 44px);
  background: currentColor;
  -webkit-clip-path: url(#croow-clip);
          clip-path: url(#croow-clip);
}
@media (max-width: 1439px) { .services__symbol { left: auto; right: -14vw; width: 74vw; } }
@media (max-width: 767px) { .services__symbol { top: auto; bottom: 40px; right: -30vw; width: 140vw; } }
.services__title { margin-bottom: clamp(28px, 3vw, 45px); }
.services__grid { list-style: none; display: grid; gap: 16px; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  display: flex; flex-direction: column; gap: 22px;
  min-height: 364px; padding: 38px clamp(24px, 3vw, 41px) 35px;
  background: rgba(0,0,0,.85); color: var(--white); border-radius: var(--radius);
  backdrop-filter: blur(0px);
}
.service-card__title { font-size: var(--fs-card-title); font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.service-card__text { line-height: 1.17; flex: 1; }
.service-card .btn { align-self: flex-start; min-width: 139px; }

/* Difference (Hoe maken wij het verschil?) ---------------------------------
   Witte kaart (54px van de rand) die half over de rode band valt. */
.difference {
  --split: calc(var(--section) * .6 + clamp(150px, 13vw, 185px));
  padding-top: calc(var(--section) * .6);
  background: linear-gradient(to bottom, var(--white) var(--split), var(--red) var(--split));
}
.difference__card {
  max-width: 1329px; margin-inline: auto;
  background: var(--white); border-radius: var(--radius);
  padding: clamp(32px, 4vw, 55px) 0 clamp(40px, 4.5vw, 64px);
}
@media (min-width: 1440px) { .difference__card { margin-inline: auto; } }
@media (min-width: 768px) and (max-width: 1439px) { .difference__card { margin-inline: clamp(16px, 3.75vw, 54px); } }
@media (max-width: 767px) { .difference__card { margin-inline: 16px; } .difference__card .container { padding-inline: 20px; } }
.difference__title { margin-bottom: clamp(36px, 5vw, 70px); }
.difference__grid { list-style: none; display: grid; gap: 36px clamp(24px, 3vw, 38px); }
@media (min-width: 768px) { .difference__grid { grid-template-columns: repeat(3, 1fr); } }
.difference__item h3 { font-size: var(--fs-card-title); font-weight: 700; text-transform: uppercase; line-height: 1.1; margin-bottom: 21px; }
.difference__item p { line-height: 1.17; }

/* Red band: CTA + footer ---------------------------------------------------- */
.redband { position: relative; background: var(--red); color: var(--white); overflow: hidden; isolation: isolate; }
.redband__symbol {
  position: absolute; z-index: -1; pointer-events: none;
  width: min(848px, 70vw); aspect-ratio: 848 / 481;
  right: max(-75px, calc(50% - 720px - 75px)); bottom: -53px;
  background: var(--white);
  -webkit-clip-path: url(#croow-clip);
          clip-path: url(#croow-clip);
}
@media (max-width: 767px) { .redband__symbol { width: 115vw; right: -38vw; bottom: -18vw; } }
.cta { padding-top: clamp(64px, 7vw, 100px); }
.cta__title { max-width: 1079px; }
.cta__text { max-width: 700px; margin-top: clamp(24px, 3vw, 40px); font-size: clamp(19px, 0.6vw + 15px, 24px); line-height: 1.17; }
.cta__btn { margin-top: clamp(32px, 4vw, 60px); }
.site-footer { padding-top: clamp(80px, 12vw, 186px); padding-bottom: 36px; }
.redband--footer-only .site-footer { padding-top: clamp(100px, 13vw, 190px); }
.site-footer .logo { color: var(--white); margin-bottom: clamp(40px, 5vw, 70px); }
.site-footer__copy { font-size: var(--fs-small); margin-top: 21px; }
.site-footer__copy a { text-decoration: none; }
.site-footer__copy a:hover { text-decoration: underline; }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* When a gallery sits on top of the red band */
.redband--overlap { --overlap: clamp(90px, 10.9vw, 157px); margin-top: calc(var(--overlap) * -1); padding-top: var(--overlap); }
@media (max-width: 767px) { .redband--overlap { --overlap: 30vw; } }

/* Page hero (inner pages) --------------------------------------------------- */
.page-hero { position: relative; padding-top: clamp(120px, 15.3vw, 221px); }
.page-hero__grid { display: grid; gap: 40px; }
.page-hero__title { max-width: 520px; }
.page-hero__intro { margin-top: clamp(24px, 3vw, 52px); max-width: 356px; }
.page-hero__visual {
  aspect-ratio: 949 / 538; width: 100%;
  -webkit-clip-path: url(#croow-clip);
          clip-path: url(#croow-clip);
  background: var(--grey);
}
.page-hero__visual img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .page-hero { min-height: 669px; }
  .page-hero__visual {
    position: absolute; top: 131px;
    left: calc(50% - 720px + 567px); width: 949px;
  }
}
@media (min-width: 900px) and (max-width: 1439px) {
  .page-hero__visual { left: auto; right: -6vw; width: 62vw; top: clamp(110px, 9vw, 131px); }
}
@media (max-width: 899px) { .page-hero__visual { width: 112%; margin-left: -6%; } }
.page-hero--plain { min-height: 0; padding-bottom: 0; }

/* Content rows on inner pages ---------------------------------------------- */
.page-body { padding-block: clamp(48px, 6vw, 90px); }
.row + .row { margin-top: clamp(48px, 6vw, 86px); }
.row__label { padding-top: 2px; }
.row__label .pill { margin-left: -13px; }
@media (max-width: 959px) { .row__label .pill { margin-left: 0; } }
.row__heading { font-size: var(--fs-h1); }

/* Gallery / carousel -------------------------------------------------------- */
.gallery { position: relative; z-index: 2; }
.gallery__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; overscroll-behavior-x: contain;
  list-style: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: start; aspect-ratio: 387 / 314; overflow: hidden; border-radius: 2px; background: var(--grey); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 0; color: var(--red); padding: 0;
}
.gallery__btn svg { width: 13px; height: 26px; }
.gallery__btn--prev { left: calc(var(--gutter) * -1 + 4px); }
.gallery__btn--prev svg { transform: scaleX(-1); }
.gallery__btn--next { right: calc(var(--gutter) * -1 + 4px); }
.gallery__btn[disabled] { opacity: .25; cursor: default; }
.gallery.is-static .gallery__btn { display: none; }
@media (max-width: 767px) {
  .gallery__track { grid-auto-columns: 82%; }
  .gallery__btn { display: none; }
}

/* Cards: vacancies & forms --------------------------------------------------- */
.card { background: var(--grey); border-radius: var(--radius); padding: clamp(26px, 3.6vw, 52px); }
.card--form { padding: clamp(20px, 3vw, 38px) clamp(20px, 2.9vw, 42px) clamp(24px, 3vw, 34px); }
.vacancy-list { list-style: none; display: grid; gap: 23px; }
.vacancy-card__title { font-weight: 700; font-size: var(--fs-body); line-height: var(--lh-body); }
.vacancy-card .btn { margin-top: clamp(24px, 2.4vw, 34px); }
.vacancy-intro { margin-top: clamp(32px, 4vw, 56px); max-width: 768px; }
.vacancy-intro strong { display: block; }
.empty-state { padding: 32px; background: var(--grey); border-radius: var(--radius); }

/* Info card (Waar vind je ons?) */
.info-grid { display: grid; gap: 24px 32px; }
@media (min-width: 600px) { .info-grid { grid-template-columns: repeat(3, auto); justify-content: space-between; } }
.info-grid p { margin: 0; }
.info-grid a { text-decoration: none; }
.info-grid a:hover { color: var(--red); }
.info-vat { margin-top: 28px; }

/* Forms ------------------------------------------------------------------------ */
.form { display: grid; gap: 13px; }
.form__row { display: grid; gap: 13px; }
@media (min-width: 600px) { .form__row--2 { grid-template-columns: 1fr 1fr; } .form__row--3 { grid-template-columns: 1fr 1fr 1fr; } }
.field { position: relative; display: block; }
.field__label { display: block; font-size: 14px; margin: 6px 0 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  display: block; width: 100%;
  min-height: 64px; padding: 18px 28px;
  border: 1px solid transparent; border-radius: 0;
  background: var(--white); font-size: 18px; line-height: 1.5;
  appearance: none; -webkit-appearance: none;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 116px; resize: vertical; }
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23e50019' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 26px center; background-size: 14px 8px; padding-right: 60px;
}
.field select:invalid { color: var(--placeholder); }
.field ::placeholder { color: var(--placeholder); opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red); }
.field__error { display: block; color: var(--red); font-size: 14px; margin-top: 4px; }

/* File upload */
.field--file input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; padding: 0; }
.field--file .field__fake {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 0 28px; background: var(--white); color: var(--placeholder); font-size: 18px;
  border: 1px solid transparent;
}
.field--file.has-file .field__fake { color: var(--ink); }
.field--file input:focus-visible + .field__fake { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.field__fake svg { width: 14px; height: 18px; color: var(--red); flex: none; }
.field__hint { font-size: 13px; color: #555; margin-top: 6px; }

/* Radio pills (type aanvraag) */
.choice { border: 0; padding: 0; margin: 0 0 6px; }
.choice legend { font-size: 14px; font-weight: 500; margin-bottom: 10px; padding: 0; }
.choice__options { display: flex; flex-wrap: wrap; gap: 10px; }
.choice__opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice__opt span {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px;
  border: 1px solid var(--ink); border-radius: var(--pill); font-size: 16px; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.choice__opt input:checked + span { background: var(--red); border-color: var(--red); color: var(--white); }
.choice__opt input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 3px; }

.form__extra[hidden] { display: none; }
.form__consent { font-size: 14px; line-height: 1.5; display: flex; gap: 12px; align-items: flex-start; margin-top: 4px; }
.form__consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--red); flex: none; }
.form__consent a { color: var(--red); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 14px; }
.form__actions .btn { text-transform: uppercase; }
.form__actions .btn--lg { padding-inline: 32px 40px; }
.form__privacy { font-size: 13px; line-height: 1.5; color: #555; margin-top: 4px; }
.form__privacy a { color: inherit; }
.form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-size: 16px; padding: 14px 18px; border-radius: 6px; display: none; }
.form__status.is-success { display: block; background: #e7f6ec; color: #0b5d26; }
.form__status.is-error { display: block; background: #fde8ea; color: #9b0011; }
.btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Text page (privacy, 404) ---------------------------------------------------- */
.textpage { max-width: 768px; }
.textpage .richtext { margin-top: clamp(32px, 4vw, 52px); }

/* Reveal on scroll (progressive) -------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Print -------------------------------------------------------------------------- */
@media print {
  .site-header, .menu, .redband__symbol, .services__symbol, .gallery__btn { display: none !important; }
  .redband, .hero { background: none !important; color: #000 !important; }
}

/* Fixes / responsive refinements ------------------------------------------------ */
.row__label h2 { font-size: inherit; font-weight: 400; line-height: inherit; }
@media (max-width: 767px) {
  .service-card { min-height: 0; }
  .redband .site-footer { padding-bottom: calc(62vw + 24px); }
  .redband__symbol { width: 104vw; right: -22vw; bottom: -8vw; }
}
.vacancy-intro { margin-bottom: clamp(48px, 6vw, 110px); }

/* Gallery v2: afgeronde beelden + witte ronde pijlen (XD) ------------------------ */
.gallery__item { border-radius: var(--radius); position: relative; }
.gallery__item a, .gallery__item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gallery__caption {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  display: inline-flex; align-items: center; gap: 8px; width: fit-content; max-width: calc(100% - 24px);
  padding: 8px 16px; border-radius: var(--pill);
  background: var(--white); color: var(--ink); font-size: 15px; line-height: 1.2; text-align: left;
  opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease);
}
.gallery__item:hover .gallery__caption, .gallery__item :focus-visible .gallery__caption { opacity: 1; transform: none; }
@media (hover: none) { .gallery__caption { opacity: 1; transform: none; } }
.gallery__btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--red);
  box-shadow: 0 6px 20px rgba(0,0,0,.12);
  z-index: 3; transition: transform .2s var(--ease), opacity .2s;
}
.gallery__btn:hover { transform: translateY(-50%) scale(1.06); }
.gallery__btn svg { width: 11px; height: 22px; }
.gallery__btn--prev { left: -18px; }
.gallery__btn--next { right: -18px; }
.gallery__btn--prev svg { transform: scaleX(-1) translateX(1px); }
.gallery__btn--next svg { transform: translateX(1px); }
@media (min-width: 1320px) {
  .gallery__btn--prev { left: -73px; }
  .gallery__btn--next { right: -73px; }
}
@media (max-width: 767px) {
  .gallery__btn { display: grid; width: 44px; height: 44px; }
  .gallery__btn--prev { left: 4px; }
  .gallery__btn--next { right: 4px; }
}
.gallery__more { display: flex; justify-content: flex-end; margin: 0 0 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; color: var(--red); text-decoration: none; font-weight: 500; }
.link-arrow svg { width: 8px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Pill-knop links naast de tekst (bv. "HOE KUNNEN WIJ HELPEN?") */
.btn--outline { border-color: var(--ink); color: var(--ink); text-transform: uppercase; }
.btn--outline:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.row__label .btn--outline { margin-left: -13px; white-space: normal; text-align: center; }
@media (max-width: 959px) { .row__label .btn--outline { margin-left: 0; } }

/* Realisaties ----------------------------------------------------------------------- */
.filter { display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none; margin-bottom: clamp(28px, 3vw, 44px); }
.filter .btn { border-color: var(--ink); color: var(--ink); text-transform: uppercase; }
.filter .btn:hover { border-color: var(--red); color: var(--red); }
.filter .btn[aria-pressed="true"], .filter .btn[aria-current="true"] { background: var(--red); border-color: var(--red); color: var(--white); }
.project-grid { list-style: none; display: grid; gap: clamp(28px, 3vw, 40px) 16px; }
@media (min-width: 600px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .project-grid { grid-template-columns: repeat(3, 1fr); } }
.project-card[hidden] { display: none; }
.project-card a { display: block; text-decoration: none; }
.project-card__img { aspect-ratio: 387 / 314; border-radius: var(--radius); overflow: hidden; background: var(--grey); }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card a:hover .project-card__img img { transform: scale(1.04); }
.project-card__title { font-size: var(--fs-card-title); font-weight: 700; line-height: 1.15; margin-top: 18px; text-transform: uppercase; }
.project-card a:hover .project-card__title { color: var(--red); }
.project-card__meta { font-size: 15px; color: #555; margin-top: 6px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 12px; }
.tag { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border: 1px solid currentColor; border-radius: var(--pill); font-size: 13px; text-transform: uppercase; color: var(--red); text-decoration: none; }
a.tag:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.project-facts { display: grid; gap: 4px; margin-top: 28px; font-size: 16px; }
.project-facts dt { font-weight: 700; }
.project-facts dd { margin: 0 0 10px; }

/* Lightbox ----------------------------------------------------------------------------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.92); color: var(--white); }
.lightbox::backdrop { background: rgba(0,0,0,.92); }
.lightbox__figure { margin: 0; height: 100%; display: grid; place-items: center; padding: 64px 72px; }
.lightbox__figure img { max-width: 100%; max-height: calc(100vh - 128px); width: auto; height: auto; border-radius: 6px; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0;
  background: var(--white); color: var(--red); display: grid; place-items: center;
}
.lightbox__close { top: 20px; right: 20px; font-size: 28px; line-height: 1; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav svg { width: 11px; height: 22px; }
.lightbox__nav--prev { left: 16px; }
.lightbox__nav--prev svg { transform: scaleX(-1); }
.lightbox__nav--next { right: 16px; }
.gallery__stage { position: relative; }
.page-hero .container { position: relative; z-index: 1; }
@media (min-width: 900px) { .page-hero__title { max-width: 410px; } }
.page-hero__title { overflow-wrap: break-word; hyphens: auto; }
.page-hero__title--long { font-size: clamp(30px, 2vw + 14px, 40px); line-height: 1.05; }
.gallery__btn[disabled] { opacity: .55; }
.page-hero__visual { z-index: 0; }
.page-hero .container { z-index: 2; }
.page-hero__title { text-wrap: balance; }

/* ==========================================================================
   v3 – spacing mobiel/tablet volgens XD (luchtiger), menu volgens XD
   ========================================================================== */
:root { --gutter: clamp(24px, 7vw, 48px); }

/* Menu: sluitknop = X (XD), alle pills in hoofdletters, meer lucht */
.menu-open .burger span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 14px; transform: rotate(-45deg); }
.menu-open .burger span:nth-child(3) { opacity: 0; }
.menu-open .burger span { height: 2px; }
.menu-open .burger { width: 42px; }
.menu__secondary .btn, .menu__secondary li:first-child .btn { text-transform: uppercase; }
.menu__primary { gap: clamp(14px, 2.4vw, 30px); }
.menu__big { line-height: 1.1; }
.menu__secondary { gap: 12px; }
@media (max-width: 599px) {
  .menu__primary { gap: 26px; }
  .menu__row { gap: 18px; }
  .menu .pills .btn { min-height: 42px; padding: 0 20px; font-size: 16px; }
}

/* Pills op mobiel iets compacter zodat ze op één lijn passen (zoals XD) */
@media (max-width: 599px) {
  .hero__pills { gap: 8px; }
  .hero__pills .btn { min-height: 40px; padding: 0 16px; font-size: 15px; }
}

/* Home hero mobiel: meer ruimte tussen titel, pills, tekst, knop en beeld */
@media (max-width: 899px) {
  .hero { padding-top: clamp(120px, 30vw, 150px); }
  .hero__title { font-size: clamp(40px, 9.4vw, 56px); line-height: .98; }
  .hero__pills { margin-top: 44px; }
  .hero__body { margin-top: 40px; gap: 0; }
  .hero__cta { margin-top: 40px; }
  .hero__visual { margin-top: 64px; }
}

/* Binnenpagina's mobiel/tablet */
@media (max-width: 899px) {
  .page-hero { padding-top: clamp(120px, 30vw, 150px); }
  .page-hero__intro { margin-top: 32px; max-width: 560px; }
  .page-hero__visual { margin-top: 64px; }
  .page-body { padding-block: 72px 64px; }
  .split { gap: 32px; }
  .row + .row { margin-top: 72px; }
  .section { padding-block: 80px; }
  .vacancy-intro { margin-bottom: 64px; }
}

/* Carrousel: mobiel 1 foto per keer met pijlen op de randen (XD), tablet 2 */
@media (max-width: 767px) {
  .gallery__track { grid-auto-columns: 100%; gap: 16px; }
  .gallery__btn { width: 48px; height: 48px; }
  .gallery__btn--prev { left: -24px; }
  .gallery__btn--next { right: -24px; }
  .redband--overlap { --overlap: calc((100vw - 2 * var(--gutter)) * .405); }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .gallery__track { grid-auto-columns: calc((100% - 16px) / 2); }
  .redband--overlap { --overlap: calc((100vw - 2 * var(--gutter) - 16px) / 2 * .405); }
}
.gallery__more { margin-bottom: 24px; }

/* CTA + footer mobiel */
@media (max-width: 767px) {
  .cta { padding-top: 72px; }
  .cta__btn { margin-top: 36px; }
  .site-footer { padding-top: 72px; }
  .site-footer .logo { margin-bottom: 40px; }
}
@media (max-width: 420px) { .address { grid-template-columns: repeat(2, max-content); gap: 0 24px; font-size: 13px; } }
@media (max-width: 340px) { .address { grid-template-columns: 1fr; gap: 14px; } }
@media (max-width: 480px) {
  .hero__pills .btn, .menu .pills .btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
  .hero__pills, .menu .pills { gap: 8px; }
}
@media (max-width: 420px) {
  .hero__pills .btn, .menu .pills .btn { padding: 0 12px; font-size: 13px; }
  .hero__pills, .menu .pills { gap: 6px; }
}
/* Tablet */
.row__label .btn--outline { white-space: nowrap; }
@media (min-width: 960px) and (max-width: 1199px) { .row__label .btn--outline { font-size: 15px; padding: 0 20px; } }
@media (min-width: 900px) and (max-width: 1439px) {
  .page-hero { min-height: calc(35.2vw + 150px); }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .redband__symbol { width: 55vw; right: -10vw; }
}

/* Subnav: vloeiende hover (brug over de tussenruimte + korte sluitvertraging) */
.subnav::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.subnav {
  transition: opacity .18s ease .15s, transform .18s var(--ease) .15s, visibility 0s linear .33s;
}
.nav__item.is-open .subnav, .nav__item:focus-within .subnav {
  transition: opacity .18s ease, transform .18s var(--ease), visibility 0s;
}
@media (hover: hover) {
  .nav__item:hover .subnav { transition: opacity .18s ease, transform .18s var(--ease), visibility 0s; }
}

/* Tablet (768–1023px): kaarten en USP's onder elkaar i.p.v. 3 smalle kolommen */
@media (min-width: 768px) and (max-width: 1023px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .difference__grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Smalle gsm: adresblokken onder elkaar */
@media (max-width: 400px) { .address { grid-template-columns: 1fr; gap: 14px; font-size: 14px; } }

/* Nieuwe teamfoto (XD 04/11): breder en lager in het symbool */
.hero__team { left: 4.8%; top: 10.8%; width: 90.9%; }

/* Hero: teamfoto exact op de onderrand van de hero (zoals XD) — het symbool loopt 14% onder de hero door */
@media (min-width: 900px) {
  .hero__visual, .hero__visual[style] { top: auto !important; bottom: 0 !important; transform: translateY(14%); }
}
@media (max-width: 899px) {
  .hero__visual { margin-bottom: 0; transform: translateY(14%); margin-top: 40px; }
}
@media (min-width: 900px) {
  .hero { min-height: 0; }
  .hero__pills { margin-top: clamp(24px, 2.6vw, 37px); }
  .hero__body { margin-top: clamp(48px, 8.3vw, 120px); padding-bottom: clamp(56px, 6vw, 86px); }
}
