/* ==========================================================================
   Koningsgracht Makelaardij – kgma.css
   Huisstijl: Satoshi Bold (koppen) / Poppins Regular (tekst)
   Palet: navy #05144C · inkt #142543 · marine #01377D · ijs #EBEEF6 · glas #F6FBFF · mandarijn #EA670D
   ========================================================================== */

/* ---------- Lettertypen (self-hosted) ---------- */
@font-face { font-family: "Satoshi"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Satoshi-Bold.woff2") format("woff2"); }
@font-face { font-family: "Satoshi"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/Satoshi-Medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --navy: #05144C;
  --inkt: #142543;
  --marine: #01377D;
  --ijs: #EBEEF6;
  --glas: #F6FBFF;
  --wit: #FFFFFF;
  --oranje: #EA670D;
  --lijn: rgba(20, 37, 67, 0.16);
  --lijn-zacht: rgba(20, 37, 67, 0.09);
  --lijn-licht: rgba(255, 255, 255, 0.18);
  --tekst-zacht: #4A5878;

  --font-kop: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-tekst: "Poppins", "Helvetica Neue", Arial, sans-serif;

  --maat: 1280px;
  --goot: clamp(20px, 5vw, 64px);
  --sectie: clamp(64px, 9vw, 128px);
  --kolomgat: clamp(20px, 3vw, 40px);
  --kop-hoogte: 92px;

  --t-snel: 180ms;
  --t: 320ms;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { overflow-x: clip; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (min-width: 768px) { html { font-size: 106.25%; } }  /* 17px */
body {
  margin: 0;
  font-family: var(--font-tekst);
  font-weight: 400;
  line-height: 1.65;
  color: var(--inkt);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--marine); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--navy); }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1rem; max-width: 62ch; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--oranje); outline-offset: 3px; }
.skiplink { position: absolute; left: 12px; top: -60px; z-index: 100; padding: .6rem 1rem; background: var(--navy); color: #fff; font-family: var(--font-kop); font-weight: 500; }
.skiplink:focus { top: 12px; }
main:focus { outline: none; }
::selection { background: var(--oranje); color: var(--navy); }

/* ---------- Typografie ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-kop);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 1.6rem + 3vw, 4.1rem); line-height: 1.02; letter-spacing: -0.022em; }
h2 { font-size: clamp(1.7rem, 1.2rem + 1.7vw, 2.65rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .5vw, 1.45rem); }
.lead { font-size: clamp(1.05rem, .95rem + .35vw, 1.22rem); line-height: 1.6; color: var(--inkt); }
.klein { font-size: .875rem; }
.zacht { color: var(--tekst-zacht); }
.merk {
  display: flex; align-items: center; gap: .7rem;
  font-family: var(--font-kop); font-weight: 500; font-size: .95rem; letter-spacing: .01em;
  color: var(--marine); margin: 0 0 1.1rem;
}
.merk::before { content: ""; width: 26px; height: 2px; background: var(--oranje); flex: none; }
.op-donker { color: #fff; }
.op-donker h1, .op-donker h2, .op-donker h3 { color: #fff; }
.op-donker p { color: rgba(255, 255, 255, .86); }
.op-donker .merk { color: rgba(255, 255, 255, .85); }
.op-donker a { color: #fff; }
.op-donker :focus-visible { outline-color: #fff; }

/* Onderstreepte tekstlink met animatie (geen pijlen) */
.tekstlink {
  display: inline-block; position: relative;
  font-family: var(--font-kop); font-weight: 500; font-size: 1rem;
  color: var(--navy); text-decoration: none; padding-bottom: 2px;
}
.tekstlink::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--oranje); transform-origin: left; transform: scaleX(.34); transition: transform var(--t) var(--ease); }
.tekstlink:hover::after, .tekstlink:focus-visible::after { transform: scaleX(1); }
.op-donker .tekstlink { color: #fff; }

/* ---------- Knoppen ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.45rem;
  font-family: var(--font-kop); font-weight: 500; font-size: .98rem; line-height: 1.2; letter-spacing: .005em;
  text-decoration: none; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color var(--t-snel) var(--ease), color var(--t-snel) var(--ease), border-color var(--t-snel) var(--ease);
  white-space: nowrap;
}
.knop--primair { background: var(--oranje); color: var(--navy); border-color: var(--oranje); }
.knop--primair:hover, .knop--primair:focus-visible { background: var(--navy); color: #fff; border-color: var(--navy); }
.op-donker .knop--primair:hover, .op-donker .knop--primair:focus-visible, .voet .knop--primair:hover { background: #fff; color: var(--navy); border-color: #fff; }
.knop--secundair { background: transparent; color: var(--navy); border-color: rgba(5, 20, 76, .45); }
.knop--secundair:hover, .knop--secundair:focus-visible { border-color: var(--navy); background: var(--navy); color: #fff; }
.knop--licht { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.knop--licht:hover, .knop--licht:focus-visible { background: #fff; color: var(--navy); border-color: #fff; }
.knop--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.knop--navy:hover, .knop--navy:focus-visible { background: var(--marine); border-color: var(--marine); color: #fff; }
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }

/* ---------- Lay-out ---------- */
.binnen { width: min(100% - 2 * var(--goot), var(--maat)); margin-inline: auto; }
.sectie { padding-block: var(--sectie); position: relative; }
.sectie--ijs { background: var(--ijs); }
.sectie--glas { background: var(--glas); }
.sectie--navy { background: var(--navy); }
.sectie--rand { border-top: 1px solid var(--lijn-zacht); }
.raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--kolomgat); row-gap: clamp(28px, 4vw, 48px); align-items: start; }
.raster > * { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .k5 { grid-column: span 5; } .k6 { grid-column: span 6; } .k7 { grid-column: span 7; }
  .k5-b { grid-column: 8 / span 5; } .k6-b { grid-column: 7 / span 6; } .k7-b { grid-column: 6 / span 7; }
  .k4 { grid-column: span 4; } .k8 { grid-column: span 8; }
  .k5-in { grid-column: 2 / span 5; } .k6-in { grid-column: 2 / span 6; } .k6-uit { grid-column: 7 / span 6; }
  .midden { align-self: center; }
}
.kopblok { max-width: 42rem; margin-bottom: clamp(32px, 5vw, 56px); }
.kopblok p { margin-bottom: 0; }

