/* =========================================================================
   Versare Consulting — design system
   Modelled on the Rijkshuisstijl / NL Design System layout used by
   hogeraadvanadel.nl. Tokens, type scale and component structure are
   faithfully reproduced; branding is original to Versare Consulting.
   ========================================================================= */

/* Smooth cross-document overgangen — slide-up feel.
   View Transitions API (Chrome/Edge 126+, Safari 18+/iOS 18+) snapshot't
   oude én nieuwe pagina en laat ons ertussen animeren. We schuiven de
   oude pagina licht naar boven uit beeld, de nieuwe glijdt van onderaf
   naar binnen — mimic van een opwaartse scroll. Beide kanalen (transform
   + opacity) draaien op de GPU-compositor, dus altijd op display-refresh
   (120Hz op ProMotion-toestellen). Oudere browsers negeren de regel. */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 320ms;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); /* easeOutQuint */
}
::view-transition-old(root) {
  animation-name: vc-page-out;
}
::view-transition-new(root) {
  animation-name: vc-page-in;
}
@keyframes vc-page-out {
  to { transform: translateY(-32px); opacity: 0; }
}
@keyframes vc-page-in {
  from { transform: translateY(32px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) { animation: none; }
}

:root {
  /* Layout */
  --button-height-large: 56px;
  --button-height-medium: 48px;
  --button-height-small: 40px;
  --grid-padding: 16px;
  --column-gap: 32px;
  --min-column-width: 296px;
  --narrow-content-column-width: 768px;
  --wide-content-column-width: 1168px;

  /* Core palette (ported from source design system) */
  --white: #fff;
  --black: #000;
  --logo-blue: #154273;   /* primary brand */
  --dark-blue: #01689b;
  --sky-blue: #007bc7;
  --light-blue: #8fcae7;
  --yellow: #f9e11e;
  --dark-yellow: #ffb612;
  --orange: #e17000;
  --red: #d52b1e;
  --green: #39870c;

  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic */
  --link-color: var(--logo-blue);
  --link-hover-color: #0f3157;
  --alt-link-color: var(--dark-blue);
  --alt-link-hover-color: #014a6f;
  --page-bg: var(--white);
  --navigation-block-background-color: var(--gray-100);
  --footer-bg: var(--logo-blue);
  --hero-overlay: linear-gradient(180deg, rgba(21,66,115,.05) 0%, rgba(21,66,115,.35) 100%);

  /* Typography */
  --font-sans: "RijksSans", "Calibri", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "RO Serif", Georgia, "Times New Roman", Times, serif;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semi-bold: 600;
  --font-weight-bold: 700;

  /* Modular type scale (subset ported from source) */
  --step--1: 14px;
  --step-0:  16px;
  --step-1:  18px;
  --step-2:  20px;
  --step-3:  22px;
  --step-4:  24px;
  --step-5:  28px;
  --step-6:  32px;
  --step-7:  36px;
  --step-8:  40px;

  --type-title:    clamp(2rem, 1.4rem + 2.6vw, 2.5rem);   /* step 6 -> 8 */
  --type-heading:  clamp(1.5rem, 1.2rem + 1.4vw, 2rem);   /* step 4 -> 6 */
  --type-subhead:  clamp(1.375rem, 1.25rem + .6vw, 1.5rem);
  --type-intro:    clamp(1.25rem, 1.1rem + .8vw, 1.5rem);
  --type-body:     clamp(1.0625rem, 1rem + .25vw, 1.125rem);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--type-body);
  line-height: 1.6;
  color: var(--gray-900);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
a { color: var(--link-color); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--link-hover-color); }
:focus-visible { outline: 3px solid var(--dark-yellow); outline-offset: 2px; }

.screen-reader-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;
}

/* ---------------------------------------------------------- containers */
.wide-layout-grid,
.layout-grid {
  width: 100%;
  max-width: calc(var(--wide-content-column-width) + var(--grid-padding) * 2);
  margin-inline: auto;
  padding-inline: var(--grid-padding);
}
.narrow {
  max-width: calc(var(--narrow-content-column-width) + var(--grid-padding) * 2);
  margin-inline: auto;
  padding-inline: var(--grid-padding);
}

