/* ═══════════════════════════════════════════════════════════
   Grafsteenatelier — Homepage
   Premium, ingetogen landingspagina (Peugeot-geïnspireerd)
   ═══════════════════════════════════════════════════════════ */

:root {
  --ink:      #14161a;
  --ink-2:    #1c1f25;
  --bg:       #ffffff;
  --cream:    #f6f3ee;
  --text:     #21252c;
  --muted:    #6c727c;
  --line:     #e6e1d9;
  --accent:   #9c7c4e;   /* brons */
  --accent-dk:#806239;
  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1200px;
  --hdr-h: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: .003em; }

/* ── Eyebrow / labels ───────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow.dark { color: var(--accent-dk); }

/* ── Buttons ────────────────────────────────────────────── */
.btn {
  --bg-c: var(--ink);
  --fg-c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 500; font-size: 15px;
  line-height: 1; letter-spacing: .01em;
  padding: 15px 28px; border-radius: 2px; cursor: pointer;
  border: 1px solid transparent;
  background: var(--bg-c); color: var(--fg-c);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.btn-primary { --bg-c: var(--accent); --fg-c: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--cream); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ── Header ─────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--hdr-h);
  display: flex; align-items: center;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header-inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; width: 100%; gap: 24px;
}
.brand {
  justify-self: start;
  font-family: var(--sans); font-weight: 700;
  font-size: 19px; letter-spacing: .14em; color: #fff;
  transition: color .35s var(--ease); white-space: nowrap;
  display: flex; align-items: center;
}
.brand span { font-weight: 300; }
.brand img { height: 40px; width: auto; max-width: none; flex: none; display: block; transition: height .35s var(--ease); }
.site-header.scrolled .brand img { height: 34px; }

.nav { justify-self: center; display: flex; gap: 30px; }
/* CTA + contact zitten alleen in het mobiele menu */
.nav-cta, .nav-contact { display: none; }
.nav a {
  font-size: 14.5px; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.92);
  position: relative; padding: 6px 0; transition: color .25s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav a:hover::after { width: 100%; }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }

/* scrolled state */
.site-header.scrolled {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(8px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(0,0,0,.06);
  height: 64px;
}
.site-header.scrolled .brand { color: var(--ink); }
.site-header.scrolled .nav a { color: var(--text); }

/* mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; height: 24px;
  background: none; border: none; cursor: pointer; justify-content: center; }
.nav-toggle span { height: 2px; width: 100%; background: #fff; border-radius: 2px;
  /* Bovenaan is de header transparant en liggen de witte lijntjes over de
     lichte hero; zonder deze schaduw verdween de hamburger. */
  box-shadow: 0 1px 3px rgba(0,0,0,.55);
  transition: transform .3s var(--ease), opacity .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.site-header.scrolled .nav-toggle span { background: var(--ink); box-shadow: none; }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  /* donkere basiskleur: nooit een lichte flits terwijl de foto nog laadt */
  background: #0b0c0e url('../img/hero.jpg') center 30% / cover no-repeat;
  color: #fff; overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,9,11,.82) 0%, rgba(8,9,11,.55) 38%, rgba(8,9,11,.12) 70%, rgba(8,9,11,.05) 100%),
    linear-gradient(180deg, rgba(8,9,11,.45) 0%, rgba(8,9,11,0) 30%, rgba(8,9,11,.55) 100%);
}
/* Mobiel volstaat een veel kleiner bestand (zelfde beeld, 186 i.p.v. 800 KB);
   de breakpoint spiegelt de preload-media in index.html. */
@media (max-width: 768px) {
  .hero { background-image: url('../img/hero-mobiel.jpg'); }
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: var(--hdr-h); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 500; margin-bottom: 24px; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 560px; color: rgba(255,255,255,.9); margin-bottom: 38px; font-weight: 300; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 16px; }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: rgba(255,255,255,.8); font-size: 22px;
  width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.35); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: floaty 2.4s ease-in-out infinite; transition: background .25s;
}
.scroll-hint:hover { background: rgba(255,255,255,.12); }
@keyframes floaty { 0%,100% { transform: translate(-50%,0);} 50% { transform: translate(-50%,8px);} }
/* Op mobiel valt de hero-pijl over de CTA-knoppen — desktop-hint, hier weg. */
@media (max-width: 720px) { .scroll-hint { display: none; } }

