/* BOTTOM NAV — compact, ondersteunend (handleiding: sticky + iconen) */
.bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--c-accent-blue);
  color: rgba(255,255,255,.75);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  z-index: 40;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
}
/* Mobiel: items full-width verdeeld (duimvriendelijk) */
.bottom-nav__inner {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  width: 100%;
}
/* Desktop: iconen gecentreerd binnen max-width container, gelijke spacing */
@media (min-width: 960px) {
  .bottom-nav__inner {
    max-width: 600px;
    margin: 0 auto;
    justify-content: space-between;
  }
}
.bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 4px 4px;
  color: #d3d3d3;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  min-width: 0;
  transition: color 180ms ease-out;
}
.bottom-nav__icon {
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transform: translateY(0);
  transition: color 180ms ease-out, transform 180ms ease-out, filter 180ms ease-out;
}
.bottom-nav__icon svg { width: 100%; height: 100%; }
.bottom-nav__label {
  white-space: nowrap;
  transition: color 180ms ease-out;
}

/* Hover — alleen op devices met echte hover (voorkomt sticky state op touch) */
@media (hover: hover) {
  .bottom-nav__item:hover,
  .bottom-nav__item:hover .bottom-nav__label {
    color: #7ed957;
  }
  .bottom-nav__item:hover .bottom-nav__icon {
    transform: translateY(-3px);
    filter: drop-shadow(0 0 6px rgba(126, 217, 87, 0.35));
  }
}

/* Tap-feedback op touch (kort, geen sticky state) */
.bottom-nav__item:active .bottom-nav__icon {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 4px rgba(126, 217, 87, 0.3));
}

/* Actieve staat — blijvend, sterker dan hover (scale + sterkere glow) */
.bottom-nav__item.is-active,
.bottom-nav__item.is-active .bottom-nav__label {
  color: #7ed957;
}
.bottom-nav__item.is-active .bottom-nav__icon {
  transform: translateY(-1px) scale(1.04);
  filter: drop-shadow(0 0 8px rgba(126, 217, 87, 0.45));
}

/* Als summary-bar én bottom-nav tegelijk op mobiel: balk boven nav */
@media (max-width: 959px) {
  body.has-bottom-nav .summary-bar { bottom: 62px; }
}

/* CHATBOT (floating) — ondersteunend, nooit leidend (handleiding) */
.chat-fab {
  position: fixed;
  left: 16px;
  bottom: 88px;  /* boven bottom-nav */
  width: 52px; height: 52px;
  border-radius: 999px;
  background: var(--c-secondary);
  color: #fff;
  border: 0;
  box-shadow: 0 6px 16px rgba(156,26,161,.35);
  font-size: 20px;
  font-weight: 700;
  opacity: 1;
  transition: transform .1s ease, box-shadow .2s ease;
  z-index: 45;
  animation: chatFabPulse 2.6s ease-out infinite;
}
.chat-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(156,26,161,.45);
  animation-play-state: paused;
}
.chat-fab::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(156,26,161,.45);
  animation: chatFabRing 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes chatFabPulse {
  0%, 70%, 100% { box-shadow: 0 6px 16px rgba(156,26,161,.35); }
  35%           { box-shadow: 0 6px 16px rgba(156,26,161,.35), 0 0 0 8px rgba(156,26,161,.18); }
}
@keyframes chatFabRing {
  0%   { transform: scale(1);    opacity: .7; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .chat-fab { animation: none; }
  .chat-fab::after { display: none; }
}
@media (min-width: 960px) {
  .chat-fab { left: 24px; bottom: 88px; }
}

/* Chat-panel volgt de nieuwe positie */
.chat-panel { left: 16px; right: auto; }
@media (min-width: 960px) {
  .chat-panel { left: 24px; right: auto; }
}

.chat-panel {
  position: fixed;
  right: 16px;
  bottom: 144px;
  width: min(360px, calc(100% - 32px));
  max-height: 60vh;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 46;
}
.chat-panel.is-open { display: flex; }
.chat-panel__head {
  padding: var(--space-3) var(--space-4);
  background: var(--c-accent-blue);
  color: #fff;
  font-weight: 700;
}
.chat-panel__body {
  padding: var(--space-4);
  overflow-y: auto;
  flex: 1;
  font-size: var(--fs-sm);
  color: var(--c-text-muted);
}
.chat-panel__suggestions {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: var(--space-3);
  border-top: 1px solid var(--c-border);
}
.chat-panel__suggestions .chip { min-height: 36px; padding: 0 12px; font-size: var(--fs-sm); }

/* FOOTER */
.site-footer {
  margin-top: var(--space-7);
  padding: var(--space-6) 0 calc(var(--space-7) + env(safe-area-inset-bottom));
  background: var(--c-accent-blue);
  color: #fff;
}
.site-footer a { color: #fff; opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1fr 1.2fr 1fr; }
}
.footer-hours {
  display: grid;
  gap: 4px;
}
.footer-hours li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--fs-sm);
  border-bottom: 1px solid rgba(255,255,255,.12);
  padding-bottom: 4px;
}
.footer-sitemap li { font-size: var(--fs-sm); }
.footer-col h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  opacity: .85;
  margin: 0 0 var(--space-3);
}
.footer-col ul {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.45;
}
.footer-col ul li strong { font-weight: 600; display: block; opacity: .75; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .04em; }
.footer-brand { font-weight: 800; letter-spacing: .04em; font-size: var(--fs-lg); }
.footer-meta {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  font-size: var(--fs-xs); opacity: .8;
}

