/* ==========================================================================
   Fonts — self-hosted Decalotype Fix
   ========================================================================== */
@font-face {
  font-family: "Decalotype Fix";
  src: url("../font/Decalotype-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Decalotype Fix";
  src: url("../font/Decalotype-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Decalotype Fix";
  src: url("../font/Decalotype-Black.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   CALCleaning — design tokens (soft blue tile style, no white surfaces)
   ========================================================================== */
:root {
  --c-primary: #2EA9C7;
  --c-primary-dark: #1F8AA6;
  --c-primary-deep: #166980;          /* banner */
  --c-primary-soft: #C8E8F0;
  --c-primary-tile: #D8EDF2;          /* feature/step tiles, lichter */

  --c-bg: #E8F4F8;                    /* hoofdachtergrond */
  --c-tile: #DBEEF3;                  /* "card" tiles, ietsje lichter */
  --c-tile-2: #CCE5EC;                /* nesting */

  --c-ink: #0F1B2A;
  --c-ink-tile: #1F8AA6;              /* body tekst op tegels, leesbaar turquoise */
  --c-ink-soft: #1F8AA6;              /* secundair, zelfde leesbaar turquoise */
  --c-ink-muted: #6CA5B5;              /* tertiair / fijne meta-info */

  --c-accent: #FFC83D;

  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(15,27,42,.04);
  --shadow-md: 0 8px 30px rgba(15,27,42,.05);
  --shadow-lg: 0 24px 60px rgba(15,27,42,.08);

  --font-display: "Decalotype Fix", "Helvetica Neue", Arial Black, sans-serif;
  --font-heading: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --container: 100%;
  --container-narrow: 880px;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* `overflow-x: clip` ipv `hidden` — clip clipt off-screen content zonder
     een nieuwe scroll-context te maken, waardoor `position: sticky` op de
     nav blijft werken. `hidden` zou de sticky nav stuk maken op mobiel. */
  overflow-x: clip;
}
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, video, svg { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
a { color: var(--c-primary-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--c-primary); }

h1,h2,h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -.015em;
  color: var(--c-primary);
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--c-primary);
  text-transform: uppercase;
  font-size: 1rem;
  line-height: 1.3;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.0; }
h2 { font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.0; }
h3 { font-size: clamp(1.4rem, 2.4vw, 2.1rem); line-height: 1.05; }
p { color: var(--c-ink-soft); }

/* ==========================================================================
   Layout primitives
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(40px, 5vw, 80px) 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-primary-dark);
}
.eyebrow__dot {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--c-primary-tile);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.eyebrow__dot svg { width: 18px; height: 18px; color: var(--c-primary); }

/* on dark/turquoise: dot becomes light translucent */
.tile--primary .eyebrow__dot,
.cta-banner .eyebrow__dot,
.footer .eyebrow__dot {
  background: rgba(255,255,255,.18);
}
.tile--primary .eyebrow__dot svg,
.cta-banner .eyebrow__dot svg,
.footer .eyebrow__dot svg { color: #fff; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 17px 30px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: transform .25s cubic-bezier(.22,.61,.36,1), color .25s ease;
  white-space: nowrap;
  overflow: hidden;
  border: 0;
}
/* Sliding fill on hover — pseudo-element scales up from bottom */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateY(0); }

.btn--white {
  background: #fff;
  color: var(--c-primary-dark);
}
.btn--white::before { background: var(--c-primary); }
.btn--white:hover { color: #fff; }

.btn--primary {
  background: var(--c-primary);
  color: #fff;
}
.btn--primary::before { background: var(--c-ink); }
.btn--primary:hover { color: #fff; }

.btn--ghost-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6);
}
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--c-primary-dark); box-shadow: inset 0 0 0 1.5px #fff; }

.btn--ghost-dark {
  background: transparent;
  color: var(--c-primary-dark);
  box-shadow: inset 0 0 0 1.5px var(--c-primary-dark);
}
.btn--ghost-dark::before { background: var(--c-primary-dark); }
.btn--ghost-dark:hover { color: #fff; }

.btn .arrow { transition: transform .25s cubic-bezier(.22,.61,.36,1); flex-shrink: 0; }
.btn:hover .arrow { transform: translateX(5px); }

/* ==========================================================================
   Banner (top)
   ========================================================================== */
.banner {
  background: var(--c-primary-deep);
  color: #fff;
  font-size: .85rem;
  text-align: center;
  padding: 9px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.banner a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}
.banner a:hover { color: var(--c-primary-soft); }
.banner__rating {
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .01em;
}
.banner__rating:hover { color: var(--c-primary-soft); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--c-bg);
}
.nav__inner {
  display: flex;
  align-items: center;
  height: 90px;
  gap: 32px;
  padding-top: 8px;
}
.nav__brand img { height: 44px; width: auto; }
.nav__group { display: flex; align-items: center; gap: 36px; }
.nav__cta-wrap { margin-left: auto; }
.nav__menu { display: flex; align-items: center; gap: 28px; }
.nav__link {
  color: var(--c-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  text-transform: capitalize;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset: auto 0 -6px 0;
  height: 2px;
  background: var(--c-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__link:hover { color: var(--c-primary); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta-link {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: .92rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: color .25s ease, transform .25s cubic-bezier(.22,.61,.36,1);
  white-space: nowrap;
  border: 0;
}
.nav__cta-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-ink);
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
.nav__cta-link:hover { color: #fff; transform: translateY(-2px); }
.nav__cta-link:hover::before { transform: translateY(0); }
.nav__cta-link svg { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.nav__cta-link:hover svg { transform: translateX(4px); }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  align-items: center; justify-content: center;
  background: var(--c-tile);
  color: var(--c-primary-dark);
}
.nav__toggle svg { width: 20px; height: 20px; }

@media (max-width: 880px) {
  .nav__menu, .nav__cta-link { display: none; }
  .nav__cta-wrap { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
  .nav.is-open .nav__menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 90px; left: 0; right: 0;
    background: var(--c-bg);
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open .nav__menu .nav__link { font-size: 1.1rem; padding: 8px 0; }
}

/* ==========================================================================
   Tile system
   ========================================================================== */
.tile {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
}
.tile--primary {
  background: var(--c-primary);
  color: #fff;
}
.tile--primary h1, .tile--primary h2, .tile--primary h3, .tile--primary h4 { color: #fff; }
.tile--primary p { color: rgba(255,255,255,.85); }
.tile--primary .eyebrow { color: rgba(255,255,255,.9); }

.tile--soft {
  background: var(--c-primary-tile);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(28px, 4vh, 56px) 0 clamp(28px, 3.5vw, 48px); }
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 380px); /* leaves room for contact-buttons row below */
  max-height: 600px;
}
.hero__tile {
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 24px;
  min-height: 500px;
}
.hero__tile .hero__cta { margin-top: auto; }
.hero__trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 8px;
  background: rgba(255,255,255,.18);
  border-radius: var(--radius-pill);
  align-self: flex-start;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: background .22s ease, transform .22s ease;
}
.hero__trust:hover {
  background: rgba(255,255,255,.28);
  transform: translateY(-1px);
  color: #fff;
}
.hero__trust-arrow {
  margin-left: 2px;
  opacity: .8;
  transition: transform .22s ease, opacity .22s ease;
}
.hero__trust:hover .hero__trust-arrow {
  opacity: 1;
  transform: translateX(3px);
}
.hero__trust-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.hero__trust-icon svg { width: 16px; height: 16px; }
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.0;
  letter-spacing: -.015em;
  margin: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}
.hero__title .br { display: block; }

/* Rotator — words drop down through the line ("falling into the floor") */
.hero__rotator {
  position: relative;
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1;
}
.hero__rotator__word {
  display: inline-block;
  position: absolute;
  left: 0; top: 0;
  white-space: nowrap;
  transform: translateY(-105%);
  transition: transform .6s cubic-bezier(.7, 0, .15, 1);
  pointer-events: none;
}
.hero__rotator__word.is-active {
  position: relative;
  transform: translateY(0);
  pointer-events: auto;
}
.hero__rotator__word.is-leaving {
  transform: translateY(105%);
}
.hero__rotator__word.no-transition { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .hero__rotator__word { transition: none; }
}
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__direct {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .92rem;
  color: rgba(255,255,255,.78);
}
.hero__direct a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
  transition: opacity .2s ease;
}
.hero__direct a:hover { opacity: .8; }
.hero__direct-dot {
  display: inline-block;
  width: 9px; height: 9px;
  background: #6BFFA8;
  border-radius: 50%;
  margin-right: 4px;
  position: relative;
  box-shadow: 0 0 0 0 rgba(107, 255, 168, 0.7);
  animation: hero-dot-pulse 2s cubic-bezier(.4,0,.6,1) infinite;
}
@keyframes hero-dot-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(107, 255, 168, 0.6); }
  70%  { box-shadow: 0 0 0 10px rgba(107, 255, 168, 0); }
  100% { box-shadow: 0 0 0 0 rgba(107, 255, 168, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__direct-dot { animation: none; }
}
.hero__media-tile {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  min-height: 500px;
}
.hero__media-tile video,
.hero__media-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__tile, .hero__media-tile { min-height: 380px; }
}

/* ==========================================================================
   Split (image tile + 2x2 features grid)
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}
.split__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 600px;
  position: relative;
}
.split__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.split__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .split__media { min-height: 360px; }
}
@media (max-width: 540px) {
  .split__content { grid-template-columns: 1fr; grid-template-rows: auto; }
}

/* feature tile */
.feature-tile {
  background: var(--c-primary-tile);
  border-radius: var(--radius-lg);
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 260px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature-tile > div:first-child { display: flex; flex-direction: column; gap: 14px; }
.feature-tile__icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-bg);
  display: grid;
  place-items: center;
  color: var(--c-primary);
  flex-shrink: 0;
}
.feature-tile__icon svg { width: 22px; height: 22px; }
.feature-tile h3 {
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  line-height: .94;
  margin: 0;
  color: var(--c-primary);
  overflow-wrap: break-word;
  letter-spacing: -.02em;
}
.feature-tile p {
  color: var(--c-ink-tile);
  font-size: .94rem;
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   Section header
   ========================================================================== */
.sec-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 0 16px;
}
.sec-head .eyebrow { justify-content: center; margin-bottom: 16px; }
.sec-head h2 { margin-bottom: 14px; overflow-wrap: break-word; }
.sec-head p { font-size: 1.05rem; color: var(--c-ink-soft); }

