/* Stijl van de prototypes. Alleen waarden uit ../tokens.css gebruiken.
   Mobiel eerst: alles hieronder is voor de telefoon; desktop-aanvullingen staan onderaan in media queries. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: var(--breedte-mobiel-min);
  background: var(--kleur-achtergrond);
  color: var(--kleur-tekst);
  font-family: var(--font-tekst);
  font-size: var(--tekst-m);
  font-weight: var(--gewicht-middel);
  line-height: var(--regel-tekst);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-kop);
  font-weight: var(--gewicht-extra);
  line-height: var(--regel-kop);
  letter-spacing: var(--spatie-kop);
}
h1 { font-size: var(--kop-l); }
h2 { font-size: var(--kop-m); }
h3 { font-size: var(--kop-s); }
p { margin: 0; }
a { color: var(--kleur-accent); }
a:hover { color: var(--kleur-accent-donker); }
:focus-visible { outline: 3px solid var(--kleur-accent); outline-offset: 2px; }

/* Label in hoofdletters ("AANBOD", "SNEL ORIËNTEREN") */
.label {
  font-size: var(--tekst-xs);
  font-weight: var(--gewicht-extra);
  letter-spacing: var(--spatie-label);
  text-transform: uppercase;
  color: var(--kleur-accent);
}

/* Logo als woordmerk */
.logo {
  display: inline-flex;
  font-family: var(--font-kop);
  font-size: var(--logo-kop);
  font-weight: var(--gewicht-extra);
  letter-spacing: var(--spatie-kop);
  line-height: 1;
  color: var(--kleur-merk);
  text-decoration: none;
}
.logo__siero { color: var(--kleur-logo-rood); }
.logo--op-donker { color: var(--kleur-op-kleur); }

/* Knoppen */
.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ruimte-2);
  min-height: var(--knop-hoogte);
  padding: 0 var(--ruimte-4);
  border: 0;
  border-radius: var(--hoek-rond);
  background: var(--kleur-accent);
  color: var(--kleur-op-kleur);
  font-family: var(--font-tekst);
  font-size: var(--tekst-l);
  font-weight: var(--gewicht-extra);
  text-decoration: none;
  cursor: pointer;
}
.knop:hover { background: var(--kleur-accent-donker); color: var(--kleur-op-kleur); }
.knop svg { width: 20px; height: 20px; flex: 0 0 auto; }
.knop--actie { background: var(--kleur-actie); }
.knop--actie:hover { background: var(--kleur-whatsapp); }
.knop--whatsapp { background: var(--kleur-whatsapp); }
.knop--whatsapp:hover { background: var(--kleur-succes-tekst); }
.knop--donker { background: var(--kleur-merk); }
.knop--donker:hover { background: var(--kleur-merk-rand); }
.knop--licht {
  background: var(--kleur-achtergrond);
  color: var(--kleur-merk);
  box-shadow: inset 0 0 0 1.5px var(--kleur-rand-veld);
}
.knop--licht:hover { background: var(--kleur-vlak); color: var(--kleur-merk); }
.knop--breed { width: 100%; }

/* Pil-labels op kaarten ("Net binnen", "Verwacht") */
.pil {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 var(--ruimte-2);
  border-radius: var(--hoek-rond);
  font-size: var(--tekst-s);
  font-weight: var(--gewicht-extra);
  background: var(--kleur-accent-licht);
  color: var(--kleur-accent-donker);
}
.pil--groen { background: var(--kleur-succes-licht); color: var(--kleur-succes-tekst); }

