/* ============================================================
   Friesland Taxaties
   Palet rechtstreeks uit het logo: navy, lichtblauw en goud.
   ============================================================ */

:root {
  --white: #ffffff;
  --blue: #009ed0;          /* lichtblauw uit het beeldmerk (merkkleur) */
  --blue-deep: #0081ac;     /* iets dieper blauw voor gradients */
  --blue-dark: #132f56;     /* navy uit "Friesland" (merkkleur) */
  --blue-light: #e7f3fb;    /* lichtblauwe blokken */
  --blue-light-2: #cfe9f7;
  --blue-soft: #82cdec;
  --gold: #c9a24d;          /* goud uit "TAXATIES" (merkkleur) */
  --gold-light: #e6d3a4;
  --ink: #1f3550;
  --muted: #5a7a99;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(29, 49, 96, 0.10);
  --shadow-lg: 0 24px 70px rgba(29, 49, 96, 0.16);
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }

.container { width: min(1180px, 92%); margin-inline: auto; }
.container.narrow { width: min(860px, 92%); }

h1, h2, h3 { font-family: var(--font-head); color: var(--blue-dark); line-height: 1.12; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 900; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }

/* Lijniconen */
.ic {
  width: 26px; height: 26px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 18px; height: 18px; }
.btn .ic { width: 18px; height: 18px; }

/* Gesplitste woorden (JS) vallen woord voor woord binnen */
.split .w { display: inline-block; opacity: 0; transform: translateY(0.65em) rotate(2.5deg); }
.split.in-view .w {
  opacity: 1; transform: none;
  transition: opacity 0.55s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: var(--blue-light);
  padding: 0.4em 1em;
  border-radius: 99px;
  margin-bottom: 1rem;
}
.eyebrow-dark { background: rgba(255,255,255,0.12); color: var(--gold-light); }
.eyebrow-link { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.eyebrow-link:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stars-inline { color: var(--gold); letter-spacing: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 1.1rem 0 1.8rem; max-width: 58ch; }
.lead .tagline { display: block; font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: 1.05rem; margin-bottom: 0.45rem; }
.section-intro { color: var(--muted); max-width: 62ch; margin: 0.8rem auto 0; }

/* ---------- Knoppen / CTA's ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 0.55em;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.85em 1.7em; border-radius: 99px; border: 2px solid transparent;
  cursor: pointer; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-3px); }
.btn:active { transform: translateY(-1px) scale(0.98); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  color: var(--white);
  box-shadow: 0 10px 28px rgba(18, 120, 180, 0.38);
}
.btn-primary:hover { box-shadow: 0 16px 38px rgba(18, 120, 180, 0.5); }
.btn-outline { background: var(--white); color: var(--blue-dark); border-color: var(--blue-soft); }
.btn-outline:hover { background: var(--blue-light); }
.btn-ghost { background: transparent; color: var(--blue-dark); }
.btn-ghost:hover { background: var(--blue-light); }
.btn-light { background: var(--white); color: var(--blue-dark); box-shadow: 0 10px 28px rgba(0,0,0,0.25); }
.btn-light:hover { background: var(--gold-light); }
.btn-sm { padding: 0.6em 1.2em; font-size: 0.92rem; }
.btn-lg { padding: 1.05em 2.1em; font-size: 1.08rem; }
.btn-block { width: 100%; justify-content: center; }
.icon { width: 1.15em; height: 1.15em; fill: currentColor; }

/* Glans die over de knop veegt */
.shine::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%; width: 50%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-20deg);
  animation: shine-sweep 3.4s 1.2s ease-in-out infinite;
}
@keyframes shine-sweep { 0% { left: -80%; } 45% { left: 130%; } 100% { left: 130%; } }

@keyframes pulse-ring {
  0% { box-shadow: 0 10px 28px rgba(18,120,180,.38), 0 0 0 0 rgba(46,167,223,.5); }
  70% { box-shadow: 0 10px 28px rgba(18,120,180,.38), 0 0 0 16px rgba(46,167,223,0); }
  100% { box-shadow: 0 10px 28px rgba(18,120,180,.38), 0 0 0 0 rgba(46,167,223,0); }
}
.pulse { animation: pulse-ring 2.6s infinite; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; gap: 1.1rem;
  background: var(--white); transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader p { font-family: var(--font-head); font-weight: 700; color: var(--blue-dark); letter-spacing: 0.06em; text-align: center; }
.preloader-mark { position: relative; width: 84px; height: 84px; margin-inline: auto; }
.preloader-leaf {
  position: absolute; inset: 22px; background: var(--blue);
  clip-path: polygon(14% 52%, 34% 72%, 86% 12%, 100% 26%, 36% 100%, 0 66%);
  animation: leaf-pop 1.1s ease-in-out infinite alternate;
}
@keyframes leaf-pop { from { transform: scale(0.82) rotate(-6deg); opacity: 0.7; } to { transform: scale(1.05) rotate(2deg); opacity: 1; } }
.preloader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--blue-light-2); border-top-color: var(--gold);
  animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Scrollvoortgang ---------- */
.progress-bar {
  position: fixed; top: 0; left: 0; height: 4px; width: 0; z-index: 200;
  background: linear-gradient(90deg, var(--blue), var(--gold));
  border-radius: 0 4px 4px 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 4px 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 6px 30px rgba(29, 49, 96, 0.12); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; padding: 0.8rem 0; }
