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

:root {
  --bg: #F8F5ED;
  --bg-2: #EFEBE0;
  --bg-3: #E5E0D2;
  --ink: #1A1A1A;
  --ink-2: #5C5A52;
  --ink-3: #8E8B81;
  --accent: #2D4A3E;
  --accent-hover: #1F3528;
  --accent-light: #3D5F4E;
  --line: rgba(26,26,26,0.10);
  --line-2: rgba(26,26,26,0.18);
  --sans: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: 'Source Serif 4', Georgia, serif;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 32px; }

.eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.h-display { font-weight: 600; letter-spacing: -0.035em; line-height: 1.0; }
.h1 { font-size: clamp(44px, 7vw, 88px); }
.h2 { font-size: clamp(32px, 4.8vw, 60px); }
.h3 { font-size: clamp(22px, 3vw, 32px); }
.italic { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.015em; }
.lede { font-size: 17px; line-height: 1.6; color: var(--ink-2); font-weight: 400; max-width: 540px; }

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 18px 32px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.4s ease, padding 0.3s ease, border-color 0.4s ease;
  border-bottom: 0.5px solid transparent;
  background: rgba(248, 245, 237, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
nav.scrolled {
  background: rgba(248, 245, 237, 0.94);
  padding: 12px 32px;
  border-bottom-color: var(--line);
}
.brand { font-size: 24px; letter-spacing: -0.04em; font-weight: 600; display: flex; align-items: center; gap: 2px; }
.brand-dot { color: var(--accent); }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; font-weight: 400; color: var(--ink); transition: opacity 0.2s; letter-spacing: -0.005em; }
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { color: var(--accent); font-weight: 500; }
.nav-cta {
  background: var(--accent); color: #FFFFFF !important;
  padding: 11px 20px; font-size: 13px; font-weight: 500;
  transition: background 0.25s ease;
}
.nav-cta:hover { background: var(--accent-hover); opacity: 1 !important; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; z-index: 102; }
.menu-toggle svg { width: 22px; height: 22px; stroke: var(--ink); }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 100%; max-width: 380px;
  height: 100vh; background: var(--bg); z-index: 101;
  padding: 80px 32px 32px; transition: right 0.35s ease;
  display: flex; flex-direction: column; gap: 4px;
  box-shadow: -20px 0 40px rgba(0,0,0,0.05);
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
  padding: 18px 0; font-size: 22px; font-weight: 500;
  border-bottom: 0.5px solid var(--line); letter-spacing: -0.015em;
}
.mobile-menu .nav-cta { margin-top: 24px; text-align: center; border-bottom: none !important; padding: 18px 24px !important; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 28px; font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em; cursor: pointer; border: none;
  font-family: var(--sans); transition: all 0.25s ease;
}
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform 0.25s ease; display: inline-block; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost { background: transparent; color: var(--ink); border: 0.5px solid var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.hero {
  padding: 160px 0 80px;
  background: var(--bg);
  position: relative;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-text { max-width: 580px; }
.hero-text .eyebrow { display: inline-block; padding: 8px 14px; background: rgba(45,74,62,0.08); border-radius: 100px; margin-bottom: 24px; }
.hero-title { margin-bottom: 28px; }
.hero-title .line { display: block; }
.hero-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.trust-strip {
  margin-top: 64px;
  display: flex; gap: 56px; flex-wrap: wrap;
  padding-top: 32px; border-top: 0.5px solid var(--line);
}
.trust-item { display: flex; flex-direction: column; gap: 2px; }
.trust-item .num { font-size: 30px; letter-spacing: -0.04em; font-weight: 600; display: flex; align-items: baseline; gap: 6px; }
.trust-item .num small { font-size: 15px; color: var(--ink-2); font-weight: 400; }
.trust-item .label { font-size: 12px; color: var(--ink-2); letter-spacing: 0.04em; }
.trust-stars { display: flex; gap: 2px; margin-top: 4px; }
.trust-stars span {
  width: 13px; height: 13px; background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* VOOR/NA SLIDER */
.ba {
  position: relative;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --pos: 50%;
  background: var(--bg-3);
  width: 100%;
}
.ba-square { aspect-ratio: 1 / 1; }
.ba-portrait { aspect-ratio: 3 / 4; }
.ba-landscape { aspect-ratio: 3 / 2; }
.ba-wide { aspect-ratio: 16 / 10; }
.ba img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba .ba-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
  -webkit-clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  background: #FFFFFF;
  transform: translateX(-50%);
  pointer-events: none;
  box-shadow: 0 0 12px rgba(0,0,0,0.35);
  z-index: 3;
}
.ba-handle::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.ba-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 10px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 L5 0 L5 4 L15 4 L15 0 L20 5 L15 10 L15 6 L5 6 L5 10 Z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 20 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 5 L5 0 L5 4 L15 4 L15 0 L20 5 L15 10 L15 6 L5 6 L5 10 Z' fill='black'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ba-tag {
  position: absolute;
  top: 16px;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(26,26,26,0.85);
  backdrop-filter: blur(8px);
  color: var(--bg);
  z-index: 2;
}
.ba-tag-before { left: 16px; }
.ba-tag-after { right: 16px; background: rgba(45,74,62,0.92); }
.ba-caption {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-2);
}
.ba-caption strong { color: var(--ink); font-weight: 500; }

