/*
Theme Name: Leadrise
Theme URI: https://leadrise.nl
Author: Leadrise
Author URI: https://leadrise.nl
Description: Maatwerk thema voor Leadrise — SEO-bureau. Gebouwd uit het Claude Design handoff-pakket.
Version: 0.1.18
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: leadrise
*/

/* =========================================================================
   1. Design tokens
   ========================================================================= */
:root {
  /* Navy / dark surfaces */
  --navy: #0D2440;
  --navy-card: #122E4F;
  --navy-line: #1E3A5C;
  --navy-pill-border: #2C4A70;

  /* Text on light */
  --text-heading: #1B2B40;
  --text-body: #33445C;
  --text-case: #47586E;
  --text-secondary: #5B6B80;
  --text-muted: #7A8AA0;
  --text-placeholder: #9AA7B8;

  /* Text on navy */
  --on-navy-body: #C3D2E4;
  --on-navy-light: #E4EBF4;
  --on-navy-label: #7A9CC4;
  --on-navy-kicker: #4BA3F5;

  /* Orange */
  --orange: #F79009;
  --orange-hover: #E07F05;
  --orange-dark: #B96C07;
  --orange-light: #FEF6EA;

  /* Links & misc */
  --link: #1273C8;
  --link-hover: #0D2440;
  --result-title: #1558B0;

  /* Surfaces & lines */
  --surface: #F5F7FA;
  --border: #E4E9F0;
  --line-light: #EEF1F5;
  --border-dotted: #D7DEE8;

  /* States */
  --success-bg: #E8F5EC;
  --success-fg: #1E7A3C;
  --error: #B42318;

  /* Navy button hover */
  --navy-hover: #143560;

  /* Shadows */
  --shadow-navy: 0 16px 48px rgba(0,0,0,0.30);
  --shadow-card: 0 1px 3px rgba(13,36,64,0.06);

  /* Layout */
  --maxw: 1440px;
  --gutter: 72px;
  --radius-btn: 8px;
  --radius-card: 16px;
  --radius-lg: 20px;
}

/* =========================================================================
   2. Reset & base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text-heading);
  font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* safety net against horizontal scroll */
}

img { max-width: 100%; }

/* Let grid/flex tracks shrink below their content's min-content width,
   so long non-wrapping text never forces horizontal overflow. */
.hero__inner > *,
.view__grid > *,
.cases__grid > *,
.expertise__grid > *,
.review__grid > *,
.about__grid > *,
.search-card__bar > *,
.search-result__head > * { min-width: 0; }

a { color: var(--link); text-decoration: none; transition: color 150ms ease; }
a:hover { color: var(--link-hover); }