/* ==========================================================================
   Steps
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-tile {
  background: var(--c-primary-tile);
  border-radius: var(--radius-lg);
  padding: 36px 32px 40px;
}
.step-tile__num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 5vw, 4.6rem);
  line-height: 1;
  color: var(--c-primary);
  margin-bottom: 20px;
  letter-spacing: -.04em;
}
.step-tile h3 { margin-bottom: 12px; color: var(--c-primary); overflow-wrap: break-word; }
.step-tile p { color: var(--c-ink-tile); font-size: .96rem; line-height: 1.5; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Service cards (soft blue tile, NOT white)
   ========================================================================== */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  background: var(--c-tile);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-card__img {
  aspect-ratio: 5/4;
  overflow: hidden;
  position: relative;
}
.service-card__img img { width: 100%; height: 100%; object-fit: cover; }
.service-card__body { padding: 30px; display: flex; flex-direction: column; flex: 1; }
.service-card h3 { margin-bottom: 12px; color: var(--c-primary); }
.service-card > .service-card__body > p { font-size: .96rem; margin-bottom: 18px; color: var(--c-ink-tile); }
.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.service-card__list li {
  font-size: .94rem;
  color: var(--c-primary-dark);
  padding-left: 28px;
  position: relative;
  font-weight: 500;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232EA9C7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--c-primary-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: auto;
}
.service-card__more svg { flex-shrink: 0; }
@media (max-width: 980px) { .service-cards { grid-template-columns: 1fr; } }

