/* Site-footer — redesign 2026, Skedda-model uit de wireframe-annotatie:
   links merk, tagline, socials, taalkeuze en badges; rechts vier kolommen.
   De sectorkolom is bewust volledig: dat is ook SEO. */

/* De huisstijl zet de footer op een donker vlak: #0B2A3D met tekst in #C6D8E4. */
.site-footer {
  background: var(--c-dark);
  color: var(--c-ink-invert);
  border-top: 1px solid var(--c-dark);
  padding-block: var(--space-8) var(--space-6);
  /* Geen marge erboven: de laatste sectie loopt met haar eigen achtergrond door tot de footer (Jacq, 03-10-2026).
     Een marge liet daar een strook paginakleur zien zodra die sectie grijs was. */
  margin-top: 0;
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(240px, 300px) 1fr;
  gap: var(--space-7) var(--space-8);
  align-items: start;
}

/* --- merkkolom --- */
.site-footer__brand { display: flex; flex-direction: column; gap: var(--space-4); }
.site-footer__brand img { width: 170px; height: auto; }
.site-footer__tagline { font-size: var(--text-sm); color: var(--c-ink-invert); max-width: 34ch; opacity: .85; }

.site-footer__social { display: flex; flex-wrap: wrap; gap: var(--space-3); font-size: var(--text-sm); }
/* Dichter onder de tagline: de regelhoogte erboven en de witruimte in het icoon lieten de afstand boven groter lijken dan eronder (Jacq, 29-09-2026). */
.site-footer__social { margin-top: calc(-1 * var(--space-2)); }
.site-footer__social a { display: inline-flex; color: var(--c-ink-invert); text-decoration: none; }
.site-footer__social .ico { width: 36px; height: 36px; stroke-width: 1; }   /* groter dan de badge-iconen (Jacq, 29-09-2026) */
.site-footer__social a:hover { color: var(--c-ink-invert-strong); text-decoration: underline; }

.site-footer__lang { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); font-size: var(--text-sm); }
.site-footer__lang a { color: var(--c-ink-invert); }
.site-footer__lang [aria-current="true"] { color: var(--c-ink-invert-strong); font-weight: var(--fw-medium); }
/* Vlaggetjes (Jacq, 29-09-2026): rond, 20px; de huidige taal vol, de andere gedimd (vol bij hover/focus). */
.site-footer__lang a { display: inline-flex; border-radius: var(--radius-pill); }
.site-footer__lang img { display: block; width: 20px; height: 20px; border-radius: var(--radius-pill); opacity: .65; transition: opacity .15s; }
.site-footer__lang [aria-current="true"] img,
.site-footer__lang a:hover img,
.site-footer__lang a:focus-visible img { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .site-footer__lang img { transition: none; } }

.site-footer__badges { display: flex; flex-direction: column; gap: var(--space-2); }
.badge--link { text-decoration: none; }
.badge--link:hover { color: var(--c-ink-invert-strong); text-decoration: underline; text-underline-offset: 2px; }
.badge {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); color: var(--c-ink-invert); opacity: .85;
}
/* Badge-iconen zonder kadertje, iets groter (Jacq, 29-09-2026). */
.badge__mark { display: inline-flex; flex: none; color: var(--c-ink-invert); }
.badge__mark .ico { width: 18px; height: 18px; }

/* --- kolommen --- */
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr));
  gap: var(--space-6) var(--space-5);
}
/* Kolomkoppen: ingetogen grijs, zodat de links eronder de aandacht houden. Was #576C7E met
   opacity .7: minder dan 2,73:1 op #0B2A3D. #9DB2C2 haalt 6,78:1 (WCAG AA 4,5:1; Jacq, 28-09-2026). */
.site-footer__col h2 {
  color: var(--c-ink-invert-muted);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-label);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
}
.site-footer__col ul { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__col a {
  font-size: var(--text-sm);
  color: var(--c-ink-invert);
  text-decoration: none;
}
.site-footer__col a:hover { color: var(--c-ink-invert-strong); text-decoration: underline; text-underline-offset: 2px; }

/* --- onderregel --- */
.site-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5);
  justify-content: space-between; align-items: center;
  margin-top: var(--space-7); padding-top: var(--space-4);
  border-top: 1px solid var(--c-line-on-dark);
  font-size: var(--text-xs); color: var(--c-ink-invert); opacity: .8;
}
.site-footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.site-footer__bottom a { color: inherit; text-decoration: none; }
/* De knop "Cookie-instellingen" leest als de links ernaast. */
.site-footer__link { appearance: none; background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.site-footer__link[hidden] { display: none; }
.site-footer__link:hover { color: var(--c-ink-invert-strong); text-decoration: underline; text-underline-offset: 2px; }
.site-footer__bottom a:hover { color: var(--c-ink-invert-strong); text-decoration: underline; text-underline-offset: 2px; }   /* op donker wordt hover lichter, zoals de kolomlinks (Jacq, 29-09-2026) */

/* Onder 720px staat de mobiele onderbalk (base.css .sticky-cta) over de onderkant van de
   pagina. De footer is het laatste vlak, dus hij draagt de ruimte zelf, in zijn eigen kleur. */
@media (max-width: 720px) {
  .site-footer { padding-bottom: calc(var(--space-6) + 4.5rem); }
}

@media (max-width: 780px) {
  .site-footer__top { grid-template-columns: 1fr; }
}

/* Zwevende privacy-tab rechts (het schild van de oude site). Donkerblauw: groen is van de
   proefknop. Onder de header (z-index 50) en de cookiebanner van Usercentrics. */
.privacy-tab {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 45;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
  margin: 0; padding: 13px 6px;
  border: 0; border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: var(--c-dark); color: #fff;
  font: 600 12px/1 var(--font-body); letter-spacing: .04em; cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .22);
  transition: background var(--duration) var(--ease), padding-right var(--duration) var(--ease);
}
.privacy-tab[hidden] { display: none; }
.privacy-tab:hover, .privacy-tab:focus-visible { background: var(--c-accent); padding-right: 11px; outline: none; }
.privacy-tab svg { width: 18px; height: 18px; display: block; }
.privacy-tab span { writing-mode: vertical-rl; transform: rotate(180deg); }
@media print { .privacy-tab { display: none; } }
