@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #0059a1;
  --orange: #f5a32d;
  --ink: #141414;
  --paper: #ffffff;
  --grey: #f2f1ee;
  --muted: #4d4d4d;
  --line: #d9d7d2;
  --pad: clamp(20px, 4vw, 56px);
  --topbar-h: 38px;
  --header-h: 72px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.topbar :focus-visible,
.hero :focus-visible,
.pand :focus-visible { outline-color: #fff; }
.hero .btn-accent:focus-visible,
.pand .btn-accent:focus-visible { outline-color: #fff; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: 1480px; margin-inline: auto; padding-inline: var(--pad); }
.nowrap { white-space: nowrap; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px;
  font: inherit; font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  border: 2px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-accent { background: var(--orange); color: var(--ink); }
.btn-accent:hover { background: #fff; }
.btn-ghost { color: #fff; border-color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.contact .btn-accent:hover { background: var(--ink); color: #fff; }

/* ---------- Bovenbalk (Kvadrat) ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 0.8125rem; letter-spacing: 0.08em; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: var(--topbar-h); gap: 16px; }
.topbar-contact { display: flex; gap: 28px; }
.topbar a { text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 4px; }
.topbar-cta { text-transform: uppercase; font-weight: 700; letter-spacing: 0.16em; font-size: 0.75rem; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; flex: none; text-decoration: none; }
.brand-v { height: 52px; width: auto; }
.brand-name { display: grid; line-height: 1.1; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; }
.brand-name strong { font-size: 1.0625rem; font-weight: 800; font-stretch: 112%; letter-spacing: 0.02em; color: var(--blue); }
.nav { display: flex; gap: clamp(20px, 3vw, 44px); }
.nav a {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  text-decoration: none; padding: 8px 0;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 0 3px;
  transition: background-size .25s;
}
.nav a:hover { background-size: 100% 3px; }
.menu-btn {
  display: none; font: inherit; font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  background: none; border: 2px solid var(--ink); color: var(--ink);
  min-height: 44px; padding: 0 18px; cursor: pointer;
}

/* ---------- Verfstreek (gedeeld) ---------- */
.paint { --p: 1; --span: 166%; --e: calc(var(--p) * var(--span)); }
.band { position: absolute; inset: 0; pointer-events: none; display: none; }
.hero .band, .proj-fig .band { display: block; }
.band-blue {
  background: var(--blue);
  clip-path: polygon(calc(var(--e) - 26%) 0, var(--e) 0, calc(var(--e) - 14%) 100%, calc(var(--e) - 40%) 100%);
}
.band-orange {
  background: var(--orange);
  clip-path: polygon(calc(var(--e) - 46%) 0, calc(var(--e) - 26%) 0, calc(var(--e) - 40%) 100%, calc(var(--e) - 60%) 100%);
}
/* Zonder animatie of zonder JS: geen banen */
.hero .band, .proj-fig .band { visibility: hidden; }
.sweep-on .band { visibility: visible; }

/* ---------- Hero (OMA) ---------- */
.hero {
  position: relative; background: #fff; color: #fff;
  height: clamp(560px, calc(100svh - var(--topbar-h) - var(--header-h)), 980px);
  overflow: hidden;
}
.hero-reveal {
  position: absolute; inset: 0;
  clip-path: polygon(0 0, var(--e) 0, calc(var(--e) - 14%) 100%, 0 100%);
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,.92) 0%, rgba(20,20,20,.78) 32%, rgba(20,20,20,.25) 62%, rgba(20,20,20,0) 100%);
}
.hero-body {
  position: absolute; left: 0; right: 0; bottom: 0; top: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(24px, 4vw, 48px);
}
.hero-title {
  font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: min(calc((100vw - 2 * var(--pad)) / 7.35), 186px); line-height: .82; letter-spacing: -0.035em;
  margin: 0 0 clamp(20px, 3vw, 40px) -0.04em; white-space: nowrap;
}
.hero-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.hero-sub { font-size: clamp(1.125rem, 1.8vw, 1.5rem); line-height: 1.35; font-weight: 500; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Koppen (algemeen) ---------- */
.section-title {
  font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1;
  font-size: clamp(2rem, 5.4vw, 4.5rem); text-wrap: balance;
}
.lead { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); line-height: 1.5; }
.lead strong { font-weight: 800; }

/* ---------- Motto ---------- */
.motto { background: var(--grey); padding: clamp(64px, 10vw, 150px) 0; }
.motto-quote {
  font-weight: 800; font-stretch: 110%; letter-spacing: -0.03em; line-height: .98;
  font-size: clamp(2.35rem, 8vw, 7.6rem); text-wrap: balance; max-width: 16ch;
}
.motto-grid { display: grid; gap: 32px; margin-top: clamp(48px, 7vw, 100px); align-items: end; }
.year {
  font-weight: 900; font-stretch: 125%; line-height: .8; letter-spacing: -0.04em;
  font-size: clamp(5.5rem, 22vw, 15rem); color: var(--blue);
}
.motto-text { display: grid; gap: 20px; max-width: 62ch; }

/* ---------- Werkzaamheden ---------- */
.werk { padding: clamp(64px, 9vw, 130px) 0; }
.werk-list { margin-top: clamp(32px, 5vw, 64px); border-top: 2px solid var(--ink); }
.werk-list li { border-bottom: 1px solid var(--line); position: relative; }
.werk-list li::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 3px; width: 0;
  background: var(--orange); transition: width .35s ease;
}
.werk-list li:hover::after { width: 100%; }
.werk-name {
  display: block; padding: clamp(18px, 2.6vw, 34px) 0;
  font-weight: 800; font-stretch: 112%; letter-spacing: -0.025em; line-height: 1;
  font-size: clamp(2rem, 7.4vw, 6.2rem);
}
.werk-note { margin-top: clamp(28px, 4vw, 52px); font-size: clamp(1.1875rem, 1.9vw, 1.5rem); max-width: 54ch; line-height: 1.45; }
.werk-note strong { font-weight: 800; }

/* ---------- Projecten (BIG) ---------- */
.projecten { padding: 0 0 clamp(64px, 9vw, 130px); }
.proj-list { margin-top: clamp(32px, 5vw, 72px); display: grid; gap: clamp(40px, 6vw, 88px); }
.proj { display: grid; gap: 14px; }
.proj-label {
  display: flex; align-items: baseline; gap: 14px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
}
.proj-no { font-size: 1.5rem; font-weight: 800; font-stretch: 112%; letter-spacing: 0.04em; color: var(--blue); }
.proj-fig { position: relative; background: var(--grey); aspect-ratio: 3 / 2; --span: 140%; }
.proj-clip {
  position: absolute; inset: 0;
  clip-path: polygon(0 0, var(--e) 0, calc(var(--e) - 14%) 100%, 0 100%);
}
.proj-clip img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kwaliteit ---------- */
.kwaliteit { background: var(--grey); padding: clamp(64px, 9vw, 130px) 0; }
.kwal-grid { display: grid; gap: clamp(40px, 6vw, 80px); }
.kwal-text { display: grid; gap: 22px; align-content: start; max-width: 60ch; }
.kwal-text .section-title { margin-bottom: 6px; }
.kwal-marks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; align-content: start; }
.kwal-marks li { display: grid; gap: 12px; align-content: start; font-size: 0.9375rem; line-height: 1.4; }
.kwal-marks img { width: 132px; height: auto; }
.kwal-vca { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 16px; }
.vca-mark {
  display: inline-grid; place-items: center; width: 84px; height: 84px;
  background: var(--blue); color: #fff; font-weight: 900; font-stretch: 125%; font-size: 1.5rem; letter-spacing: 0.02em;
}

/* ---------- Pand (Kvadrat) ---------- */
.pand { background: var(--blue); color: #fff; padding: clamp(28px, 6vw, 96px) 0; }
.pand-frame { width: min(1120px, 100% - 2 * var(--pad)); margin-inline: auto; display: grid; gap: clamp(24px, 4vw, 48px); }
.pand-fig { background: #fff; padding: clamp(8px, 1.4vw, 18px); }
.pand-fig img { width: 100%; height: auto; }
.pand-text { display: grid; gap: 18px; justify-items: start; }
.pand-text h2 {
  font-weight: 800; font-stretch: 112%; letter-spacing: -0.02em; line-height: 1.02;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
}
.pand-text p { font-size: clamp(1.1875rem, 1.9vw, 1.5rem); text-wrap: balance; }

/* ---------- Contact ---------- */
.contact { padding: clamp(64px, 9vw, 130px) 0; }
.contact-grid { display: grid; gap: clamp(40px, 6vw, 88px); }
.contact-info { display: grid; gap: 24px; align-content: start; }
.contact-info p { max-width: 36ch; }
.phone-big a {
  display: inline-block; text-decoration: none;
  font-weight: 900; font-stretch: 118%; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.3rem, 9.4vw, 4.6rem); color: var(--blue); white-space: nowrap;
  background: linear-gradient(var(--orange), var(--orange)) no-repeat 0 100% / 100% 6px; padding-bottom: 8px;
}
.phone-big a:hover { color: var(--ink); }
.contact address { line-height: 1.7; font-size: 1.125rem; }
.contact address a { text-underline-offset: 4px; }

.form { display: grid; gap: 20px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 2px solid var(--ink); border-radius: 0; padding: 14px 16px; width: 100%; min-height: 52px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-color: var(--blue); }
.form .btn { justify-self: start; }
.form-msg { background: var(--grey); border-left: 6px solid var(--orange); padding: 16px 18px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--grey); padding: clamp(40px, 6vw, 72px) 0; }
.footer-in { display: grid; gap: 28px; align-items: end; }
.footer-logo { width: 220px; height: auto; }
.site-footer address { line-height: 1.7; }
.site-footer a { text-underline-offset: 4px; }
.copy { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Breakpoints ---------- */
@media (min-width: 760px) {
  .kwal-marks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kwal-vca { grid-column: auto; flex-direction: column; align-items: flex-start !important; gap: 12px; }
  .footer-in { grid-template-columns: auto 1fr auto; gap: 48px; }
}

@media (min-width: 900px) {
  .proj { grid-template-columns: minmax(180px, 1fr) minmax(0, 2.1fr); gap: 32px; align-items: start; }
  .proj-label { flex-direction: column; gap: 6px; padding-top: 4px; position: sticky; top: calc(var(--header-h) + 24px); }
  .motto-grid { grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); }
  .kwal-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pand-frame { grid-template-columns: 1fr; }
}

@media (max-width: 899px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); background: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .header-in { position: relative; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .topbar-mail { display: none; }
  .brand-v { height: 44px; }
  .brand-name { font-size: 0.625rem; }
  .brand-name strong { font-size: 0.9375rem; }
  .hero-title { font-size: 22.6vw; line-height: .86; white-space: normal; }
  .hero-w { display: block; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-sub { max-width: none; }
  .hero-shade { background: linear-gradient(to top, rgba(20,20,20,.95) 0%, rgba(20,20,20,.84) 45%, rgba(20,20,20,.3) 75%, rgba(20,20,20,0) 100%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