/* ==========================================================================
   Testimonials — vertical scrolling wall (3 columns, alternating direction)
   ========================================================================== */
.testimonials-walls {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  height: clamp(520px, 70vh, 720px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
}
.testimonials-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  will-change: transform;
}
.testimonials-col--down { animation: t-col-down 60s linear infinite; }
.testimonials-col--up   { animation: t-col-up   60s linear infinite; }

@keyframes t-col-down {
  from { transform: translate3d(0, -50%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
@keyframes t-col-up {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(0, -50%, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-col { animation: none; }
  .testimonials-walls { height: auto; mask-image: none; -webkit-mask-image: none; }
}
@media (max-width: 880px) {
  .testimonials-walls { grid-template-columns: 1fr 1fr; }
  .testimonials-walls > .testimonials-col:nth-child(3) { display: none; }
}
@media (max-width: 600px) {
  .testimonials-walls { grid-template-columns: 1fr; }
  .testimonials-walls > .testimonials-col:nth-child(2) { display: none; }
}

/* Legacy 3-up grid layout still kept for non-homepage pages */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.testimonial {
  background: var(--c-primary-tile);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.testimonials-col .testimonial { padding: 26px 28px; }
.testimonial__stars {
  color: var(--c-accent);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.testimonial p {
  color: var(--c-ink-tile);
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 18px;
  flex: 1;
}
.testimonial__author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: .04em;
  font-size: .94rem;
}
@media (max-width: 980px) { .testimonials { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }

/* ==========================================================================
   Before/After — static pair layout (geen slider)
   ========================================================================== */
.beforeafter-pairs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.beforeafter-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-tile);
}
.beforeafter-pair__half {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin: 0;
  background: var(--c-tile-2);
}
.beforeafter-pair__half img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.beforeafter-pair__half:hover img { transform: scale(1.04); }
.beforeafter-pair__label {
  position: absolute;
  top: 14px; left: 14px;
  padding: 5px 12px;
  background: rgba(15, 27, 42, .7);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  z-index: 2;
}
.beforeafter-pair__label--after {
  background: var(--c-primary);
}
@media (max-width: 880px) {
  .beforeafter-pairs { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Before/After slider — legacy (niet meer gebruikt op homepage)
   ========================================================================== */
.beforeafter-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.beforeafter {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  user-select: none;
  background: var(--c-tile);
}
.beforeafter__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.beforeafter__after { z-index: 1; }
.beforeafter__before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}
.beforeafter__handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--c-bg);
  z-index: 4;
  pointer-events: none;
  transform: translateX(-50%);
}
.beforeafter__handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--c-bg);
  box-shadow: 0 2px 12px rgba(15,27,42,.18);
}
.beforeafter__handle::after {
  content: "↔";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 22px;
  color: var(--c-primary);
  font-weight: 700;
  z-index: 1;
}
.beforeafter__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: ew-resize;
  margin: 0;
  opacity: 0;
}
.beforeafter__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
}
.beforeafter__range::-moz-range-thumb {
  width: 60px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  border: 0;
}
.beforeafter__label {
  position: absolute;
  top: 18px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  z-index: 3;
}
.beforeafter__label--before {
  left: 18px;
  background: rgba(15,27,42,.65);
  color: #fff;
}
.beforeafter__label--after {
  right: 18px;
  background: var(--c-primary);
  color: #fff;
}
.beforeafter__title {
  margin-top: 16px;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-primary-dark);
  letter-spacing: .04em;
  font-size: 1rem;
}
@media (max-width: 880px) { .beforeafter-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: clamp(36px, 5vw, 72px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 32px;
  align-items: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,.85); font-size: 1.04rem; }
