/*
Theme Name: Van den Burg 2026
Theme URI: https://vandenburgaccountants.nl
Author: Van den Burg Accountants & Adviseurs
Author URI: https://vandenburgaccountants.nl
Description: Nieuw ontwerp voor Van den Burg Accountants & Adviseurs: headerbeeld over de volle breedte met menu en kop over de foto, zwevende glaskaartjes en rustige secties in bruin, zand en bordeaux. De homepage en contactpagina bestaan uit bewerkbare contentblokken (block patterns): teksten, foto's, knoppen en links pas je aan in de blok-editor. Contactgegevens voor menu en footer staan in de Customizer. Vereist PHP 8.5.
Version: 1.3.0
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.5
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vandenburg-2026
Tags: one-column, custom-logo, custom-menu, editor-style, block-patterns, block-styles, wide-blocks
*/

/* =========================================================
   Tokens
   ========================================================= */
:root {
  --brown-950: #2a2012;
  --brown-900: #44341d;
  --brown-800: #5a452c;
  --brown-600: #6b5741;
  --sand: #eae1d5;
  --cream: #faf7f2;
  --accent: #4a0f19;        /* bordeaux */
  --accent-deep: #330a11;
  --accent-soft: #e9b4b9;   /* light bordeaux, for use on dark brown */
  --ink: #181818;
  --muted: #5d5246;
  --line: rgba(68, 52, 29, .12);
  --white: #ffffff;

  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-soft: 0 1px 2px rgba(42,32,18,.05), 0 14px 36px -14px rgba(42,32,18,.22);
  --shadow-float: 0 2px 8px rgba(42,32,18,.10), 0 28px 56px -18px rgba(42,32,18,.45);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --edge: 12px;              /* gap around the rounded sand-coloured services block */

  --f-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Cormorant Garamond", Georgia, serif;

  /* Icons (used as masks, so the colour comes from CSS) */
  --i-calculator: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M8 7h8M8 11h1M12 11h1M16 11h0M8 15h1M12 15h1M8 18h1M12 18h4M16 15v0'/%3E%3C/svg%3E");
  --i-chat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15V6a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2H8l-4 3z'/%3E%3Cpath d='M20 9v8l-3-2h-6a2 2 0 0 1-2-2'/%3E%3C/svg%3E");
  --i-user: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-7 8-7s8 2.6 8 7'/%3E%3C/svg%3E");
  --i-document: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h9l3 3v15H6z'/%3E%3Cpath d='M9 12l2 2 4-4M9 17h6'/%3E%3C/svg%3E");
  --i-trend: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8M15 7h6v6'/%3E%3C/svg%3E");
  --i-building: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20h16M6 20V10l6-5 6 5v10M10 20v-5h4v5'/%3E%3C/svg%3E");
  --i-coins: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='6' rx='7' ry='3'/%3E%3Cpath d='M5 6v6c0 1.7 3.1 3 7 3s7-1.3 7-3V6M5 12v6c0 1.7 3.1 3 7 3s7-1.3 7-3v-6'/%3E%3C/svg%3E");
  --i-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E");
  --i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E");
  --i-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  margin: 0;
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 400; font-family: var(--f-sans); }
h3 { font-size: 24px; letter-spacing: -.015em; line-height: 1.2; font-weight: 500; }
p { margin: 0; }
strong { font-weight: 600; }
h1 em, h2 em, h3 em, .vdb-lead em {
  font-family: var(--f-serif); font-style: italic; font-weight: 500;
  letter-spacing: -.005em; color: var(--accent); font-size: 1.08em;
}
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.vdb-skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.vdb-skip:focus { top: 16px; }

.vdb-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* All spacing inside the theme's blocks is handled with gap,
   so the editor's default block margins are reset here. */
body .wp-block-group[class*="vdb-"] > *,
body ul[class*="vdb-"] > li { margin-block: 0; }
body [class*="vdb-"] figure.wp-block-image,
body figure.wp-block-image[class*="vdb-"] { margin: 0; }
body ul[class*="vdb-"] { list-style: none; margin: 0; padding: 0; }

/* =========================================================
   Buttons — block styles (Bordeaux / Donkerbruin / Wit / Glas)
   and the same look for the theme's own links (.vdb-btn)
   ========================================================= */
