/* Wijmakker landingspagina
   Groen gedragen: vertrekt van set B (Park) uit brain/visual-dna/visual-dna.md.
   Signatuur: de dakvorm van het steile dak, in de 2%-badge en de kleine dakjes.
   Hemelsblauw enkel als klein accent. Rechte hoeken, geen schaduw, geen verlopen. */

@font-face { font-family: "Familjen Grotesk"; src: url("fonts/familjen-grotesk.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Atkinson Next"; src: url("fonts/atkinson-next.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
/* Atkinson heeft een doorstreepte nul; cijfers komen uit Familjen Grotesk (oogt anders als Ø in prijzen en postcodes) */
@font-face { font-family: "Atkinson Next"; src: url("fonts/familjen-grotesk.woff2") format("woff2"); font-weight: 200 800; unicode-range: U+0030-0039; font-display: swap; }

:root {
  --groen: #0E4D2C;        /* parkgroen, draagt de pagina */
  --groen-diep: #0A3820;   /* voet, hover */
  --haag: #E7EEE8;         /* licht groen vlak, de haag uit de renders */
  --lijn: #C9D6CC;
  --inkt: #15201A;         /* groenzwart voor tekst */
  --zacht: #4C5A51;
  --wit: #FFFFFF;
  --blauw: #A9D4F5;        /* hemelsblauw, enkel accent */

  --display: "Familjen Grotesk", system-ui, sans-serif;
  --tekst: "Atkinson Next", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --blok: clamp(72px, 9vw, 136px);
  --top-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--top-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--wit); color: var(--inkt); font-family: var(--tekst); font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--wit); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.blok { padding: var(--blok) 0; }

/* ---------- knoppen: tekst op een effen vlak, rechte hoeken ---------- */
.knop {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 2px solid transparent; border-radius: 0;
  font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.knop--groen { background: var(--groen); color: var(--wit); }
.knop--groen:hover { background: var(--groen-diep); }
.knop--wit { background: var(--wit); color: var(--groen); }
.knop--wit:hover { background: var(--haag); }
.knop--rand { border-color: rgba(255, 255, 255, .55); color: var(--wit); }
.knop--rand:hover { border-color: var(--wit); }
.knop--rand-groen { border-color: var(--groen); color: var(--groen); background: var(--wit); }
.knop--rand-groen:hover { background: var(--haag); }
.knop--vol { width: 100%; }

/* ---------- productlaag ---------- */
.productlaag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 28px; }
.tag { display: inline-block; background: var(--blauw); color: var(--groen); font-family: var(--display); font-weight: 600; font-size: .9rem; padding: 4px 10px; line-height: 1.4; }
.tag--klein { font-size: .78rem; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.pin { display: inline-flex; align-items: center; gap: 7px; font-family: var(--display); font-weight: 500; font-size: .95rem; }
.pin svg { width: 10px; height: 14px; fill: currentColor; }

/* ---------- header ---------- */
.top { position: sticky; top: 0; z-index: 50; background: var(--wit); border-bottom: 1px solid var(--lijn); }
.top__in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--top-h); display: flex; align-items: center; gap: 28px; }
.merk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--groen); font-family: var(--display); font-weight: 700; font-size: 1.35rem; letter-spacing: -.01em; }
.merk__dak { width: 18px; height: 22px; fill: var(--groen); }
.top__nav { display: none; margin-left: auto; gap: 28px; }
.top__nav a { text-decoration: none; font-family: var(--display); font-weight: 500; font-size: .98rem; color: var(--zacht); }
.top__nav a:hover { color: var(--groen); }
.top__cta { margin-left: auto; min-height: 42px; padding: 0 16px; font-size: .95rem; }
@media (min-width: 1000px) { .top__nav { display: flex; } .top__cta { margin-left: 4px; } }