/* ------------------------------------------------------------- buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  height: var(--button-height-medium);
  padding: 0 1.5rem;
  font: inherit;
  font-weight: var(--font-weight-semi-bold);
  color: var(--white);
  background: var(--logo-blue);
  border: 2px solid var(--logo-blue);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.button:hover { color: var(--white); background: var(--link-hover-color); border-color: var(--link-hover-color); }
.button--secondary {
  color: var(--logo-blue);
  background: transparent;
}
.button--secondary:hover { color: var(--white); background: var(--logo-blue); }
.button--small { height: var(--button-height-small); padding: 0 1rem; }
.button--icon-only { width: var(--button-height-medium); padding: 0; }

/* ------------------------------------------------------- site header */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--logo-blue);
  color: var(--white);
  padding: .75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: var(--white); }

.brand-bar {
  height: 6px;
  background: var(--logo-blue);
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 96px;
  padding-block: 1rem;
}
.site-header__logo-link {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--logo-blue);
}
.site-header__logo-image {
  height: 76px;
  width: auto;
  display: block;
}
.site-footer__logo {
  height: 72px;
  width: auto;
  display: block;
  margin-bottom: .85rem;
}

/* ------------------------------------------------------------ nav bar */
.nav-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.nav-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
}
.nav-bar__page-title {
  font-size: var(--type-heading);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  order: -1;
}
.search-bar {
  display: flex;
  width: min(360px, 100%);
}
.search-bar__input {
  flex: 1;
  height: var(--button-height-medium);
  padding: 0 .9rem;
  font: inherit;
  font-size: var(--step-0);
  color: var(--gray-900);
  background: var(--white);
  border: 2px solid var(--gray-400);
  border-right: 0;
}
.search-bar__input::placeholder { color: var(--gray-500); }
.search-bar__input:focus { outline: none; border-color: var(--logo-blue); }
.search-bar__submit {
  width: var(--button-height-medium);
  flex: 0 0 var(--button-height-medium);
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  background: var(--logo-blue);
  overflow: hidden;
}
.hero--high { height: clamp(320px, 46vw, 560px); }
.hero__slider { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
  background-size: cover;
  background-position: center;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
/* Photo heroes get a stronger left + bottom scrim so the white
   caption stays readable on bright images, while the right side
   of the photo stays visible. */
.hero__slide.has-photo::after {
  background:
    linear-gradient(90deg, rgba(15,49,87,.70) 0%, rgba(15,49,87,.35) 42%, rgba(15,49,87,0) 70%),
    linear-gradient(180deg, rgba(15,49,87,0) 38%, rgba(15,49,87,.55) 100%);
}
/* generated brand slides */
.hero__slide--1 { background:
  radial-gradient(circle at 78% 22%, rgba(143,202,231,.55), transparent 45%),
  linear-gradient(135deg, #0f3157 0%, #154273 45%, #01689b 100%); }
.hero__slide--2 { background:
  radial-gradient(circle at 20% 80%, rgba(255,182,18,.30), transparent 50%),
  linear-gradient(120deg, #154273 0%, #01689b 60%, #007bc7 100%); }
.hero__slide--3 { background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 28px, transparent 28px 56px),
  linear-gradient(160deg, #0f3157 0%, #154273 100%); }
.hero__slide--4 { background:
  radial-gradient(circle at 65% 35%, rgba(143,202,231,.45), transparent 55%),
  linear-gradient(135deg, #01689b 0%, #154273 70%, #0f3157 100%); }
.hero__slide--5 { background:
  conic-gradient(from 220deg at 75% 30%, rgba(0,123,199,.55), rgba(21,66,115,.9), rgba(15,49,87,1)); }
.hero__slide--6 { background:
  repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 26px),
  linear-gradient(120deg, #154273 0%, #0f3157 100%); }

.hero__caption {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 3rem;
  color: var(--white);
}
.hero__caption-eyebrow {
  font-size: var(--step-0);
  font-weight: var(--font-weight-semi-bold);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.hero__caption-title {
  margin-top: .5rem;
  max-width: 22ch;
  font-size: var(--type-title);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
}
.hero__controls {
  position: absolute;
  z-index: 3;
  right: var(--grid-padding);
  bottom: 1rem;
  display: flex;
  gap: .5rem;
}
.hero__dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: .5rem;
  transform: translateX(-50%);
  display: flex;
  gap: .25rem;
}
.hero__dot {
  width: 24px; height: 24px;
  padding: 6px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero__dot::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.6);
  box-shadow: 0 0 0 1px rgba(0,0,0,.35);
}
.hero__dot.is-active::before { background: var(--white); box-shadow: 0 0 0 1px rgba(0,0,0,.55); }
.hero__dot:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
.hero__control-btn {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(15,49,87,.55);
  border: 1px solid rgba(255,255,255,.5);
  cursor: pointer;
}
.hero__control-btn:hover { background: rgba(15,49,87,.85); }
.hero__control-btn svg { width: 16px; height: 16px; fill: currentColor; }

/* ----------------------------------------------------- editorial nav */
.editorial-nav {
  background: var(--navigation-block-background-color);
  border-bottom: 1px solid var(--gray-200);
}
.editorial-nav__inner { padding-block: 2.5rem; }
.editorial-nav__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}
.editorial-nav__item { background: var(--white); }
.editorial-nav__link {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 1.25rem;
  height: 100%;
  text-decoration: none;
  color: var(--alt-link-color);
  font-size: var(--step-2);
  font-weight: var(--font-weight-semi-bold);
  transition: background-color .15s ease, color .15s ease;
}
.editorial-nav__link:hover {
  background: var(--logo-blue);
  color: var(--white);
}
.editorial-nav__link[aria-current="page"] {
  background: var(--white);
  color: var(--logo-blue);
  box-shadow: inset 4px 0 0 var(--dark-yellow);
}
.editorial-nav__link[aria-current="page"]:hover {
  background: var(--logo-blue);
  color: var(--white);
}
.editorial-nav__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 22px;
  fill: currentColor;
}
.editorial-nav__title { line-height: 1.2; }

/* ------------------------------------------------------ main content */
.main-content { padding-block: 3rem 4rem; }
.intro {
  max-width: var(--narrow-content-column-width);
  margin-bottom: 2.5rem;
}
.intro p {
  font-size: var(--type-intro);
  line-height: 1.5;
  color: var(--gray-800);
}
.rich-text { max-width: var(--narrow-content-column-width); }
.rich-text h2 {
  margin-top: 2.5rem;
  margin-bottom: .85rem;
  font-size: var(--type-heading);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
}
.rich-text h3 {
  margin-top: 1.75rem;
  margin-bottom: .5rem;
  font-size: var(--type-subhead);
  font-weight: var(--font-weight-bold);
}
.rich-text p { margin-bottom: 1.15rem; color: var(--gray-800); }
.rich-text ul {
  margin-bottom: 1.25rem;
  padding-left: 1.25rem;
  list-style: none;
}
.rich-text ul li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: .6rem;
  color: var(--gray-800);
}
.rich-text ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .65em;
  width: 7px; height: 7px;
  background: var(--logo-blue);
}
.rich-text a { color: var(--link-color); }

.section-divider {
  border: 0;
  border-top: 1px solid var(--gray-200);
  margin-block: 3rem;
}

/* --------------------------------------------------- featured block */
.featured-block { margin-top: 3.5rem; }
.featured-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.featured-block__title {
  font-size: var(--type-heading);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
}
.cards-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--column-gap);
}
.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--gray-200);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover {
  color: inherit;
  box-shadow: 0 8px 24px rgba(15,49,87,.12);
  transform: translateY(-2px);
}
.card__figure { margin: 0; }
.card__image {
  width: 100%;
  aspect-ratio: 366 / 244;
  object-fit: cover;
  display: block;
}
.card__image {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: .75rem;
  color: rgba(255,255,255,.85);
  font-size: var(--step--1);
  font-weight: var(--font-weight-semi-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card__image--1 { background: linear-gradient(135deg, #154273, #01689b); }
.card__image--2 { background: linear-gradient(135deg, #0f3157, #007bc7); }
.card__image--3 { background:
  repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px),
  linear-gradient(135deg, #01689b, #154273); }
.card__image--4 { background: linear-gradient(135deg, #154273, #0f3157); }
.card__image.has-photo {
  background-size: cover;
  background-position: center;
}
.card__image.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,49,87,0) 40%, rgba(15,49,87,.55) 100%);
}
.card__image-label { position: relative; z-index: 1; }

.rich-image {
  margin: 1.75rem 0;
}
.rich-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--gray-200);
}
.rich-image figcaption {
  margin-top: .5rem;
  font-size: var(--step--1);
  color: var(--gray-500);
}

/* ---------------------------------------------------------- pricing */
.pricing-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--column-gap);
  align-items: stretch;
}
.price-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 1.75rem 1.5rem;
}
.price-card--highlight {
  border: 2px solid var(--logo-blue);
  box-shadow: 0 12px 30px rgba(15,49,87,.14);
}
.price-card__name {
  font-size: var(--step-3);
  font-weight: var(--font-weight-bold);
  color: var(--logo-blue);
}
.price-card__price {
  margin-top: .5rem;
  font-size: var(--step-6);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  line-height: 1.1;
}
.price-card__period {
  font-size: var(--step-0);
  font-weight: var(--font-weight-regular);
  color: var(--gray-500);
}
.price-card__summary {
  margin-top: .75rem;
  color: var(--gray-700);
}
.price-card__features {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  padding: 0;
  flex: 1;
}
.price-card__features li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .55rem;
  color: var(--gray-800);
}
.price-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .15em;
  width: 1.05rem;
  height: 1.05rem;
  background: var(--logo-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.price-card__cta { align-self: flex-start; }

/* -------------------------------------------------------------- faq */
.faq-list {
  max-width: var(--narrow-content-column-width);
  border-top: 1px solid var(--gray-200);
}
.faq-item {
  border-bottom: 1px solid var(--gray-200);
}
.faq-item__q {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 2.25rem 1.1rem 0;
  position: relative;
  font-size: var(--step-1);
  font-weight: var(--font-weight-semi-bold);
  color: var(--logo-blue);
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: .25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: var(--step-4);
  font-weight: var(--font-weight-regular);
  color: var(--gray-500);
  line-height: 1;
}
.faq-item[open] .faq-item__q::after { content: "\2013"; }
.faq-item__a {
  padding: 0 0 1.25rem;
  color: var(--gray-800);
  max-width: 70ch;
}
.faq-item__a p { margin: 0; }

/* ------------------------------------------------ project detail */
.project-hero {
  margin: 0 0 2rem;
}
.project-hero__image {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(220px, 34vw, 360px);
  padding: 1.25rem;
  background-size: cover;
  background-position: center;
  color: rgba(255,255,255,.9);
  font-size: var(--step--1);
  font-weight: var(--font-weight-semi-bold);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-hero__image.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,49,87,0) 45%, rgba(15,49,87,.55) 100%);
}