.marquee {
  border-top: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line);
  overflow: hidden; padding: 22px 0; background: var(--bg);
}
.marquee-track { display: flex; gap: 60px; white-space: nowrap; animation: scroll 45s linear infinite; width: max-content; }
.marquee-item { font-size: 22px; letter-spacing: -0.025em; font-weight: 500; display: flex; align-items: center; gap: 60px; }
.marquee-item .dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.section { padding: 100px 0; }
.section-tight { padding: 70px 0; }
.section-head {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 60px; margin-bottom: 56px; align-items: end;
}

.seo-content { background: var(--bg); }
.seo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.seo-text h2 { margin-bottom: 28px; }
.seo-text h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; margin: 32px 0 14px; color: var(--ink); }
.seo-text p { font-size: 16px; line-height: 1.75; margin-bottom: 18px; color: var(--ink-2); }
.seo-text p strong { color: var(--ink); font-weight: 500; }
.seo-text ul { margin: 18px 0; padding-left: 0; list-style: none; }
.seo-text ul li {
  font-size: 16px; line-height: 1.6; padding: 6px 0 6px 26px;
  position: relative; color: var(--ink-2);
}
.seo-text ul li::before {
  content: ''; position: absolute; left: 0; top: 15px;
  width: 14px; height: 1px; background: var(--accent);
}
.seo-readmore-btn { display: none; color: #FFFFFF !important; background: var(--accent) !important; -webkit-appearance: none; }
.seo-aside {
  background: var(--bg-2); padding: 36px;
  position: sticky; top: 100px;
  border-left: 2px solid var(--accent);
}
.seo-aside h5 { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 500; margin-bottom: 22px; color: var(--accent); }
.stat-row { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 0.5px solid var(--line); font-size: 14px; gap: 16px; }
.stat-row:last-child { border-bottom: none; }
.stat-row span:first-child { color: var(--ink-2); }
.stat-row span:last-child { font-weight: 500; letter-spacing: -0.02em; text-align: right; }

.showcase { background: var(--bg-2); }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
}
.showcase-card { background: var(--bg); padding: 24px; }
.showcase-card h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 6px; }
.showcase-card .meta { font-size: 13px; color: var(--ink-2); margin-bottom: 18px; }