/* ── USP / trust-bar ────────────────────────────────────── */
.usps { background: var(--ink); color: #fff; }
.usp-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-block: 56px;
}
.usp {
  padding: 4px 34px; text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.usp + .usp { border-left: 1px solid rgba(255,255,255,.12); }
.usp-ic {
  width: 46px; height: 46px; margin-bottom: 16px; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.usp-ic svg { width: 30px; height: 30px; }
.usp h3 { font-family: var(--sans); font-size: 15.5px; font-weight: 600; margin-bottom: 8px; letter-spacing: .02em; }
.usp p { font-size: 14px; color: rgba(255,255,255,.62); font-weight: 300; max-width: 230px; }

/* ── Generic section ────────────────────────────────────── */
.section { padding: clamp(72px, 9vw, 130px) 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); margin-bottom: 18px; }
.lead { font-size: 1.1rem; color: var(--muted); font-weight: 300; }

/* ── Feature (configurator highlight) ───────────────────── */
.feature { background: var(--ink); color: #fff; padding: clamp(72px, 9vw, 130px) 0; overflow: hidden; }
.feature-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.feature-text h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 20px; }
.feature-text > p { color: rgba(255,255,255,.72); font-weight: 300; font-size: 1.08rem; margin-bottom: 28px; max-width: 520px; }
.feature-steps { list-style: none; margin-bottom: 36px; display: flex; flex-direction: column; gap: 14px; }
.feature-steps li { display: flex; align-items: center; gap: 16px; font-size: 15px; color: rgba(255,255,255,.9); }
.feature-steps span {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--accent); color: var(--accent);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600;
}
.feature-visual { position: relative; }
.feature-visual img {
  /* height:auto is essentieel: het width/height-attribuut (CLS-preload) dwingt
     anders de vaste pixelhoogte af en perst het monument plat de kolom in. */
  width: 100%; height: auto; display: block; border-radius: 6px;
  /* De PNG is transparant: de smalle donkere ellips onderin schijnt als
     grondschaduw achter de voet door en zet het monument neer i.p.v. zwevend. */
  background:
    radial-gradient(52% 9% at 50% 88%, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 72%),
    radial-gradient(120% 120% at 50% 30%, #2b2f37 0%, #16181d 70%);
  padding: 30px; box-shadow: 0 30px 70px rgba(0,0,0,.45);
}
.feature-badge {
  position: absolute; left: 22px; bottom: 22px;
  background: rgba(20,22,26,.85); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.14);
  padding: 9px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}
.feature-badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #5ad08a; box-shadow: 0 0 0 4px rgba(90,208,138,.25); }

/* ── Natuursteen ────────────────────────────────────────── */
.stone-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 22px;
}
.stone { text-align: center; }
.stone-swatch {
  aspect-ratio: 1/1; border-radius: 6px; background-size: cover; background-position: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06), 0 10px 26px rgba(20,22,26,.12);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.stone:hover .stone-swatch { transform: translateY(-5px) scale(1.02); box-shadow: 0 18px 38px rgba(20,22,26,.22); }
.stone figcaption {
  margin-top: 14px; font-family: var(--serif); font-size: 1.18rem; font-weight: 600; color: var(--text);
}

/* ── Quote band ─────────────────────────────────────────── */
.quote-band {
  position: relative; padding: clamp(90px, 14vw, 170px) 0;
  background: url('../img/serene.jpg') center 40% / cover fixed no-repeat;
  display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.quote-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,11,13,.55), rgba(10,11,13,.65)); }
.quote-band blockquote {
  position: relative; z-index: 2;
  font-family: var(--serif); font-weight: 500; font-style: italic;
  font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.25; text-shadow: 0 2px 26px rgba(0,0,0,.4);
}

/* ── Werkwijze steps ────────────────────────────────────── */
.steps {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; counter-reset: s;
}
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step-num { font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--accent); display: block; margin-bottom: 14px; line-height: 1; }
.step h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--muted); font-weight: 300; }