@media (max-width: 960px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem 1.25rem 1.5rem;
}
.card__title {
  font-size: var(--step-3);
  font-weight: var(--font-weight-bold);
  color: var(--logo-blue);
  line-height: 1.25;
}
.card:hover .card__title { text-decoration: underline; }
.card__text {
  margin-top: .6rem;
  color: var(--gray-700);
  font-size: var(--step-0);
}
.card__meta {
  margin-top: auto;
  padding-top: 1rem;
  display: flex;
  gap: .75rem;
  font-size: var(--step--1);
  color: var(--gray-500);
}
.card__more {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: var(--font-weight-semi-bold);
  color: var(--logo-blue);
}
.card__more svg { width: 14px; height: 14px; fill: currentColor; }

/* contact / generic two-column */
.col-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--column-gap);
  align-items: start;
}
.info-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 1.5rem;
}
.info-card h2 { font-size: var(--step-3); margin-bottom: .75rem; }
.info-card p { margin-bottom: .35rem; color: var(--gray-700); }

.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-weight: var(--font-weight-semi-bold);
}
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  padding: .65rem .8rem;
  border: 2px solid var(--gray-400);
  background: var(--white);
}
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--logo-blue); }

/* --------------------------------------------------------- breadcrumb */
.breadcrumb {
  padding-block: .85rem;
  font-size: var(--step--1);
  color: var(--gray-500);
}
.breadcrumb a { color: var(--alt-link-color); }
.breadcrumb span[aria-current] { color: var(--gray-700); }

