/* Stadshof Steenbergen. Licht, warm en rustig: wit en gebroken wit, lichtgrijs, terughoudend bruin. */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-wght.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-wght.woff2") format("woff2");
  font-weight: 300 900; font-style: normal; font-display: swap;
}

:root {
  --paper:   #FBFAF7;   /* basis: warm wit */
  --linen:   #F4F0E9;   /* gebroken wit */
  --stone:   #ECEAE5;   /* lichtgrijs, rustige vlakken */
  --line:    #DCD6CC;
  --ink:     #25221F;   /* tekst en navigatie */
  --ink-2:   #4A453F;   /* lopende tekst */
  --muted:   #67615A;   /* bijschriften (AA op alle lichte vlakken) */
  --brown:   #7A5A43;   /* accent */
  --brown-d: #5C4332;   /* knoppen, hover */
  --brown-l: #C9B29D;   /* alleen decoratief */
  --dark:    #2D2925;   /* zachte donkere tint */
  --on-dark: #F4F0E9;
  --on-dark-2: #CFC7BC;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(4.5rem, 9vw, 8rem);
  --radius: 4px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--sans); font-size: 1.125rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
picture img { width: 100%; height: 100%; object-fit: cover; }
a { color: var(--brown-d); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 450; overflow-wrap: break-word; }
@media (max-width: 400px) { h1, h2, h3 { hyphens: auto; -webkit-hyphens: auto; } }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
main:focus { outline: none; }
:focus-visible { outline: 3px solid var(--brown); outline-offset: 3px; border-radius: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skiplink { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: .75rem 1.25rem; border-radius: var(--radius); }
.skiplink:focus { top: 12px; color: var(--paper); }

/* ---------- Typografie ---------- */
.t-hero, .t-display, .t-h2, .t-quote { font-family: var(--serif); font-optical-sizing: auto; letter-spacing: -.012em; }
.t-hero { font-size: clamp(2.6rem, 4.5vw, 4.15rem); line-height: 1.04; font-weight: 400; }
.t-hero span { display: block; }
.t-hero em { display: block; font-style: italic; color: var(--brown); font-weight: 380; font-size: .62em; line-height: 1.2; margin-top: .45em; letter-spacing: -.005em; }
.t-display { font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.06; font-weight: 400; }
.t-h2 { font-size: clamp(1.95rem, 3.2vw, 2.85rem); line-height: 1.12; font-weight: 420; }
.t-quote { font-size: clamp(2.1rem, 3.8vw, 3.35rem); line-height: 1.1; font-style: italic; font-weight: 380; }
.t-lead { font-size: clamp(1.18rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); }
h3 { font-family: var(--serif); font-size: 1.45rem; line-height: 1.25; font-weight: 480; }
.eyebrow {
  font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brown); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.prose { max-width: 62ch; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-bottom: 1.4rem; }
.prose h3 { margin: 2rem 0 .6rem; }
.prose .link-arrow { margin-top: .75rem; }
.fineprint { font-size: .95rem; color: var(--muted); margin: 1.75rem 0 0; }
.note { color: var(--muted); font-style: italic; }

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 54px; padding: .8rem 1.6rem; border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; letter-spacing: .005em;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, filter .2s, box-shadow .2s;
}
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn--primary { background: var(--brown-d); color: #fff; }
.btn--primary:hover { color: #fff; filter: brightness(1.14); box-shadow: 0 8px 22px -12px rgba(37, 34, 31, .45); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { color: var(--ink); background: rgba(37, 34, 31, .05); box-shadow: 0 8px 22px -14px rgba(37, 34, 31, .4); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { color: var(--ink); background: #fff; box-shadow: 0 8px 22px -12px rgba(0, 0, 0, .35); }
.btn--sm { min-height: 46px; padding: .55rem 1.2rem; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.link-arrow {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  font-weight: 600; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--brown-l); padding-bottom: 2px; line-height: 1.3;
}
.link-arrow:hover { color: var(--brown-d); border-color: var(--brown-d); }
.link-arrow .arrow { transition: transform .25s var(--ease); flex: none; }
.link-arrow:hover .arrow { transform: translateX(3px); }
.link-ext { display: inline-flex; align-items: center; gap: .35rem; }
.link-ext svg { flex: none; }

/* ---------- Logo ---------- */
.brand { display: inline-flex; text-decoration: none; color: var(--ink); min-height: 44px; align-items: center; }
.logo { display: block; flex: none; }
.logo img { width: auto; height: 100%; object-fit: contain; }
.site-header .logo { height: 58px; }
.mobile-menu__top .logo { height: 52px; }
.brand--footer .logo { height: 84px; }
@media (max-width: 480px) { .site-header .logo { height: 50px; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251, 250, 247, .94); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; display: flex; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav-desktop a {
  display: inline-block; padding: .55rem 0; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.0625rem;
  background: linear-gradient(var(--brown), var(--brown)) left bottom / 0 1.5px no-repeat; transition: background-size .25s var(--ease), color .2s;
}
.nav-desktop a:hover { color: var(--brown-d); background-size: 100% 1.5px; }
.nav-desktop a[aria-current="page"] { color: var(--brown-d); background-size: 100% 1.5px; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.header-cta { display: none; }
.menu-toggle {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: .5rem .9rem;
  border: 1.5px solid var(--line); border-radius: var(--radius); background: transparent; color: var(--ink);
  font: 600 1rem var(--sans); cursor: pointer;
}
.menu-toggle:hover { border-color: var(--ink); }
@media (min-width: 1080px) {
  .nav-desktop { display: block; }
  .header-cta { display: inline-flex; }
  .site-header .menu-toggle { display: none; }
}

.mobile-menu { position: fixed; inset: 0; z-index: 80; background: var(--paper); overflow-y: auto; display: flex; flex-direction: column; }
.mobile-menu[hidden] { display: none; }
.mobile-menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mobile-menu__body { padding-top: 1.25rem; padding-bottom: 2.5rem; display: flex; flex-direction: column; flex: 1; }
.mobile-menu nav ul { list-style: none; }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 60px; border-bottom: 1px solid var(--line);
  font-family: var(--serif); font-size: 1.75rem; color: var(--ink); text-decoration: none;
}
.mobile-menu nav a[aria-current="page"] { color: var(--brown); font-style: italic; }
.mobile-menu__contact { display: grid; gap: .75rem; margin-top: 2rem; }
html.menu-open { overflow: hidden; }

/* ---------- Secties ---------- */
.section { padding-block: var(--section); }
.section--linen { background: var(--linen); }
.section--stone { background: var(--stone); }
.section-head { max-width: 880px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .t-lead { margin: 1.25rem 0 0; }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; }
.section-head--row > div { max-width: 760px; }

/* ---------- Hero (start) ---------- */
.hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 4vw, 3rem); }
.hero + .section { padding-top: clamp(3.5rem, 6vw, 5.5rem); }
.hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.hero__text .t-lead { max-width: 34rem; margin: 1.75rem 0 0; }
.hero__media picture { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.hero__media figcaption, .photo figcaption { font-size: .95rem; color: var(--muted); margin-top: .75rem; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: minmax(0, 5.5fr) minmax(0, 6fr); gap: clamp(3rem, 5vw, 5.5rem); }
  .hero__media picture { aspect-ratio: auto; height: min(74vh, 660px); min-height: 480px; }
}

/* ---------- Paginakop (subpagina's) ---------- */
.page-hero { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(3rem, 6vw, 5rem); }
.page-hero__grid { display: grid; gap: 2.25rem; align-items: center; }
.page-hero__text .t-lead { max-width: 36rem; margin: 1.5rem 0 0; }
.page-hero__media picture { aspect-ratio: 3 / 2; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 960px) {
  .page-hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 5vw, 5rem); }
  .page-hero__media picture { aspect-ratio: auto; height: min(62vh, 540px); min-height: 420px; }
}