/* Architectonische verticale lijn: staat als een stijl langs de inhoud */
.stijl { border-left: 1px solid var(--lijn); padding-left: clamp(20px, 3.5vw, 48px); }
@media (max-width: 899px) { .stijl { border-left: 0; padding-left: 0; } }

/* ---------- Beeld ---------- */
.beeld { position: relative; overflow: hidden; background: var(--ijs); }
.beeld img { width: 100%; height: 100%; object-fit: cover; }
.beeld--3x2 { aspect-ratio: 3 / 2; }
.beeld--4x5 { aspect-ratio: 4 / 5; }
.beeld--16x10 { aspect-ratio: 16 / 10; }
.beeld--1x1 { aspect-ratio: 1; }
.beeld picture { width: 100%; height: 100%; }
/* Archiefstuk: witte passe-partout met dunne rand */
.kader { background: #fff; border: 1px solid var(--lijn); padding: clamp(12px, 2.2vw, 28px); }
.kader img { width: 100%; height: auto; }
.onderschrift { font-size: .82rem; color: var(--tekst-zacht); margin: .75rem 0 0; max-width: none; }
.onderschrift::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--oranje); vertical-align: middle; margin-right: .55rem; }

/* ---------- Header ---------- */
.kop {
  position: sticky; top: 0; z-index: 40;
  background: #fff; border-bottom: 1px solid var(--lijn-zacht);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.kop__binnen { width: min(100% - 2 * var(--goot), var(--maat)); margin-inline: auto; height: var(--kop-hoogte); transition: height var(--t) var(--ease); display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); }
.kop__logo { display: block; margin-right: auto; }
.kop__logo img { height: 72px; width: auto; transition: height var(--t) var(--ease); }
.kop__logo-wit { display: none; }
.kop__nav ul { list-style: none; display: flex; gap: clamp(14px, 2vw, 30px); }
.kop__nav a {
  position: relative; display: inline-block; padding: .35rem 0;
  font-family: var(--font-kop); font-weight: 500; font-size: .95rem; color: var(--navy); text-decoration: none;
}
.kop__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--oranje); transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease); }
.kop__nav a:hover::after, .kop__nav a:focus-visible::after, .kop__nav a[aria-current="page"]::after { transform: scaleX(1); }
.kop__cta { min-height: 44px; padding: .65rem 1.2rem; font-size: .92rem; }
.kop__menuknop {
  display: none; align-items: center; gap: .6rem; background: none; border: 0; padding: .5rem 0; cursor: pointer;
  font-family: var(--font-kop); font-weight: 500; font-size: .95rem; color: var(--navy);
}
.kop__menuknop-lijnen { position: relative; width: 22px; height: 2px; background: currentColor; }
.kop__menuknop-lijnen::before, .kop__menuknop-lijnen::after { content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; }
.kop__menuknop-lijnen::before { top: -7px; } .kop__menuknop-lijnen::after { top: 7px; }
@media (max-width: 1179px) {
  .kop__nav { display: none; }
  .kop__menuknop { display: inline-flex; }
}
@media (max-width: 767px) { .kop__cta { display: none; } }
@media (max-width: 599px) {
  :root { --kop-hoogte: 76px; }
  .kop__logo img { height: 58px; }
}
/* Boven een donkere hero: transparant, wit logo; na scrollen wit met navy logo */
.heeft-donkere-hero .kop:not(.is-gescrold) { background: transparent; border-color: transparent; }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__logo-navy { display: none; }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__logo-wit { display: block; }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__binnen { height: 128px; }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__logo img { height: 104px; }
@media (max-width: 599px) { .heeft-donkere-hero .kop:not(.is-gescrold) .kop__binnen { height: 96px; } .heeft-donkere-hero .kop:not(.is-gescrold) .kop__logo img { height: 74px; } }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__nav a,
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__menuknop { color: #fff; }

.heeft-donkere-hero .kop { position: fixed; left: 0; right: 0; }
.heeft-donkere-hero .kop.is-gescrold { box-shadow: 0 1px 0 var(--lijn-zacht); }

/* ---------- Mobiel menu ---------- */
.mobielmenu { position: fixed; inset: 0; z-index: 60; background: rgba(5, 20, 76, .55); }
.mobielmenu[hidden] { display: none; }
.mobielmenu__paneel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(100%, 420px);
  background: var(--navy); color: #fff; padding: 24px var(--goot) 32px; display: flex; flex-direction: column; gap: 2rem;
  overflow-y: auto; transform: translateX(0); animation: schuif-in var(--t) var(--ease);
}
@keyframes schuif-in { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.mobielmenu__kop { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.mobielmenu__kop img { height: 40px; width: auto; }
.mobielmenu__sluit { background: none; border: 1px solid var(--lijn-licht); color: #fff; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.mobielmenu nav ul { list-style: none; }
.mobielmenu nav a {
  display: block; padding: .85rem 0; border-bottom: 1px solid var(--lijn-licht);
  font-family: var(--font-kop); font-weight: 700; font-size: 1.6rem; color: #fff; text-decoration: none; letter-spacing: -.01em;
}
.mobielmenu nav a[aria-current="page"] { color: var(--oranje); }
.mobielmenu__acties { display: grid; gap: .75rem; }
.mobielmenu__adres { margin-top: auto; font-size: .85rem; color: rgba(255, 255, 255, .7); }
body.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92vh, 860px); min-height: min(92svh, 860px); display: grid; align-items: end; background: var(--navy); color: #fff; overflow: hidden; }
.hero__beeld { position: absolute; inset: 0; }
.hero__beeld picture, .hero__beeld img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 20, 76, .38) 0%, rgba(5, 20, 76, .18) 35%, rgba(5, 20, 76, .74) 78%, rgba(5, 20, 76, .9) 100%); }
.hero__inhoud { position: relative; z-index: 1; padding-top: calc(var(--kop-hoogte) + clamp(56px, 10vh, 120px)); padding-bottom: clamp(48px, 7vh, 88px); }
.hero__tekst { max-width: 40rem; }
.hero h1 { color: #fff; margin-bottom: .55em; }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 34rem; margin-bottom: 1.6rem; }
.hero .knoppen { margin-bottom: 1.4rem; }
.hero__verhaal { color: rgba(255, 255, 255, .9); }
.hero__bijschrift { position: absolute; right: var(--goot); bottom: 20px; z-index: 1; font-size: .78rem; color: rgba(255, 255, 255, .6); margin: 0; display: none; }
@media (min-width: 900px) { .hero__bijschrift { display: block; } }
/* Één ingetogen entree: de tekst komt op */
.hero__tekst > * { animation: kom-op .8s var(--ease) both; }
.hero__tekst > :nth-child(2) { animation-delay: .08s; } .hero__tekst > :nth-child(3) { animation-delay: .16s; } .hero__tekst > :nth-child(4) { animation-delay: .24s; } .hero__tekst > :nth-child(5) { animation-delay: .32s; }
@keyframes kom-op { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Diensten ---------- */
.diensten__intro { max-width: 46rem; margin-bottom: clamp(40px, 6vw, 72px); }
.dienst { padding-block: clamp(32px, 5vw, 64px); }
.dienst + .dienst { border-top: 1px solid var(--lijn-zacht); }
.dienst__tekst p { max-width: 36rem; }
.dienst__wie { display: flex; align-items: center; gap: .9rem; margin: 1.4rem 0 1.6rem; }
.dienst__wie img { width: 52px; height: 52px; object-fit: cover; flex: none; }
.dienst__wie p { margin: 0; font-size: .9rem; line-height: 1.4; }
.dienst__wie strong { font-family: var(--font-kop); font-weight: 700; color: var(--navy); display: block; }
.thema { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--kolomgat); margin: 1.2rem 0 1.8rem; max-width: 30rem; }
.thema li { border-top: 1px solid var(--lijn); padding: .55rem 0; font-family: var(--font-kop); font-weight: 500; font-size: .95rem; color: var(--navy); }

/* ---------- Erfgoed (het gedenkwaardige element) ---------- */
.erfgoed { overflow: hidden; }
.jaartal {
  font-family: var(--font-kop); font-weight: 700; color: var(--oranje);
  font-size: clamp(6.5rem, 4rem + 11vw, 14rem); line-height: .82; letter-spacing: -.05em; margin: 0 0 .1em -.04em;
}
.jaartal-label { font-family: var(--font-kop); font-weight: 500; color: var(--marine); font-size: .95rem; margin: 0 0 2rem; padding-left: 2px; }
.erfgoed h2 { margin-top: 0; }
.erfgoed .kader { margin-top: 6px; }
.erfgoed__tekst .tekstlink { margin-top: .5rem; }
.kroontje { width: 34px; height: auto; margin: 0 0 1.6rem; opacity: .9; }

/* ---------- Aanbod ---------- */
.aanbod__kop { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(24px, 4vw, 40px); }
.aanbod__kop h2 { margin: 0; }
.woningen { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.woning { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lijn-zacht); }
.woning__beeld { aspect-ratio: 3 / 2; overflow: hidden; background: var(--ijs); position: relative; }
.woning__beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.woning:hover .woning__beeld img { transform: scale(1.03); }
.woning__status { position: absolute; left: 0; top: 14px; padding: .3rem .7rem; background: var(--navy); color: #fff; font-family: var(--font-kop); font-weight: 500; font-size: .78rem; }
.woning__status--verkocht { background: var(--marine); }
.woning__status--onder-voorbehoud { background: var(--oranje); color: var(--navy); }
.woning__tekst { padding: 1.1rem 1.2rem 1.25rem; display: grid; gap: .25rem; }
.woning__adres { font-family: var(--font-kop); font-weight: 700; font-size: 1.15rem; color: var(--navy); margin: 0; }
.woning__adres a { color: inherit; text-decoration: none; }
.woning__adres a::after { content: ""; position: absolute; inset: 0; }
.woning { position: relative; }
.woning__plaats { margin: 0; font-size: .9rem; color: var(--tekst-zacht); }
.woning__prijs { margin: .5rem 0 0; font-family: var(--font-kop); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.woning__feiten { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .35rem; font-size: .88rem; color: var(--tekst-zacht); }
.leeg { border: 1px solid var(--lijn); padding: clamp(24px, 4vw, 40px); max-width: 44rem; background: var(--glas); }
.leeg p { margin-bottom: .75rem; }
.leeg .tekstlink { margin-top: .25rem; }

/* ---------- Team ---------- */
.team__intro { max-width: 44rem; margin-bottom: clamp(32px, 5vw, 56px); }
.makelaars { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 980px; }
.makelaar { display: grid; grid-template-columns: 112px 1fr; gap: 1.25rem; align-items: start; padding-top: 1.25rem; border-top: 1px solid var(--lijn); }
.makelaar .beeld { width: 112px; }
.makelaar h3 { margin: .1rem 0 .2rem; }
.makelaar__rol { margin: 0 0 .8rem; font-size: .92rem; color: var(--tekst-zacht); }
.makelaar p { margin-bottom: .8rem; }
@media (min-width: 600px) { .makelaar { grid-template-columns: 148px 1fr; } .makelaar .beeld { width: 148px; } }

/* ---------- Buurten ---------- */
.buurten { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: 1fr; }
@media (min-width: 700px) { .buurten { grid-template-columns: 1fr 1fr; } }
.buurt { display: block; color: inherit; text-decoration: none; }
.buurt .beeld img { transition: transform .8s var(--ease); }
.buurt:hover .beeld img, .buurt:focus-visible .beeld img { transform: scale(1.035); }
.buurt__tekst { padding-top: 1.1rem; }
.buurt h3 { margin: 0 0 .35rem; }
.buurt p { margin-bottom: .6rem; }
.buurt .tekstlink::after { transform: scaleX(.34); }
.buurt:hover .tekstlink::after, .buurt:focus-visible .tekstlink::after { transform: scaleX(1); }

/* ---------- Persoonlijk ---------- */
.persoonlijk__lijst { list-style: none; display: grid; gap: .55rem; margin: 1.2rem 0 1.8rem; max-width: 30rem; }
.persoonlijk__lijst li { padding-left: 1.2rem; position: relative; }
.persoonlijk__lijst li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--oranje); }

/* ---------- Slot-CTA ---------- */
.slot { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.slot__beeld { position: absolute; inset: 0; opacity: .3; }
.slot__beeld picture, .slot__beeld img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.slot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 20, 76, .96) 0%, rgba(5, 20, 76, .8) 55%, rgba(5, 20, 76, .55) 100%); }
.slot__inhoud { position: relative; z-index: 1; max-width: 40rem; }
.slot h2 { color: #fff; }
.slot p { color: rgba(255, 255, 255, .86); margin-bottom: 1.6rem; }

/* ---------- Footer ---------- */
.voet { background: var(--navy); color: rgba(255, 255, 255, .82); padding-block: clamp(56px, 7vw, 96px) clamp(32px, 4vw, 48px); }
.voet__binnen { width: min(100% - 2 * var(--goot), var(--maat)); margin-inline: auto; }
.voet a { color: #fff; text-decoration: none; }
.voet a:hover, .voet a:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.voet__intro { display: grid; gap: 1.2rem; margin-bottom: clamp(40px, 5vw, 64px); }
.voet__intro img { width: min(100%, 340px); height: auto; }
.voet__intro p { margin: 0; color: rgba(255, 255, 255, .78); font-size: 1rem; }
.voet__kolommen { display: grid; gap: 2rem var(--kolomgat); grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: clamp(40px, 5vw, 64px); }
@media (min-width: 900px) { .voet__kolommen { grid-template-columns: 2fr 3fr 2fr 4fr; } .voet__intro { grid-template-columns: 1fr 1fr; align-items: end; } }
.voet__kolom h2 { font-family: var(--font-kop); font-weight: 500; font-size: .9rem; color: rgba(255, 255, 255, .58); margin: 0 0 .9rem; letter-spacing: .01em; }
.voet__kolom ul { list-style: none; display: grid; gap: .45rem; }
.voet__kolom li, .voet__kolom address { font-size: 1rem; line-height: 1.6; }
.voet__uren { margin: .9rem 0 0; color: rgba(255, 255, 255, .7); font-size: .95rem; }
.voet__kolom--contact { grid-column: 1 / -1; }
@media (min-width: 900px) { .voet__kolom--contact { grid-column: auto; } }

.voet__anres { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; padding: 1.6rem 0; border-top: 1px solid var(--lijn-licht); border-bottom: 1px solid var(--lijn-licht); }
.voet__anres-logo img { height: 84px; width: auto; opacity: .95; }
@media (max-width: 599px) { .voet__anres-logo img { height: 74px; } }
.voet__anres-tekst { margin: 0; font-family: var(--font-kop); font-weight: 500; color: #fff; }
.voet__anres-links { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-left: auto; }
.voet__anres-links a { color: rgba(255, 255, 255, .85); border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: 1px; }
.voet__anres-links a:hover { text-decoration: none; border-color: var(--oranje); }
@media (max-width: 699px) { .voet__anres-links { margin-left: 0; width: 100%; } }

.voet__juridisch { padding: 1.4rem 0 0; }
.voet__juridisch ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .82rem; color: rgba(255, 255, 255, .55); }
.voet__juridisch a { color: rgba(255, 255, 255, .7); }
.voet__merken { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.6rem clamp(28px, 4vw, 56px); padding-top: clamp(40px, 5vw, 64px); }
.voet__merken img { height: auto; opacity: .8; }
.voet__merken img[alt="Independent Broker"] { width: 56px; }
.voet__merken img[alt="Funda"] { height: 26px; width: auto; }
.voet__merken img[alt="Pararius"] { height: 22px; width: auto; }
.voet__merken a { display: block; }
.voet__merken a:hover img, .voet__merken a:focus-visible img { opacity: 1; }

/* ---------- Mobiele onderbalk ---------- */
.mobielbalk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: none; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px var(--goot);
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--lijn-zacht);
  transform: translateY(105%); transition: transform var(--t) var(--ease);
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
}
.mobielbalk .knop { min-height: 46px; padding-inline: .8rem; }
.mobielbalk.is-zichtbaar { transform: none; }
@media (max-width: 767px) {
  .mobielbalk { display: grid; }
  body.balk-actief .voet { padding-bottom: calc(clamp(32px, 4vw, 48px) + 76px); }
}

