/* Braun Notaris Barneveld - vernieuwde huisstijl
   Bron van waarheid voor kleuren, type en vorm. Oranje #FF7F00 en indigo #393E64 komen uit het logo.
   Vorm: media en panelen recht (0), interactieve elementen 3px, tabbladen 4px aan de bovenkant. */

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-up.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-it.woff2") format("woff2");
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --orange: #ff7f00;
  --orange-soft: #fff1e3;
  --orange-ink: #b35400;
  --indigo: #393e64;
  --indigo-deep: #23263f;
  --indigo-night: #1b1d30;
  --ink: #262a40;
  --ink-soft: #4f5371;
  --line: #dcdee8;
  --line-soft: #e9eaf1;
  --surface: #ffffff;
  --band: #f3f3f6;
  --on-orange: #1d2040;
  /* Knoporanje: iets dieper dan #FF7F00 zodat witte, grote vette tekst 3,2:1 haalt (WCAG AA groot) */
  --orange-btn: #e66e00;
  --orange-btn-hover: #d46400;
  --on-indigo: #ffffff;
  --on-indigo-soft: #c9cbda;
  --focus: #ff7f00;
  --logo-ink: #414141;
  --shadow: 0 1px 2px rgb(35 38 63 / .06), 0 8px 24px -8px rgb(35 38 63 / .16);
  --shadow-lift: 0 2px 4px rgb(35 38 63 / .06), 0 18px 40px -12px rgb(35 38 63 / .26);

  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --step--1: .9375rem;
  --step-0: 1.125rem;
  --step-1: 1.3125rem;
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 1.875rem);
  --step-3: clamp(1.875rem, 1.45rem + 1.7vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.6rem + 2.6vw, 3.375rem);

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(4rem, 3rem + 4vw, 7rem);
  --radius: 3px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --orange-soft: #2c2433;
    --orange-ink: #ffa04d;
    --indigo: #c9cdf0;
    --ink: #e7e8f1;
    --ink-soft: #b6b9cf;
    --line: #34385a;
    --line-soft: #2a2d48;
    --surface: #1b1d30;
    --band: #222540;
    --logo-ink: #e7e8f1;
    --on-indigo-soft: #c9cbda;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
    --shadow-lift: 0 2px 4px rgb(0 0 0 / .3), 0 18px 40px -12px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --orange-soft: #2c2433;
  --orange-ink: #ffa04d;
  --indigo: #c9cdf0;
  --ink: #e7e8f1;
  --ink-soft: #b6b9cf;
  --line: #34385a;
  --line-soft: #2a2d48;
  --surface: #1b1d30;
  --band: #222540;
  --logo-ink: #e7e8f1;
  --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px -8px rgb(0 0 0 / .5);
  --shadow-lift: 0 2px 4px rgb(0 0 0 / .3), 0 18px 40px -12px rgb(0 0 0 / .6);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 2rem; }
/* Vloeiend scrollen pas ná het laden (klasse uit braun.js): met scroll-behavior op html
   springt de browser bij het openen van een link met anker (/familierecht/#samenwonen) niet naar het anker. */
