/* ==========================================================================
   Vedder Keuringen – opmaak van de website
   De kleuren en maten staan hieronder bij elkaar. Pas je hier iets aan,
   dan verandert het overal op de site.
   ========================================================================== */

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

:root {
  /* Huisstijlkleuren */
  --grafiet: #1F2427;
  --wit: #FFFFFF;
  --papier: #F6F7F4;
  --steen: #DCDFD8;
  --tekst-zacht: #3A4246;
  --tekst-label: #4A5357;
  --signaalgeel: #F3C316;
  --keurgroen: #17633F;
  --keurgroen-donker: #0F4A2E;
  --afkeurrood: #B3261E;
  --op-donker: #D5DAD7;
  --op-donker-label: #AEB6B2;

  --breedte: 1240px;
  --radius-knop: 4px;
  --radius-paneel: 8px;
  --radius-sticker: 22px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--papier);
  color: var(--grafiet);
  font-family: "Archivo", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--keurgroen); }
a:hover { color: var(--keurgroen-donker); }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--signaalgeel);
  outline-offset: 3px;
}

.wide { font-stretch: 115%; }

.container { max-width: var(--breedte); margin: 0 auto; padding: 0 24px; }

.skiplink {
  position: absolute; left: 16px; top: -60px;
  background: var(--grafiet); color: var(--wit);
  padding: 12px 16px; border-radius: var(--radius-knop); z-index: 10;
}
.skiplink:focus { top: 16px; }