.vdb-btn,
.wp-block-button[class*="is-style-vdb-"] .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 7px 7px 7px 24px; min-height: 54px;
  border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--f-sans); letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .4s var(--ease), background-color .3s, color .3s, box-shadow .4s var(--ease);
}
.vdb-btn__dot,
.wp-block-button[class*="is-style-vdb-"]:not(.is-style-vdb-glass) .wp-block-button__link::after {
  display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%;
  font-size: 17px; transition: transform .4s var(--ease);
}
.wp-block-button[class*="is-style-vdb-"]:not(.is-style-vdb-glass) .wp-block-button__link::after { content: "→"; }
.vdb-btn:hover,
.wp-block-button[class*="is-style-vdb-"] .wp-block-button__link:hover { transform: translateY(-2px); }
.vdb-btn:hover .vdb-btn__dot,
.wp-block-button[class*="is-style-vdb-"] .wp-block-button__link:hover::after { transform: rotate(-45deg); }

.vdb-btn--accent,
.wp-block-button.is-style-vdb-accent .wp-block-button__link { background: var(--accent); color: var(--white); box-shadow: 0 14px 30px -14px rgba(74,15,25,.9); }
.vdb-btn--accent .vdb-btn__dot,
.wp-block-button.is-style-vdb-accent .wp-block-button__link::after { background: var(--cream); color: var(--accent); }
.vdb-btn--accent:hover,
.wp-block-button.is-style-vdb-accent .wp-block-button__link:hover { background: var(--accent-deep); color: var(--white); }

.vdb-btn--dark,
.wp-block-button.is-style-vdb-dark .wp-block-button__link { background: var(--brown-900); color: var(--white); }
.vdb-btn--dark .vdb-btn__dot,
.wp-block-button.is-style-vdb-dark .wp-block-button__link::after { background: var(--accent); color: var(--white); }
.vdb-btn--dark:hover,
.wp-block-button.is-style-vdb-dark .wp-block-button__link:hover { background: var(--brown-950); color: var(--white); }

.vdb-btn--light,
.wp-block-button.is-style-vdb-light .wp-block-button__link { background: var(--white); color: var(--brown-900); }
.vdb-btn--light .vdb-btn__dot,
.wp-block-button.is-style-vdb-light .wp-block-button__link::after { background: var(--brown-900); color: var(--white); }

