/* Voorbeeldwebsite — Bouwbedrijf De Esvoorde
   Lettertypes: Archivo + Source Sans 3 (SIL OFL 1.1), Latin-subset. */

@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/archivo-normal-400-79dc5e.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/sourcesans3-normal-400-263ee0.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/sourcesans3-italic-400-48bcd1.woff2") format("woff2"); }

:root {
  --navy: #1b2a41;
  --navy-2: #243550;
  --slate: #3d5a80;
  --steel: #6b7c8f;
  --sand: #f4f0ea;
  --paper: #fbfaf7;
  --line: #d9d3c9;
  --terracotta: #a3502c;
  --terracotta-h: #8a4123;
  --ink: #1a1f26;
  --muted: #5c6570;
  --bar-h: 2.75rem;
  --radius: 4px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body { margin: 0; font-family: "Source Sans 3", system-ui, sans-serif; font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--sand); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--terracotta); }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 3px; }
h1, h2, h3 { font-family: "Archivo", system-ui, sans-serif; font-weight: 650; letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 0.55em; color: var(--navy); }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(72rem, calc(100% - 2.5rem)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: 0.5rem 0.8rem; }
.skip:focus { top: 3.2rem; z-index: 300; }

/* Demo-balk */
.demo-bar { position: sticky; top: 0; z-index: 200; background: var(--navy); color: #fff; min-height: var(--bar-h); }
.demo-bar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.4rem 1.2rem; padding: 0.55rem 0; font-size: 0.88rem; }
.demo-bar p { margin: 0; font-weight: 600; }
.demo-bar a { color: #fff; font-weight: 700; text-underline-offset: 0.15em; }
.demo-bar a:hover { color: #f0d2c4; }

/* Header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.8rem 1.5rem; min-height: 4.25rem; }
.wordmark { font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--navy); text-decoration: none; line-height: 1.2; }
.wordmark small { display: block; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--steel); }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--terracotta); }

/* Hero */
.hero { background: var(--navy); color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; min-height: 32rem; }
.hero-copy { padding: clamp(2.2rem, 6vw, 4.5rem) clamp(1.4rem, 4vw, 3.5rem); display: flex; flex-direction: column; justify-content: center; }
.hero-copy h1 { color: #fff; }
.eyebrow { margin: 0 0 1rem; font-family: "Archivo", sans-serif; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); }
.hero .eyebrow { color: #e8b49a; }
.hero p { color: #d5dde6; max-width: 34rem; }
.hero-photo { min-height: 22rem; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 0.5rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.9rem; padding: 0.55rem 1.3rem; background: var(--terracotta); color: #fff; text-decoration: none; font-weight: 700; font-size: 0.95rem; border-radius: var(--radius); border: 2px solid var(--terracotta); }
.btn:hover { background: var(--terracotta-h); border-color: var(--terracotta-h); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-2); }

/* Secties */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 38rem; margin-bottom: 2.4rem; }
.lead { color: var(--muted); font-size: 1.08rem; }
.section-alt { background: var(--paper); }
.section-navy { background: var(--navy-2); color: #e4eaf0; }
.section-navy h2, .section-navy h3 { color: #fff; }

.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.service { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--terracotta); padding: 1.4rem 1.4rem 1.2rem; }
.service h3 { margin-bottom: 0.35em; }
.service p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; list-style: none; margin: 0; padding: 0; counter-reset: stap; }
.step { position: relative; padding-top: 2.6rem; }
.step::before { counter-increment: stap; content: "0" counter(stap); position: absolute; top: 0; left: 0; font-family: "Archivo", sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--terracotta); letter-spacing: 0.06em; }
.step p { margin: 0; color: #c5d0db; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem; align-items: center; }
.about-grid img { width: 100%; height: 100%; max-height: 28rem; object-fit: cover; }
.about-note { margin-top: 1.2rem; padding: 0.9rem 1rem; background: var(--sand); border-left: 3px solid var(--slate); font-size: 0.95rem; color: var(--muted); }

.gallery { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0.75rem; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.gallery figure:first-child img { aspect-ratio: 16 / 10; }
.gallery figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.4rem; }

.contact-block { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-card { background: var(--paper); padding: 1.6rem 1.7rem; border: 1px solid var(--line); }
.contact-card h3 { margin-bottom: 0.8rem; }
.contact-card dl { margin: 0; display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.45rem 0.8rem; }
.contact-card dt { font-weight: 700; color: var(--navy); }
.contact-card dd { margin: 0; color: var(--muted); }
.placeholder-note { margin: 1rem 0 0; font-size: 0.88rem; color: var(--steel); }

.site-footer { background: var(--navy); color: #c5d0db; padding: 2rem 0 1.5rem; font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.8rem 2rem; }
.site-footer p { margin: 0; }
.site-footer strong { color: #fff; }

@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-block, .steps { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; }
  .hero-photo { min-height: 16rem; }
  .services { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .wrap { width: min(72rem, calc(100% - 1.5rem)); }
  .gallery { grid-template-columns: 1fr; }
  .contact-card dl { grid-template-columns: 1fr; gap: 0.15rem; }
  .contact-card dd { margin-bottom: 0.55rem; }
}