/* ---------- Intro ---------- */
.intro__grid { display: grid; gap: 2.5rem; }
.intro__motto .t-quote { max-width: 14ch; }
.intro__text .t-lead { color: var(--ink); }
@media (min-width: 960px) { .intro__grid { grid-template-columns: 5fr 6fr; gap: 5rem; } .intro__motto { padding-top: .25rem; } }
.pairs { list-style: none; display: grid; gap: 2rem; margin-top: 2.75rem; padding-top: 2.75rem; border-top: 1px solid var(--line); }
.pairs li { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start; }
@media (min-width: 640px) { .pairs li { grid-template-columns: 1fr; gap: 1rem; } .pairs h3 { margin-top: .25rem; } }
.pairs .icon { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--linen); stroke-width: 1.4; }
.pairs h3 { font-size: 1.6rem; margin: .45rem 0 .5rem; }
.pairs p { margin: 0; }
@media (min-width: 640px) { .pairs { grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
.icon { width: 28px; height: 28px; color: var(--brown); flex: none; }

/* ---------- Split (foto + tekst) ---------- */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__media picture { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }
.photo--tall picture { aspect-ratio: 4 / 4.4; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(3rem, 6vw, 6.5rem); }
  .split--reverse .split__media { order: 2; }
  .split__media picture { aspect-ratio: 5 / 5.2; }
  .photo--tall picture { aspect-ratio: 5 / 5.8; }
}

/* ---------- Gedeelde plekken ---------- */
.shared-grid { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .shared-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .shared-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.shared-card { background: var(--paper); display: flex; flex-direction: column; }
.shared-card picture, .shared-card__art { aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; }
.shared-card__art { background: var(--stone); display: grid; place-items: center; }
.shared-card__art svg { width: 78%; height: auto; color: var(--brown); }
.shared-card__body { padding-top: 1.5rem; }
.shared-card__body .icon { margin-bottom: .9rem; }
.shared-card__body h3 { margin-bottom: .5rem; }
.shared-card__body p { margin: 0; }
.mood { margin: clamp(3.5rem, 7vw, 6rem) auto 0; max-width: 900px; text-align: center; padding: 0 .5rem; }
.mood p { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.4; color: var(--ink); margin: 0; }
.mood em { color: var(--brown); }
.mood::before { content: ""; display: block; width: 1px; height: 56px; background: var(--brown-l); margin: 0 auto 2rem; }

/* ---------- Appartementen ---------- */
.apt-grid { list-style: none; display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .apt-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) {
  .apt-grid { grid-template-columns: repeat(6, 1fr); gap: 1.75rem; }
  .apt-grid > li { grid-column: span 2; }
  .apt-grid > li:nth-child(-n+2) { grid-column: span 3; }
  .apt-grid > li:nth-child(-n+2) .apt-card__media { aspect-ratio: 16 / 9; }
}
.apt-card { position: relative; background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s; }
.apt-card:hover { box-shadow: 0 10px 30px -18px rgba(37, 34, 31, .35); }
.apt-card__media { aspect-ratio: 4 / 3; overflow: hidden; flex: none; }
.apt-card__media picture { height: 100%; }
.shared-card picture, .shared-card__art { flex: none; }
.apt-card__media img { transition: transform .6s var(--ease); }
.apt-card:hover .apt-card__media img { transform: scale(1.03); }
.apt-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.apt-card__size { font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--brown); margin-bottom: .5rem; }
.apt-card__title { font-size: 1.45rem; margin-bottom: .6rem; }
.apt-card__title a { color: var(--ink); text-decoration: none; }
.apt-card__title a::after { content: ""; position: absolute; inset: 0; }
.apt-card__title a:focus-visible { outline: none; }
.apt-card:focus-within { outline: 3px solid var(--brown); outline-offset: 3px; }
.apt-card__body p { font-size: 1.0625rem; margin: 0 0 1.25rem; }
.apt-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--ink); font-size: 1rem; }
.apt-card:hover .apt-card__more { color: var(--brown-d); }

