/* Dohmen Bouw & Pompverhuur - huisstijl afgeleid van het logo: antraciet #4d4c4c + blauw #3850ff, Poppins (OFL, self-hosted). */
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/assets/fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --blauw: #3850ff;
  --blauw-donker: #2b3fd6;
  --antraciet: #4d4c4c;
  --tekst: #1d1d1f;
  --tekst-zacht: #55585f;
  --vlak: #f3f4f7;
  --lijn: #dfe1e7;
  --donker: #1a1a1a;
  --groen: #157a3f;
  --wrap: 1180px;
  --pad: clamp(1rem, 4vw, 2rem);
  --radius: 6px;
  --anchor-offset: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--anchor-offset); }
body { margin: 0; font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.7; color: var(--tekst); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--blauw-donker); text-underline-offset: .18em; }
h1, h2, h3 { font-weight: 700; line-height: 1.25; color: var(--tekst); margin: 0 0 .6em; overflow-wrap: break-word; }
h1 { font-size: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); }
h3 { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--pad), env(safe-area-inset-left)); padding-right: max(var(--pad), env(safe-area-inset-right)); }
.wrap.smal { max-width: 860px; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: .5rem; left: .5rem; z-index: 100; background: #fff; padding: .6rem 1rem; }
.klein { font-size: .875rem; color: var(--tekst-zacht); }
.midden { text-align: center; }

/* Knoppen */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--radius);
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 2px solid transparent; cursor: pointer; text-align: center; }
.btn svg { flex-shrink: 0; }
.btn-blauw { background: var(--blauw); color: #fff; }
.btn-rand { background: #fff; color: var(--blauw-donker); border-color: var(--blauw); }
.btn-whatsapp { background: var(--groen); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .btn-blauw:hover { background: var(--blauw-donker); }
  .btn-rand:hover { background: var(--vlak); }
  .btn-whatsapp:hover { background: #0f6332; }
  a:hover { text-decoration-thickness: 2px; }
}

/* Topbalk + header */
.topbalk { background: var(--blauw); color: #fff; font-size: .85rem; }
.topbalk .wrap { display: flex; gap: 1.5rem; justify-content: flex-start; min-height: 34px; align-items: center; }
.topbalk a { color: #fff; text-decoration: none; padding: .35rem 0; }
.site-header { background: #fff; border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 20; }
.header-rij { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.merk { display: block; margin-right: auto; padding: .5rem 0; }
.merk img { width: 260px; height: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.nav a { display: block; padding: .6rem .9rem; color: var(--antraciet); font-weight: 700; text-decoration: none; border-radius: var(--radius); }
.nav a[aria-current="page"] { color: var(--blauw-donker); box-shadow: inset 0 -3px 0 var(--blauw); border-radius: 0; }
@media (hover: hover) and (pointer: fine) { .nav a:hover { color: var(--blauw-donker); } }
.btn-contact { min-height: 44px; padding: .55rem 1.2rem; }
.menu-knop { display: none; width: 48px; height: 48px; border: 0; background: transparent; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.menu-icoon, .menu-icoon::before, .menu-icoon::after { display: block; width: 26px; height: 2px; background: var(--antraciet); margin: 0 auto; position: relative; transition: transform .2s; }
.menu-icoon::before, .menu-icoon::after { content: ""; position: absolute; left: 0; }
.menu-icoon::before { top: -8px; } .menu-icoon::after { top: 8px; }
.menu-knop[aria-expanded="true"] .menu-icoon { background: transparent; }
.menu-knop[aria-expanded="true"] .menu-icoon::before { transform: translateY(8px) rotate(45deg); }
.menu-knop[aria-expanded="true"] .menu-icoon::after { transform: translateY(-8px) rotate(-45deg); }

/* Kruimelpad + paginakop */
.kruimels ol { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .5rem; font-size: .875rem; color: var(--tekst-zacht); }
.kruimels li + li::before { content: "/"; margin-right: .5rem; color: #9a9da5; }
.kruimels a { color: var(--tekst-zacht); display: inline-block; padding: .2rem 0; }
.pagina-kop { background: var(--vlak); border-bottom: 4px solid var(--blauw); padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2.25rem); margin-bottom: clamp(1.5rem, 4vw, 2.75rem); }
.pagina-kop h1 { margin-bottom: .3em; max-width: 24ch; }
.pagina-kop .lead { margin: 0; max-width: 62ch; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); color: var(--tekst-zacht); }

/* Lopende tekst */
.prose { padding-bottom: 1rem; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; margin-bottom: .35em; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--blauw); }
.foto-breed { margin: 0 0 2rem; }
.foto-breed img { width: 100%; border-radius: var(--radius); }
.tabel { overflow-x: auto; margin: 0 0 1.5rem; -webkit-overflow-scrolling: touch; }
.tabel table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .925rem; }
.tabel th, .tabel td { text-align: left; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--lijn); }
.tabel th { background: var(--vlak); }
code { font-size: .9em; background: var(--vlak); padding: .05em .3em; border-radius: 3px; }

/* Vinklijst / specs */
.vinklijst { list-style: none; margin: 0; padding: 0; }
.vinklijst li { display: flex; gap: .7rem; align-items: baseline; padding: .35rem 0; text-align: left; }
.vinklijst li::before { content: "\2713"; color: var(--blauw); font-weight: 700; flex-shrink: 0; }
.specs-kaart { background: #fff; border: 1px solid var(--lijn); border-left: 6px solid var(--blauw); padding: clamp(1.1rem, 3vw, 1.75rem); border-radius: var(--radius); }
.specs-kaart h2 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }

/* Home */
.home-hero { padding: clamp(1.25rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 3rem); }
.home-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.home-hero-foto { margin: 0; order: 2; }
.home-hero-foto img, .specs-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
figcaption { font-size: .85rem; color: var(--tekst-zacht); margin-top: .45rem; }
.home-hero-tekst h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3rem); max-width: 18ch; }
.stad-loader { font-size: clamp(1.25rem, 1.1rem + .9vw, 1.7rem); font-weight: 700; margin: 0 0 .25rem; color: var(--antraciet); }
.stad-loader { white-space: nowrap; }
.stad { color: var(--blauw); display: inline-block; }
.stad.wissel { animation: stad-in .35s ease-out; }
@keyframes stad-in { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stad.wissel { animation: none; } }
.home-sub { color: var(--tekst-zacht); margin-bottom: 1.5rem; }
.home-knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }
.home-specs { background: var(--vlak); padding: clamp(2rem, 5vw, 4rem) 0; }
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.specs-foto { margin: 0; }
.intro-tekst { margin: 1.5rem 0 0; }
.home-werkgebied { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1rem, 3vw, 2rem); }
.plaatsen { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1.5rem; }
.plaatsen li { border-bottom: 1px solid var(--lijn); }
.plaatsen a { display: block; padding: .6rem 0; font-weight: 700; color: var(--antraciet); text-decoration: none; min-height: 44px; }
.plaatsen a::after { content: " \203A"; color: var(--blauw); }
@media (hover: hover) and (pointer: fine) { .plaatsen a:hover { color: var(--blauw-donker); } }
.plaatsen-groot { grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); }
.home-contact { background: var(--vlak); padding: clamp(2rem, 5vw, 4rem) 0; margin-top: clamp(1.5rem, 4vw, 3rem); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.contact-gegevens { background: #fff; border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.75rem); border: 1px solid var(--lijn); }
.contact-gegevens h2 { font-size: 1.25rem; }
.contact-gegevens dl { margin: 0 0 1rem; }
.contact-gegevens dt { font-weight: 700; font-size: .85rem; color: var(--tekst-zacht); }
.contact-gegevens dd { margin: 0 0 .8rem; overflow-wrap: anywhere; }
.contact-gegevens a { display: inline-block; padding: .2rem 0; }

/* CTA */
.cta-blok { background: var(--donker); color: #fff; border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.75rem); margin: clamp(2rem, 5vw, 3rem) 0; text-align: center; }
.cta-blok h2 { color: #fff; margin-bottom: .35em; }
.cta-blok p { color: #cfd3da; margin-bottom: 1.4rem; }
.cta-knoppen { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }

/* Over ons */
.vlak-donker { background: var(--donker); color: #fff; padding: clamp(2rem, 5vw, 3.5rem) 0; margin: 1rem 0 2rem; }
.vlak-donker h2 { color: #fff; }
.vinklijst-licht li { color: #e9ebef; }
.vinklijst-licht li::before { color: #9aa6ff; }

/* Locaties */
.loc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.loc-tekst > :first-child { margin-top: 0; }
.loc-zijkant { position: sticky; top: calc(var(--anchor-offset) + .5rem); }
.loc-links { margin-top: 1rem; line-height: 2.2; }
.faq h3 { border-top: 1px solid var(--lijn); padding-top: 1rem; }

/* Projecten-galerij */
.galerij-titel { margin-top: 2.25rem; }
.galerij { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
.galerij a { display: block; border-radius: var(--radius); overflow: hidden; background: var(--vlak); }
.galerij img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .25s; }
@media (hover: hover) and (pointer: fine) { .galerij a:hover img { transform: scale(1.03); } }
.social-balk { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 2rem 0 0; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100%; height: 100%; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgba(10, 10, 12, .92); }
.lightbox img { max-width: min(92vw, 720px); max-height: 80vh; width: auto; height: auto; border-radius: var(--radius); }
.lightbox-onderschrift { color: #fff; margin: .75rem 0 0; }
.lightbox button { position: absolute; width: 52px; height: 52px; border: 0; border-radius: var(--radius); background: rgba(255, 255, 255, .14); color: #fff; font-size: 2rem; line-height: 1; cursor: pointer; }
.lb-sluit { top: max(1rem, env(safe-area-inset-top)); right: 1rem; }
.lb-vorige { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-volgende { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Blog */
.blog { padding-top: clamp(1.5rem, 4vw, 3rem); }
.blog .meta { color: var(--tekst-zacht); font-size: .9rem; }
.conclusie { background: var(--vlak); border-left: 6px solid var(--blauw); padding: 1.25rem 1.5rem; margin: 2rem 0 0; border-radius: var(--radius); }
.conclusie h2 { margin-top: 0; }
.conclusie p:last-child { margin-bottom: 0; }
.bedankt { padding-top: clamp(2rem, 6vw, 4rem); }

/* Formulier */
.formulier { margin: 0; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.veld { margin-bottom: 1rem; }
.veld label { display: block; font-weight: 700; margin-bottom: .3rem; }
.verplicht { color: var(--blauw-donker); }
.veld input[type="text"], .veld input[type="email"], .veld input[type="tel"], .veld textarea {
  width: 100%; font: inherit; color: var(--tekst); background: #fff; border: 1px solid #b8bcc6; border-radius: var(--radius); padding: .7rem .8rem; min-height: 48px; }
.veld textarea { resize: vertical; }
.veld input:focus, .veld textarea:focus { border-color: var(--blauw); outline: 2px solid var(--blauw); outline-offset: 0; }
.veld-check { display: flex; gap: .7rem; align-items: flex-start; }
.veld-check input { width: 24px; height: 24px; margin: .2rem 0 0; flex-shrink: 0; accent-color: var(--blauw); }
.veld-check label { font-weight: 400; margin: 0; }
.veld-verborgen { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulier-status { min-height: 1.5em; font-weight: 700; margin: 0 0 .75rem; }
.formulier-status.fout { color: #b3261e; }
.formulier .klein { margin-top: .75rem; }

/* Footer */
.site-footer { background: var(--donker); color: #cfd3da; margin-top: clamp(2rem, 5vw, 4rem); font-size: .95rem; }
.home + .site-footer, main.home ~ .site-footer { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; padding-top: clamp(2rem, 5vw, 3rem); padding-bottom: 2rem; }
.footer-naam { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: .5rem; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li a { display: inline-block; padding: .35rem 0; }
.footer-onder { border-top: 1px solid #33353a; padding: 1.1rem 0 max(1.1rem, env(safe-area-inset-bottom)); font-size: .85rem; }
.footer-onder p { margin: 0 0 .3rem; }
.footer-onder a { display: inline-block; padding: .25rem 0; }

/* ---------- Responsive (na de basisregels) ---------- */
@media (max-width: 1180px) {
  .loc-grid { grid-template-columns: minmax(0, 1fr) 280px; }
}
@media (max-width: 980px) {
  :root { --anchor-offset: 5.5rem; }
  .menu-knop { display: block; }
  .header-rij { gap: .75rem; min-height: 68px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--lijn); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; padding: .5rem var(--pad) 1rem; }
  .nav a { padding: .8rem 0; border-bottom: 1px solid var(--lijn); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: none; }
  .home-hero-grid, .specs-grid, .contact-grid, .loc-grid { grid-template-columns: 1fr; }
  .home-hero-foto { order: 0; }
  .home-hero-tekst h1 { max-width: none; }
  .loc-zijkant { position: static; }
  .galerij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .specs-foto { display: none; }
  .veld-rij { grid-template-columns: 1fr; }
  .topbalk .wrap { gap: 1rem; font-size: .8rem; }
  .cta-knoppen .btn { width: 100%; }
}
@media (max-width: 480px) {
  .merk img { width: 190px; }
  .btn-contact { padding: .5rem .8rem; font-size: .9rem; }
  .home-knoppen { display: grid; grid-template-columns: 1fr 1fr; }
  .home-knoppen .btn:last-child { grid-column: 1 / -1; }
  .home-knoppen .btn { padding-left: .6rem; padding-right: .6rem; }
  .topbalk a:last-child { display: none; }
  .plaatsen { grid-template-columns: 1fr 1fr; gap: 0 1rem; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .merk img { width: 160px; }
  .header-rij { gap: .4rem; }
}
