/* Flevovlies huisstijl
   Dijkblauw  #13263A  (water en lucht boven de polder)
   Koolzaad   #F2C230  (gele velden in het voorjaar)
   Kalkwit    #FBFBF8  (een geschilderde vlieswand)
   Polderlucht#E6ECEF  (rustige achtergrondvlakken)
   Taupe      #8A7B69  (de tinten uit het eigen werk)
*/
:root {
  --dijk: #13263A;
  --dijk-2: #1E3650;
  --koolzaad: #F2C230;
  --kalk: #FBFBF8;
  --lucht: #E6ECEF;
  --taupe: #8A7B69;
  --tekst: #13263A;
  --tekst-zacht: #4A5B6B;
  --lijn: #C9D3D9;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breed: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--kalk);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--koolzaad); outline-offset: 3px; border-radius: 2px; }

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

h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); max-width: 18ch; }
h3 { font-size: 1.35rem; letter-spacing: -0.01em; line-height: 1.15; }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--tekst-zacht); max-width: 56ch; }

/* Knoppen */
.knop {
  display: inline-flex; align-items: center; gap: .55em;
  font: 600 1rem/1 var(--body);
  padding: 1em 1.4em; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.knop svg { width: 1.1em; height: 1.1em; flex: none; }
.knop-geel { background: var(--koolzaad); color: var(--dijk); }
.knop-geel:hover { background: #FFD24A; }
.knop-rand { border-color: currentColor; color: inherit; background: transparent; }
.knop-rand:hover { background: rgba(255,255,255,.08); }
.knop-donker { background: var(--dijk); color: #fff; }
.knop-donker:hover { background: var(--dijk-2); }

/* Kop */
.kop {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--dijk); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.merk { display: inline-flex; flex-direction: column; text-decoration: none; color: #fff; line-height: 1; }
.merk b { font: 800 1.6rem/1 var(--display); letter-spacing: -0.035em; }
.merk i { display: block; height: 4px; width: 100%; background: var(--koolzaad); margin-top: 5px; border-radius: 2px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .98rem; opacity: .85; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--koolzaad); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kop .knop { padding: .75em 1.1em; font-size: .95rem; white-space: nowrap; margin-left: auto; }
.menu-knop { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.menu-knop svg { width: 28px; height: 28px; }
@media (max-width: 1060px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: var(--dijk); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 1.1rem; }
  .kop .knop-bel-tekst { display: none; }
  .menu-knop { display: block; }
}

/* Hero met horizon */
.hero { background: var(--dijk); color: #fff; padding-top: clamp(48px, 8vw, 104px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: end; }
.hero h1 { font-size: clamp(2.8rem, 6.2vw, 5.8rem); line-height: .94; letter-spacing: -0.045em; font-weight: 800; margin-bottom: 24px; }
.hero p { font-size: 1.2rem; color: #C6D2DD; max-width: 40ch; }
.hero-tekst { padding-bottom: clamp(32px, 5vw, 64px); }
.hero-acties { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-feiten { list-style: none; margin: 36px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.hero-feiten li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: #DCE4EB; font-size: .98rem; }
.hero-feiten svg { width: 20px; height: 20px; color: var(--koolzaad); margin-top: 3px; }
.hero-foto { margin: 0; position: relative; border-radius: 8px 8px 0 0; overflow: hidden; height: clamp(420px, 44vw, 640px); }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.hero-foto figcaption { position: absolute; left: 16px; bottom: 16px; background: rgba(19,38,58,.82); color: #fff; font-size: .85rem; padding: 6px 10px; border-radius: 4px; }
.hero .horizon { margin-top: 0; }
.horizon { position: relative; margin-top: clamp(48px, 7vw, 88px); }
.horizon::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--koolzaad); z-index: 2;
  transform-origin: left; animation: horizon 1.1s cubic-bezier(.2,.7,.2,1) .15s both;
}
@keyframes horizon { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.horizon-band { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 6px; height: clamp(220px, 26vw, 380px); }
.horizon-band img { width: 100%; height: 100%; object-fit: cover; }
.horizon-band figure { margin: 0; position: relative; overflow: hidden; }
.horizon-band figcaption { position: absolute; left: 16px; bottom: 14px; background: rgba(19,38,58,.82); color: #fff; font-size: .85rem; padding: 6px 10px; border-radius: 4px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-feiten { grid-template-columns: 1fr; }
  .hero-foto { height: auto; aspect-ratio: 4 / 3; }
  .horizon-band { grid-template-columns: 1fr 1fr; height: auto; }
  .horizon-band figure:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .horizon-band figure { aspect-ratio: 3 / 4; }
}

/* Secties */
.sectie { padding-block: clamp(72px, 10vw, 128px); }
.sectie-lucht { background: var(--lucht); }
.sectie-kop { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.sectie-kop .lead { margin: 0; }
@media (max-width: 860px) { .sectie-kop { grid-template-columns: minmax(0, 1fr); } }

/* Diensten als lijst */
.diensten { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--dijk); }
.dienst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 170px; gap: 32px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--lijn); }
.dienst h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.dienst p { margin: 0; color: var(--tekst-zacht); max-width: 58ch; }
.dienst ul { margin: 12px 0 0; padding-left: 1.1em; color: var(--tekst-zacht); }
.prijs { font: 700 1.05rem/1.2 var(--display); white-space: nowrap; text-align: right; }
.prijs small { display: block; font: 400 .85rem/1.3 var(--body); color: var(--tekst-zacht); }
.prijs a { color: var(--dijk); }
@media (max-width: 860px) { .dienst { grid-template-columns: minmax(0, 1fr); gap: 10px; } .prijs { text-align: left; } }

/* Vergelijking */
.vergelijk-wrap { overflow-x: auto; }
table.vergelijk { width: 100%; border-collapse: collapse; min-width: 560px; background: #fff; }
.vergelijk th, .vergelijk td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--lijn); vertical-align: top; }
.vergelijk thead th { font: 700 1.1rem/1.2 var(--display); background: var(--dijk); color: #fff; }
.vergelijk thead th:nth-child(2) { background: var(--koolzaad); color: var(--dijk); }
.vergelijk tbody th { font-weight: 600; width: 28%; }
.vergelijk td:nth-child(2) { background: #FFF8DD; font-weight: 500; }
@media (max-width: 600px) { table.vergelijk { min-width: 0; font-size: .88rem; table-layout: fixed; } .vergelijk tbody th { width: 30%; } .vergelijk td, .vergelijk th { overflow-wrap: anywhere; hyphens: auto; } .vergelijk th, .vergelijk td { padding: 12px 10px; } .vergelijk thead th { font-size: .95rem; } }
.voordelen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.voordelen-foto { position: sticky; top: 100px; }
.voordelen-foto img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 30%; border-radius: 6px; }
@media (max-width: 860px) { .voordelen { grid-template-columns: minmax(0, 1fr); } .voordelen-foto { position: static; } .voordelen-foto img { aspect-ratio: 4 / 3; } }

/* Werkwijze */
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: stap; }
.stap { padding: 28px 28px 8px 0; border-top: 6px solid var(--dijk); position: relative; }
.stap:first-child { border-top-color: var(--koolzaad); }
.stap::before { counter-increment: stap; content: counter(stap); display: block; font: 800 3.4rem/1 var(--display); color: var(--dijk); opacity: .3; margin-bottom: 12px; }
.stap p { color: var(--tekst-zacht); margin-top: 10px; }
@media (max-width: 860px) { .stappen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .stappen { grid-template-columns: minmax(0, 1fr); } }

/* Projecten */
.projecten { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 10px; }
.projecten figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--lucht); }
.projecten img { width: 100%; height: 100%; object-fit: cover; }
.projecten figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-size: .92rem; background: linear-gradient(transparent, rgba(19,38,58,.85)); }
.p-a { grid-column: span 7; aspect-ratio: 4 / 3; }
.p-b { grid-column: span 5; aspect-ratio: auto; }
.p-c { grid-column: span 4; aspect-ratio: 3 / 4; }
.p-d { grid-column: span 4; aspect-ratio: 3 / 4; }
.p-e { grid-column: span 4; aspect-ratio: 3 / 4; }
.p-f { grid-column: span 6; aspect-ratio: 4 / 3; }
.p-g { grid-column: span 6; aspect-ratio: 4 / 3; }
@media (max-width: 860px) {
  .projecten { grid-template-columns: 1fr 1fr; }
  .projecten figure { grid-column: span 1; aspect-ratio: 3 / 4; }
  .projecten .p-a, .projecten .p-f, .projecten .p-g { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
}

/* Rekenhulp */
.reken { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.reken-paneel { background: var(--dijk); color: #fff; border-radius: 8px; padding: clamp(24px, 4vw, 44px); }
.reken-paneel label { display: block; font-weight: 600; margin-bottom: 10px; }
.reken-invoer { display: flex; align-items: center; gap: 12px; }
.reken-invoer input[type="range"] { flex: 1; accent-color: var(--koolzaad); height: 32px; }
.reken-invoer input[type="number"] { width: 96px; font: 600 1.1rem var(--body); padding: 10px 12px; border-radius: 6px; border: 0; color: var(--dijk); }
.reken-uitkomst { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.15); }
.reken-uitkomst output { display: block; font: 800 clamp(2.6rem, 6vw, 4rem)/1 var(--display); color: var(--koolzaad); letter-spacing: -0.03em; }
.reken-uitkomst p { color: #C6D2DD; font-size: .95rem; margin: 10px 0 0; }
@media (max-width: 860px) { .reken { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { border-top: 2px solid var(--dijk); max-width: 880px; }
.faq details { border-bottom: 1px solid var(--lijn); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font: 600 1.15rem/1.3 var(--body); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -10px; border-right: 2.5px solid var(--dijk); border-bottom: 2.5px solid var(--dijk); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .antwoord { padding: 0 0 24px; color: var(--tekst-zacht); max-width: 68ch; }
.faq .antwoord ul { margin: 0; padding-left: 1.1em; }

/* Contact */
.contact { background: var(--dijk); color: #fff; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 96px); }
.contact h2 { max-width: 14ch; }
.contact .lead { color: #C6D2DD; }
.gegevens { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.gegevens li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; }
.gegevens svg { width: 22px; height: 22px; color: var(--koolzaad); margin-top: 3px; }
.gegevens a { text-decoration: none; font-weight: 600; }
.gegevens a:hover { text-decoration: underline; }
.gegevens small { display: block; color: #9FB1C2; font-size: .9rem; }
form.aanvraag { background: var(--kalk); color: var(--tekst); border-radius: 8px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.veld label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.veld input, .veld select, .veld textarea { width: 100%; font: 1rem var(--body); padding: 13px 14px; border: 1.5px solid var(--lijn); border-radius: 6px; background: #fff; color: var(--tekst); }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: none; border-color: var(--dijk); box-shadow: 0 0 0 3px rgba(242,194,48,.55); }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .veld-rij { grid-template-columns: minmax(0, 1fr); } }
form.aanvraag .knop { justify-content: center; }
.form-noot { font-size: .88rem; color: var(--tekst-zacht); margin: 0; }
.form-fout { color: #A3261B; font-size: .92rem; margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* Voet */
.voet { background: #0D1C2B; color: #9FB1C2; padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: .95rem; }
.voet-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.voet .merk { margin-bottom: 14px; }
.voet h3 { color: #fff; font: 600 1rem var(--body); margin-bottom: 12px; }
.voet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.voet a { text-decoration: none; }
.voet a:hover { color: #fff; text-decoration: underline; }
.voet-onder { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .88rem; }
@media (max-width: 760px) { .voet-grid { grid-template-columns: minmax(0, 1fr); } }

/* WhatsApp zweefknop */
.wa-zwevend { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(13,28,43,.3); }
.wa-zwevend svg { width: 30px; height: 30px; }

/* Subpagina's */
.pagina-kop { background: var(--dijk); color: #fff; padding-block: clamp(56px, 8vw, 96px) 0; }
.pagina-kop h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); line-height: .95; letter-spacing: -0.04em; font-weight: 800; max-width: 16ch; }
.pagina-kop .lead { color: #C6D2DD; margin-top: 20px; }
.pagina-kop .horizon { margin-top: clamp(40px, 6vw, 64px); }
.pagina-kop .horizon:empty { height: 6px; }
.tekst { max-width: 760px; }
.tekst h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 40px 0 12px; max-width: none; }
.tekst ul, .tekst ol { padding-left: 1.2em; }
.tekst li { margin-bottom: .4em; }
.drie { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
.drie > div { border-top: 6px solid var(--dijk); padding-top: 22px; }
.drie p { color: var(--tekst-zacht); margin-top: 10px; }
@media (max-width: 860px) { .drie { grid-template-columns: minmax(0, 1fr); } }
.thema-lijst { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.thema-lijst li { padding: 10px 16px; border: 1.5px solid var(--dijk); border-radius: 999px; font-weight: 500; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { width: 100%; border-radius: 6px; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } }
.cta-band { background: var(--koolzaad); color: var(--dijk); padding-block: clamp(48px, 7vw, 80px); }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { max-width: 20ch; font-size: clamp(1.8rem, 3.6vw, 2.8rem); }