/* ---------- Voor wie ---------- */
.traits { list-style: none; display: grid; gap: 1.25rem; margin-bottom: 2.5rem; }
@media (min-width: 640px) { .traits { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .traits { grid-template-columns: repeat(4, 1fr); } }
.traits li { background: var(--paper); padding: 1.75rem 1.6rem; border-radius: var(--radius); }
.traits .icon { margin-bottom: 1.1rem; }
.traits h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.traits p { margin: 0; font-size: 1.0625rem; }
.section:not(.section--linen):not(.section--stone) .traits li { background: var(--linen); }

/* ---------- Stappen (coöperatie) ---------- */
.steps { list-style: none; display: grid; gap: 2.25rem; margin-bottom: 2.5rem; counter-reset: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.steps__num { display: block; font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--brown); font-style: italic; margin-bottom: 1rem; }
.steps h3 { margin-bottom: .6rem; }
.steps p { margin: 0; }

/* ---------- Afsluitend contactblok ---------- */
.cta { background: var(--dark); color: var(--on-dark-2); padding-block: clamp(4rem, 8vw, 6.5rem); }
.cta h2 { color: var(--on-dark); }
.cta .t-lead { color: var(--on-dark-2); margin: 1.25rem 0 0; max-width: 34rem; }
.cta .btn--primary { background: var(--paper); color: var(--ink); }
.cta .btn--primary:hover { color: var(--ink); background: #fff; filter: none; box-shadow: 0 0 0 4px rgba(244, 240, 233, .14); }
.cta .icon { color: var(--brown-l); }
.cta__grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 900px) { .cta__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.cta__keuze { display: grid; gap: .75rem; }
.cta__optie { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1.1rem 1.3rem; border: 1px solid rgba(244, 240, 233, .22); border-radius: var(--radius); color: var(--on-dark); text-decoration: none; transition: background .2s, border-color .2s; }
.cta__optie:hover { color: #fff; background: rgba(244, 240, 233, .06); border-color: rgba(244, 240, 233, .5); }
.cta__optie strong { display: block; font-family: var(--serif); font-weight: 450; font-size: 1.3rem; line-height: 1.2; }
.cta__optie span span { font-size: .98rem; color: var(--on-dark-2); }
.cta__optie .arrow { transition: transform .25s var(--ease); }
.cta__optie:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .cta__optie .arrow { transition: none; } }

.contact-lines { list-style: none; display: grid; gap: 1.4rem; }
.contact-lines li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; line-height: 1.5; }
.contact-lines .icon { width: 24px; height: 24px; margin-top: .15rem; }
.contact-lines__label { display: block; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: .1rem; }
.contact-lines a { font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brown-l); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--brown-d); border-color: var(--brown-d); }
.contact-lines a[href^="tel"], .contact-lines a[href^="mailto"] { font-size: 1.15rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--stone); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; font-size: 1.0625rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 4rem; } }
.footer-brand p { margin: 1.25rem 0 0; max-width: 30ch; }
.footer-motto { font-family: var(--serif); font-style: italic; color: var(--brown-d); font-size: 1.2rem; }
.footer-title { font-size: .875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; }
.footer-nav { list-style: none; display: grid; gap: .1rem; }
.footer-nav a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ink-2); text-decoration: none; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--brown-d); text-decoration: underline; }
/* Onderste regel (17 okt, Randy: kleiner en rustiger): copyright + juridisch links met puntjes, credit rechts. */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .6rem 2rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .84rem; letter-spacing: .01em; color: var(--muted); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--muted); text-decoration: none; transition: color .2s; }
.footer-bottom a:hover, .footer-bottom a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--brown-l); text-underline-offset: .25em; }
.footer-legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 0; }
.footer-legal li + li::before { content: "\00B7"; margin: 0 .7rem; color: var(--brown-l); }
.footer-credit { opacity: .85; }
@media (max-width: 599px) {
  .footer-legal li:first-child { flex-basis: 100%; margin-bottom: .2rem; }
  .footer-legal li:nth-child(2)::before { content: none; }
}

/* ---------- Privacybeleid en algemene voorwaarden (16 okt) ---------- */
.legal .section-head { margin-bottom: 3rem; }
.legal__datum { margin-top: 1rem; font-size: .95rem; color: var(--muted); }
.legal__body h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); font-size: clamp(1.45rem, 2.4vw, 1.75rem); line-height: 1.2; margin: 2.5rem 0 .75rem; }
.legal__body h2:first-child { margin-top: 0; }

/* ---------- Wonen ---------- */
.apt-index { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19.5rem), 1fr)); gap: .6rem; margin-top: 2rem; }
.apt-index a {
  display: flex; align-items: center; gap: .55rem; min-height: 46px; padding: .4rem 1.1rem .4rem .9rem;
  border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem; line-height: 1.2; background: var(--paper);
}
.apt-index a:hover { border-color: var(--brown); color: var(--brown-d); }
.apt-index .icon { width: 20px; height: 20px; stroke-width: 1.5; }
.apt-index__size { color: var(--muted); font-size: .9rem; font-weight: 400; margin-left: auto; padding-left: .5rem; white-space: nowrap; }
.apt-detail { padding-block: clamp(3.5rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.apt-detail:nth-of-type(odd) { background: var(--linen); }
.apt-detail__grid { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) {
  .apt-detail__grid { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .apt-detail__text { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.apt-detail__text h2 { margin-bottom: 1.25rem; }
.facts { display: grid; gap: 0; margin: 1.75rem 0; border-top: 1px solid var(--line); }
.facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .95rem; font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; font-size: 1.0625rem; }
@media (max-width: 480px) { .facts div { grid-template-columns: 1fr; gap: .1rem; } }
.gallery { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.gallery .photo:first-child { grid-column: 1 / -1; }
.gallery .photo:first-child picture { aspect-ratio: 3 / 2; }
.gallery picture { aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden; }
.gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; line-height: 1.45; }
.gallery--single { grid-template-columns: 1fr; }
.gallery .photo:last-child:nth-child(even) { grid-column: 1 / -1; }
.gallery .photo:last-child:nth-child(even) picture { aspect-ratio: 3 / 2; }
.t-display em { font-style: italic; color: var(--brown); font-weight: 380; }
.callout { background: var(--paper); border-left: 3px solid var(--brown-l); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.0625rem; }

.section--linen .callout { background: var(--paper); }
.callout p:last-child { margin: 0; }
.callout:not(:last-child) { margin-bottom: 1.5rem; }

/* ---------- Raadhuis / Samen wonen ---------- */
.uses { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); margin: 2rem 0 0; }
.uses li { display: flex; align-items: center; gap: .8rem; background: var(--paper); padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 500; color: var(--ink); }
.section:not(.section--linen):not(.section--stone) .uses li { background: var(--linen); }
.photo-row { display: grid; gap: 1.25rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
@media (min-width: 760px) { .photo-row { grid-template-columns: repeat(3, 1fr); } }
.photo-row picture { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; }

.two-col { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .two-col { grid-template-columns: 5fr 7fr; gap: 5rem; } }

.faq { border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.35rem 0; min-height: 64px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); font-weight: 470;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 14px; height: 14px; flex: none; margin-right: .35rem;
  border-right: 1.6px solid var(--brown); border-bottom: 1.6px solid var(--brown); transform: rotate(45deg) translateY(-4px); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { color: var(--brown-d); }
.faq .faq__body { padding: 0 0 1.5rem; max-width: 64ch; }
.faq .faq__body p:last-child { margin: 0; }

/* ---------- Over ons ---------- */
.pullquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; color: var(--ink); margin: 2.5rem 0; padding-left: 1.5rem; border-left: 2px solid var(--brown-l); max-width: 24ch; }
.video-link { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-top: 2rem; max-width: 560px; }
.video-link__play { width: 52px; height: 52px; border-radius: 50%; background: var(--brown-d); color: #fff; display: grid; place-items: center; }
.video-link p { margin: 0; font-size: 1rem; }
.video-link a { font-weight: 600; color: var(--ink); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.9rem 1.75rem; display: flex; flex-direction: column; }
.contact-card .icon { width: 32px; height: 32px; margin-bottom: 1.25rem; }
.contact-card h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 480; margin-bottom: .5rem; }
.contact-card p { font-size: 1.0625rem; }
.contact-card .big { font-size: 1.2rem; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--brown-l); overflow-wrap: anywhere; }
.contact-card .big:hover { color: var(--brown-d); border-color: var(--brown-d); }
.contact-card .btn { margin-top: auto; align-self: flex-start; }
.contact-card address { font-style: normal; color: var(--ink); font-size: 1.15rem; margin-bottom: 1rem; }
.checklist { list-style: none; display: grid; gap: .85rem; margin: 1.5rem 0 0; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: .8rem; }
.checklist li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brown); margin-top: .65rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .site-header, .mobile-menu, .cta, .site-footer nav { display: none; }
}

