/* ==========================================================================
   Mundi Montage — huisstijl
   Eén stylesheet, geen framework. Warm papier, diep antraciet, koper als accent.
   Alles inrem-based zodat de site op elke telefoon leesbaar blijft.
   ========================================================================== */

:root {
  --ink: #14110f;
  --ink-2: #1d1916;
  --ink-3: #2a2420;
  --paper: #f8f5f0;
  --paper-2: #efe8dd;
  --lijn: #e0d6c8;
  --lijn-donker: #3a322c;
  --tekst: #241f1b;
  --tekst-zacht: #6a6057;
  --koper: #b4671f;
  --koper-licht: #d38f45;
  --wit: #fffdfa;
  --radius: 14px;
  --schaduw: 0 18px 40px -24px rgba(20, 17, 15, .45);
  --wrap: 1180px;
  --tempo: .55s cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--tekst);
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.overslaan {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--wit); padding: .8rem 1.2rem;
}
.overslaan:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 2px solid var(--koper);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(var(--wrap), 100% - 2.6rem); margin-inline: auto; }

/* ------------------------------------------------------------------ koppen */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.04;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3.15rem); }
h3 { font-size: 1.22rem; letter-spacing: -.02em; line-height: 1.25; }

p { margin: 0 0 1rem; }

.streek {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--koper);
  margin: 0 0 1rem;
}

.onder {
  font-size: 1.12rem;
  color: var(--tekst-zacht);
  max-width: 58ch;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  color: #ded4c8;
  max-width: 58ch;
}

/* ------------------------------------------------------------------ knoppen */
.knop {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .95rem 1.5rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: #a85e19;
  color: var(--wit);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  transition: background var(--tempo), transform var(--tempo), border-color var(--tempo);
}
.knop svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.knop:hover { background: #8f4e12; transform: translateY(-1px); }

.knop-licht {
  background: transparent;
  border-color: #574c42;
  color: var(--wit);
}
.knop-licht:hover { background: #241f1b; border-color: #7a6a5c; }

.knop-klein { padding: .6rem 1rem; font-size: .92rem; }
.knop-vol { width: 100%; justify-content: center; border: 0; cursor: pointer; font: inherit; font-weight: 650; padding: 1rem; }

/* ------------------------------------------------------------------ kop */
.kop {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 245, 240, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--tempo), background var(--tempo);
}
.kop.vast { border-bottom-color: var(--lijn); background: rgba(248, 245, 240, .95); }

.kop-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 74px;
}

.merk { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.merk-beeld {
  width: 44px; height: 44px; border-radius: 11px;
  display: grid; place-items: center;
  background: #000;
  color: var(--koper-licht);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  line-height: 1;
  overflow: hidden;
}
.merk-tekst { display: flex; flex-direction: column; line-height: 1.15; }
.merk-tekst strong { font-size: 1.05rem; letter-spacing: -.02em; }
.merk-tekst small { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst-zacht); }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none;
  font-size: .95rem;
  font-weight: 550;
  color: #3a332d;
  position: relative;
}
.nav a:not(.knop)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -7px;
  height: 2px; background: var(--koper);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--tempo);
}
.nav a:not(.knop):hover::after { transform: scaleX(1); }

.menu-knop {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--lijn);
  border-radius: 10px;
  background: transparent;
  padding: 12px 11px;
  cursor: pointer;
}
.menu-knop span:not(.sr) { display: block; height: 2px; background: var(--ink); margin-bottom: 5px; transition: transform var(--tempo), opacity var(--tempo); }
.menu-knop span:last-of-type { margin-bottom: 0; }
.menu-knop[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-knop[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-knop[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--wit);
  padding: clamp(4rem, 9vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero-gloed {
  position: absolute; inset: -20% -10% auto -10%;
  height: 130%;
  background:
    radial-gradient(60% 55% at 22% 18%, rgba(180, 103, 31, .30), transparent 70%),
    radial-gradient(45% 45% at 82% 8%, rgba(211, 143, 69, .16), transparent 70%),
    radial-gradient(40% 40% at 50% 100%, rgba(255, 253, 250, .05), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 4vw, 3.5rem); align-items: center; }
.hero .streek { color: var(--koper-licht); }
.hero h1 span { color: var(--koper-licht); }
.hero h1 { max-width: 24ch; }

.hero-beeld { display: flex; justify-content: center; align-items: center; }
.gevel { width: min(100%, 430px); height: auto; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .45)); }
.gevel-lijnen path { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: teken 2.4s cubic-bezier(.4, 0, .2, 1) .25s forwards; }
.gevel-punten, .gevel-tekst { opacity: 0; animation: verschijn 1.2s ease 1.5s forwards; }
@keyframes teken { to { stroke-dashoffset: 0; } }
@keyframes verschijn { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gevel-lijnen path { stroke-dashoffset: 0; animation: none; }
  .gevel-punten, .gevel-tekst { opacity: 1; animation: none; }
}

.cta-rij { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 2.2rem; }

.trust {
  list-style: none;
  display: flex; flex-wrap: wrap; gap: .7rem 1.8rem;
  padding: 0; margin: 0;
  font-size: .98rem;
  color: #c9beb2;
}
.trust li { display: flex; align-items: center; gap: .5rem; }
.trust li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--koper-licht);
  flex: none;
}