.wp-block-button.is-style-vdb-glass .wp-block-button__link {
  padding: 0 24px; color: var(--white);
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.wp-block-button.is-style-vdb-glass .wp-block-button__link:hover { background: rgba(255,255,255,.22); color: var(--white); }

.vdb-btn--sm { min-height: 46px; padding: 5px 5px 5px 20px; font-size: 14px; }
.vdb-btn--sm .vdb-btn__dot { width: 36px; height: 36px; }

.wp-block-buttons[class] { gap: 12px; }

/* =========================================================
   Site header — laid over the first (dark) block
   ========================================================= */
.site-header {
  position: absolute; z-index: 20;
  top: 0; left: 0; right: 0;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px max(clamp(18px, 3vw, 36px), calc((100% - var(--wrap)) / 2));
}
.site-header__logo { display: block; }
.site-header__logo .site-logo { width: clamp(150px, 15vw, 190px); height: auto; }
.site-header__links {
  display: flex; gap: 4px; padding: 6px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.site-header__links a {
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  color: rgba(255,255,255,.9); font-size: 15px; font-weight: 500;
  transition: background-color .3s, color .3s;
}
.site-header__links a:hover, .site-header__links a[aria-current] { background: rgba(255,255,255,.16); color: var(--white); }
.site-header__toggle { display: none; }
.site-header__item { position: relative; display: flex; }
.site-header__item.has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.site-header__sub {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; min-width: 230px;
  display: grid; gap: 2px; padding: 8px; border-radius: 18px;
  background: var(--cream); box-shadow: var(--shadow-float);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .25s, transform .3s var(--ease), visibility .25s;
}
.site-header__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.site-header__item:hover .site-header__sub,
.site-header__item:focus-within .site-header__sub { opacity: 1; visibility: visible; transform: none; }
.site-header__links .site-header__sub a { color: var(--brown-900); padding: 10px 14px; border-radius: 12px; white-space: nowrap; }
.site-header__links .site-header__sub a:hover,
.site-header__links .site-header__sub a[aria-current] { background: var(--sand); color: var(--brown-900); }
.site-header__mobile a.is-sub:not(.vdb-btn) { padding: 8px 14px 8px 32px; font-weight: 400; font-size: 15px; color: var(--muted); }

.site-header__mobile {
  position: absolute; top: 84px; left: var(--edge); right: var(--edge);
  display: flex; flex-direction: column; gap: 4px; padding: 14px;
  background: var(--cream); border-radius: var(--radius-md); box-shadow: var(--shadow-float);
}
.site-header__mobile[hidden] { display: none; }
.site-header__mobile a:not(.vdb-btn) { padding: 12px 14px; border-radius: 12px; font-weight: 500; text-decoration: none; }
.site-header__mobile a:not(.vdb-btn):hover { background: var(--sand); }
.site-header__mobile .vdb-btn { justify-content: center; margin-top: 8px; padding: 0 24px; }
body.admin-bar .site-header__mobile { top: 84px; }

/* =========================================================
   Block: Header met foto (.vdb-hero)
   ========================================================= */
.vdb-hero {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 0;
  min-height: clamp(640px, 96vh, 960px);
  background: var(--brown-900);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 130px;
}
.vdb-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(42,32,18,.92) 0%, rgba(42,32,18,.72) 32%, rgba(42,32,18,.18) 62%, rgba(42,32,18,0) 80%),
    linear-gradient(0deg, rgba(42,32,18,.75) 0%, rgba(42,32,18,0) 45%),
    linear-gradient(180deg, rgba(42,32,18,.45) 0%, rgba(42,32,18,0) 22%);
}
body .vdb-hero > .vdb-hero__img { position: absolute; inset: 0; z-index: -2; margin: 0; }
.vdb-hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; }
.js .vdb-hero__img img { animation: vdb-settle 2.2s var(--ease) both; transform-origin: 70% 40%; }
@keyframes vdb-settle { from { transform: scale(1.12); filter: saturate(.7) brightness(.85); } to { transform: none; filter: none; } }

.vdb-hero__copy {
  display: grid; gap: 34px; justify-items: start;
  padding: 0 0 clamp(36px, 6vw, 72px) max(clamp(20px, 4.5vw, 64px), calc((100% - var(--wrap)) / 2));
  max-width: calc(1000px + max(clamp(20px, 4.5vw, 64px), calc((100% - var(--wrap)) / 2))); color: var(--white);
}
.vdb-hero__title { font-size: clamp(40px, 5.2vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; color: var(--white); }
.vdb-hero__title em { color: var(--accent-soft); font-size: 1.1em; }
.js .vdb-hero__title { animation: vdb-rise 1.1s var(--ease) both; }
@keyframes vdb-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }

.vdb-hero__floats {
  position: absolute; right: max(clamp(20px, 3vw, 40px), calc((100% - var(--wrap)) / 2)); bottom: clamp(36px, 6vw, 72px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
}
.vdb-glass {
  color: var(--white);
  background: rgba(42,32,18,.32);
  border: 1px solid rgba(255,255,255,.26);
  backdrop-filter: blur(18px) saturate(1.2); -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
}
.vdb-glass--stat { display: flex; align-items: center; gap: 16px; padding: 18px 22px; max-width: 300px; }
.vdb-glass__big { font-size: 46px; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--accent-soft); }
.vdb-glass__label { font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.9); }
.vdb-glass--list { padding: 18px 22px 20px; width: 260px; display: grid; gap: 10px; }
.vdb-glass__title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
body .vdb-checks { display: grid; gap: 8px; }
.vdb-checks li { position: relative; display: flex; align-items: center; gap: 10px; font-size: 15px; }
.vdb-checks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--accent); }
.vdb-checks li::after {
  content: ""; position: absolute; left: 3px; top: 50%; width: 12px; height: 12px; margin-top: -6px;
  background: var(--white); -webkit-mask: var(--i-check) center / contain no-repeat; mask: var(--i-check) center / contain no-repeat;
}

/* =========================================================
   Block: Dienstenstrook (.vdb-strip)
   ========================================================= */