/* ---------- Koppen ---------- */
h1, h2, h3 { margin: 0; }
.kop-xl {
  font-stretch: 115%; font-weight: 850;
  font-size: clamp(40px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.025em;
  max-width: 12ch; margin-bottom: 28px;
}
.kop-l {
  font-stretch: 115%; font-weight: 850;
  font-size: clamp(32px, 4vw, 52px); line-height: 1.02; letter-spacing: -0.02em;
}
.kop-m { font-size: 21px; font-weight: 750; line-height: 1.3; }
.intro { font-size: 20px; color: var(--tekst-zacht); max-width: 34em; margin: 0 0 36px; }

/* ---------- Knoppen ---------- */
.knoppen { display: flex; flex-wrap: wrap; gap: 14px; }
.knop {
  display: inline-flex; align-items: center; min-height: 52px;
  padding: 14px 28px; border-radius: var(--radius-knop);
  font: inherit; font-size: 18px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.knop-primair { background: var(--keurgroen); color: var(--wit); }
.knop-primair:hover { background: var(--keurgroen-donker); color: var(--wit); }
.knop-rand { border-color: var(--grafiet); color: var(--grafiet); background: transparent; }
.knop-rand:hover { background: var(--grafiet); color: var(--wit); }
.knop-donker { background: var(--grafiet); color: var(--wit); }
.knop-donker:hover { background: #000; color: var(--wit); }
.knop-geel { background: var(--signaalgeel); color: var(--grafiet); }
.knop-geel:hover { background: #E0B200; color: var(--grafiet); }
.knop-klein { min-height: 44px; padding: 10px 20px; font-size: 16px; }

/* ---------- Kop van de pagina ---------- */
.site-kop { border-bottom: 1px solid var(--steen); background: var(--papier); }
.site-kop .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 18px; padding-bottom: 18px;
}
.site-kop .logo img { height: 52px; width: auto; }
.menu { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 16px; }
.menu a:not(.knop) { color: var(--grafiet); text-decoration: none; padding: 10px 0; }
.menu a:not(.knop):hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) {
  .site-kop .logo img { height: 42px; }
  .menu { gap: 4px 18px; font-size: 15px; }
}

/* ---------- Hero met keuringssticker ---------- */
.hero .container {
  display: flex; flex-wrap: wrap; align-items: center; gap: 64px;
  padding-top: 88px; padding-bottom: 104px;
}
.hero-tekst { flex: 1 1 520px; min-width: 0; }
.hero-sticker { flex: 0 1 420px; display: flex; justify-content: center; padding: 24px 0; }
.hero { overflow-x: clip; }
@media (max-width: 640px) {
  .hero .container { padding-top: 48px; padding-bottom: 64px; gap: 32px; }
}

.sticker {
  width: 360px; max-width: 100%;
  background: var(--wit); border: 1px solid var(--steen); border-radius: var(--radius-sticker);
  overflow: hidden; transform: rotate(-5deg);
  box-shadow: 0 1px 0 var(--steen), 0 18px 40px rgba(31, 36, 39, .16);
}
@media (prefers-reduced-motion: no-preference) {
  .sticker { animation: plak .7s cubic-bezier(.2, .9, .3, 1.2) .2s both; }
}
@keyframes plak {
  from { transform: rotate(-14deg) scale(1.08); opacity: 0; }
  to   { transform: rotate(-5deg) scale(1); opacity: 1; }
}
.sticker-kop { background: var(--keurgroen); color: var(--wit); padding: 26px 28px 22px; display: flex; align-items: center; gap: 16px; }
.sticker-kop svg { flex: none; }
.sticker-titel { font-stretch: 115%; font-weight: 850; font-size: 34px; line-height: 1; }
.sticker-norm { font-size: 15px; opacity: .9; margin-top: 4px; }
.sticker-body { padding: 22px 28px 26px; }
.sticker-label { font-size: 14px; color: var(--tekst-label); margin-bottom: 10px; }
.maanden { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.maanden li {
  text-align: center; font-weight: 700; font-size: 15px; padding: 6px 0;
  border: 1.5px solid var(--steen); border-radius: var(--radius-knop); color: var(--tekst-label);
}
.maanden li.actief { background: var(--signaalgeel); border-color: var(--grafiet); color: var(--grafiet); font-weight: 800; }
.sticker-voet { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.sticker-jaar { font-stretch: 115%; font-weight: 850; font-size: 40px; line-height: 1; }
.sticker-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--tekst-label); }
.sticker-item img { width: 44px; height: 44px; }

@media (max-width: 640px) {
  .sticker { width: 300px; }
  .sticker-kop { padding: 22px 22px 18px; gap: 12px; }
  .sticker-kop svg { width: 40px; height: 40px; }
  .sticker-titel { font-size: 28px; }
  .sticker-body { padding: 18px 22px 22px; }
  .sticker-jaar { font-size: 34px; }
}

/* ---------- Secties ---------- */
.sectie { padding: 96px 0; }
.sectie-wit { background: var(--wit); border-top: 1px solid var(--steen); border-bottom: 1px solid var(--steen); }
@media (max-width: 640px) { .sectie { padding: 64px 0; } }
.sectie-kop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.sectie-kop .kop-l { max-width: 14ch; }
.sectie-kop p { margin: 0; max-width: 30em; color: var(--tekst-zacht); }

/* ---------- Keurlijst (diensten + tarieven) ---------- */
.keurlijst { width: 100%; border-collapse: collapse; border-top: 2px solid var(--grafiet); }
.keurlijst th { text-align: left; font-size: 14px; font-weight: 600; color: var(--tekst-label); padding: 14px 24px 14px 0; border-bottom: 1px solid var(--steen); }
.keurlijst td { padding: 26px 24px 26px 0; border-bottom: 1px solid var(--steen); vertical-align: top; }
.keurlijst .dienst { font-weight: 750; font-size: 21px; margin-bottom: 4px; }
.keurlijst .uitleg { color: var(--tekst-zacht); max-width: 36em; }
.keurlijst .norm { font-weight: 700; white-space: nowrap; }
.keurlijst .prijs { font-weight: 750; }
.keurlijst .staffel { font-size: 15px; color: var(--tekst-label); }
.keurlijst-noot { margin: 24px 0 0; font-size: 15px; color: var(--tekst-label); }
@media (max-width: 760px) {
  .keurlijst thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .keurlijst, .keurlijst tbody, .keurlijst tr, .keurlijst td { display: block; width: 100%; }
  .keurlijst tr { padding: 22px 0; border-bottom: 1px solid var(--steen); }
  .keurlijst td { border: 0; padding: 4px 0; }
  .keurlijst td.norm::before { content: "Norm: "; font-weight: 400; color: var(--tekst-label); }
}

/* ---------- Werkwijze ---------- */
.stappen { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.stappen li { border-top: 2px solid var(--grafiet); padding-top: 18px; }
.stap-nr { font-stretch: 115%; font-weight: 850; font-size: 40px; color: var(--keurgroen); line-height: 1; margin-bottom: 14px; }
.stappen h3 { margin-bottom: 8px; }
.stappen p { margin: 0; color: var(--tekst-zacht); }

/* ---------- Veilig Verenigen: het gele vlak ---------- */
.verenigen { background: var(--signaalgeel); }
.verenigen .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.verenigen-tekst { flex: 1 1 480px; min-width: 0; }
.verenigen-tekst .vv-logo { height: 60px; width: auto; margin-bottom: 32px; }
.verenigen-tekst .kop-l { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; max-width: 13ch; margin-bottom: 24px; }
.verenigen-tekst p { font-size: 19px; max-width: 32em; margin: 0 0 18px; }
.verenigen-tekst .knoppen { margin-top: 32px; }
.pakket { flex: 1 1 380px; min-width: 0; background: var(--wit); border: 2px solid var(--grafiet); border-radius: var(--radius-paneel); padding: 32px; }
.pakket h3 { font-stretch: 115%; font-size: 24px; font-weight: 850; margin-bottom: 6px; }
.pakket .pakket-prijs { margin: 0 0 22px; color: var(--tekst-zacht); }
.vinkjes { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.vinkjes li { display: flex; gap: 14px; align-items: flex-start; }
.vinkjes svg { flex: none; margin-top: 2px; }

/* ---------- Waarom ---------- */
.waarom { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px 48px; margin-top: 48px; }
.waarom h3 { margin-bottom: 8px; }
.waarom p { margin: 0; color: var(--tekst-zacht); }

/* ---------- Contact ---------- */
.contact { background: var(--grafiet); color: var(--papier); }
.contact .container { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-tekst { flex: 1 1 380px; min-width: 0; }
.contact-tekst .kop-l { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; margin-bottom: 20px; }
.contact-tekst p { font-size: 19px; color: var(--op-donker); max-width: 28em; margin: 0 0 32px; }
.gegevens { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 14px 24px; font-size: 18px; }
.gegevens dt { color: var(--op-donker-label); }
.gegevens dd { margin: 0; font-weight: 700; }
.gegevens a { color: var(--wit); }
.gegevens a:hover { color: var(--signaalgeel); }

.formulier { flex: 1 1 520px; min-width: 0; background: var(--wit); color: var(--grafiet); border-radius: var(--radius-paneel); padding: 32px; }
.formulier h3 { font-stretch: 115%; font-size: 24px; font-weight: 850; margin-bottom: 20px; }
.velden { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.veld { display: flex; flex-direction: column; gap: 6px; }
.veld-breed { grid-column: 1 / -1; }
@media (max-width: 560px) { .velden { grid-template-columns: 1fr; } .formulier { padding: 24px; } }
.veld label, .veld legend { font-size: 15px; font-weight: 600; }
.veld .optioneel { font-weight: 400; color: var(--tekst-label); }
.veld input, .veld select, .veld textarea {
  font: inherit; font-size: 17px; color: var(--grafiet);
  border: 1.5px solid #8A928E; border-radius: var(--radius-knop);
  padding: 12px 14px; min-height: 48px; background: var(--wit); width: 100%;
}
.veld textarea { min-height: 140px; resize: vertical; }
.veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--grafiet); }
.veld [aria-invalid="true"] { border-color: var(--afkeurrood); }
.veld .fout { font-size: 14px; color: var(--afkeurrood); min-height: 0; }
.veld .akkoord { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 400; }
.akkoord input { width: 22px; height: 22px; min-height: 0; margin: 2px 0 0; flex: none; accent-color: var(--keurgroen); }
.lokveld { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulier-voet { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 22px; }
.status { margin: 18px 0 0; padding: 14px 16px; border-radius: var(--radius-knop); font-weight: 600; }
.status[hidden] { display: none; }
.status-ok { background: #E3F1E8; color: var(--keurgroen-donker); border: 1.5px solid var(--keurgroen); }
.status-fout { background: #FBEAE8; color: #8C1D17; border: 1.5px solid var(--afkeurrood); }
.knop[disabled] { opacity: .6; cursor: wait; }

/* ---------- Voet ---------- */
.site-voet { background: var(--grafiet); color: var(--op-donker-label); border-top: 1px solid var(--tekst-zacht); font-size: 14px; }
.site-voet .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 32px; padding-bottom: 32px; }
.site-voet img { height: 44px; width: auto; }
.site-voet a { color: var(--op-donker); }
.site-voet a:hover { color: var(--wit); }

/* ---------- Losse tekstpagina's (privacy, bedankt) ---------- */
.tekstpagina { padding: 72px 0 96px; }
.tekstpagina .container { max-width: 760px; }
.tekstpagina h1 { font-stretch: 115%; font-weight: 850; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.05; margin-bottom: 24px; }
.tekstpagina h2 { font-size: 22px; font-weight: 750; margin: 36px 0 8px; }
.tekstpagina p, .tekstpagina li { color: var(--tekst-zacht); }

/* Juridische links in de voet */
.voet-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.tekstpagina ol { padding-left: 1.4em; }
.tekstpagina ol li { margin-bottom: 10px; }

@media print {
  .site-kop, .site-voet, .skiplink { display: none; }
  body { background: #fff; font-size: 10.5pt; }
  .tekstpagina { padding: 0; }
  .tekstpagina h1 { font-size: 22pt; }
  .tekstpagina h2 { font-size: 12.5pt; margin-top: 16pt; break-after: avoid; }
  .tekstpagina p, .tekstpagina li { color: #000; }
  .tekstpagina a[href$=".pdf"] { display: none; }
}

/* ---------- Pagina's per keuring ---------- */
.dienst-kop { background: var(--wit); border-bottom: 1px solid var(--steen); }
.dienst-kop .container { padding-top: 40px; padding-bottom: 64px; }
.dienst-kop h1 { font-stretch: 115%; font-weight: 850; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.02; letter-spacing: -0.02em; max-width: 18ch; margin: 0 0 24px; }
.dienst-kop .intro { margin-bottom: 32px; }
.kruimel { font-size: 15px; color: var(--tekst-label); margin-bottom: 36px; }
.kruimel a { color: var(--tekst-label); }
.dienst-norm { display: inline-block; font-weight: 700; font-size: 15px; background: var(--signaalgeel); color: var(--grafiet); padding: 4px 10px; border-radius: var(--radius-knop); margin: 0 0 18px; }
.dienst-inhoud { display: flex; flex-wrap: wrap; gap: 56px; padding-top: 64px; padding-bottom: 96px; align-items: flex-start; }
.dienst-tekst { flex: 1 1 520px; min-width: 0; max-width: 720px; }
.dienst-tekst h2 { font-size: 26px; font-weight: 800; font-stretch: 110%; margin: 48px 0 18px; }
.dienst-tekst h2:first-child { margin-top: 0; }
.dienst-tekst p { color: var(--tekst-zacht); margin: 0; }
.dienst-stappen { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 14px; color: var(--tekst-zacht); }
.dienst-stappen strong { color: var(--grafiet); }
.dienst-zij { flex: 0 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.tariefblok { background: var(--wit); border: 2px solid var(--grafiet); border-radius: var(--radius-paneel); padding: 28px; }
.tariefblok h2, .andere h2 { font-size: 15px; font-weight: 600; color: var(--tekst-label); margin: 0 0 8px; }
.tariefblok .prijs { font-stretch: 110%; font-weight: 850; font-size: 28px; margin: 0 0 4px; }
.tariefblok .staffel { font-size: 15px; color: var(--tekst-label); margin: 0 0 14px; }
.tariefblok .klein { font-size: 14px; color: var(--tekst-label); margin: 0 0 20px; }
.andere ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--steen); }
.andere li { border-bottom: 1px solid var(--steen); }
.andere a { display: block; padding: 12px 0; color: var(--grafiet); text-decoration: none; font-weight: 600; }
.andere a:hover { color: var(--keurgroen); }
.sectie-klein { padding-top: 56px; padding-bottom: 96px; }
.dienst-tegels { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--grafiet); }
.dienst-tegels li { border-bottom: 1px solid var(--steen); }
.dienst-tegel { display: grid; grid-template-columns: 220px 1fr auto; gap: 8px 24px; align-items: baseline; padding: 24px 0; text-decoration: none; color: var(--grafiet); }
.dienst-tegel .dienst-norm { margin: 0; justify-self: start; }
.dienst-tegel .dienst-naam { font-weight: 750; font-size: 22px; }
.dienst-tegel .dienst-meer { color: var(--keurgroen); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dienst-tegel:hover .dienst-naam { color: var(--keurgroen); }
@media (max-width: 700px) { .dienst-tegel { grid-template-columns: 1fr; } }
.keurlijst .meer { display: inline-block; margin-top: 8px; font-size: 15px; font-weight: 600; }
.voorwaarden-prijs { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px 40px; }
.voorwaarden-prijs > div { border-top: 2px solid var(--grafiet); padding-top: 16px; }
.voorwaarden-prijs h3 { margin-bottom: 6px; font-size: 19px; }
.voorwaarden-prijs p { margin: 0; color: var(--tekst-zacht); }
.tariefblok .prijsregel { margin: 0 0 10px; }
.tariefblok .prijsregel strong { display: block; font-stretch: 110%; font-weight: 850; font-size: 22px; }
