/* ==========================================================================
   GAPS bv – huisstijl gaps.be (strak en zakelijk, met de oranje bal)
   Uitgeverij: zie uitgeverij.css (wordt enkel op die pagina's geladen)
   ========================================================================== */

/* ---------- Lettertypes (lokaal, geen verbinding met Google) ---------- */
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-500.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora.woff") format("woff"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lora"; src: url("fonts/lora-italic.woff") format("woff"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --inkt: #14171B;
  --inkt-2: #2B3038;
  --grijs: #5A636E;
  --lijn: #E2E5E9;
  --lijn-sterk: #CDD2D8;
  --wit: #FFFFFF;
  --vlak: #F4F5F7;
  --oranje: #F5901E;
  --logo: #F29400;
  --antraciet: #2B2724;
  --antraciet-2: #36312D;
  --oranje-tekst: #A9530A;
  --oranje-zacht: #FFF1E2;
  --petrol: #16595F;
  --bordeaux: #8C2A1E;
  --op-donker: #C9CED5;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --houder: 1240px;
  --rand: clamp(16px, 5vw, 48px);
  --sectie: clamp(64px, 9vw, 120px);
  --r: 6px;
  --r-groot: 12px;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--wit); color: var(--inkt); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01", "cv11"; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; margin: 0; letter-spacing: -0.025em; line-height: 1.08; text-wrap: balance; }
