/* Kleuren en letters: richting D, zee en zon (gekozen 2026-11-30) */
:root {
  --bg:#F7FAF9; --ink:#102A2E; --muted:#5E7376; --line:#DCE7E6; --card:#fff;
  --head:#0F5E6B; --head-ink:#fff; --hero:#0F5E6B; --hero-ink:#fff;
  --chip:rgba(255,255,255,.12); --chip-ink:#fff; --chip-b:rgba(255,255,255,.3); --chip-r:999px;
  --display:'Plus Jakarta Sans', system-ui, sans-serif; --dw:700; --body:'Plus Jakarta Sans', system-ui, sans-serif;
  --ball:#F5C02E; --photo:#BFDCD9; --court:#0F5E6B; --court-line:#fff; --pool:#6FC7D6;
  --badge:#F5C02E; --badge-ink:#102A2E; --btn:#F5C02E; --btn-hover:#E3AE17; --btn-ink:#102A2E; --btn-r:10px; --r:14px; --link:#0F5E6B;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-wrap: break-word; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--display); font-weight: var(--dw); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: 1.9rem; }
h2 { font-size: 1.4rem; margin-top: 1.6em; }
h3 { font-size: 1.1rem; margin-top: 1.2em; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.prose-wrap { padding-top: 16px; padding-bottom: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sample { margin: 0; padding: 6px 16px; background: #FFE08A; color: #3A2B00; font-size: .85rem; text-align: center; }
.small { font-size: .85rem; color: var(--muted); }
.note { padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r); color: var(--muted); }
.lead { font-size: 1.08rem; max-width: 62ch; }
.count { color: var(--muted); font-size: .9rem; }

/* Kop */
.head { background: var(--head); color: var(--head-ink); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); }
.head-in { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.logo { flex: none; display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: inherit; text-decoration: none; }
.ball { width: 14px; height: 14px; border-radius: 50%; background: var(--ball); }
.menu-btn { background: none; border: 0; color: inherit; padding: 10px; margin-right: -10px; cursor: pointer; }
.bars { display: block; width: 22px; height: 14px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; position: relative; }
.bars::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 2px solid currentColor; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--head); border-bottom: 1px solid var(--line); }
.nav.open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px 16px 16px; }
.nav a { display: block; padding: 12px 0; color: inherit; text-decoration: none; font-weight: 500; }
@media (min-width: 900px) {
  .menu-btn { display: none; }
  .nav { display: block; position: static; border: 0; background: none; }
  .nav ul { display: flex; gap: 22px; padding: 0; }
  .nav a { padding: 8px 0; }
}

/* Hero en chips */
.hero { background: var(--hero); color: var(--hero-ink); padding: 28px 0 24px; }
.hero h1 { font-size: 2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip { font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: var(--chip-r); background: var(--chip); color: var(--chip-ink); border: 1px solid var(--chip-b); text-decoration: none; }
@media (min-width: 900px) { .hero { padding: 56px 0 44px; } .hero h1 { font-size: 2.8rem; } h1 { font-size: 2.3rem; } }

/* Kruimelpad */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 14px; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }

/* Villakaartjes */
.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 12px 0 8px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card-photo { position: relative; display: block; }
.card-img { width: 100%; height: 180px; object-fit: cover; }
.ph { background: var(--photo); position: relative; }
.ph-court { position: absolute; right: 14px; bottom: 14px; width: 92px; height: 52px; border: 2px solid var(--court-line); background: var(--court); }
.ph-court::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px solid var(--court-line); }
.ph-pool { position: absolute; left: 14px; bottom: 14px; width: 70px; height: 34px; border-radius: 8px; background: var(--pool); }
.badge { position: absolute; left: 10px; top: 10px; font-size: .75rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--badge); color: var(--badge-ink); }
.badge-inline { display: inline-block; font-size: .8rem; font-weight: 600; padding: 4px 8px; border-radius: 6px; background: var(--hero); color: var(--hero-ink); margin: 0 0 10px; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.card-place { font-size: .8rem; color: var(--muted); margin: 0 0 2px; }
.card-name { font-size: 1.1rem; margin: 0 0 8px; }
.card-name a { color: inherit; text-decoration: none; }
.card-facts { list-style: none; padding: 0; margin: 0 0 12px; font-size: .88rem; }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { margin: 0; font-size: .78rem; color: var(--muted); }
.price strong { display: block; font-size: 1.05rem; color: var(--ink); font-weight: 600; }
.price.big strong { font-size: 1.5rem; }
.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); font-weight: 600; font-size: .92rem; padding: 10px 16px; border-radius: var(--btn-r); text-decoration: none; white-space: nowrap; text-align: center; }
.btn:hover { background: var(--btn-hover); }
.btn-alt { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-alt:hover { background: var(--line); }

/* Villapagina */
.villa-top { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 900px) { .villa-top { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 28px; } }
.villa-img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .villa-img { height: 380px; } }
.buy { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; align-self: start; }
.buy h1 { font-size: 1.6rem; }
.buy-links { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 0; }