/* ------------------------------------------------------------- footer */
.site-footer {
  background: var(--footer-bg);
  color: var(--white);
  padding-block: 3rem;
}
.site-footer a { color: var(--white); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--column-gap);
}
.site-footer__brand-name {
  font-size: var(--step-3);
  font-weight: var(--font-weight-bold);
  margin-bottom: .5rem;
}
.site-footer__brand-text {
  color: rgba(255,255,255,.78);
  font-size: var(--step-0);
  max-width: 38ch;
}
.site-footer__links-heading {
  font-size: var(--step-1);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}
.site-footer__links { list-style: none; }
.site-footer__links li { margin-bottom: .6rem; }
.site-footer__links a { text-decoration: none; color: rgba(255,255,255,.85); }
.site-footer__links a:hover { color: var(--white); text-decoration: underline; }
.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  font-size: var(--step--1);
  color: rgba(255,255,255,.7);
}
.site-footer__bottom a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer__bottom a:hover { text-decoration: underline; }

/* ------------------------------------------------------- mobile menu */
.nav-toggle { display: none; }

/* --------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .editorial-nav__list { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .col-2 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .editorial-nav__list { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .nav-bar__inner { flex-direction: column; align-items: flex-start; }
  .search-bar { width: 100%; }
  .site-header__logo-image { height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   TIER 1 — conversion CTAs
   ============================================================ */

