/* ==========================================================================
   Hiem Makelaars (verzonnen makelaar, Franeker) · voorbeeld van NorthByte
   Typografie: Newsreader (koppen, cursief als accent) en Schibsted Grotesk (tekst).
   Kleuren: zand, nachtblauw en dakpanoranje. Een rustig woonblad.
   Vormtaal: huisjes als kaartspelden, rechte kaarten, een stempel bij verkocht.
   Beweging: alleen transform en opacity. Alles uit bij reduced motion.
   ========================================================================== */

@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; src: url(../gedeeld/fonts/newsreader-var-latin.woff2) format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; src: url(../gedeeld/fonts/newsreader-var-italic-latin.woff2) format("woff2"); }
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap; src: url(../gedeeld/fonts/schibsted-grotesk-var-latin.woff2) format("woff2"); }

:root {
  --zand: #f6f3ec;
  --zand-2: #ebe6da;
  --wit: #ffffff;
  --inkt: #13283b;
  --inkt-2: #2b4258;
  --grijs: #56616b;
  --oranje: #b84a22;
  --oranje-licht: #e88a5e;
  --wad: #dfe8ec;
  --lijn: rgba(19, 40, 59, .14);
  --lijn-licht: rgba(246, 243, 236, .18);
  --kop: "Newsreader", Georgia, "Times New Roman", serif;
  --tekst: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --zacht: cubic-bezier(.22, 1, .36, 1);
  --rand: 16px;
  --vb-scroll-top: 80px;
  color-scheme: light;
}
@media (min-width: 760px) { :root { --rand: 32px; } }

html { background: var(--zand); }
body { background: var(--zand); color: var(--inkt); font: 400 16px/1.6 var(--tekst); }
::selection { background: var(--inkt); color: var(--zand); }

.rand { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--rand); }
.rand-smal { max-width: 860px; }

h1, h2, h3 { font-family: var(--kop); font-weight: 500; line-height: 1.04; letter-spacing: -.015em; }
h2 { font-size: clamp(2.1rem, 4.8vw, 3.5rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--oranje); }

.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font: 700 12.5px/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; color: var(--inkt-2); }
.label::before { content: ""; width: 12px; height: 12px; background: var(--oranje); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.label-licht { color: #e9e4d8; }
.label-licht::before { background: var(--oranje-licht); }

/* ----- Knoppen ----- */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 24px; border-radius: 6px; border: 1.5px solid var(--inkt);
  background: var(--inkt); color: var(--zand); text-decoration: none; text-align: center;
  font: 700 15px/1.15 var(--tekst);
  transition: background-color .2s, color .2s, border-color .2s, transform .3s var(--zacht);
}
.knop:hover { background: var(--inkt-2); border-color: var(--inkt-2); transform: translateY(-2px); }
.knop:active { transform: none; }
.knop-lijn { background: transparent; color: var(--inkt); }
.knop-lijn:hover { background: var(--inkt); color: var(--zand); }
.knop-oranje { background: var(--oranje); border-color: var(--oranje); color: #fff; }
.knop-oranje:hover { background: #9e3e1b; border-color: #9e3e1b; }
.knop-klein { min-height: 44px; padding: 0 16px; font-size: 14px; }
.knop-breed { width: 100%; }

/* ----- Kop ----- */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(246, 243, 236, .96); border-bottom: 1px solid transparent; transition: border-color .3s; }
.kop.is-gescrold { border-bottom-color: var(--lijn); }
.kop-in { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; }
.logo-merk { width: 36px; height: 36px; flex: none; }
.logo-tekst { display: flex; flex-direction: column; }
.logo-tekst b { font: 600 26px/1 var(--kop); letter-spacing: -.01em; }
.logo-tekst small { margin-top: 3px; font: 700 10px/1 var(--tekst); letter-spacing: .18em; text-transform: uppercase; color: var(--grijs); }
.logo-licht .logo-tekst b { color: var(--zand); }
.logo-licht .logo-tekst small { color: #b9c2ca; }
.menu { display: flex; align-items: center; gap: 26px; font-weight: 600; font-size: 15px; }
.menu a { position: relative; text-decoration: none; padding: 6px 0; }
.menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--oranje); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--zacht); }
.menu a:hover::after { transform: scaleX(1); }
.menu-knop { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; position: relative; }
.menu-knop i { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--inkt); transition: transform .35s var(--zacht); }
.menu-knop i:first-of-type { top: 18px; }
.menu-knop i:last-of-type { top: 25px; }
.menu-knop[aria-expanded="true"] i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-knop[aria-expanded="true"] i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
@media (max-width: 959px) {
  .kop-in { height: 64px; gap: 8px; }
  .kop-knop { min-height: 40px; padding: 0 12px; font-size: 13.5px; white-space: nowrap; }
  .js .menu-knop { display: block; }
  .js .menu {
    position: fixed; left: 0; right: 0; top: 64px; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--rand) 24px; background: var(--zand); border-bottom: 1px solid var(--lijn);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--zacht), opacity .25s, visibility 0s linear .35s;
  }
  .js .menu.is-open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--zacht), opacity .25s, visibility 0s; }
  .js .menu a { padding: 14px 0; border-bottom: 1px solid var(--lijn); font: 500 23px/1.2 var(--kop); }
  .js .menu a::after { display: none; }
  html:not(.js) .kop-in { flex-wrap: wrap; height: auto; padding: 12px 0; }
  html:not(.js) .menu { order: 3; width: 100%; flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width: 459px) { .logo-tekst small { display: none; } }