/* ------------------------------------------------------------------ blokken */
.blok { padding: clamp(3.6rem, 7vw, 6.4rem) 0; }
.blok-zacht { background: var(--paper-2); }
.blok-kop { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 62ch; }
.blok-kop h2 { margin-bottom: .5rem; }

.blok-donker {
  background: var(--ink);
  color: #eae3da;
}
.blok-donker .onder { color: #a89d92; }
.blok-donker .streek { color: var(--koper-licht); }
.blok-donker h2 { color: var(--wit); }

.twee {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* ------------------------------------------------------------------ kaarten */
.kaarten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.kaart {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.4rem;
  transition: transform var(--tempo), box-shadow var(--tempo), border-color var(--tempo);
}
.kaart:hover { transform: translateY(-3px); box-shadow: var(--schaduw); border-color: #d2c4b0; }
.kaart p { color: var(--tekst-zacht); margin: 0; font-size: .98rem; }
.icoon {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: 11px;
  background: #f4ece1;
  color: var(--koper);
  margin-bottom: 1.1rem;
}
.icoon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ punten */
.punten { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem; }
.punten li { border-top: 1px solid var(--lijn-donker); padding-top: 1.3rem; }
.punten li:first-child { border-top: 0; padding-top: 0; }
.punten strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; color: var(--wit); }
.punten span { color: #a89d92; font-size: .98rem; }

/* ------------------------------------------------------------------ stappen */
.stappen {
  list-style: none;
  counter-reset: stap;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.stappen li { position: relative; padding-top: 3.4rem; }
.stappen .nummer {
  position: absolute; top: 0; left: 0;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--lijn);
  background: var(--wit);
  color: var(--koper);
  font-family: Georgia, serif;
  font-size: 1.15rem;
}
.stappen li::before {
  content: "";
  position: absolute; top: 23px; left: 58px; right: -.6rem;
  height: 1px; background: var(--lijn);
}
.stappen li:last-child::before { display: none; }
.stappen p { color: var(--tekst-zacht); font-size: .97rem; margin: 0; }

/* ------------------------------------------------------------------ projecten */
.projecten {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.project {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  overflow: hidden;
}
.project-beeld {
  aspect-ratio: 4 / 3;
  position: relative;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #2a2420 0%, #3b322b 45%, #57483c 100%);
  background-size: cover;
  background-position: center;
}
.project-beeld span {
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .28);
  padding: .4rem .7rem;
  border-radius: 999px;
  backdrop-filter: blur(2px);
}
.project-beeld.heeft-foto span { display: none; }
.project-tekst { padding: 1.2rem 1.3rem 1.4rem; }
.project-tekst h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.project-tekst p { margin: 0; font-size: .9rem; color: var(--tekst-zacht); }

/* ------------------------------------------------------------------ galerij */
.galerij {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
}
.galerij a {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink-3);
  aspect-ratio: 4 / 3;
}
.galerij img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.galerij a:hover img { transform: scale(1.04); }
.galerij figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem .9rem .7rem;
  font-size: .82rem; letter-spacing: .04em;
  color: #fff;
  background: linear-gradient(to top, rgba(10, 8, 6, .82), transparent);
}
.galerij-leeg {
  color: var(--tekst-zacht);
  font-size: .95rem;
  border: 1px dashed var(--lijn);
  border-radius: var(--radius);
  padding: 1.4rem;
  background: rgba(255, 253, 250, .5);
}
.merk-beeld img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; background: #000; }

/* ------------------------------------------------------------------ werkgebied */
.plaatsen {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .55rem;
}
.plaatsen li {
  border: 1px solid var(--lijn);
  background: var(--wit);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: .93rem;
  color: #3f372f;
}

/* ------------------------------------------------------------------ faq */
.smal { max-width: 820px; }
details {
  border-bottom: 1px solid var(--lijn);
  padding: 1.1rem 0;
}
details summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
details summary::-webkit-details-marker { display: none; }
details summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  color: var(--koper);
  transition: transform var(--tempo);
  line-height: 1;
}
details[open] summary::after { transform: rotate(45deg); }
details p { margin: .8rem 0 0; color: var(--tekst-zacht); max-width: 66ch; }