/* Iconen uit ../iconen.svg */
.icoon {
  width: 20px; height: 20px; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.icoon--klein { width: 18px; height: 18px; }
.icoon--groot { width: 24px; height: 24px; }

.verborgen {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.logo--voet { color: var(--kleur-op-kleur); font-size: var(--logo-voet); }
.logo--voet .logo__siero { color: var(--kleur-logo-rood-op-donker); }

/* ── Kopbalk (.site-kop) ───────────────────────────────────────
   Blijft bovenaan staan bij scrollen. Links menu + logo, rechts WhatsApp en Contact. */
.site-kop {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--kop-hoogte);
  padding: 0 10px 0 var(--ruimte-1);
  background: var(--kleur-achtergrond);
  border-bottom: 1px solid var(--kleur-rand);
}
.site-kop__links, .site-kop__rechts { display: flex; align-items: center; gap: var(--ruimte-1); }
.site-kop__menuknop {
  display: flex; align-items: center; justify-content: center;
  width: var(--raakvlak-min); height: var(--raakvlak-min);
  border: 0; border-radius: var(--hoek-klein); background: transparent; color: var(--kleur-merk);
  cursor: pointer;
}
.site-kop__menuknop .icoon { stroke-width: 2.2; }
.site-kop__whatsapp {
  display: flex; align-items: center; justify-content: center;
  width: var(--raakvlak-min); height: var(--raakvlak-min); border-radius: 50%;
  background: var(--kleur-whatsapp); color: var(--kleur-op-kleur);
}
.site-kop__whatsapp:hover { background: var(--kleur-succes-tekst); color: var(--kleur-op-kleur); }
.site-kop__contact {
  display: flex; align-items: center; min-height: var(--raakvlak-min); padding: 0 14px;
  border-radius: var(--hoek-rond); background: var(--kleur-actie); color: var(--kleur-op-kleur);
  font-size: var(--tekst-knop-s); font-weight: var(--gewicht-extra); text-decoration: none;
}
.site-kop__contact:hover { background: var(--kleur-whatsapp); color: var(--kleur-op-kleur); } /* groen (Nienke 07-11) */

/* ── Hoofdmenu (.site-menu) ────────────────────────────────────
   Schermvullend over de pagina. Werkt zonder JavaScript via #site-menu (:target);
   site.js voegt toe: sluiten met Esc, focus in het menu, pagina eronder niet laten scrollen. */
.site-menu {
  display: none;
  position: fixed; inset: 0; z-index: 30;
  flex-direction: column;
  background: var(--kleur-achtergrond);
  overflow-y: auto; overscroll-behavior: contain;
}
.site-menu:target, .site-menu.is-open { display: flex; }
.site-menu .site-kop { position: sticky; flex-shrink: 0; }
.site-menu__lijst { display: flex; flex-direction: column; padding: var(--ruimte-1) var(--ruimte-3) var(--ruimte-4); }
.site-menu__favorieten {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px; padding: 12px 14px; border-radius: 8px;
  background: var(--kleur-accent-licht); color: var(--kleur-accent-donker);
  font-weight: var(--gewicht-extra); text-decoration: none;
}
/* Hoofdgroepen (Aanbod, Service, Over ons, Contact) prominent; items eronder een slag kleiner en niet vet (Nienke 07-11) */
.site-menu__groep { align-self: flex-start; margin-top: 22px; padding-bottom: 4px; border-bottom: 2px solid var(--kleur-accent); font-size: var(--tekst-menu); font-weight: var(--gewicht-extra); letter-spacing: 0.06em; }
.site-menu__item {
  display: flex; justify-content: space-between; align-items: center; gap: var(--ruimte-3);
  min-height: var(--knop-hoogte); padding: 6px 0;
  border-bottom: 1px solid var(--kleur-scheiding);
  color: var(--kleur-tekst); text-decoration: none;
}
.site-menu__item:hover { color: var(--kleur-accent); }
.site-menu__tekst { display: flex; flex-direction: column; }
.site-menu__titel { display: flex; align-items: center; gap: var(--ruimte-2); font-size: var(--tekst-m); font-weight: var(--gewicht-vet); }
.site-menu__uitleg { font-size: var(--tekst-s); font-weight: var(--gewicht-half); color: var(--kleur-tekst-zacht); }
.site-menu__pijl { color: var(--kleur-icoon-zacht); display: flex; }
.site-menu__item--signaal { color: var(--kleur-signaal); }
.site-menu__werkplaats {
  display: flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--kleur-signaal); color: var(--kleur-op-kleur);
}
.site-menu__werkplaats .icoon { width: 14px; height: 14px; stroke-width: 2.2; }
.site-menu details { border-bottom: 1px solid var(--kleur-scheiding); }
.site-menu summary { list-style: none; cursor: pointer; border-bottom: 0; }
.site-menu summary::-webkit-details-marker { display: none; }
.site-menu details[open] .site-menu__pijl { transform: rotate(180deg); }
.site-menu__sub { display: flex; flex-direction: column; padding-bottom: 6px; }
.site-menu__sub a {
  display: flex; align-items: center; min-height: var(--raakvlak-min); padding-left: 14px;
  border-bottom: 1px solid var(--kleur-scheiding);
  color: var(--kleur-tekst); font-weight: var(--gewicht-vet); text-decoration: none;
}
.site-menu__sub a:last-child { border-bottom: 0; color: var(--kleur-accent); }
.site-menu .contact-balk { margin-top: auto; }
html.menu-open { overflow: hidden; }

/* ── Voet (.site-voet) ─────────────────────────────────────────
   Donker vlak met de "weg"-lijn als decoratie, uitklapbare groepen (zonder JavaScript). */