/* Header CTA (right of logo) */
.site-header__inner { justify-content: space-between; }
.site-header__cta {
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 1rem;
  font-weight: var(--font-weight-semi-bold);
  color: #fff;
  background: var(--logo-blue);
  border: 2px solid var(--logo-blue);
  text-decoration: none;
  white-space: nowrap;
}
.site-header__cta:hover { color: #fff; background: var(--link-hover-color); border-color: var(--link-hover-color); }

/* Hero CTA buttons (and reused on article-end CTA) */
.hero__ctas {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  font-weight: var(--font-weight-semi-bold);
  font-size: var(--step-0);
  text-decoration: none;
  border: 2px solid;
  border-radius: 0;
  transition: background-color .15s, color .15s, border-color .15s;
}
.hero__cta--primary {
  color: var(--logo-blue);
  background: #fff;
  border-color: #fff;
}
.hero__cta--primary:hover { color: var(--logo-blue); background: var(--gray-100); border-color: var(--gray-100); }
.hero__cta--secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255,255,255,.7);
}
.hero__cta--secondary:hover { color: var(--logo-blue); background: #fff; border-color: #fff; }

/* Floating WhatsApp bubble — site-wide */
.wa-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1.1rem .8rem .85rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: var(--font-weight-semi-bold);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .15s, background-color .15s;
}
.wa-fab:hover { color: #fff; background: #1da851; transform: translateY(-1px); box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.wa-fab__icon { width: 22px; height: 22px; fill: currentColor; flex: 0 0 22px; }
.wa-fab__label { font-size: var(--step-0); }
@media (max-width: 620px) {
  .wa-fab { padding: .85rem; right: .9rem; bottom: .9rem; }
  .wa-fab__label { display: none; }
}

/* Branches catalog — per-system aanvraag CTA */
.branche-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  justify-content: space-between;
}
.branche-info { flex: 1 1 60%; min-width: 12rem; }
.branche-cta {
  flex: 0 0 auto;
  font-size: var(--step--1);
  font-weight: var(--font-weight-semi-bold);
  color: var(--logo-blue);
  text-decoration: none;
  white-space: nowrap;
}
.branche-cta:hover { text-decoration: underline; }

