/* BureauPartners, huisstijl: zie grivos-agents/merken/bureaupartners/brand/tokens.yaml */
@font-face { font-family: "Vesterbro"; src: url("../fonts/Vesterbro-Poster.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/DMSans-Bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --navy: #0D172D;
  --navy-2: #15213D;
  --salie: #A4BBB8;
  --salie-licht: #E4ECEB;
  --salie-donker: #5F7D78;
  --lei: #5A6577;
  --lijn: #D3DBDA;
  --wit: #FFFFFF;
  --kop: "Vesterbro", Georgia, "Times New Roman", serif;
  --tekst: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --breed: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--wit); color: var(--navy); font: 400 1.0625rem/1.65 var(--tekst); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--salie); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--salie); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { margin: 0 0 .5em; line-height: 1.08; font-weight: 700; }
h1, h2 { font-family: var(--kop); letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.75rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-family: var(--tekst); font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.55; color: var(--lei); max-width: 38em; }

.wrap { width: 100%; max-width: var(--breed); margin: 0 auto; padding: 0 var(--gutter); }
.sectie { padding: clamp(64px, 10vw, 120px) 0; }
.sectie--licht { background: var(--salie-licht); }
.sectie--navy { background: var(--navy); color: var(--wit); }
.sectie--navy .lead, .sectie--navy p { color: var(--salie-licht); }

/* Label met motief: het schuine blokje uit het logo */
.label { display: inline-flex; align-items: center; gap: .7em; margin: 0 0 1.25em; font: 500 .8rem/1 var(--tekst); letter-spacing: .14em; text-transform: uppercase; color: var(--lei); }
.label::before, .motief::before { content: ""; width: 9px; height: 26px; background: var(--salie); clip-path: polygon(0 14%, 100% 0, 100% 86%, 0 100%); flex: none; }
.sectie--navy .label, .hero .label { color: var(--salie); }

/* Knoppen */
.knop { display: inline-flex; align-items: center; gap: .6em; padding: .95em 1.5em; border-radius: 2px; font: 500 1rem/1 var(--tekst); text-decoration: none; transition: background .15s, color .15s, border-color .15s; border: 1.5px solid transparent; }
.knop--primair { background: var(--navy); color: var(--wit); }
.knop--primair:hover { background: var(--navy-2); }
.knop--licht { background: var(--salie); color: var(--navy); }
.knop--licht:hover { background: var(--salie-licht); }
.knop--rand { border-color: currentColor; color: inherit; }
.knop--rand:hover { background: rgba(164, 187, 184, .18); }
.knop .pijl { transition: transform .15s; }
.knop:hover .pijl { transform: translateX(3px); }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Kop */
.kop { position: absolute; inset: 0 0 auto; z-index: 10; padding: 24px 0; }
.kop .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.kop__logo { width: 112px; flex: none; }
.kop--licht { position: static; border-bottom: 1px solid var(--lijn); }
.nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 36px); }
.nav a { font-weight: 500; text-decoration: none; font-size: .98rem; }
.nav a:not(.knop):hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--salie); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.kop--donker { color: var(--wit); }
.nav .knop { padding: .75em 1.2em; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--wit); padding: clamp(150px, 20vw, 210px) 0 clamp(80px, 11vw, 140px); }
.hero::after { content: ""; position: absolute; top: -10%; right: max(4vw, calc((100vw - var(--breed)) / 2 + 20px)); width: clamp(140px, 22vw, 300px); height: 120%; background: var(--navy-2); clip-path: polygon(0 14%, 100% 0, 100% 86%, 0 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 13em; }
.hero .lead { color: var(--salie-licht); }
.hero--sub { padding: clamp(140px, 17vw, 180px) 0 clamp(64px, 8vw, 96px); }
.hero--sub h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); max-width: 16em; }

/* Kaarten en rasters */
.raster { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.raster--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.kaart { background: var(--wit); padding: clamp(24px, 3vw, 36px); border: 1px solid var(--lijn); }
.sectie--licht .kaart { border-color: transparent; }
.kaart h3 { margin-bottom: .6em; }
.kaart p:last-child, .kaart ul:last-child { margin-bottom: 0; }
.kaart .vragen { list-style: none; padding: 0; margin: 1.1em 0 0; color: var(--lei); font-style: italic; }
.kaart .vragen li { padding: .5em 0; border-top: 1px solid var(--lijn); }

.kop-sectie { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 44em; }

/* Waarom: genummerde punten */
.punten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px); }
.punt { border-top: 1.5px solid var(--navy); padding-top: 20px; }
.punt p { color: var(--lei); margin: 0; }