/* ---------- Ingetogen onthulling (alleen waar het iets toevoegt) ---------- */
.onthul { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.onthul.is-zichtbaar { opacity: 1; transform: none; }
.onthul[data-vertraging="1"] { transition-delay: .12s; }
.onthul[data-vertraging="2"] { transition-delay: .24s; }

/* ---------- Toegankelijkheid / voorkeuren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .onthul { opacity: 1; transform: none; }
}
.visueel-verborgen { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Formulieren (basis, verder in verkopen/aankopen/contact) ---------- */
.formulier { display: grid; gap: 1.1rem; }
.veld { display: grid; gap: .35rem; }
.veld label { font-family: var(--font-kop); font-weight: 500; font-size: .92rem; color: var(--navy); }
.veld input, .veld select, .veld textarea {
  width: 100%; padding: .75rem .9rem; font: inherit; color: var(--inkt); background: #fff;
  border: 1px solid rgba(20, 37, 67, .35); border-radius: 0; min-height: 48px;
}
.veld textarea { min-height: 140px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--oranje); outline-offset: 1px; border-color: var(--navy); }
.veld--fout input, .veld--fout select, .veld--fout textarea { border-color: #B3261E; }
.veld__fout { font-size: .85rem; color: #B3261E; }
.veld--check { grid-template-columns: auto 1fr; align-items: start; gap: .7rem; }
.veld--check input { width: 20px; height: 20px; min-height: 0; margin-top: .2rem; accent-color: var(--navy); }
.veld--check label { font-family: var(--font-tekst); font-weight: 400; font-size: .9rem; color: var(--inkt); }
.honing { position: absolute; left: -9999px; }
@media (min-width: 600px) { .formulier--2 { grid-template-columns: 1fr 1fr; } .formulier--2 .veld--breed, .formulier--2 .veld--check, .formulier--2 .formulier__acties { grid-column: 1 / -1; } }
.melding { padding: 1rem 1.2rem; border: 1px solid var(--lijn); background: var(--glas); margin-bottom: 1.2rem; }
.melding--ok { border-color: var(--marine); }
.melding--fout { border-color: #B3261E; }

@media print { .kop, .mobielbalk, .mobielmenu, .slot, .hero__beeld { display: none !important; } body { color: #000; } }

/* ==========================================================================
   Fase 2 – subpagina's
   ========================================================================== */

/* ---------- Paginakop (lichte kop voor subpagina's) ---------- */
.paginakop { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(32px, 5vw, 64px); }
.paginakop__binnen { max-width: 46rem; }
.paginakop h1 { margin-bottom: .5em; }
.paginakop .lead { margin-bottom: 1.6rem; }
.paginakop .knoppen { margin-top: .4rem; }
.beeldband { position: relative; }
.beeldband .beeld { aspect-ratio: 21 / 9; }
@media (max-width: 599px) { .beeldband .beeld { aspect-ratio: 4 / 3; } }
.beeldband--rand .beeld { border-top: 1px solid var(--lijn-zacht); }

/* ---------- Punten (h3 + tekst, geen icoontjes) ---------- */
.punten { list-style: none; display: grid; gap: clamp(20px, 3vw, 36px) var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.punten li { border-top: 1px solid var(--lijn); padding-top: 1rem; }
.punten h3 { font-size: 1.1rem; margin-bottom: .35rem; }
.punten p { margin: 0; font-size: .96rem; }

/* ---------- Genummerde stappen (echte volgorde) ---------- */
.stappen { list-style: none; counter-reset: stap; display: grid; gap: clamp(22px, 3vw, 36px) var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); max-width: 1100px; }
.stap { counter-increment: stap; border-top: 1px solid var(--lijn); padding-top: 1rem; }
.stap::before { content: counter(stap, decimal-leading-zero); display: block; font-family: var(--font-kop); font-weight: 700; font-size: 1.6rem; color: var(--oranje); line-height: 1; margin-bottom: .6rem; letter-spacing: -.02em; }
.stap h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.stap p { margin: 0; font-size: .95rem; }

/* ---------- Makelaar-blok (portret + tekst) ---------- */
.profiel { display: grid; gap: var(--kolomgat); align-items: center; }
@media (min-width: 800px) { .profiel { grid-template-columns: 5fr 7fr; } .profiel--omgekeerd { grid-template-columns: 7fr 5fr; } .profiel--omgekeerd .profiel__beeld { order: 2; } }
.profiel__beeld { max-width: 440px; }
blockquote.citaat { margin: 0 0 1.2rem; padding-left: 1.2rem; border-left: 2px solid var(--oranje); font-family: var(--font-kop); font-weight: 500; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.45; color: var(--navy); }
blockquote.citaat p { margin: 0; max-width: 34rem; color: inherit; }
.citaat-bron { font-size: .9rem; color: var(--tekst-zacht); margin: 0 0 1.4rem; }
.kenmerk { font-family: var(--font-kop); font-weight: 700; color: var(--oranje); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); line-height: 1; margin: 0 0 .4rem; letter-spacing: -.02em; }
.contactregels { list-style: none; display: grid; gap: .35rem; margin: 1.2rem 0; }
.contactregels li { font-size: 1rem; }
.contactregels a { font-family: var(--font-kop); font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--lijn); }
.contactregels a:hover { border-color: var(--oranje); }

/* ---------- Teampagina ---------- */
.teamkaarten { list-style: none; display: grid; gap: clamp(28px, 4vw, 48px) var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1100px; }
.teamkaart .beeld { max-width: 420px; }
.teamkaart h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: 1.1rem 0 .2rem; }
.teamkaart__rol { margin: 0 0 .9rem; font-family: var(--font-kop); font-weight: 500; color: var(--marine); }

/* ---------- Over KGMA: hoofdstukken ---------- */
.hoofdstuk__jaar { font-family: var(--font-kop); font-weight: 700; color: var(--oranje); font-size: clamp(4.5rem, 3rem + 7vw, 9rem); line-height: .85; letter-spacing: -.045em; margin: 0 0 .15em -.03em; }
.hoofdstuk__jaar--klein { font-size: clamp(2.6rem, 2rem + 3vw, 4.5rem); }
.adresblok { font-family: var(--font-kop); font-weight: 500; color: var(--navy); line-height: 1.5; margin: 0 0 1.4rem; padding-left: 1rem; border-left: 2px solid var(--oranje); }
.archiefpaar { display: grid; gap: var(--kolomgat); align-items: start; }
@media (min-width: 700px) { .archiefpaar { grid-template-columns: 7fr 5fr; } }
.archiefpaar figure { margin: 0; }
.kader--portret { max-width: 300px; }
.slotzin { font-family: var(--font-kop); font-weight: 700; color: var(--navy); font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem); line-height: 1.25; max-width: 26ch; margin: 1.6rem 0 0; }
.waarden { list-style: none; display: grid; gap: clamp(20px, 3vw, 36px) var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1100px; }
.waarden li { border-top: 2px solid var(--navy); padding-top: 1rem; }
.waarden h3 { margin-bottom: .35rem; }
.waarden p { margin: 0; font-size: .96rem; }

/* ---------- Buurtpagina's ---------- */
.buurtblok { display: grid; gap: var(--kolomgat); align-items: start; }
@media (min-width: 900px) { .buurtblok { grid-template-columns: 7fr 5fr; } .buurtblok--omgekeerd { grid-template-columns: 5fr 7fr; } .buurtblok--omgekeerd .buurtblok__beeld { order: -1; } }
.buurtblok__tekst h2 { margin-top: 0; }
.buurtblok__tekst h3 { font-size: 1.1rem; margin: 1.4rem 0 .3rem; }
.buurtblok__beeld .beeld--4x5 { max-width: 440px; }
.tweeluik { display: grid; gap: var(--kolomgat); }
@media (min-width: 700px) { .tweeluik { grid-template-columns: 1fr 1fr; } }
.tweeluik > div { border-top: 1px solid var(--lijn); padding-top: 1.2rem; display: flex; flex-direction: column; }
.tweeluik .knoppen { margin-top: auto; padding-top: .8rem; }
.tweeluik h2 { font-size: clamp(1.35rem, 1.15rem + .8vw, 1.8rem); }

/* ---------- Contact ---------- */
.contactraster { display: grid; gap: clamp(32px, 5vw, 64px) var(--kolomgat); }
@media (min-width: 900px) { .contactraster { grid-template-columns: 5fr 7fr; } }
.contactgegevens h2 { font-size: 1.1rem; margin: 1.6rem 0 .4rem; }
.contactgegevens h2:first-child { margin-top: 0; }
.contactgegevens address, .contactgegevens p { font-size: 1.05rem; line-height: 1.6; margin: 0; }
.contactgegevens a { font-family: var(--font-kop); font-weight: 500; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--lijn); }
.contactgegevens a:hover { border-color: var(--oranje); }
.groot { font-family: var(--font-kop); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); color: var(--navy); }
.keuze { display: grid; gap: .6rem; }
@media (min-width: 600px) { .keuze { grid-template-columns: repeat(3, 1fr); } }
.keuze label { display: flex; align-items: center; gap: .6rem; padding: .8rem .9rem; border: 1px solid rgba(20, 37, 67, .35); cursor: pointer; font-family: var(--font-kop); font-weight: 500; font-size: .95rem; color: var(--navy); background: #fff; }
.keuze label:has(input:checked) { border-color: var(--navy); background: var(--ijs); box-shadow: inset 0 0 0 1px var(--navy); }
.keuze input { accent-color: var(--navy); width: 18px; height: 18px; margin: 0; }
.formulier__acties { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.formulier__acties .klein { margin: 0; }
.formulierkaart { background: #fff; border: 1px solid var(--lijn); padding: clamp(20px, 3.5vw, 40px); }

/* ---------- Aanbod ---------- */
.filters { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(20px, 3vw, 32px); }
.filters a { display: inline-block; padding: .45rem .9rem; border: 1px solid var(--lijn); font-family: var(--font-kop); font-weight: 500; font-size: .9rem; color: var(--navy); text-decoration: none; }
.filters a[aria-current="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.galerij { display: grid; gap: 8px; grid-template-columns: repeat(4, 1fr); }
.galerij__hoofd { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.galerij__klein { aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .galerij { grid-template-columns: repeat(6, 1fr); } .galerij__hoofd { grid-column: span 4; grid-row: span 2; aspect-ratio: auto; } .galerij__klein { grid-column: span 2; } }
.galerij .beeld { margin: 0; }
.woningkop { display: grid; gap: 1rem; margin: clamp(24px, 4vw, 40px) 0; }
@media (min-width: 800px) { .woningkop { grid-template-columns: 1fr auto; align-items: end; } }
.woningkop h1 { margin-bottom: .2em; }
.woningkop__prijs { font-family: var(--font-kop); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + 1vw, 2rem); color: var(--navy); margin: 0; }
.woningkop__prijs .klein { font-weight: 500; }
.status { display: inline-block; padding: .3rem .7rem; background: var(--navy); color: #fff; font-family: var(--font-kop); font-weight: 500; font-size: .8rem; margin-bottom: .8rem; }
.status--onder-voorbehoud { background: var(--oranje); color: var(--navy); }
.status--verkocht { background: var(--marine); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0 var(--kolomgat); margin: 0; }
.specs div { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: .6rem 0; border-top: 1px solid var(--lijn); font-size: .95rem; }
.specs dt { color: var(--tekst-zacht); margin: 0; }
.specs dd { margin: 0; font-family: var(--font-kop); font-weight: 500; color: var(--navy); text-align: right; }
.prosa p { max-width: 68ch; }
.kenmerken { list-style: none; columns: 2; column-gap: var(--kolomgat); max-width: 60rem; }
.kenmerken li { break-inside: avoid; padding: .45rem 0; border-top: 1px solid var(--lijn-zacht); font-size: .95rem; }
.zijkolom { position: sticky; top: calc(var(--kop-hoogte) + 24px); }
.zijkolom .formulierkaart h2 { font-size: 1.25rem; }
.zijkolom .formulierkaart .makelaar { border: 0; padding: 0; margin-top: 1.2rem; }
.plattegronden { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.plattegronden .kader { padding: 8px; }
.leeg--fout { border-color: #B3261E; }

/* ---------- Reviews (alleen zichtbaar met geautoriseerde bron) ---------- */
.reviews__kop { display: flex; flex-wrap: wrap; align-items: baseline; gap: .6rem 1.4rem; margin-bottom: clamp(24px, 4vw, 40px); }
.reviews__kop h2 { margin: 0; }
.reviews__score { font-family: var(--font-kop); font-weight: 500; color: var(--navy); }
.reviews__score strong { color: var(--oranje); font-size: 1.2em; }
.reviewlijst { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { border-top: 2px solid var(--navy); padding-top: 1rem; }
.review__sterren { color: var(--oranje); font-size: .95rem; letter-spacing: .1em; margin-bottom: .5rem; }
.review p { font-size: .96rem; }
.review__naam { font-family: var(--font-kop); font-weight: 500; color: var(--navy); font-size: .9rem; margin: 0; }
.review__datum { font-size: .82rem; color: var(--tekst-zacht); }
.reviews__bron { margin-top: 1.5rem; font-size: .85rem; color: var(--tekst-zacht); }

/* ---------- Lange tekst (privacy) ---------- */
.tekstpagina { max-width: 46rem; }
.tekstpagina h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); margin-top: 2.2rem; }
.tekstpagina h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.tekstpagina ul, .tekstpagina ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.tekstpagina li { margin-bottom: .3rem; }
.tekstpagina p { max-width: none; }
.bijgewerkt { font-size: .85rem; color: var(--tekst-zacht); }

/* ---------- Veelgestelde vragen ---------- */
.vragen { max-width: 52rem; border-top: 1px solid var(--lijn); }
.vragen details { border-bottom: 1px solid var(--lijn); }
.vragen summary { list-style: none; cursor: pointer; padding: 1rem 2.4rem 1rem 0; position: relative; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary h3 { margin: 0; font-size: 1.05rem; }
.vragen summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(var(--oranje), var(--oranje)) center/14px 2px no-repeat, linear-gradient(var(--oranje), var(--oranje)) center/2px 14px no-repeat; transition: transform var(--t) var(--ease); }
.vragen details[open] summary::after { transform: rotate(45deg); }
.vragen details p { margin: 0 0 1.2rem; max-width: 46rem; }
.vragen summary:focus-visible { outline: 2px solid var(--oranje); outline-offset: 2px; }

/* ==========================================================================
   Transacties (tegels) en sneak preview
   ========================================================================== */
.tegels { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 700px) { .tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tegel { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ijs); color: #fff; text-decoration: none; }
.tegel img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tegel:hover img, .tegel:focus-visible img { transform: scale(1.04); }
.tegel__rol { position: absolute; left: 0; top: 14px; padding: .3rem .7rem; background: var(--oranje); color: var(--navy); font-family: var(--font-kop); font-weight: 500; font-size: .78rem; }
.tegel__rol--verkoop { background: var(--navy); color: #fff; }
.tegel__tekst {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1rem .9rem;
  background: linear-gradient(180deg, rgba(5, 20, 76, 0) 0%, rgba(5, 20, 76, .85) 100%);
  opacity: 0; transform: translateY(8px); transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
}
.tegel:hover .tegel__tekst, .tegel:focus-visible .tegel__tekst { opacity: 1; transform: none; }
@media (hover: none) { .tegel__tekst { opacity: 1; transform: none; } }
.tegel__adres { display: block; font-family: var(--font-kop); font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.tegel__plaats { display: block; font-size: .85rem; color: rgba(255, 255, 255, .85); }
.rol { display: inline-block; padding: .3rem .7rem; background: var(--oranje); color: var(--navy); font-family: var(--font-kop); font-weight: 500; font-size: .8rem; margin-bottom: .8rem; }
.rol--verkoop { background: var(--navy); color: #fff; }
.transactie__feiten { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: .6rem 0 1.6rem; font-size: .92rem; color: var(--tekst-zacht); }
.sneak { background: var(--ijs); }
.sneak .formulierkaart { background: #fff; }
.sneak__punten { list-style: none; display: grid; gap: .55rem; margin: 1.2rem 0 1.6rem; max-width: 30rem; }
.sneak__punten li { padding-left: 1.2rem; position: relative; }
.sneak__punten li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--oranje); }
.prijsrange { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }

/* ---------- Uitklapmenu (desktop) ---------- */
.kop__nav li { position: relative; }
.kop__pijl { display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); opacity: .7; }
.kop__sub { position: absolute; left: -18px; top: calc(100% + 10px); min-width: 230px; padding: .55rem 0 .65rem; margin: 0; list-style: none; background: var(--navy); border-top: 2px solid var(--oranje);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity var(--t-snel) var(--ease), transform var(--t-snel) var(--ease), visibility 0s linear var(--t-snel); }
.kop__nav li.heeft-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }   /* brug tussen item en submenu */
.kop__nav li.heeft-sub:hover .kop__sub, .kop__nav li.heeft-sub:focus-within .kop__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.kop__sub a { display: block; padding: .6rem 1.25rem; white-space: nowrap; color: #fff; font-size: .93rem; }
.kop__sub a::after { left: 1.25rem; right: 1.25rem; bottom: .35rem; }
.kop__sub a:hover, .kop__sub a:focus-visible { color: #fff; }
.heeft-donkere-hero .kop:not(.is-gescrold) .kop__sub a { color: #fff; }
.mobielmenu nav li { border-bottom: 1px solid var(--lijn-licht); }
.mobielmenu nav li > a { border-bottom: 0; }
.mobielmenu nav a.mobielmenu__sub { display: block; padding: 0 0 .7rem 1.2rem; font-weight: 500; font-size: 1.05rem; color: rgba(255, 255, 255, .8); letter-spacing: 0; }
.mobielmenu nav li:has(.mobielmenu__sub) > a:first-child { padding-bottom: .35rem; }
.mobielmenu nav a.mobielmenu__sub[aria-current="page"] { color: var(--oranje); }

/* ---------- Aanbodfilters ---------- */
.aanbodfilters { display: grid; gap: .75rem var(--kolomgat); grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: clamp(20px, 3vw, 32px); align-items: end; }
@media (min-width: 800px) { .aanbodfilters { grid-template-columns: repeat(3, minmax(0, 1fr)) auto; } }
.aanbodfilters .veld select { min-height: 46px; }
.aanbodfilters__reset { justify-self: start; }
.aanbod__telling { font-size: .9rem; color: var(--tekst-zacht); margin: 0 0 1rem; }

/* ---------- Pictogrammen (verkooppagina) ---------- */
.pictos { list-style: none; display: grid; gap: var(--kolomgat); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); max-width: 980px; }
.picto { border-top: 1px solid var(--lijn); padding-top: 1.2rem; }
.picto svg { width: 44px; height: 44px; margin-bottom: .9rem; color: var(--navy); }
.picto h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.picto p { margin-bottom: .6rem; font-size: .96rem; }

/* ---------- Uitgelicht (verkooppagina) ---------- */
.uitgelicht { margin-bottom: clamp(40px, 6vw, 72px); }
.uitgelicht__picto { width: 52px; height: 52px; color: var(--navy); margin-bottom: 1.2rem; }
.uitgelicht__kop { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); margin-bottom: .6em; }
.uitgelicht .lead { max-width: 36rem; }
.pictos--klein .picto h3 { font-size: 1.05rem; }
.pictos--klein .picto svg { width: 36px; height: 36px; }
.pictos--klein .picto p { font-size: .93rem; }

/* ---------- Kenmerken met pictogrammen ---------- */
.feiten { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem var(--kolomgat); margin: 0 0 1.6rem; padding: 1.2rem 0; border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.feit { display: grid; grid-template-columns: 30px 1fr; gap: .7rem; align-items: center; }
.feit svg { width: 30px; height: 30px; color: var(--navy); }
.feit__waarde { display: block; font-family: var(--font-kop); font-weight: 700; color: var(--navy); font-size: 1.05rem; line-height: 1.15; }
.feit__label { display: block; font-size: .78rem; color: var(--tekst-zacht); }
.energielabel { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 26px; padding: 0 12px 0 8px; color: #fff; font-family: var(--font-kop); font-weight: 700; font-size: .95rem; line-height: 1; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 50%, calc(100% - 10px) 100%, 0 100%); background: #999; }
.energielabel--klein { min-width: 36px; height: 20px; font-size: .78rem; padding: 0 10px 0 6px; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.energielabel--a4, .energielabel--a3, .energielabel--a2 { background: #00893B; }
.energielabel--a1, .energielabel--a { background: #33A357; }
.energielabel--b { background: #80C342; }
.energielabel--c { background: #F2D400; color: var(--inkt); }
.energielabel--d { background: #F9A11B; }
.energielabel--e { background: #F36F21; }
.energielabel--f { background: #E9341E; }
.energielabel--g { background: #CC0000; }
.woning__feiten { align-items: center; }
.woning__feiten li { display: inline-flex; align-items: center; gap: .35rem; }
.woning__feiten svg { width: 18px; height: 18px; color: var(--navy); }
.makelaar--woning .makelaar__logo { object-fit: contain; padding: 10px; background: var(--glas); }

/* ==========================================================================
   Fotoviewer (lichtbak) en galerij
   ========================================================================== */
.galerij .beeld { cursor: zoom-in; position: relative; }
.galerij__meer { position: absolute; right: 12px; bottom: 12px; padding: .45rem .8rem; background: rgba(5, 20, 76, .85); color: #fff; font-family: var(--font-kop); font-weight: 500; font-size: .85rem; pointer-events: none; }
.plattegronden .kader { cursor: zoom-in; }
.lichtbak { position: fixed; inset: 0; z-index: 100; background: rgba(5, 20, 76, .96); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lichtbak__kop { display: flex; align-items: center; justify-content: space-between; padding: 14px var(--goot); font-family: var(--font-kop); font-weight: 500; font-size: .95rem; }
.lichtbak__sluit { background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; width: 44px; height: 44px; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lichtbak__beeld { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 var(--goot); }
.lichtbak__beeld img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); object-fit: contain; user-select: none; }
.lichtbak__pijl { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; background: rgba(255, 255, 255, .12); border: 0; color: #fff; font-size: 1.8rem; cursor: pointer; display: grid; place-items: center; }
.lichtbak__pijl:hover { background: var(--oranje); color: var(--navy); }
.lichtbak__pijl--links { left: 8px; } .lichtbak__pijl--rechts { right: 8px; }
.lichtbak__strook { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--goot) 16px; scrollbar-width: thin; }
.lichtbak__strook img { height: 56px; width: 84px; object-fit: cover; opacity: .55; cursor: pointer; flex: none; border: 2px solid transparent; }
.lichtbak__strook img.is-actief { opacity: 1; border-color: var(--oranje); }
body.lichtbak-open { overflow: hidden; }
@media (max-width: 599px) { .lichtbak__pijl { width: 44px; height: 44px; font-size: 1.4rem; } .lichtbak__strook img { height: 44px; width: 66px; } }

/* ==========================================================================
   Mobiel: fijnslijpen
   ========================================================================== */
h1, h2, h3 { overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .zijkolom { position: static; }
  .raster { row-gap: clamp(24px, 6vw, 40px); }
  .profiel__beeld, .buurtblok__beeld .beeld--4x5, .kader--portret { max-width: 100%; }
  .teamkaart .beeld { max-width: 100%; }
  .hero__inhoud { padding-top: calc(var(--kop-hoogte) + clamp(40px, 8vh, 80px)); }
}
@media (max-width: 599px) {
  .knoppen { gap: .6rem .8rem; }
  .knoppen .knop { flex: 1 1 auto; white-space: normal; text-align: center; }
  .hero .knoppen .knop, .slot .knoppen .knop { flex: 1 1 100%; }
  .galerij { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .galerij__klein { aspect-ratio: 1; }
  .aanbodfilters { grid-template-columns: 1fr 1fr; }
  .aanbodfilters__reset { grid-column: 1 / -1; justify-self: stretch; }
  .feiten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem .6rem; }
  .specs { grid-template-columns: 1fr; }
  .tegels { grid-template-columns: 1fr 1fr; gap: 10px; }
  .woningkop { gap: .5rem; }
  .formulierkaart { padding: 18px 16px; }
  .voet__kolommen { grid-template-columns: 1fr; gap: 1.6rem; }
  .voet__merken { gap: 1.2rem 1.6rem; }
  .jaartal { font-size: clamp(5rem, 24vw, 7rem); }
  .kop__binnen { gap: 12px; }
  .paginakop { padding-top: clamp(28px, 6vw, 48px); }
  .sectie { padding-block: clamp(48px, 12vw, 72px); }
}
@media (max-width: 380px) {
  html { font-size: 94%; }
  .kop__logo img { height: 50px; }
  .heeft-donkere-hero .kop:not(.is-gescrold) .kop__logo img { height: 62px; }
}

.kantoorfoto { margin: 0 0 1.6rem; max-width: 440px; }
@media (max-width: 899px) { .kantoorfoto { max-width: 100%; } }