.site-header.scrolled .header-inner { padding: 0.5rem 0; }
.brand-logo { height: 56px; width: auto; transition: height 0.3s ease; }
.site-header.scrolled .brand-logo { height: 46px; }
.main-nav { display: flex; gap: 1.3rem; margin-left: auto; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: 0.94rem; position: relative; padding: 0.3em 0; white-space: nowrap; }
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--gold)); border-radius: 2px; transition: width 0.3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-cta { display: flex; gap: 0.6rem; align-items: center; }
.header-cta .btn-ghost { white-space: nowrap; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--blue-dark); margin: 5px 0; border-radius: 2px; transition: 0.3s; }

/* ---------- Hero (homepagina) ---------- */
.hero { position: relative; padding: 11.5rem 0 10rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.blob-1 { width: 560px; height: 560px; background: var(--blue-light-2); top: -180px; right: -140px; animation: drift 14s ease-in-out infinite alternate; }
.blob-2 { width: 420px; height: 420px; background: #fdf3dc; bottom: -160px; left: -120px; animation: drift 18s ease-in-out infinite alternate-reverse; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%; left: 30%; top: 10%;
  background: radial-gradient(circle, rgba(46,167,223,0.12), transparent 60%);
  transition: transform 0.4s ease-out;
}

/* Zwevende vinkjes (logomotief) */
.pompeblad { position: absolute; opacity: 0.06; animation: floaty 9s ease-in-out infinite; }
.pompeblad::before { content: "✓"; font-family: var(--font-head); font-weight: 900; color: var(--blue); font-size: 56px; line-height: 1; display: block; }
.p-1 { top: 22%; left: 5%; }
.p-2 { top: 62%; right: 9%; animation-delay: 2.5s; }
.p-2::before { font-size: 84px; color: var(--gold); opacity: 0.8; }
.p-3 { bottom: 16%; left: 36%; animation-delay: 5s; }
.p-3::before { font-size: 38px; }
.p-4 { top: 14%; right: 30%; animation-delay: 3.6s; }
.p-4::before { font-size: 44px; color: var(--blue-dark); }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-22px) rotate(7deg); } }

.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 3rem; align-items: center; }

/* Glanzend accentwoord */
.accent-shimmer {
  background: linear-gradient(110deg, var(--blue-deep) 20%, var(--blue) 38%, var(--gold) 52%, var(--blue-deep) 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shimmer 5s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

/* Typmachine-regel */
.type-line { font-size: 1.12rem; font-weight: 700; color: var(--blue-dark); margin-top: 1rem; }
.type-word { color: var(--blue-deep); border-bottom: 3px solid var(--gold); padding-bottom: 1px; }
.type-caret { display: inline-block; width: 2px; height: 1.05em; background: var(--gold); margin-left: 3px; vertical-align: text-bottom; animation: caret 0.9s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 0.4rem 0 1.6rem; }
.hero-usps { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; color: var(--blue-dark); font-weight: 600; font-size: 0.95rem; margin-bottom: 1.6rem; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge-chip {
  background: var(--blue-light); border: 1px solid var(--blue-light-2); color: var(--blue-dark);
  font-size: 0.8rem; font-weight: 700; padding: 0.38em 0.95em; border-radius: 99px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.badge-chip:hover { transform: translateY(-3px); background: var(--white); }

/* Hero visual: persoonlijke foto met badge */
.hero-visual { position: relative; min-height: 470px; display: flex; align-items: center; justify-content: center; }
.hero-photo { position: relative; width: min(440px, 100%); }
.hero-photo::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border-radius: 28px; z-index: 0;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue-deep)); opacity: 0.28;
  animation: frame-breathe 6s ease-in-out infinite alternate;
}
.hero-photo img {
  position: relative; z-index: 1; width: 100%; border-radius: 28px; box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 4.5; object-fit: cover; object-position: 50% 22%;
}
.hero-photo-badge {
  position: absolute; z-index: 2; left: -14px; bottom: -20px;
  display: flex; align-items: center; gap: 0.7rem;
  background: var(--white); border-radius: 16px; box-shadow: var(--shadow); padding: 0.8rem 1.1rem;
  border-left: 4px solid var(--gold); animation: floaty-soft 5.5s 0.8s ease-in-out infinite;
}
.hpb-icon {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
}
.hpb-icon .ic { width: 22px; height: 22px; }
.hpb-text { display: grid; }
.hpb-text strong { font-family: var(--font-head); color: var(--blue-dark); font-size: 1.02rem; }
.hpb-text span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.report-head { display: flex; align-items: center; gap: 0.45rem; padding-bottom: 0.9rem; border-bottom: 1px dashed var(--blue-light-2); color: var(--blue-dark); }
.report-head strong { margin-left: 0.5rem; font-family: var(--font-head); }
.report-head .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue-light-2); }
.report-head .dot:first-child { background: var(--gold); opacity: 0.7; }
.report-body { padding-top: 1rem; display: grid; gap: 0.7rem; }
.report-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; }
.report-row span { color: var(--muted); }
.report-row.big strong { font-size: 1.7rem; color: var(--blue-deep); font-family: var(--font-head); }
.report-row .ok { color: #1a9c4b; }
.check-pop { display: inline-block; animation: check-pop 0.5s 2.4s cubic-bezier(0.34, 1.56, 0.64, 1) both; }
@keyframes check-pop { from { transform: scale(0); } to { transform: scale(1); } }
.report-bar { height: 8px; border-radius: 99px; background: var(--blue-light); overflow: hidden; }
.report-bar-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--blue-soft), var(--blue-deep)); animation: fill-bar 1.6s 0.9s ease forwards; }
@keyframes fill-bar { to { width: 86%; } }
.report-stamp {
  position: absolute; right: 20px; bottom: 10px; padding: 0.25em 0.7em;
  border: 3px solid var(--gold); border-radius: 8px; color: var(--gold);
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.18em;
  transform: rotate(-8deg) scale(2.2); opacity: 0;
  animation: stamp-in 0.45s 2.1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes stamp-in { to { transform: rotate(-8deg) scale(1); opacity: 0.92; } }

.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-med { animation: floaty 5.5s 0.8s ease-in-out infinite; }
/* De kaart en badges zweven alleen op en neer, zonder de forse
   rotatie die voor de losse vinkjes is bedoeld */
.report-card.float-slow { animation-name: floaty-card; }
.photo-badge.float-med { animation-name: floaty-soft; }
@keyframes floaty-card { 0%, 100% { transform: translateY(0) rotate(-0.6deg); } 50% { transform: translateY(-13px) rotate(0.6deg); } }
@keyframes floaty-soft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 5.6rem; transform: translateX(-50%); z-index: 5;
  width: 28px; height: 46px; border: 2px solid var(--blue-soft); border-radius: 99px; display: grid; justify-content: center; padding-top: 8px;
}
.scroll-hint span { width: 4px; height: 10px; border-radius: 4px; background: var(--blue-deep); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Pagina-hero (subpagina's) ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 10.5rem 0 4.5rem;
  background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%);
}
.page-hero .lead { margin-bottom: 0.6rem; }
.page-hero .hero-actions { margin-bottom: 0; }