/* ── Closing CTA band ───────────────────────────────────── */
.cta-band {
  position: relative; padding: clamp(80px, 11vw, 150px) 0; text-align: center; color: #fff;
  background: linear-gradient(rgba(12,13,15,.62), rgba(12,13,15,.72)), url('../img/cta.jpg') center 55% / cover no-repeat;
}
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; text-shadow: 0 2px 26px rgba(0,0,0,.4); }
.cta-band p { font-size: 1.15rem; color: rgba(255,255,255,.86); font-weight: 300; margin-bottom: 36px; max-width: 600px; margin-inline: auto; }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .brand { color: #fff; display: inline-block; margin-bottom: 16px; }
.footer-brand p { font-size: 14.5px; font-weight: 300; max-width: 300px; }
.footer-col h4 { font-family: var(--sans); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 18px; font-weight: 600; }
.footer-col a, .footer-muted { display: block; font-size: 14.5px; font-weight: 300; color: rgba(255,255,255,.66); margin-bottom: 11px; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5);
}

/* ── Reveal on scroll ───────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────── */
/* Compacte horizontale nav net boven het mobiele menu (voorkomt gedrukte/scheve tabs) */
@media (max-width: 1160px) {
  .header-inner { gap: 16px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .header-actions { gap: 8px; }
}

@media (max-width: 980px) {
  .feature-inner { grid-template-columns: 1fr; gap: 44px; }
  .feature-visual { order: -1; max-width: 520px; }
  .usp-bar { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .usp + .usp { border-left: none; }
  .usp:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; padding-bottom: 44px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1080px) {
  /* Topbalk: alleen merk + hamburger — rest verhuist naar het menu */
  .header-inner { display: flex; justify-content: space-between; }
  .nav-toggle { display: flex; }
  /* Hogere specificiteit: de basisregel .header-contact { display:flex } staat
     verderop in het bestand en zou anders (gelijke specificiteit, latere bron)
     winnen — waardoor de contact-iconen de hamburger van het scherm duwen. */
  .header-actions .header-contact, .header-actions .btn-sm { display: none; }

  .nav {
    position: fixed; inset: var(--hdr-h) 0 auto 0;
    flex-direction: column; gap: 0; background: rgba(255,255,255,.98);
    backdrop-filter: blur(8px); padding: 8px 0 4px;
    box-shadow: 0 16px 30px rgba(0,0,0,.12);
    max-height: calc(100vh - var(--hdr-h)); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav > a { color: var(--text); padding: 15px 24px; width: 100%; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .site-header.scrolled .nav > a { color: var(--text); }

  /* CTA in mobiel menu */
  .nav .nav-cta {
    display: inline-flex; width: calc(100% - 48px);
    margin: 16px 24px 4px; padding: 15px 20px;
    border-bottom: none; color: #fff;
  }
  /* Contact-rij in mobiel menu */
  .nav .nav-contact { display: flex; gap: 10px; padding: 8px 24px 16px; }
  .nav .nav-contact a {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    width: auto; padding: 14px 6px; border: 1px solid var(--line); border-radius: 8px;
    font-size: 12px; font-weight: 500; color: var(--text);
    transition: background .2s var(--ease), border-color .2s var(--ease);
  }
  .nav .nav-contact a svg { color: var(--accent-dk); }
  .nav .nav-contact a:hover { background: var(--cream); border-color: var(--accent); }

  /* nav-toggle X animation */
  .nav-toggle.open span { background: var(--ink); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .quote-band { background-attachment: scroll; }
  .hero-overlay { background:
    linear-gradient(180deg, rgba(8,9,11,.5) 0%, rgba(8,9,11,.35) 35%, rgba(8,9,11,.78) 100%); }
  .usp { padding: 4px 22px; }
}

@media (max-width: 460px) {
  .brand { font-size: 17px; letter-spacing: .1em; }
  .usp-bar { grid-template-columns: 1fr; row-gap: 30px; }
  .usp:nth-child(even) { border-left: none; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { gap: 26px 18px; }
  .hero-cta .btn { width: 100%; }
  /* Ruimte vrijhouden voor de zwevende WhatsApp/chat-knoppen rechtsonder,
     zodat die de volle-breedte CTA-knoppen niet bedekken (mobiel-audit). */
  .hero-cta { padding-right: 76px; }
}

@media (max-width: 560px) {
  /* Woordmerk-logo kleiner op smalle schermen, anders botst het met de hamburger. */
  .brand img { height: 30px; }
  .site-header.scrolled .brand img { height: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint { animation: none; }
  .quote-band { background-attachment: scroll; }
}

/* ═══════════════════════════════════════════════════════════
   Toevoegingen: header-contact, eigen ontwerp, modal, chat/FAB
   ═══════════════════════════════════════════════════════════ */

/* ── Header contact-iconen ──────────────────────────────── */
.header-contact { display: flex; align-items: center; gap: 2px; margin-right: 6px; }
.hicon {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.92); border: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.hicon:hover { background: rgba(255,255,255,.16); color: #fff; transform: translateY(-1px); }
.hicon-wa:hover { background: #25d366; color: #fff; }
.site-header.scrolled .hicon { color: var(--muted); }
.site-header.scrolled .hicon:hover { background: var(--cream); color: var(--text); }
.site-header.scrolled .hicon-wa:hover { background: #25d366; color: #fff; }

/* ── WhatsApp-knop variant ──────────────────────────────── */
.btn-wa { background: #25d366; color: #0a3a1c; }
.btn-wa:hover { background: #1fbd5b; color: #042b13; }

/* ── Eigen ontwerp-sectie ───────────────────────────────── */
.own-inner { display: grid; grid-template-columns: 1.3fr .9fr; gap: 56px; align-items: center; }
.own-text h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); margin-bottom: 18px; }
.own-text .lead { margin-bottom: 30px; }
.own-visual {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; cursor: pointer;
  padding: 48px 28px; border: 2px dashed var(--line); border-radius: 10px;
  background: var(--cream); color: var(--accent-dk);
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
  font-family: inherit;
}
.own-visual:hover { border-color: var(--accent); background: #fff; transform: translateY(-3px); }
.own-visual strong { font-family: var(--serif); font-size: 1.5rem; color: var(--text); font-weight: 600; }
.own-visual span { font-size: 14px; color: var(--muted); }

/* ── Modal ──────────────────────────────────────────────── */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
/* Flex + interne scroll: op mobiel (met browserbalken) viel de onderkant van
   een lange modal buiten beeld. margin:auto centreert de kaart, maar clipt
   niet wanneer die hoger is dan het scherm — dan scrollt de overlay. */
.modal.open { display: flex; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 24px 16px; }
.modal-overlay { position: fixed; inset: 0; background: rgba(12,13,15,.62); backdrop-filter: blur(3px); animation: fadeIn .25s var(--ease); }
.modal-card {
  position: relative; z-index: 1;
  width: min(560px, 100%); margin: auto;
  background: #fff; border-radius: 10px; padding: 38px 36px 30px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: popIn .3s var(--ease);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: scale(1); } }
.modal-close {
  position: absolute; top: 14px; right: 16px; width: 36px; height: 36px;
  border: none; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; border-radius: 50%;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--cream); color: var(--text); }
.modal-card h3 { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; margin-bottom: 6px; }
.modal-sub { font-size: 14.5px; color: var(--muted); font-weight: 300; margin-bottom: 22px; }

.file-drop {
  display: block; border: 2px dashed var(--line); border-radius: 8px;
  padding: 26px 18px; text-align: center; cursor: pointer; background: var(--cream);
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.file-drop:hover, .file-drop.drag { border-color: var(--accent); background: #fff; }
.file-drop-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--accent-dk); }
.file-drop-inner strong { font-size: 14.5px; color: var(--text); font-weight: 600; }
.file-drop-inner small { font-size: 12.5px; color: var(--muted); }

.file-previews { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.file-previews:empty { margin-top: 0; }
.fp-item {
  position: relative; width: 66px; height: 66px; border-radius: 6px; overflow: hidden;
  border: 1px solid var(--line); background: var(--cream) center/cover no-repeat;
  display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--muted); text-align: center; padding: 4px;
}
.fp-item .fp-x {
  position: absolute; top: 2px; right: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(0,0,0,.6); color: #fff; border: none; cursor: pointer; font-size: 13px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#designForm input, #designForm textarea {
  width: 100%; margin-top: 12px; padding: 13px 15px; font-family: var(--sans); font-size: 14.5px;
  border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--text); resize: vertical;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-row input { margin-top: 14px; }
#designForm input:focus, #designForm textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(156,124,78,.15); }
#designForm input.invalid, #designForm textarea.invalid { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192,57,43,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.form-actions .btn { flex: 1; min-width: 200px; }
.form-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-msg { font-size: 13px; margin-top: 12px; text-align: center; min-height: 18px; line-height: 1.5; }
.form-msg.ok  { color: #3e6b4f; font-weight: 600; }
.form-msg.err { color: #b23b32; font-weight: 600; }

/* ── Zwevende chat / WhatsApp ───────────────────────────── */
/* De stack is fixed en beslaat (met het gesloten chat-paneel erin) een groot
   deel van het scherm; zónder pointer-events:none ving die lege ruimte alle
   taps op en leek geen enkele knop eronder te werken. De echte knoppen en het
   geopende paneel zetten pointer-events weer op auto. */
.fab-stack { position: fixed; right: 22px; bottom: 22px; z-index: 150; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; pointer-events: none; }
.fab {
  pointer-events: auto;
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.28); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.fab:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgba(0,0,0,.34); }
.fab-wa { background: #25d366; }
.fab-chat { background: var(--accent); position: relative; }
.fab-chat .ic-x { display: none; }
.fab-chat.open .ic-chat { display: none; }
.fab-chat.open .ic-x { display: block; }

.chat-panel {
  width: min(330px, calc(100vw - 44px));
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.3); border: 1px solid var(--line);
  transform-origin: bottom right; transform: translateY(10px) scale(.96); opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.chat-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.chat-head { background: var(--ink); color: #fff; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; }
.chat-head strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.chat-x { background: none; border: none; color: rgba(255,255,255,.7); font-size: 24px; line-height: 1; cursor: pointer; }
.chat-x:hover { color: #fff; }
.chat-intro { padding: 16px 20px 6px; font-size: 13.5px; color: var(--muted); font-weight: 300; }
.chat-actions { padding: 8px 12px 16px; display: flex; flex-direction: column; gap: 4px; }
.chat-act {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  padding: 12px 12px; border: none; background: none; cursor: pointer; border-radius: 8px;
  color: var(--text); font-family: inherit; transition: background .18s var(--ease);
}
.chat-act:hover { background: var(--cream); }
.chat-act svg { flex-shrink: 0; color: var(--accent-dk); }
.chat-act-wa svg { color: #1faa52; }
.chat-act span { display: flex; flex-direction: column; line-height: 1.25; }
.chat-act strong { font-size: 14.5px; font-weight: 600; }
.chat-act small { font-size: 12.5px; color: var(--muted); }

@media (max-width: 760px) {
  .own-inner { grid-template-columns: 1fr; gap: 30px; }
  .own-visual { order: -1; padding: 36px 22px; }
  .fab-stack { right: 16px; bottom: 16px; }
}
@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { min-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════
   Toevoegingen v2: materialen (glas/RVS/corten), belettering,
   recent-geplaatst galerij, vrijblijvend-advies band
   ═══════════════════════════════════════════════════════════ */

/* ── Andere materialen ──────────────────────────────────── */
.material-head { text-align: center; max-width: 640px; margin: clamp(56px, 8vw, 80px) auto 36px; }
.material-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.material-head p { color: var(--muted); font-weight: 300; }
.material-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.material-card {
  background: #fff; border: 1px solid var(--line); border-radius: 8px; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.material-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(20,22,26,.14); border-color: transparent; }
.material-photo { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.material-card figcaption { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.material-card strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.1; }
.material-card span { font-size: 14px; color: var(--muted); font-weight: 300; }

/* ── De vakman / Wim ────────────────────────────────────── */
.vakman-inner { display: flex; align-items: center; gap: 44px; max-width: 880px; margin-inline: auto; }
.vakman-photo {
  flex: none; width: 190px; height: 238px;
  object-fit: cover; object-position: 50% 16%;
  border-radius: 12px; box-shadow: 0 18px 42px rgba(20,22,26,.18);
}
.vakman-text .eyebrow { margin-bottom: 10px; }
.vakman-text h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 12px; }
.vakman-text p { color: var(--muted); font-weight: 300; max-width: 48ch; }
@media (max-width: 640px) {
  .vakman-inner { flex-direction: column; text-align: center; gap: 22px; }
  .vakman-photo { width: 152px; height: 190px; }
  .vakman-text p { margin-inline: auto; }
}
/* materiaal-placeholders — vervang door echte detailfoto's */
.mat-glas   { background: linear-gradient(135deg, #e3f0f3 0%, #bcd8df 45%, #94bcc6 100%); }
.mat-rvs    { background: linear-gradient(135deg, #eef0f2 0%, #b9bfc6 38%, #d3d8dd 58%, #99a0a8 100%); }
.mat-corten { background: linear-gradient(135deg, #b87045 0%, #8c4c2d 48%, #6e3a23 100%); }

/* ── Recent geplaatst — galerij ─────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-flow: dense; }
.gallery-item {
  position: relative; aspect-ratio: 4/5; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #efe9e0, #e0d6c6);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.05);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
/* Brede tegel: rekt mee met de rijhoogte van de staande tegels */
.gallery-item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(20,22,26,.18); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-item:empty::after,
a.gallery-item:not(:has(img))::after {
  content: 'Foto volgt'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(20,22,26,.3); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
}

/* Lightbox voor de galerij */
.lightbox {
  position: fixed; inset: 0; z-index: 220;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10, 11, 13, .92);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
body.lightbox-open .fab-stack { opacity: 0; pointer-events: none; }
.lightbox img {
  max-width: min(92vw, 1200px); max-height: 84vh;
  object-fit: contain; border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.lightbox figcaption {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  max-width: 84vw; text-align: center;
  color: rgba(255,255,255,.75); font-size: 13px; letter-spacing: .04em;
}
.lightbox-btn {
  position: absolute; z-index: 2;
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22);
  color: #fff; font-size: 22px; line-height: 1; cursor: pointer;
  transition: background .25s var(--ease);
}
.lightbox-btn:hover { background: rgba(255,255,255,.2); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) {
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
  .lightbox-btn { width: 42px; height: 42px; }
}

/* ── Eigen ontwerp — acties ─────────────────────────────── */
.own-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Na uw bestelling — horizontale flow (timeline) ─────── */
.flow { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 8px; }
.flow-step { position: relative; padding-top: 76px; text-align: center; }
/* verbindingslijn naar de volgende stap (loopt onder de bollen door) */
.flow-step::before {
  content: ''; position: absolute; top: 27px; left: 50%; width: calc(100% + 30px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 8px, transparent 8px 16px);
  opacity: .45;
}
.flow-step:last-child::before { display: none; }
.flow-node {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.4rem;
  color: var(--accent); background: #fff; border: 2px solid var(--line);
  box-shadow: 0 10px 24px rgba(20,22,26,.07); z-index: 1;
  transition: color .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.flow-step:hover .flow-node {
  color: #fff; background: var(--accent); border-color: var(--accent); transform: translateX(-50%) translateY(-4px);
}
.flow-step h3 { font-size: 1.22rem; margin-bottom: 9px; }
.flow-step p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* Verticale timeline op kleinere schermen */
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr; gap: 0; max-width: 540px; margin-inline: auto; }
  .flow-step { text-align: left; padding: 0 0 36px 78px; }
  .flow-step:last-child { padding-bottom: 0; }
  .flow-node { left: 0; transform: none; }
  .flow-step:hover .flow-node { transform: translateY(-4px); }
  .flow-step::before {
    top: 56px; left: 27px; width: 2px; height: calc(100% - 56px);
    background: repeating-linear-gradient(180deg, var(--accent) 0 8px, transparent 8px 16px);
  }
}

@media (max-width: 900px) {
  .material-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* Natuursteen-swatches ook 2 kolommen; auto-fill minmax(180px) gaf op smalle
     schermen anders maar 1 kolom. */
  .stone-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stone figcaption { margin-top: 10px; font-size: 1.05rem; }
  /* Materiaal-tegels in 2 kolommen: kleinere titel + strakkere caption zodat het past. */
  .material-grid { gap: 14px; }
  .material-card strong { font-size: 1.2rem; }
  .material-card figcaption { padding: 14px 16px 18px; }
  /* Brede tegel staat hier alleen in zijn rij en heeft een eigen verhouding nodig */
  .gallery-item--wide { aspect-ratio: 3/2; }
  .own-actions { width: 100%; }
  .own-actions .btn { flex: 1; }
}