.svc-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.svc { position: relative; background: var(--bg-2); overflow: hidden; min-height: 440px; cursor: pointer; transition: transform 0.4s ease; display: block; }
.svc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.svc::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26,26,26,0) 30%, rgba(26,26,26,0.85) 100%); }
.svc-content { position: absolute; inset: 0; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; z-index: 2; }
.svc-tag {
  align-self: flex-start;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px; background: rgba(248,245,237,0.85);
  color: var(--accent); backdrop-filter: blur(8px); font-weight: 500;
}
.svc-bottom { color: #FFFFFF; }
.svc-num { font-size: 13px; opacity: 0.7; margin-bottom: 8px; }
.svc-title { font-size: 32px; letter-spacing: -0.035em; font-weight: 600; line-height: 1; margin-bottom: 8px; }
.svc.featured .svc-title { font-size: 44px; }
.svc-desc { font-size: 14px; opacity: 0.85; line-height: 1.5; max-width: 320px; }
.svc-cta { margin-top: 16px; font-size: 12px; letter-spacing: 0.05em; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; transition: gap 0.3s ease; }
.svc:hover img { transform: scale(1.04); }
.svc:hover .svc-cta { gap: 14px; }

.step-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-top: 0.5px solid var(--line); }
.step { padding: 32px 22px 32px 0; border-right: 0.5px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.step:last-child { border-right: none; }
.step:not(:first-child) { padding-left: 26px; }
.step-num { font-size: 12px; color: var(--accent); letter-spacing: 0.06em; font-weight: 500; }
.step h4 { font-size: 22px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.2; }
.step p { font-size: 14px; line-height: 1.55; color: var(--ink-2); }

.realisaties-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.realisatie-card h4 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; margin: 16px 0 4px; }
.realisatie-card .tag { display: inline-block; font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.realisatie-card .loc { font-size: 13px; color: var(--ink-2); margin-top: 4px; }

.faq { background: var(--bg); }
.faq-grid { margin-top: 48px; max-width: 880px; }
.faq-item { border-bottom: 0.5px solid var(--line); padding: 24px 0; }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; font-size: 18px; font-weight: 500; letter-spacing: -0.015em; cursor: pointer; list-style: none; gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform 0.25s ease; flex-shrink: 0; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--ink-2); line-height: 1.75; max-width: 720px; font-size: 15px; }

.reviews { padding: 100px 0; background: var(--bg-2); }
.review-stat { display: flex; align-items: center; gap: 20px; padding: 20px 24px; background: var(--bg); }
.review-stat .num { font-size: 36px; letter-spacing: -0.04em; font-weight: 600; }
.review-stat .meta { font-size: 12px; line-height: 1.5; color: var(--ink-2); }
.review-stars { display: flex; gap: 3px; margin-bottom: 4px; }
.review-stars span {
  width: 14px; height: 14px; background: var(--accent);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--bg); border: 0.5px solid var(--line); padding: 30px 26px; display: flex; flex-direction: column; gap: 22px; transition: border-color 0.3s ease, transform 0.3s ease; }
.review:hover { border-color: var(--accent); transform: translateY(-3px); }
.review .review-stars span { background: var(--accent); }
.review-text { font-size: 16px; line-height: 1.55; color: var(--ink); letter-spacing: -0.01em; font-weight: 400; }
.review-author { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 0.5px solid var(--line); margin-top: auto; }
.review-author strong { font-weight: 500; font-size: 14px; }
.review-author span { font-size: 12px; color: var(--ink-2); }
.review-source { font-size: 11px; color: var(--ink-3); letter-spacing: 0.06em; text-transform: uppercase; }

.cta-section { background: var(--ink); color: var(--bg); padding: 110px 0; position: relative; overflow: hidden; }
.cta-section::before {
  content: ''; position: absolute;
  top: -200px; right: -200px; width: 600px; height: 600px;
  background: var(--accent); border-radius: 50%;
  filter: blur(100px); opacity: 0.4; z-index: 0;
}
.cta-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; position: relative; z-index: 1; }
.cta-section h2 { color: var(--bg); margin-bottom: 24px; }
.cta-section .italic { color: rgba(248,245,237,0.85); }
.cta-section .lede { color: rgba(248,245,237,0.7); margin-bottom: 36px; }

.contact-card { background: rgba(248,245,237,0.05); border: 0.5px solid rgba(248,245,237,0.15); padding: 32px; backdrop-filter: blur(10px); margin-bottom: 20px; }
.contact-card h4 { font-size: 13px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(248,245,237,0.6); margin-bottom: 22px; font-weight: 500; }
.contact-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 0.5px solid rgba(248,245,237,0.12); transition: padding-left 0.25s ease; }
.contact-row:last-child { border-bottom: none; }
.contact-row:hover { padding-left: 8px; }
.contact-row .label { font-size: 12px; color: rgba(248,245,237,0.55); letter-spacing: 0.04em; }
.contact-row .value { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }

.hubspot-form-wrap {
  background: var(--bg);
  padding: 32px 28px;
  color: var(--ink);
}
.hubspot-form-wrap h4 {
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  font-weight: 500;
}
.hubspot-form-wrap input,
.hubspot-form-wrap textarea,
.hubspot-form-wrap select {
  width: 100%;
  padding: 12px 14px;
  font-size: 14px;
  font-family: var(--sans);
  border: 0.5px solid var(--line-2);
  background: var(--bg-2);
  color: var(--ink);
  margin-bottom: 12px;
}
.hubspot-form-wrap label {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  display: block;
  margin-bottom: 4px;
}
.hubspot-form-wrap .hs-button,
.hubspot-form-wrap input[type=submit] {
  background: var(--accent) !important;
  color: #FFFFFF !important;
  border: none !important;
  padding: 14px 24px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  width: auto !important;
  margin-top: 8px !important;
}
.hubspot-form-wrap .hs-error-msg { color: #c44; font-size: 12px; }

footer { background: var(--ink); color: var(--bg); padding: 56px 0 28px; border-top: 0.5px solid rgba(248,245,237,0.08); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 56px; margin-bottom: 48px; }
.foot-brand { font-size: 30px; letter-spacing: -0.04em; font-weight: 600; }
.foot-brand .brand-dot { color: var(--accent-light); }
.foot-tagline { font-size: 14px; color: rgba(248,245,237,0.55); margin-top: 14px; max-width: 320px; line-height: 1.6; }
.foot-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(248,245,237,0.45); font-weight: 500; margin-bottom: 18px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.foot-col a { font-size: 14px; color: rgba(248,245,237,0.78); transition: color 0.2s; }
.foot-col a:hover { color: var(--bg); }
.foot-cities ul { display: flex; flex-wrap: wrap; gap: 6px 12px; }
.foot-cities a { font-size: 12px; color: rgba(248,245,237,0.55); }
.foot-cities a::after { content: ' ·'; color: rgba(248,245,237,0.25); margin-left: 8px; }
.foot-cities li:last-child a::after { content: ''; }
.foot-bottom { border-top: 0.5px solid rgba(248,245,237,0.10); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(248,245,237,0.45); flex-wrap: wrap; gap: 14px; }

.mobile-cta {
  display: none; position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--accent); color: #fff;
  padding: 16px; text-align: center; font-size: 14px; font-weight: 500;
  z-index: 90; box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}
.mobile-cta.hidden { transform: translateY(120%); }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .svc.featured { grid-column: span 2; min-height: 380px; }
  .seo-grid { grid-template-columns: 1fr; gap: 40px; }
  .seo-aside { position: static; }
  .hero-split { grid-template-columns: 1fr; gap: 56px; }
  .showcase-grid { grid-template-columns: 1fr; gap: 24px; }
  .realisaties-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .container, .container-narrow { padding: 0 20px; }
  nav { padding: 14px 20px; }
  nav.scrolled { padding: 10px 20px; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; align-items: center; }
  .hero { padding: 130px 0 60px; }
  .hero-text .eyebrow { margin-bottom: 22px; }
  .hero-sub { font-size: 16px; margin-bottom: 28px; }
  .trust-strip { gap: 28px; margin-top: 40px; padding-top: 24px; }
  .trust-item .num { font-size: 24px; }
  .section { padding: 60px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .marquee-item { font-size: 16px; gap: 36px; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc.featured { grid-column: auto; min-height: 420px; }
  .svc { min-height: 340px; }
  .svc-title { font-size: 26px !important; }
  .step-grid { grid-template-columns: 1fr; }
  .step { border-right: none; border-bottom: 0.5px solid var(--line); padding: 26px 0; }
  .step:not(:first-child) { padding-left: 0; }
  .step:last-child { border-bottom: none; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; gap: 36px; }
  .foot-grid { grid-template-columns: 1fr; gap: 36px; }
  .mobile-cta { display: block; }
  .reviews { padding: 60px 0; }
  .cta-section { padding: 70px 0; padding-bottom: 100px; }
  .ba-handle::before { width: 42px; height: 42px; }
  .ba-tag { font-size: 10px; top: 12px; padding: 5px 10px; }
  .ba-tag-before { left: 12px; } .ba-tag-after { right: 12px; }

  /* Mobile collapsible SEO content */
  .seo-readmore {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    position: relative;
  }
  .seo-readmore.expanded { max-height: 20000px; }
  .seo-readmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding: 14px 24px;
    background: var(--accent) !important;
    color: #FFFFFF !important;
    border: none;
    font-family: var(--sans);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.25s ease;
    -webkit-appearance: none;
  }
  .seo-readmore-btn:hover { background: var(--accent-hover); }
}

