/* Equifin Consulting – opmaak van de website */

/* Lettertypes staan lokaal in /fonts (geen verbinding met Google nodig) */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/ibm-plex-sans.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("../fonts/newsreader.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400 600; font-display: swap; src: url("../fonts/newsreader-italic.woff2") format("woff2"); }

:root {
  --papier: #f6f3ea;
  --papier-2: #efeadc;
  --wit: #fffdf8;
  --inkt: #1c2620;
  --groen: #22332b;
  --goud: #d8b446;
  --goud-donker: #8a6a12;
  --grijs: #5b655f;
  --lijn: #ddd6c5;
  --serif: "Newsreader", "Sitka Heading", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --breedte: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); }
h3 { font-size: 24px; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--breedte); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
.label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--goud-donker); margin-bottom: 14px; display: block;
}
.intro { max-width: 680px; color: var(--grijs); font-size: 19px; margin-top: 18px; }

/* Kop */
header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(34, 51, 43, 0.97); color: var(--wit);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
header.site .wrap { display: flex; align-items: center; gap: 28px; min-height: 68px; flex-wrap: wrap; }
.merk { display: flex; align-items: center; gap: 2px; text-decoration: none; color: var(--wit); padding: 10px 0; margin-right: auto; }
.merk svg { width: 21px; height: 22px; margin-right: 1px; fill: currentColor; }
.merk .naam { font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: 0.06em; line-height: 1; }
.merk .sub { font-size: 11px; letter-spacing: 0.24em; color: var(--goud); margin-left: 12px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,0.25); line-height: 1.6; }
nav.hoofd { display: flex; gap: 26px; flex-wrap: wrap; font-size: 15px; }
nav.hoofd a { text-decoration: none; color: rgba(255,253,248,0.82); padding: 6px 0; border-bottom: 2px solid transparent; }
nav.hoofd a:hover, nav.hoofd a:focus-visible { color: var(--wit); border-bottom-color: var(--goud); }
nav.talen { display: flex; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; border: 1px solid rgba(255,253,248,0.28); border-radius: 3px; overflow: hidden; }
nav.talen a { text-decoration: none; color: rgba(255,253,248,0.78); padding: 5px 10px; }
nav.talen a + a { border-left: 1px solid rgba(255,253,248,0.28); }
nav.talen a:hover, nav.talen a:focus-visible { color: var(--wit); background: rgba(255,253,248,0.10); }
nav.talen a[aria-current] { background: var(--goud); color: var(--inkt); }

/* Hero */
.hero { background: var(--groen); color: var(--wit); padding: 84px 0 150px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -180px; width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(216,180,70,0.16), rgba(216,180,70,0) 68%);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 64px; align-items: center; position: relative; }
.hero .label { color: var(--goud); }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); font-weight: 500; }
.hero h1 em { font-style: italic; color: var(--goud); }
.hero p.lead { font-size: 20px; color: rgba(255,253,248,0.84); max-width: 600px; margin: 26px 0 34px; }
.knoppen { display: flex; gap: 14px; flex-wrap: wrap; }
.knop {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 16px;
  padding: 13px 24px; border-radius: 3px; border: 1.5px solid var(--goud);
}
.knop.vol { background: var(--goud); color: var(--inkt); }
.knop.vol:hover { background: #e4c35e; }
.knop.lijn { color: var(--wit); border-color: rgba(255,253,248,0.45); }
.knop.lijn:hover { border-color: var(--wit); }
.portret { position: relative; justify-self: end; width: 100%; max-width: 360px; }
.portret::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1.5px solid var(--goud); border-radius: 4px; }
.portret img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 55% 20%; border-radius: 4px; }

/* Drie pijlers onder de hero */
.pijlers { margin-top: -86px; position: relative; z-index: 2; padding: 0; }
.pijlers .rij { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--wit); border: 1px solid var(--lijn); border-radius: 6px; box-shadow: 0 18px 40px rgba(28,38,32,0.10); }
.pijler { padding: 32px 34px 30px; border-right: 1px solid var(--lijn); }
.pijler:last-child { border-right: 0; }
.pijler .nr { font-family: var(--serif); font-size: 17px; color: var(--goud-donker); }
.pijler h3 { margin: 4px 0 10px; font-size: 27px; }
.pijler p { margin: 0; color: var(--grijs); font-size: 16px; }

/* Momenten */
.momenten .rij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 48px; }
.moment { border-top: 2px solid var(--inkt); padding-top: 22px; }
.moment h3 { margin-bottom: 12px; }
.moment p { color: var(--grijs); margin: 0; }