body ul.vdb-strip {
  width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.vdb-strip li + li { border-left: 1px solid var(--line); }
.vdb-strip a {
  display: flex; align-items: baseline; gap: 12px; justify-content: center;
  padding: 26px 12px; font-size: 17px; font-weight: 500; color: var(--brown-900); text-decoration: none;
  transition: color .3s;
}
.vdb-strip a strong { font-size: 12px; font-weight: 600; color: var(--accent); letter-spacing: .08em; }
.vdb-strip a:hover { color: var(--accent); }

/* =========================================================
   Sections (shared)
   ========================================================= */
.vdb-section {
  width: calc(100% - var(--gutter) * 2); max-width: var(--wrap); margin-inline: auto;
  padding-block: clamp(72px, 10vw, 140px);
}
.vdb-section-title { font-size: clamp(30px, 3.6vw, 46px); }
.vdb-pagehead + .vdb-services { margin-top: clamp(32px, 5vw, 64px); }
.vdb-services > .vdb-section-title { font-size: clamp(32px, 4.4vw, 54px); max-width: 760px; }

/* Icon tiles: add a class like `vdb-icon-phone` to a card, contact line or list item */
.vdb-pillars li, .vdb-card, .vdb-line { position: relative; }
.vdb-pillars li::before, .vdb-card::before, .vdb-line::before {
  content: ""; position: absolute; width: 52px; height: 52px; border-radius: 16px; background: var(--sand);
}
.vdb-pillars li::after, .vdb-card::after, .vdb-line::after {
  content: ""; position: absolute; width: 24px; height: 24px;
  background: var(--brown-800);
  -webkit-mask: var(--vdb-icon, var(--i-check)) center / contain no-repeat; mask: var(--vdb-icon, var(--i-check)) center / contain no-repeat;
}
.vdb-icon-calculator { --vdb-icon: var(--i-calculator); }
.vdb-icon-chat { --vdb-icon: var(--i-chat); }
.vdb-icon-user { --vdb-icon: var(--i-user); }
.vdb-icon-document { --vdb-icon: var(--i-document); }
.vdb-icon-trend { --vdb-icon: var(--i-trend); }
.vdb-icon-building { --vdb-icon: var(--i-building); }
.vdb-icon-coins { --vdb-icon: var(--i-coins); }
.vdb-icon-phone { --vdb-icon: var(--i-phone); }
.vdb-icon-mail { --vdb-icon: var(--i-mail); }
.vdb-icon-pin { --vdb-icon: var(--i-pin); }

/* =========================================================
   Block: Over ons
   ========================================================= */
.vdb-about { border-top: 1px solid var(--line); display: grid; gap: clamp(36px, 5vw, 64px); }
.vdb-lead {
  max-width: 980px;
  font-size: clamp(26px, 3.4vw, 42px); font-weight: 300; line-height: 1.25; letter-spacing: -.02em;
  color: var(--brown-900);
}
.vdb-lead strong { font-weight: 600; }
.vdb-about__body { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.vdb-about__text { display: grid; gap: 20px; color: var(--muted); justify-items: start; }
.vdb-about__text strong { color: var(--ink); }
.vdb-about__text .wp-block-buttons { margin-top: 8px; }
body .vdb-pillars { display: grid; gap: 14px; }
.vdb-pillars li {
  display: flex; align-items: center; min-height: 96px;
  padding: 22px 24px 22px 94px; border-radius: var(--radius-md);
  background: var(--white); box-shadow: var(--shadow-soft);
  font-size: 18px; font-weight: 500; color: var(--brown-900);
  transition: transform .5s var(--ease);
}
.vdb-pillars li:not(:has(> a)):hover { transform: translateX(6px); }
.vdb-pillars li::before { left: 24px; top: 50%; margin-top: -26px; }
.vdb-pillars li::after { left: 38px; top: 50%; margin-top: -12px; }

/* =========================================================
   Block: Diensten (kaarten)
   ========================================================= */
.vdb-services {
  margin: 0 var(--edge); border-radius: var(--radius-xl); background: var(--sand);
  padding: clamp(64px, 9vw, 120px) max(var(--gutter), calc((100% - var(--wrap)) / 2));
  display: grid; gap: clamp(36px, 5vw, 60px);
}
.vdb-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.vdb-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 26px 32px; border-radius: var(--radius-lg);
  background: var(--cream); color: var(--ink); box-shadow: var(--shadow-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
body .vdb-cards > .vdb-card:nth-child(even) { margin-top: 40px; }
.vdb-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.vdb-card::before { left: 26px; top: 28px; }
.vdb-card::after { left: 40px; top: 42px; }
.vdb-card__num { text-align: right; line-height: 52px; margin-bottom: 18px !important; font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--accent); }
.vdb-card p:not(.vdb-card__num) { font-size: 15px; line-height: 1.7; color: var(--muted); }
.vdb-card.is-style-vdb-card-dark { background: var(--brown-900); color: var(--white); }
.vdb-card.is-style-vdb-card-dark h3 { color: var(--white); }
.vdb-card.is-style-vdb-card-dark p:not(.vdb-card__num) { color: rgba(255,255,255,.78); }
.vdb-card.is-style-vdb-card-dark .vdb-card__num { color: var(--accent-soft); }
.vdb-card.is-style-vdb-card-dark::before { background: rgba(255,255,255,.1); }
.vdb-card.is-style-vdb-card-dark::after { background: var(--accent-soft); }

/* =========================================================
   Block: Werkwijze
   ========================================================= */
.vdb-approach { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.vdb-approach__media { position: relative; }
.vdb-photo img { width: 100%; aspect-ratio: 4 / 4.6; max-height: 680px; object-fit: cover; border-radius: var(--radius-xl); }
body .vdb-approach__media > .vdb-badge {
  position: absolute; right: -24px; bottom: 36px;
  display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px;
  background: rgba(250,247,242,.85); color: var(--brown-900); border-color: rgba(255,255,255,.6);
}
.vdb-badge__logo img { width: 44px; height: 44px; border-radius: 50%; background: var(--brown-900); }
.vdb-badge p { font-size: 13px; line-height: 1.4; color: var(--muted); }
.vdb-badge p strong { font-size: 15px; color: var(--brown-900); }
.vdb-approach__copy { display: grid; gap: 24px; }
.vdb-approach__copy > p { color: var(--muted); }
body .vdb-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.vdb-tags li {
  padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  background: var(--white); border: 1px solid var(--line); color: var(--brown-900);
}

/* =========================================================
   Block: Sparren (CTA)
   ========================================================= */
.vdb-section.vdb-cta {
  padding: 0; display: grid; grid-template-columns: 1.1fr 1fr; overflow: hidden;
  border-radius: var(--radius-xl); background: var(--brown-900); color: var(--white);
}
.vdb-cta__copy { padding: clamp(40px, 6vw, 80px); display: grid; gap: 24px; align-content: center; justify-items: start; }
.vdb-cta__copy h2 { font-weight: 300; color: var(--white); }
.vdb-cta__copy h2 em { color: var(--accent-soft); }
.vdb-cta__copy p { color: rgba(255,255,255,.8); max-width: 520px; }
.vdb-cta__copy .wp-block-buttons { margin-top: 8px; }
body .vdb-cta > .vdb-cta__media { min-height: 420px; position: relative; }
.vdb-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }

/* =========================================================
   Block: Contact
   ========================================================= */
.vdb-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.vdb-contact__info { display: grid; gap: 34px; }
.vdb-lines { display: grid; gap: 12px; }
.vdb-line {
  display: grid; gap: 2px; align-content: center; min-height: 84px;
  padding: 16px 20px 16px 84px;
  border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-soft);
  font-weight: 500; color: var(--brown-900); line-height: 1.45; overflow-wrap: anywhere;
  transition: transform .5s var(--ease);
}
.vdb-line:hover { transform: translateX(6px); }
.vdb-line::before { left: 16px; top: 50%; margin-top: -26px; }
.vdb-line::after { left: 30px; top: 50%; margin-top: -12px; }
.vdb-line a { text-decoration: none; }
.vdb-line a:hover { color: var(--accent); }
.vdb-line__label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }

.vdb-contact__form { padding: clamp(24px, 4vw, 44px); border-radius: var(--radius-xl); background: var(--sand); }

/* Contact form (shortcode) — Gravity Forms gets a matching look below */
.vdb-form { display: grid; gap: 18px; }
.vdb-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; margin: 0; padding: 0; border: 0; min-width: 0; }
.vdb-form__row legend { float: left; width: 100%; grid-column: 1 / -1; padding: 0; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--brown-900); }
.vdb-field { display: grid; gap: 8px; align-content: start; font-size: 14px; font-weight: 600; color: var(--brown-900); min-width: 0; }
.vdb-sub { font-size: 13px; font-weight: 400; color: var(--muted); }
.vdb-req { font-family: var(--f-sans); font-style: normal; font-weight: 400; font-size: 12px; color: var(--brown-600); }
.vdb-field input, .vdb-field textarea,
.vdb-contact__form .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.vdb-contact__form .gform_wrapper textarea,
.vdb-contact__form .gform_wrapper select {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid transparent; background: var(--cream);
  font: 400 16px/1.4 var(--f-sans); color: var(--ink);
  transition: border-color .3s, box-shadow .3s;
}
.vdb-field textarea { resize: vertical; min-height: 120px; }
.vdb-field input:focus, .vdb-field textarea:focus,
.vdb-contact__form .gform_wrapper :is(input, textarea, select):focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(74,15,25,.18); }
.vdb-form .is-invalid { border-color: #b4472c; }
.vdb-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.vdb-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--brown-900); flex: none; }
.vdb-check strong { color: var(--brown-900); margin-right: 6px; }
.vdb-check.is-invalid span { color: #b4472c; }
.vdb-form .vdb-btn { justify-self: start; }
.vdb-form__ok { font-size: 14px; color: var(--brown-800); }
.vdb-contact__form .gform_wrapper .gform_button,
.vdb-contact__form .gform_wrapper input[type="submit"] {
  min-height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--brown-900); color: var(--white); font: 600 15px/1 var(--f-sans);
}
.vdb-contact__form .gform_wrapper .gform_button:hover { background: var(--accent); }
.vdb-contact__form .gform_wrapper .gfield_label { font-weight: 600; color: var(--brown-900); }