/* ---------- Golf-overgangen ---------- */
.wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; overflow: hidden; pointer-events: none; }
.wave svg { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; animation: wave-slide 16s linear infinite; }
.wave svg.wave-2 { animation-duration: 23s; animation-direction: reverse; opacity: 0.45; }
@keyframes wave-slide { to { transform: translateX(-50%); } }
.wave-navy { color: var(--blue-dark); }
.wave-lightblue { color: var(--blue-light); }

/* ---------- Marquee ---------- */
.marquee { background: var(--blue-dark); color: var(--white); overflow: hidden; padding: 0.85rem 0; position: relative; }
.marquee-track { display: flex; gap: 2.2rem; width: max-content; animation: marquee 36s linear infinite; font-weight: 600; letter-spacing: 0.04em; }
.marquee-track i { color: var(--gold); font-style: normal; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Kerncijfers ---------- */
.stats { padding: 4.5rem 0 4rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.stat {
  background: var(--blue-light); border-radius: var(--radius); padding: 1.8rem 1.2rem; text-align: center;
  border-bottom: 4px solid transparent;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow); border-bottom-color: var(--gold); }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); color: var(--blue-deep); font-weight: 900; }
.stat strong.stat-text { font-size: clamp(1.2rem, 2.4vw, 1.6rem); padding: 0.55em 0; }
.stat span { color: var(--muted); font-weight: 600; font-size: 0.92rem; }

/* ---------- Secties ---------- */
.section { padding: 5.5rem 0; position: relative; }
.section-blue {
  background: linear-gradient(180deg, var(--blue-light) 0%, #f4fafe 100%);
  border-block: 1px solid var(--blue-light-2);
}
.section-head { text-align: center; margin-bottom: 3rem; }
.section-cta { text-align: center; margin-top: 3rem; display: flex; flex-direction: column; gap: 0.9rem; align-items: center; }
.section-cta p { color: var(--muted); font-weight: 600; }

/* ---------- Dienstenkaarten ---------- */
#diensten { padding-bottom: 11rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; perspective: 1000px; }
.card {
  background: var(--blue-light); border-radius: var(--radius); padding: 2rem 1.7rem;
  border: 1px solid transparent; position: relative; overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
  transform-style: preserve-3d;
}
.card::before {
  content: ""; position: absolute; inset: auto -30% -55% auto; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(143,208,239,0.4), transparent 70%);
  transition: transform 0.5s ease;
}
/* glans die de muis volgt (JS zet --mx/--my) */
.card::after {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.5), transparent 45%);
}
.card:hover { box-shadow: var(--shadow-lg); background: var(--white); border-color: var(--blue-light-2); }
.card:hover::before { transform: scale(1.5); }
.card:hover::after { opacity: 1; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
  box-shadow: 0 8px 20px rgba(18,120,180,0.3); margin-bottom: 1rem;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.card:hover .card-icon { transform: translateY(-6px) scale(1.08) rotate(-4deg); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin-bottom: 1.1rem; }
.card-link { font-weight: 700; color: var(--blue-deep); position: relative; z-index: 1; }
.card-link .arrow { display: inline-block; transition: transform 0.3s ease; }
.card-link:hover { color: var(--blue-dark); }
.card-link:hover .arrow { transform: translateX(6px); }

/* Compacte dienstentegels op de homepage (volledige uitleg staat op diensten.html) */
.diensten-compact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.dienst-chip {
  display: flex; align-items: center; gap: 1rem;
  background: var(--blue-light); border: 1px solid transparent; border-radius: 14px;
  padding: 1rem 1.2rem; color: var(--blue-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}
.dienst-chip:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--white); border-color: var(--blue-light-2); }
.dienst-chip .card-icon { width: 44px; height: 44px; border-radius: 12px; margin: 0; flex: 0 0 auto; }
.dienst-chip .card-icon .ic { width: 22px; height: 22px; }
.dienst-chip h3 { font-size: 1.02rem; margin: 0; flex: 1; }
.dienst-chip .arrow { color: var(--blue-deep); font-weight: 700; transition: transform 0.3s ease; }
.dienst-chip:hover .arrow { transform: translateX(5px); }