h1, h2, h3, h4 { margin: 0; font-weight: 800; color: var(--text-heading); letter-spacing: -0.01em; }
p { margin: 0; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Scroll reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 400ms ease, transform 400ms ease;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding-top: 88px; padding-bottom: 88px; }
.section--navy { background: var(--navy); color: #fff; }
.section--surface { background: var(--surface); }

.kicker {
  color: var(--link);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
}
.kicker--navy { color: var(--on-navy-kicker); }

.lead { font-size: 18px; line-height: 1.65; color: var(--text-secondary); }

/* =========================================================================
   4. Buttons & links
   ========================================================================= */
.btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  font-family: inherit;
  border-radius: var(--radius-btn);
  font-weight: 700;
  text-align: center;
  transition: background-color 150ms ease, color 150ms ease;
}
.btn-orange {
  background: var(--orange);
  color: #fff;
  padding: 16px 32px;
  font-size: 16.5px;
}
.btn-orange:hover { background: var(--orange-hover); color: #fff; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  padding: 13px 24px;
  font-size: 15.5px;
  white-space: nowrap;
}
.btn-navy:hover { background: var(--navy-hover); color: #fff; }

.textlink { font-size: 16px; font-weight: 700; color: var(--link); }
.textlink:hover { color: var(--link-hover); }
.textlink--navy { color: var(--on-navy-kicker); }
.textlink--navy:hover { color: #fff; }

/* =========================================================================
   5. Header / navigation
   ========================================================================= */
.site-header { background: var(--navy); color: #fff; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 26px;
  padding-bottom: 26px;
}
.site-logo { display: block; }
.site-logo img { height: 32px; display: block; }
/* WordPress custom-logo (Weergave → Aanpassen → Logo) */
.site-header .custom-logo-link { display: block; line-height: 0; }
.site-header .custom-logo { height: 32px; width: auto; display: block; }
.site-footer .custom-logo { height: 28px; width: auto; display: block; margin-bottom: 20px; }
.mobile-nav__top .custom-logo-link { line-height: 0; }
.mobile-nav__top .custom-logo { height: 24px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 36px; font-size: 16px; font-weight: 700; list-style: none; margin: 0 0 0 auto; padding: 0; }
/* WordPress rendert menu-items als een <ul>/<li>-lijst: bolletjes en inspringing weg. */
.main-nav ul { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.main-nav li { list-style: none; margin: 0; padding: 0; }
.main-nav a { color: #fff; text-decoration: none; }
.main-nav a:hover { color: var(--orange); }
.main-nav a.is-active,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a { color: var(--orange); }

.nav-toggle { display: none; background: none; border: none; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; }
.nav-toggle span + span { margin-top: 5px; }

.header-cta { white-space: nowrap; }

/* Cookiebanner (AVG-toestemming) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; background: var(--navy); color: #fff; box-shadow: 0 -4px 24px rgba(0,0,0,0.18); }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.cookie-banner__text { margin: 0; font-size: 14.5px; line-height: 1.55; max-width: 760px; color: var(--on-navy-light); }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-shrink: 0; }
.cookie-banner .btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.45); }
.cookie-banner .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
@media (max-width: 600px) {
  .cookie-banner__inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner__actions { justify-content: flex-end; }
}

/* Mobile full-screen nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 1000;
  background: var(--navy); color: #fff;
  display: none;
  flex-direction: column;
  padding: 24px 20px 40px;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 48px; }
.mobile-nav__top img { height: 24px; display: block; }
.mobile-nav__close { background: none; border: none; color: #fff; font-size: 34px; line-height: 1; cursor: pointer; padding: 0 8px; }
.mobile-nav__links { display: flex; flex-direction: column; gap: 28px; list-style: none; margin: 0; padding: 0; }
.mobile-nav__links ul { display: flex; flex-direction: column; gap: 28px; list-style: none; margin: 0; padding: 0; }
.mobile-nav__links li { list-style: none; margin: 0; padding: 0; }
.mobile-nav__links a { color: #fff; font-size: 24px; font-weight: 800; text-decoration: none; }
.mobile-nav__links a:hover { color: var(--orange); }
.mobile-nav__cta { margin-top: auto; }
.mobile-nav__cta .btn { display: block; width: 100%; }

/* =========================================================================
   6. Footer
   ========================================================================= */
.site-footer { background: var(--navy); color: #fff; padding: 64px 0 32px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-line);
}
.site-footer img { height: 28px; display: block; margin-bottom: 20px; }
.footer-tagline { font-size: 15.5px; line-height: 1.6; color: var(--on-navy-body); max-width: 320px; }
.footer-col__title {
  font-size: 14px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--on-navy-label); margin-bottom: 18px; text-transform: uppercase;
}
.footer-col__links { display: flex; flex-direction: column; gap: 12px; font-size: 15.5px; list-style: none; margin: 0; padding: 0; }
.footer-col__links ul { display: flex; flex-direction: column; gap: 12px; list-style: none; margin: 0; padding: 0; }
.footer-col__links li { list-style: none; margin: 0; padding: 0; }
.footer-col__links a { color: var(--on-navy-light); text-decoration: none; }
.footer-col__links a:hover { color: #fff; }
.footer-address { font-size: 15.5px; line-height: 1.7; color: var(--on-navy-light); }
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 28px; font-size: 14px; color: var(--text-muted);
}
.site-footer__bottom .links { display: flex; gap: 28px; }
.site-footer__bottom a { color: var(--text-muted); }
.site-footer__bottom a:hover { color: #fff; }

/* =========================================================================
   7. CTA block (shared, bottom of pages)
   ========================================================================= */
.cta-block { padding: 96px 0; }
.cta-card {
  background: var(--navy); color: #fff;
  border-radius: var(--radius-lg);
  padding: 80px 96px; text-align: center;
}
.cta-card h2 { font-size: 40px; line-height: 1.15; margin: 0 auto 20px; max-width: 720px; color: #fff; }
.cta-card p { font-size: 17.5px; line-height: 1.65; color: var(--on-navy-body); max-width: 640px; margin: 0 auto 32px; }

/* =========================================================================
   8. Home — hero
   ========================================================================= */
.hero { background: var(--navy); color: #fff; }
.hero__inner {
  padding-top: 88px; padding-bottom: 104px;
  display: grid; grid-template-columns: 1fr 560px; gap: 80px; align-items: center;
}
.hero h1 { font-size: 58px; line-height: 1.12; margin: 0 0 24px; color: #fff; }
.hero__intro { font-size: 19.5px; line-height: 1.6; color: var(--on-navy-body); max-width: 560px; margin: 0 0 40px; }

/* Illustrative "search result" card */
.search-card {
  background: #fff; color: var(--text-heading);
  border-radius: var(--radius-card); padding: 32px; box-shadow: var(--shadow-navy);
}
.search-card__bar {
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid var(--border); border-radius: 999px; padding: 14px 22px; margin-bottom: 26px;
}
.search-card__glass {
  width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--text-placeholder);
  position: relative; display: inline-block; flex-shrink: 0;
}
.search-card__glass::after {
  content: ""; position: absolute; width: 2.5px; height: 7px; background: var(--text-placeholder);
  transform: rotate(-45deg); right: -3px; bottom: -4px; border-radius: 2px;
}
.search-card__term { font-size: 16.5px; font-weight: 600; }
.search-card__vol { margin-left: auto; font-size: 13px; color: var(--text-placeholder); white-space: nowrap; }
.search-result { padding: 4px 6px; }
.search-result__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.search-result__fav {
  width: 26px; height: 26px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: var(--text-secondary); flex-shrink: 0;
}
.search-result__site { font-size: 14px; font-weight: 700; }
.search-result__url { font-size: 12.5px; color: var(--text-secondary); }
.badge-rank {
  margin-left: auto; background: var(--success-bg); color: var(--success-fg);
  font-size: 12.5px; font-weight: 800; padding: 4px 12px; border-radius: 999px;
}
.search-result__title { font-size: 18px; font-weight: 700; color: var(--result-title); margin-bottom: 4px; }
.search-result__desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.search-card__more { border-top: 1px solid var(--line-light); margin-top: 22px; padding: 18px 6px 2px; }
.search-card__more-label { font-size: 13.5px; color: var(--text-placeholder); margin-bottom: 10px; }
.skeleton-lines { display: flex; flex-direction: column; gap: 10px; }
.skeleton-lines span { height: 11px; border-radius: 6px; background: var(--line-light); display: block; }

/* =========================================================================
   9. Home — client logos
   ========================================================================= */
.logos { padding: 40px 0; border-bottom: 1.5px solid var(--line-light); }
.logos__inner { display: flex; align-items: center; gap: 48px; }
.logos__label { font-size: 14px; font-weight: 700; color: var(--text-muted); white-space: nowrap; }
.logos__row { display: flex; align-items: center; justify-content: space-between; flex: 1; gap: 40px; flex-wrap: wrap; }
.logo-slot {
  width: 160px; height: 48px; display: flex; align-items: center; justify-content: center;
  color: var(--text-placeholder); font-size: 14px; font-weight: 700;
  border: 1px dashed var(--border-dotted); border-radius: 8px;
}
.logo-slot img { max-height: 48px; max-width: 160px; object-fit: contain; }
.logo-slot--img { border: none; border-radius: 0; background: none; text-decoration: none; width: auto; height: auto; min-width: 120px; }
.logo-slot--img .logo-img { max-height: 44px; max-width: 200px; width: auto; height: auto; object-fit: contain; display: block; }

/* =========================================================================
   10. Home — "Onze kijk op SEO"
   ========================================================================= */
.view { padding: 96px 0 88px; }
.view__head { text-align: center; margin-bottom: 48px; }
.view__head h2 { font-size: 54px; line-height: 1.1; margin: 0 auto; max-width: 860px; letter-spacing: -0.015em; }
.view__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.view-card { background: var(--surface); border-radius: var(--radius-card); padding: 44px 48px; }
.view-card h3 { font-size: 22px; margin: 0 0 16px; }
.view-card p { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }
.view-card strong { color: var(--text-heading); }

/* =========================================================================
   11. Home — cases
   ========================================================================= */
.cases { padding: 0 0 88px; }
.cases__head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 44px; }
.cases__head h2 { font-size: 38px; }
.cases__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.case-card {
  border: 1.5px solid var(--border); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column;
}
.case-card__img { width: 100%; height: 280px; object-fit: cover; display: block; }
.case-card__body { padding: 36px 40px 40px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.case-card__tag { font-size: 14px; font-weight: 700; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; }
.case-card__title { font-size: 25px; line-height: 1.25; }
.case-card__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-top: auto; }
.case-card__stats { display: flex; gap: 40px; }
.stat__num { font-size: 26px; font-weight: 800; color: var(--orange); }
.stat__label { font-size: 14px; color: var(--text-muted); }
.cases__all { display: flex; justify-content: flex-end; }

/* =========================================================================
   12. Home — why Leadrise
   ========================================================================= */
.why h2 { font-size: 38px; margin: 0 0 44px; }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { background: #fff; border-radius: 14px; padding: 36px 32px; box-shadow: var(--shadow-card); }
.why-card h3 { font-size: 20px; margin: 0 0 12px; }
.why-card p { font-size: 15.5px; line-height: 1.65; color: var(--text-secondary); }

/* =========================================================================
   13. Home — expertise (navy, three layers)
   ========================================================================= */
.expertise__grid { display: grid; grid-template-columns: 440px 1fr; gap: 80px; align-items: start; }
.expertise__intro h2 { font-size: 38px; line-height: 1.15; margin: 0 0 20px; color: #fff; }
.expertise__intro p { font-size: 17.5px; line-height: 1.7; color: var(--on-navy-body); margin: 0 0 28px; }
.layers { display: flex; flex-direction: column; gap: 16px; }
.layer {
  background: var(--navy-card); border-radius: var(--radius-card);
  padding: 36px 40px; display: grid; grid-template-columns: 56px 1fr; gap: 24px; align-items: start;
}
.layer__num { font-size: 32px; font-weight: 800; color: var(--orange); line-height: 1; }
.layer h3 { font-size: 22px; margin: 0 0 10px; color: #fff; }
.layer p { font-size: 16px; line-height: 1.65; color: var(--on-navy-body); margin: 0 0 14px; }
.layer__meta { font-size: 14.5px; color: var(--on-navy-label); }

/* =========================================================================
   14. Home — review
   ========================================================================= */
.review__grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.review__intro h2 { font-size: 38px; line-height: 1.15; margin: 0 0 16px; }
.review__intro p { font-size: 17px; line-height: 1.65; color: var(--text-secondary); }
.quote-card { border: 1.5px solid var(--border); border-radius: var(--radius-card); padding: 44px 48px; }
.quote-card__mark { font-size: 40px; line-height: 0.6; color: var(--orange); font-weight: 800; margin-bottom: 20px; }
.quote-card__text { font-size: 23px; line-height: 1.5; font-weight: 700; color: var(--text-heading); margin-bottom: 28px; }
.quote-card__author { display: flex; align-items: center; gap: 14px; font-size: 15.5px; color: var(--text-muted); }
.quote-card__author strong { color: var(--text-heading); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  color: var(--text-placeholder); font-size: 12px; font-weight: 700;
}
.avatar--initials { background: var(--navy); color: #fff; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; }

/* =========================================================================
   15. Home — about
   ========================================================================= */
.about__grid { display: grid; grid-template-columns: 420px 1fr; gap: 80px; align-items: center; }
.about__photo { width: 420px; height: 500px; display: block; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-card); }
.about h2 { font-size: 38px; line-height: 1.15; margin: 0 0 22px; }
.about p { font-size: 17.5px; line-height: 1.7; color: var(--text-secondary); max-width: 600px; margin: 0 0 28px; }
.checklist { display: flex; flex-direction: column; gap: 14px; font-size: 16.5px; line-height: 1.55; color: var(--text-body); max-width: 560px; }
.checklist > div { display: flex; gap: 12px; }
.check { color: var(--orange); font-weight: 800; flex-shrink: 0; }

/* =========================================================================
   16. Responsive — tablet (768–1279)
   ========================================================================= */
@media (max-width: 1279px) {
  :root { --gutter: 40px; }

  .hero__inner { grid-template-columns: 1fr 44%; gap: 48px; }
  .hero h1 { font-size: 48px; }
  .view__head h2 { font-size: 42px; }

  .why__grid { grid-template-columns: 1fr 1fr; }
  .expertise__grid { grid-template-columns: 1fr; gap: 40px; }
  .review__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__grid { grid-template-columns: 40% 1fr; gap: 48px; }
  .about__photo { width: 100%; height: auto; aspect-ratio: 42 / 50; }
}

/* =========================================================================
   17. Responsive — mobile (≤767)
   ========================================================================= */
@media (max-width: 767px) {
  :root { --gutter: 20px; }

  .section { padding-top: 56px; padding-bottom: 56px; }

  /* Header */
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { padding: 11px 20px; font-size: 15px; }
  .site-logo img { height: 24px; }

  /* Hero */
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
  .hero h1 { font-size: 33px; }
  .hero__intro { font-size: 17px; }
  .hero .btn-orange { display: block; width: 100%; }
  .search-card { padding: 20px; }
  .search-card__vol { display: none; } /* illustratief; weggelaten op mobiel, net als in het ontwerp */

  /* Logos */
  .logos__inner { flex-direction: column; align-items: stretch; gap: 16px; }
  .logos__label { text-align: center; }
  .logos__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .logo-slot { width: 100%; height: 36px; }
  .logo-slot--img .logo-img { max-height: 32px; max-width: 100%; }

  /* View */
  .view { padding: 56px 0; }
  .view__head h2 { font-size: 30px; }
  .view__grid { grid-template-columns: 1fr; }
  .view-card { padding: 32px 28px; }

  /* Cases */
  .cases__grid { grid-template-columns: 1fr; }
  .case-card__body { padding: 28px 24px 32px; }
  .case-card__title { font-size: 21px; }
  .case-card__foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .case-card__stats { gap: 28px; }
  .btn-navy { width: 100%; }

  /* Why */
  .why__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .why h2 { font-size: 28px; }
  .why-card { padding: 24px 20px; }

  /* Expertise */
  .expertise__intro h2 { font-size: 28px; }
  .layer { padding: 28px 24px; grid-template-columns: 40px 1fr; gap: 16px; }

  /* Review */
  .review__intro h2 { font-size: 28px; }
  .quote-card { padding: 32px 28px; }
  .quote-card__text { font-size: 19px; }

  /* About */
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .about__photo { width: 100%; height: auto; aspect-ratio: 42 / 50; }
  .about h2 { font-size: 28px; }

  /* CTA */
  .cta-block { padding: 56px 0; }
  .cta-card { padding: 44px 28px; }
  .cta-card h2 { font-size: 28px; }
  .cta-card .btn-orange { display: block; width: 100%; }

  /* Footer */
  .site-footer__cols { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* =========================================================================
   18. Page hero (navy intro band, shared by sub-pages)
   ========================================================================= */
.page-hero { background: var(--navy); color: #fff; }
.page-hero__inner { padding-top: 80px; padding-bottom: 96px; }
.page-hero h1 { font-size: 54px; line-height: 1.12; margin: 0 0 24px; color: #fff; }
.page-hero p { font-size: 19px; line-height: 1.65; color: var(--on-navy-body); margin: 0; }
.page-hero .measure { max-width: 900px; }
.page-hero p.measure { max-width: 640px; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 440px; gap: 88px; align-items: center; }
.page-hero__photo { width: 440px; height: 520px; display: block; object-fit: cover; object-position: 50% 30%; border-radius: var(--radius-card); box-shadow: var(--shadow-navy); }

/* Light CTA card variant (SEO / Over) */
.cta-card--light { background: var(--surface); color: var(--text-heading); padding: 72px 96px; }
.cta-card--light h2 { color: var(--text-heading); font-size: 38px; max-width: 680px; margin: 0 auto 16px; }
.cta-card--light p { color: var(--text-secondary); max-width: 560px; }

/* =========================================================================
   19. SEO page — service rows
   ========================================================================= */
.service-row__grid { display: grid; grid-template-columns: 380px 1fr; gap: 80px; align-items: start; }
.service-row__num { font-size: 48px; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 18px; }
.service-row h2 { font-size: 36px; line-height: 1.15; margin: 0 0 16px; }
.service-row__intro p { font-size: 17px; line-height: 1.7; color: var(--text-secondary); margin: 0; }
.service-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.service-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 30px 32px; display: flex; flex-direction: column; gap: 10px; }
.service-card h3 { font-size: 19px; margin: 0; }
.service-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; flex: 1; }
.service-card .textlink { margin-top: 8px; font-size: 15px; }

.situations h2 { font-size: 36px; color: #fff; margin: 0 0 14px; }
.situations__intro { font-size: 17px; line-height: 1.65; color: var(--on-navy-body); max-width: 640px; margin: 0 0 44px; }
.situations__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.situation-card { background: var(--navy-card); border-radius: 14px; padding: 30px 28px; }
.situation-card h3 { font-size: 18px; color: #fff; margin: 0 0 8px; }
.situation-card p { font-size: 15px; line-height: 1.6; color: var(--on-navy-body); margin: 0; }

/* =========================================================================
   20. Cases overview
   ========================================================================= */
.filters { padding: 32px 0; border-bottom: 1.5px solid var(--line-light); }
.filters__inner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.pill { font-size: 14.5px; font-weight: 700; padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--border); color: var(--text-case); background: #fff; cursor: pointer; font-family: inherit; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.pill:hover { border-color: var(--navy); }
.pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }

.case-wide { display: grid; grid-template-columns: 560px 1fr; border: 1.5px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.case-wide + .case-wide { margin-top: 32px; }
.case-wide__img { width: 100%; height: 440px; object-fit: cover; display: block; }
.case-wide__body { padding: 48px 56px; display: flex; flex-direction: column; }
.case-wide__body--left { order: -1; } /* image on the right on alternating cards */
.case-wide h2 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; }
.case-wide__sum { font-size: 16.5px; line-height: 1.65; color: var(--text-secondary); margin: 0 0 28px; max-width: 520px; }
.tagrow { display: flex; gap: 10px; margin-bottom: 22px; flex-wrap: wrap; }
.tagpill { background: var(--surface); color: var(--text-case); font-size: 13.5px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.statrow { display: flex; gap: 40px; margin-bottom: 28px; flex-wrap: wrap; }
.statrow .stat__num { font-size: 26px; }
.case-wide .textlink { margin-top: auto; }

.teaser { border: 1.5px dashed var(--border-dotted); border-radius: var(--radius-lg); padding: 44px 56px; display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.teaser__title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.teaser p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); margin: 0 0 14px; max-width: 560px; }
.btn-outline { border: 1.5px solid var(--border); color: var(--text-heading); background: #fff; padding: 14px 28px; white-space: nowrap; }
.btn-outline:hover { border-color: var(--navy); color: var(--text-heading); }

.cta-bar { background: var(--navy); color: #fff; padding: 80px 0; }
.cta-bar__inner { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.cta-bar h2 { font-size: 38px; line-height: 1.15; margin: 0 0 12px; color: #fff; max-width: 680px; }
.cta-bar p { font-size: 17px; line-height: 1.6; color: var(--on-navy-body); margin: 0; }

/* =========================================================================
   21. Case detail page
   ========================================================================= */
.case-hero__grid { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: center; }
.breadcrumb { font-size: 14.5px; font-weight: 700; color: var(--on-navy-label); margin-bottom: 20px; }
.breadcrumb a { color: var(--on-navy-body); }
.case-hero h1 { font-size: 44px; line-height: 1.18; margin: 0 0 40px; color: #fff; }
.tagrow--navy .tagpill { background: transparent; border: 1px solid var(--navy-pill-border); color: var(--on-navy-body); }
.case-hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.bigstat__num { font-size: 30px; font-weight: 800; color: var(--orange); }
.bigstat__label { font-size: 14.5px; color: var(--on-navy-body); margin-top: 2px; }
.case-hero__photo { width: 100%; height: 560px; object-fit: cover; display: block; border-radius: var(--radius-card); box-shadow: 0 12px 40px rgba(0,0,0,0.30); }

.case-body { display: grid; grid-template-columns: 720px 1fr; gap: 96px; padding-top: 72px; }
.case-article .lead-para { font-size: 20px; line-height: 1.7; color: var(--text-body); font-weight: 600; margin: 0 0 48px; }
.case-article h2 { font-size: 30px; margin: 0 0 16px; }
.case-article p { font-size: 17.5px; line-height: 1.75; color: var(--text-case); margin: 0 0 40px; }
.case-article h2:not(:first-child) { margin-top: 16px; }
.case-article em { font-style: italic; }

.steps { display: flex; flex-direction: column; gap: 20px; margin: 0 0 56px; }
.step { background: var(--surface); border-radius: 14px; padding: 36px 40px; }
.step__head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.step__num { font-size: 15px; font-weight: 800; color: var(--orange); }
.step h3 { font-size: 21px; margin: 0; }
.step p { font-size: 16.5px; line-height: 1.7; color: var(--text-case); margin: 0; }
.step p + p { margin-top: 16px; }

.figure { border: 1.5px solid var(--border); border-radius: 14px; padding: 28px 32px; margin: 0 0 24px; }
.figure img { width: 100%; display: block; border-radius: 6px; }
.figure figcaption { font-size: 14.5px; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }
.figure figcaption strong { color: var(--text-case); }
.figure-placeholder { width: 100%; height: 380px; border: 1.5px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-placeholder); font-size: 15px; font-weight: 700; padding: 24px; margin: 0 0 24px; }

.pullquote { border-left: 3px solid var(--orange); padding: 4px 0 4px 32px; margin: 0 0 56px; }
.pullquote p { font-size: 19px; line-height: 1.7; color: var(--text-body); font-weight: 600; margin: 0; }

.callout { background: var(--orange-light); border-radius: 14px; padding: 32px 40px; margin: 0 0 56px; }
.callout__label { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: var(--orange-dark); margin-bottom: 12px; text-transform: uppercase; }
.callout p { font-size: 16.5px; line-height: 1.7; color: var(--text-case); margin: 0; }

.infobox { background: var(--surface); border-radius: 14px; padding: 32px 40px; margin: 0 0 72px; }
.infobox__label { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 14px; text-transform: uppercase; }
.infobox__list { display: flex; flex-direction: column; gap: 8px; font-size: 16px; color: var(--text-body); }

.case-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 24px; align-self: start; }
.aside-card { background: var(--surface); border-radius: 14px; padding: 36px; }
.aside__label { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 20px; text-transform: uppercase; }
.aside__list { display: flex; flex-direction: column; gap: 18px; font-size: 15.5px; line-height: 1.55; color: var(--text-body); }
.aside__list dt { font-weight: 800; margin-bottom: 2px; }
.aside__list dd { margin: 0; }
.aside-cta { background: var(--navy); color: #fff; border-radius: 14px; padding: 36px; }
.aside-cta h3 { font-size: 19px; color: #fff; margin: 0 0 10px; }
.aside-cta p { font-size: 15.5px; line-height: 1.6; color: var(--on-navy-body); margin: 0 0 24px; }
.aside-cta .btn { display: block; width: 100%; }

.next-case { border-top: 1.5px solid var(--border); padding: 40px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.next-case__label { font-size: 14px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.02em; }
.next-case__title { font-size: 20px; font-weight: 800; }

/* =========================================================================
   22. Contact page
   ========================================================================= */
.contact__grid { display: grid; grid-template-columns: 1fr 560px; gap: 96px; align-items: start; padding-top: 88px; padding-bottom: 96px; }
.contact__intro h1 { font-size: 48px; line-height: 1.12; margin: 0 0 20px; }
.contact__intro > p { font-size: 18px; line-height: 1.65; color: var(--text-secondary); max-width: 520px; margin: 0 0 48px; }
.contact-cards { display: flex; flex-direction: column; gap: 16px; }
.contact-card { background: var(--surface); border-radius: 14px; padding: 24px 28px; display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; }
.contact-card__label { font-size: 14px; font-weight: 800; letter-spacing: 0.04em; color: var(--text-muted); text-transform: uppercase; }
.contact-card__val { font-size: 16.5px; line-height: 1.7; color: var(--text-heading); }

.contact-form { background: var(--surface); border-radius: var(--radius-lg); padding: 48px; margin-top: 44px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label { font-size: 14.5px; font-weight: 700; color: var(--text-heading); }
.field label .optional { font-weight: 400; color: var(--text-placeholder); }
.field input, .field textarea {
  background: #fff; border: 1.5px solid var(--border); border-radius: 8px;
  padding: 15px 16px; font-size: 15.5px; font-family: inherit; color: var(--text-heading);
  width: 100%; transition: border-color 150ms ease;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-placeholder); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); }
.field textarea { min-height: 120px; resize: vertical; }
.field--error input, .field--error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: 13.5px; display: none; }
.field--error .field__error { display: block; }
.contact-form .btn-orange { display: block; width: 100%; margin-top: 4px; }
.form-success { background: var(--success-bg); color: var(--success-fg); border-radius: 8px; padding: 18px; font-weight: 700; text-align: center; }

/* =========================================================================
   23. Over page — split text sections
   ========================================================================= */
.split { display: grid; grid-template-columns: 420px 1fr; gap: 96px; align-items: start; }
.split__title h2 { font-size: 38px; line-height: 1.15; margin: 0; }
.split__body p { font-size: 18px; line-height: 1.75; color: var(--text-body); margin: 0 0 20px; }
.split__body p:last-child { margin-bottom: 0; }
.split--navy h2 { color: #fff; font-size: 36px; }
.split--navy .split__title p { font-size: 17px; line-height: 1.65; color: var(--on-navy-body); margin: 16px 0 0; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.pair .card { border: 1.5px solid var(--border); border-radius: 14px; padding: 28px 30px; }
.pair .card h3 { font-size: 18px; margin: 0 0 8px; }
.pair .card p { font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); margin: 0; }
.checklist--navy { font-size: 17px; color: var(--on-navy-light); gap: 18px; padding-top: 8px; max-width: none; }

/* =========================================================================
   24. Responsive for sub-pages — tablet (768–1279)
   ========================================================================= */
@media (max-width: 1279px) {
  .page-hero h1 { font-size: 44px; }
  .page-hero__grid { grid-template-columns: 1fr 40%; gap: 48px; }
  .page-hero__photo { width: 100%; height: auto; aspect-ratio: 44 / 52; }

  .service-row__grid { grid-template-columns: 1fr; gap: 32px; }
  .situations__grid { grid-template-columns: 1fr 1fr; }

  .case-wide, .case-wide--reverse { grid-template-columns: 1fr; }
  .case-wide__img { height: 320px; }
  .case-wide__body--left { order: 0; }

  .cta-bar__inner { flex-direction: column; align-items: flex-start; gap: 24px; }
  .teaser { flex-direction: column; align-items: flex-start; gap: 24px; }

  .case-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .case-hero__photo { height: auto; aspect-ratio: 52 / 56; max-width: 520px; }
  .case-body { grid-template-columns: 1fr; gap: 48px; }
  .case-aside { position: static; }

  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form { margin-top: 0; }

  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================================
   25. Responsive for sub-pages — mobile (≤767)
   ========================================================================= */
@media (max-width: 767px) {
  .page-hero__inner { padding-top: 48px; padding-bottom: 56px; }
  .page-hero h1 { font-size: 32px; }
  .page-hero p { font-size: 17px; }

  .service-cards { grid-template-columns: 1fr; }
  .service-row h2 { font-size: 28px; }
  .service-row__num { font-size: 40px; }
  .situations__grid { grid-template-columns: 1fr; }
  .situations h2 { font-size: 28px; }

  .filters { padding: 20px 0; }
  .filters__inner { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .pill { white-space: nowrap; }
  .case-wide__img { height: 220px; }
  .case-wide__body { padding: 28px 24px; }
  .case-wide h2 { font-size: 23px; }
  .statrow { gap: 20px 28px; }
  .teaser { padding: 28px 24px; }
  .btn-outline { width: 100%; text-align: center; }
  .cta-bar { padding: 56px 0; }
  .cta-bar h2 { font-size: 28px; }
  .cta-bar .btn-orange { display: block; width: 100%; }

  .case-hero h1 { font-size: 30px; margin-bottom: 28px; }
  .case-hero__stats { gap: 20px 28px; }
  .bigstat__num { font-size: 26px; }
  .case-hero__photo { height: auto; aspect-ratio: 4 / 3; }
  .case-body { padding-top: 48px; }
  .case-article .lead-para { font-size: 18px; }
  .case-article h2 { font-size: 24px; }
  .case-article p { font-size: 16.5px; }
  .step { padding: 28px 24px; }
  .figure { padding: 20px; }
  .pullquote { padding-left: 20px; }
  .pullquote p { font-size: 17px; }
  .callout, .infobox { padding: 24px; }
  .aside-card, .aside-cta { padding: 28px; }
  .next-case { flex-direction: column; align-items: flex-start; gap: 12px; }

  .contact__grid { padding-top: 48px; padding-bottom: 56px; }
  .contact__intro h1 { font-size: 32px; }
  .contact-card { grid-template-columns: 1fr; gap: 6px; padding: 20px 22px; }
  .contact-form { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  .split__title h2, .split--navy h2 { font-size: 28px; }
  .split__body p { font-size: 16.5px; }
  .pair { grid-template-columns: 1fr; }
}

/* =========================================================================
   26. Generieke tekstpagina's (page.php / index.php / 404)
   ========================================================================= */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 30px; margin: 48px 0 16px; }
.prose h3 { font-size: 22px; margin: 36px 0 12px; }
.prose p { font-size: 17.5px; line-height: 1.75; color: var(--text-case); margin: 0 0 20px; }
.prose ul, .prose ol { font-size: 17.5px; line-height: 1.75; color: var(--text-case); padding-left: 22px; margin: 0 0 20px; }
.prose li { margin-bottom: 8px; }
.prose img { border-radius: var(--radius-card); height: auto; }
.prose a { color: var(--link); text-decoration: underline; }
.not-found { text-align: center; padding: 96px 0; }
.not-found h1 { font-size: 48px; margin: 0 0 16px; }
.not-found p { font-size: 18px; color: var(--text-secondary); margin: 0 0 32px; }
@media (max-width: 767px) {
  .prose h2 { font-size: 24px; }
  .not-found { padding: 56px 0; }
  .not-found h1 { font-size: 32px; }
}