/* ------------------------------------------------------------------ contact */
.contact { background: var(--paper-2); }
.contact-kanalen { display: grid; gap: .7rem; margin-top: 2rem; }
.contact-kanalen a {
  display: flex; align-items: baseline; gap: .8rem;
  text-decoration: none;
  border-bottom: 1px solid var(--lijn);
  padding-bottom: .7rem;
}
.contact-kanalen a:hover strong { color: var(--koper); }
.kanaal-label {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--tekst-zacht);
  width: 90px; flex: none;
}
.contact-kanalen strong { font-size: 1.05rem; font-weight: 600; transition: color var(--tempo); }

.form {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--schaduw);
}
.veld { margin-bottom: 1rem; }
.veld-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: block; font-size: .86rem; font-weight: 600; margin-bottom: .35rem; color: #4a423a; }
input, select, textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1px solid var(--lijn);
  border-radius: 9px;
  background: var(--paper);
  font: inherit;
  font-size: .98rem;
  color: var(--tekst);
  transition: border-color var(--tempo), background var(--tempo);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--koper);
  background: var(--wit);
  outline: none;
}
input.fout, textarea.fout { border-color: #b3261e; background: #fdf3f2; }
textarea { resize: vertical; }
.form-uitleg { font-size: .84rem; color: var(--tekst-zacht); margin: .9rem 0 0; }
/* Honeypot: alleen voor bots zichtbaar, voor mensen onzichtbaar en niet te focusen. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: .9rem; margin: .7rem 0 0; color: var(--koper); min-height: 1.2em; }

/* ------------------------------------------------------------------ voet */
.voet {
  background: var(--ink);
  color: #a89d92;
  padding: clamp(2.6rem, 5vw, 4rem) 0 1.6rem;
  font-size: .94rem;
}
.voet-in {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--lijn-donker);
}
.voet strong { color: var(--wit); display: block; margin-bottom: .5rem; }
.voet p { margin: 0; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--koper-licht); }
.voet-nav { display: flex; flex-direction: column; gap: .45rem; }
.voet-onder { text-align: center; margin: 1.4rem 0 0; font-size: .84rem; color: #7d7268; }

/* ------------------------------------------------------------------ beweging */
.vloei { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.vloei.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vloei { opacity: 1; transform: none; transition: none; }
  .knop:hover, .kaart:hover { transform: none; }
}

/* ------------------------------------------------------------------ responsief */
@media (max-width: 1000px) {
  .kaarten { grid-template-columns: repeat(2, 1fr); }
  .stappen { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .stappen li::before { display: none; }
  .projecten { grid-template-columns: 1fr 1fr; }
  .twee { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-beeld { display: none; }
}

@media (max-width: 820px) {
  .menu-knop { display: block; }
  .nav {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--lijn);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .6rem 1.3rem 1.2rem;
    display: none;
    box-shadow: 0 24px 40px -30px rgba(0, 0, 0, .5);
  }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--lijn); }
  .nav a:last-child { border-bottom: 0; margin-top: .8rem; }
  .nav a.knop { border-bottom: 0; }
  .nav a:not(.knop)::after { display: none; }
}

@media (max-width: 620px) {
  .kaarten, .projecten { grid-template-columns: 1fr; }
  .galerij { grid-template-columns: 1fr 1fr; }
  .veld-rij { grid-template-columns: 1fr; }
  .voet-in { grid-template-columns: 1fr; gap: 1.4rem; }
  .trust { flex-direction: column; gap: .4rem; }
  .hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .contact-kanalen a { flex-direction: column; gap: .1rem; }
  .kanaal-label { width: auto; }
}