/* Tekst, tabellen, veelgestelde vragen */
.short { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px 6px; margin: 18px 0; }
.short h2 { font-size: 1.1rem; margin-top: 14px; }
.prose { max-width: 72ch; }
.prose .grid { max-width: none; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .92rem; background: var(--card); }
th, td { text-align: left; padding: 9px 12px; border: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--hero); color: var(--hero-ink); }
.passport th { width: 40%; font-weight: 500; }
.passport small { display: block; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.related ul, .guide-list { padding-left: 1.1em; }
.guide-list li { margin-bottom: 12px; }
.guide-list p { margin: 2px 0 0; color: var(--muted); font-size: .92rem; }

/* Voet */
.foot { background: var(--head); color: var(--head-ink); border-top: 1px solid var(--line); padding: 28px 0 40px; }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.foot > * { min-width: 0; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot a { color: inherit; }
.foot .small { color: inherit; opacity: .8; }
.foot-h { font-family: var(--display); font-weight: 600; margin-bottom: 6px; }

/* Filters op villalijsten */
.card[hidden] { display: none; }
.lbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 10px 0 6px; }
.f-open { font: inherit; font-weight: 600; background: var(--ink); color: var(--bg); border: 0; border-radius: var(--btn-r); padding: 9px 14px; cursor: pointer; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.qchip { font: inherit; font-size: .88rem; font-weight: 500; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }
.qchip.on { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.sort { margin-left: auto; }
.sort select { font: inherit; font-size: .88rem; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--ink); max-width: 100%; }
.filters { display: none; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 14px; min-width: 0; }
.filters legend { font-weight: 600; font-size: .9rem; padding: 0; margin-bottom: 6px; }
.f-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; margin: 0 0 12px; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt span { display: inline-block; font-size: .88rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.opt i { font-style: normal; color: var(--muted); font-size: .8rem; }
.opt input:checked + span { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.opt input:checked + span i { color: inherit; }
.opt input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.opt.zero span { opacity: .45; }
.f-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.f-reset { font: inherit; background: none; border: 0; color: var(--link); text-decoration: underline; cursor: pointer; padding: 8px 0; }
.linklike { padding: 0; }
@media (max-width: 899px) {
  .filters.open { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; max-height: 82vh; overflow-y: auto; background: var(--bg); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 18px 16px 0; box-shadow: 0 -8px 30px rgba(0,0,0,.18); }
  .filters.open .f-foot { position: sticky; bottom: 0; background: var(--bg); padding: 12px 0 16px; border-top: 1px solid var(--line); }
  body.sheet-open { overflow: hidden; }
}
@media (min-width: 900px) {
  .f-open, .f-show, .f-title { display: none; }
  .filters { display: flex; flex-wrap: wrap; gap: 6px 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px 6px; margin: 8px 0 12px; }
  .f-foot { flex-basis: 100%; margin-bottom: 8px; }
}

/* Wensen-assistent in de hero */
.ask { margin-top: 20px; max-width: 680px; }
.ask-label { display: block; font-weight: 700; margin-bottom: 6px; }
.ask-row { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; }
.ask textarea { font: inherit; color: var(--ink); background: transparent; border: 0; resize: none; width: 100%; min-height: 3.2em; padding: 4px; }
.ask textarea:focus { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 6px; }
.ask-btns { display: flex; justify-content: flex-end; gap: 8px; }
.ask-mic { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--link); background: transparent; color: var(--link); cursor: pointer; }
.ask-mic[hidden] { display: none; }
.ask-mic.on { background: var(--link); color: #fff; animation: ask-pulse 1.2s ease-in-out infinite; }
@keyframes ask-pulse { 50% { box-shadow: 0 0 0 8px rgba(15,94,107,.22); } }
@media (prefers-reduced-motion: reduce) { .ask-mic.on { animation: none; } }
.ask-send { border: 0; cursor: pointer; font-family: inherit; }
.ask.busy .ask-send { opacity: .6; }
.ask-out { margin-top: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.ask-out p { margin: 0; }
.ask-question { font-weight: 600; margin-top: 6px !important; }
.ask-question:empty { display: none; }
.ask-note { font-size: .78rem; opacity: .75; margin: 8px 0 0; }
.why { font-size: .82rem; font-weight: 500; color: var(--link); margin: 0 0 10px; }
.why[hidden] { display: none; }
