/* AG Vastgoed Media – voorbeeldsite, ontwerp variant A "Helder" */
:root {
  --rood: #cf1418;
  --rood-donker: #a10f12;
  --rood-licht: #fbe9ea;
  --tekst: #1d1d1f;
  --tekst-zacht: #515154;
  --tekst-licht: #6e6e73;
  --vlak: #f5f5f7;
  --lijn: #e8e8ed;
  --wit: #ffffff;
  --kop: 'Encode Sans Semi Condensed', 'Arial Narrow', system-ui, sans-serif;
  --romp: 'Encode Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --breed: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--wit); color: var(--tekst); font-family: var(--romp); font-size: 17px; line-height: 1.55; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rood); text-decoration: none; }
a:hover { color: var(--rood-donker); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--rood); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--kop); line-height: 1.08; letter-spacing: -0.015em; margin: 0; overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
h1 { font-size: clamp(40px, 6.4vw, 76px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.03; }
h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 24px; }
.smal { max-width: 860px; }
.zacht { color: var(--tekst-zacht); }
.licht { color: var(--tekst-licht); font-size: 15px; }
.overslaan { position: absolute; left: -9999px; top: 8px; background: var(--wit); padding: 10px 14px; z-index: 20; }
.overslaan:focus { left: 8px; }

/* Kop en menu */
.kop { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--lijn); }
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.kop .logo img { height: 40px; width: auto; }
.menu { display: flex; align-items: center; gap: 26px; font-size: 14px; }
.menu a { color: var(--tekst); }
.menu a[aria-current="page"] { font-weight: 600; }
.menu-knop { display: none; width: 44px; height: 44px; border: 0; background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 999px; background: var(--rood); color: var(--wit); font-weight: 600; font-size: 17px; border: 0; cursor: pointer; }
.knop:hover { background: var(--rood-donker); color: var(--wit); text-decoration: none; }
.knop.klein { min-height: 44px; padding: 0 18px; font-size: 14px; }
.menu a.knop { color: var(--wit); }
.link-pijl { font-weight: 600; display: inline-flex; min-height: 44px; align-items: center; }
.link-pijl::after { content: ' ›'; white-space: pre; }