@media (prefers-reduced-motion: no-preference) { html.is-ready { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
::selection { background: var(--orange); color: var(--on-orange); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
a { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 650; color: var(--indigo); }
h1, h2, h3, h4 {
  color: var(--indigo);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-4); line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.3; letter-spacing: 0; }
p, li { text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sc { font-variant-caps: small-caps; letter-spacing: .02em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--indigo-deep); color: #fff; padding: .6rem 1rem; border-radius: var(--radius); }
.skip:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Knoppen ---------- */
.btn {
  --bg: var(--orange-btn); --fg: #fff; --bd: var(--orange-btn);
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bd);
  border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1.1875rem; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s;
}
.btn:hover { box-shadow: 0 8px 20px -10px rgb(255 127 0 / .9); transform: translateY(-1px); }
.btn:not(.btn--line):not(.btn--light):hover { --bg: var(--orange-btn-hover); --bd: var(--orange-btn-hover); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--line { --bg: transparent; --fg: var(--indigo); --bd: var(--indigo); }
.btn--line:hover { --bg: var(--indigo); --fg: var(--surface); box-shadow: none; }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgb(255 255 255 / .7); }
.btn--light:hover { --bg: #fff; --fg: var(--indigo-deep); box-shadow: none; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 650; color: var(--orange-ink); text-decoration: none;
}
.link-arrow .icon { transition: transform .25s var(--ease); width: 1.1em; height: 1.1em; }
.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- Kop ---------- */
.topstrip { height: 6px; background: var(--orange); }
.masthead { background: var(--surface); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.4rem 1.2rem; }
.brand { display: block; width: clamp(190px, 18vw, 250px); flex: none; }
.brand svg { width: 100%; height: auto; }
.brand .logo-ink { fill: var(--logo-ink); stroke: var(--logo-ink); }
.masthead__aside { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.25rem); }
.quick { display: flex; align-items: center; gap: .75rem; color: var(--ink); text-decoration: none; line-height: 1.25; }
.quick__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-ink); flex: none; }
.quick__icon .icon { width: 22px; height: 22px; }
.quick small { display: block; font-size: .9375rem; color: var(--ink-soft); }
.quick strong { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
a.quick:hover strong { color: var(--orange-ink); }

.tabs { border-bottom: 1px solid var(--line); background: linear-gradient(to bottom, var(--surface), var(--band)); }
.tabs__list { display: flex; gap: .4rem; list-style: none; margin: 0; padding: 0; }
.tabs__list > li { margin: 0; position: relative; }
.tab {
  display: flex; align-items: center; gap: .35rem;
  height: 48px; padding: 0 1.15rem; margin-bottom: -1px;
  border: 1px solid var(--line); border-bottom-color: transparent; border-radius: 4px 4px 0 0;
  background: var(--band); color: var(--indigo);
  font: inherit; font-size: 1.0625rem; font-weight: 650; font-variant-caps: small-caps; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  box-shadow: inset 0 3px 0 transparent;
  transition: background-color .2s, box-shadow .25s var(--ease), color .2s;
}
.tab:hover { background: var(--surface); box-shadow: inset 0 3px 0 rgb(255 127 0 / .45); }
.tab[aria-current="page"], .tab.is-active { background: var(--surface); border-bottom-color: var(--surface); box-shadow: inset 0 3px 0 var(--orange); }
.tab .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.has-sub:hover .tab .icon, .has-sub:focus-within .tab .icon, .tab[aria-expanded="true"] .icon { transform: rotate(180deg); }
.sub {
  position: absolute; left: 0; top: 100%; z-index: 30; min-width: 250px;
  list-style: none; margin: 0; padding: .5rem;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .25s var(--ease), visibility 0s .25s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.is-open .sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.sub li { margin: 0; }
.sub a { display: block; padding: .55rem .75rem; color: var(--ink); text-decoration: none; border-radius: var(--radius); }
.sub a:hover, .sub a[aria-current="page"] { background: var(--band); color: var(--indigo); }
.tabs__cta { margin-left: auto; align-self: center; padding-bottom: .4rem; }
.tabs__cta .btn { min-height: 42px; padding: .45rem 1rem; }

.menu-btn { display: none; }
.drawer { display: none; }

@media (max-width: 1040px) {
  .quick--inloop { display: none; }
  .tabs__cta { display: none; }
}
@media (max-width: 860px) {
  .masthead__aside .quick { display: none; }
  .tabs { display: none; }
  .masthead__inner { padding-block: 1rem; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem 1rem;
    background: #393e64; color: #fff; border: 0; border-radius: var(--radius);
    font: inherit; font-weight: 650; cursor: pointer;
  }
  .menu-btn .icon { width: 22px; height: 22px; }
  .drawer {
    display: block; position: fixed; inset: 0; z-index: 50;
    background: var(--surface); overflow-y: auto;
    padding: 1rem var(--gutter) 2rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s, transform .3s var(--ease), visibility 0s .3s;
  }
  .drawer.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .drawer__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
  .drawer__top .brand { width: 170px; }
  .drawer nav ul { list-style: none; margin: 0; padding: 0; }
  .drawer nav li { margin: 0; border-bottom: 1px solid var(--line-soft); }
  .drawer nav a { display: flex; justify-content: space-between; align-items: center; padding: .95rem 0; color: var(--indigo); font-size: 1.25rem; font-weight: 650; text-decoration: none; }
  .drawer nav a[aria-current="page"] { color: var(--orange-ink); }
  .drawer nav ul ul a { font-size: 1.0625rem; font-weight: 500; color: var(--ink); padding: .7rem 0 .7rem 1rem; }
  .drawer nav ul ul li { border: 0; }
  .drawer__contact { display: grid; gap: .75rem; margin-top: 1.5rem; }
  .drawer__contact .btn { justify-content: center; }
}

/* ---------- Hero (home) ---------- */
.hero { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem) clamp(2.5rem, 2rem + 2vw, 4rem); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 15ch; font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem); }
.hero__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; margin-bottom: 1.75rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.slides { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--band); box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: no-preference) {
  .slide img { transform: scale(1.06); transition: transform 7.5s cubic-bezier(.2, .6, .3, 1); }
  .slide.is-active img { transform: scale(1); }
}
.slide__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem clamp(1rem, 2.5vw, 1.75rem);
  background: linear-gradient(to top, rgb(27 29 48 / .82), rgb(27 29 48 / .62));
  color: #fff; text-decoration: none;
  font-size: var(--step-2); font-weight: 600; line-height: 1.2;
}
.slide__cap .icon { width: 28px; height: 28px; transition: transform .3s var(--ease); }
.slide__cap:hover .icon { transform: translateX(5px); }
.slide__cap span { text-shadow: 0 1px 2px rgb(0 0 0 / .3); }
.slides__dots { position: absolute; top: 14px; right: 14px; z-index: 3; display: flex; gap: 8px; }
.slides__dots button {
  width: 14px; height: 14px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: rgb(255 255 255 / .2); cursor: pointer;
  transition: background-color .2s, transform .2s var(--ease);
}
.slides__dots button[aria-current="true"] { background: #fff; }
.slides__dots button:hover { transform: scale(1.15); }
.slides__dots::before { content: ""; position: absolute; inset: -10px; }

/* ---------- Feitenstrook ---------- */
.facts { background: var(--band); border-block: 1px solid var(--line-soft); }
.facts__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; list-style: none; margin: 0; padding: 1.6rem 0; }
.facts__list li { display: flex; align-items: center; gap: .85rem; margin: 0; font-size: 1.1875rem; font-weight: 600; color: var(--indigo); line-height: 1.3; }
.check { display: grid; place-items: center; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--orange); color: var(--on-orange); }
.check .icon { width: 18px; height: 18px; }