/* Compacte werkwijze-teaser */
.steps-mini {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem;
  margin-top: 0.5rem;
}
.steps-mini li {
  display: inline-flex; align-items: center; gap: 0.6em;
  background: var(--blue-light); border: 1px solid var(--blue-light-2); border-radius: 99px;
  padding: 0.55em 1.1em 0.55em 0.55em; font-weight: 700; color: var(--blue-dark); font-size: 0.95rem;
}
.step-num-mini {
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
  font-family: var(--font-head); font-weight: 900; font-size: 0.95rem;
}

/* Mobiele USP-kaartjes onder de herofoto */
.hero-usps-mobile li {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--blue-light); border: 1px solid var(--blue-light-2);
  border-radius: 14px; padding: 0.85rem 1rem; font-weight: 600; color: var(--blue-dark); font-size: 0.96rem;
}
.hero-usps-mobile li::before {
  content: "✓"; flex: 0 0 auto; display: grid; place-items: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: #fff;
  font-size: 0.82rem; font-weight: 800;
}

/* ---------- Dienstenpagina: detailblokken ---------- */
.service-list { display: grid; gap: 1.4rem; }
.service-block {
  display: flex; gap: 1.6rem; align-items: flex-start;
  background: var(--white); border: 1px solid var(--blue-light-2); border-radius: var(--radius);
  padding: 2rem 2.1rem; box-shadow: 0 6px 22px rgba(29,49,96,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  scroll-margin-top: 110px;
}
.service-block:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-block .card-icon { margin-bottom: 0; }
.service-block h3 { margin-bottom: 0.45rem; font-size: 1.35rem; }
.service-block p { color: var(--muted); margin-bottom: 0.9rem; }

/* ---------- Waarom-sectie (donkerblauw) ---------- */
.section-dark {
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(46,167,223,0.18), transparent 60%),
    radial-gradient(700px 380px at 8% 100%, rgba(195,154,59,0.14), transparent 60%),
    var(--blue-dark);
  color: #d7e9f7;
  padding-bottom: 11rem;
}
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .section-intro { color: #a9c6de; }
.dark-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-lines {
  position: absolute; inset: 0; opacity: 0.06;
  background-image: linear-gradient(var(--white) 1px, transparent 1px), linear-gradient(90deg, var(--white) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.pd-1 { top: 12%; left: 4%; opacity: 0.1; }
.pd-1::before { color: var(--blue-soft); font-size: 90px; }
.pd-2 { bottom: 20%; right: 6%; opacity: 0.12; animation-delay: 3s; }
.pd-2::before { color: var(--gold); font-size: 64px; }

.usp-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.usp-tile {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius); padding: 1.9rem 1.8rem;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.usp-tile:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); border-color: rgba(143,208,239,0.4); }
.usp-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3); margin-bottom: 1rem;
}
.usp-tile h3 { margin-bottom: 0.45rem; font-size: 1.2rem; }
.usp-tile p { color: #bcd6ea; font-size: 0.95rem; }

/* Compacte variant: alleen icoon + titel, op één regel */
.usp-compact .usp-tile { display: flex; align-items: center; gap: 1rem; padding: 1.15rem 1.4rem; }
.usp-compact .usp-icon { width: 46px; height: 46px; margin-bottom: 0; flex: 0 0 auto; }
.usp-compact .usp-tile h3 { margin-bottom: 0; font-size: 1.08rem; }

/* ---------- Over ons / fotokaders ---------- */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3.5rem; align-items: center; }
.photo-frame { position: relative; border-radius: 24px; }
.photo-frame::before {
  content: ""; position: absolute; inset: -16px 16px 16px -16px; border-radius: 24px;
  background: linear-gradient(135deg, var(--blue-soft), var(--blue-deep)); opacity: 0.3; z-index: 0;
  animation: frame-breathe 6s ease-in-out infinite alternate;
}
@keyframes frame-breathe { from { transform: translate(0,0); } to { transform: translate(7px, 7px); } }
.photo-frame img {
  position: relative; z-index: 1; border-radius: 24px; box-shadow: var(--shadow-lg);
  aspect-ratio: 9 / 10; object-fit: cover; object-position: 50% 18%; width: 100%;
  will-change: transform;
}
.rot-badge {
  position: absolute; z-index: 3; top: -34px; left: -34px; width: 120px; height: 120px;
  filter: drop-shadow(0 10px 24px rgba(29,49,96,0.35));
  animation: spin 26s linear infinite;
}
.rot-badge text[text-anchor="middle"] { animation: spin-counter 26s linear infinite; transform-origin: 60px 60px; }
@keyframes spin-counter { to { transform: rotate(-360deg); } }
.photo-badge {
  position: absolute; z-index: 2; bottom: -18px; right: -10px; background: var(--white);
  border-radius: 14px; box-shadow: var(--shadow); padding: 0.7rem 1.2rem; display: grid;
  border-left: 4px solid var(--gold);
}
.photo-badge strong { font-family: var(--font-head); color: var(--blue-dark); font-size: 1.1rem; }
.photo-badge span { font-size: 0.78rem; color: var(--muted); font-weight: 600; }

