/* ==========================================================
   De Deurenhanger — Timmer- en Renovatiebedrijf De Weerd
   Huisstijl: antraciet #26292C + geel #FEF200 (zelfde tint als de vorige website)
   ========================================================== */

/* ---------- Lettertypes (lokaal, geen externe verzoeken) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }

/* ---------- Kleuren en maten ---------- */
:root {
  --ink: #26292C;        /* antraciet */
  --graphite: #3A3E42;   /* grafiet */
  --stone: #555A5F;      /* steengrijs, bijtekst */
  --yellow: #FEF200;     /* scharniergeel */
  --paper: #F6F4F0;      /* kalkwit */
  --sand: #E9E6E0;       /* zand */
  --line: #E0DCD4;
  --white: #FFFFFF;
  --muted-on-dark: #C9CCCF;
  --text-on-dark: #D9DBDD;

  --font-head: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --container: 1200px;
  --gutter: 24px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; margin: 0; }
h3 { font-weight: 700; }
p { margin: 0; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

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

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); padding: 10px 16px;
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* ---------- Typografische hulpklassen ---------- */
.eyebrow {
  font-family: var(--font-head); font-size: 14px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone);
}
.eyebrow--accent { color: var(--yellow); }
.lead { font-size: 21px; font-weight: 500; line-height: 1.6; }
.text-muted { color: var(--graphite); }

.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.06; }
.h1--hero { font-size: clamp(40px, 6vw, 68px); line-height: 1.04; letter-spacing: -0.01em; }
.h2 { font-size: clamp(28px, 4vw, 44px); }
.h2--sm { font-size: clamp(26px, 3.2vw, 36px); }

/* Scharnierlijn: geel – licht/donker – geel */
.hinge { display: flex; gap: 4px; }
.hinge span { width: 32px; height: 6px; background: var(--yellow); }
.hinge span:nth-child(2) { background: var(--paper); }
.hinge--small span { width: 20px; height: 4px; }
.hinge--dark span:nth-child(2) { background: var(--ink); }

/* ---------- Knoppen en links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 14px 24px;
  font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.btn--primary:hover { background: #F2E600; border-color: #F2E600; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--outline-light { border-color: var(--paper); color: var(--paper); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--dark:hover { background: #000; border-color: #000; color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-accent {
  font-family: var(--font-head); font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-color: var(--yellow);
  text-decoration-thickness: 3px; text-underline-offset: 6px;
}

/* ---------- Bovenbalk ---------- */
.topbar { background: var(--ink); color: var(--muted-on-dark); font-size: 14px; }
.topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 10px; padding-bottom: 10px; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.topbar a { color: var(--paper); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--paper); }