/* ---------- Secties ---------- */
.section { padding-block: var(--section); }
.section--band { background: var(--band); }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
/* De oranje balk onder het woordmerk van het logo, als regel onder sectiekoppen */
.section-head h2::after, h2.section-head::after { content: ""; display: block; width: 56px; height: 5px; margin-top: .9rem; background: var(--orange); }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); line-height: 1.5; margin: 0; }
.prose { max-width: 68ch; }
.prose > :last-child { margin-bottom: 0; }

.intro { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.intro .prose p { font-size: 1.1875rem; }

.quote { margin: 0; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); border-top: 4px solid var(--orange); box-shadow: var(--shadow); }
.section--band .quote { background: var(--surface); }
.quote .icon { width: 40px; height: 40px; color: var(--orange); margin-bottom: .5rem; }
.quote blockquote { margin: 0 0 1.25rem; font-size: var(--step-2); line-height: 1.35; font-weight: 500; color: var(--indigo); text-wrap: pretty; }
.quote figcaption { font-size: 1rem; color: var(--ink-soft); }
.quote figcaption strong { display: block; }

/* Rechtsgebieden: één grote tegel, twee liggende */
.areas { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.area {
  position: relative; display: grid; background: var(--surface); color: var(--ink); text-decoration: none;
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.area:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.area__media { overflow: hidden; background: var(--band); }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.area:hover .area__media img { transform: scale(1.04); }
.area__body { padding: clamp(1.25rem, 1rem + 1vw, 2rem); display: flex; flex-direction: column; }
.area__body h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.area__body p { color: var(--ink-soft); margin-bottom: 1rem; }
.area__body ul { list-style: none; padding: 0; margin: 0 0 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.area__body li { margin: 0; padding: .2rem .65rem; border: 1px solid var(--line); border-radius: 100px; font-size: .9375rem; color: var(--indigo); }
.area__body .link-arrow { margin-top: auto; }
.area--big { grid-row: span 2; grid-template-rows: minmax(260px, 1.1fr) auto; }
.area--wide { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }

/* Kantoorband */
.office { background: linear-gradient(160deg, #3d4270 0%, var(--indigo) 40%, var(--indigo-deep) 100%); color: var(--on-indigo); }
:root[data-theme="dark"] .office { background: linear-gradient(160deg, #2c3054 0%, #23263f 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .office { background: linear-gradient(160deg, #2c3054 0%, #23263f 100%); } }
.office__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.office__photo { margin: 0; position: relative; }
.office__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .6); }
.office__photo figcaption { margin-top: .75rem; font-size: .9375rem; color: var(--on-indigo-soft); }
.office h2, .office h3, .office strong { color: #fff; }
.office p { color: var(--on-indigo-soft); }
.office__lede { font-size: var(--step-1); line-height: 1.5; }
.inloop { margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid rgb(255 255 255 / .18); display: grid; grid-template-columns: auto 1fr; gap: 1.25rem 1.75rem; align-items: center; }
.office .inloop__time { font-size: clamp(2.5rem, 1.8rem + 3vw, 4rem); font-weight: 700; line-height: 1; color: var(--orange); font-variant-numeric: tabular-nums lining-nums; letter-spacing: -.02em; }
.office .inloop__time small { display: block; font-size: 1rem; font-weight: 650; letter-spacing: .02em; color: #fff; margin-bottom: .35rem; font-variant-caps: small-caps; }
.inloop p { margin: 0; }
.perks { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .6rem; }
.perks li { display: flex; gap: .7rem; align-items: center; margin: 0; color: #fff; }
.perks .icon { color: var(--orange); width: 22px; height: 22px; }

/* Twee tegels */
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.tile { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.tile img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; transition: transform .8s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.tile__media { overflow: hidden; }
.tile__body { padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); display: flex; flex-direction: column; }
.tile__body h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.tile__body p { color: var(--ink-soft); }
.tile__body .link-arrow { margin-top: auto; }

/* Notaris + tijdlijn */
.notary { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.notary__photo { margin: 0; }
.notary__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.notary .timeline { margin-top: 2.5rem; max-width: 560px; }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 3.6rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 3.6rem 1fr; gap: 1.5rem; margin: 0; padding: .55rem 0; }
.timeline time { font-weight: 700; color: var(--indigo); font-variant-numeric: tabular-nums lining-nums; }
.timeline li::before { content: ""; position: absolute; left: calc(3.6rem - 5px); top: 1.05rem; width: 12px; height: 12px; border-radius: 50%; background: var(--surface); border: 3px solid var(--orange); }
.timeline li:last-child::before { background: var(--orange); }
.timeline span { padding-left: .35rem; }
.timeline small { display: block; color: var(--ink-soft); font-size: 1rem; }

/* Contactband */
.contact-band { background: var(--band); border-top: 1px solid var(--line-soft); }
.contact-band__grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.6fr)); gap: 2rem clamp(1.5rem, 3vw, 3rem); align-items: start; }
.contact-band h2 { font-size: var(--step-2); }
.cinfo h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.0625rem; font-variant-caps: small-caps; letter-spacing: .03em; margin-bottom: .5rem; }
.cinfo h3 .icon { color: var(--orange-ink); width: 20px; height: 20px; }
.cinfo p { margin: 0; }
.cinfo a { color: var(--ink); text-decoration: none; font-weight: 600; }
.cinfo a:hover { color: var(--orange-ink); text-decoration: underline; }
.hours { margin: 0; display: grid; grid-template-columns: auto auto; justify-content: start; gap: .1rem 1.25rem; font-variant-numeric: tabular-nums; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--ink-soft); }

/* ---------- Voet ---------- */
.footer { background: linear-gradient(180deg, #363b5b 0%, #232325 100%); color: var(--on-indigo-soft); font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 2rem; padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem) 2.5rem; }
.footer h2 { color: #fff; font-size: 1.125rem; font-variant-caps: small-caps; letter-spacing: .04em; margin-bottom: .9rem; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin: 0 0 .4rem; }
.footer a { color: var(--on-indigo-soft); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__brand svg { width: 210px; margin-bottom: 1.25rem; }
.footer__brand .logo-ink { fill: #fff; stroke: #fff; }
.footer__brand p { margin: 0; line-height: 1.55; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / .12); padding-block: 1.25rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: .9375rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer__bottom li { margin: 0; }
.theme-toggle { background: none; border: 1px solid rgb(255 255 255 / .25); color: var(--on-indigo-soft); border-radius: var(--radius); padding: .3rem .7rem; font: inherit; font-size: .9375rem; cursor: pointer; }
.theme-toggle:hover { color: #fff; border-color: #fff; }

/* ---------- Subpagina's ---------- */
.page-head { background: var(--band); border-bottom: 1px solid var(--line-soft); }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.page-head--plain .page-head__grid { grid-template-columns: minmax(0, 1fr); }
.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: 1rem; color: var(--ink-soft); }
.crumbs li { margin: 0; display: flex; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line); }
.crumbs a { color: var(--ink-soft); }
.page-head h1 { max-width: 18ch; }
.page-head__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 44ch; margin: 0; }
.page-head__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; box-shadow: var(--shadow); }
.page-head__media img { width: 100%; height: 100%; object-fit: cover; }
.page-head .actions { margin-top: 1.75rem; }

.article { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.article--single { grid-template-columns: minmax(0, 1fr); }
.topic { padding-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); border-bottom: 1px solid var(--line); max-width: 70ch; }
.topic:last-of-type { border-bottom: 0; }
.topic h2 { font-size: var(--step-3); scroll-margin-top: 1.5rem; }
.topic h3 { margin-top: 1.75em; }
.topic ul li::marker { color: var(--orange); }
.callout { background: var(--orange-soft); padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.callout p:last-child { margin: 0; }
.more { margin-top: 1rem; }
.more h2 { font-size: var(--step-2); }
.chips { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: .75rem; }
.chips li { margin: 0; display: flex; gap: .65rem; align-items: center; padding: .9rem 1rem; background: var(--band); color: var(--indigo); font-weight: 600; line-height: 1.3; }
.chips .icon { color: var(--orange-ink); width: 20px; height: 20px; }

.aside { position: sticky; top: 1.5rem; display: grid; gap: 1.25rem; }
.toc { padding: 1.25rem 1.5rem; border: 1px solid var(--line); }
.toc h2 { font-size: 1.0625rem; font-variant-caps: small-caps; letter-spacing: .04em; margin-bottom: .6rem; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin: 0; }
.toc a { display: block; padding: .35rem 0 .35rem .85rem; border-left: 2px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s; }
.toc a:hover, .toc a.is-current { border-left-color: var(--orange); color: var(--indigo); font-weight: 600; background: var(--band); }
.help { padding: 1.5rem; background: var(--indigo); color: var(--on-indigo-soft); }
:root[data-theme="dark"] .help { background: #2c3054; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .help { background: #2c3054; } }
.help h2 { color: #fff; font-size: var(--step-1); }
.help p { font-size: 1rem; }
.help a:not(.btn) { color: #fff; }
.help .btn { width: 100%; justify-content: center; margin-top: .5rem; }
.help__phone { display: flex; align-items: center; gap: .6rem; font-size: 1.375rem; font-weight: 700; color: #fff !important; text-decoration: none; font-variant-numeric: tabular-nums; }
.help__phone .icon { color: var(--orange); }

.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.related .tile { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.related .tile__media { aspect-ratio: 16 / 9; }
.related .tile img { min-height: 0; }
.related .tile__body h3 { font-size: var(--step-1); overflow-wrap: anywhere; hyphens: auto; }

/* Auditrapporten */
.audits { display: grid; gap: clamp(1.25rem, 2vw, 2rem); }
.audit { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 2rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.audit__date { font-weight: 700; color: var(--indigo); font-size: var(--step-2); line-height: 1.2; }
.audit__date small { display: block; font-size: 1rem; font-weight: 500; color: var(--ink-soft); margin-top: .35rem; }
.audit blockquote { margin: 0 0 1em; font-size: 1.1875rem; color: var(--ink); }
.audit blockquote p:last-child { margin-bottom: 0; }
.audit__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 1.5rem; }
.audit__points h3 { font-size: 1.0625rem; font-variant-caps: small-caps; letter-spacing: .03em; }
.audit__points ul { list-style: none; padding: 0; margin: 0; }
.audit__points li { display: flex; gap: .6rem; align-items: flex-start; }
.audit__points li .icon { color: var(--orange-ink); width: 20px; height: 20px; margin-top: .25em; }

/* Formulier */
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); box-shadow: var(--shadow); border-top: 4px solid var(--orange); }
.form-card h2 { font-size: var(--step-2); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 650; color: var(--indigo); font-size: 1rem; }
.field label .req { color: var(--orange-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .7rem .85rem;
  border: 1.5px solid #9a9db4; border-radius: var(--radius);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 1.0625rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgb(255 127 0 / .45); }
.field .hint { font-size: 1rem; color: var(--ink-soft); }
.field .err { display: none; font-size: 1rem; font-weight: 600; color: #b3261e; }
:root[data-theme="dark"] .field .err { color: #ff8a80; }
.field.is-invalid input, .field.is-invalid select { border-color: #b3261e; }
.field.is-invalid .err { display: block; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: .25rem; }
.form__foot p { margin: 0; font-size: 1rem; color: var(--ink-soft); max-width: 46ch; }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.details { display: grid; gap: 1.75rem; }
.map { margin: 0; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: var(--band); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
.map figcaption { font-size: .9375rem; color: var(--ink-soft); padding: .5rem 0; }

/* Juridische teksten */
.legal { max-width: 72ch; }
.legal h2 { font-size: var(--step-2); margin-top: 2em; }
.legal h3 { margin-top: 1.5em; }
.legal table { width: 100%; border-collapse: collapse; font-size: 1rem; margin: 1rem 0 1.5rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: .7rem .75rem; border-bottom: 1px solid var(--line); }
.legal th { color: var(--indigo); font-variant-caps: small-caps; letter-spacing: .03em; background: var(--band); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1.5rem; }
.legal dt { font-weight: 650; color: var(--indigo); }
.legal dd { margin: 0; }
.table-scroll { overflow-x: auto; }
.updated { color: var(--ink-soft); font-size: 1rem; }

.thanks { text-align: left; max-width: 60ch; }
.thanks .check { width: 64px; height: 64px; margin-bottom: 1.5rem; }
.thanks .check .icon { width: 32px; height: 32px; }

/* Onthullen bij scrollen: inhoud blijft zichtbaar zonder JS */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
  .js .reveal-stagger.is-in > * { opacity: 1; transform: none; }
}

/* ---------- Responsief ---------- */
@media (max-width: 1040px) {
  .contact-band__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-band__grid > :first-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .hero__grid, .intro, .office__grid, .notary, .page-head__grid, .article, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1 { max-width: 16ch; }
  .areas { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .area--big { grid-row: auto; grid-template-rows: 240px auto; }
  .aside { position: static; }
  .toc { display: none; }
  .office__photo img { aspect-ratio: 4 / 3; }
  .audit { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
@media (max-width: 720px) {
  .facts__list { grid-template-columns: minmax(0, 1fr); gap: .9rem; padding: 1.25rem 0; }
  .area--wide, .tile, .related .tile { grid-template-columns: minmax(0, 1fr); }
  .area--wide .area__media, .tile__media { aspect-ratio: 16 / 9; }
  .tile img { min-height: 0; }
  .contact-band__grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }
  .audit__points { grid-template-columns: minmax(0, 1fr); }
  .inloop { grid-template-columns: minmax(0, 1fr); }
  .slide__cap { font-size: 1.25rem; padding: .8rem 1rem; }
  .actions .btn { flex: 1 1 auto; justify-content: center; }
  .legal dl { grid-template-columns: minmax(0, 1fr); }
  .legal dd { margin-bottom: .5rem; }
}
@media print {
  .topstrip, .tabs, .menu-btn, .drawer, .slides__dots, .contact-band, .footer, .aside { display: none !important; }
  body { font-size: 11pt; }
}

/* Na een paginakop hoeft de eerste sectie minder lucht */
.page-head + .section { padding-top: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.topic__media { margin: 0 0 1.5rem; aspect-ratio: 16 / 9; overflow: hidden; }
.topic__media img { width: 100%; height: 100%; object-fit: cover; }

/* Bij het wisselen van dia's vervaagt het oude onderschrift snel, zodat teksten niet over elkaar vallen */
.slide__cap span { transition: opacity .35s ease; }
.slide:not(.is-active) .slide__cap span { opacity: 0; }
.slide.is-active .slide__cap span { transition-delay: .45s; }

/* Vinkjes in de statsbalk: ingetogen in indigo, de oranje knoppen houden het accent */
.facts .check { width: 32px; height: 32px; background: transparent; border: 1.5px solid var(--indigo); color: var(--indigo); }
.facts .check .icon { width: 16px; height: 16px; }

/* Portret op Over ons: naast de tekst op brede schermen */
.portrait { float: right; width: min(36%, 240px); margin: .35rem 0 1.25rem 1.75rem; }
.portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.portrait figcaption { margin-top: .5rem; font-size: 1rem; color: var(--ink-soft); }
.topic::after { content: ""; display: block; clear: both; }
@media (max-width: 900px) { .notary__photo { max-width: 420px; } }
@media (max-width: 720px) { .portrait { float: none; width: 100%; max-width: 360px; margin: 0 0 1.5rem; } }