.cta-banner__actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: end;
}
.cta-banner .eyebrow { color: rgba(255,255,255,.95); }
@media (max-width: 880px) {
  .cta-banner { grid-template-columns: 1fr; }
  .cta-banner__actions { justify-content: start; }
}

/* ==========================================================================
   FAQ — soft blue tiles (no white when open)
   ========================================================================== */
.faq-list { max-width: 880px; margin-inline: auto; }
.faq-item {
  background: var(--c-primary-tile);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: background .2s ease;
}
.faq-item[open] { background: var(--c-tile-2); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 64px 22px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-primary);
  position: relative;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--c-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M8 3v10M3 8h10' stroke='%232EA9C7' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat;
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item__body { padding: 0 26px 26px; color: var(--c-ink-soft); line-height: 1.6; font-size: .96rem; }

/* ==========================================================================
   Form (no white inputs/bg)
   ========================================================================== */
.form {
  background: var(--c-tile);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 44px);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form__row--full { grid-template-columns: 1fr; }
.form label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary-dark);
  margin-bottom: 6px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 18px;
  background: var(--c-bg);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  color: var(--c-ink);
  transition: border-color .2s ease, background .2s ease;
}
.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: var(--c-primary);
}
.form textarea { min-height: 130px; resize: vertical; }
.form__note { font-size: .86rem; color: var(--c-ink-soft); margin: 8px 0 16px; }
.form button[type="submit"] { width: 100%; justify-content: center; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page header
   ========================================================================== */
.page-header {
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}
.page-header .eyebrow { justify-content: center; margin-bottom: 20px; }
.page-header h1 { max-width: 1100px; margin: 0 auto 20px; font-size: clamp(2.8rem, 6vw, 5.2rem); }
.page-header p { font-size: 1.18rem; max-width: 720px; margin: 0 auto; color: var(--c-ink-soft); }

/* ==========================================================================
   Service detail (diensten.html) — natural flow met side-fade-in animatie
   Sticky stack was te druk en titels werden afgesneden door de volgende
   kaart. Nu schuift elke kaart bij scroll-in van de zijkant in beeld
   (alternerend links/rechts) voor een rustigere maar levendige flow.
   ========================================================================== */
.services-stack { position: relative; display: flex; flex-direction: column; gap: 40px; }
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 16px;
  align-items: stretch;
  height: clamp(540px, 78vh, 720px);
  background: var(--c-bg);
  border-radius: var(--radius-xl);
}
.service-detail--reverse > :first-child { order: 2; }
/* Slide-in animatie — selector specificiteit hoger dan losse .reveal
   class zodat de translateX-richting wint van de default translateY */
.service-detail.reveal {
  opacity: 0;
  transform: translate3d(-60px, 0, 0);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1),
              transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.service-detail--reverse.reveal {
  transform: translate3d(60px, 0, 0);
}
.service-detail.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
@media (prefers-reduced-motion: reduce) {
  .service-detail.reveal { opacity: 1; transform: none; transition: none; }
}
.service-detail__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  height: 100%;
}
.service-detail__media img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.service-detail__copy {
  background: var(--c-primary-tile);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}