/* Contact: 3 paden bovenaan */
.contact-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-path {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--gray-200);
  background: #fff;
  text-decoration: none;
  color: var(--ink, var(--gray-900));
  transition: box-shadow .15s, transform .15s, border-color .15s;
}
.contact-path:hover {
  color: var(--logo-blue);
  border-color: var(--logo-blue);
  box-shadow: 0 6px 18px rgba(15,49,87,.12);
  transform: translateY(-1px);
}
.contact-path__label {
  font-weight: var(--font-weight-bold);
  font-size: var(--step-2);
  color: var(--logo-blue);
}
.contact-path__sub { color: var(--gray-600); font-size: var(--step--1); }
.contact-path--wa {
  border-color: #25D366;
  background: #f0fbf4;
}
.contact-path--wa:hover { border-color: #25D366; color: #0f3157; }
.contact-path--wa .contact-path__label { color: #1da851; }
@media (max-width: 960px) { .contact-paths { grid-template-columns: 1fr; } }

/* Article-end CTA card */
.article-cta {
  margin-top: 2.25rem;
  padding: 1.25rem 1.4rem;
  background: var(--logo-blue);
  color: #fff;
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.article-cta__text { display: flex; flex-direction: column; gap: .25rem; }
.article-cta__text strong { font-size: var(--step-2); }
.article-cta__text span { color: rgba(255,255,255,.8); font-size: var(--step-0); }
.article-cta__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.article-cta .hero__cta--primary { color: var(--logo-blue); background: #fff; border-color: #fff; }
.article-cta .hero__cta--secondary { color: #fff; border-color: rgba(255,255,255,.7); }
.article-cta .hero__cta--secondary:hover { color: var(--logo-blue); background: #fff; }

@media (max-width: 620px) {
  .site-header__cta { padding: 0 .75rem; height: 40px; font-size: var(--step--1); }
  .hero__ctas { margin-top: .8rem; }
  .hero__cta { min-height: 44px; padding: 0 1rem; font-size: var(--step--1); }
}

/* ============================================================
   TIER 2 — finder, testimonials, branche detail
   ============================================================ */

/* Branche-keuzehulp (homepage) */
.branche-finder {
  margin: 3rem 0 2.5rem;
  padding: 2rem 1.5rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.branche-finder__inner {
  max-width: var(--narrow-content-column-width);
  margin-inline: auto;
}
.branche-finder__title {
  font-size: var(--type-heading);
  font-weight: var(--font-weight-bold);
  color: var(--logo-blue);
  margin-bottom: .35rem;
}
.branche-finder__sub { color: var(--gray-700); margin-bottom: 1rem; }
.branche-finder__form {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}
.branche-finder__form select {
  flex: 1 1 18rem;
  min-height: 48px;
  padding: 0 .85rem;
  font: inherit;
  background: #fff;
  border: 2px solid #94a3b8;
  border-radius: 0;
}
.branche-finder__form select:focus { outline: none; border-color: var(--logo-blue); }
.branche-finder__hint { margin-top: .75rem; font-size: var(--step--1); color: var(--gray-600); }

/* Testimonials (homepage) */
.testimonials { margin: 3rem 0; }
.testimonials__title {
  font-size: var(--type-heading);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: 1.25rem;
}
.testimonials__list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--column-gap);
}
.testimonial {
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}
.testimonial__quote {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--gray-800);
}
.testimonial__person {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--step--1);
}
.testimonial__person strong { color: var(--gray-900); }
@media (max-width: 960px) {
  .testimonials__list { grid-template-columns: 1fr; }
}

/* Branche detailpagina */
.branche-cat {
  display: inline-block;
  margin-bottom: .5rem;
  padding: .15rem .55rem;
  font-size: var(--step--1);
  font-weight: var(--font-weight-semi-bold);
  letter-spacing: .04em;
  color: var(--logo-blue);
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
}
.rich-text .intro-text {
  font-size: var(--type-intro);
  line-height: 1.5;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

/* Quote-blok bij een projectdetailpagina */
.project-testimonial {
  margin: 2rem 0 1.5rem;
  padding: 1.4rem 1.5rem;
  background: var(--gray-50);
  border-left: 4px solid var(--logo-blue);
}
.project-testimonial__quote {
  margin: 0 0 .75rem;
  font-size: var(--step-2);
  line-height: 1.45;
  color: var(--gray-800);
  font-style: italic;
}
.project-testimonial__person {
  margin: 0;
  color: var(--gray-600);
  font-size: var(--step--1);
}
.project-testimonial__person strong { color: var(--gray-900); font-style: normal; }

/* ============================================================
   Zoekpagina
   ============================================================ */
.search-page__form {
  display: flex;
  gap: .6rem;
  max-width: 560px;
  margin: 0 0 1.5rem;
}
.search-page__input {
  flex: 1;
  height: var(--button-height-medium);
  padding: 0 .9rem;
  font: inherit;
  font-size: var(--step-0);
  border: 2px solid #94a3b8;
  background: #fff;
}
.search-page__input:focus { outline: none; border-color: var(--logo-blue); }
.search-page__status {
  margin: 0 0 1rem;
  color: var(--gray-600);
  font-size: var(--step--1);
}
.search-page__results {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: var(--narrow-content-column-width);
}
.search-hit {
  padding: 1rem 1.1rem;
  border: 1px solid var(--gray-200);
  background: #fff;
}
.search-hit__kind {
  font-size: var(--step--1);
  font-weight: var(--font-weight-semi-bold);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.search-hit__title {
  display: block;
  margin-top: .15rem;
  font-size: var(--step-2);
  font-weight: var(--font-weight-bold);
  color: var(--logo-blue);
  text-decoration: none;
}
.search-hit__title:hover { text-decoration: underline; }
.search-hit__snippet {
  margin: .4rem 0 0;
  color: var(--gray-700);
  font-size: var(--step-0);
  line-height: 1.55;
}
.search-hit__snippet mark {
  background: #fef08a;
  color: inherit;
  padding: 0 .15em;
}

/* ============================================================
   Zoeksuggesties (live dropdown onder het header-zoekformulier)
   ============================================================ */
.search-bar { position: relative; }
.search-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 2px;
  max-height: min(70vh, 520px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--gray-300);
  box-shadow: 0 12px 28px rgba(15,49,87,.12);
  z-index: 50;
}
.search-suggest[hidden] { display: none; }
.search-suggest__item {
  display: block;
  padding: .6rem .85rem;
  border-bottom: 1px solid var(--gray-100);
  text-decoration: none;
  color: inherit;
}
.search-suggest__item:last-child { border-bottom: 0; }
.search-suggest__item:hover,
.search-suggest__item[aria-selected="true"] {
  background: var(--gray-100);
}
.search-suggest__kind {
  display: block;
  font-size: .7rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .15rem;
}
.search-suggest__title {
  display: block;
  font-weight: var(--font-weight-semi-bold);
  color: var(--logo-blue);
}
.search-suggest__title mark { background: #fef08a; color: inherit; padding: 0 .15em; }
.search-suggest__empty,
.search-suggest__more {
  padding: .6rem .85rem;
  font-size: var(--step--1);
  color: var(--gray-600);
}
.search-suggest__more {
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
  text-align: center;
}
.search-suggest__more a { color: var(--logo-blue); font-weight: var(--font-weight-semi-bold); text-decoration: none; }
.search-suggest__more a:hover { text-decoration: underline; }

/* ============================================================
   Feedback tab + dialog (zijdelingse knop, ABN-stijl)
   ============================================================ */
.feedback-tab {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 45;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  padding: 1.1rem .55rem;
  font: inherit;
  font-size: var(--step-0);
  font-weight: var(--font-weight-semi-bold);
  letter-spacing: .04em;
  color: var(--logo-blue);
  background: #eef4f9;
  border: 1px solid var(--gray-200);
  border-right: 0;
  border-radius: 6px 0 0 6px;
  box-shadow: -2px 0 12px rgba(15,49,87,.08);
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s;
}
.feedback-tab:hover {
  background: var(--logo-blue);
  color: #fff;
  transform: translateY(-50%) translateX(-2px);
}
.feedback-tab:focus-visible {
  outline: 3px solid var(--dark-yellow);
  outline-offset: 2px;
}

.feedback-dialog[hidden] { display: none; }
.feedback-dialog {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.feedback-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15,49,87,.55);
}
.feedback-dialog__panel {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  padding: 2rem 1.5rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.28);
}
.feedback-dialog__close {
  position: absolute;
  top: .35rem;
  right: .35rem;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  color: var(--gray-600);
  cursor: pointer;
}
.feedback-dialog__close svg { width: 18px; height: 18px; fill: currentColor; }
.feedback-dialog__close:hover { color: var(--logo-blue); }
.feedback-dialog__title {
  margin: 0 2rem 1.25rem 0;
  font-size: var(--step-3);
  font-weight: var(--font-weight-bold);
  color: var(--logo-blue);
  line-height: 1.25;
}

.feedback-form__field {
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}
.feedback-form__label {
  display: block;
  margin: 0 0 .4rem;
  padding: 0;
  font-weight: var(--font-weight-semi-bold);
  color: var(--logo-blue);
}
.feedback-form__select,
.feedback-form__textarea {
  width: 100%;
  font: inherit;
  padding: .65rem .8rem;
  border: 2px solid var(--gray-400);
  background: #fff;
  border-radius: 0;
}
.feedback-form__select:focus,
.feedback-form__textarea:focus { outline: none; border-color: var(--logo-blue); }
.feedback-form__textarea { resize: vertical; min-height: 6.5rem; }

.feedback-stars { display: flex; gap: .15rem; }
.feedback-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--gray-300);
  cursor: pointer;
  transition: color .12s, transform .12s;
}
.feedback-star svg { width: 28px; height: 28px; fill: currentColor; }
.feedback-star:hover { color: var(--dark-yellow); transform: scale(1.08); }
.feedback-star:focus-visible { outline: 3px solid var(--dark-yellow); outline-offset: 2px; }
.feedback-star.is-on { color: var(--dark-yellow); }

.feedback-form__count {
  margin-top: .25rem;
  text-align: right;
  color: var(--gray-500);
  font-size: var(--step--1);
}
.feedback-form__notice {
  margin: 0 0 1.1rem;
  padding: .75rem 1rem;
  background: var(--gray-50);
  border-left: 4px solid var(--dark-yellow);
  font-size: var(--step--1);
  color: var(--gray-700);
  line-height: 1.5;
}
.feedback-form__notice strong { color: var(--gray-900); }
.feedback-form__submit { width: 100%; }
.feedback-form__status {
  margin: 1rem 0 0;
  font-weight: var(--font-weight-semi-bold);
  color: var(--green);
}
.feedback-form__status[data-error] { color: var(--red); }

@media (max-width: 620px) {
  .feedback-tab {
    padding: .9rem .45rem;
    font-size: var(--step--1);
  }
  .feedback-dialog__panel {
    padding: 1.5rem 1.1rem 1.25rem;
  }
  .feedback-dialog__title { font-size: var(--step-2); }
}
@media (prefers-reduced-motion: reduce) {
  .feedback-tab,
  .feedback-star { transition: none; }
  .feedback-tab:hover { transform: translateY(-50%); }
}