/* Link under each service card */
.vdb-card__more { margin-top: auto !important; padding-top: 6px; font-size: 14px; font-weight: 600; }
.vdb-card__more a { color: var(--accent); text-decoration: none; }
.vdb-card__more a::after { content: " →"; transition: margin .3s var(--ease); }
.vdb-card__more a:hover::after { margin-left: 4px; }
.vdb-card.is-style-vdb-card-dark .vdb-card__more a { color: var(--accent-soft); }

/* =========================================================
   Block: Vakgebieden
   ========================================================= */
.vdb-facts { display: grid; grid-template-columns: minmax(240px, .8fr) 2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.vdb-facts__stat {
  display: grid; gap: 10px; align-content: center; min-height: 260px;
  padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-xl);
  background: var(--brown-900); color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.4;
}
.vdb-facts__big { font-size: clamp(64px, 8vw, 104px); font-weight: 300; line-height: 1; letter-spacing: -.05em; color: var(--accent-soft); }
.vdb-facts__body { display: grid; gap: 28px; }
body .vdb-pillars--grid { grid-template-columns: repeat(2, 1fr); }

/* =========================================================
   Block: Dienst (uitleg + checklist) and Andere diensten
   ========================================================= */
.vdb-service { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.vdb-service__text { display: grid; gap: 32px; justify-items: start; }
.vdb-service__text .vdb-lead { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; }
.vdb-service__card {
  display: grid; gap: 16px; padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft);
}
.vdb-service__card-title { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.vdb-service__card .vdb-checks { gap: 14px; }
.vdb-service__card .vdb-checks li { font-size: 17px; color: var(--brown-900); align-items: flex-start; line-height: 1.4; }
.vdb-service__card .vdb-checks li::before { margin-top: 1px; }
.vdb-service__card .vdb-checks li::after { top: 4px; margin-top: 0; }
.vdb-service + .vdb-approach,
.vdb-about + .vdb-facts,
.vdb-facts + .vdb-approach { padding-top: 0; }

.vdb-related { display: grid; gap: 32px; border-top: 1px solid var(--line); }
body .vdb-pillars--links { grid-template-columns: repeat(3, 1fr); }
/* A label with a link becomes a button: the whole card is clickable */
.vdb-pillars li:has(> a) { padding: 0; border: 1px solid transparent; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.vdb-pillars li > a {
  display: flex; align-items: center; gap: 16px; width: 100%; min-height: 96px; padding: 22px 24px 22px 94px;
  border-radius: inherit; text-decoration: none; color: inherit; cursor: pointer;
}
.vdb-pillars li > a::after {
  content: "→"; display: grid; place-items: center; flex: none; margin-left: auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--sand); color: var(--accent); font-size: 17px;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.vdb-pillars li:has(> a):hover { transform: translateY(-3px); box-shadow: var(--shadow-float); border-color: rgba(74,15,25,.18); }
.vdb-pillars li > a:hover::after,
.vdb-pillars li > a:focus-visible::after { background: var(--accent); color: var(--white); transform: rotate(-45deg); }
.vdb-pillars li > a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* =========================================================
   Block: Paginakop (.vdb-pagehead) + template title band
   ========================================================= */
.vdb-pagehead {
  margin: 0;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(74,15,25,.35) 0%, rgba(74,15,25,0) 55%),
    var(--brown-900);
  color: var(--white);
  padding: clamp(140px, 16vw, 200px) max(clamp(20px, 4.5vw, 64px), calc((100% - var(--wrap)) / 2)) clamp(48px, 6vw, 80px);
  display: grid; gap: 18px;
}
.vdb-pagehead--photo {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(440px, 58vh, 580px); align-content: end;
  background: var(--brown-900);
}
body .vdb-pagehead--photo > .vdb-pagehead__img { position: absolute; inset: 0; z-index: -2; margin: 0; }
.vdb-pagehead__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.js .vdb-pagehead__img img { animation: vdb-settle 2s var(--ease) both; transform-origin: 60% 40%; }
/* Transparent brown layer over the photo */
.vdb-pagehead--photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(68,52,29,.93) 0%, rgba(68,52,29,.84) 40%, rgba(68,52,29,.64) 75%, rgba(68,52,29,.55) 100%),
    linear-gradient(180deg, rgba(42,32,18,.55) 0%, rgba(42,32,18,0) 30%),
    linear-gradient(0deg, rgba(42,32,18,.45) 0%, rgba(42,32,18,0) 40%);
}
.vdb-pagehead__title { max-width: 980px; font-size: clamp(36px, 4.6vw, 64px); font-weight: 300; line-height: 1.08; color: var(--white); }
.vdb-pagehead__title em { color: var(--accent-soft); }
.vdb-pagehead__lead { max-width: 640px; color: rgba(255,255,255,.8); font-size: 18px; }
.vdb-pagehead__back { font-size: 14px; font-weight: 600; }
.vdb-pagehead__back a { color: rgba(255,255,255,.75); text-decoration: none; }
.vdb-pagehead__back a:hover { color: var(--white); }
.vdb-pagehead__meta { font-size: 14px; color: rgba(255,255,255,.7); }