/* Aanpak */
.aanpak { background: var(--papier-2); }
.aanpak .rij { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.kaart { background: var(--wit); border: 1px solid var(--lijn); border-radius: 6px; padding: 34px; }
.kaart h3 { margin-bottom: 12px; }
.kaart p { color: var(--grijs); }
.kaart ul { margin: 0; padding: 0; list-style: none; font-size: 16px; }
.kaart li { padding: 9px 0 9px 22px; border-top: 1px solid var(--lijn); position: relative; }
.kaart li::before { content: ""; position: absolute; left: 0; top: 20px; width: 10px; height: 2px; background: var(--goud); }

/* Praktijk: drie voorbeelden */
.cases { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.case { border-top: 2px solid var(--inkt); padding-top: 22px; }
.case .thema { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goud-donker); font-weight: 600; display: block; }
.case .getal { font-family: var(--serif); font-size: 38px; line-height: 1.1; color: var(--inkt); display: flex; align-items: flex-end; min-height: 2.2em; margin-top: 6px; }
.case .eenheid { font-size: 14px; color: var(--grijs); display: block; margin-top: 4px; }
.case h3 { font-size: 22px; margin: 22px 0 10px; padding-top: 20px; border-top: 1px solid var(--lijn); }
.case p { margin: 0; color: var(--grijs); font-size: 16px; }

/* Hoe ik werk */
.werkwijze { background: var(--groen); color: var(--wit); }
.werkwijze .label { color: var(--goud); }
.werkwijze .rij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 48px; margin-top: 44px; }
.principe { padding: 30px 0; border-top: 1px solid rgba(255,253,248,0.18); }
.principe h3 { font-size: 26px; font-style: italic; color: var(--goud); margin-bottom: 12px; }
.principe p { margin: 0; color: rgba(255,253,248,0.84); }

/* Beveiliging */
.beveiliging { background: var(--papier-2); }
.beveiliging .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.beveiliging h2 { font-size: clamp(28px, 3.4vw, 38px); }
.beveiliging p { color: var(--grijs); font-size: 18px; }
.knop.lijn-donker { color: var(--inkt); border-color: var(--inkt); margin-top: 8px; }
.knop.lijn-donker:hover { background: var(--inkt); color: var(--wit); }
footer a { color: inherit; }
footer a:hover { color: var(--wit); }

/* Samenwerken */
.vormen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.vorm { border: 1px solid var(--lijn); border-top: 3px solid var(--goud); background: var(--wit); border-radius: 0 0 6px 6px; padding: 30px; }
.vorm h3 { margin-bottom: 12px; }
.vorm p { margin: 0; color: var(--grijs); font-size: 16px; }
.praktisch { margin-top: 28px; color: var(--grijs); font-size: 16px; }

/* Over mij */
.over { background: var(--papier-2); }
.over .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.over img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 70% 30%; border-radius: 4px; }
.over h2 { margin-bottom: 22px; }
.feiten { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--lijn); font-size: 16px; }
.feiten li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--lijn); }
.feiten .k { color: var(--grijs); }

/* Inzichten (aan te zetten in site.json: "showInsights": true) */
.inzichten .rij { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.inzicht { display: block; text-decoration: none; background: var(--wit); border: 1px solid var(--lijn); border-radius: 6px; padding: 28px; transition: border-color .15s, transform .15s; }
.inzicht:hover { border-color: var(--goud-donker); transform: translateY(-2px); }
.inzicht .thema { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goud-donker); font-weight: 600; }
.inzicht h3 { margin: 10px 0 10px; font-size: 23px; }
.inzicht p { margin: 0; color: var(--grijs); font-size: 16px; }
.inzicht .meer { display: inline-block; margin-top: 16px; font-size: 15px; font-weight: 600; color: var(--inkt); }

/* Contact */
.contact { background: var(--groen); color: var(--wit); }
.contact .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: center; }
.contact .label { color: var(--goud); }
.contact h2 { font-size: clamp(32px, 4.4vw, 50px); }
.contact p { color: rgba(255,253,248,0.84); font-size: 19px; margin-top: 20px; max-width: 520px; }
.gegevens { list-style: none; margin: 0; padding: 0; }
.gegevens li { padding: 18px 0; border-top: 1px solid rgba(255,253,248,0.18); display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; }
.gegevens li:last-child { border-bottom: 1px solid rgba(255,253,248,0.18); }
.gegevens .k { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--goud); }
.gegevens a { font-family: var(--serif); font-size: 24px; text-decoration: none; }
.gegevens a:hover { text-decoration: underline; text-decoration-color: var(--goud); }

footer { background: #18231d; color: rgba(255,253,248,0.62); font-size: 14px; padding: 26px 0; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Pagina niet gevonden */
.nietgevonden .hero { min-height: 100vh; padding: 120px 0; }
.nietgevonden .hero .wrap { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 1020px) {
  nav.hoofd { order: 3; flex-basis: 100%; gap: 18px; padding-bottom: 12px; margin-top: -6px; }
}

@media (max-width: 920px) {
  section { padding: 64px 0; }
  .hero { padding: 56px 0 130px; }
  .hero .wrap, .over .wrap, .contact .wrap, .beveiliging .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .beveiliging .wrap { gap: 20px; }
  .portret { justify-self: start; max-width: 280px; }
  .pijlers .rij, .momenten .rij, .aanpak .rij, .cases, .werkwijze .rij, .vormen, .inzichten .rij { grid-template-columns: minmax(0, 1fr); }
  .pijler { border-right: 0; border-bottom: 1px solid var(--lijn); }
  .pijler:last-child { border-bottom: 0; }
  .momenten .rij { gap: 32px; }
  .case .getal { min-height: 0; margin-top: 14px; }
  .over img { max-width: 320px; }
  .feiten li { grid-template-columns: 110px 1fr; }
  .gegevens a { font-size: 20px; overflow-wrap: anywhere; }
  .merk .sub { display: none; }
}