.site-voet {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: var(--ruimte-4);
  margin-top: 32px; padding: 32px var(--ruimte-3) var(--ruimte-4);
  background: var(--kleur-merk); color: var(--kleur-merk-tekst);
}
.site-voet__weg { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; pointer-events: none; fill: none; stroke-linecap: round; }
.site-voet__weg-baan { stroke: var(--kleur-accent-op-donker); stroke-width: 64; opacity: 0.045; }
.site-voet__weg-streep { stroke: var(--kleur-op-kleur); stroke-width: 1.5; stroke-dasharray: 10 14; opacity: 0.1; }
.site-voet__groepen { border-top: 1px solid var(--kleur-merk-rand); }
.site-voet details { border-bottom: 1px solid var(--kleur-merk-rand); }
.site-voet summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; min-height: var(--knop-hoogte);
  color: var(--kleur-op-kleur); font-size: var(--tekst-menu); font-weight: var(--gewicht-extra);
}
.site-voet summary::-webkit-details-marker { display: none; }
.site-voet summary .icoon { color: var(--kleur-accent-op-donker); stroke-width: 2.4; }
.site-voet details[open] summary .icoon { transform: rotate(180deg); }
.site-voet__links { display: flex; flex-direction: column; padding-bottom: 12px; }
.site-voet__links a { padding: var(--ruimte-2) 0; color: var(--kleur-merk-tekst); text-decoration: none; }
.site-voet a:hover { color: var(--kleur-op-kleur); }
.site-voet__adres { display: flex; flex-direction: column; gap: var(--ruimte-1); font-style: normal; }
.site-voet__adres strong { color: var(--kleur-op-kleur); }
.site-voet__adres a { color: var(--kleur-op-kleur); font-weight: var(--gewicht-vet); text-decoration: none; }
.site-voet__social { display: flex; gap: 10px; }
.site-voet__social a {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--kleur-merk-rand); color: var(--kleur-op-kleur);
}
.site-voet__klein {
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 18px; border-top: 1px solid var(--kleur-merk-rand);
  font-size: var(--tekst-xxs); line-height: var(--regel-tekst); color: var(--kleur-merk-tekst-zacht);
}
.site-voet__juridisch { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.site-voet__juridisch a { color: var(--kleur-merk-tekst); }

/* ── Contactbalk onderin (.contact-balk) ───────────────────────
   Altijd binnen bereik van de duim: Bellen en WhatsApp. */
.contact-balk {
  position: sticky; bottom: 0; z-index: 10;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--ruimte-2);
  padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--kleur-achtergrond);
  border-top: 1px solid var(--kleur-rand);
  box-shadow: var(--schaduw-balk-onder);
}
.contact-balk .knop { font-size: var(--tekst-m); padding: 0 var(--ruimte-3); }

/* ── Alleen voor het huisstijloverzicht (huisstijl.html) ───────── */
.hs { max-width: var(--breedte-max); margin: 0 auto; padding: var(--ruimte-4) var(--ruimte-3) var(--ruimte-6); }
.hs__kop { display: flex; flex-direction: column; gap: var(--ruimte-2); padding-bottom: var(--ruimte-4); border-bottom: 1px solid var(--kleur-rand); }
.hs__intro { color: var(--kleur-tekst-zacht); max-width: 60ch; }
.hs__blok { padding: var(--ruimte-5) 0 0; display: flex; flex-direction: column; gap: var(--ruimte-3); }
.hs__stalen { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--ruimte-3); }
.hs__staal { border: 1px solid var(--kleur-rand); border-radius: var(--hoek); overflow: hidden; font-size: var(--tekst-s); }
.hs__kleur { height: 72px; background: var(--staal); }
.hs__staal p { padding: var(--ruimte-2) var(--ruimte-3) 0; font-weight: var(--gewicht-vet); }
.hs__staal code { display: block; padding: 0 var(--ruimte-3) var(--ruimte-2); color: var(--kleur-tekst-zacht); font-size: var(--tekst-xs); }
.hs__letters { display: flex; flex-direction: column; gap: var(--ruimte-3); }
.hs__letters small { display: block; color: var(--kleur-tekst-zacht); font-family: var(--font-tekst); font-size: var(--tekst-s); font-weight: var(--gewicht-half); letter-spacing: 0; text-transform: none; }
.hs__knoppen { display: flex; flex-wrap: wrap; gap: var(--ruimte-3); align-items: center; }
.hs__donker { background: var(--kleur-merk); color: var(--kleur-merk-tekst); border-radius: var(--hoek-xl); padding: var(--ruimte-4); display: flex; flex-direction: column; gap: var(--ruimte-3); }
.hs__donker h3 { color: var(--kleur-op-kleur); }
.hs__let { background: var(--kleur-vlak); border-radius: var(--hoek); padding: var(--ruimte-3); font-size: var(--tekst-s); }