.service-detail__copy h2 {
  margin: 14px 0 16px;
  color: var(--c-primary);
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: .98;
  letter-spacing: -.005em;
}
.service-detail__copy > p {
  font-size: .96rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: var(--c-ink-tile);
}
.service-detail__included {
  background: transparent;
  border-radius: 0;
  padding: 18px 0 4px;
  margin: 16px 0 4px;
  border-top: 1px solid color-mix(in srgb, var(--c-primary) 22%, transparent);
}
.service-detail__included h4 {
  font-size: .7rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-primary-dark);
  margin-bottom: 12px;
  font-weight: 700;
  opacity: .8;
}
.service-detail__included ul {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 22px;
}
.service-detail__included li {
  position: relative;
  padding-left: 22px;
  font-size: .85rem;
  color: var(--c-primary-dark);
  line-height: 1.4;
  font-weight: 500;
}
.service-detail__included li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%232EA9C7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.service-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--c-primary-dark);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--c-primary) 35%, transparent);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.service-detail__suitable {
  font-size: .82rem;
  color: var(--c-ink-tile);
  background: transparent;
  padding: 0;
  margin: 14px 0 20px;
  line-height: 1.5;
  opacity: .85;
}
.service-detail__suitable strong {
  color: var(--c-primary-dark);
  font-weight: 700;
}
.service-detail__copy .btn {
  align-self: flex-start;
  padding: 13px 24px;
  font-size: .82rem;
}
@media (max-width: 880px) {
  .service-detail {
    grid-template-columns: 1fr;
    height: auto;
    grid-template-rows: 280px auto;
  }
  .service-detail--reverse > :first-child { order: 0; }
  .service-detail__media {
    height: 280px;
    position: relative;
    top: auto;
    max-height: none;
  }
  .service-detail__copy {
    height: auto;
    overflow: visible;
  }
  .service-detail__included ul { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer — TURQUOISE
   ========================================================================== */
.footer {
  background: var(--c-primary);
  color: rgba(255,255,255,.85);
  padding: 80px 0 32px;
  margin-top: 64px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer__brand img { height: 40px; filter: brightness(0) invert(1); margin-bottom: 18px; }
.footer__brand p { color: rgba(255,255,255,.78); font-size: .95rem; max-width: 320px; line-height: 1.55; }
.footer h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer p { color: rgba(255,255,255,.78); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a { color: rgba(255,255,255,.85); }
.footer a:hover { color: #fff; }
.footer__bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .85rem;
  color: rgba(255,255,255,.7);
}
.footer__bottom a { color: rgba(255,255,255,.85); }
@media (max-width: 880px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Team CTA — full-bleed image with overlay tile
   ========================================================================== */
.team-cta {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(520px, 70vh, 760px);
  margin: 0;
  isolation: isolate;
}
.team-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
}
.team-cta__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.team-cta__overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 38%) 1fr;
  height: 100%;
  min-height: clamp(520px, 70vh, 760px);
  padding: clamp(32px, 4vw, 56px);
  align-items: center;
}
.team-cta__card {
  background: var(--c-tile);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
}
.team-cta__card .eyebrow { color: var(--c-primary-dark); }
.team-cta__card h2 {
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.0;
  margin: 4px 0 22px;
  color: var(--c-primary);
}
.team-cta__btn {
  align-self: flex-start;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--c-primary-tile);
  color: var(--c-primary-dark);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .25s ease, transform .25s cubic-bezier(.22,.61,.36,1);
  border: 0;
}
.team-cta__btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-primary);
  transform: translateY(101%);
  transition: transform .45s cubic-bezier(.65,0,.35,1);
}
.team-cta__btn:hover { color: #fff; transform: translateY(-2px); }
.team-cta__btn:hover::before { transform: translateY(0); }
.team-cta__btn svg { transition: transform .25s cubic-bezier(.22,.61,.36,1); }
.team-cta__btn:hover svg { transform: translateX(5px); }

@media (max-width: 880px) {
  .team-cta { min-height: 0; }
  .team-cta__overlay {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 0;
  }
  .team-cta__bg {
    position: relative;
    height: 320px;
    /* Foto van Yasmin's team mooi afgerond rondom — niet meer vierkant
       afgesneden onderaan op mobiel */
    border-radius: var(--radius-xl);
    overflow: hidden;
  }
  .team-cta__card {
    margin: -60px 16px 16px;
    position: relative;
    z-index: 2;
  }
}

/* ==========================================================================
   Scroll-reveal animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,.61,.36,1), transform .8s cubic-bezier(.22,.61,.36,1);
  will-change: transform, opacity;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: .08s; }
.reveal--delay-2 { transition-delay: .16s; }
.reveal--delay-3 { transition-delay: .24s; }
.reveal--delay-4 { transition-delay: .32s; }
.reveal--delay-5 { transition-delay: .40s; }
.reveal--delay-6 { transition-delay: .48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Hero subtle parallax on video tile
   ========================================================================== */
.hero__media-tile { transition: transform .6s cubic-bezier(.22,.61,.36,1); }

/* nav shadow when scrolled */
.nav { transition: box-shadow .25s ease, background .25s ease; }
.nav.is-scrolled { box-shadow: 0 6px 24px rgba(15,27,42,.06); }

/* hover lift across all cards */
.feature-tile, .step-tile, .service-card, .testimonial, .faq-item, .beforeafter {
  transition: transform .25s cubic-bezier(.22,.61,.36,1), box-shadow .25s ease, background .2s ease;
}
.step-tile:hover, .testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* button micro-interaction extra: ripple-like glow on primary */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.18), transparent 60%);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.btn--primary:hover::before { opacity: 1; }
.btn--primary > * { position: relative; z-index: 1; }

/* ==========================================================================
   Contact buttons — quick-action row (Bel / WhatsApp / E-mail)
   ========================================================================== */
.contact-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero__contacts { margin-top: 24px; }
.contact-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: var(--c-primary-tile);
  border-radius: var(--radius-lg);
  color: var(--c-primary-dark);
  text-decoration: none;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), background .22s ease, box-shadow .22s ease;
}
.contact-btn:hover {
  transform: translateY(-3px);
  background: var(--c-tile-2);
  color: var(--c-primary-dark);
  box-shadow: var(--shadow-md);
}
.contact-btn__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--c-bg);
  display: grid;
  place-items: center;
  color: var(--c-primary);
  flex-shrink: 0;
  transition: transform .22s ease;
}
.contact-btn:hover .contact-btn__icon { transform: scale(1.05); }
.contact-btn__icon svg { width: 24px; height: 24px; }
.contact-btn__label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  letter-spacing: -.005em;
  text-transform: uppercase;
  color: var(--c-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.contact-btn__value {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .94rem;
  color: var(--c-ink-tile);
}
@media (max-width: 880px) {
  .contact-buttons { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Marquee — endless trust strip
   ========================================================================== */
.marquee {
  overflow: hidden;
  background: var(--c-primary-tile);
  border-radius: var(--radius-xl);
  padding: 22px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--c-primary-tile), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--c-primary-tile), transparent); }