h1 em, h2 em, h3 em { font-style: normal; color: var(--accent-kop, var(--logo)); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--oranje); outline-offset: 3px; border-radius: 4px; }
.visueel-verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.overslaan { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--inkt); color: #fff; padding: 12px 18px; border-radius: var(--r); font-weight: 600; }
.overslaan:focus { top: 12px; }
.testbalk { background: var(--inkt); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 6px; }
.waarschuwing { display: block; background: #B00020; color: #fff; font-size: 12px; padding: 4px 8px; }

.houder { width: 100%; max-width: calc(var(--houder) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sectie { padding-block: var(--sectie); }
.sectie--geen-boven { padding-top: 0; }
.sectie--grijs { background: var(--vlak); }
.sectie--donker { background: var(--inkt); color: #fff; }
.sectie--donker .label { color: var(--oranje); }

/* ---------- Typografie ---------- */
.label { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-label, var(--logo)); line-height: 1.3; }
.label::before { content: ""; width: 18px; height: 2px; background: currentColor; }
.intro { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.55; color: var(--inkt-2); max-width: 62ch; }
.titel-l { font-size: clamp(32px, 4vw, 48px); }
.titel-s { font-size: 20px; letter-spacing: -0.01em; }
.klein { font-size: 15px; color: var(--grijs); }
.lopend { max-width: 70ch; }
.lopend p, .lopend ul { margin-top: 1em; }
.lopend > :first-child { margin-top: 0; }
.lopend h2 { font-size: clamp(22px, 2.2vw, 26px); margin-top: 2.2em; letter-spacing: -0.015em; }
.lopend h3 { font-size: 19px; margin-top: 1.6em; }
.lopend ul { padding-left: 1.2em; }
.lopend li { margin-top: .35em; }
.lopend li::marker { color: var(--oranje-tekst); }
.lopend a, .formulier a, .melding a, .klein a { color: var(--oranje-tekst); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lopend strong { font-weight: 600; }

/* ---------- Knoppen ---------- */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: 13px 22px; border-radius: var(--r); font-weight: 600; font-size: 16px; line-height: 1.25; text-decoration: none; border: 1.5px solid transparent; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; }
.knop--donker { background: var(--inkt); color: #fff; }
.knop--donker:hover { background: var(--inkt-2); }
.knop--oranje { background: var(--oranje); color: var(--inkt); }
.knop--oranje:hover { background: #F7A040; }
.knop--omlijnd { border-color: var(--lijn-sterk); color: var(--inkt); background: transparent; }
.knop--omlijnd:hover { border-color: var(--inkt); }
.knop--tekst { padding: 0; min-height: 0; color: var(--oranje-tekst); text-decoration: underline; text-underline-offset: 4px; }
.knop--breed { width: 100%; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }

/* ---------- Woordmerk ---------- */
.merk { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; line-height: 1; }
.merk__bal { width: 34px; height: 34px; object-fit: contain; flex: none; }
.merk__naam { font-family: var(--display); font-weight: 600; font-size: 25px; letter-spacing: .08em; color: var(--logo); }
.merk__extra { font-size: 14px; font-weight: 500; color: var(--grijs); padding-left: 10px; border-left: 1px solid var(--lijn-sterk); letter-spacing: .01em; }
.voet .merk__naam { color: #fff; }
/* Woordmerk van de uitgeverij (U4), overal gelijk */
.merk--uitgeverij .merk__naam { color: #2A211B; }
.merk--uitgeverij .merk__bal { width: 34px; height: 34px; }
.merk--uitgeverij .merk__extra { font-family: "Lora", Georgia, serif; font-style: italic; font-weight: 400; font-size: 20px; color: #8C2A1E; border-left-color: #CDBE9F; letter-spacing: 0; }

/* ---------- Kop ---------- */
.kop { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--lijn); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); }
.kop__balk { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.kop__logo { text-decoration: none; }
.kop__nav { display: flex; align-items: center; gap: 28px; }
.kop__links { display: flex; list-style: none; gap: 4px; }
.kop__links a { display: block; padding: 10px 14px; border-radius: var(--r); font-weight: 500; font-size: 16px; text-decoration: none; color: var(--inkt-2); }
.kop__links a:hover { color: var(--inkt); background: var(--vlak); }
.kop__links a.actief { color: var(--inkt); box-shadow: inset 0 -2px 0 var(--oranje); border-radius: 0; }
.kop__terug a { color: var(--grijs); font-size: 15px; }
.taalkeuze { display: flex; gap: 2px; padding: 3px; border: 1px solid var(--lijn); border-radius: var(--r); }
.taalkeuze a { display: block; padding: 4px 9px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--grijs); border-radius: 4px; }
.taalkeuze a.actief { background: var(--inkt); color: #fff; }
.kop__menuknop { display: none; width: 44px; height: 44px; border: 1px solid var(--lijn); background: #fff; border-radius: var(--r); align-items: center; justify-content: center; cursor: pointer; }
@media (max-width: 860px) {
  .kop__menuknop { display: inline-flex; }
  .kop__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--lijn); padding: 12px var(--rand) 20px; flex-direction: column; align-items: stretch; gap: 12px; box-shadow: 0 16px 24px rgba(20,23,27,.08); }
  .kop--open .kop__nav { display: flex; }
  .kop__links { flex-direction: column; }
  .kop__links a { padding: 12px 4px; font-size: 18px; border-bottom: 1px solid var(--lijn); border-radius: 0; }
  .kop__links a.actief { box-shadow: inset 3px 0 0 var(--oranje); padding-left: 12px; }
  .taalkeuze { align-self: flex-start; }
}

/* ---------- Homepage ---------- */
.held { display: grid; grid-template-columns: 1fr auto; gap: 32px 64px; align-items: center; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(36px, 4.5vw, 56px); }
.held__titel { font-size: clamp(34px, 4.6vw, 58px); margin: 16px 0 18px; letter-spacing: -0.03em; }
.held__beeld { display: grid; place-items: center; }
.held__bal { width: clamp(150px, 17vw, 220px); aspect-ratio: 1; }
.held__logo { width: 100%; height: 100%; object-fit: contain; }
.feiten { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--lijn); }
.feiten li { padding: 24px 24px 0 0; display: flex; flex-direction: column; gap: 4px; }
.feiten li + li { padding-left: 24px; border-left: 1px solid var(--lijn); }
.feiten strong { font-family: var(--display); font-size: clamp(28px, 3vw, 36px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1; }
.feiten span { color: var(--grijs); font-size: 15px; }
@media (max-width: 860px) {
  .held { grid-template-columns: 1fr; }
  .held__beeld { display: none; } /* op gsm staat de bal al in de kop */
}
@media (max-width: 560px) {
  .feiten { grid-template-columns: 1fr; }
  .feiten li, .feiten li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--lijn); flex-direction: row; align-items: baseline; gap: 12px; }
  .feiten strong { min-width: 96px; font-size: 26px; }
}

.sectiekop { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.wegwijs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wegwijs__kaart { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 0 28px 28px; background: #fff; border: 1px solid var(--lijn); border-radius: var(--r-groot); text-decoration: none; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.wegwijs__kaart:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -20px rgba(20,23,27,.35); }
.wegwijs__merk { display: flex; align-items: center; margin: 0 -28px 12px; padding: 0 28px; height: 104px; background: var(--vlak-merk); color: var(--tekst-merk); }
.wegwijs__kaart--pmm { --vlak-merk: #16595F; --tekst-merk: #fff; --accent-merk: #16595F; }
.wegwijs__kaart--uitgeverij { --vlak-merk: #F6F0E4; --tekst-merk: #2A211B; --accent-merk: #8C2A1E; }
.wegwijs__kaart--gaps { --vlak-merk: var(--antraciet); --tekst-merk: #fff; --accent-merk: var(--antraciet); }
.wegwijs__titel { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -0.015em; line-height: 1.2; }
.wegwijs__tekst { color: var(--grijs); flex: 1; }
.wegwijs__link { font-weight: 600; color: var(--accent-merk); }
.pm-merk { font-family: var(--display); font-weight: 700; font-size: 34px; letter-spacing: -0.045em; line-height: 1; white-space: nowrap; }
.pm-ballon { display: inline-block; width: .26em; height: .29em; vertical-align: -.1em; margin: 0 .04em 0 .05em; }
.bal-inkt { display: inline-block; flex: none; background: #2A211B; -webkit-mask: url("logo-gaps.png") center / contain no-repeat; mask: url("logo-gaps.png") center / contain no-repeat; }
.pm-merk--online .pm-play { width: .34em; height: .34em; vertical-align: -.02em; margin: 0 .06em; }
.pm-online { color: #2F5BD3; letter-spacing: -0.02em; }
.g-merk { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: .02em; color: #fff; }
.g-merk__bal { width: 44px; height: 44px; }
@media (max-width: 860px) { .wegwijs { grid-template-columns: 1fr; } }

.over { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.over__beeld { background: var(--vlak); border-radius: var(--r-groot); padding: 32px 32px 0; border: 1px solid var(--lijn); }
.over__beeld img { margin-inline: auto; max-height: 460px; width: auto; }
.over__tekst { display: flex; flex-direction: column; gap: 20px; }
.over .knop--tekst { color: var(--logo); }
@media (max-width: 860px) { .over { grid-template-columns: 1fr; } .over__beeld { max-width: 420px; } }

.sectie--grijs + .voet, .sectie--donker + .voet { border-top: 0; }
.gegevens-blok { display: grid; grid-template-columns: 4fr 8fr; gap: 40px 64px; }
.gegevens-blok .titel-l { margin-top: 16px; }
.gegevens { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; margin: 0; }
.gegevens > div { padding: 16px 0; border-top: 1px solid var(--lijn-sterk); }
.gegevens dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grijs); }
.gegevens dd { margin: 4px 0 0; }
.gegevens a { text-decoration: none; }
.gegevens a:hover { text-decoration: underline; }
.sectie--donker .gegevens > div { border-color: rgba(255,255,255,.14); }
.sectie--donker .gegevens dt { color: var(--op-donker); }
@media (max-width: 860px) { .gegevens-blok { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .gegevens { grid-template-columns: 1fr; } }

/* ---------- Paginakop ---------- */
.paginakop { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.paginakop--los { padding-bottom: var(--sectie); min-height: 50vh; }
.paginakop__titel { font-size: clamp(36px, 5vw, 60px); letter-spacing: -0.03em; }
.paginakop__datum { color: var(--grijs); font-size: 15px; }

/* ---------- Merken ---------- */
.merken { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.merk-kaart { display: flex; flex-direction: column; gap: 12px; padding: 32px; border: 1px solid var(--lijn); border-radius: var(--r-groot); border-top: 4px solid var(--accent, var(--oranje)); background: #fff; }
.merk-kaart--oranje { --accent: var(--oranje); }
.merk-kaart--petrol { --accent: var(--petrol); }
.merk-kaart--inkt { --accent: var(--inkt); }
.merk-kaart--bordeaux { --accent: var(--bordeaux); }
.merk-kaart--kobalt { --accent: #2F5BD3; }
.merk-kaart__woordmerk { display: flex; align-items: center; min-height: 44px; }
.merk-kaart__woordmerk .pm-merk { font-size: 30px; }
.merk-kaart__rol { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--grijs); }
.merk-kaart__naam { font-size: clamp(24px, 2.4vw, 30px); }
.merk-kaart__tekst { color: var(--inkt-2); flex: 1; max-width: 60ch; }
.merk-kaart__link { font-weight: 600; color: var(--inkt); text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; align-self: flex-start; margin-top: 8px; }
.merk-kaart--groot { grid-column: 1 / -1; background: var(--petrol); border-color: var(--petrol); color: #fff; padding: clamp(32px, 4vw, 48px); }
.merk-kaart--groot .merk-kaart__naam { font-size: clamp(30px, 3.6vw, 44px); }
.merk-kaart--groot .merk-kaart__rol, .merk-kaart--groot .merk-kaart__tekst { color: #DCEBEA; }
.merk-kaart--groot .merk-kaart__link { color: #fff; text-decoration-color: var(--oranje); }
@media (max-width: 760px) { .merken { grid-template-columns: 1fr; } }

/* ---------- Formulieren ---------- */
.contact { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__aside { background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--r-groot); padding: 28px; position: sticky; top: 96px; }
.contact__aside .gegevens { grid-template-columns: 1fr; margin-top: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
.melding { padding: 16px 20px; background: var(--oranje-zacht); border-left: 3px solid var(--oranje); border-radius: 0 var(--r) var(--r) 0; margin-bottom: 32px; font-size: 16px; }
.formulier { display: flex; flex-direction: column; gap: 20px; }
.velden { display: grid; gap: 20px; }
.velden--2 { grid-template-columns: 1fr 1fr; }
.velden--adres { grid-template-columns: 2fr 1fr 1.5fr; }
@media (max-width: 640px) { .velden--2, .velden--adres { grid-template-columns: 1fr; } }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld__label { font-weight: 600; font-size: 15px; }
.veld input, .veld select, .veld textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--lijn-sterk); border-radius: var(--r); background: #fff; font-size: 16px; }
.veld textarea { resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { outline: 2px solid var(--oranje); outline-offset: 0; border-color: var(--oranje); }
.veld [aria-invalid="true"] { border-color: #B00020; }
.veld__fout { color: #B00020; font-size: 14px; font-weight: 600; }
.formulier__fout { padding: 14px 18px; background: #FDECEE; color: #8A0018; border-radius: var(--r); font-weight: 600; }
.formulier__info { font-size: 14px; color: var(--grijs); }
.honing { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.keuzes { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.keuzes legend { margin-bottom: 8px; }
.keuze { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--lijn-sterk); border-radius: var(--r); background: #fff; cursor: pointer; }
.keuze:has(input:checked) { border-color: var(--inkt); box-shadow: inset 0 0 0 1px var(--inkt); }
.keuze input { width: 18px; height: 18px; accent-color: var(--inkt); margin: 0; }
.keuze span:first-of-type { flex: 1; }
.keuze__prijs { font-weight: 600; font-variant-numeric: tabular-nums; }
.vinkje { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.vinkje input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--inkt); }
.vinkje--fout span { color: #8A0018; }
.uitklap summary { cursor: pointer; font-weight: 600; font-size: 15px; padding: 4px 0; }
.uitklap[open] summary { margin-bottom: 16px; }

/* ---------- Tekstpagina (voorwaarden, privacy) ---------- */
.tekstpagina { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.inhoudstafel { position: sticky; top: 96px; max-height: calc(100vh - 120px); overflow: auto; padding: 20px; background: var(--vlak); border-radius: var(--r-groot); font-size: 14px; }
.inhoudstafel__titel { font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: 12px; color: var(--grijs); margin-bottom: 8px; }
.inhoudstafel ol { list-style: none; }
.inhoudstafel a { display: block; padding: 5px 0; text-decoration: none; color: var(--inkt-2); line-height: 1.35; }
.inhoudstafel a:hover { color: var(--oranje-tekst); }
.lopend--lang h2 { scroll-margin-top: 96px; padding-top: 1.4em; border-top: 1px solid var(--lijn); margin-top: 1.4em; }
.lopend--lang h2:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .tekstpagina { grid-template-columns: 1fr; } .inhoudstafel { position: static; max-height: none; } }

/* ---------- Voet ---------- */
.voet { background: var(--antraciet); color: #D8D0C8; font-size: 15px; }
.voet__raster { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-top: 72px; padding-bottom: 48px; }
.voet__merk p { margin-top: 14px; color: #B9AFA6; letter-spacing: .02em; }
.voet__kolom { display: flex; flex-direction: column; gap: 8px; }
.voet__kolom h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.voet a { text-decoration: none; }
.voet a:hover { color: #fff; text-decoration: underline; }
.voet__onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; border-top: 1px solid rgba(255,240,225,.14); font-size: 13px; color: #B9AFA6; }
@media (max-width: 860px) { .voet__raster { grid-template-columns: 1fr 1fr; } .voet__merk { grid-column: 1 / -1; } }
@media (max-width: 480px) { .voet__raster { grid-template-columns: 1fr; } }

/* ---------- Afgeschermde testversie ---------- */
.toegang { display: grid; place-items: center; min-height: 100vh; background: var(--vlak); }
.toegang__vak { background: #fff; padding: 40px; border-radius: var(--r-groot); border: 1px solid var(--lijn); display: flex; flex-direction: column; gap: 16px; width: min(400px, 92vw); }
.toegang__vak label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
.toegang__vak input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--lijn-sterk); border-radius: var(--r); }