/* =========================================================
   Regular page / post content
   ========================================================= */
.vdb-prose {
  width: calc(100% - var(--gutter) * 2); max-width: 760px; margin: 0 auto;
  padding-block: clamp(48px, 7vw, 96px);
}
.vdb-prose > * + * { margin-top: 1.1em; }
.vdb-prose h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 1.6em; }
.vdb-prose h3 { margin-top: 1.4em; }
.vdb-prose a:not(.vdb-btn):not(.wp-block-button__link) { color: var(--accent); }
.vdb-prose .alignwide { width: min(var(--wrap), calc(100vw - var(--gutter) * 2)); max-width: none; margin-inline: calc((min(var(--wrap), calc(100vw - var(--gutter) * 2)) - 100%) / -2); }
.vdb-prose__thumb { border-radius: var(--radius-lg); margin-bottom: 2em; }
.vdb-prose__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vdb-prose__back { margin-top: 3em !important; }

.vdb-posts { padding-block: clamp(48px, 7vw, 96px); }
.vdb-posts__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.vdb-post-card { display: grid; gap: 10px; align-content: start; padding: 18px 18px 28px; border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-soft); }
.vdb-post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); }
.vdb-post-card__date { font-size: 13px; color: var(--accent); font-weight: 600; }
.vdb-post-card__title { font-size: 22px; font-weight: 500; }
.vdb-post-card__title a { text-decoration: none; }
.vdb-post-card p:last-child { font-size: 15px; color: var(--muted); }
.vdb-posts .nav-links { display: flex; gap: 8px; margin-top: 40px; }
.vdb-posts .page-numbers { padding: 8px 14px; border-radius: 999px; background: var(--white); text-decoration: none; }
.vdb-posts .page-numbers.current { background: var(--brown-900); color: var(--white); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  margin: 0;
  background: var(--brown-900); color: rgba(255,255,255,.82);
  padding: clamp(48px, 7vw, 88px) 0 28px;
}
.site-footer a { text-decoration: none; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer__brand .site-logo { width: clamp(200px, 22vw, 280px); height: auto; }
.site-footer__follow { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.vdb-social {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px;
  background: rgba(255,255,255,.1); text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--white);
  transition: background-color .3s;
}
.vdb-social svg { width: 18px; height: 18px; fill: currentColor; }
.vdb-social:hover { background: var(--accent); }
.site-footer__title { font-size: 15px; font-weight: 600; color: var(--white); margin-bottom: 16px; letter-spacing: 0; }
.site-footer address { font-style: normal; line-height: 1.9; font-size: 15px; overflow-wrap: anywhere; }
.site-footer__links { display: grid; gap: 6px; font-size: 15px; }
.site-footer a:not(.vdb-social):hover { color: var(--accent-soft); }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
  font-size: 14px; color: rgba(255,255,255,.6);
}