.marquee__track {
  display: flex;
  gap: 56px;
  animation: marquee-scroll 32s linear infinite;
  width: max-content;
  align-items: center;
}
.marquee__track:hover { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -.015em;
  color: var(--c-primary);
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee__item .stars { color: var(--c-accent); letter-spacing: 2px; font-size: 1.1rem; }
.marquee__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); flex-shrink: 0; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ==========================================================================
   Reviews page — full grid + submit form
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.reviews-grid .testimonial {
  position: relative;
  padding: 28px 30px;
}
.testimonial__badge {
  display: inline-block;
  background: var(--c-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
  vertical-align: middle;
}
.testimonial__service {
  display: inline-block;
  background: var(--c-tile-2);
  color: var(--c-primary-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-top: 10px;
}

.review-form-card {
  background: var(--c-primary-tile);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 48px);
}
.review-form-card .eyebrow { color: var(--c-primary-dark); }
.review-form-card h2 { color: var(--c-primary); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.review-form-card .form {
  background: transparent;
  padding: 0;
}
.review-form-card .form input,
.review-form-card .form textarea,
.review-form-card .form select {
  background: var(--c-bg);
}

.star-input {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  background: var(--c-bg);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
}
.star-input__btn {
  font-size: 1.6rem;
  line-height: 1;
  color: var(--c-tile-2);
  cursor: pointer;
  transition: color .15s ease, transform .15s ease;
  padding: 4px 2px;
}
.star-input__btn.is-on {
  color: var(--c-accent);
}
.star-input__btn:hover { transform: scale(1.15); }

.review-form__success {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: var(--c-primary);
  color: #fff;
  font-size: .94rem;
  animation: success-in .3s cubic-bezier(.22,.61,.36,1);
}
@keyframes success-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

/* ==========================================================================
   Page transition — turquoise overlay sliding up between pages
   ========================================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--c-primary);
  z-index: 9000;
  /* translate3d forceert eigen GPU laag — voorkomt main-thread paint hick-ups */
  transform: translate3d(0, 100%, 0);
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  will-change: transform;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.page-transition.is-up {
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}
.page-transition.is-out {
  transform: translate3d(0, -100%, 0);
}
.page-transition.no-transition {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .page-transition { transition: opacity .25s ease; transform: none; opacity: 0; }
  .page-transition.is-up { opacity: 1; }
  .page-transition.is-out { opacity: 0; }
}

/* ==========================================================================
   Page loader — turquoise screen, logo only, smooth slide-up
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--c-primary);
  z-index: 9999;
  display: grid;
  place-items: center;
  opacity: 1;
  /* Slide + fade tegelijk; langere ease zodat het geen sprong voelt */
  transform: translate3d(0, 0, 0);
  transition: transform .8s cubic-bezier(.65, 0, .25, 1),
              opacity .55s cubic-bezier(.4, 0, .2, 1) .15s;
  will-change: transform, opacity;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}
.page-loader.is-done {
  transform: translate3d(0, -100%, 0);
  opacity: 0;
  pointer-events: none;
}
.page-loader__logo {
  height: clamp(70px, 8vw, 110px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0;
  transform: translate3d(0, 14px, 0) scale(.96);
  animation: loader-logo-in .7s cubic-bezier(.22,.61,.36,1) .15s forwards,
             loader-logo-pulse 2s cubic-bezier(.45,.05,.55,.95) .9s infinite;
  will-change: transform, opacity;
}
@keyframes loader-logo-in {
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@keyframes loader-logo-pulse {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(0, 0, 0) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: opacity .3s ease; transform: none; }
  .page-loader.is-done { opacity: 0; }
  .page-loader__logo { animation: loader-logo-in .3s ease forwards; }
}
/* Mobiel: pulse uit zodat slide-up niet hoeft te concurreren met een
   constante schaal-loop op de hoofdlaag. Page-transition gebruikt EXACT
   dezelfde timing als desktop zodat het identiek smooth voelt. */
@media (max-width: 720px) {
  .page-loader__logo {
    animation: loader-logo-in .7s cubic-bezier(.22,.61,.36,1) .15s forwards;
  }
  /* page-transition behoudt desktop-timing — geen mobile override meer */
}

/* ==========================================================================
   Helpers
   ========================================================================== */
.text-center { text-align: center; }

/* ==========================================================================
   MOBILE OPTIMIZATIONS — consolidated overrides for narrow viewports
   ==========================================================================
   The component sections above already define their primary breakpoints
   (mostly @media 880px / 980px). This block fills the gaps for tablet
   (≤720px) and small phones (≤480px) so the whole site scales gracefully
   from 320px upward.
*/

/* ---- Tablet & smaller phones (≤720px) ---- */
@media (max-width: 720px) {
  .container { padding: 0 18px; }

  /* Banner: stack on two lines if needed instead of squashing */
  .banner { flex-direction: column; gap: 4px; padding: 8px 16px; font-size: .76rem; text-align: center; }

  /* Section spacing tightens */
  .section { padding: clamp(48px, 7vw, 72px) 0; }

  /* Page-header smaller */
  .page-header h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .page-header { padding: clamp(48px, 7vw, 80px) 0 clamp(28px, 4vw, 48px); }

  /* Hero rotator — keep word readable on its own line */
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.6rem); }
  .hero__rotator { display: block; margin-top: 4px; }

  /* Hero direct-call line breaks more naturally */
  .hero__direct { font-size: .86rem; }

  /* CTA banner: stack content + actions */
  .cta-banner { flex-direction: column; align-items: stretch; gap: 24px; padding: clamp(32px, 5vw, 48px); }
  .cta-banner__actions { flex-wrap: wrap; }

  /* Reviews wall already drops to 1fr at 600px in its own block;
     here we just tighten the cards inside */
  .testimonials-col .testimonial { padding: 22px 20px; }

  /* Service cards on homepage already collapse to 1col below 980px,
     reduce padding so the tile body has room */
  .service-card { padding: 28px; }

  /* Footer: 4 cols → 2 cols below 880, here we tighten typography */
  .footer { padding: 64px 0 32px; }
  .footer h4 { margin-bottom: 12px; }

  /* Reviews submit form fits one column */
  .review-form-card { padding: clamp(24px, 4vw, 36px); }
}