@media (max-width: 540px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; width: 100%; }
  .nav-cta { padding: 9px 16px; font-size: 12px; }
  .brand { font-size: 21px; }
  .trust-strip { gap: 24px; }
}

/* Performance optimizations */
@font-face { font-display: swap; }
img { max-width: 100%; height: auto; }
video { max-width: 100%; }

/* Preload hints via CSS */
.hero { contain: layout style; }
.showcase-grid { contain: layout; }

/* ─── VIDEO ─────────────────────────────── */
.video-wrap { width: 100%; overflow: hidden; background: #000; }
.video-16x9 {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.video-4x3 {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
/* Legacy class - map to 16x9 */
.outshine-video {
  width: 100%;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block;
  max-height: 600px;
}
@media (max-width: 860px) {
  .outshine-video { max-height: 260px; }
  .video-16x9 { max-height: 260px; }
}


/* AI/entity clarity blocks */
.ai-entity-section {
  background: #fffdf7;
  border-top: 1px solid rgba(45,74,62,.10);
  border-bottom: 1px solid rgba(45,74,62,.10);
}
.ai-entity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 26px;
}
.ai-entity-card {
  background: #fff;
  border: 1px solid rgba(45,74,62,.14);
  border-radius: 18px;
  padding: 20px 22px;
  box-shadow: 0 12px 30px rgba(26,26,26,.04);
}
.ai-entity-card strong {
  display: block;
  color: #2D4A3E;
  margin-bottom: 8px;
}
.ai-entity-card p {
  margin: 0;
  color: #5C5A52;
  line-height: 1.65;
  font-size: 14px;
}
.ai-entity-note {
  margin-top: 22px;
  padding: 18px 22px;
  background: #F8F5ED;
  border: 1px solid rgba(45,74,62,.12);
  border-radius: 16px;
  color: #1A1A1A;
  line-height: 1.7;
  font-size: 15px;
}
.expert-box {
  background: #F8F5ED;
  border: 1px solid rgba(45,74,62,.14);
  border-radius: 18px;
  padding: 20px 24px;
  margin: 28px 0;
  color: #1A1A1A;
}
.expert-box strong {
  color: #2D4A3E;
}


/* v44 SEO / AI-search reinforcement blocks */
.answer-block{background:#f8f5ed;border:1px solid rgba(34,49,63,.12);border-radius:22px;padding:28px;margin:42px auto;max-width:1120px}
.answer-block .eyebrow{font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;font-weight:700;color:#8a6a44;margin-bottom:10px}
.answer-block h2{font-size:clamp(1.7rem,3vw,2.45rem);line-height:1.08;margin:0 0 14px;color:#10233c}
.answer-block h3{font-size:1.15rem;margin:24px 0 8px;color:#10233c}
.answer-block p{font-size:1.04rem;line-height:1.65;color:#263241;margin:0 0 14px}
.answer-block ul{margin:12px 0 0 20px;padding:0;color:#263241;line-height:1.65}
.answer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:22px}
.answer-card{background:#fff;border:1px solid rgba(34,49,63,.12);border-radius:18px;padding:20px;box-shadow:0 12px 30px rgba(16,35,60,.04)}
.answer-card strong{display:block;color:#10233c;font-size:1.04rem;margin-bottom:8px}.answer-card p{font-size:.96rem;margin:0 0 10px}.answer-card a{font-weight:700;color:#10233c;text-decoration:underline;text-underline-offset:3px}
.quick-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.quick-links a{background:#10233c;color:#fff;padding:11px 14px;border-radius:999px;text-decoration:none;font-weight:700;font-size:.92rem}.quick-links a.secondary{background:#fff;color:#10233c;border:1px solid rgba(16,35,60,.18)}
.intent-table{width:100%;border-collapse:collapse;margin-top:18px;background:#fff;border-radius:16px;overflow:hidden}.intent-table th,.intent-table td{text-align:left;padding:14px 16px;border-bottom:1px solid rgba(34,49,63,.1);vertical-align:top}.intent-table th{background:#10233c;color:#fff;font-size:.9rem}.intent-table td{color:#263241}.intent-table tr:last-child td{border-bottom:0}
@media(max-width:860px){.answer-grid{grid-template-columns:1fr}.answer-block{padding:22px;margin:28px 0}.intent-table{font-size:.92rem}.intent-table th,.intent-table td{padding:12px}}

/* ===== v48.2 fix: ontbrekende klassen voor gegenereerde pagina's ===== */
.wa-float{position:fixed;bottom:24px;right:24px;z-index:999;display:flex;align-items:center;gap:12px;background:#25D366;color:#fff;padding:14px 20px;border-radius:50px;box-shadow:0 8px 32px rgba(37,211,102,.4);font-family:var(--sans);font-size:14px;font-weight:600;text-decoration:none;transition:all .3s;}
.wa-float:hover{transform:scale(1.05) translateY(-2px);box-shadow:0 12px 40px rgba(37,211,102,.55);}
.wa-float svg{width:22px;height:22px;fill:#fff;flex-shrink:0;}
@media(max-width:860px){.wa-float{bottom:80px;right:16px;border-radius:50%;width:56px;height:56px;padding:0;justify-content:center;}.wa-float .wa-text{display:none;}}

/* compacte hero voor info/lokale/money pagina's */
.hero.hero-compact{padding-top:140px;padding-bottom:60px;min-height:auto;}
.hero-compact .hero-sub{max-width:640px;}
@media(max-width:860px){.hero.hero-compact{padding-top:110px;padding-bottom:40px;}}

/* vergelijkingstabel */
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0;}
.compare-table{width:100%;border-collapse:collapse;font-size:15px;background:var(--bg);border:0.5px solid var(--line-2);}
.compare-table th,.compare-table td{text-align:left;padding:14px 16px;border-bottom:0.5px solid var(--line);vertical-align:top;}
.compare-table thead th{background:var(--accent);color:var(--bg);font-weight:500;letter-spacing:-0.01em;font-size:14px;}
.compare-table tbody tr:nth-child(even){background:var(--bg-2);}
.compare-table td:first-child{font-weight:500;color:var(--ink);}

/* stappenplan (gescopet onder .steps zodat het bestaande .step niet botst) */
.steps{display:flex;flex-direction:column;gap:4px;margin:8px 0;}
.steps .step{display:flex;gap:20px;align-items:flex-start;padding:22px 0;border-bottom:0.5px solid var(--line);border-right:none;flex-direction:row;}
.steps .step:last-child{border-bottom:none;}
.steps .step-num{flex-shrink:0;width:40px;height:40px;border-radius:50%;background:var(--accent);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px;}
.steps .step h4{font-size:18px;font-weight:600;letter-spacing:-0.015em;margin-bottom:6px;}
.steps .step p{color:var(--ink-2);line-height:1.7;font-size:15px;margin:0;}

/* AI-citeerbaar antwoordblok */
.ai-q{padding:22px 24px;background:var(--bg-2);border-left:3px solid var(--accent);margin-bottom:16px;border-radius:0 8px 8px 0;}
.ai-q h3{font-size:18px;font-weight:600;letter-spacing:-0.015em;margin-bottom:8px;color:var(--ink);}
.ai-q p{margin:0;color:var(--ink-2);line-height:1.7;font-size:15px;}

/* faq-lijst wrapper */
.faq-list{border-top:0.5px solid var(--line);}

/* check-list */
.check-list{list-style:none;padding:0;margin:8px 0;}
.check-list li{position:relative;padding-left:30px;margin-bottom:14px;line-height:1.65;color:var(--ink-2);font-size:15px;}
.check-list li::before{content:'✓';position:absolute;left:0;top:0;color:var(--accent);font-weight:700;}
.check-list li strong{color:var(--ink);font-weight:600;}
.check-list a{color:var(--accent);text-decoration:underline;text-underline-offset:2px;}

/* gerelateerde kaarten */
.rel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:8px;}
.rel-card{display:flex;flex-direction:column;gap:6px;padding:22px;background:var(--bg);border:0.5px solid var(--line-2);transition:all .25s ease;}
.rel-card:hover{border-color:var(--accent);transform:translateY(-2px);}
.rel-card strong{font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-0.015em;}
.rel-card span{font-size:14px;color:var(--ink-3);}

/* inline cta-box */
.cta-inline{border:0.5px solid var(--line-2);}
.cta-inline a.btn{margin-top:4px;}

/* case meta */
.case-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin:28px 0 8px;}
.case-meta>div{display:flex;flex-direction:column;gap:4px;padding:16px;background:var(--bg-2);border:0.5px solid var(--line);}
.meta-label{font-size:11px;letter-spacing:0.12em;text-transform:uppercase;color:var(--ink-3);font-weight:500;}
.case-meta strong{font-size:16px;font-weight:600;color:var(--ink);letter-spacing:-0.01em;}

/* bijschrift onder foto */
.img-caption{font-size:13px;color:var(--ink-3);}

/* contactkaart op donkere cta: leesbaarheid van span/strong rijen */
.cta-section .contact-card span{font-size:12px;color:rgba(248,245,237,0.55);letter-spacing:0.04em;}
.cta-section .contact-card strong{font-size:15px;font-weight:500;color:var(--bg);}

/* Crepi-reiniging: desktop hero cleanup (mobile blijft op bestaande layout) */
@media (min-width: 1101px) {
  .page-crepi-reiniging .hero {
    padding-top: 132px;
    padding-bottom: 64px;
  }
  .page-crepi-reiniging .hero-split {
    grid-template-columns: minmax(420px, 0.86fr) minmax(520px, 1.14fr);
    gap: 72px;
    align-items: center;
  }
  .page-crepi-reiniging .hero-text {
    max-width: 560px;
  }
  .page-crepi-reiniging .hero-title {
    font-size: clamp(54px, 5vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.045em;
    margin-bottom: 24px;
  }
  .page-crepi-reiniging .hero-sub {
    max-width: 510px;
    margin-bottom: 26px;
  }
  .page-crepi-reiniging .hero-actions {
    margin-bottom: 4px;
  }
  .page-crepi-reiniging .ba.ba-portrait {
    max-height: 760px;
  }
  .page-crepi-reiniging .crepi-proof-extra {
    margin-top: 18px;
    background: rgba(239,235,224,0.74);
    border: 1px solid rgba(26,26,26,0.08);
    padding: 12px;
  }
  .page-crepi-reiniging .crepi-proof-extra img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    object-position: center;
  }
  .page-crepi-reiniging .crepi-proof-extra figcaption {
    margin-top: 10px;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.45;
  }
}

@media (max-width: 1100px) {
  .page-crepi-reiniging .crepi-proof-extra {
    margin-top: 18px;
  }
  .page-crepi-reiniging .crepi-proof-extra figcaption {
    margin-top: 8px;
    color: var(--ink-2);
    font-size: 13px;
    line-height: 1.45;
  }
}







/* v48-15: scoped natural tint on AFTER photos only.
   Excludes KBC/Certus, studentenkot Crepi Care, and all B2B pages/photos. */
body:not(.no-after-photo-tint) .ba:not(.no-after-tint) > img:not(.ba-before),
body:not(.no-after-photo-tint) img[src*="-na."]:not([src*="kbc-clean"]):not([src*="studentenkot-clean"]):not([src*="b2b-"]),
body:not(.no-after-photo-tint) img[src*="-na-"]:not([src*="kbc-clean"]):not([src*="studentenkot-clean"]):not([src*="b2b-"]),
body:not(.no-after-photo-tint) img[src*="-na_"]:not([src*="kbc-clean"]):not([src*="studentenkot-clean"]):not([src*="b2b-"]) {
  filter: brightness(0.88) saturate(0.92) contrast(0.97);
}

/* Dark/green overlay only where allowed. */
body:not(.no-after-photo-tint) .ba:not(.no-after-tint)::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: rgba(20, 34, 28, 0.06);
  z-index: 3;
}

/* Explicit opt-outs */
.no-after-photo-tint .ba > img,
.no-after-photo-tint img,
.ba.no-after-tint > img,
img[src*="kbc-clean"],
img[src*="studentenkot-clean"],
img[src*="b2b-"] {
  filter: none !important;
}

.no-after-photo-tint .ba::after,
.ba.no-after-tint::after {
  content: none !important;
  display: none !important;
}

.ba-tag,
.ba-handle {
  z-index: 5;
}
