@font-face{font-family:'DM Sans';font-style:normal;font-weight:100 900;font-display:swap;src:url(/voorbeeld/fonts/dm-sans.woff2) format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:100 900;font-display:swap;src:url(/voorbeeld/fonts/fraunces.woff2) format('woff2');}
:root {
  --blue: #12304A;
  --cream: #F6F1E7;
  --flame: #E2702B;
  --flame-dark: #C65B1B;
  --light: #D6E4EC;
  --white: #FFFFFF;
  --text: #1E2A33;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--blue); }
h1 { font-size: clamp(2rem, 7vw, 3.9rem); font-weight: 700; color: var(--white); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

/* Bovenbalk */
.topbar {
  position: absolute; top: 0; left: 0; right: 0; z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; padding: 16px 20px; white-space: nowrap;
}
.logo { font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--white); text-decoration: none; }
.topbar-tel { color: var(--white); font-weight: 700; text-decoration: none; }

/* Knoppen */
.btn {
  display: inline-block; text-align: center; text-decoration: none;
  font-weight: 700; font-size: 1.05rem; padding: 16px 28px; border-radius: 999px;
  border: 2px solid transparent; transition: background .15s, color .15s;
}
.btn-main { background: var(--flame); color: var(--white); }
@media (hover: hover) { .btn-main:hover { background: var(--flame-dark); } }
.btn-second { border-color: var(--blue); color: var(--blue); }
.btn-on-dark { border-color: var(--white); color: var(--white); }
@media (hover: hover) { .btn-on-dark:hover { background: var(--white); color: var(--blue); } }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Hero */
.hero {
  position: relative; min-height: 88vh; display: flex; align-items: flex-end;
  padding: 120px 20px 64px;
  background:
    linear-gradient(180deg, rgba(18,48,74,.35) 0%, rgba(18,48,74,.88) 100%),
    url('fotos/installateur-bij-nieuwe-ketel-breed.webp') center / cover no-repeat,
    linear-gradient(135deg, #1d4a70, var(--blue));
}
.hero-inner { max-width: 760px; margin: 0 auto 0 max(0px, calc((100% - 1100px) / 2)); }
.eyebrow { color: var(--light); font-weight: 500; letter-spacing: .04em; margin-bottom: 1em; }
.lead { color: var(--cream); font-size: 1.2rem; margin-bottom: 1.6em; }

/* Blokken */
.block { padding: 88px 20px; }
.block-white { background: var(--white); }
.block-cream { background: var(--cream); }
.block-light { background: var(--light); }
.block-blue { background: var(--blue); color: var(--cream); }
.block-blue h2, .block-blue h3 { color: var(--white); }
.wrap { max-width: 1100px; margin: 0 auto; }
.narrow { max-width: 760px; }
.block h2 { margin-bottom: 1em; }

/* Vertrouwen */
.trust {
  list-style: none; margin: 0 auto; padding: 0; max-width: 1100px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
}
.trust li { border-top: 4px solid var(--flame); padding-top: 16px; }
.trust strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--blue); margin-bottom: 6px; }
.trust span { font-size: .98rem; }

/* Kaarten */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; }
.card p { flex: 1; }
.price { flex: none !important; margin: 0; color: var(--blue); }
.price strong { font-family: var(--serif); font-size: 1.7rem; display: block; }
.more { margin: 36px 0 0; font-weight: 700; }
.more a { color: var(--blue); }

/* Stappen */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%; margin-bottom: 16px;
  background: var(--blue); color: var(--white); font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
}

/* Verhaal */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.story p { font-size: 1.2rem; }

/* Foto's */
.photo { display: block; width: 100%; object-fit: cover; border-radius: 16px; }
.portrait { height: 460px; }

/* Tweede groep */
.group { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: start; max-width: 800px; }
.group p { font-size: 1.15rem; }

/* Galerij */
.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.gallery .photo { height: 280px; }
.g1 { grid-column: span 3; }
.g2 { grid-column: span 3; }
.g3, .g4, .g5 { grid-column: span 2; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.review { margin: 0; background: var(--white); border-radius: 16px; padding: 32px 28px; }
.stars { color: var(--flame); font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 8px; }
.review blockquote { margin: 0 0 12px; font-size: 1.1rem; }
.review figcaption { font-weight: 700; color: var(--blue); }

/* Vragen */
details { border-bottom: 1px solid #d3dbe0; }
summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--serif); font-size: 1.2rem; color: var(--blue); font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--flame); }
details[open] summary::after { content: '\2212'; }
details p { padding-bottom: 8px; }

/* Onderaan */
.footer-cta h2 { max-width: 700px; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.25); }
.contact h3 { font-size: 1.1rem; }
.contact p { margin: 0; }
.legal { background: #0c2237; color: var(--light); text-align: center; padding: 24px 20px; font-size: .9rem; }
.legal p { margin: 0; }

/* Vaste balk (alleen telefoon) */
.sticky { display: none; }

@media (max-width: 800px) {
  body { font-size: 17px; }
  .block { padding: 64px 20px; }
  .trust, .cards, .steps, .reviews, .contact { grid-template-columns: minmax(0, 1fr); }
  .trust { gap: 24px; }
  .story { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .portrait { height: 340px; }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .g1, .g2, .g3, .g4, .g5 { grid-column: auto; }
  .hero { min-height: 82vh; padding-bottom: 48px; }
  .actions .btn, .group .btn { width: 100%; }
  .group { justify-items: stretch; }

  .sticky {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--white); box-shadow: 0 -4px 16px rgba(0,0,0,.15);
    transform: translateY(110%); transition: transform .25s;
  }
  .sticky.show { transform: translateY(0); }
  .sticky .btn { display: block; width: 100%; }
  .legal { padding-bottom: 90px; }
}

@media (max-width: 360px) {
  .logo { font-size: 1.2rem; }
  .topbar { padding: 14px 14px; }
  .topbar-tel { font-size: .95rem; }
}

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


/* Voorbeeldzaak: strook bovenaan en melding (scripts/voorbeeld-bouw.mjs). Eigen letters, los van het ontwerp van de zaak. */
@font-face{font-family:"Archivo";font-style:normal;font-weight:400 800;font-stretch:62% 125%;font-display:swap;src:url("/fonts/archivo-var-latin.woff2") format("woff2")}
.vb-strook{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 16px;padding:10px 16px;background:#F4EFE4;color:#25221D;border-bottom:1.5px solid #25221D;font:14px/1.4 "Archivo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:left}
.vb-strook p{margin:0;flex:1 1 20rem;min-width:0;color:inherit;font:inherit}
.vb-strook a{color:#25221D;font-weight:700;text-decoration:underline;text-decoration-color:#1D6A46;text-decoration-thickness:1.5px;text-underline-offset:.3em;white-space:nowrap}
.vb-pagina{position:relative}
.vb-melding{display:none;position:fixed;left:16px;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:1000;max-width:30rem;margin-inline:auto;padding:14px 16px;border-radius:6px;background:#FBF8F1;color:#25221D;border:1.5px solid #25221D;font:15px/1.45 "Archivo",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:4px 4px 0 #25221D}
.vb-melding:target{display:block}
.vb-melding p{margin:0 0 8px;color:inherit;font:inherit}
.vb-melding a{display:inline-block;min-height:44px;padding:10px 0;color:#25221D;font-weight:700;text-decoration:underline;text-decoration-color:#1D6A46;text-decoration-thickness:1.5px}