/* ---- Phones (≤540px) ---- */
@media (max-width: 540px) {
  /* Nav: tighter, smaller logo */
  .nav__inner { height: 70px; gap: 12px; }
  .nav__brand img { height: 32px; }
  .nav.is-open .nav__menu { top: 70px; }

  /* Hero CTA buttons full-width so thumbs reach them */
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; justify-content: center; }
  .hero__tile { min-height: 0; padding: 28px 24px; gap: 18px; }
  .hero__media-tile { min-height: 240px; }
  .hero__grid { min-height: 0; max-height: none; gap: 14px; }
  /* Hero section niet plakken aan banner — beetje ademruimte bovenaan */
  .hero { padding-top: 12px; }

  /* Trust pill smaller so it fits inside tight padding */
  .hero__trust { font-size: .72rem; padding: 6px 14px 6px 6px; gap: 8px; }
  .hero__trust-icon { width: 26px; height: 26px; }
  .hero__trust-icon svg { width: 13px; height: 13px; }

  /* Contact buttons: tighter padding so they don't feel oversized */
  .contact-btn { padding: 16px 18px; gap: 14px; }
  .contact-btn__icon { width: 46px; height: 46px; }
  .contact-btn__icon svg { width: 20px; height: 20px; }
  .contact-btn__label { font-size: 1rem; }
  .contact-btn__value { font-size: .86rem; }

  /* Marquee: smaller font + tighter gap so it doesn't overflow */
  .marquee { padding: 16px 0; }
  .marquee__track { gap: 32px; }
  .marquee__item { font-size: 1rem; gap: 10px; }
  .marquee__item .stars { font-size: .85rem; }
  .marquee::before, .marquee::after { width: 40px; }

  /* Sec-head titles scale down */
  .sec-head h2 { font-size: clamp(2rem, 8vw, 3rem); }

  /* Voor/na pairs: stack the pair AND keep aspect manageable */
  .beforeafter-pair { gap: 10px; }
  .beforeafter-pair__half { aspect-ratio: 4/3; }

  /* Diensten cards op mobiel: compactere maatvoering ipv volledige
     viewport-hoogte. Slide-in animatie blijft werken via .reveal. */
  .service-detail {
    height: auto !important;
    grid-template-rows: 220px auto;
  }
  .service-detail__media { height: 220px; }
  .service-detail__copy { padding: 28px 24px; }
  .service-detail__copy h2 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .service-detail__included ul { grid-template-columns: 1fr; gap: 6px 0; }

  /* CTA banner h2 smaller */
  .cta-banner h2 { font-size: clamp(1.6rem, 7vw, 2.2rem); }

  /* Footer: 1 col, tighter padding */
  .footer__top { grid-template-columns: 1fr !important; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; font-size: .78rem; }
  .footer { padding: 48px 0 24px; }

  /* Buttons tighter on small screens */
  .btn { padding: 13px 22px; font-size: .82rem; }

  /* Form padding tighter */
  .form input, .form textarea, .form select { padding: 12px 14px; font-size: .94rem; }

  /* Page-loader logo: laat aspect ratio intact — width OF height bindt,
     niet allebei tegelijk (anders → warped logo) */
  .page-loader__logo {
    height: auto;
    width: auto;
    max-width: 60vw;
    max-height: 80px;
  }

  /* Steps tile stacks naturally already at 880px; here, tighten */
  .step-tile { padding: 28px 24px; }

  /* Feature tiles tighten */
  .feature-tile { padding: 28px; }

  /* Service-detail__suitable smaller */
  .service-detail__suitable { font-size: .78rem; }
}