/* Werkwijze */
.stappen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; counter-reset: stap; }
.stap { counter-increment: stap; position: relative; padding: 0 24px 0 0; }
.stap::before { content: counter(stap); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid currentColor; font-weight: 700; margin-bottom: 20px; background: inherit; position: relative; z-index: 1; }
.stap:first-child::before { background: var(--salie); border-color: var(--salie); color: var(--navy); }
.stap::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--salie); opacity: .6; }
.stap:last-child::after { display: none; }
.stap h3 { margin-bottom: .4em; }
.stap p { font-size: .98rem; }
.sectie--navy .stap p { color: var(--salie-licht); }

/* Diensten */
.dienst { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) 190px; gap: 16px 40px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--lijn); align-items: start; }
.dienst:last-child { border-bottom: 1px solid var(--lijn); }
.dienst h3 { font-family: var(--kop); font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1.12; margin: 0; }
.dienst p { margin: 0 0 .8em; color: var(--lei); }
.dienst ul { margin: 0; padding-left: 1.2em; color: var(--lei); }
.dienst ul li { margin-bottom: .3em; }
.dienst ul li::marker { color: var(--salie-donker); }
.prijs { white-space: nowrap; text-align: right; }
.prijs strong { display: block; font: 700 1.6rem/1.1 var(--kop); }
.prijs span { font-size: .85rem; color: var(--lei); }
.voetnoot { margin-top: 24px; font-size: .9rem; color: var(--lei); }

/* Over */
.verhaal { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.verhaal__tekst p { font-size: 1.1rem; }
.feiten { background: var(--salie-licht); padding: clamp(24px, 3vw, 36px); position: sticky; top: 24px; }
.feiten dl { margin: 0; }
.feiten dt { font: 500 .78rem/1.2 var(--tekst); letter-spacing: .12em; text-transform: uppercase; color: var(--lei); margin-top: 18px; }
.feiten dt:first-child { margin-top: 0; }
.feiten dd { margin: 4px 0 0; font-weight: 500; }

/* Klanten: typografische lijst, geen logo's */
.klanten { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35em 0; font: 700 clamp(1.35rem, 2.6vw, 2rem)/1.35 var(--kop); }
.klanten li { display: inline-flex; align-items: baseline; }
.klanten li:not(:last-child)::after { content: ""; display: inline-block; width: .22em; height: .62em; margin: 0 .55em; background: var(--salie-donker); clip-path: polygon(0 14%, 100% 0, 100% 86%, 0 100%); }

/* Contact */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(24px, 4vw, 48px); }
.contact h3 { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--lei); margin-bottom: .9em; }
.contact .groot { font: 700 clamp(1.4rem, 2.6vw, 1.9rem)/1.2 var(--kop); display: inline-block; margin-bottom: .3em; text-decoration: none; }
.contact .groot:hover { text-decoration: underline; text-decoration-color: var(--salie); }
.contact address { font-style: normal; }

/* Afsluitende oproep */
.oproep { background: var(--salie); color: var(--navy); }
.oproep .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; }
.oproep h2 { margin: 0 0 .25em; }
.oproep p { margin: 0; max-width: 34em; }

/* Lopende tekst (privacy) */
.prose { max-width: 42em; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }

/* Voet */
.voet { background: var(--navy); color: var(--salie-licht); padding: clamp(56px, 7vw, 80px) 0 32px; font-size: .95rem; }
.voet__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; }
.voet__logo { width: 130px; margin-bottom: 18px; }
.voet h4 { margin: 0 0 12px; font: 500 .78rem/1.2 var(--tekst); letter-spacing: .14em; text-transform: uppercase; color: var(--salie); }
.voet ul { list-style: none; margin: 0; padding: 0; }
.voet li { margin-bottom: 6px; }
.voet a { text-decoration: none; }
.voet a:hover { text-decoration: underline; }
.voet address { font-style: normal; }
.voet__onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(164, 187, 184, .25); font-size: .85rem; color: var(--salie); }
.slogan { font-style: italic; }

.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.overslaan { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--salie); color: var(--navy); padding: 10px 16px; font-weight: 500; }
.overslaan:focus { top: 12px; }

@media (max-width: 860px) {
  .punten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voet__raster { grid-template-columns: 1fr 1fr; }
  .dienst { grid-template-columns: 1fr; gap: 12px; }
  .prijs { text-align: left; }
  .verhaal { grid-template-columns: 1fr; }
  .feiten { position: static; }
  .stap { padding: 0 0 32px 64px; }
  .stap::before { position: absolute; left: 0; top: 0; margin: 0; }
  .stap::after { top: 44px; bottom: 0; left: 22px; right: auto; width: 1px; height: auto; }
}
@media (max-width: 640px) {
  .punten { grid-template-columns: 1fr; }
  .nav { gap: 18px; }
  .nav .knop { display: none; }
  .nav a { font-size: .95rem; }
  .kop__logo { width: 92px; }
  .voet__raster { grid-template-columns: 1fr; }
  .hero::after { opacity: .55; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
