/* DCRS — één stylesheet, mobiel eerst. Kleuren komen uit het logo. */

:root {
  --donker: #1a1b1d;
  --donker-2: #26282b;
  --goud: #c8953e;
  --goud-licht: #ddb167;
  --tekst: #1f2023;
  --tekst-zacht: #5b5e64;
  --licht: #f6f4f0;
  --wit: #fff;
  --rand: #e4e0d8;
  --radius: 6px;
  --breedte: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--tekst);
  background: var(--wit);
  /* ruimte voor de snelbalk onderaan op mobiel */
  padding-bottom: 64px;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3, .h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--breedte); margin: 0 auto; padding: 0 20px; }

.boventitel {
  color: var(--goud);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .85rem;
  margin-bottom: .75em;
}

.inleiding { font-size: 1.15rem; color: var(--tekst-zacht); max-width: 46rem; }

/* Knoppen */

.knop {
  display: inline-block;
  padding: .8em 1.4em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  cursor: pointer;
  font-size: 1rem;
}
.knop-goud { background: var(--goud); color: var(--donker); }
.knop-goud:hover { background: var(--goud-licht); }
.knop-rand { border-color: currentColor; }
.knop-rand:hover { background: rgba(255, 255, 255, .1); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5em; }

/* Kop */

.kop { background: var(--donker); color: var(--wit); position: sticky; top: 0; z-index: 10; }
.kop-binnen { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.logo img { height: 48px; width: auto; }

.menu {
  order: 3;
  width: 100%;
  display: flex;
  gap: 4px 20px;
  overflow-x: auto;
  white-space: nowrap;
  font-weight: 600;
  font-size: .95rem;
  padding-bottom: 4px;
}
.menu a { text-decoration: none; color: #d6d6d6; padding: 6px 0; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--goud); }

.kop-acties { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.kop-tel { display: none; color: var(--wit); text-decoration: none; font-weight: 600; }
.kop-acties .knop { padding: .6em 1em; font-size: .95rem; }

/* Snelbalk onderaan (alleen mobiel) */

.snelbalk {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--donker);
  border-top: 1px solid #333;
}
.snelbalk a {
  padding: 14px 4px; text-align: center; color: var(--wit);
  text-decoration: none; font-weight: 700; font-size: .95rem;
}
.snelbalk a + a { border-left: 1px solid #333; }
.snelbalk .wa { color: #4fd17a; }
.snelbalk .offerte { background: var(--goud); color: var(--donker); }

/* Hero (home) */

.hero {
  position: relative;
  color: var(--wit);
  background: var(--donker);
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .5;
}
.hero .wrap { position: relative; padding-top: 64px; padding-bottom: 64px; }
.hero p { font-size: 1.2rem; max-width: 36rem; color: #eee; }

/* Paginakop (andere pagina's) */

.paginakop { background: var(--donker); color: var(--wit); padding: 56px 0 48px; }
.paginakop .inleiding { color: #cfcfcf; margin: 0; }

/* Secties */

.sectie { padding: 64px 0; }
.sectie-licht { background: var(--licht); }
.sectie-donker { background: var(--donker-2); color: var(--wit); }
.sectie-donker .inleiding { color: #cfcfcf; }
.sectie-kop { margin-bottom: 32px; }

/* Kaarten */

.kaarten { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.kaart {
  background: var(--wit);
  border: 1px solid var(--rand);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  display: flex; flex-direction: column;
}
.kaart img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.kaart-tekst { padding: 16px 18px 18px; }
.kaart-tekst p { margin: 0; color: var(--tekst-zacht); font-size: .98rem; }
a.kaart:hover h3 { color: var(--goud); }

/* Fotogalerij */

.galerij { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.galerij a { display: block; border-radius: var(--radius); overflow: hidden; }
.galerij img { aspect-ratio: 3 / 4; width: 100%; object-fit: cover; transition: transform .3s; }
.galerij a:hover img { transform: scale(1.04); }

/* Tekst naast foto */

.duo { display: grid; gap: 32px; align-items: center; }
.duo > img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

.vloertype { padding: 48px 0; border-bottom: 1px solid var(--rand); }
.vloertype:last-child { border-bottom: 0; }
.vloertype .galerij { margin-top: 20px; }

.stappen { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: stap; }
.stappen li { counter-increment: stap; background: var(--wit); border-radius: var(--radius); padding: 20px; border: 1px solid var(--rand); }
.stappen li::before { content: counter(stap); display: block; font-size: 2rem; font-weight: 800; color: var(--goud); line-height: 1; margin-bottom: 8px; }
.stappen h3 { margin-bottom: .25em; }
.stappen p { margin: 0; color: var(--tekst-zacht); }

.vinkjes { list-style: none; padding: 0; }
.vinkjes li { padding-left: 1.6em; position: relative; margin-bottom: .5em; }
.vinkjes li::before { content: "✓"; position: absolute; left: 0; color: var(--goud); font-weight: 800; }

/* Oproep tot contact */

.oproep { background: var(--donker); color: var(--wit); padding: 64px 0; text-align: center; }
.oproep .inleiding { color: #cfcfcf; margin: 0 auto; }
.oproep .knoppen { justify-content: center; }

/* Contact */

.contact-raster { display: grid; gap: 40px; }
.formulier { display: grid; gap: 16px; }
.formulier label { display: grid; gap: 4px; font-weight: 600; }
.formulier input, .formulier select, .formulier textarea {
  font: inherit;
  padding: .7em .8em;
  border: 1px solid #c9c4ba;
  border-radius: var(--radius);
  background: var(--wit);
  width: 100%;
}
.formulier input:focus, .formulier select:focus, .formulier textarea:focus { outline: 2px solid var(--goud); border-color: var(--goud); }
.formulier .knop { justify-self: start; }
.verplicht { color: #b3261e; }
.klein { font-size: .9rem; color: var(--tekst-zacht); margin: 0; }
/* honeypot: verborgen voor mensen, bots vullen het in */
.lokveld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.direct { background: var(--licht); border-radius: var(--radius); padding: 24px; align-self: start; }
.direct .knop { display: block; text-align: center; margin-bottom: 12px; }
.knop-wa { background: #25d366; color: #0b2e17; }
.knop-wa:hover { background: #4fe083; }
.knop-donker { background: var(--donker); color: var(--wit); }
.knop-donker:hover { background: var(--donker-2); }

.melding { padding: 16px 20px; border-radius: var(--radius); background: #fdecea; color: #7a1c14; margin-bottom: 24px; }

/* Voet */

.voet { background: var(--donker); color: #bdbdbd; padding: 48px 0 24px; font-size: .95rem; }
.voet-raster { display: grid; gap: 32px; }
.voet h2 { font-size: 1rem; color: var(--wit); text-transform: uppercase; letter-spacing: .08em; }
.voet ul { list-style: none; padding: 0; margin: 0; }
.voet li { margin-bottom: 6px; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--goud); }
.voet .logo img { height: 64px; margin-bottom: 12px; }
.voet-onder { border-top: 1px solid #333; margin-top: 32px; padding-top: 16px; font-size: .85rem; }

/* Lightbox (zie js/main.js) */

.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; }
.lightbox::backdrop { background: rgba(0, 0, 0, .9); }
.lightbox img { max-width: 95vw; max-height: 90vh; width: auto; margin: 0 auto; }
.lightbox button {
  position: fixed; top: 12px; right: 16px;
  background: none; border: 0; color: var(--wit); font-size: 2.5rem; line-height: 1; cursor: pointer;
}

/* Groter scherm */

@media (min-width: 760px) {
  .duo { grid-template-columns: 1fr 1fr; gap: 56px; }
  .duo.omgekeerd > img { order: 2; }
  .contact-raster { grid-template-columns: 3fr 2fr; gap: 56px; }
  .voet-raster { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .snelbalk { display: none; }
  .kop-binnen { flex-wrap: nowrap; padding-top: 12px; padding-bottom: 12px; }
  .logo img { height: 56px; }
  .menu { order: 0; width: auto; margin-left: 40px; overflow: visible; padding: 0; }
  .kop-tel { display: inline; }
  .sectie { padding: 88px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .galerij img { transition: none; }
}
