/* HuurwoningenNu: rustig, strak en duidelijk. Witte kaarten op een lichtgrijze achtergrond. */
@font-face { font-family: "Source Sans 3"; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-sans-3-400.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 600; font-display: swap; src: url(/assets/fonts/source-sans-3-600.woff2) format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-weight: 700; font-display: swap; src: url(/assets/fonts/source-sans-3-700.woff2) format("woff2"); }

:root {
  --navy: #0d2f4f;
  --navy-2: #163f66;
  --blauw: #1d5fa8;
  --groen: #17803d;
  --groen-donker: #116330;
  --oranje: #c2520c;
  --tekst: #1d2733;
  --grijs: #5b6776;
  --lijn: #dde3ea;
  --achter: #f3f5f8;
  --wit: #fff;
  --rond: 10px;
  --schaduw: 0 1px 2px rgba(13, 47, 79, .06), 0 2px 8px rgba(13, 47, 79, .05);
  --breed: 1200px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--achter); color: var(--tekst);
  min-height: 100vh; display: flex; flex-direction: column;
  font: 400 17px/1.55 "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--blauw); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; }
p { margin: 0 0 1em; }
main { flex: 1 0 auto; }
.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 20px; }
.klein { font-size: 15px; color: var(--grijs); }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Bovenbalk */
.usp { background: var(--navy); color: #cfdbe8; font-size: 14px; }
.usp .wrap { display: flex; gap: 28px; justify-content: center; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.usp span::before { content: "✓"; color: #7fd49b; margin-right: 6px; font-weight: 700; }

.kop { background: var(--wit); border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 20; }
.kop .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700; font-size: 21px; letter-spacing: -.2px; }
.logo:hover { text-decoration: none; }
.logo svg { width: 30px; height: 30px; flex: none; }
.logo b { color: var(--groen); font-weight: 700; }
.menu { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.menu a { color: var(--tekst); font-weight: 600; font-size: 16px; }
.menu a[aria-current="page"] { color: var(--blauw); box-shadow: inset 0 -2px 0 var(--blauw); }
.menu-knop:focus, .menu-knop:focus-visible { outline: none; border-color: var(--navy); }
.menu a.knop { color: #fff; }
.menu-knop { display: none; margin-left: auto; background: none; border: 1px solid var(--lijn); border-radius: 8px; padding: 8px 12px; font: inherit; font-weight: 600; color: var(--navy); }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--groen); color: #fff; border: 0; border-radius: 8px;
  padding: 11px 20px; font-family: inherit; font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; text-align: center;
}
.knop:hover { background: var(--groen-donker); text-decoration: none; }
.knop.groot { padding: 14px 26px; font-size: 18px; }
.knop.breed { width: 100%; }
.knop.licht { background: var(--wit); color: var(--navy); border: 1px solid var(--lijn); }
.knop.licht:hover { background: var(--achter); }
.knop.klein { padding: 7px 14px; font-size: 15px; }

/* Hero met zoekbalk */
.hero { background: var(--navy); color: #fff; padding: 56px 0 64px; }
.hero h1 { color: #fff; max-width: 900px; }
.hero .uitleg-zoekdienst { color: #fff; font-size: 16px; background: rgba(255,255,255,.08); border-left: 3px solid #2fbf68; padding: 8px 12px; max-width: 680px; margin-top: 4px; }
.hero p.sub { color: #cfdbe8; font-size: 19px; max-width: 680px; }
.zoek {
  display: grid; grid-template-columns: 2.2fr 1fr 1fr auto; gap: 10px;
  background: var(--wit); padding: 10px; border-radius: 12px; margin-top: 26px; max-width: 900px;
}
.zoek label { display: block; }
.zoek input, .zoek select, .filters input, .filters select, .veld input, .veld select, .veld textarea {
  width: 100%; height: 48px; border: 1px solid var(--lijn); border-radius: 8px; padding: 0 12px;
  font: inherit; color: var(--tekst); background: var(--wit);
}
.veld textarea { height: 120px; padding: 10px 12px; }
.zoek .knop { height: 48px; }
.hero .stand { margin-top: 18px; color: #cfdbe8; font-size: 15px; }
.hero .stand strong { color: #fff; }

/* Secties */
.sectie { padding: 48px 0; }
.sectie.wit { background: var(--wit); border-top: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.sectie-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sectie-kop h2 { margin: 0; }

/* Woningkaarten (lijst) */
.lijst { display: grid; gap: 14px; }
/* Homepage "Acabadas de chegar": twee kolommen op brede schermen, foto boven */
@media (min-width: 961px) { .lijst-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); } .lijst-raster .kaart { grid-template-columns: 220px 1fr; } }
.kaart {
  display: grid; grid-template-columns: 300px 1fr; background: var(--wit); border: 1px solid var(--lijn);
  border-radius: var(--rond); overflow: hidden; box-shadow: var(--schaduw); color: inherit;
}
.kaart:hover { text-decoration: none; border-color: #c4ceda; }
.kaart:hover .titel { text-decoration: underline; }
.foto { position: relative; background: #dfe6ee; aspect-ratio: 3 / 2; overflow: hidden; }
.foto img { width: 100%; height: 100%; object-fit: cover; }
.foto .pin, .kaartje .pin {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -22px 0 0 -11px;
}
.foto .bron-label, .kaartje .bron-label {
  position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; font-size: 11px; color: #fff;
  background: rgba(0, 0, 0, .55); border-radius: 4px;
}
.aantal-fotos { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; padding: 2px 8px; border-radius: 4px; }
.galerij { position: relative; height: 260px; border-radius: var(--rond); overflow: hidden; background: #dfe6ee; }
.galerij-baan { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.galerij-baan::-webkit-scrollbar { display: none; }
.galerij-baan img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.galerij .badge { z-index: 2; }
.galerij-knop { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--navy); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--schaduw); }
.galerij-knop.vorige { left: 10px; }
.galerij-knop.volgende { right: 10px; }
.galerij-teller { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; padding: 2px 10px; border-radius: 4px; }
.badge {
  position: absolute; left: 10px; top: 10px; background: var(--oranje); color: #fff; font-size: 13px;
  font-weight: 700; padding: 2px 8px; border-radius: 4px;
}
.kaart .inhoud { padding: 16px 20px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kaart .titel { color: var(--blauw); font-weight: 700; font-size: 19px; line-height: 1.25; }
.kaart .adres { color: var(--grijs); font-size: 15px; }
.prijs { font-weight: 700; color: var(--navy); font-size: 20px; margin-top: 8px; }
.prijs small { font-weight: 400; color: var(--grijs); font-size: 15px; }
.feiten { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--tekst); font-size: 15px; margin-top: 4px; }
.feiten span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.feiten svg { width: 18px; height: 18px; color: var(--grijs); flex: none; }
.labels { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.label { font-size: 13px; padding: 2px 8px; border-radius: 4px; background: #e9eef4; color: var(--navy-2); font-weight: 600; }

/* Zoekpagina met filters */
.zoekpagina { display: grid; grid-template-columns: 260px 1fr; gap: 24px; align-items: start; padding-bottom: 56px; }
.resultaat-kop { padding-top: 26px; padding-bottom: 8px; }
.filterknop > summary { display: none; }
.filters { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 18px; position: sticky; top: 80px; }
.filters h2 { font-size: 18px; margin-bottom: 12px; }
.filters .groep { margin-bottom: 14px; }
.filters .groep > span, .filters .groep > label:not(.vink) > span:not(.verborgen) { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.filters .twee { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.filters input, .filters select { height: 42px; font-size: 16px; }
.resultaat-kop h1 { margin-bottom: 6px; }
.resultaat-kop p { color: var(--grijs); }
.balk { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0; flex-wrap: wrap; }
.balk select { height: 40px; border: 1px solid var(--lijn); border-radius: 8px; padding: 0 10px; font: inherit; background: var(--wit); }
.info-blok { background: #e8f0f8; border: 1px solid #cddcec; border-radius: var(--rond); padding: 16px 20px; color: var(--navy); }
.info-blok strong { display: block; margin-bottom: 2px; }
.paginering { display: flex; gap: 6px; justify-content: center; margin-top: 26px; flex-wrap: wrap; }
.paginering .puntjes { border: 0; background: none; min-width: 20px; padding: 0; }
.paginering a, .paginering span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 12px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; font-weight: 600; }
.paginering span.nu { background: var(--navy); color: #fff; border-color: var(--navy); }
.leeg-resultaat { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 32px; text-align: center; }

/* Plaatsen */
.plaatsen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.plaatsen a {
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; padding: 12px 14px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--tekst); font-weight: 600;
  min-width: 0; overflow-wrap: anywhere;
}
.plaatsen a span { color: var(--grijs); font-weight: 400; white-space: nowrap; flex: none; }
.plaatsen a:hover { border-color: var(--blauw); text-decoration: none; color: var(--blauw); }

/* Snelkeuze op de homepage: soort woning en populaire steden */
.snelkeuze { padding-bottom: 36px; }
.snelkeuze h2 { margin-bottom: 14px; }
.soortrij { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.soortchip {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; min-height: 44px;
  background: var(--wit); border: 1px solid var(--lijn); border-radius: 999px; box-shadow: var(--schaduw);
  color: var(--navy); font-weight: 600; white-space: nowrap; transition: border-color .25s ease, color .25s ease;
}
.soortchip span { color: var(--grijs); font-weight: 400; font-size: 15px; }
.soortchip:hover { border-color: var(--groen); color: var(--groen-donker); text-decoration: none; }
.stad-kop { margin-bottom: 14px; }
.stadrij { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.stadkaart {
  display: flex; flex-direction: column; background: var(--wit); border: 1px solid var(--lijn);
  border-radius: var(--rond); overflow: hidden; box-shadow: var(--schaduw); color: var(--tekst);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.stadkaart img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: #dfe6ee; }
.stadkaart .stadnaam { padding: 10px 12px 0; font-weight: 700; color: var(--navy); font-size: 17px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stadkaart .stadaantal { padding: 0 12px 12px; color: var(--groen-donker); font-size: 15px; font-weight: 600; }
.stadkaart:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--blauw); box-shadow: 0 4px 16px rgba(13, 47, 79, .12); }
@media (max-width: 960px) { .stadrij { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 680px) {
  .snelkeuze { padding: 28px 0 24px; }
  .snelkeuze h2 { font-size: 22px; }
  .stad-kop { flex-wrap: nowrap; align-items: baseline; }
  .stad-kop h2 { font-size: 20px; }
  .stad-kop a { white-space: nowrap; font-size: 15px; }
  /* Op de telefoon vegen: soorten in één rij, steden als kaarten naast elkaar */
  .soortrij, .stadrij {
    display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin-left: -20px; margin-right: -20px; padding: 2px 20px 10px; scroll-padding-inline: 20px; scrollbar-width: none;
  }
  .soortrij::-webkit-scrollbar, .stadrij::-webkit-scrollbar { display: none; }
  /* Scrollhint: de rij loopt zichtbaar uit naar rechts (zacht vervagend), zodat je ziet dat er meer is */
  .soortrij, .stadrij { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .soortrij { margin-bottom: 22px; }
  .soortchip { scroll-snap-align: start; flex: none; }
  .stadkaart { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
}
@media (prefers-reduced-motion: reduce) { .stadkaart, .soortchip { transition: none; } .stadkaart:hover { transform: none; } }

/* Stappen en prijs */
.stappen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stap { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 22px; text-align: center; }
.stap .nr { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; margin: 0 auto 10px; }
.prijsblok { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; }
.prijskaart { background: var(--wit); border: 2px solid var(--navy); border-radius: 14px; padding: 28px; text-align: center; }
.prijskaart .bedrag { font-size: 44px; font-weight: 700; color: var(--navy); line-height: 1; margin: 8px 0; }
.prijskaart .daarna { color: var(--grijs); margin-bottom: 18px; }
.vinklijst { list-style: none; padding: 0; margin: 0 0 1em; width: fit-content; }
.vinklijst li { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0; text-align: left; }
.vinklijst li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.prijskaart .vinklijst { margin: 0 auto 20px; }

/* Vraag en antwoord */
.faq details { max-width: 860px; margin-left: auto; margin-right: auto; }
.faq h2 { text-align: center; }
.faq details { background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; padding: 14px 18px; margin-bottom: 8px; }
.faq summary { font-weight: 600; cursor: pointer; color: var(--navy); }
.faq details p { margin: 10px 0 0; }

/* Woningpagina */
.kruimel { font-size: 14px; color: var(--grijs); padding: 16px 0 10px; }
.kruimel a { color: var(--grijs); }
.woning-kop { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; }
.woning-kop .foto, .woning-kop .galerij { aspect-ratio: auto; height: 380px; border-radius: var(--rond); }
.woning-kop .kaartje { height: 380px; border-radius: var(--rond); overflow: hidden; background: #dfe6ee; position: relative; }
.kaartje .pin { z-index: 2; }
.kaartje .bron-label { z-index: 2; }
.woning-kop .kaartje img { width: 100%; height: 100%; object-fit: cover; }
.bijschrift { font-size: 13px; color: var(--grijs); margin-top: 6px; }
.woning { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding: 20px 0 56px; }
.woning-titel { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 22px 24px; margin-bottom: 18px; }
.woning-titel h1 { font-size: clamp(24px, 3vw, 32px); margin-bottom: 4px; }
.woning-titel .prijs { font-size: 26px; }
.blok { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 22px 24px; margin-bottom: 18px; }
.blok h2 { font-size: 21px; }
.tabel { width: 100%; border-collapse: collapse; }
.tabel th, .tabel td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.tabel th { width: 45%; font-weight: 400; color: var(--grijs); }
.tabel tr:last-child th, .tabel tr:last-child td { border-bottom: 0; }
.cta { background: var(--wit); border: 1px solid var(--lijn); border-radius: 12px; padding: 22px; box-shadow: var(--schaduw); position: sticky; top: 80px; }
.cta h2 { font-size: 21px; }
.slot { display: flex; gap: 10px; align-items: center; background: var(--achter); border: 1px dashed #b8c4d2; border-radius: 8px; padding: 12px; margin: 12px 0 16px; color: var(--grijs); font-size: 15px; }
.slot svg { width: 22px; height: 22px; flex: none; color: var(--navy); }
.cta .knop + .knop { margin-top: 8px; }
.cta .uitleg { font-size: 14px; color: var(--grijs); margin-top: 12px; }
.melding { background: #fff7e6; border: 1px solid #f0d49b; border-radius: 8px; padding: 12px 14px; font-size: 15px; margin: 12px 0; }
.aanbieder { font-weight: 700; color: var(--navy); font-size: 18px; }

.plakbalk { display: none; }

/* Tekstpagina's */
.tekst { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 32px 36px; margin: 28px auto 56px; max-width: 820px; }
.tekst h2 { margin-top: 1.4em; font-size: 22px; }
.tekst ul { padding-left: 22px; }
.formulier { display: grid; gap: 14px; max-width: 460px; }
.veld span { display: block; font-weight: 600; margin-bottom: 6px; }
.vink { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.vink input { width: 20px; height: 20px; margin-top: 2px; flex: none; }

/* Voet */
.voet { background: #000; color: #c3d1e0; padding: 40px 0 24px; font-size: 15px; }
.voet .kolommen { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 28px; }
.voet h3 { color: #fff; font-size: 16px; }
.voet a { color: #c3d1e0; display: block; padding: 3px 0; }
.voet a:hover { color: #fff; }
.voet .onder a { display: inline; padding: 0; }
.voet .onder { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 28px; padding-top: 16px; font-size: 14px; }
.voet .logo { display: flex; padding: 0; color: #fff; margin-bottom: 10px; }
.voet .logo svg rect { stroke: rgba(255,255,255,.45); stroke-width: 1.5; }

/* Tablet */
@media (max-width: 960px) {
  .zoekpagina { grid-template-columns: 1fr; }
  .filters { position: static; }
  .woning { grid-template-columns: 1fr; }
  .cta { position: static; }
  .plaatsen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .voet .kolommen { grid-template-columns: 1fr 1fr; }
  .prijsblok { grid-template-columns: 1fr; }
}

/* Telefoon */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .usp .wrap { gap: 14px; font-size: 13px; }
  .usp span:nth-child(n+3) { display: none; }
  .kop .wrap { height: 58px; gap: 12px; }
  .logo { font-size: 19px; }
  .menu { display: none; position: absolute; top: 58px; left: 0; right: 0; background: var(--wit); border-bottom: 1px solid var(--lijn); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 16px; }
  .menu.open { display: flex; }
  .menu a { padding: 10px 0; }
  .menu-knop { display: block; }
  .hero { padding: 28px 0 36px; }
  .hero p.sub { display: none; }
  .zoek { grid-template-columns: 1fr 1fr; }
  .zoek label:first-child, .zoek .knop { grid-column: 1 / -1; }
  .kaart { grid-template-columns: 1fr; }
  .stappen { grid-template-columns: 1fr; }
  .plaatsen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plaatsen a { padding: 10px; font-size: 15px; }
  .woning-kop { grid-template-columns: 1fr; }
  .woning-kop .foto, .woning-kop .galerij { height: 260px; }
  .woning-kop .kaartje { height: 200px; }
  .tekst { padding: 22px 20px; margin: 16px 0 40px; border-radius: 0; border-left: 0; border-right: 0; }
  .voet .kolommen { grid-template-columns: 1fr; }
  .woning-titel, .blok { padding: 18px; }
  .plakbalk {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center;
    justify-content: space-between; gap: 12px; background: var(--wit); border-top: 1px solid var(--lijn);
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -2px 8px rgba(13,47,79,.08);
  }
  .plakbalk .pb-tekst { display: flex; flex-direction: column; line-height: 1.25; font-size: 15px; }
  .plakbalk .pb-tekst small { color: var(--grijs); font-size: 12px; }
  body:has(.plakbalk) .voet { padding-bottom: 110px; }
  body:has(.plakbalk) main { padding-bottom: 84px; }
  .zoekpagina { gap: 14px; }
  .filterknop > summary { display: block; cursor: pointer; background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; padding: 11px 14px; font-weight: 600; color: var(--navy); list-style: none; }
  .filterknop > summary::after { content: " ▾"; }
  .filterknop[open] > summary { margin-bottom: 10px; }
  .tabel th { width: 50%; }
}

.woning-hoofd { min-width: 0; }
/* Woningpagina, uitgebreid (30-11-2026): galerij met slot, chips, alertblok, beschrijving met kaart, wijk met tabs, kaart */
.woning-beeld .galerij, .woning-beeld .foto { height: 460px; width: 100%; aspect-ratio: auto; border-radius: var(--rond); }
.woning-beeld .foto.infotegel { height: 300px; }
.galerij-baan .dia { flex: 0 0 100%; width: 100%; height: 100%; scroll-snap-align: start; position: relative; }
.galerij-baan .dia img { width: 100%; height: 100%; object-fit: cover; }
.galerij-teller { display: inline-flex; align-items: center; gap: 6px; }
.slotdia { overflow: hidden; background: var(--navy); }
.slot-achter { position: absolute; inset: -30px; background: center/cover no-repeat; filter: blur(22px) brightness(.62); transform: scale(1.08); }
.slot-inhoud { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; color: #fff; }
.slot-inhoud strong { font-size: 20px; line-height: 1.3; max-width: 420px; }
.slot-icoon { width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.slot-icoon svg { width: 26px; height: 26px; color: #fff; }
.slot-login { color: #fff; font-size: 15px; text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.chip { display: inline-flex; align-items: center; background: var(--achter); border: 1px solid var(--lijn); border-radius: 999px; padding: 4px 12px; font-size: 14px; color: var(--navy); }
.woning-titel .cta-mobiel { margin-top: 14px; display: none; }
.alertblok { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.alertblok h2 { margin-bottom: 4px; }
.alertblok p { margin: 0; color: var(--grijs); }
.alertblok .knop { flex: none; }
.knop.licht { background: var(--wit); color: var(--groen-donker); border: 1.5px solid var(--groen); }
.knop.licht:hover { background: #eef7f1; }
.beschrijving .popis { position: relative; }
.beschrijving .popis.vervaagd { max-height: 7.2em; overflow: hidden; }
.beschrijving .popis.vervaagd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4.5em; background: linear-gradient(rgba(255,255,255,0), var(--wit)); }
.meer-kaart { position: relative; margin: -34px auto 0; max-width: 520px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 14px; box-shadow: 0 6px 24px rgba(13,47,79,.12); padding: 22px; text-align: center; display: grid; gap: 8px; justify-items: center; }
.meer-kaart strong { font-size: 19px; color: var(--navy); }
.meer-kaart > span { color: var(--grijs); }
.meer-kaart .vinklijst { width: fit-content; margin: 6px auto; text-align: left; list-style: none; padding: 0; }
.meer-kaart .vinklijst li { display: flex; gap: 10px; align-items: flex-start; }
.wijk-kop { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.wijk-kop h2 { margin-bottom: 0; }
.tabs { display: none; background: var(--achter); border-radius: 999px; padding: 4px; gap: 4px; }
.tabs-aan .tabs { display: inline-flex; }
.tabs button { border: 0; background: transparent; border-radius: 999px; padding: 7px 16px; font: inherit; font-size: 15px; color: var(--grijs); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--wit); color: var(--navy); font-weight: 600; box-shadow: var(--schaduw); }
.tabpaneel { margin-top: 12px; }
.feitenrooster { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0 0 12px; }
.feitenrooster div { background: var(--achter); border-radius: 8px; padding: 12px 14px; }
.feitenrooster dt { font-size: 14px; color: var(--grijs); }
.feitenrooster dd { margin: 2px 0 0; font-size: 19px; font-weight: 700; color: var(--navy); }
.meer-rijen summary { cursor: pointer; color: var(--groen-donker); font-weight: 600; padding: 10px 0 0; list-style: none; }
.meer-rijen summary::-webkit-details-marker { display: none; }
.meer-rijen summary::after { content: " ▾"; }
.meer-rijen[open] summary::after { content: " ▴"; }
.meer-rijen .openst, .meer-rijen[open] .dicht { display: none; }
.meer-rijen[open] .openst { display: inline; }
.mapa { position: relative; height: 380px; border-radius: var(--rond); overflow: hidden; background: #dfe6ee; z-index: 0; }
.mapa .kaartje { height: 100%; }
.mapa .speld { background: none; border: 0; }
.mapa-tik { position: absolute; inset: auto 12px 12px auto; z-index: 500; border: 0; border-radius: 999px; background: rgba(13,47,79,.88); color: #fff; padding: 8px 14px; font: inherit; font-size: 14px; }
.midden { text-align: center; margin: 16px 0 6px; }
.populair { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px 18px; }
.cta-prijs { font-size: 28px; font-weight: 700; color: var(--navy); margin: 0 0 8px; }
.cta-prijs small { font-size: 16px; font-weight: 400; color: var(--grijs); }
@media (min-width: 681px) {
  .plakbalk { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; align-items: center; justify-content: center; gap: 28px;
    background: var(--wit); border-top: 1px solid var(--lijn); padding: 10px 24px; box-shadow: 0 -2px 8px rgba(13,47,79,.08); }
  .plakbalk .pb-tekst { display: flex; flex-direction: column; line-height: 1.2; }
  .plakbalk .pb-tekst small { color: var(--grijs); font-size: 13px; }
  .plakbalk .pb-tekst strong { font-size: 20px; color: var(--navy); }
  body:has(.plakbalk) .voet { padding-bottom: 90px; }
}
.plakbalk { transition: transform .3s ease; }
.plakbalk.pb-weg { transform: translateY(110%); pointer-events: none; }
@media (max-width: 960px) {
  .woning-titel .cta-mobiel { display: flex; }
}
@media (max-width: 680px) {
  .woning-beeld .galerij, .woning-beeld .foto { height: 300px; }
  .woning-beeld { margin: 0 -20px; }
  .woning-beeld .galerij, .woning-beeld .foto { border-radius: 0; }
  .slot-inhoud strong { font-size: 18px; }
  .alertblok { flex-direction: column; align-items: stretch; text-align: left; }
  .mapa { height: 300px; }
  .meer-kaart { padding: 18px 16px; }
  .plakbalk .pb-tekst strong { font-size: 18px; color: var(--navy); }
}

/* Hartje (bewaarde woningen) */
.galerij-hart { position: absolute; top: 10px; right: 10px; z-index: 3; }
.beeld-hart { position: relative; }
.favoriet { margin: 0; }
.favoriet-knop, .hart-link { display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 15px; font-weight: 600; color: var(--navy); background: rgba(255,255,255,.95); border: 1px solid rgba(13,47,79,.15); border-radius: 999px; padding: 6px 14px; cursor: pointer; box-shadow: var(--schaduw); }
.favoriet-knop span, .hart-link span { color: #c0392b; font-size: 18px; line-height: 1; }
.favoriet-knop.aan { background: #fdecec; border-color: #f3c1c1; }
.hart-link:hover, .favoriet-knop:hover { text-decoration: none; background: #fff; }
.weg-lijst { padding-left: 20px; }
/* Eigen kaartbeeld als er geen foto is (Simon 30-11: nooit een leeg vak) */
.foto.kaartbeeld { position: relative; overflow: hidden; background: #e8edf2; }
.kb-basis { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 12px; color: var(--navy); }
.kb-basis svg { color: var(--groen); }
.kb-tegels { position: absolute; }
.kb-tegels span { position: absolute; width: 256px; height: 256px; background-size: 256px 256px; background-repeat: no-repeat; }
.kb-speld { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); z-index: 2; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.kb-cirkel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; border-radius: 50%; border: 2px solid #d22f27; background: rgba(210,47,39,.15); }
.foto.kaartbeeld .bron-label { position: absolute; left: auto; right: 6px; bottom: 6px; z-index: 3; background: rgba(255,255,255,.85); color: #333; font-size: 11px; padding: 1px 5px; border-radius: 3px; }
.foto.kaartbeeld .badge { z-index: 4; }
/* Luchtfoto van de plek (ČÚZK), als er geen eigen foto is of die niet laadt (Simon 30-11: altijd een echte foto) */
.foto.orto { background: #6d7a63; }
.foto.orto img { object-fit: cover; }
.foto:not(.orto) > .orto-chip, .foto:not(.orto) > .orto-bron, .foto:not(.orto) > .orto-speld { display: none; }
.orto-chip { position: absolute; left: 8px; bottom: 8px; z-index: 3; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  background: rgba(13,47,79,.88); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 11px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.orto-bron { position: absolute; right: 6px; top: 6px; z-index: 3; background: rgba(255,255,255,.88); color: #333; font-size: 11px; padding: 1px 6px; border-radius: 3px; }
.orto-speld { position: absolute; z-index: 2; transform: translate(-50%, -100%); filter: drop-shadow(0 2px 3px rgba(0,0,0,.4)); pointer-events: none; }
.foto.orto .badge { z-index: 4; }
.foto.orto .aantal-fotos { display: none; }
.foto.orto.groot .orto-chip { font-size: 15px; padding: 5px 14px; left: 12px; bottom: 12px; }
.foto.orto.groot .orto-bron { top: auto; right: 12px; bottom: 12px; }
.foto.orto.groot .orto-chip { max-width: calc(100% - 210px); }
@media (max-width: 640px) { .foto.orto.groot .orto-chip { font-size: 13px; padding: 3px 11px; left: 8px; bottom: 8px; max-width: calc(100% - 90px); } .foto.orto.groot .orto-bron { right: 8px; bottom: 8px; } .foto.orto.groot .ob-lang { display: none; } }
@media print {
  .usp, .kop, .voet, .filters, .cta, .zoek, .plakbalk { display: none !important; }
  body { background: #fff; }
}

/* Omgeving in plaats van een precieze pin: het exacte adres zit achter de betaalmuur */
.omgeving { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(194, 82, 12, .18); border: 2px solid #c2520c; pointer-events: none; z-index: 1; }
.foto .omgeving { width: 56px; height: 56px; margin: -28px 0 0 -28px; }

/* Verdieping onder de lijst: soorten, prijzen, wijken en straten */
.verdieping { padding: 0 20px 48px; }
.verdieping h2 { font-size: 22px; margin: 28px 0 12px; }
.verdieping h2:first-child { margin-top: 4px; }
/* Linklijsten als losse labels: geen halfvolle rijen */
.verdieping .plaatsen { display: flex; flex-wrap: wrap; gap: 8px; }
.verdieping .plaatsen a { flex: 0 1 auto; padding: 8px 12px; gap: 10px; }
.verdieping p { max-width: 820px; }

/* Tabellen in uitlegteksten: ruimte tussen label en waarde, en onder de tabel */
.tekst .tabel { margin: 12px 0 18px; }
.tekst .tabel th { padding-right: 16px; }
.ruimte { margin-top: 16px; }

.zoekpagina:has(+ .verdieping) { padding-bottom: 12px; }

/* Afstand op kaarten bij "in de buurt" */
.kaart .afstand { display: inline-block; font-size: 13px; font-weight: 700; color: var(--groen); margin-bottom: 2px; }
.verdieping .lijst { margin-bottom: 8px; }

/* Huurmonitor */
.eyebrow { display: inline-block; border: 1px solid var(--blauw); color: var(--navy); border-radius: 999px; padding: 6px 16px; text-transform: uppercase; letter-spacing: .12em; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.cijfers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 8px 0 24px; }
.cijfers div { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 18px; text-align: center; }
.cijfers strong { display: block; font-size: 26px; color: var(--navy); }
.cijfers span { color: var(--grijs); font-size: 15px; }
.tabel-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--lijn); border-radius: var(--rond); background: var(--wit); }
table.monitor { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 620px; }
table.monitor th, table.monitor td { padding: 9px 12px; border-bottom: 1px solid var(--lijn); text-align: right; white-space: nowrap; }
table.monitor th:first-child, table.monitor thead th:first-child { text-align: left; }
table.monitor thead th { background: var(--achter); color: var(--navy); font-weight: 700; position: sticky; top: 0; }
table.monitor tbody tr:last-child th, table.monitor tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 760px) { .cijfers { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } .cijfers strong { font-size: 22px; } }
.tabel-hint { display: none; margin: 0 0 6px; color: var(--grijs); }
table.monitor tbody th { position: sticky; left: 0; background: var(--wit); }
@media (max-width: 760px) { .tabel-hint { display: block; } }

/* Funnel: stappen en de woning waar de bezoeker vandaan komt */
.funnel-stappen { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.funnel-stappen li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--grijs); background: var(--wit); border: 1px solid var(--lijn); border-radius: 999px; padding: 6px 10px; min-width: 0; }
.funnel-stappen li span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--achter); color: var(--grijs); font-size: 13px; }
.funnel-stappen li.nu { color: var(--navy); border-color: var(--navy); }
.funnel-stappen li.nu span { background: var(--navy); color: #fff; }
.funnel-stappen li.klaar { color: var(--groen-donker); border-color: var(--groen); }
.funnel-stappen li.klaar span { background: var(--groen); color: #fff; }
.funnel-intro { font-size: 17px; }
.funnel-woning { display: grid; gap: 2px; background: var(--wit); border: 1px solid var(--lijn); border-left: 4px solid var(--groen); border-radius: var(--rond); padding: 12px 16px; color: var(--tekst); text-decoration: none; }
.funnel-woning:hover { text-decoration: none; border-color: var(--blauw); }
.funnel-woning span { color: var(--grijs); }
.funnel-woning em { font-style: normal; font-size: 14px; color: var(--groen-donker); }
@media (max-width: 560px) { .funnel-stappen { gap: 6px; } .funnel-stappen li { flex-direction: column; text-align: center; gap: 4px; border-radius: 10px; font-size: 12.5px; line-height: 1.25; padding: 8px 4px; } }
.cta-mobiel { display: none; }
@media (max-width: 960px) { .cta-mobiel { display: flex; margin: 14px 0 4px; } }
@media (max-width: 560px) {
  .funnel-stappen { margin-bottom: 12px; }
  .funnel-stappen li { padding: 6px 4px; }
  .funnel-woning { padding: 10px 12px; }
  .funnel-woning em { display: none; }
  .tekst .prijskaart { padding: 18px 16px; }
  .tekst .prijskaart .bedrag { font-size: 36px; }
  .tekst .prijskaart .daarna { margin-bottom: 12px; }
}
.heel { white-space: nowrap; }
@media (max-width: 960px) { .plakbalk { transition: transform .35s ease; } .plakbalk.pb-weg { transform: translateY(120%); pointer-events: none; } }
@media (max-width: 560px) {
  .funnel-stappen li { flex-direction: row; justify-content: center; gap: 5px; padding: 5px 4px; font-size: 12px; }
  .funnel-stappen li span { width: 18px; height: 18px; font-size: 11px; }
  .funnel-woning { gap: 0; }
  .funnel-woning span { font-size: 14px; }
  .funnel-woning strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .tekst .prijskaart > .klein { display: none; }
  .tekst .prijskaart .bedrag { font-size: 32px; margin: 0 0 4px; }
  .tekst .prijskaart .bedrag[data-na]::after { content: " " attr(data-na); font-size: 15px; font-weight: 600; color: var(--grijs); }
  .tekst h1 { font-size: 26px; margin-bottom: 10px; }
}
.prijs small.incl { display: block; font-size: 15px; margin-top: 2px; }
/* Accountformulier: naam, telefoon, e-mail, wachtwoord (20-11-2026) */
.veld span small { font-weight: 400; color: var(--grijs); }
.veld .ww-veld { position: relative; display: block; margin: 0; font-weight: 400; }
.veld .ww-veld input { padding-right: 84px; }
.ww-toon { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 12px; border: 0; border-radius: 6px; background: var(--achter); color: var(--navy); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.linkknop { background: none; border: 0; padding: 0; font: inherit; color: var(--blauw); text-decoration: underline; cursor: pointer; }
@media (max-width: 560px) {
  .tekst .prijskaart .formulier { gap: 10px; }
  .tekst .prijskaart .veld span { margin-bottom: 4px; }
  .tekst .prijskaart .veld input { height: 46px; }
}
.tekst .prijskaart .veld .ww-veld { margin: 0; }
/* Stap 1 met vier velden: op bredere schermen twee kolommen, zodat de knop boven de vouw blijft. */
@media (min-width: 700px) {
  .account-velden { max-width: 640px; grid-template-columns: 1fr 1fr; column-gap: 16px; row-gap: 12px; }
  .account-velden > .knop, .account-velden > p { grid-column: 1 / -1; }
  .prijskaart.stap1 { padding: 20px 28px; }
  .prijskaart.stap1 .bedrag { font-size: 36px; margin: 4px 0; }
  .prijskaart.stap1 .daarna { margin-bottom: 12px; }
}
/* Stap 1 op de telefoon: naam en telefoon naast elkaar, woningkaart op één regel, strakkere velden. */
@media (max-width: 699px) {
  .account-velden { grid-template-columns: 1fr 1fr; column-gap: 10px; row-gap: 8px; }
  .account-velden > .veld:nth-of-type(n+4), .account-velden > .knop, .account-velden > p { grid-column: 1 / -1; }
  .account-velden .veld span { font-size: 15px; margin-bottom: 3px; }
  .account-velden .veld input { height: 44px; }
  .account-velden .ww-toon { top: 4px; }
  .prijskaart.stap1 { padding: 14px 14px 16px; margin: 10px 0 16px !important; }
  .prijskaart.stap1 .daarna { font-size: 14px; line-height: 1.35; margin-bottom: 10px; }
  .funnel-woning:has(+ .prijskaart.stap1) { display: block; padding: 8px 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .funnel-woning:has(+ .prijskaart.stap1) strong, .funnel-woning:has(+ .prijskaart.stap1) span { display: inline; font-size: 14px; }
  .funnel-woning:has(+ .prijskaart.stap1) strong::after { content: " · "; font-weight: 400; }
}
@media (max-width: 699px) {
  .tekst .prijskaart .account-velden { row-gap: 6px; }
  .tekst .prijskaart .account-velden .veld span:not(.ww-veld) { line-height: 1.2; margin-bottom: 4px; }
  .tekst .prijskaart.stap1 .bedrag { margin: 0 0 2px; }
}
@media (max-width: 699px) { .prijskaart.stap1 .btw { display: none; } .prijskaart.stap1 { padding-top: 10px; } }
/* Woningalert (20-11-2026) */
.alert-balk { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: var(--wit); border: 1px solid var(--lijn); border-left: 4px solid var(--groen); border-radius: var(--rond); padding: 10px 14px; margin: 0 0 14px; }
.alert-balk span { font-weight: 600; color: var(--navy); }
.alert-balk .knop { padding: 8px 16px; }
.alerts { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.alerts li { border: 1px solid var(--lijn); border-radius: var(--rond); padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.alerts li strong { display: block; color: var(--navy); }
.alert-status { display: inline-block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--grijs); background: var(--achter); border-radius: 999px; padding: 2px 10px; }
.alert-status.aan { color: var(--groen-donker); background: #e7f5ec; }
.alert-acties { display: flex; gap: 14px; align-items: center; }
.alert-acties form { margin: 0; }
.alert-formulier { max-width: none; }
@media (min-width: 700px) { .alert-formulier { grid-template-columns: 1fr 1fr; column-gap: 16px; } .alert-formulier .breed, .alert-formulier > .knop { grid-column: 1 / -1; } }
@media (max-width: 560px) { .alert-balk { flex-direction: column; align-items: stretch; text-align: center; } .alert-balk .knop { width: 100%; } }

/* Stap 1 van het account: formulier zonder extra donker kader, zoals /inloggen en /woningalert */
.prijskaart.stap1 { border: 0; box-shadow: none; background: transparent; padding-left: 0; padding-right: 0; }
.tekst:has(.prijskaart.stap1) > h1 { text-align: center; }

/* TeHuurALouer: taalknop NL/FR in het menu */
.menu .taalknop{border:1px solid var(--navy);color:var(--navy);border-radius:999px;padding:4px 12px;font-weight:700;letter-spacing:.04em}
.menu .taalknop:hover{background:var(--navy);color:#fff}
@media (max-width:960px){.menu .taalknop{align-self:flex-start;margin-top:6px}}
.filters .vink{display:flex;gap:8px;align-items:flex-start;font-weight:400}
.filters .vink input{margin-top:3px}
/* Tabellen in uitleg- en tekstpagina's */
.tekst table:not(.tabel){width:100%;border-collapse:collapse;margin:14px 0 20px;font-size:15px}
.tekst table:not(.tabel) th,.tekst table:not(.tabel) td{border:1px solid var(--lijn);padding:8px 10px;text-align:left;vertical-align:top}
.tekst table:not(.tabel) th{background:var(--achter);font-weight:700}
@media (max-width:640px){.tekst table:not(.tabel){display:block;overflow-x:auto}}
/* Taalsuggestie voor bezoekers met een andere browsertaal dan de pagina */
.taalbalk{background:#0d2f4f;color:#fff;font-size:15px}
.taalbalk .wrap{position:relative;display:flex;align-items:center;justify-content:center;gap:8px 12px;flex-wrap:wrap;padding-top:10px;padding-bottom:10px;padding-right:44px;text-align:center}
.taalbalk .knop{padding:7px 16px;font-size:14px}
.taalbalk button{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent;border:0;color:#fff;font-size:24px;line-height:1;cursor:pointer;padding:6px 10px}
@media (max-width:480px){.taalbalk{font-size:14px}.taalbalk .knop{padding:6px 12px;font-size:13px}}
.kolommen-lijst { list-style: none; padding: 0; margin: 8px 0 0; columns: 2 260px; column-gap: 28px; }
.kolommen-lijst li { break-inside: avoid; padding: 4px 0; }

/* Rode balk bij een mislukte betaling: vaste hoogte (geen layout shift), niet weg te klikken. */
.betaalbalk { background: #b3261e; color: #fff; height: 56px; overflow: hidden; }
.betaalbalk .wrap { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; }
.betaalbalk span { font-size: 15px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.betaalbalk .knop { flex: none; background: #fff; color: #b3261e; padding: 8px 14px; min-height: 0; font-size: 15px; }
@media (max-width: 640px) { .betaalbalk { height: 76px; } .betaalbalk span { font-size: 13px; -webkit-line-clamp: 3; } .betaalbalk .knop { padding: 7px 10px; font-size: 14px; } }
.kraj-kop { margin: 32px 0 12px; }
.plaatsen + .kraj-kop { margin-top: 32px; }
.foto.kaartfoto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }
/* Opzegmaatregelen (zoals HuurwoningenNu, 28-11-2026): welkomstbalk, Suchagent-samenvatting, Kündigungsscherm. */
.welkom-balk { background: #e7f5ec; border: 1px solid #b9e0c6; border-radius: var(--rond); padding: 14px 16px; margin: 16px 0 4px; font-size: 16px; }
.welkom-balk p { margin: 0 0 6px; }
.welkom-balk p:last-child { margin: 0; font-size: 15px; }
.alert-tel { display: block; margin-top: 4px; font-size: 14px; color: var(--grijs); }
.alert-kort { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 14px 16px; margin: 18px 0 0; }
.alert-kort p { margin: 0 0 8px; }
.alert-kort p:last-child { margin: 0; }
.opzeg-raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; margin: 18px 0; }
.opzeg-form, .opzeg-alt { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 16px 18px; }
.opzeg-alt h2 { margin-top: 0; font-size: 20px; }
/* Opzegknop en alternatief exact even groot (de lichte knop heeft een rand van 1px). */
.opzeg-form .knop { border: 1px solid transparent; }
.redenen { border: 0; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.redenen legend { font-weight: 700; margin-bottom: 8px; }
.redenen legend small { font-weight: 400; color: var(--grijs); }
@media (max-width: 760px) { .opzeg-raster { grid-template-columns: 1fr; } }

/* Foto's groot bekijken (lightbox, Simon 23-11-2026): tikken opent, vegen of pijltjes bladeren; sluiten met x, Esc,
   tik naast de foto, omlaag vegen of de terugknop. */
.galerij-baan img { cursor: zoom-in; }
.galerij-groot { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; border-radius: 6px; background: rgba(0,0,0,.6); color: #fff; font: inherit; font-size: 14px; padding: 5px 10px; cursor: pointer; }
.galerij-groot:focus-visible, .lb button:focus-visible { outline: 3px solid #ffd54a; outline-offset: 2px; }
html.lb-open, html.lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; background: #0b0f14; display: none; }
.lb.open { display: block; }
.lb-baan { position: absolute; inset: 0; display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-baan::-webkit-scrollbar { display: none; }
.lb-dia { flex: 0 0 100%; height: 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 56px 12px; box-sizing: border-box; }
.lb-dia img { max-width: 100%; max-height: calc(100vh - 112px); max-height: calc(100dvh - 112px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; cursor: default; }
.lb-sluit { position: absolute; top: max(10px, env(safe-area-inset-top)); right: 10px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: #0d2f4f; font-size: 32px; line-height: 1; cursor: pointer; z-index: 2; }
.lb-knop { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: #0d2f4f; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.lb-vorige { left: 12px; } .lb-volgende { right: 12px; }
.lb-teller { position: absolute; left: 50%; transform: translateX(-50%); bottom: max(14px, env(safe-area-inset-bottom)); color: #fff; background: rgba(0,0,0,.55); padding: 3px 12px; border-radius: 6px; font-size: 15px; z-index: 2; }
.lb.lb-een .lb-knop, .lb.lb-een .lb-teller { display: none; }
@media (hover: none) { .lb-knop { display: none; } }
@media (prefers-reduced-motion: reduce) { .lb-baan { scroll-behavior: auto; } }

/* Woning zonder foto bij de aanbieder: informatietegel (29-11). Kleine foto's niet oprekken. */
.foto.infotegel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; padding: 12px;
  background: linear-gradient(135deg, #0d2f4f, #1c4a73); color: #fff; }
.foto.infotegel svg { color: #2fbf68; }
.foto.infotegel strong { font-size: 22px; line-height: 1.1; }
.foto.infotegel span { font-size: 15px; opacity: .9; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.foto.infotegel small { font-size: 13px; opacity: .75; }
.galerij-baan img.klein, .foto img.klein { object-fit: scale-down; background: #dfe6ee; }
.cijfers { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
/* Galerij: elke foto in een dia; een foto die kleiner is dan het vlak wordt niet opgerekt (het beeld krijgt zijn eigen maat). */
.galerij-baan .dia { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; scroll-snap-align: start; background: #dfe6ee; }
.galerij-baan .dia img { flex: none; width: 100%; height: 100%; object-fit: cover; }
.galerij-baan .dia img.klein { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.foto img.klein { width: auto; height: auto; max-width: 100%; max-height: 100%; margin: auto; position: absolute; inset: 0; object-fit: contain; }
/* /ceny-najmu op mobiel: alleen obec, nájemné en aantal, zodat de tabel binnen het scherm past (QC 29-11). */
@media (max-width: 640px) {
  table.monitor { min-width: 0; width: 100%; font-size: 14px; table-layout: fixed; }
  table.monitor th, table.monitor td { padding: 8px 6px; white-space: normal; overflow-wrap: anywhere; }
  table.monitor th:first-child, table.monitor td:first-child { width: 40%; }
  table.monitor th:nth-child(n+4), table.monitor td:nth-child(n+4) { display: none; }
  .tabel-hint { display: none; }
}

/* ---------- Homepage (Simon 30-11-2026): zo clean als Rentola, in onze eigen stijl ---------- */
.hh-hero { position: relative; color: #fff; min-height: 430px; display: flex; align-items: center; overflow: hidden; background: var(--navy); }
.hh-hero picture, .hh-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hh-hero picture img { object-fit: cover; object-position: center 55%; }
.hh-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,47,79,.55), rgba(13,47,79,.35) 55%, rgba(13,47,79,.6)); }
.hh-hero-in { position: relative; z-index: 1; width: 100%; padding-top: 48px; padding-bottom: 48px; text-align: center; }
.hh-hero h1 { color: #fff; font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 22px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hh-zoek { background: #fff; color: var(--tekst); border-radius: 14px; box-shadow: 0 12px 40px rgba(13,47,79,.25); padding: 22px 24px 16px; max-width: 760px; margin: 0 auto; text-align: left; }
.hh-zoek-kop { margin: 0 0 12px; font-size: 18px; color: var(--navy); }
.hh-zoek-rij { display: grid; grid-template-columns: 1fr 190px auto; gap: 10px; }
.hh-zoek-rij input, .hh-zoek-rij select { width: 100%; height: 50px; border: 1px solid var(--lijn); border-radius: 10px; padding: 0 14px; font: inherit; color: var(--tekst); background: #fff; }
.hh-zoek-rij input:focus, .hh-zoek-rij select:focus { outline: 2px solid var(--blauw); outline-offset: 0; border-color: transparent; }
.hh-zoek-rij .knop { height: 50px; padding: 0 28px; font-size: 17px; border-radius: 10px; }
.hh-zoek-onder { margin: 10px 0 0; font-size: 14px; color: var(--grijs); }

.hh-sectie { background: #fff; padding: 52px 0; }
.hh-sectie + .hh-sectie { padding-top: 8px; }
.hh-alert + .hh-sectie, .hh-band + .hh-sectie { padding-top: 56px; }
.hh-sectie.hh-nieuw { padding-bottom: 64px; }
.hh-sectie h2 { margin-bottom: 18px; }
.hh-kop { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hh-kop h2 { margin: 0; }
.hh-kop a { font-weight: 600; white-space: nowrap; }

.hh-soorten { display: flex; flex-wrap: wrap; gap: 12px; }
.hh-soort { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--achter); border: 1px solid transparent; border-radius: 12px; color: var(--navy); font-weight: 600; transition: border-color .25s, background .25s; }
.hh-soort svg { width: 22px; height: 22px; color: var(--groen); flex: none; }
.hh-soort small { color: var(--grijs); font-weight: 400; font-size: 14px; }
.hh-soort:hover { text-decoration: none; background: #fff; border-color: var(--groen); }

.hh-steden { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.hh-stad { display: block; border-radius: 12px; overflow: hidden; background: #fff; border: 1px solid var(--lijn); transition: box-shadow .25s, transform .25s; }
.hh-stad img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe6ee; }
.hh-stad-naam, .hh-stad-n { display: block; }
.hh-stad-naam { padding: 12px 14px 0; font-weight: 700; color: var(--navy); font-size: 18px; }
.hh-stad-n { padding: 0 14px 14px; color: var(--grijs); font-size: 15px; }
.hh-stad:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,47,79,.12); }

.hh-alert { background: var(--achter); padding: 56px 0 !important; }
.hh-alert-in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.hh-alert-tekst p { color: var(--grijs); font-size: 18px; max-width: 560px; }
.hh-vinken { list-style: none; padding: 0; margin: 0 0 24px; }
.hh-vinken li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.hh-vinken svg { width: 20px; height: 20px; color: var(--groen); flex: none; margin-top: 3px; }
.hh-alert .knop { padding: 14px 30px; font-size: 18px; }
.hh-telefoon { position: relative; justify-self: center; width: 260px; height: 400px; border-radius: 36px; background: var(--navy); padding: 12px; box-shadow: 0 20px 50px rgba(13,47,79,.25); }
.hh-scherm { height: 100%; border-radius: 26px; background: var(--achter); overflow: hidden; padding: 150px 10px 10px; }
.hh-app { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 8px rgba(13,47,79,.08); }
.hh-app img { width: 100%; height: 120px; object-fit: cover; display: block; }
.hh-app b { display: block; padding: 8px 10px 0; font-size: 13px; color: var(--navy); }
.hh-app span { display: block; padding: 0 10px 10px; font-size: 13px; color: var(--groen-donker); font-weight: 700; }
.hh-melding { position: absolute; left: -54px; right: 24px; background: #fff; border-radius: 12px; box-shadow: 0 8px 24px rgba(13,47,79,.18); padding: 10px 14px; font-size: 14px; display: flex; flex-direction: column; z-index: 1; }
.hh-melding b { color: var(--navy); }
.hh-melding span { color: var(--grijs); }
.hh-melding:nth-child(1) { top: 30px; }
.hh-melding:nth-child(2) { top: 94px; left: 30px; right: -60px; }

.hh-woningen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hh-woning { display: flex; flex-direction: column; border: 1px solid var(--lijn); border-radius: 12px; overflow: hidden; background: #fff; color: var(--tekst); transition: box-shadow .25s, transform .25s; }
.hh-woning:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,47,79,.12); }
.hh-woning-foto { position: relative; aspect-ratio: 4 / 3; background: #dfe6ee; overflow: hidden; flex: none; }
.hh-woning-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hh-teller { z-index: 1; }
.hh-teller { position: absolute; left: 10px; top: 10px; background: rgba(13,47,79,.75); color: #fff; font-size: 13px; padding: 2px 8px; border-radius: 6px; }
.hh-woning-in { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hh-woning-titel { font-weight: 700; color: var(--navy); font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-woning-adres { color: var(--grijs); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-woning-onder { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.hh-woning-onder b { color: var(--navy); font-size: 18px; white-space: nowrap; }
.hh-woning-onder em { font-style: normal; font-size: 12px; overflow: hidden; text-overflow: ellipsis; color: var(--groen-donker); background: #e7f5ec; border-radius: 999px; padding: 2px 10px; white-space: nowrap; }

.hh-band { background: var(--navy); color: #fff; padding: 40px 0; }
.hh-band-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.hh-band h2 { color: #fff; margin: 0 0 6px; }
.hh-band p { color: #cfdbe8; margin: 0; max-width: 700px; }
.knop.knop-wit { background: #fff; color: var(--navy); padding: 14px 34px; font-size: 18px; white-space: nowrap; }
.knop.knop-wit:hover { background: #e9eef4; }

.hh-raster { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 26px 20px; }
.hh-raster h3 { margin: 0 0 10px; font-size: 19px; }
.hh-raster h3 a { color: var(--navy); }
.hh-pil { display: block; width: fit-content; max-width: 100%; border: 1px solid var(--lijn); border-radius: 999px; padding: 4px 12px; margin-bottom: 8px; font-size: 14px; color: var(--grijs); }
.hh-pil:hover { border-color: var(--blauw); color: var(--blauw); text-decoration: none; }
.hh-faq { max-width: 860px; }

@media (max-width: 1100px) { .hh-steden { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hh-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .hh-woningen { grid-template-columns: repeat(2, minmax(0, 1fr)); } .hh-alert-in { grid-template-columns: 1fr; } .hh-telefoon { display: none; } }
@media (max-width: 700px) {
  .hh-hero { min-height: 0; }
  .hh-hero-in { padding-top: 36px; padding-bottom: 36px; }
  .hh-zoek { padding: 16px; }
  .hh-zoek-rij { grid-template-columns: 1fr; }
  .hh-sectie { padding: 36px 0; }
  .hh-soorten { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
  .hh-soorten::-webkit-scrollbar, .hh-steden::-webkit-scrollbar { display: none; }
  .hh-soort { flex: none; scroll-snap-align: start; }
  .hh-steden { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; gap: 12px; }
  .hh-soorten::after, .hh-steden::after { content: ""; flex: 0 0 8px; }
  .hh-stad { flex: 0 0 62%; max-width: 260px; scroll-snap-align: start; }
  .hh-woningen { grid-template-columns: 1fr; }
  .hh-band-in { flex-direction: column; align-items: flex-start; }
  .hh-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hh-kop { flex-direction: column; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) { .hh-stad, .hh-woning, .hh-soort { transition: none; } .hh-stad:hover, .hh-woning:hover { transform: none; } }
.hh-woning-onder b small { font-weight: 400; font-size: 13px; color: var(--grijs); }
.hh-hero::after { z-index: 0; }