/* ----- Hero ----- */
.hero { position: relative; padding-bottom: 0; }
.hero-beeld { position: absolute; inset: 0 0 64px 0; overflow: hidden; background: #1b3550; }
.hero-beeld img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-beeld::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 20, 32, .78) 0%, rgba(9, 20, 32, .5) 38%, rgba(9, 20, 32, 0) 66%), linear-gradient(180deg, rgba(9, 20, 32, .45) 0%, rgba(9, 20, 32, 0) 50%); }
.hero-in { position: relative; z-index: 1; min-height: min(78vh, 760px); padding-top: clamp(48px, 8vw, 110px); padding-bottom: 150px; color: var(--zand); }
.hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.8rem); line-height: .98; max-width: 12ch; color: #fff; }
.hero h1 em { color: #ffd2b8; }
.hero-sub { margin-top: 20px; max-width: 32rem; font-size: 18px; color: #edf0f2; }
@media (prefers-reduced-motion: no-preference) {
  .hero-beeld img { animation: hero-zoom 2.4s var(--zacht) both; }
  .hero-in > * { animation: omhoog .9s var(--zacht) both; }
  .hero-in > :nth-child(2) { animation-delay: .1s; }
  .hero-in > :nth-child(3) { animation-delay: .2s; }
  .zoek { animation: omhoog .9s .3s var(--zacht) both; }
}
@keyframes hero-zoom { from { transform: scale(1.08); } }
@keyframes omhoog { from { opacity: 0; transform: translate3d(0, 22px, 0); } }

.zoek {
  position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 12px; align-items: end;
  margin-top: -110px; padding-top: 22px; padding-bottom: 22px; background: var(--wit); border-radius: 10px; box-shadow: 0 24px 60px rgba(19, 40, 59, .18);
  max-width: calc(1280px - 2 * var(--rand)); width: calc(100% - 2 * var(--rand)); padding-left: 22px; padding-right: 22px;
}
.zoek-veld { display: flex; flex-direction: column; gap: 6px; min-width: 0; font-weight: 700; font-size: 13px; color: var(--grijs); text-transform: uppercase; letter-spacing: .06em; }
.zoek-veld select { min-height: 52px; padding: 0 14px; border: 1.5px solid var(--lijn); border-radius: 6px; background: var(--zand); color: var(--inkt); font: 600 16px var(--tekst); text-transform: none; letter-spacing: 0; }
.zoek-veld select:focus { outline: none; border-color: var(--inkt); }

/* ----- Cijfers ----- */
.cijfers { padding: clamp(36px, 5vw, 56px) 0 0; }
.cijfer-lijst { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cijfer-lijst li { display: flex; flex-direction: column; gap: 4px; padding: 6px 20px; border-left: 1px solid var(--lijn); }
.cijfer-lijst li:first-child { border-left: 0; padding-left: 0; }
.cijfer-lijst b { font: 500 clamp(34px, 4vw, 50px)/1 var(--kop); }
.cijfer-lijst span { font-size: 14.5px; color: var(--grijs); }

/* ----- Secties ----- */
.sectie { padding: clamp(72px, 9vw, 120px) 0; }
.sectie-kop { margin-bottom: clamp(30px, 4vw, 48px); max-width: 44rem; }
.sectie-kop-rij { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px 48px; flex-wrap: wrap; max-width: none; }
.sectie-kop-rij > div:first-child { max-width: 42rem; }
.sectie-sub { margin-top: 16px; color: var(--grijs); font-size: 17px; max-width: 34rem; }
.sectie-kop-rij .sectie-sub { margin-top: 0; max-width: 28rem; }

/* ----- Filters ----- */
.filters { margin-bottom: 26px; padding: 18px; background: var(--wit); border-radius: 10px; border: 1px solid var(--lijn); }
.filter-rij + .filter-rij { margin-top: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--lijn); background: transparent; font-weight: 700; font-size: 14.5px; transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--inkt); }
.chip[aria-pressed="true"] { background: var(--inkt); border-color: var(--inkt); color: var(--zand); }
.filter-rij-2 { display: flex; flex-wrap: wrap; align-items: end; gap: 12px 20px; }
.filter-veld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 13px; color: var(--grijs); }
.filter-veld select { min-height: 44px; padding: 0 12px; border: 1.5px solid var(--lijn); border-radius: 6px; background: var(--zand); color: var(--inkt); font: 600 15px var(--tekst); }
.filter-prijs { min-width: 220px; flex: 1; max-width: 320px; }
.filter-prijs output { color: var(--inkt); }
.filter-prijs input { width: 100%; accent-color: var(--inkt); min-height: 44px; }
.vinkje { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 14.5px; font-weight: 600; color: var(--inkt-2); }
.vinkje input { width: 20px; height: 20px; accent-color: var(--inkt); flex: none; }
.filter-onder { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--lijn); }
.filter-aantal { font-weight: 700; }
.weergave { display: none; }
.weergave-knop { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--lijn); background: transparent; font-weight: 700; font-size: 14px; }
.weergave-knop:first-child { border-radius: 6px 0 0 6px; }
.weergave-knop:last-child { border-radius: 0 6px 6px 0; margin-left: -1.5px; }
.weergave-knop[aria-pressed="true"] { background: var(--inkt); border-color: var(--inkt); color: var(--zand); }