/* ---- Very small phones (≤380px) ---- */
@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .hero__title { font-size: 2rem; }
  .page-header h1 { font-size: 1.85rem; }
  .sec-head h2 { font-size: 1.85rem; }
  .nav__brand img { height: 28px; }
  .marquee__item { font-size: .9rem; }
}

/* ==========================================================================
   Tablet portrait (720-980px) — 2 koloms ipv 1, ruimere padding
   Op een iPad portrait (768px) waren service-cards en steps 1-koloms.
   Op die breedte ziet één kolom 700px-breed gek uit; 2 koloms voelt
   natuurlijker en gebruikt de horizontale ruimte beter.
   ========================================================================== */
@media (min-width: 720px) and (max-width: 980px) {
  .service-cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 18px; }
  .feature-tile { padding: 32px; }
  .hero__tile { padding: 40px; }
  .hero__media-tile { min-height: 360px; }
  .container { padding: 0 28px; }
  /* Voor/na pairs blijven 2-col side-by-side — looks goed op tablet */
  .beforeafter-pairs { gap: 18px; }
}

/* ==========================================================================
   Landscape phone (kort viewport, liggende stand) — compact alles
   Op een iPhone in landscape is de viewport ~390px hoog. De hero met
   500px min-height past niet, de banner+nav nemen te veel verticale
   ruimte, en de reviews-wall (520-720px) is groter dan het scherm.
   ========================================================================== */
@media (orientation: landscape) and (max-height: 500px) {
  /* Banner + nav krimpen zodat content sneller in beeld komt */
  .banner { padding: 6px 0; font-size: .72rem; }
  .nav__inner { height: 56px; }
  .nav__brand img { height: 26px; }
  .nav.is-open .nav__menu { top: 56px; }

  /* Hero compact — geen 500px min-height meer */
  .hero__tile, .hero__media-tile { min-height: 0; }
  .hero__tile { padding: 24px; gap: 14px; }
  .hero__media-tile { min-height: 200px; }
  .hero__grid { gap: 12px; }
  .hero__title { font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.05; }
  .hero__cta { gap: 8px; }
  .hero__cta .btn { padding: 10px 18px; font-size: .8rem; }
  .hero__direct { font-size: .8rem; }
  .hero { padding-top: 8px; }

  /* Reviews wall korter zodat 1 kolom niet hele viewport beheerst */
  .testimonials-walls { height: clamp(340px, 80vh, 460px); }

  /* Page-loader logo schaalt mee met kortere hoogte */
  .page-loader__logo { max-height: 56px; max-width: 50vw; }

  /* Team CTA achtergrond korter */
  .team-cta { min-height: 0; }
  .team-cta__bg { height: 220px; }

  /* Diensten sticky cards compact maken */
  .service-detail { height: auto; grid-template-rows: 180px auto; }
  .service-detail__media { height: 180px; }

  /* Marquee compact */
  .marquee { padding: 12px 0; }
  .marquee__item { font-size: .92rem; }

  /* Contact-buttons rij iets compacter */
  .contact-btn { padding: 14px 16px; }
}

/* ==========================================================================
   Mobile-only motion enhancements — scroll voelt dynamischer aan zonder
   hover-states te hebben (touch heeft geen :hover, dus laden we extra
   animaties bij scroll-reveal en bij sticky overgangen)
   ========================================================================== */
@media (max-width: 720px) {
  /* Reveal: meer travel + iets snellere ease op mobiel zodat de fade-in
     duidelijker leest tijdens duim-scroll */
  .reveal {
    transform: translateY(40px);
    transition: opacity .65s cubic-bezier(.22,.61,.36,1),
                transform .65s cubic-bezier(.22,.61,.36,1);
  }

  /* Voor/na pairs: alternerend van links/rechts inschuiven ipv enkel omhoog */
  .beforeafter-pair:nth-child(odd).reveal  { transform: translateX(-32px) translateY(20px); }
  .beforeafter-pair:nth-child(even).reveal { transform: translateX( 32px) translateY(20px); }
  .beforeafter-pair.reveal.is-visible { transform: none; }

  /* Service-cards op homepage: schaal-en-omhoog ipv vlakke fade */
  .service-card.reveal { transform: translateY(40px) scale(.96); }
  .service-card.reveal.is-visible { transform: none; }

  /* Step-tile: zelfde behandeling, maakt de "Hoe het werkt" cascade leesbaar */
  .step-tile.reveal { transform: translateY(40px) scale(.96); }
  .step-tile.reveal.is-visible { transform: none; }

  /* Feature-tile bij "Waarom kiezen": iets meer drama */
  .feature-tile.reveal { transform: translateY(40px); }
  .feature-tile.reveal.is-visible { transform: none; }

  /* Hero-tile: kleine fade-up bij eerste laad — voelt direct levendig */
  .hero__tile.reveal {
    transform: translateY(24px);
    transition-duration: .9s;
  }

  /* Contact-buttons cascade in van onder — drie stuks, gestaffeld */
  .contact-btn { transition: transform .25s ease, box-shadow .25s ease; }
  .contact-btn:active { transform: scale(.97); }
}