/* Secties */
.sectie { padding: 96px 0; }
.sectie.vlak { background: var(--vlak); }
.sectie.compact { padding: 64px 0; }
.sectie-kop { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.sectie-kop p { margin-top: 12px; }
.held { padding: 112px 0 72px; text-align: center; }
.held .boven { font-size: 15px; font-weight: 600; color: var(--rood); margin-bottom: 16px; }
.held h1 { max-width: 920px; margin: 0 auto; }
.held .intro { max-width: 660px; margin: 28px auto 0; font-size: 21px; color: var(--tekst-zacht); }
.knoppen { margin-top: 32px; display: flex; gap: 12px 20px; flex-wrap: wrap; justify-content: center; align-items: center; }
.kruimel { font-size: 14px; color: var(--tekst-licht); margin-bottom: 14px; }
.kruimel a { color: var(--tekst-licht); }
.held-links { padding: 88px 0 56px; }
.held-links .rij { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.held-links .tekst { flex: 1 1 460px; min-width: 0; }
.held-links .intro { font-size: 21px; color: var(--tekst-zacht); margin: 24px 0 0; max-width: 620px; }
.held-links .knoppen { justify-content: flex-start; }

/* Kaarten en rasters */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.kaart { background: var(--vlak); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 12px; }
.sectie.vlak .kaart { background: var(--wit); }
.kaart h3 { font-size: 26px; }
.kaart p { margin: 0; }
.kaart .vanaf { font-size: 15px; color: var(--tekst-zacht); margin-top: 8px; }
.kaart .prijs { font-family: var(--kop); font-size: 44px; font-weight: 700; line-height: 1; }
.kaart .link-pijl { margin-top: auto; }
.prijsblok { flex: 0 1 380px; background: var(--vlak); border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.prijsblok .regel + .regel { border-top: 1px solid #dedee3; padding-top: 16px; }
.prijsblok .label { font-size: 15px; color: var(--tekst-zacht); margin: 0; }
.prijsblok .bedrag { font-family: var(--kop); font-size: 44px; font-weight: 700; line-height: 1.05; margin: 2px 0 0; }
.prijsblok .bedrag.klein { font-size: 28px; }
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; counter-reset: stap; }
.stappen li { text-align: center; counter-increment: stap; }
.stappen li::before { content: counter(stap); display: block; font-family: var(--kop); font-size: 56px; font-weight: 700; color: var(--rood); line-height: 1; margin-bottom: 10px; }
.stappen h3 { margin-bottom: 8px; }
.stappen p { color: var(--tekst-zacht); max-width: 300px; margin: 0 auto; }
.cijfers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; }
.cijfers div { background: var(--vlak); border-radius: 20px; padding: 24px; }
.cijfers dt { font-size: 15px; color: var(--tekst-zacht); }
.cijfers dd { margin: 4px 0 0; font-family: var(--kop); font-size: 38px; font-weight: 700; line-height: 1.1; }
.twee { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.twee > * { flex: 1 1 380px; min-width: 0; }
.twee.midden { align-items: center; }
.lijst { padding-left: 1.2em; margin: 0 0 1em; }
.lijst li { margin-bottom: .5em; }
.definities { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px 40px; margin: 0; }
.definities dt { font-weight: 600; }
.definities dd { margin: 4px 0 0; color: var(--tekst-zacht); }

/* Tabellen */
.tabel-wrap { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: 16px; }
th, td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
th { font-size: 14px; font-weight: 600; color: var(--tekst-zacht); border-bottom: 2px solid var(--tekst); }
td.bedrag { font-family: var(--kop); font-weight: 700; font-size: 20px; white-space: nowrap; }

/* Vragen */
.vragen details { border-top: 1px solid var(--lijn); padding: 18px 0; }
.vragen details:last-child { border-bottom: 1px solid var(--lijn); }
.vragen summary { font-weight: 600; font-size: 19px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; min-height: 32px; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: '+'; color: var(--rood); font-size: 24px; line-height: 1; }
.vragen details[open] summary::after { content: '–'; }
.vragen details p { margin: 12px 0 0; color: var(--tekst-zacht); }

/* Voorbeeld- en beeldvlakken */
.toonvlak { margin: 0; background: var(--vlak); border-radius: 28px; padding: 48px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.toonvlak .vel { width: 100%; max-width: 620px; background: var(--wit); border-radius: 12px; box-shadow: 0 30px 60px rgba(0,0,0,.08); padding: 24px; }
.toonvlak figcaption { font-size: 14px; color: var(--tekst-licht); }
.rapportkaart img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; border-radius: 10px; box-shadow: 0 20px 40px rgba(0,0,0,.08); background: var(--wit); }

/* Boeken */
.boeken .twee { flex-direction: column; align-items: stretch; gap: 24px; }
.boeken .twee > div:first-child { max-width: 760px; }
.boeken .agenda { flex: 1 1 auto; width: 100%; background: var(--wit); border-radius: 20px; box-shadow: 0 20px 40px rgba(0,0,0,.06); padding: 8px; min-height: 720px; }
.boeken .agenda .calendly-inline-widget { min-width: 300px; height: 700px; }
.agenda-keuze { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.agenda-keuze legend { font-weight: 600; margin-bottom: 8px; }
.agenda-keuze label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid #d2d2d7; border-radius: 999px; background: var(--wit); cursor: pointer; font-size: 15px; }
.agenda-keuze input { accent-color: var(--rood); }
.agenda-keuze label:has(input:checked) { border-color: var(--rood); color: var(--rood); font-weight: 600; }
.agenda-terugval { padding: 32px; text-align: center; color: var(--tekst-zacht); }

/* Regels en voettekst */
.aankondiging { text-align: center; color: var(--tekst-zacht); padding: 56px 0; }
.aankondiging strong { color: var(--tekst); }
.voet { background: var(--vlak); border-top: 1px solid var(--lijn); padding: 48px 0 32px; font-size: 14px; color: var(--tekst-zacht); }
.voet .kolommen { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.voet strong { color: var(--tekst); display: block; margin-bottom: 6px; }
.voet ul { list-style: none; margin: 0; padding: 0; }
.voet li { margin-bottom: 4px; }
.voet a { color: var(--tekst-zacht); }
.voet .klein { margin-top: 32px; font-size: 13px; color: var(--tekst-licht); }
.voorbeeld-balk { background: #1d1d1f; color: #fff; font-size: 13px; text-align: center; padding: 6px 12px; }

/* Mobiel */
@media (max-width: 900px) {
  .menu-knop { display: inline-flex; }
  .menu { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--wit); border-bottom: 1px solid var(--lijn); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; font-size: 17px; }
  .menu.open { display: flex; }
  .menu a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--lijn); }
  .menu a.knop { margin-top: 12px; border: 0; justify-content: center; }
  .kop .wrap { position: relative; }
  .kop-acties { display: flex; align-items: center; gap: 4px; }
}
@media (min-width: 901px) { .kop-acties .knop.mobiel { display: none; } }
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .sectie { padding: 56px 0; }
  .held { padding: 56px 0 40px; }
  .held .intro, .held-links .intro { font-size: 18px; }
  .held-links { padding: 40px 0 32px; }
  .kaart { padding: 24px 20px; border-radius: 20px; }
  .kaart .prijs { font-size: 36px; }
  .cijfers { gap: 10px; }
  .cijfers div { padding: 16px 14px; border-radius: 16px; min-width: 0; }
  .cijfers dt { font-size: 13px; overflow-wrap: anywhere; }
  .cijfers dd { font-size: 26px; overflow-wrap: anywhere; }
  .toonvlak { padding: 24px 12px 16px; border-radius: 20px; }
  .toonvlak .vel { padding: 12px; }
  .boeken .agenda { min-height: 0; padding: 0; box-shadow: none; background: transparent; }
  .boeken .agenda .calendly-inline-widget { height: 1000px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Na controle stap 6 */
.bronnen { padding-top: 32px; padding-bottom: 32px; }
.bronnen p { margin: 0; }
.voet li { margin-bottom: 10px; }
.voet a { display: inline-block; padding: 4px 0; }
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; }
@media (max-width: 360px) { h1 { font-size: 31px; } h2 { font-size: 27px; } }
@media (max-width: 400px) { td.bedrag { white-space: normal; font-size: 18px; } th, td { padding: 12px 8px; } }

/* Na het advies over beleving (7-10) */
.agenda-dienst { margin: 0 0 12px; font-size: 16px; }
.agenda-onder { margin: 8px 0 0; }
.vragen .bronnr { font-size: 12px; color: var(--tekst-licht); margin-left: 6px; white-space: nowrap; }
.vragen details:target { background: var(--rood-licht); border-radius: 8px; padding-left: 12px; padding-right: 12px; }
.boven a { color: var(--rood); }
.held { padding: 64px 0 36px; }
.held h1 { font-size: clamp(40px, 5.6vw, 66px); }
.diensten-home .sectie-kop { margin-bottom: 24px; }
.diensten-home .sectie-kop h2 { font-size: clamp(26px, 3vw, 34px); }
.diensten-home .kaart { padding: 26px 28px; gap: 8px; }

/* Plattegrondvideo's (7-10) */
video { display: block; width: 100%; height: auto; background: #1d1d1f; border-radius: 16px; }
.lus-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lus-kaart { margin: 0; }
.lus-kaart a { display: block; border-radius: 16px; overflow: hidden; }
.lus-kaart video { aspect-ratio: 16 / 9; object-fit: cover; }
.lus-kaart figcaption { margin-top: 10px; text-align: center; font-family: var(--kop); font-weight: 600; font-size: 19px; }
.stijl { scroll-margin-top: 72px; }
.stijl + .stijl { padding-top: 0; }
.stijl-kop { max-width: 720px; margin-bottom: 28px; }
.stijl-kop p { margin-top: 10px; }
.video-rij { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 20px; align-items: start; }
.video-rij figure, .tekeningen figure { margin: 0; }
.video-rij .film video { aspect-ratio: 16 / 9; }
.video-rij .reel video { aspect-ratio: 9 / 16; }
.video-rij figcaption, .tekeningen figcaption { margin-top: 8px; font-size: 14px; color: var(--tekst-licht); }
.tekeningen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 32px auto 0; max-width: 760px; }
.tekeningen img { border-radius: 12px; border: 1px solid var(--lijn); }
@media (max-width: 760px) {
  .lus-raster { grid-template-columns: 1fr; gap: 16px; }
  .video-rij { grid-template-columns: 1fr; }
  .video-rij .reel { max-width: 250px; width: 100%; margin: 0 auto; }
  .tekeningen { gap: 8px; }
  .tekeningen figcaption { font-size: 12px; }
}
.lus-kaart figcaption span { display: block; font-family: var(--romp); font-weight: 400; font-size: 14px; color: var(--tekst-licht); margin-top: 2px; }
.stijl-kop .boven { margin-bottom: 6px; }

/* Eigen woningfoto's (7-10) */
.fotoband { margin: 0 auto 72px; }
.fotoband img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: 24px; }
.fotoband figcaption, .fotoblok p { margin: 8px 0 0; font-size: 13px; color: var(--tekst-licht); text-align: right; }
.fotoblok { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; padding-top: 96px; padding-bottom: 0; }
.fotoblok figure { margin: 0; min-height: 0; }
.fotoblok img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; aspect-ratio: 3 / 2; }
.fotoblok .groot { grid-row: 1 / 3; }
.fotoblok .groot img { aspect-ratio: auto; }
.fotoblok p { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .fotoband { margin-bottom: 48px; }
  .fotoband img { aspect-ratio: 4 / 3; border-radius: 20px; }
  .fotoblok { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; padding-top: 56px; }
  .fotoblok .groot { grid-column: 1 / -1; grid-row: auto; }
  .fotoblok .groot img { aspect-ratio: 3 / 2; }
  .fotoblok img { border-radius: 14px; }
}

/* Plattegronden uit echte metingen (7-10) */
.plaatje { margin: 0; }
.plaatje img { width: 100%; height: auto; background: #fff; border: 1px solid var(--lijn); border-radius: 18px; padding: 16px; }
.plaatje figcaption { margin-top: 8px; font-size: 14px; color: var(--tekst-licht); text-align: center; }
.markering-rij { margin-top: 56px; }
.markering-rij .plaatje { flex: 1 1 420px; max-width: 560px; }
.markering-rij > div { flex: 1 1 320px; }
.plattegrond-paar { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; max-width: 960px; margin: 0 auto; }
.galerij { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: start; }
.sectie.vlak .plaatje img { border-color: transparent; }
@media (max-width: 760px) {
  .plattegrond-paar { grid-template-columns: 1fr; gap: 12px; }
  .galerij { grid-template-columns: 1fr 1fr; gap: 12px; }
  .plaatje img { padding: 8px; border-radius: 14px; }
  .plaatje figcaption { font-size: 12px; }
  .markering-rij { margin-top: 40px; }
}

/* Rekenhulp op de tarievenpagina (7-10) */
.rekenhulp { background: var(--vlak); border-radius: 24px; padding: 32px; margin-bottom: 56px; }
.reken { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.reken label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--tekst-zacht); }
.reken label span { font-weight: 600; color: var(--tekst); }
.reken select, .reken input[type="number"] { font: inherit; font-size: 17px; padding: 12px 14px; border: 1px solid var(--lijn); border-radius: 12px; background: var(--wit); color: var(--tekst); min-height: 48px; }
.reken .vink { flex-direction: row; align-items: center; gap: 10px; grid-column: 1 / -1; }
.reken .vink input { width: 20px; height: 20px; accent-color: var(--rood); }
.reken .uitkomst { grid-column: 1 / -1; background: var(--wit); border-radius: 16px; padding: 20px 24px; }
.reken .uitkomst .bedrag { font-family: var(--kop); font-size: 40px; font-weight: 700; margin: 0; line-height: 1.1; }
.reken .uitkomst .licht { margin: 6px 0 0; }
.reken > p { grid-column: 1 / -1; }
@media (max-width: 600px) { .rekenhulp { padding: 20px; border-radius: 20px; } .reken { grid-template-columns: 1fr; } .reken .uitkomst .bedrag { font-size: 32px; } }
.reken label, .reken select, .reken input[type="number"] { min-width: 0; max-width: 100%; width: 100%; box-sizing: border-box; }
.reken .vink { width: auto; }

/* Werkfoto's van Mark (8-10) */
.werkfoto { margin: 0; }
.werkfoto img { width: 100%; height: auto; border-radius: 22px; aspect-ratio: 4 / 3; object-fit: cover; }
.werkfoto figcaption { margin-top: 8px; font-size: 13px; color: var(--tekst-licht); }
.twee.midden > .werkfoto { flex: 1 1 380px; max-width: 540px; }

/* Klantenportaal (8-10): secundaire knop en het voorbeelddossier */
.knop.licht { background: var(--wit); color: var(--tekst); border: 1px solid var(--lijn); }
.knop.licht:hover { background: var(--vlak); color: var(--tekst); }
.menu a.knop.licht { color: var(--tekst); }
.portaal-demo { flex: 1 1 360px; max-width: 540px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 24px; padding: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.07); }
.portaal-demo .kopregel { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.portaal-demo .kopregel strong { font-family: var(--kop); font-size: 20px; }
.portaal-demo .kopregel span { font-size: 13px; color: var(--tekst-licht); }
.stappenbalk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; }
.stappenbalk li { font-size: 12px; color: var(--tekst); font-weight: 600; text-align: center; }
.stappenbalk li::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--rood); margin-bottom: 6px; }
.bestanden { list-style: none; margin: 0; padding: 0; }
.bestanden li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--lijn); font-size: 14px; }
.bestanden li span:last-child { color: var(--rood); font-weight: 600; white-space: nowrap; }
.bestanden li.wacht span:last-child { color: var(--tekst-zacht); font-weight: 600; }
@media (max-width: 600px) { .portaal-demo { padding: 18px; border-radius: 20px; } .stappenbalk li { font-size: 11px; } .bestanden li { font-size: 13px; } }