/* ----- Aanbod ----- */
.aanbod-in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.woningen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.woning { display: flex; flex-direction: column; background: var(--wit); border-radius: 10px; overflow: hidden; border: 1px solid var(--lijn); transition: border-color .2s, transform .35s var(--zacht); }
.woning.is-actief { border-color: var(--oranje); transform: translateY(-3px); }
.woning[hidden] { display: none; }
.w-beeld { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--zand-2); }
.w-beeld img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--zacht); }
.woning:not(.is-verkocht):hover .w-beeld img { transform: scale(1.04); }
.is-verkocht .w-beeld::after { content: ""; position: absolute; inset: 0; background: rgba(246, 243, 236, .38); }
.w-label { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 6px 10px; border-radius: 4px; font: 800 12px/1 var(--tekst); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--inkt); }
.w-label-bod { background: var(--oranje); }
.w-label-open { background: #ffd2b8; color: var(--inkt); }
.w-label-verkocht { background: #8c1d18; }
.w-stempel {
  position: absolute; left: 50%; top: 50%; z-index: 2; padding: 6px 18px; border: 3px solid #8c1d18; border-radius: 6px;
  font: 800 22px/1 var(--tekst); letter-spacing: .14em; text-transform: uppercase; color: #8c1d18; background: rgba(255, 255, 255, .82);
  transform: translate(-50%, -50%) rotate(-12deg);
}
.w-nr { position: absolute; right: 12px; top: 12px; z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wit); font: 800 13px/1 var(--tekst); color: var(--inkt); }
.w-tekst { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.w-plaats { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--grijs); }
.w-adres { margin-top: 4px; font-size: 25px; }
.w-prijs { margin-top: 6px; font: 600 19px/1.2 var(--tekst); }
.w-prijs small { font-size: 13px; font-weight: 600; color: var(--grijs); }
.w-prijs s { color: var(--grijs); font-weight: 500; text-decoration-thickness: 1.5px; }
.w-verkocht-tekst { margin-left: 4px; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8c1d18; }
.w-kort { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 10px; font-size: 14px; color: var(--inkt-2); }
.w-omschrijving { margin-top: 10px; font-size: 14.5px; color: var(--grijs); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-specs { display: none; }
html:not(.js) .w-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 14px; margin-top: 12px; font-size: 13.5px; }
.w-specs dt, .dialog-specs dt { color: var(--grijs); }
.w-specs dd, .dialog-specs dd { margin: 0; font-weight: 700; }
.w-knop { align-self: flex-start; min-height: 44px; margin-top: auto; padding: 14px 0 0; border: 0; background: none; font-weight: 700; font-size: 14.5px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--oranje); text-decoration-thickness: 2px; }
html:not(.js) .w-knop { display: none; }
.elabel { display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 8px 0 6px; font: 800 12px/1 var(--tekst); color: #fff; clip-path: polygon(0 0, 82% 0, 100% 50%, 82% 100%, 0 100%); }
.elabel-a2 { background: #13753a; } .elabel-a1 { background: #23893f; } .elabel-a { background: #3f9b3c; }
.elabel-b { background: #8fbf3a; color: #13283b; } .elabel-c { background: #e9d23a; color: #13283b; } .elabel-d { background: #efa631; color: #13283b; } .elabel-e { background: #d9582c; }
.geen { padding: 24px; border-radius: 10px; background: var(--wit); border: 1px dashed var(--lijn); color: var(--grijs); }

.kaart { position: sticky; top: 92px; margin: 0; padding: 12px; background: var(--wit); border-radius: 10px; border: 1px solid var(--lijn); }
.kaart svg { width: 100%; height: auto; border-radius: 6px; }
.kaart figcaption { margin-top: 8px; font-size: 13px; color: var(--grijs); }
.pin { cursor: pointer; transition: opacity .3s; }
.pin:focus { outline: none; }
.pin-schaal { transform-box: fill-box; transform-origin: 50% 100%; transform: scale(var(--pin, 1)); transition: transform .35s var(--zacht); }
.pin-vorm { fill: var(--inkt); stroke: #fff; stroke-width: 2; transition: fill .2s; }
.pin text { font: 800 10.5px var(--tekst); fill: #fff; pointer-events: none; }
.pin-verkocht .pin-vorm { fill: #8b97a1; }
.pin:hover .pin-schaal, .pin:focus-visible .pin-schaal, .pin.is-actief .pin-schaal { transform: scale(calc(var(--pin, 1) * 1.3)); }
.pin:hover .pin-vorm, .pin:focus-visible .pin-vorm, .pin.is-actief .pin-vorm { fill: var(--oranje); }
.pin.is-weg { opacity: 0; pointer-events: none; }

/* ----- Dialoog woning ----- */
.woning-dialog { width: min(980px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 12px; background: var(--wit); color: var(--inkt); overflow: auto; }
.woning-dialog::backdrop { background: rgba(9, 20, 32, .6); }
.woning-dialog[open] { animation: omhoog .4s var(--zacht); }
.dialog-in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; }
.dialog-beeld img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; }
.dialog-tekst { padding: 28px 28px 26px; }
.dialog-tekst h3 { margin-top: 4px; font-size: 34px; }
.dialog-prijs { margin-top: 8px; font: 700 21px/1.2 var(--tekst); }
.dialog-omschrijving { margin-top: 12px; color: var(--grijs); }
.dialog-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); font-size: 14.5px; }
.dialog-sluit { position: absolute; right: 12px; top: 12px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--wit); box-shadow: 0 4px 14px rgba(0, 0, 0, .15); }
.dialog-sluit::before, .dialog-sluit::after { content: ""; position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--inkt); transform: rotate(45deg); }
.dialog-sluit::after { transform: rotate(-45deg); }
.bezichtiging-kop { font: 500 22px/1.2 var(--kop); margin-bottom: 10px; }

/* ----- Formulieren ----- */
.velden { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.veld { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.veld-breed { grid-column: 1 / -1; }
.veld-label { display: flex; justify-content: space-between; gap: 8px; }
.veld input, .veld select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid rgba(19, 40, 59, .2); border-radius: 6px; background: var(--zand); font-weight: 500; font-size: 16px; transition: border-color .2s; }
.veld input[type="range"] { padding: 0; border: 0; background: transparent; accent-color: var(--oranje); }
.veld input:focus, .veld select:focus { outline: none; border-color: var(--inkt); box-shadow: 0 0 0 3px rgba(19, 40, 59, .14); }

/* ----- Open huis ----- */
.openhuis { background: var(--zand-2); }
.openhuis-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.openhuis-in > * { min-width: 0; }
.openhuis-feiten { display: flex; flex-wrap: wrap; gap: 14px 32px; margin: 26px 0; padding: 16px 0; border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.openhuis-feiten dt { font: 700 12px/1.2 var(--tekst); letter-spacing: .1em; text-transform: uppercase; color: var(--grijs); }
.openhuis-feiten dd { margin: 4px 0 0; font: 500 22px/1.15 var(--kop); }
.deur-blok { --e456-deur: #1f3a52; --e456-muur: #8e4630; --e456-kozijn: #f4f1ea; justify-self: center; width: min(100%, 420px); }
.deur-kaart-kop { display: block; font-weight: 800; color: var(--oranje); }

/* ----- Waardebepaling ----- */
.waarde { background: var(--inkt); color: var(--zand); }
.waarde h2 em { color: var(--oranje-licht); }
.waarde .sectie-sub { color: #c9d1d8; }
.waarde-in { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.waarde-in > * { min-width: 0; }
.waarde-punten { margin-top: 26px; display: grid; gap: 10px; }
.waarde-punten li { position: relative; padding-left: 26px; color: #e1e6ea; }
.waarde-punten li::before { content: ""; position: absolute; left: 0; top: .45em; width: 12px; height: 12px; background: var(--oranje-licht); clip-path: polygon(50% 0, 100% 45%, 100% 100%, 0 100%, 0 45%); }
.rekenaar { display: grid; grid-template-columns: 1.05fr .95fr; background: var(--wit); color: var(--inkt); border-radius: 12px; overflow: hidden; }
.rekenaar-velden { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-content: start; padding: 24px; }
.soort legend { margin-bottom: 8px; font-weight: 700; font-size: 14px; }
.soort-keuzes { display: flex; flex-wrap: wrap; gap: 6px; }
.soort-keuzes label { position: relative; cursor: pointer; }
.soort-keuzes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.soort-keuzes span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 12px; border: 1.5px solid var(--lijn); border-radius: 6px; font-weight: 600; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s; }
.soort-keuzes label:hover span { border-color: var(--inkt); }
.soort-keuzes input:checked + span { background: var(--inkt); border-color: var(--inkt); color: var(--zand); }
.soort-keuzes input:focus-visible + span { outline: 2px solid var(--oranje); outline-offset: 2px; }
.veld-schuif output { color: var(--oranje); font-weight: 800; }
.extra { display: grid; gap: 2px; }
.uitkomst { padding: 24px; background: #f2eee5; display: flex; flex-direction: column; }
.uitkomst-label { font: 700 12px/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); }
.uitkomst-bedrag { margin-top: 8px; font: 500 clamp(26px, 2.6vw, 34px)/1.15 var(--kop); }
.uitkomst-bedrag.is-nieuw { animation: omhoog .45s var(--zacht); }
.schaal { position: relative; height: 10px; margin-top: 18px; border-radius: 10px; background: linear-gradient(90deg, #dfe8ec, #c9d6dd); overflow: hidden; }
.schaal-band { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; background: var(--oranje); transform-origin: 0 50%; transform: translateX(calc(var(--a, .2) * 100%)) scaleX(var(--w, .05)); transition: transform .5s var(--zacht); }
.schaal-labels { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--grijs); }
.uitkomst-noot { margin: 14px 0 16px; font-size: 13px; color: var(--grijs); }

/* ----- Verkopen ----- */
.stappen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--lijn); border-left: 1px solid var(--lijn); }
.stappen li { padding: 24px 22px; border-right: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.stap-nr { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--inkt); color: var(--zand); font-weight: 800; font-size: 14px; }
.stappen h3 { margin-top: 14px; font-size: 25px; }
.stappen p { margin-top: 6px; font-size: 15px; color: var(--grijs); }
.tarief { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; margin-top: 28px; padding: 26px 28px; background: var(--wit); border-radius: 10px; border-left: 5px solid var(--oranje); }
.tarief-label { font: 700 12px/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; color: var(--grijs); }
.tarief-bedrag { margin-top: 6px; font: 500 40px/1.05 var(--kop); }
.tarief-bedrag small { display: block; margin-top: 4px; font: 600 14px var(--tekst); color: var(--grijs); }
.tarief-noot { margin-top: 8px; font-size: 14.5px; color: var(--grijs); max-width: 36rem; }
.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.lid { display: grid; grid-template-columns: 150px 1fr; gap: 20px; align-items: center; padding: 14px; background: var(--wit); border-radius: 10px; border: 1px solid var(--lijn); }
.lid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; background: var(--zand-2); }
.lid h3 { font-size: 28px; }
.lid-rol { margin: 2px 0 8px; font-weight: 700; font-size: 13.5px; color: var(--oranje); }
.lid p:not(.lid-rol) { font-size: 15px; color: var(--grijs); }

/* ----- Reviews ----- */
.reviews { background: var(--wit); }
.score { display: flex; align-items: center; gap: 14px; }
.score > b { font: 500 64px/1 var(--kop); color: var(--inkt); }
.score > span { font-size: 14px; color: var(--grijs); line-height: 1.5; }
.review-lijst { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.review { display: flex; flex-direction: column; padding: 26px; border-radius: 10px; background: var(--zand); }
.review blockquote { flex: 1; font: 400 21px/1.4 var(--kop); }
.review blockquote::before { content: "\201C"; display: block; height: 30px; font: italic 500 54px/1 var(--kop); color: var(--oranje); }
.review-wie { margin-top: 18px; font-size: 14px; color: var(--grijs); }
.review-wie b { color: var(--inkt); }
.cijfer { display: inline-grid; place-items: center; min-width: 28px; height: 28px; margin-left: 2px; border-radius: 4px; background: var(--inkt); color: var(--zand); font-weight: 800; font-size: 13px; }

/* ----- Contact ----- */
.contact-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-in > * { min-width: 0; }
.contact-lijst { margin-top: 24px; border-top: 1px solid var(--lijn); }
.contact-lijst li { display: flex; gap: 16px; align-items: center; min-height: 50px; border-bottom: 1px solid var(--lijn); }
.contact-lijst span { width: 80px; flex: none; font: 700 12px/1 var(--tekst); letter-spacing: .1em; text-transform: uppercase; color: var(--grijs); }
.contact-lijst a { font-weight: 700; text-decoration: none; }
.contact-knoppen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.zoekprofiel { padding: clamp(22px, 3vw, 32px); background: var(--inkt); color: var(--zand); border-radius: 12px; }
.zoekprofiel-kop { font: 500 30px/1.1 var(--kop); }
.zoekprofiel > p:not(.zoekprofiel-kop) { margin: 10px 0 18px; color: #c9d1d8; }
.zoekprofiel-form { display: grid; gap: 12px; }
.zoekprofiel .veld { color: var(--zand); }
.zoekprofiel .veld input { background: #fff; color: var(--inkt); }

/* ----- Vragen ----- */
.faq details { border-bottom: 1px solid var(--lijn); }
.faq details:first-child { border-top: 1px solid var(--lijn); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; font: 500 clamp(19px, 2.2vw, 23px)/1.3 var(--kop); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--zand-2); font: 500 21px/1 var(--tekst); transition: transform .35s var(--zacht); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--oranje); color: #fff; }
.faq details p { padding: 0 50px 22px 0; color: var(--grijs); }

/* ----- Voet ----- */
.voet { background: var(--inkt); color: #c9d1d8; padding: 70px 0 28px; font-size: 15px; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--zand); text-decoration: underline; text-underline-offset: 4px; }
.voet-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 42px; }
.voet .logo { margin-bottom: 16px; }
.voet-tekst { max-width: 22rem; }
.voet-kop { font: 700 12px/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; color: var(--oranje-licht); margin-bottom: 12px; }
.voet p + p { margin-top: 10px; }
.voet-onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; border-top: 1px solid var(--lijn-licht); font-size: 13px; color: #a8b3bc; }
.voet-onder a { text-decoration: underline; text-underline-offset: 3px; }

/* ----- Zwevende knop (mobiel) ----- */
.zwevend {
  position: fixed; left: 50%; bottom: calc(var(--nb-balk-h, 0px) + 14px); z-index: 60;
  display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; border-radius: 6px;
  background: var(--oranje); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; white-space: nowrap;
  box-shadow: 0 14px 30px rgba(19, 40, 59, .3);
  transform: translate3d(-50%, 140%, 0); opacity: 0; pointer-events: none;
  transition: transform .45s var(--zacht), opacity .3s;
}
.zwevend.is-zichtbaar { transform: translate3d(-50%, 0, 0); opacity: 1; pointer-events: auto; }
@media (min-width: 960px) { .zwevend { display: none; } }
html:not(.js) .zwevend { display: none; }

/* ----- Responsief ----- */
@media (max-width: 1180px) {
  .woningen { grid-template-columns: minmax(0, 1fr); }
  .woning { display: grid; grid-template-columns: 44% 1fr; }
  .w-beeld { aspect-ratio: auto; min-height: 100%; }
  .rekenaar { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 959px) {
  .zoek { grid-template-columns: 1fr 1fr; }
  .zoek .knop { grid-column: 1 / -1; }
  .cijfer-lijst { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .cijfer-lijst li:nth-child(3) { border-left: 0; padding-left: 0; }
  .aanbod-in { grid-template-columns: minmax(0, 1fr); }
  .js .weergave { display: flex; }
  .js .aanbod-in[data-weergave="lijst"] .kaart { display: none; }
  .js .aanbod-in[data-weergave="kaart"] .woningen, .js .aanbod-in[data-weergave="kaart"] .geen { display: none; }
  .kaart { position: static; }
  .openhuis-in, .waarde-in, .contact-in { grid-template-columns: minmax(0, 1fr); }
  .stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: minmax(0, 1fr); }
  .review-lijst { grid-template-columns: minmax(0, 1fr); }
  .dialog-in { grid-template-columns: minmax(0, 1fr); }
  .dialog-beeld img { aspect-ratio: 4 / 3; min-height: 0; }
  .voet-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .kaart { --pin: 1.3; padding: 8px; }
  .hero-beeld::after { background: linear-gradient(180deg, rgba(9, 20, 32, .74) 0%, rgba(9, 20, 32, .5) 50%, rgba(9, 20, 32, .2) 100%); }
  .hero-in { min-height: 0; padding-bottom: 170px; }
  .hero h1 { font-size: clamp(2.5rem, 11.5vw, 3.3rem); }
  .hero-sub { font-size: 16.5px; }
  .zoek { margin-top: -130px; padding: 16px; gap: 10px; }
  .zoek-veld select { min-height: 48px; }
  .woning { display: flex; }
  .w-beeld { aspect-ratio: 4 / 3; min-height: 0; }
  .filter-rij-2 { gap: 10px; }
  .filter-veld { flex: 1 1 140px; }
  .filter-prijs { max-width: none; flex-basis: 100%; }
  .rekenaar-velden, .velden { grid-template-columns: minmax(0, 1fr); }
  .stappen { grid-template-columns: minmax(0, 1fr); }
  .lid { grid-template-columns: 110px 1fr; }
  .lid h3 { font-size: 24px; }
  .tarief-bedrag { font-size: 34px; }
  .voet-in { grid-template-columns: 1fr; gap: 28px; }
  .faq details p { padding-right: 0; }
  .score > b { font-size: 52px; }
  .dialog-tekst { padding: 22px 18px; }
  .dialog-tekst h3 { font-size: 28px; }
}