/* ---------- Aanvullingen ---------- */
.traits-col { background: var(--paper); border-radius: var(--radius); padding: 1.9rem 1.75rem; }
.traits-col h3 { margin-bottom: .25rem; }
.traits-col .checklist { margin-top: 1rem; font-size: 1.0625rem; }
.contact-head { padding-top: clamp(2rem, 5vw, 4rem); }
.contact-head .t-display em { display: block; }
.steps + .two-col { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pullquote:first-child { margin-top: 0; }
.two-col > .pullquote { align-self: start; }

/* ---------- Startpagina: schermvullende header met foto ---------- */
.logo--licht { display: none; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; transition: background .3s, border-color .3s; }
.has-hero .site-header:not(.is-scrolled) .logo--donker { display: none; }
.has-hero .site-header:not(.is-scrolled) .logo--licht { display: block; }
.has-hero .site-header:not(.is-scrolled) .nav-desktop a { color: #fff; background-image: linear-gradient(#fff, #fff); }
.has-hero .site-header:not(.is-scrolled) .header-cta { background: transparent; border-color: rgba(255,255,255,.85); color: #fff; }
.has-hero .site-header:not(.is-scrolled) .header-cta:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.has-hero .site-header:not(.is-scrolled) .menu-toggle { color: #fff; border-color: rgba(255,255,255,.6); }
.has-hero .site-header.is-scrolled { background: rgba(251, 250, 247, .96); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); }

.hero-full { position: relative; min-height: clamp(560px, calc(100svh - var(--header-h)), 900px); display: flex; align-items: center; color: #fff; isolation: isolate; overflow: hidden; background: var(--dark); }
.hero-full__media, .hero-full__media picture { position: absolute; inset: 0; z-index: -2; }
.hero-full__media img { width: 100%; height: 100%; object-fit: cover; }
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(130% 100% at 70% 40%, rgba(40, 26, 16, 0) 55%, rgba(40, 26, 16, .22) 100%),
    linear-gradient(90deg, rgba(34, 22, 14, .93) 0%, rgba(34, 22, 14, .82) 28%, rgba(34, 22, 14, .48) 48%, rgba(34, 22, 14, .08) 66%, rgba(34, 22, 14, 0) 78%),
    linear-gradient(0deg, rgba(38, 25, 16, .28) 0%, rgba(38, 25, 16, 0) 22%),
    linear-gradient(rgba(150, 95, 45, .05), rgba(150, 95, 45, .05));
}
.hero-full__inner { padding-top: 4rem; padding-bottom: 5.5rem; }
.hero-full__text { max-width: 720px; }
.hero-full .btn-row { margin-top: 1.6rem; }
.hero-full .t-hero { font-size: clamp(2.6rem, 4.6vw, 4.3rem); line-height: 1.04; }
.hero-full .eyebrow { color: #E9D3BC; }
.hero-full .t-hero { color: #fff; text-shadow: 0 2px 24px rgba(0, 0, 0, .25); }
.hero-full .t-hero em { color: #EBD5BE; font-size: .52em; margin-top: .55em; }
.hero-full__lead { font-size: clamp(1.15rem, 1.5vw, 1.35rem); line-height: 1.5; color: rgba(255, 255, 255, .94); max-width: 48ch; margin: 1rem 0 0; }
.hero-full .btn--primary { background: var(--brown); }
.hero-full .link-arrow { color: #fff; border-color: rgba(255, 255, 255, .7); }
.hero-full .link-arrow:hover { color: #fff; border-color: #fff; }
.hero-full__down { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); color: #fff; display: grid; place-items: center; width: 48px; height: 56px; opacity: .85; }
.hero-full__down:hover { opacity: 1; color: #fff; }
.hero-full__caption { position: absolute; right: var(--gutter); bottom: 1.6rem; margin: 0; font-size: .875rem; color: rgba(255, 255, 255, .85); }
@media (max-width: 759px) {
  .hero-full { align-items: flex-end; }
  .hero-full::before {
    background:
      linear-gradient(180deg, rgba(38, 25, 16, .4) 0%, rgba(38, 25, 16, 0) 22%),
      linear-gradient(0deg, rgba(38, 25, 16, .9) 0%, rgba(38, 25, 16, .72) 45%, rgba(38, 25, 16, .12) 78%),
      linear-gradient(rgba(150, 95, 45, .05), rgba(150, 95, 45, .05));
  }
  .hero-full__inner { padding-bottom: 3.5rem; }
  .hero-full__caption { display: none; }
  .hero-full__media img { object-position: 58% 60% !important; }
}
.hero-full + .section { padding-top: var(--section); }

/* Historische plek: afwerkingszin als rustig accent, link met meer lucht */
.place__finish { font-family: var(--serif); font-style: italic; font-size: 1.3rem; line-height: 1.4; color: var(--brown-d); padding-left: 1.1rem; border-left: 2px solid var(--brown-l); }
.place .prose .link-arrow { margin-top: 1.5rem; font-size: 1.0625rem; }

.callout--link { margin-top: 2rem; }
.callout--link a { font-weight: 600; color: var(--ink); }

/* Boog als sectiescheiding onder de home-hero (14 okt, zelfde opzet als Steketee): achterste boog licht doorschijnend, voorste in de kleur van de intro-sectie. Vlakke versie gekozen 16 okt (buxushagen blijven in beeld). */
.hero-full__arc { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(18px, 3vw, 44px); display: block; pointer-events: none; z-index: 1; }
.hero-full__arc-back { fill: rgba(251, 250, 247, .35); }
.hero-full__arc-front { fill: var(--paper); }
.hero-full__inner { padding-bottom: calc(5.5rem + clamp(16px, 3vw, 40px)); }
@media (max-width: 759px) { .hero-full__inner { padding-bottom: calc(3.5rem + 20px); } }

/* Samen wonen: wooncoöperatie (redesign 14 okt). Links uitleg + slotsom, rechts "Zo werkt het" als kaart met verbonden stappen. */
.coop__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .coop__grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5.4fr); gap: clamp(3.5rem, 6vw, 6rem); align-items: start; } }
.coop__intro .t-lead { margin: 1.25rem 0 0; max-width: 34rem; }
.coop__note { margin-top: clamp(2rem, 4vw, 2.75rem); padding-top: 1.75rem; border-top: 1px solid var(--line); max-width: 34rem; }
.coop__statement { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.3; color: var(--ink); margin: 0 0 .9rem; }
.coop__note p:not(.coop__statement) { margin: 0 0 .75rem; }
.coop__more { font-size: .97rem; color: var(--muted); }
.coop__card { background: var(--paper); border-radius: var(--radius); padding: clamp(1.75rem, 3.5vw, 2.75rem); }
.coop__label { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); margin: 0 0 1.5rem; }
.coop__steps { list-style: none; margin: 0; padding: 0; }
.coop__steps li { position: relative; display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding-bottom: 1.75rem; }
.coop__steps li:last-child { padding-bottom: 0; }
.coop__steps li:not(:last-child)::before { content: ""; position: absolute; left: calc(1.375rem - .5px); top: 2.9rem; bottom: .5rem; width: 1px; background: var(--line); }
.coop__num { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--brown-l); border-radius: 50%; font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1; color: var(--brown); background: var(--paper); }
.coop__steps h3 { margin: .45rem 0 .4rem; }
.coop__steps p { margin: 0; }
@media (min-width: 960px) {
  .coop__grid { grid-template-areas: "intro card" "note card"; grid-template-rows: auto 1fr; row-gap: 0; }
  .coop__intro { grid-area: intro; }
  .coop__card { grid-area: card; }
  .coop__note { grid-area: note; }
}
@media (max-width: 959px) { .coop__note { margin-top: 0; } }

/* Samen wonen: financiële uitgangspunten (redesign 14 okt). Bedragen als anker links (lijn + klein label, geen kaders), drie punten rechts, disclaimer als voetnoot. */
.fin__grid { display: grid; gap: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 960px) {
  .fin__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-areas: "head points" "note note"; gap: 0 clamp(3.5rem, 6vw, 6rem); align-items: start; }
  .fin__head { grid-area: head; }
  .fin__points { grid-area: points; }
  .fin__note { grid-area: note; }
}
.fin__amounts { display: grid; gap: 1.5rem; margin: clamp(2rem, 4vw, 2.75rem) 0 0; }
@media (min-width: 560px) { .fin__amounts { grid-template-columns: auto auto; justify-content: start; column-gap: clamp(2rem, 4vw, 3.5rem); } }
.fin__amounts div { border-top: 1px solid var(--ink); padding-top: .9rem; }
.fin__amounts dt { font-size: .9rem; color: var(--muted); margin-bottom: .35rem; }
.fin__amounts dd { margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; color: var(--ink); font-variant-numeric: lining-nums; white-space: nowrap; }
.fin__indicatief { margin: .9rem 0 0; font-size: .9rem; color: var(--muted); }
.fin__points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.fin__points li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.fin__points h3 { margin: 0 0 .4rem; }
.fin__points p { margin: 0; }
.fin__note { margin: 0; font-size: .9rem; line-height: 1.6; color: var(--muted); max-width: 62rem; }
@media (min-width: 960px) { .fin__note { margin-top: clamp(2.5rem, 4vw, 3.25rem); padding-top: 1.25rem; border-top: 1px solid var(--line); } }

/* Home: Raadhuis-teaser (16 okt). Korte tekst, activiteiten als rustige rij met dunne scheidingspunten i.p.v. opsomzin. */
.raadhuis-teaser h2 em { font-style: italic; color: var(--brown); }
.raadhuis-teaser__gebruik { list-style: none; margin: 1.75rem 0 2rem; padding: 1.1rem 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .35rem 0; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.raadhuis-teaser__gebruik li { display: inline-flex; align-items: center; }
/* Elk item krijgt een punt ervoor; de lijst schuift 1.85rem naar links en knipt die strook af, zodat een regel nooit met een punt begint (ook niet na afbreken). */
.raadhuis-teaser__gebruik { margin-left: -1.85rem; clip-path: inset(0 0 0 1.85rem); }
.raadhuis-teaser__gebruik li::before { content: ""; width: .25rem; height: .25rem; border-radius: 50%; background: var(--brown-l); margin: 0 .8rem; flex: none; }

/* Wervingspaneel "Wij zoeken jou" (16 okt). Desktop: kaart rechtsonder die van rechts inschuift; mobiel: van onderen.
   Ingeklapt: verticaal lipje aan de rechterrand. Animatie alleen zonder reduced-motion; tonen werkt altijd. */
.werving { position: fixed; right: 0; bottom: clamp(16px, 3vw, 32px); z-index: 60; pointer-events: none; }
.werving__panel { pointer-events: auto; position: relative; display: grid; grid-template-columns: 140px 1fr; width: min(30rem, calc(100vw - 32px)); margin-right: clamp(16px, 3vw, 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 24px 60px -24px rgba(37, 34, 31, .45), 0 2px 8px -4px rgba(37, 34, 31, .15);
  transform: translateX(calc(100% + 40px)); opacity: 0; visibility: hidden; }
.werving[data-state="open"] .werving__panel { transform: none; opacity: 1; visibility: visible; }
.werving__media picture, .werving__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.werving__body { padding: 1.4rem 1.5rem 1.35rem; }
.werving__eyebrow { margin: 0 0 .35rem; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brown); font-weight: 600; }
.werving__title { margin: 0 0 .5rem; font-family: var(--serif); font-weight: 400; font-size: 1.85rem; line-height: 1.1; color: var(--ink); }
.werving__title em { color: var(--brown); }
.werving__text { margin: 0 0 1rem; font-size: .98rem; line-height: 1.55; color: var(--ink-2); }
.werving__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.werving__actions .btn { min-height: 44px; padding: .5rem 1.1rem; font-size: .95rem; }
.werving__close { position: absolute; top: .5rem; right: .5rem; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.werving__close:hover { color: var(--ink); background: rgba(37, 34, 31, .06); }
.werving__close:focus-visible, .werving__tab:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.werving__tab { pointer-events: auto; position: absolute; right: 0; bottom: 0; border: 0; cursor: pointer;
  writing-mode: vertical-rl; transform: rotate(180deg) translateX(-100%); opacity: 0; visibility: hidden;
  padding: 1.1rem .6rem; border-radius: 0 var(--radius) var(--radius) 0; background: var(--brown-d); color: #fff;
  font: 600 .85rem/1 var(--sans); letter-spacing: .06em; white-space: nowrap; box-shadow: 0 10px 24px -12px rgba(37, 34, 31, .5); }
.werving[data-state="tab"] .werving__tab { transform: rotate(180deg); opacity: 1; visibility: visible; }
.werving__tab:hover { filter: brightness(1.14); }
.werving[data-state="tab"] .werving__panel { position: absolute; right: 0; bottom: 0; }
@media (prefers-reduced-motion: no-preference) {
  .werving__panel { transition: transform .6s var(--ease), opacity .4s ease, visibility 0s linear .6s; }
  .werving[data-state="open"] .werving__panel { transition: transform .6s var(--ease), opacity .4s ease, visibility 0s; }
  .werving__tab { transition: transform .4s var(--ease) .15s, opacity .3s ease .15s, visibility 0s linear .55s; }
  .werving[data-state="tab"] .werving__tab { transition: transform .4s var(--ease) .25s, opacity .3s ease .25s, visibility 0s; }
}
@media (max-width: 759px) {
  .werving { left: 0; bottom: 0; }
  .werving__panel { grid-template-columns: 96px 1fr; width: auto; margin: 0 12px 12px; transform: translateY(calc(100% + 24px)); }
  .werving__body { padding: 1rem 2.6rem 1rem 1.1rem; }
  .werving__title { font-size: 1.5rem; }
  .werving__text { font-size: .92rem; line-height: 1.45; margin-bottom: .75rem; }
  .werving__meer { display: none; }
  .werving__actions .btn { min-height: 42px; padding: .45rem .95rem; font-size: .9rem; }
  .werving__actions { gap: .35rem .9rem; }
  .werving__eyebrow { font-size: .7rem; }
  /* 28 okt (Randy): liggend label rechtsonder, zoals het AI-label op focus-webdesign.nl mobiel. */
  .werving__tab { bottom: 12px; writing-mode: horizontal-tb; transform: translateX(110%); padding: .75rem 1rem .75rem 1.1rem;
    border-radius: 999px 0 0 999px; font-size: .85rem; letter-spacing: .03em; box-shadow: 0 8px 22px -8px rgba(37, 34, 31, .55); }
  .werving[data-state="tab"] .werving__tab { transform: none; }
  .werving[data-state="tab"] .werving__panel { left: 0; }
}
@media print { .werving { display: none; } }



/* Label op een woningkaart met een digitaal ingerichte foto (16 okt, Elly). */
.apt-card__media { position: relative; }
.apt-card__note { position: absolute; left: .75rem; bottom: .75rem; padding: .2rem .6rem; border-radius: 999px; background: rgba(37, 34, 31, .62); color: #fff; font-size: .78rem; font-style: italic; letter-spacing: .01em; }

/* Plattegrond onder de kenmerken van een woning (16 okt) */
.plattegrond { margin: 2rem 0 0; }
.plattegrond > a { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #FBFAF7; transition: box-shadow .25s var(--ease); }
.plattegrond > a:hover { box-shadow: 0 10px 28px -16px rgba(37, 34, 31, .45); }
.plattegrond img { display: block; width: 100%; height: auto; }
.plattegrond figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.plattegrond__download { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brown-l); }
.plattegrond__download:hover { color: var(--brown-d); text-decoration-color: currentColor; }
.plattegrond__download small { font-weight: 400; color: var(--muted); font-size: .85em; }
.plattegrond__download svg { color: var(--brown); flex: none; }

/* Lightbox voor plattegronden (16 okt). Alleen [open] tonen: display op .lightbox zou de gesloten dialog zichtbaar maken. */
html.lightbox-open { overflow: hidden; }
.lightbox { width: min(1400px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--ink-2); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .55); overflow: hidden; }
.lightbox[open] { display: flex; flex-direction: column; }
.lightbox::backdrop { background: rgba(37, 34, 31, .72); }
.lightbox__bar { display: flex; align-items: center; gap: .5rem 1.25rem; padding: .7rem .7rem .7rem 1.4rem; border-bottom: 1px solid var(--line); }
.lightbox__titel { flex: 1; margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; color: var(--ink); }
.lightbox__download { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; font-size: .95rem; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--brown-l); white-space: nowrap; }
.lightbox__download:hover { color: var(--brown-d); text-decoration-color: currentColor; }
.lightbox__download small { font-weight: 400; color: var(--muted); font-size: .85em; }
.lightbox__download svg { color: var(--brown); }
.lightbox__close { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; flex: none; }
.lightbox__close:hover { color: var(--ink); background: rgba(37, 34, 31, .06); }
.lightbox__close:focus-visible, .lightbox__download:focus-visible { outline: 2px solid var(--brown); outline-offset: 2px; }
.lightbox__view { flex: 1; min-height: 0; overflow: auto; background: #FBFAF7; overscroll-behavior: contain; }
.lightbox__view img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.lightbox.is-zoom .lightbox__view img { width: 230%; max-width: none; cursor: zoom-out; }
.lightbox__hint-klein { display: none; }
.lightbox__hint { margin: 0; padding: .55rem 1.4rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
@media (max-width: 759px) {
  .lightbox { width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .lightbox__bar { flex-wrap: wrap; padding-left: 1rem; }
  .lightbox__titel { font-size: 1.1rem; }
  .lightbox__view { display: flex; align-items: center; }
  .lightbox.is-zoom .lightbox__view { display: block; }
  .lightbox.is-zoom .lightbox__view img { width: 320%; }
  .lightbox__hint { padding-left: 1rem; }
  .lightbox__hint-groot { display: none; }
  .lightbox__hint-klein { display: inline; }
}
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lightbox-in .28s var(--ease); }
  .lightbox[open]::backdrop { animation: lightbox-fade .28s ease; }
}
@keyframes lightbox-in { from { opacity: 0; transform: translateY(12px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes lightbox-fade { from { opacity: 0; } to { opacity: 1; } }

/* ===================================================================
   Ontdek het Stadshof: interactieve ruimteverkenner (17 okt, zelfde opzet als Stadhuis)
   =================================================================== */
.ontdek { background: var(--dark); color: var(--on-dark-2); }
.ontdek .eyebrow { color: var(--brown-l); }
.ontdek h2 { color: var(--on-dark); }
.ontdek .t-h2 em { color: var(--brown-l); }
.ontdek .t-lead { color: var(--on-dark-2); margin: 0 0 1.75rem; }
.ontdek__head { display: grid; gap: 1.5rem 4rem; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 960px) { .ontdek__head { grid-template-columns: 5fr 6fr; align-items: end; } }
.ontdek .btn--primary, .verkenner .btn--primary { background: var(--paper); color: var(--ink); }
.ontdek .btn--primary:hover, .verkenner .btn--primary:hover { color: var(--ink); background: #fff; filter: none; }
.ontdek__ruimtes { list-style: none; display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .ontdek__ruimtes { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }
.ontdek__kaart { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; text-align: left; color: #fff; font: inherit; aspect-ratio: 3 / 4; }
.ontdek__kaart picture { position: absolute; inset: 0; }
.ontdek__kaart img { opacity: .82; transition: transform .8s var(--ease), opacity .4s; }
.ontdek__kaart:hover img, .ontdek__kaart:focus-visible img { transform: scale(1.04); opacity: .95; }
.ontdek__kaart::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(31, 28, 25, .9) 0%, rgba(31, 28, 25, .25) 45%, rgba(31, 28, 25, 0) 70%); }
.ontdek__kaart-tekst { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 1rem; z-index: 1; display: grid; gap: .15rem; }
.ontdek__nr { font-family: var(--serif); font-style: italic; color: var(--brown-l); font-size: 1rem; }
.ontdek__kaart strong { font-family: var(--serif); font-weight: 420; font-size: clamp(1.25rem, 1.8vw, 1.55rem); line-height: 1.15; }
.ontdek__kaart-tekst > span:last-child { font-size: .92rem; color: rgba(255, 255, 255, .8); line-height: 1.35; }
.ontdek__kaart:focus-visible { outline: 3px solid var(--brown-l); outline-offset: 3px; }
.ontdek__noscript { display: none; }
html:not(.ontdek-js) .ontdek__noscript { display: grid; gap: .5rem; list-style: none; margin: .9rem 0 0; font-size: .95rem; }
html:not(.ontdek-js) .ontdek__start { display: none; }

/* De verkenner: schermvullend, donker, foto centraal */
html.verkenner-open { overflow: hidden; }
.verkenner { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #1F1C19; color: var(--on-dark); }
.verkenner[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); overflow: hidden; }
.verkenner::backdrop { background: #1F1C19; }
.verkenner__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; padding: clamp(.9rem, 2vw, 1.5rem) clamp(1rem, 3vw, 2.5rem) .75rem; }
.verkenner__stap { margin: 0 0 .2rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brown-l); }
.verkenner__titel { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; color: #fff; }
.verkenner__hint { margin: .35rem 0 0; font-size: .92rem; color: rgba(244, 240, 233, .62); display: flex; align-items: center; gap: .5rem; }
.verkenner__hint::before { content: ""; width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--brown-l); flex: none; }
.verkenner__knop { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border: 1px solid rgba(244, 240, 233, .25); border-radius: 50%; background: transparent; color: var(--on-dark); cursor: pointer; transition: background .2s, border-color .2s; }
.verkenner__knop:hover { background: rgba(244, 240, 233, .08); border-color: rgba(244, 240, 233, .5); }
.verkenner :focus-visible { outline: 2px solid var(--brown-l); outline-offset: 3px; }

.verkenner__podium { position: relative; min-height: 0; display: grid; place-items: center; padding: 0 clamp(.5rem, 2vw, 2.5rem); container-type: size; overflow: hidden; }
/* Frame = precies de foto (verhouding --ar), zodat hotspots in % altijd op dezelfde plek in de foto staan */
.verkenner__frame { position: relative; aspect-ratio: var(--ar, 1.5); width: min(100cqw, 100cqh * var(--ar, 1.5)); max-height: 100cqh; transform: translate(var(--dx, 0px), var(--dy, 0px)); transition: transform .9s var(--ease); }
.verkenner__beeld { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; background: #171512; }
.verkenner__foto { position: absolute; inset: 0; opacity: 0; transition: opacity .7s ease; }
.verkenner__foto.is-zichtbaar { opacity: 1; }
.verkenner__foto img { width: 100%; height: 100%; object-fit: cover; }
.verkenner__frame.is-laden::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px; border-radius: 50%; border: 2px solid rgba(244, 240, 233, .2); border-top-color: var(--brown-l); animation: verkenner-draai 1s linear infinite; }
@keyframes verkenner-draai { to { transform: rotate(360deg); } }

/* Hotspots: klein messing punt met ring; label verschijnt bij hover/focus */
.verkenner__spots { position: absolute; inset: 0; }
.verkenner__spot { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: transparent; cursor: pointer; opacity: 0; animation: spot-in .5s var(--ease) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
.verkenner__spot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; background: var(--brown-l); box-shadow: 0 0 0 4px rgba(31, 28, 25, .5), 0 0 0 5px rgba(255, 255, 255, .9), 0 3px 14px rgba(0, 0, 0, .55); transition: transform .25s var(--ease); }
.verkenner__spot-ring { position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .9); }
.verkenner__spot:hover::before, .verkenner__spot:focus-visible::before, .verkenner__spot.is-actief::before { transform: scale(1.25); }
.verkenner__spot.is-actief .verkenner__spot-ring { border-color: var(--brown-l); }
.verkenner__spot-label { position: absolute; left: 48px; top: 50%; transform: translate(-6px, -50%); white-space: nowrap; padding: .3rem .7rem; border-radius: 3px; background: rgba(31, 28, 25, .82); color: #fff; font-size: .88rem; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.verkenner__spot.is-links .verkenner__spot-label { left: auto; right: 48px; transform: translate(6px, -50%); }
.verkenner__spot:hover .verkenner__spot-label, .verkenner__spot:focus-visible .verkenner__spot-label { opacity: 1; transform: translate(0, -50%); }
.verkenner__spot:focus-visible { outline: none; }
.verkenner__spot:focus-visible .verkenner__spot-ring { outline: 2px solid var(--brown-l); outline-offset: 3px; }
@keyframes spot-in { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .verkenner__spot-ring { animation: spot-puls 2.8s ease-out infinite; animation-delay: calc(1s + var(--i) * .4s); }
}
@keyframes spot-puls { 0% { transform: scale(.85); opacity: 1; } 70% { transform: scale(1.45); opacity: 0; } 100% { transform: scale(1.45); opacity: 0; } }

/* Detailpaneel: rechts op desktop, onderaan op mobiel */
.verkenner__paneel { position: absolute; z-index: 3; right: clamp(.75rem, 3vw, 3rem); top: 50%; width: min(380px, 40%); transform: translate(16px, -50%); opacity: 0; background: var(--paper); color: var(--ink-2); border-radius: var(--radius); overflow: hidden; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .7); transition: opacity .3s ease, transform .4s var(--ease); }
.verkenner__paneel.is-open { opacity: 1; transform: translate(0, -50%); }
.verkenner__detail { display: block; aspect-ratio: 3 / 2; }
.verkenner__detail img { width: 100%; height: 100%; object-fit: cover; }
.verkenner__paneel-tekst { padding: 1.3rem 1.4rem 1.4rem; }
.verkenner__paneel h3 { font-size: 1.4rem; margin-bottom: .45rem; }
.verkenner__paneel p { margin: 0; font-size: 1.02rem; line-height: 1.55; }
.verkenner__paneel-sluit { position: absolute; top: .6rem; right: .6rem; width: 38px; height: 38px; background: rgba(251, 250, 247, .92); color: var(--ink); border-color: transparent; }
.verkenner__paneel-sluit:hover { background: #fff; }

/* Onderbalk: ruimtes + kennismaking */
.verkenner__onder { display: flex; align-items: center; gap: .75rem; padding: .9rem clamp(1rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.4rem); }
.verkenner__nav { position: relative; list-style: none; display: flex; gap: .35rem; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; min-width: 0; flex: 0 1 auto; }
.verkenner__nav::-webkit-scrollbar { display: none; }
.verkenner__tab { display: inline-flex; align-items: baseline; gap: .5rem; min-height: 44px; padding: .55rem 1rem; border: 0; border-bottom: 1.5px solid transparent; background: transparent; color: rgba(244, 240, 233, .7); font: 500 1rem var(--sans); white-space: nowrap; cursor: pointer; }
.verkenner__tab:hover { color: #fff; }
.verkenner__tab[aria-current] { color: #fff; border-bottom-color: var(--brown-l); }
.verkenner__tab-nr { font-family: var(--serif); font-style: italic; color: var(--brown-l); font-size: .92rem; }
.verkenner__cta { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.verkenner__cta p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: rgba(244, 240, 233, .85); }
.verkenner__cta .btn--primary { white-space: nowrap; }

@media (max-width: 1499px) { .verkenner__cta p { display: none; } }
@media (max-width: 759px) {
  .verkenner__onder { flex-wrap: wrap; gap: .5rem; }
  .verkenner__nav { order: -1; flex-basis: 100%; }
  .verkenner__tab { padding: .5rem .7rem; font-size: .95rem; }
  .verkenner__cta { margin-left: auto; }
  .verkenner__paneel { left: .75rem; right: .75rem; top: auto; bottom: .75rem; width: auto; transform: translate(0, 16px); max-height: 70%; overflow-y: auto; }
  .verkenner__paneel.is-open { transform: none; }
  .verkenner__detail { aspect-ratio: 16 / 9; }
  .verkenner__spot-label { display: none; }
  .verkenner__hint { font-size: .85rem; }
}
/* Label op impressies (digitaal ingerichte foto's) in het detailpaneel */
.verkenner__detail { position: relative; }
.verkenner__label { position: absolute; left: .7rem; bottom: .7rem; padding: .2rem .6rem; border-radius: 3px; background: rgba(31, 28, 25, .78); color: #fff; font-size: .8rem; font-weight: 500; letter-spacing: .02em; }
/* Ontdek de woningen: label op de hoofdfoto (impressie), plattegrond als detail heel tonen, link naar de woning */
.verkenner__foto .verkenner__label { left: auto; right: .8rem; bottom: .8rem; }
.verkenner__detail--heel { background: #fff; }
.verkenner__detail--heel img { object-fit: contain; padding: .4rem; }
.verkenner__link { color: var(--on-dark); font-weight: 500; text-decoration: underline; text-decoration-color: var(--brown-l); text-underline-offset: .25em; white-space: nowrap; }
.verkenner__link:hover { color: #fff; }
.verkenner__link[hidden] { display: none; }
@media (max-width: 759px) { .verkenner__link { font-size: .95rem; } }
/* Impressie-label op de kaart in de sectie */
.ontdek__label { position: absolute; top: .7rem; left: .7rem; z-index: 1; padding: .15rem .55rem; border-radius: 3px; background: rgba(31, 28, 25, .72); color: #fff; font-size: .78rem; font-weight: 500; }