/* TOAST */
.toast-host {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 96px;
  z-index: 60;
  pointer-events: none;
  width: min(520px, calc(100% - 32px));
  display: grid; gap: 8px;
}
.toast {
  background: #1a1a1a;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  pointer-events: auto;
  animation: toast-in .2s ease;
}
.toast--success { background: var(--c-primary); }
.toast--error   { background: var(--c-label-popular); }
@keyframes toast-in {
  from { transform: translateY(8px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

/* SKIP LINK */
.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 8px; top: 8px;
  z-index: 100;
  background: #fff;
  color: var(--c-text);
  padding: 8px 12px;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
}

/* FOCUS RING (accessibility) */
:focus-visible {
  outline: 3px solid rgba(17,53,151,.45);
  outline-offset: 2px;
  border-radius: 6px;
}

/* HAMBURGER-KNOP in site-header */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: transparent;
  color: var(--c-text);
  border: 1px solid var(--c-border);
  cursor: pointer;
  margin-left: 8px;
  transition: background .15s ease;
}
.menu-toggle:hover { background: var(--c-surface); }

/* MENU-OVERLAY (full-screen) */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  color: #fff;
  animation: menu-fade .2s ease;
}
.menu-overlay.is-open { display: block; }
@keyframes menu-fade { from { opacity: 0 } to { opacity: 1 } }

.menu-overlay__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.menu-overlay__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(17,53,151,.88), rgba(17,53,151,.96));
}

.menu-overlay__close {
  position: absolute;
  top: 16px; right: 16px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 0;
  cursor: pointer;
  z-index: 2;
}
.menu-overlay__close:hover { background: rgba(255,255,255,.24); }

.menu-overlay__inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--space-5) 140px;
  height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.menu-overlay__intro { text-align: left; }
.menu-overlay__logo { height: 36px; margin-bottom: var(--space-4); }
.menu-overlay__title {
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-3);
}
.menu-overlay__tag {
  font-size: var(--fs-md);
  line-height: 1.5;
  opacity: .95;
  max-width: 520px;
}

/* Witte kaart met 2-koloms menu */
.menu-overlay__card {
  background: rgba(255,255,255,.95);
  color: var(--c-accent-blue);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-5);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.menu-overlay__col {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  font-weight: 700;
  font-size: var(--fs-lg);
}
.menu-overlay__col--primary { font-size: var(--fs-xl); }
.menu-overlay__col--secondary { text-align: right; font-weight: 600; }
.menu-overlay__col a {
  color: var(--c-accent-blue);
  padding: 4px 0;
  display: inline-block;
  transition: color .15s ease, transform .1s ease;
}
.menu-overlay__col a:hover { color: var(--c-primary); transform: translateX(2px); }
.menu-overlay__col--secondary a:hover { transform: translateX(-2px); }

@media (max-width: 520px) {
  .menu-overlay__inner { padding: 60px var(--space-4) 140px; }
  .menu-overlay__card { gap: var(--space-4); padding: var(--space-4); }
  .menu-overlay__col { font-size: var(--fs-md); }
  .menu-overlay__col--primary { font-size: var(--fs-lg); }
}

/* TOP-NAV (smalle bar bovenop) — niet meer gebruikt, blijft als fallback style */
.top-nav {
  background: #2a2a2f;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}
.top-nav__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  padding: 8px var(--space-4);
}
.top-nav a {
  color: #fff;
  padding: 4px 2px;
  opacity: .92;
  white-space: nowrap;
}
.top-nav a:hover { opacity: 1; text-decoration: underline; }
.top-nav__sep { color: rgba(255,255,255,.35); }
@media (max-width: 640px) {
  .top-nav { font-size: var(--fs-xs); }
  .top-nav__row { padding: 6px var(--space-3); gap: 4px 8px; }
}

/* HEADER (site) */
.site-header {
  position: sticky;
  top: 0;
  background: #113597;
  z-index: 30;
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1;
}
.brand img {
  height: 22px;
  width: auto;
  display: block;
  opacity: 1;
  transition: opacity .15s ease;
}
.brand:hover img { opacity: .92; }

/* Ghost-knop in donkere header (bv. "← Activiteiten" op product.html) — wit leesbaar */
.site-header .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}
.site-header .btn--ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.08);
}

/* CTA op donkere header — sterke groene glow bij rust, versterkt op hover */
.site-header .btn--primary {
  box-shadow:
    0 4px 16px rgba(31, 161, 26, 0.55),
    0 0 22px rgba(31, 161, 26, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out;
}
.site-header .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 22px rgba(31, 161, 26, 0.65),
    0 0 30px rgba(31, 161, 26, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.3);
}
.site-header .btn--primary:active {
  transform: translateY(0);
  box-shadow:
    0 3px 14px rgba(31, 161, 26, 0.45),
    0 0 18px rgba(31, 161, 26, 0.3),
    0 3px 10px rgba(0, 0, 0, 0.22);
}
/* Verkeersbord-pictogrammen (routing / parkeren) */
.road-signs {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  vertical-align: middle;
  line-height: 1;
}
.road-signs__group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.road-signs__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  white-space: nowrap;
}
.road-sign { display: block; flex: 0 0 auto; }

.site-footer .footer-brand {
  margin-top: var(--space-5);
  text-align: center;
}
.site-footer .footer-brand img {
  height: 108px;
  width: auto;
  display: block;
  margin: 0 auto;
  opacity: .95;
}
@media (min-width: 720px) {
  .brand img { height: 26px; }
  .site-footer .footer-brand img { height: 128px; }
}