/* ---------- hero ---------- */
.hero { background: var(--groen); color: var(--wit); }
.hero__in { max-width: var(--max); margin: 0 auto; padding: clamp(36px, 6vw, 72px) var(--gutter) 0; display: grid; gap: 40px; }
.hero__titel { font-family: var(--display); font-weight: 600; font-size: clamp(2.7rem, 7.4vw, 5.4rem); line-height: .98; letter-spacing: -.025em; margin-bottom: 22px; max-width: 11ch; }
.hero__lead { font-size: 1.15rem; color: #D6E4DA; max-width: 28em; margin-bottom: 22px; }
.hero__troeven { display: grid; gap: 6px; margin-bottom: 28px; }
.hero__troeven li { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 500; font-size: 1.05rem; }
.hero__troeven li::before { content: ""; flex: none; width: 12px; height: 10px; background: var(--blauw); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.hero__aanbod { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 18px; margin-bottom: 26px; max-width: 520px; }
.hero__prijs { font-family: var(--display); font-weight: 600; font-size: clamp(2rem, 6vw, 2.6rem); letter-spacing: -.015em; line-height: 1.05; }
.hero__prijs span { font-size: .5em; font-weight: 500; color: #B9CFC0; letter-spacing: 0; }
.hero__beschikbaar { color: #D6E4DA; margin-top: 6px; }
.hero__beschikbaar strong { color: var(--wit); font-weight: 700; }
.hero__noot { font-size: .82rem; color: #A9C2B1; max-width: 36em; margin-top: 18px; }

/* 2%-badge op de foto: de dakvorm van het gebouw, geen stempel */
.badge {
  position: absolute; z-index: 3; left: -14px; bottom: 40px; width: 150px; margin: 0;
  background: var(--blauw); color: var(--groen); padding: 34px 14px 14px;
  clip-path: polygon(0 26px, 50% 0, 100% 26px, 100% 100%, 0 100%);
  display: grid; gap: 2px; text-align: center;
}
.badge strong { font-family: var(--display); font-weight: 700; font-size: 2.6rem; line-height: .9; letter-spacing: -.03em; }
.badge span { font-size: .78rem; line-height: 1.3; font-weight: 600; }
@media (min-width: 960px) { .badge { left: -56px; bottom: 28px; width: 150px; } .badge strong { font-size: 2.6rem; } }

/* het huisraam: foto in de vorm van het steile dak; de zwarte puntgevel herhaalt de vorm van het kader */
.huisraam { position: relative; margin: 0; }
.huisraam img { width: 100%; object-fit: cover; clip-path: polygon(0 30%, 50% 0, 100% 30%, 100% 100%, 0 100%); }
.huisraam::before { content: ""; position: absolute; z-index: 1; left: 50%; top: -14px; width: 26px; height: 14px; transform: translateX(-50%); background: var(--blauw); clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.hero__raam { z-index: 2; }
.hero__raam img { aspect-ratio: 4 / 5; object-position: 50% 40%; }
/* gsm: foto bovenaan, boven de titel */
@media (max-width: 959px) {
  .hero__in { padding-top: 34px; gap: 32px; }
  .hero__raam { order: -1; width: min(86%, 440px); margin: 0 auto; }
  .hero__raam img { aspect-ratio: 4 / 4.4; }
  .hero__tekst { padding-bottom: 56px; }
  .badge { left: auto; right: -30px; bottom: -22px; width: 112px; padding: 24px 8px 10px; }
  .badge strong { font-size: 1.9rem; }
  .badge span { font-size: .7rem; }
}

@media (min-width: 960px) {
  /* groot raam rechts, op de hoogte van de titel, steekt onderaan uit in de volgende sectie */
  .hero__in { grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start; padding-top: 64px; }
  .hero__tekst { padding-bottom: 96px; padding-top: 24px; }
  .hero__raam { width: min(100%, 580px); justify-self: end; margin: 0 0 -140px; }
  .hero__titel { font-size: clamp(3rem, 4.9vw, 5rem); }
}

/* ---------- sectiekoppen ---------- */
.kop { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.kop__label { font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--groen); margin-bottom: 12px; }
.kop__label::before { content: ""; display: inline-block; width: 12px; height: 9px; margin-right: 8px; background: currentColor; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.kop__label--licht { color: var(--blauw); }
.kop__titel { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.02; letter-spacing: -.02em; margin-bottom: 18px; }
.kop__titel--wit { color: var(--wit); }
.kop__lead { font-size: 1.12rem; color: var(--zacht); max-width: 36em; }

/* ---------- aanbod ---------- */
.aanbod { padding-top: calc(var(--blok) + 48px); }
.kop__titel { text-wrap: balance; }
@media (min-width: 960px) { .aanbod { padding-top: calc(var(--blok) + 40px); } .aanbod .kop { max-width: 720px; } }
.types { display: grid; gap: 8px; }
@media (min-width: 900px) { .types { grid-template-columns: 1fr 1fr; } }
.type { background: var(--haag); display: grid; grid-template-rows: auto 1fr; }
.type > .illustratief img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.type__tekst { padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 14px; }
.type__tekst .knop { align-self: flex-start; margin-top: auto; }
.type__status { font-family: var(--display); font-weight: 600; font-size: .9rem; color: var(--groen); }
.type__status::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--groen); vertical-align: 1px; }
.type h3 { font-family: var(--display); font-weight: 600; font-size: 1.8rem; letter-spacing: -.015em; line-height: 1.1; }
.type__tekst > p:not(.type__status) { color: var(--zacht); max-width: 30em; }
.type__feiten { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.type__feiten li { background: var(--wit); padding: 6px 10px; font-size: .95rem; color: var(--zacht); }
.type__feiten strong { font-family: var(--display); font-weight: 600; color: var(--inkt); }
.types__noot { margin-top: 14px; }
.klein { font-size: .88rem; color: var(--zacht); }

/* ---------- registratierechten ---------- */
.rr { background: var(--haag); }
.rr__in { display: grid; gap: 8px; align-items: center; }
.rr__getal { font-family: var(--display); font-weight: 700; color: var(--groen); font-size: clamp(7rem, 26vw, 17rem); line-height: .8; letter-spacing: -.05em; }
.rr__tekst { color: var(--zacht); font-size: 1.1rem; max-width: 34em; margin-bottom: 22px; }
.rr__besparing { display: block; width: fit-content; margin-bottom: 28px; border-left: 4px solid var(--groen); padding: 4px 0 4px 14px; font-size: 1.05rem; }
.rr__besparing strong { font-family: var(--display); font-weight: 700; color: var(--groen); }
.rr__besparing span { display: block; font-size: .82rem; color: var(--zacht); margin-top: 2px; }
.rr__extra { display: grid; gap: 0; border-top: 1px solid var(--lijn); margin-bottom: 28px; max-width: 34em; }
.rr__extra li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.rr__extra strong { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--groen); }
.rr__extra span { color: var(--zacht); }
@media (min-width: 960px) { .rr__in { grid-template-columns: 1fr 1.1fr; gap: 64px; } }

/* ---------- park ---------- */
.park { position: relative; background: var(--groen); color: var(--wit); display: grid; }
.park__beeld { width: 100%; height: clamp(260px, 60vw, 420px); object-fit: cover; object-position: 30% 70%; }
.park__paneel { padding: 48px var(--gutter) var(--blok); }
.park__paneel > p:not(.kop__label) { font-size: 1.12rem; color: #D6E4DA; max-width: 30em; margin-bottom: 26px; }
.park__lijst { border-top: 1px solid rgba(255, 255, 255, .22); margin-bottom: 32px; }
.park__lijst li { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .22); font-family: var(--display); font-weight: 500; font-size: 1.08rem; }
@media (min-width: 960px) {
  .park { grid-template-columns: 1fr 1fr; min-height: 640px; }
  .park__beeld { height: 100%; }
  .park__paneel { padding: var(--blok) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) var(--blok) clamp(48px, 6vw, 88px); align-self: center; }
}

/* ---------- afwerking ---------- */
.afwerking { background: var(--haag); }
.afwerking__in { display: grid; gap: 36px; align-items: center; }
.afwerking__beelden { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.afwerking__beelden img { grid-column: 1 / -1; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.afwerking__lead { color: var(--zacht); font-size: 1.1rem; margin-bottom: 20px; }
.afwerking__lijst { display: grid; border-top: 1px solid var(--lijn); margin-bottom: 28px; }
.afwerking__lijst li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--lijn); }
.afwerking__lijst strong { font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--groen); }
.afwerking__lijst span { color: var(--zacht); }
@media (min-width: 960px) { .afwerking__in { grid-template-columns: 1.35fr 1fr; gap: 64px; } }

/* ---------- contact ---------- */
.contact { background: var(--groen-diep); color: var(--wit); }
.contact__in { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact__in { grid-template-columns: 1fr 1.15fr; gap: 80px; align-items: start; } }
.contact__tekst > p:not(.kop__label) { color: #D6E4DA; font-size: 1.1rem; max-width: 28em; }
.contact__tekst .contact__adres { margin-top: 26px; color: var(--wit); font-family: var(--display); font-weight: 600; }
.formulier { background: var(--wit); color: var(--inkt); padding: clamp(22px, 4vw, 40px); display: grid; gap: 18px; }
.veld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.veld-rij { display: grid; gap: 18px; }
@media (min-width: 560px) { .veld-rij { grid-template-columns: 1fr 1fr; } }
.veld label, .veld legend { font-family: var(--display); font-weight: 600; font-size: .95rem; padding: 0; }
.optioneel { font-weight: 400; color: var(--zacht); }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 50px; padding: 10px 12px; border: 1px solid #9DB0A3; border-radius: 0; background: var(--wit);
  font: inherit; color: inherit; appearance: none;
}
input:hover, select:hover, textarea:hover { border-color: var(--groen); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--groen); outline-offset: 0; border-color: var(--groen); }
select { background-image: linear-gradient(45deg, transparent 50%, var(--groen) 50%), linear-gradient(135deg, var(--groen) 50%, transparent 50%); background-position: calc(100% - 18px) 22px, calc(100% - 12px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 90px; resize: vertical; }
.keuzes { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.keuzes legend { width: 100%; margin-bottom: 6px; }
.keuzes label { display: inline-flex; align-items: center; gap: 8px; font-family: var(--tekst); font-weight: 400; min-height: 32px; }
input[type=radio], input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--groen); margin: 0; }
.akkoord { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--zacht); }
.akkoord input { flex: none; margin-top: 2px; }
.is-fout { border-color: #B3261E !important; }
.formulier__status { font-weight: 600; min-height: 1.5em; color: var(--groen); }
.formulier__status.is-fout { color: #B3261E; }

/* ---------- faq ---------- */
.faq__in { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq__in { grid-template-columns: 1fr 2fr; gap: 72px; } }
.faq__lijst { border-top: 1px solid var(--lijn); }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.7rem; font-weight: 400; color: var(--groen); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--groen); }
.faq details p { padding: 0 0 22px; color: var(--zacht); max-width: 42em; }

/* ---------- voet ---------- */
.voet { background: #072A17; color: #B9CFC0; padding: 52px 0 120px; font-size: .92rem; }
@media (min-width: 1000px) { .voet { padding-bottom: 52px; } }
.voet__in { display: grid; gap: 24px; }
@media (min-width: 900px) { .voet__in { grid-template-columns: 1fr 1fr; } }
.voet__merk { font-family: var(--display); font-weight: 700; font-size: 1.3rem; color: var(--wit); margin-bottom: 6px; }
.voet p + p { margin-top: 4px; }
.voet a:hover { color: var(--wit); }

/* ---------- mobiele balk ---------- */
.mobiel-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; min-height: 54px; transform: translateY(160%); transition: transform .25s; }
.mobiel-cta.is-zichtbaar { transform: none; }
@media (prefers-reduced-motion: reduce) { .mobiel-cta { transition: none; } }
@media (min-width: 1000px) { .mobiel-cta { display: none; } }

/* ---------- cookies ---------- */
.consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent__in { background: var(--wit); color: var(--inkt); border: 1px solid var(--groen); padding: 20px; max-width: 540px; width: 100%; display: grid; gap: 10px; font-size: .95rem; }
.consent__titel { font-family: var(--display); font-weight: 600; font-size: 1.2rem; color: var(--groen); }
.consent__knoppen { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }

/* ---------- illustratieve beelden (vraag klant 4/11: altijd duidelijk vermelden) ---------- */
.illustratief { position: relative; }
.illustratief > span { position: absolute; left: 10px; bottom: 10px; background: rgba(21, 32, 26, .72); color: var(--wit); font-size: .75rem; font-weight: 600; padding: 3px 8px; pointer-events: none; }
.afwerking__beelden .illustratief { grid-column: 1 / -1; }

/* Slim kopen korter op gsm (vraag Sebastien 5/11): geen groot 2%-getal, kortere uitleg en voordelen */
.enkel-klein { display: none; }
@media (max-width: 639px) {
  .rr__getal { display: none; }
  .rr .enkel-groot { display: none; }
  .rr .enkel-klein { display: inline; }
  .rr__tekst { font-size: 1rem; margin-bottom: 16px; }
  .rr__besparing { margin-bottom: 18px; }
  .rr__extra { margin-bottom: 20px; }
  .rr__extra li { padding: 10px 0; }
  .rr__extra strong { font-size: 1rem; }
}