.about-copy p { margin-bottom: 1rem; color: #33536f; }
.checklist { list-style: none; display: grid; gap: 0.55rem; margin: 1.2rem 0 1.6rem; }
.checklist li { padding-left: 1.7em; position: relative; color: #33536f; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-deep); font-weight: 800; }
blockquote {
  border-left: 4px solid var(--gold); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.1rem 1.4rem 1.3rem; font-family: var(--font-head); font-size: 1.12rem; color: var(--blue-dark);
  box-shadow: var(--shadow); margin-bottom: 1.6rem;
}

/* Tekst-en-fotosecties op subpagina's */
.split-section { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 3.2rem; align-items: center; }
.split-section.split-reverse { grid-template-columns: 1.05fr 0.95fr; }
.split-section.split-reverse .split-photo { order: 2; }
.split-photo { position: relative; }
.split-photo > img {
  border-radius: 24px; box-shadow: var(--shadow-lg); width: 100%;
  aspect-ratio: 4 / 3.4; object-fit: cover;
  transition: transform 0.5s ease;
}
/* Staande foto's krijgen een hoger kader zodat hoofden in beeld blijven */
.split-photo.tall > img { aspect-ratio: 4 / 4.6; object-position: 50% 15%; }
.split-photo:hover > img { transform: scale(1.02); }
.split-copy p { color: #33536f; margin-bottom: 1rem; }

.photo-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.photo-band figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.photo-band img { aspect-ratio: 3 / 3.4; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.photo-band figure:hover img { transform: scale(1.06); }

/* ---------- Werkwijze-stappen ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 56px; left: 6%; right: 6%; height: 3px; z-index: 0;
  background: repeating-linear-gradient(90deg, var(--blue-light-2) 0 14px, transparent 14px 26px);
}
.step {
  background: var(--blue-light); border-radius: var(--radius); padding: 2.1rem 1.5rem 1.7rem; position: relative; z-index: 1;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.step-num {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
  font-family: var(--font-head); font-weight: 900; font-size: 1.4rem; margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(18,120,180,0.35);
  transform: scale(0.3); opacity: 0;
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}
.step.in-view .step-num { transform: scale(1); opacity: 1; }
.step h3 { margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.93rem; }

/* ---------- Google reviews ---------- */
.gsummary {
  display: flex; align-items: center; gap: 1.3rem; flex-wrap: wrap;
  background: var(--white); border: 1px solid var(--blue-light-2); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.4rem 1.8rem; max-width: 720px; margin-inline: auto;
}
.gsummary-lg { max-width: 860px; padding: 1.8rem 2.2rem; margin-bottom: 2.6rem; }
.g-logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--blue-light); }
.gsummary-text { display: grid; gap: 0.15rem; margin-right: auto; }
.gsummary-text strong { font-family: var(--font-head); color: var(--blue-dark); font-size: 1.15rem; }
.gsummary-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

/* Google-reviewkaarten, eigen opmaak */
.greview-wall { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; align-items: start; }
.greview-wall .greview:nth-child(even) { transform: translateY(2.2rem); }
.greview-wall .greview:nth-child(even).in-view { transform: translateY(2.2rem); }
.greview-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; align-items: start; margin-top: 2.4rem; }
.greview {
  position: relative; background: var(--white); border: 1px solid var(--blue-light-2);
  border-radius: 20px; padding: 1.8rem 1.7rem 1.6rem; box-shadow: 0 8px 28px rgba(29,49,96,0.07);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.greview:hover { transform: translateY(-6px) !important; box-shadow: var(--shadow-lg); border-color: var(--blue-soft); }
.greview::before {
  content: "“"; position: absolute; top: -16px; left: 22px;
  width: 38px; height: 38px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-deep)); color: var(--white);
  font-family: var(--font-head); font-size: 1.9rem; line-height: 0.4; padding-top: 0.45em;
  border-radius: 12px; box-shadow: 0 8px 18px rgba(18,120,180,0.35);
}
.greview-g {
  position: absolute; top: 1.4rem; right: 1.4rem; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%; background: var(--blue-light);
}
.greview-head { display: flex; align-items: center; gap: 0.9rem; margin: 0.4rem 0 0.7rem; }
.g-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto;
  display: grid; place-items: center; color: var(--white);
  font-weight: 800; font-size: 1.2rem; font-family: var(--font-body);
}
.av-1 { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); }
.av-2 { background: linear-gradient(135deg, var(--gold), #a87f24); }
.av-3 { background: linear-gradient(135deg, #3a539b, var(--blue-dark)); }
.av-4 { background: linear-gradient(135deg, #e07b54, #c2502a); }
.greview-name { display: grid; }
.greview-name strong { color: var(--blue-dark); font-size: 1.02rem; }
.greview-name span { color: var(--muted); font-size: 0.8rem; font-weight: 600; }
.greview-stars { color: var(--gold); letter-spacing: 2.5px; font-size: 0.95rem; margin-bottom: 0.6rem; }
.greview-stars i { font-style: normal; color: var(--muted); letter-spacing: 0; font-size: 0.78rem; font-weight: 600; margin-left: 0.6em; }
.greview p { color: #33536f; font-size: 0.96rem; }

/* Uitgelichte review: 1 groot + 2 klein */
.greview-featured { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.6rem; align-items: stretch; margin-top: 2.4rem; }
.greview-side { display: grid; gap: 1.6rem; align-content: stretch; }
.greview-lg, .greview-sm { display: flex; flex-direction: column; }
.greview-lg p, .greview-sm p { margin-bottom: 1.2rem; }
.greview-lg .greview-head, .greview-sm .greview-head { margin: auto 0 0; }
.greview-lg { padding: 2.3rem 2.2rem 1.9rem; border-left: 4px solid var(--gold); }
.greview-lg .greview-stars { font-size: 1.15rem; margin-bottom: 0.8rem; }
.greview-lg p { font-size: 1.16rem; line-height: 1.75; color: var(--blue-dark); }
.greview-lg::before { width: 46px; height: 46px; font-size: 2.4rem; top: -20px; }
.greview-sm { padding: 1.5rem 1.55rem 1.35rem; }
.greview-sm p { font-size: 0.92rem; }
.greview-sm .g-avatar { width: 40px; height: 40px; font-size: 1.05rem; }
.greview-sm::before { width: 32px; height: 32px; font-size: 1.55rem; top: -14px; left: 18px; }

.stars { color: var(--gold); letter-spacing: 2px; }
.disclaimer { text-align: center; color: var(--muted); font-size: 0.8rem; margin-top: 1.4rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--white); border: 1px solid var(--blue-light-2); border-radius: 14px;
  box-shadow: 0 4px 16px rgba(29,49,96,0.05);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.faq-item.open { box-shadow: var(--shadow); border-color: var(--blue-soft); }
.faq-q {
  width: 100%; background: none; border: 0; cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--blue-dark);
  padding: 1.1rem 1.4rem;
}
.faq-icon {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue-light); color: var(--blue-deep); font-weight: 800;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--blue-deep); color: var(--white); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.faq-a p { padding: 0 1.4rem 1.2rem; color: var(--muted); }

/* ---------- Contactpagina ---------- */
.contact-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: start; }
.contact-copy > p { color: var(--muted); margin: 0.8rem 0 1.8rem; }
.contact-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.contact-list a {
  display: flex; align-items: center; gap: 1.1rem;
  background: var(--white); border-radius: 14px; padding: 1rem 1.3rem;
  border: 1px solid var(--blue-light-2); box-shadow: 0 4px 16px rgba(29,49,96,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.contact-list a:hover { transform: translateX(6px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.contact-ic {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; flex: 0 0 auto;
  background: var(--blue-light); color: var(--blue-deep);
}
.contact-body { display: grid; }
.contact-body strong { color: var(--blue-dark); font-size: 1.05rem; }
.contact-body span { color: var(--muted); font-size: 0.85rem; }

.aanvraag-card {
  background: var(--white); border-radius: var(--radius); padding: 2.3rem 2.1rem;
  box-shadow: var(--shadow-lg); border-top: 5px solid var(--gold);
  display: grid; gap: 0.9rem; justify-items: start;
}
.aanvraag-card h3 { font-size: 1.4rem; }
.aanvraag-card p { color: var(--muted); }
.aanvraag-card .checklist { margin: 0.2rem 0 0.6rem; }

/* ---------- CTA-strook ---------- */
.cta-strip { padding-bottom: 11rem; }
.cta-panel {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center;
  background: linear-gradient(135deg, var(--blue-light) 0%, #f4fafe 100%);
  border: 1px solid var(--blue-light-2); border-radius: 26px;
  padding: 3rem 3.2rem; box-shadow: var(--shadow);
}
.cta-panel p { color: var(--muted); margin-top: 0.6rem; }
.cta-panel-actions { display: flex; flex-direction: column; gap: 0.9rem; align-items: stretch; }
.cta-panel-actions .btn { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-dark); color: #c9e2f5; padding: 4rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
.footer-logo { height: 64px; width: auto; margin-bottom: 0.8rem; background: var(--white); border-radius: 10px; padding: 6px 10px; }
.footer-tagline { font-family: var(--font-head); font-style: italic; color: var(--gold-light); margin-bottom: 0.5rem; }
.site-footer h4 { color: var(--white); margin-bottom: 0.8rem; font-family: var(--font-head); }
.site-footer a { display: block; color: #c9e2f5; padding: 0.2em 0; transition: color 0.25s, transform 0.25s; }
.site-footer a:hover { color: var(--gold-light); transform: translateX(4px); }
.site-footer p { font-size: 0.92rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14); padding: 1.2rem 0; font-size: 0.85rem;
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; flex-wrap: wrap;
}
.site-footer .powered-by {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: 0.85rem; color: #c9e2f5; padding: 0;
  transition: color 0.25s ease;
}
.site-footer .powered-by .nb-mark { width: 15px; height: 16px; display: block; }
.site-footer .powered-by strong { color: #ffffff; font-weight: 700; letter-spacing: 0.02em; }
.site-footer .powered-by:hover { color: #ffffff; transform: none; }
.site-footer .powered-by:hover strong { color: var(--gold-light); }

/* ---------- Sticky mobiele CTA & to-top ---------- */
.mobile-cta {
  position: fixed; inset: auto 0 0 0; z-index: 96; display: none; gap: 0.7rem; padding: 0.7rem 1rem;
  background: var(--white); box-shadow: 0 -8px 30px rgba(29,49,96,0.15);
  padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
}
/* Checklist onder de herofoto, alleen op mobiel */
.hero-usps-mobile { display: none; }
.mobile-cta .btn { justify-content: center; white-space: nowrap; font-size: 0.88rem; padding: 0.85em 0.9em; }
.mobile-cta .btn-outline { flex: 0 0 auto; }
.mobile-cta .btn-primary { flex: 1; }
.to-top {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 95; width: 54px; height: 54px;
  display: grid; place-items: center; border-radius: 50%; background: var(--white); color: var(--blue-deep);
  font-size: 1.25rem; font-weight: 800; box-shadow: var(--shadow); border: 0; cursor: pointer;
  opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease;
}
.to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.to-top svg { position: absolute; inset: 4px; transform: rotate(-90deg); }
.to-top .ring-bg, .to-top .ring-fill { fill: none; stroke-width: 3.5; }
.to-top .ring-bg { stroke: var(--blue-light-2); }
.to-top .ring-fill { stroke: var(--gold); stroke-linecap: round; stroke-dasharray: 125.6; stroke-dashoffset: 125.6; }
.to-top span { position: relative; z-index: 1; }
.to-top:hover { color: var(--blue-dark); }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .split .w, .step-num { opacity: 1 !important; transform: none !important; }
  .preloader { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 2rem; }
  .hero-photo { width: min(420px, 86%); }
  .cards-grid, .diensten-compact { grid-template-columns: repeat(2, 1fr); }
  .greview-row { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .greview-featured { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .usp-tiles { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .split-section, .split-section.split-reverse { grid-template-columns: 1fr; }
  .split-section.split-reverse .split-photo { order: 0; }
  .split-photo { max-width: 560px; }
  .about-photo { max-width: 440px; margin-inline: auto; }
  .photo-band { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .cta-panel { grid-template-columns: 1fr; padding: 2.4rem 2.2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  /* Dropdownmenu onder de header. Geen zijpaneel: de header heeft een
     backdrop-filter en is daardoor het referentiekader voor fixed
     elementen, en een paneel buiten beeld veroorzaakt horizontaal
     swipen op mobiel. */
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 99;
    background: var(--white); border-bottom: 1px solid var(--blue-light-2);
    box-shadow: 0 24px 40px rgba(29, 49, 96, 0.18);
    flex-direction: column; gap: 0; padding: 0.6rem 4% 1.1rem; margin: 0;
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  }
  .main-nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav a { font-size: 1.05rem; padding: 0.7em 0; border-bottom: 1px solid var(--blue-light); }
  .main-nav a:last-child { border-bottom: 0; }
  .nav-toggle { display: block; margin-left: auto; position: relative; z-index: 100; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .header-cta { display: none; }
  .brand-logo { height: 46px; }
  .hero { padding: 8.5rem 0 8rem; }
  .page-hero { padding: 7.5rem 0 3.2rem; }
  .scroll-hint { display: none; }
  /* Dubbele CTA-knoppen verbergen op mobiel: de sticky balk onderaan biedt
     "Vraag een taxatie aan" en "Bel" al. Navigatieknoppen (Maak kennis met
     ons, Bekijk diensten) en WhatsApp blijven wel staan. */
  .hero .hero-actions { display: none; }
  .hero-actions a[href*="taxatieaanvraagformulier"],
  .hero-actions a[href^="tel:"],
  .cta-panel-actions { display: none; }
  /* Subpagina-hero's bevatten alleen de taxatie-knop: hele container weg */
  .page-hero .hero-actions { display: none; }
  /* Achtergrond-vinkjes weg op mobiel: rustiger beeld */
  .pompeblad { display: none; }
  /* Checklist: desktopversie in de tekst verbergen, mobiele versie onder de foto tonen */
  .hero-visual { flex-direction: column; align-items: center; }
  .hero-usps-desktop { display: none; }
  .hero-usps-mobile { display: flex; flex-direction: column; gap: 0.7rem; width: 100%; margin-top: 2.6rem; }
  /* Zo werkt het: stappen netjes onder elkaar op mobiel */
  .steps-mini { flex-direction: column; align-items: stretch; gap: 0.6rem; }
  .steps-mini li { justify-content: flex-start; font-size: 1rem; }
  .cards-grid, .diensten-compact, .steps, .greview-wall { grid-template-columns: 1fr; }
  .greview-wall .greview:nth-child(even), .greview-wall .greview:nth-child(even).in-view { transform: none; }
  .service-block { flex-direction: column; padding: 1.7rem 1.5rem; }
  .photo-band { grid-template-columns: 1fr; }
  .photo-band img { aspect-ratio: 4 / 3; }
  .gsummary, .gsummary-lg { padding: 1.3rem 1.4rem; }
  .gsummary-text { margin-right: 0; }
  .greview-lg { padding: 1.8rem 1.6rem 1.5rem; }
  .greview-lg p { font-size: 1.06rem; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .to-top { bottom: 86px; }
  .rot-badge { width: 92px; height: 92px; top: -20px; left: -10px; }
  .wave { height: 50px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Kennisbank: overzicht + artikelpagina's
   ============================================================ */

/* ---------- Overzichtsraster ---------- */
.kb-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.kb-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--blue-light-2); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 6px 22px rgba(29,49,96,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.kb-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.kb-card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.kb-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.kb-card:hover .kb-card-media img { transform: scale(1.05); }
.kb-card-body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.kb-tag {
  align-self: flex-start; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue-deep); background: var(--blue-light); padding: 0.35em 0.9em; border-radius: 99px; margin-bottom: 0.85rem;
}
.kb-card-body h3 { font-size: 1.28rem; line-height: 1.2; margin-bottom: 0.6rem; }
.kb-card-body h3 a { color: var(--blue-dark); }
.kb-card-body h3 a:hover { color: var(--blue-deep); }
.kb-card-body p { color: var(--muted); font-size: 0.97rem; margin-bottom: 1.1rem; }
.kb-card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.kb-date { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.kb-readmore { color: var(--blue-deep); font-weight: 700; font-size: 0.92rem; }
.kb-readmore .arrow { transition: transform 0.3s ease; display: inline-block; }
.kb-card:hover .kb-readmore .arrow { transform: translateX(4px); }

/* ---------- Artikelkop ---------- */
.article-hero { padding: 9.5rem 0 2.5rem; background: linear-gradient(180deg, var(--blue-light) 0%, var(--white) 100%); }
.article-hero .kb-tag { margin-bottom: 1.1rem; }
.article-hero h1 { max-width: 20ch; }
.article-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.4rem;
  margin-top: 1.4rem; color: var(--muted); font-size: 0.92rem; font-weight: 600;
}
.article-meta .am-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.article-meta .am-item svg { width: 17px; height: 17px; fill: none; stroke: var(--blue-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.article-meta .am-sep { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-soft); }
.article-figure { margin: 0 0 0; }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 16 / 8; object-fit: cover; }

/* ---------- Artikeltekst (prose) ---------- */
.article-body { font-size: 1.07rem; color: #2c4760; }
.article-body > * + * { margin-top: 1.2rem; }
.article-body h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2.8rem; }
.article-body h2 + p { margin-top: 1rem; }
.article-body h3 { font-size: 1.22rem; color: var(--blue-deep); margin-top: 1.9rem; }
.article-body p { line-height: 1.75; }
.article-body a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--blue-soft); }
.article-body a:hover { text-decoration-color: var(--blue-deep); }
.article-body strong { color: var(--blue-dark); }
.article-body ul, .article-body ol { padding-left: 0; list-style: none; display: grid; gap: 0.6rem; }
.article-body ul li { padding-left: 1.7em; position: relative; }
.article-body ul li::before { content: "✓"; position: absolute; left: 0; color: var(--blue-deep); font-weight: 800; }
.article-body ol { counter-reset: li; }
.article-body ol li { padding-left: 2.2em; position: relative; }
.article-body ol li::before {
  counter-increment: li; content: counter(li); position: absolute; left: 0; top: 0.05em;
  width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--blue-light); color: var(--blue-deep);
  font-weight: 800; font-size: 0.82em; display: grid; place-items: center;
}
.article-body blockquote {
  border-left: 4px solid var(--gold); background: var(--blue-light); border-radius: 0 14px 14px 0;
  padding: 1.2rem 1.5rem; font-family: var(--font-head); font-style: italic; font-size: 1.18rem; color: var(--blue-dark);
}

/* ---------- Kerntakeaways / infoblok ---------- */
.callout {
  background: var(--white); border: 1px solid var(--blue-light-2); border-top: 5px solid var(--blue);
  border-radius: var(--radius); padding: 1.6rem 1.8rem; box-shadow: 0 6px 22px rgba(29,49,96,0.06);
}
.callout h2, .callout h3 { margin-top: 0; }
.callout-gold { border-top-color: var(--gold); }
.callout .checklist { margin: 0.9rem 0 0; }

/* ---------- In-artikel CTA ---------- */
.article-cta {
  margin-top: 2.4rem; background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-deep) 100%);
  color: var(--white); border-radius: 22px; padding: 2.3rem 2.4rem; box-shadow: var(--shadow);
}
.article-cta h2, .article-cta h3 { color: var(--white); margin-top: 0; }
.article-cta p { color: #cfe9f7; margin: 0.6rem 0 1.4rem; }
.article-cta .btn-primary { background: var(--gold); color: var(--blue-dark); }
.article-cta .btn-primary:hover { background: var(--gold-light); box-shadow: 0 16px 38px rgba(201,162,77,0.45); }

/* ---------- Gerelateerde artikelen ---------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.related-card {
  background: var(--white); border: 1px solid var(--blue-light-2); border-radius: 16px; padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.related-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-soft); }
.related-card .kb-tag { margin-bottom: 0.3rem; }
.related-card h3 { font-size: 1.08rem; line-height: 1.25; }
.related-card h3 a { color: var(--blue-dark); }
.related-card span { color: var(--muted); font-size: 0.85rem; font-weight: 600; margin-top: auto; }

@media (max-width: 760px) {
  .kb-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .article-hero { padding-top: 8rem; }
}