/* =========================================================
   Motion (classes are added by script.js — without JS nothing is hidden)
   ========================================================= */
.vdb-reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.vdb-reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .vdb-reveal { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .vdb-cards { grid-template-columns: repeat(2, 1fr); }
  body .vdb-cards > .vdb-card:nth-child(even) { margin-top: 0; }
  .vdb-hero__floats { display: none; }
}

@media (max-width: 900px) {
  .site-header__links, .site-header__cta { display: none; }
  .site-header__toggle {
    display: grid; place-content: center; gap: 6px;
    width: 48px; height: 48px; border-radius: 50%; cursor: pointer; padding: 0;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .site-header__toggle span { display: block; width: 18px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s var(--ease); }
  .site-header__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .site-header__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .vdb-hero__img img { object-position: 70% 30%; }
  .vdb-hero::before {
    background:
      linear-gradient(0deg, rgba(42,32,18,.95) 0%, rgba(42,32,18,.7) 45%, rgba(42,32,18,.1) 75%),
      linear-gradient(180deg, rgba(42,32,18,.55) 0%, rgba(42,32,18,0) 25%);
  }
  .vdb-about__body, .vdb-approach, .vdb-contact, .vdb-section.vdb-cta, .vdb-facts, .vdb-service { grid-template-columns: 1fr; }
  body .vdb-pillars--links { grid-template-columns: 1fr; }
  .vdb-facts__stat { min-height: 0; }
  body .vdb-approach__media > .vdb-badge { right: 16px; bottom: 16px; }
  body .vdb-cta > .vdb-cta__media { min-height: 360px; order: -1; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  body ul.vdb-strip { grid-template-columns: repeat(2, 1fr); }
  .vdb-strip li:nth-child(3) { border-left: 0; }
  .vdb-strip li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

@media (max-width: 600px) {
  :root { --edge: 8px; --radius-xl: 28px; }
  body { font-size: 16px; }
  .vdb-hero { min-height: 88svh; }
  .vdb-hero__copy { padding: 0 20px 28px; justify-items: stretch; }
  .vdb-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .vdb-hero .wp-block-button { width: 100%; }
  .vdb-hero .wp-block-button__link { width: 100%; justify-content: space-between; }
  .vdb-hero .is-style-vdb-glass .wp-block-button__link { justify-content: center; min-height: 52px; }
  .vdb-cards { grid-template-columns: 1fr; }
  body .vdb-pillars--grid { grid-template-columns: 1fr; }
  .vdb-strip a { padding: 18px 8px; font-size: 15px; }
  .vdb-form__row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