/* ---------- Header en menu ---------- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand img { width: 48px; height: 48px; }
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: 0.02em; line-height: 1; }
.brand__sub { font-size: 12px; color: var(--stone); margin-top: 4px; line-height: 1.3; }

.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 8px; }
.nav .btn { padding: 12px 20px; min-height: 44px; font-size: 16px; }
.nav .btn:hover { text-decoration: none; }

.nav-toggle {
  display: none; align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  background: transparent; border: 2px solid var(--ink); color: var(--ink);
  font-family: var(--font-head); font-weight: 700; font-size: 16px; cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-top: 8px; }
  .js .nav.is-open { display: flex; }
  .js .nav a { padding: 14px 0; border-top: 1px solid var(--line); }
  .js .nav .btn { justify-content: center; margin-top: 12px; border-top: 0; }
}

@media (max-width: 480px) {
  .site-header .container { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .brand { gap: 10px; }
  .brand img { width: 40px; height: 40px; }
  .brand__name { font-size: 17px; }
  .brand__sub { font-size: 11px; }
  .nav-toggle { padding: 8px 10px; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* ---------- Secties ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--accent { background: var(--yellow); color: var(--ink); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 56px 0; }
}

/* ---------- Hero (home) ---------- */
.hero { background: var(--ink); color: var(--paper); }
.hero .container { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 88px; padding-bottom: 88px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__text p { font-size: 19px; color: var(--text-on-dark); max-width: 540px; }
.hero__visual { flex: 1 1 400px; min-width: 0; position: relative; }
.hero__art { background: var(--graphite); aspect-ratio: 10 / 11; max-height: 460px; width: 100%; display: flex; align-items: center; justify-content: center; }
.hero__art img { width: 100%; height: 100%; object-fit: contain; }
.badge {
  position: absolute; left: -16px; bottom: -16px;
  background: var(--yellow); color: var(--ink); padding: 18px 22px;
  display: flex; flex-direction: column;
}
.badge strong { font-family: var(--font-head); font-size: 36px; font-weight: 800; line-height: 1; }
.badge span { font-size: 14px; font-weight: 600; }

@media (max-width: 640px) {
  .hero .container { padding-top: 56px; padding-bottom: 64px; gap: 40px; }
  .badge { left: 0; bottom: -12px; }
}

/* ---------- Paginakop (overige pagina's) ---------- */
.page-hero { background: var(--ink); color: var(--paper); }
.page-hero .container { display: flex; flex-direction: column; gap: 20px; padding-top: 56px; padding-bottom: 72px; }
.page-hero h1 { max-width: 820px; }
.page-hero p { font-size: 19px; color: var(--text-on-dark); max-width: 640px; }
.breadcrumb { font-size: 14px; color: var(--muted-on-dark); }
.breadcrumb a { color: var(--muted-on-dark); }
.breadcrumb a:hover { color: var(--paper); }

/* ---------- Kernpunten ---------- */
.usps { background: var(--sand); }
.usps ul { list-style: none; margin: 0 auto; padding-top: 36px; padding-bottom: 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.usps li, .check { display: flex; gap: 14px; align-items: flex-start; font-weight: 600; font-size: 16px; line-height: 1.4; }
.usps svg, .check svg { width: 28px; height: 28px; flex: none; }

/* ---------- Kaarten ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.card { background: var(--white); padding: 32px; display: flex; flex-direction: column; gap: 16px; border-top: 6px solid var(--yellow); }
.card > svg { width: 44px; height: 44px; }
.card h3, .card h2 { font-size: 24px; font-weight: 700; }
.card--sm h3 { font-size: 21px; }
.card p { font-size: 16px; color: var(--graphite); }
.card .link-accent, .card .btn { margin-top: auto; align-self: flex-start; }
.card__value { font-size: 22px; font-weight: 600; color: var(--ink) !important; overflow-wrap: anywhere; }

/* Klustegels (overige diensten) */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; list-style: none; margin: 40px 0 0; padding: 0; }
.tile { background: var(--white); padding: 28px; display: flex; align-items: center; gap: 20px; border-left: 6px solid var(--yellow); }
.tile svg { width: 44px; height: 44px; flex: none; }
.tile h2 { font-size: 21px; font-weight: 700; line-height: 1.25; }

/* ---------- Twee kolommen ---------- */
.split { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.split--top { align-items: flex-start; }
.split__main { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split__side { flex: 1 1 340px; min-width: 0; }
.split__main .btn { align-self: flex-start; }

/* Feitenblok */
.facts { background: var(--ink); color: var(--paper); padding: 40px; display: flex; flex-direction: column; gap: 28px; margin: 0; }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts div + div { border-top: 1px solid var(--graphite); padding-top: 28px; }
.facts dt { font-family: var(--font-head); font-size: 52px; font-weight: 800; line-height: 1; color: var(--yellow); }
.facts dd { margin: 0; font-size: 16px; color: var(--text-on-dark); }

/* ---------- Oproepbalk ---------- */
.cta .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.cta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cta__text h2 { font-size: clamp(28px, 3.6vw, 40px); }

/* Specialiteit-balk */
.band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.band__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Wij werken voor */
.checks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.checks .check { font-size: 18px; align-items: center; }

/* ---------- Lopende tekst (privacy) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.prose p { color: var(--graphite); margin-bottom: 16px; }
.prose p:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--muted-on-dark); font-size: 15px; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; line-height: 1.6; }
.footer-title { font-family: var(--font-head); font-weight: 700; color: var(--paper); letter-spacing: 0.12em; font-size: 13px; text-transform: uppercase; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 40px; height: 40px; }
.footer-brand span { font-family: var(--font-head); font-size: 18px; font-weight: 800; letter-spacing: 0.02em; color: var(--paper); }
.site-footer a { color: var(--paper); }
.site-footer address { font-style: normal; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--muted-on-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--paper); text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--graphite); padding-top: 24px; font-size: 13px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.footer-bottom a { color: var(--muted-on-dark); }

/* ---------- 404 ---------- */
.notfound { min-height: 50vh; display: flex; align-items: center; }
.notfound .container { display: flex; flex-direction: column; gap: 24px; padding-top: 96px; padding-bottom: 96px; }

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