/* ========================

   Mapp — styles.css

   Mobile-first

   ======================== */



/* ╔══════════════════════════════════════════════════════╗
   ║  HAMBURGERMENU — alles op één plek                   ║
   ║  Pas hier aan voor alle pagina's en alle varianten   ║
   ╚══════════════════════════════════════════════════════╝ */

/* De hamburger-knop (drie streepjes / X) */
.frame-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  justify-content: center;
  align-items: center;
  touch-action: manipulation;
  justify-self: start;
}
.frame-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--donker, var(--text));
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}
.frame-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.frame-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.frame-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Het uitklapmenu zelf */
.frame-mobile-menu,
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;   /* TOEVOEGEN */
  z-index: 1000;
  background: var(--accent);
  box-sizing: border-box;
  overflow-y: auto;
}
.frame-mobile-menu.open,
.nav-mobile-menu.open { display: flex; }

/* Logo bovenaan het menu — altijd zichtbaar, zelfde hoogte als navbar */
.frame-mobile-menu .mobile-menu-logo,
.nav-mobile-menu .mobile-menu-logo {
  padding: 0.85rem 1.25rem;
  border-bottom: 1.5px solid var(--donker);
  display: flex;
  align-items: center;
}

/* Container voor alle menu-items: gap = 1rem, padding-top = 1rem */
.frame-mobile-menu .mobile-menu-actions,
.nav-mobile-menu .mobile-menu-actions {
  display: flex;
  flex-direction: column;
  padding: 1rem 1.25rem;
  gap: 1rem;
}

/* Alle menu-items: knoppen én links — geen padding, geen border */
.frame-mobile-menu a,
.frame-mobile-menu button,
.frame-mobile-menu .btn,
.frame-mobile-menu .btn-ghost,
.frame-mobile-menu .mapp-logout-btn,
.nav-mobile-menu a,
.nav-mobile-menu button {
  display: block !important;
  width: 100% !important;
  white-space: normal !important;
  word-break: break-word !important;
  text-align: left !important;
  font-family: var(--font-body) !important;
  font-size: 1.1rem !important;
  font-weight: 500 !important;
  color: var(--donker) !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  min-height: unset !important;
  line-height: 1.4 !important;
}

/* Desktop: hamburger verbergen */
@media (min-width: 768px) {
  .frame-hamburger { display: none; }
  .frame-mobile-menu,
  .nav-mobile-menu { display: none !important; }
}

/* Mobile: hamburger spiegelt logo-afstand rechts */
@media (max-width: 767px) {
  .frame-hamburger { justify-self: end !important; margin-right: 0; }
}

/* Nav-knoppen altijd zichtbaar */
.frame-nav-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
}

/* Homepage nav is groter door intro-logo-size — geen extra padding-top nodig */
.intro-section .frame-mobile-menu {
  padding-top: 0 !important;
}

/* ══ EINDE HAMBURGERMENU ════════════════════════════════ */



@font-face {
  font-family: 'Cal Sans';
  src: url('Assets/CalSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* FINAL DESKTOP OVERRIDE */
@media (min-width: 1024px) {
  body .intro-nav .frame-logo {
    position: static !important;
    display: flex;
    align-items: center;
  }
  body .frame-logo .logo-img {
    height: clamp(32px, 5svh, 48px) !important;
    width: auto !important;
    display: block;
  }
  body .intro-section .intro-content {
    margin-left: var(--page-gutter) !important;
    padding-left: 0 !important;
    transform: none !important;
    position: relative !important;
    left: 0 !important;
  }
  body .intro-nav .frame-nav-actions {
    margin-right: var(--page-gutter) !important;
    justify-self: end !important;
    align-self: center !important;
  }
}

/*
 * ╔══════════════════════════════════════════════════════╗
 * ║  KLEUR-VARIABELEN                                    ║
 * ╚══════════════════════════════════════════════════════╝
 */
:root {
  --accent:        #FF2400;
  --donker:        #3d0800;
  --text:          #3d0800;
  --muted:         rgba(61,8,0,0.65);
  --bg:            #FF2400;
  --accent-light:  rgba(0,0,0,0.08);
  --border:        rgba(0,0,0,0.18);
  --white:         var(--bg);
  --dark:          rgba(0,0,0,0.85);
  --radius: 0px;
  --font-body: Helvetica, Arial, sans-serif;
  --font-display: 'Cal Sans', Helvetica, sans-serif;
  --bottom-nav-height: 64px;
  --orange: #FF2400;
  --blue:   #035DFA;
  --green:  #008400;
  --purple: #8338EC;
  --cobalt: #035DFA;
  --yellow: #FFBE0B;
  --pink: #FF006E;
  --map-bg: #0D0D1A;
  --page-gutter: 1.25rem;
  --header-height: 96px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  position: relative;
}

/* ========================
   NAVIGATIE
   ======================== */

.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--bg);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar .nav-actions   { justify-self: end; display: none; gap: 0.5rem; align-items: center; }

.logo-box {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) opacity(0.82);
}

.logo-img.small {
  height: 28px;
  flex-shrink: unset;
}

.nav-center { display: none; }
.nav-actions { display: none; }

.navbar .nav-center a,
.navbar .nav-actions a,
.navbar .nav-actions button {
  color: var(--text);
}

.navbar .btn-ghost {
  color: var(--text);
  border-color: rgba(0,0,0,0.3);
  background: transparent;
}

.navbar .btn-ghost:active {
  background: rgba(0,0,0,0.08);
}

.navbar .btn-primary {
  background: rgba(0,0,0,0.82);
  color: var(--accent);
  border-color: rgba(0,0,0,0.82);
}

.navbar .btn-primary:active { opacity: 0.85; }

.btn-ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(0,0,0,0.3);
}

.btn-ghost:active {
  background: rgba(0,0,0,0.08);
}

.btn-primary {
  background: rgba(0,0,0,0.82);
  color: var(--accent);
  border: 1px solid rgba(0,0,0,0.82);
  font-weight: 600;
}

.btn-primary:active {
  opacity: 0.88;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1rem;
}

/* ========================
   HERO
   ======================== */

.hero {
  padding: 2.5rem 1.25rem 3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 8vw, 4rem);
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.hero-cta-secondary {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s;
}

/* ========================
   KAART
   ======================== */

.map-section {
  padding: 1.5rem 0 2rem;
}

.map-header {
  padding: 0 1.25rem;
  margin-bottom: 1rem;
}

.map-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.map-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

#map {
  width: 100%;
  height: 62vh;
  min-height: 320px;
  border-radius: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--map-bg);
}

/* ========================
   HOE WERKT HET
   ======================== */

.how-it-works {
  padding: 2.5rem 1.25rem;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.how-it-works h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}

.step-number {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 0.6rem;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ========================
   FOOTER
   ======================== */

.footer {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.footer p {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ========================
   BOTTOM NAVIGATIE (mobiel)
   ======================== */

.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.15);
  z-index: 1000;
}

.bottom-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  color: rgba(0,0,0,0.45);
  font-size: 0.68rem;
  font-weight: 500;
  min-height: 44px;
  touch-action: manipulation;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
}

.bottom-nav-item.active {
  color: rgba(0,0,0,0.85);
}

/* ========================
   KAART MARKER
   ======================== */

.mapp-marker-wrap {
  background: none;
  border: none;
}

.mapp-marker-wrap svg {
  display: block;
  filter: drop-shadow(0 3px 8px rgba(0,0,0,0.22));
  transition: transform 0.15s ease;
}

.mapp-marker-wrap:focus svg {
  transform: scale(1.15) translateY(-2px);
}

/* ========================
   LEAFLET POPUP OVERSCHRIJVING
   ======================== */

.leaflet-popup-content-wrapper {
  border-radius: 0 !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2) !important;
  padding: 0 !important;
  overflow: hidden;
  border: none !important;
  background: var(--accent) !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: 1.5 !important;
}

.leaflet-popup-tip {
  box-shadow: none !important;
  background: var(--accent) !important;
}

.leaflet-popup-close-button {
  top: 10px !important;
  right: 10px !important;
  color: var(--muted) !important;
  font-size: 18px !important;
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  text-align: center !important;
}

/* ========================
   MAP POPUP CARD
   ======================== */

.map-popup {
  font-family: var(--font-body);
  padding: 1rem 1.25rem 1.25rem;
  min-width: 200px;
  background: var(--accent);
}

.map-popup-city {
  font-size: 0.7rem !important;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.map-popup-title {
  font-family: var(--font-display);
  font-size: 1.5rem !important;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.map-popup-desc {
  font-size: 0.75rem !important;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.map-popup-btn,
.leaflet-popup-content a.map-popup-btn {
  display: inline-block;
  font-size: 0.75rem !important;
  font-weight: 600;
  color: var(--accent) !important;
  background: var(--donker);
  text-decoration: none !important;
  padding: 0.4rem 0.85rem;
  border-radius: 0;
}

.leaflet-popup-close-button {
  color: var(--text) !important;
}

/* ========================
   AUTH PAGINA'S
   ======================== */

.auth-page {
  min-height: calc(100vh - 57px - var(--bottom-nav-height) - env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 2rem 1.5rem;
  width: 100%;
  max-width: 420px;
}

.auth-card h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.auth-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.auth-link {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text);
  margin-top: 1.25rem;
}

.auth-link a {
  color: var(--text);
  font-weight: 700;
  text-decoration: underline;
}

/* ========================
   FORMULIER ELEMENTEN
   ======================== */

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(251, 86, 7, 0.18);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}

.form-group input[type="file"] {
  padding: 0.6rem 0.75rem;
  background: var(--bg);
  cursor: pointer;
}

.btn-block {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* ========================
   ALERTS
   ======================== */

.alert {
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
  display: none;
}

.alert-error   { background: rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.2); color: rgba(0,0,0,0.8); }
.alert-success { background: rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.2); color: rgba(0,0,0,0.8); }
.alert-info    { background: var(--accent-light); border: 1px solid #d4a8ae; color: var(--accent); }

/* ========================
   PAGINA HEADER
   ======================== */

.page-header {
  padding: 2rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.page-header p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ========================
   DASHBOARD
   ======================== */

.dashboard {
  padding: 1.5rem 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-section {
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.btn-sm {
  padding: 0.35rem 0.8rem;
  font-size: 0.85rem;
  min-height: 32px;
}

/* ========================
   QR MODAL
   ======================== */

.qr-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.qr-modal-backdrop.open {
  display: flex;
}

.qr-modal {
  background: var(--white);
  border-radius: 0;
  padding: 1.5rem;
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.qr-modal h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.qr-modal p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.qr-modal img {
  width: 200px;
  height: 200px;
  border-radius: 0;
  border: 1px solid var(--border);
  margin-bottom: 1rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ========================
   ARTWORK DETAIL PAGINA
   ======================== */

.artwork-photo {
  width: 100%;
  max-height: 56vw;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.artwork-photo-placeholder {
  width: 100%;
  height: 260px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.artwork-content {
  padding: 1.5rem 1.25rem 3rem;
}

.artwork-museum-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  display: block;
  margin-bottom: 0.6rem;
}

.artwork-title {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.2;
  margin-bottom: 0.4rem;
}

.artwork-artist {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.artwork-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
}

.collect-section {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.btn-collect {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  text-align: center;
  justify-content: center;
}

.collected-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0;
}

/* ========================
   MUSEUM DETAIL PAGINA
   ======================== */

.museum-hero {
  background: var(--accent);
  color: var(--text);
  padding: 2rem 1.25rem 2.5rem;
}

.museum-hero-back {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: color 0.15s;
}

.museum-hero-stad {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.museum-hero-naam {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.museum-hero-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 560px;
  margin-bottom: 1rem;
}

.museum-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text);
}

.museum-hero-meta a {
  color: var(--text);
  text-decoration: underline;
}

.museum-kunstwerken {
  padding: 2rem var(--page-gutter) 3rem;
}

.museum-section-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 1.25rem;
  color: var(--text);
}

.artwork-pub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.artwork-pub-card {
  display: grid;
  grid-template-columns: 90px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  text-decoration: none;
  color: var(--text);
  transition: box-shadow 0.18s, transform 0.18s;
}

.artwork-pub-foto {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
}

.artwork-pub-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artwork-pub-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.artwork-pub-info {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.artwork-pub-titel {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.artwork-pub-kunstenaar {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.artwork-pub-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.4rem;
}

.artwork-pub-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

/* ========================
   LEGE TOESTAND
   ======================== */

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
}

.empty-state p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* ========================
   PROFIEL HEADER (collectie)
   ======================== */

.profiel-header {
  background: var(--accent);
  color: var(--text);
  padding: 1.75rem 1.25rem 2rem;
}

.profiel-header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.profiel-naam-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.profiel-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 600;
  font-family: var(--font-display);
  flex-shrink: 0;
}

.profiel-naam {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.15rem;
}

.profiel-lid-sinds {
  font-size: 0.8rem;
  color: rgba(0,0,0,0.50);
}

.profiel-stats {
  display: flex;
  gap: 0;
}

.profiel-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0.5rem;
  background: rgba(255,255,255,0.1);
  border-radius: 0;
  margin: 0 0.25rem;
}

.profiel-stat:first-child { margin-left: 0; }
.profiel-stat:last-child  { margin-right: 0; }

.profiel-stat-getal {
  font-size: 1.6rem;
  font-weight: 600;
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: 0.2rem;
}

.profiel-stat-label {
  font-size: 0.7rem;
  color: rgba(0,0,0,0.50);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ========================
   COLLECTIE BODY
   ======================== */

.collectie-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.collectie-sectie {
  margin-bottom: 2.5rem;
}

.collectie-sectie-titel {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text);
}

/* ========================
   BADGES GRID
   ======================== */

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.badges-grid-vergrendeld {
  grid-template-columns: repeat(2, 1fr);
}

.badge-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  gap: 0.35rem;
}

.badge-verdiend {
  background: var(--accent-light);
  border-color: #fbb07a;
}

.badge-vergrendeld {
  background: var(--bg);
}

.badge-icoon {
  font-size: 1.6rem;
  display: block;
}

.badge-naam {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}

.badge-datum {
  font-size: 0.82rem;
  color: var(--muted);
}

/* ========================
   MISSIES
   ======================== */

.missies-lijst {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.missie-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.missie-voltooid {
  background: var(--accent-light);
  border-color: #fbb07a;
}

.missie-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  align-items: flex-start;
}

.missie-type-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.missie-naam {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.missie-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.4;
}

.missie-beloning {
  flex-shrink: 0;
}

.missie-punten {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  padding: 0.25rem 0.6rem;
  border-radius: 100px;
}

.missie-progress-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.missie-progress-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.missie-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.missie-progress-label {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}

/* ========================
   COLLECTIE GRID
   ======================== */

.collectie-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

/* Galerij per museum */
.galerij-sectie {
  margin-bottom: 2.75rem;
}
.galerij-museum-header {
  margin-bottom: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.galerij-museum-naam {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  color: var(--text);
  margin-bottom: 0.15rem;
}
.galerij-museum-sub {
  font-size: 0.82rem;
  color: var(--muted);
}
.galerij-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 540px) {
  .galerij-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 860px) {
  .galerij-grid { grid-template-columns: repeat(4, 1fr); }
}
.galerij-kaart {
  display: block;
  text-decoration: none;
  color: inherit;
}
.galerij-foto {
  position: relative;
  width: 100%;
  background: var(--accent-light);
  overflow: hidden;
  margin-bottom: 0.45rem;
}
.galerij-foto img {
  width: 100%;
  height: auto;
  display: block;
}
.galerij-foto-leeg {
  aspect-ratio: 4/3;
  background: var(--accent-light);
}
.galerij-notitie-dot {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.galerij-titel {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
  margin-bottom: 0.1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.galerij-kunstenaar {
  font-size: 0.78rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collectie-kaart {
  display: block;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.18s;
}

.collectie-kaart-foto {
  aspect-ratio: 1;
  overflow: hidden;
}

.collectie-kaart-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collectie-kaart-placeholder {
  width: 100%;
  height: 100%;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.collectie-kaart-info {
  padding: 0.65rem 0.75rem;
}

.collectie-kaart-info h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collectie-kaart-info p {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.collectie-kaart-museum {
  font-size: 0.7rem !important;
  color: var(--accent) !important;
  font-weight: 500;
}

/* ========================
   DESKTOP (768px+)
   ======================== */

@media (min-width: 768px) {

  body {
    padding-bottom: 0;
  }

  .nav-center {
    display: flex;
    gap: 2rem;
  }

  .nav-center a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s;
  }

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 3rem;
  }

  .intro-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem var(--page-gutter);
    min-height: var(--header-height);
  }

  .nav-actions,
  .navbar .nav-actions,
  .frame-nav-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav-actions .btn,
  .frame-nav-actions .btn {
    font-size: 0.95rem;
    min-height: var(--logo-height-desktop);
    padding: 0.45rem 1.1rem;
    color: var(--text);
    border: 1.5px solid rgba(0,0,0,0.3);
    background: transparent;
  }
  .nav-actions .btn-primary,
  .frame-nav-actions .btn-primary {
    background: rgba(0,0,0,0.75) !important;
    color: var(--accent) !important;
    border-color: transparent !important;
  }

  .hero {
    padding: 6rem 3rem 4rem;
    max-width: 700px;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .map-section {
    padding: 2rem 3rem 4rem;
  }

  .map-header {
    padding: 0;
  }

  .map-header h2 {
    font-size: 1.6rem;
  }

  #map {
    height: 520px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
  }

  .how-it-works {
    padding: 4rem 3rem;
  }

  .how-it-works h2 {
    margin-bottom: 2.5rem;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .step {
    padding: 1.5rem;
  }

  .footer {
    padding: 2rem 3rem;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
  }

  .museum-hero {
    padding: 3rem 3rem 3.5rem;
  }

  .museum-kunstwerken {
    padding: 2.5rem 3rem 4rem;
  }

  .artwork-pub-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .artwork-pub-card {
    grid-template-columns: 110px 1fr;
  }

  .artwork-pub-foto {
    width: 110px;
    height: 110px;
  }

  .auth-page {
    min-height: calc(100vh - 65px);
    padding: 3rem;
  }

  .auth-card {
    padding: 2.5rem;
  }

  .page-header {
    padding: 2.5rem 3rem 2rem;
  }

  .dashboard {
    padding: 2.5rem 3rem;
  }

  .dash-header,
  .dash-tabs,
  .dash-panel {
    padding-left: 3rem;
    padding-right: 3rem;
    margin-left: 0;
  }

  .onboarding-banner {
    margin-left: 3rem;
    margin-right: 3rem;
  }

  .route-page-header,
  .route-lijst,
  .route-acties {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .artwork-photo {
    max-height: 420px;
  }

  .artwork-content {
    padding: 2rem 3rem 3rem;
    max-width: 720px;
    margin: 0 auto;
  }

  .profiel-header {
    padding: 2.5rem 3rem 2.5rem;
  }

  .collectie-body {
    padding: 2.5rem 3rem 4rem;
  }

  .badges-grid,
  .badges-grid-vergrendeld {
    grid-template-columns: repeat(4, 1fr);
  }

  .collectie-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================
   MUSEUM HERO — EXTRA LINKS
   ======================== */

.hero-gmaps-link {
  color: rgba(0,0,0,0.75);
  text-decoration: underline;
  font-size: 0.85rem;
}

/* ========================
   FOTO GALERIJ
   ======================== */

.museum-fotos-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 1.25rem 1.25rem 0;
  border-top: 1px solid var(--border);
}

.museum-fotos-wrap::-webkit-scrollbar { display: none; }

.museum-fotos-scroll {
  display: flex;
  gap: 0.75rem;
  padding-bottom: 0.25rem;
}

.museum-foto-item {
  flex-shrink: 0;
  width: 280px;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  margin: 0;
}

.museum-foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.museum-foto-credit {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.52);
  color: rgba(255,255,255,0.88);
  font-size: 0.65rem;
  padding: 0.25rem 0.6rem;
  line-height: 1.4;
}

/* ========================
   PRAKTISCHE INFORMATIE
   ======================== */

.museum-praktisch {
  border-top: 1px solid var(--border);
  padding: 1.75rem var(--page-gutter) 2rem;
  background: var(--white);
}

.museum-praktisch-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.praktisch-blok:empty { display: none; }

.praktisch-titel {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.uren-tabel {
  border-collapse: collapse;
  width: 100%;
}

.uren-tabel tr {
  border-bottom: 1px solid var(--border);
}

.uren-tabel tr:last-child { border-bottom: none; }

.uren-tabel td {
  padding: 0.5rem 0;
  font-size: 0.875rem;
  vertical-align: top;
}

.uren-dag {
  color: var(--muted);
  font-weight: 500;
  padding-right: 1.25rem;
  white-space: nowrap;
}

.uren-tijd { color: var(--text); }

.prijs-lijst {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.prijs-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.prijs-item:last-child { border-bottom: none; }

.prijs-label { color: var(--muted); }

.prijs-waarde {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.contact-lijst {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.contact-item {
  font-size: 0.875rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--text);
  text-decoration: underline;
  font-weight: 500;
}

.contact-gmaps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========================
   FOG OF WAR — BANNER
   ======================== */

.fog-info-banner {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(241, 236, 222, 0.92);
  color: #5a4e3a;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0.45rem 1.1rem;
  border-radius: 100px;
  border: 1px solid rgba(180, 155, 100, 0.35);
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.4s ease;
}

/* ========================
   MUSEUM — LOKALE CONTEXT
   ======================== */

.museum-lokaal {
  border-top: 1px solid var(--border);
  padding: 2rem var(--page-gutter) 2.5rem;
  background: var(--white);
}

.lokaal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

.lokaal-kaart {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
}

.lokaal-icoon {
  font-size: 1.25rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.lokaal-info {
  flex: 1;
  min-width: 0;
}

.lokaal-type {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  opacity: 0.55;
  margin-bottom: 0.1rem;
}

.lokaal-naam {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lokaal-afstand {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.1rem;
}

.lokaal-add-btn {
  flex-shrink: 0;
  min-width: 88px;
  text-align: center;
}

.lokaal-add-done {
  color: var(--accent) !important;
  background: var(--accent-light) !important;
  border-color: #fbb07a !important;
}

.lokaal-laden,
.lokaal-fout {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 0.5rem 0;
}

.lokaal-kaart-uitgelicht {
  background: var(--accent-light);
  border-color: #fbb07a;
}

.lokaal-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  background: rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 100px;
  padding: 0.15rem 0.55rem;
  margin-bottom: 0.35rem;
}

.lokaal-beschrijving {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 0.2rem;
}

.lokaal-website-link {
  color: var(--text);
  text-decoration: underline;
  font-weight: 500;
}

/* ========================
   NAVIGATIE-APP KNOPPEN
   ======================== */

.nav-app-wrap {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.nav-app-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.65rem;
}

.nav-app-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.nav-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
  min-height: 40px;
}

/* ========================
   VERVOERSMODUS TOGGLE
   ======================== */

.transport-toggle {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
}

.transport-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  min-height: 38px;
}

.transport-btn-active {
  background: var(--bg);
  border-color: var(--accent);
  color: #fff;
}

.transport-btn-active:active {
  background: #d94800;
  border-color: #d94800;
  color: #fff;
}

/* ========================
   IN-APP GPS NAVIGATIE
   ======================== */

.gps-nav-wrap {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.gps-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  padding: 0.7rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  background: var(--bg);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 44px;
  transition: background 0.15s;
}

.gps-nav-btn:active { background: #d94800; }

.gps-status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius);
  background: var(--accent-light);
  border: 1px solid #fbb07a;
}

.gps-status-icon { font-size: 1.1rem; flex-shrink: 0; }

#gpsStatusTekst {
  flex: 1;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  line-height: 1.4;
}

.gps-stop-btn {
  flex-shrink: 0;
  padding: 0.3rem 0.7rem;
  border: 1.5px solid #fbb07a;
  border-radius: 0;
  background: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.15s;
}

.gps-stop-btn:active { background: transparent; color: #fff; border-color: var(--accent); }

.leaflet-gps-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #4285f4;
  border: 2.5px solid #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  animation: gps-pulse 2s ease-out infinite;
}

@keyframes gps-pulse {
  0%   { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 0 rgba(66,133,244,0.5); }
  70%  { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 14px rgba(66,133,244,0); }
  100% { box-shadow: 0 1px 4px rgba(0,0,0,0.3), 0 0 0 0 rgba(66,133,244,0); }
}

/* ========================
   MUSEUM — DAGUITSTAP PLANNER
   ======================== */

.museum-planner {
  border-top: 1px solid var(--border);
  padding: 2rem var(--page-gutter) 3rem;
}

.museum-planner-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.55;
}

.planner-kaart {
  width: 100%;
  height: 280px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.planner-stops {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.planner-stop {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
}

.planner-stop-draggable {
  cursor: grab;
  touch-action: none;
}

.planner-stop-drag {
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  cursor: grab;
  padding-right: 0.1rem;
}

.planner-stop-draggable.dragging {
  opacity: 0.45;
  border-style: dashed;
}

.planner-stop-draggable.drag-over {
  border-color: var(--accent);
  background: var(--accent-light);
}

.planner-stop-vertrek {
  background: var(--accent-light);
  border-color: #fbb07a;
}

.planner-stop-nr {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.planner-stop-vertrek .planner-stop-nr {
  background: transparent;
  font-size: 1.3rem;
}

.planner-stop-naam {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.planner-stop-del {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.82rem;
  padding: 0.2rem 0.4rem;
  border-radius: 0;
  flex-shrink: 0;
  transition: color 0.15s, background 0.15s;
}

.planner-leeg {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  padding: 0.5rem 0;
}

.planner-dot {
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 2.5px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-body);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

@media (min-width: 768px) {
  .museum-fotos-wrap {
    overflow: visible;
    padding: 1.5rem 3rem 0;
  }
  .museum-fotos-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  .museum-foto-item {
    width: auto;
    height: 240px;
  }
  .museum-praktisch {
    padding: 2.5rem 3rem 3rem;
  }
  .museum-praktisch-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .museum-lokaal {
    padding: 2.5rem 3rem 3rem;
  }
  .lokaal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .museum-planner {
    padding: 2.5rem 3rem 4rem;
  }
  .planner-kaart {
    height: 340px;
  }
}

/* ========================
   MUSEUM DASHBOARD
   ======================== */

.dash-header {
  padding: 1.75rem 1.25rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.dash-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dash-naam {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.dash-sub {
  font-size: 0.88rem;
  color: var(--muted);
}

.dash-tabs {
  display: flex;
  gap: 0;
  padding: 1.25rem 1.25rem 0;
  max-width: 900px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dash-tabs::-webkit-scrollbar { display: none; }

.dash-tab {
  padding: 0.65rem 1.1rem;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  margin-bottom: -1px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-tab-active {
  color: var(--text);
  border-bottom-color: var(--donker);
  font-weight: 700;
}

.dash-panel {
  padding: 1.5rem 1.25rem 3rem;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.vereist {
  color: #dc2626;
  font-weight: 700;
}

.card-fout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

.fout-lijst {
  margin: 0.5rem 0 0 1.1rem;
  padding: 0;
}
.fout-lijst li {
  margin-bottom: 0.3rem;
  font-size: 0.88rem;
}

.dash-save-bar {
  padding-top: 0.5rem;
}

.dash-save-btn {
  width: 100%;
  padding: 0.9rem;
  font-size: 1rem;
}

.qr-canvas {
  border-radius: 0;
  border: 1px solid var(--border);
  display: block;
  flex-shrink: 0;
}

.dash-card {
  background: rgba(0,0,0,0.14);
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 0;
  padding: 1.5rem;
}

.dash-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 1rem;
}

.dash-card-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
}

.dash-card .form-group input,
.dash-card .form-group textarea,
.dash-card .form-group select,
.dashboard .form-group input,
.dashboard .form-group textarea,
.dashboard .form-group select {
  background: rgba(0,0,0,0.12);
  border-color: var(--text);
  color: var(--text);
}
.dash-card .form-group input::placeholder,
.dash-card .form-group textarea::placeholder,
.dashboard .form-group input::placeholder,
.dashboard .form-group textarea::placeholder {
  color: rgba(0,0,0,0.35) !important;
  opacity: 1 !important;
}
.dash-card .form-group input:focus,
.dash-card .form-group textarea:focus,
.dash-card .form-group select:focus {
  border-color: var(--donker);
  box-shadow: none;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}

@media (max-width: 540px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

.form-hint {
  font-size: 0.85rem;
  color: var(--text);
  opacity: 0.65;
  margin: -0.35rem 0 0.55rem;
  line-height: 1.5;
}

.muted-label {
  font-weight: 400;
  color: var(--muted);
  font-size: 0.85em;
}

.periode-header {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 0.5rem;
  padding: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.periode-rij {
  display: grid;
  grid-template-columns: 1fr 1fr 36px;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  align-items: center;
}

.periode-rij input {
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
  width: 100%;
}

.periode-rij input:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.periode-del {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}

.periode-leeg {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.5rem 0;
}

.dash-add-btn {
  margin-top: 0.5rem;
}

.kw-card {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}

.kw-card:last-child { border-bottom: none; }

.kw-foto-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.kw-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kw-foto-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.kw-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.kw-titel {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.3;
}

.kw-kunstenaar {
  font-size: 0.82rem;
  color: var(--muted);
}

.kw-verhaal-preview {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.4;
}

.kw-geen-verhaal {
  font-size: 0.8rem;
  color: #f59e0b;
  font-weight: 500;
}

.kw-acties {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.kw-del-btn { color: #dc2626; }

.foto-upload-zone {
  position: relative;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100px;
  background: var(--bg);
  transition: border-color 0.15s;
}

.foto-upload-zone input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.foto-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem;
  text-align: center;
  pointer-events: none;
}

.foto-upload-icon { font-size: 1.75rem; }

.foto-upload-label span:nth-child(2) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent);
}

.foto-upload-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.foto-preview {
  padding: 0.75rem;
}

.foto-preview img {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.dash-empty {
  max-width: 480px;
  margin: 4rem auto;
  text-align: center;
  padding: 0 1.25rem;
}

.dash-empty-icon { font-size: 2.5rem; margin-bottom: 1rem; }

.dash-empty h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.dash-empty p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.edit-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.edit-modal {
  background: var(--white);
  width: 100%;
  max-width: 640px;
  max-height: 92dvh;
  border-radius: 0 16px 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.edit-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.edit-modal-titel {
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.edit-modal-sluit {
  width: 32px;
  height: 32px;
  border: none;
  background: var(--bg);
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: background 0.15s;
}

.edit-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.edit-modal-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .edit-modal-backdrop {
    align-items: center;
    padding: 1.5rem;
  }
  .edit-modal {
    border-radius: 0;
    max-height: 88vh;
  }
}

/* ========================
   ARTWORK.HTML — VERHAAL
   ======================== */

.artwork-verhaal-wrap {
  margin: 1.25rem 0 0.5rem;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--accent-light);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.artwork-verhaal-label {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.artwork-verhaal {
  font-size: 0.97rem;
  line-height: 1.75;
  color: var(--text);
  white-space: pre-line;
}

/* ========================
   PROXIMITY TOAST
   ======================== */

.proximity-toast {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 0.75rem);
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2500;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
  pointer-events: none;
}

.proximity-toast-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@keyframes proximity-pulse {
  0%   { transform: scale(1);   opacity: 1; box-shadow: 0 0 0 0 var(--accent); }
  70%  { transform: scale(1.15); opacity: .8; box-shadow: 0 0 0 10px transparent; }
  100% { transform: scale(1);   opacity: 1; box-shadow: 0 0 0 0 transparent; }
}

.proximity-toast-inner {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  color: var(--text);
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.13);
}

.proximity-pulse {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  flex-shrink: 0;
  animation: proximity-pulse 1.6s ease-in-out infinite;
}

.proximity-toast-tekst {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.proximity-toast-tekst strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proximity-toast-tekst span {
  font-size: 0.75rem;
  color: var(--muted);
}

.proximity-toast-btn {
  padding: 0.4rem 0.9rem;
  background: var(--bg);
  color: #fff;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.proximity-toast-sluit {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.2rem 0.25rem;
  flex-shrink: 0;
  line-height: 1;
}

/* ========================
   COLLECTIE KAART — DEEL KNOP
   ======================== */

.collectie-kaart-wrap {
  position: relative;
}

.collectie-deel-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: background 0.15s, transform 0.15s;
  z-index: 1;
}

/* ========================
   FORM SELECT
   ======================== */

.form-select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23999'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px;
  padding-right: 2.25rem;
}

.form-select:focus {
  outline: none;
  border-color: var(--accent);
}

/* ========================
   DASHBOARD — HIDDEN GEMS
   ======================== */

.gem-rij {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.gem-rij:last-child {
  border-bottom: none;
}

.gem-info {
  flex: 1;
  min-width: 0;
}

.gem-cat-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.gem-naam {
  display: block;
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.gem-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.3rem;
}

.gem-link {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.gem-del-btn {
  flex-shrink: 0;
  color: var(--muted);
}

/* ========================
   MUSEUM PAGINA — HIDDEN GEMS
   ======================== */

.lokaal-sub-titel {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 0.85rem;
  color: var(--text);
}

.hidden-gems-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 1.5rem;
}

.hidden-gem-kaart {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.hidden-gem-kaart:last-child {
  border-bottom: none;
  margin-bottom: 0.5rem;
}

.hidden-gem-icoon {
  font-size: 1.3rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 0;
  flex-shrink: 0;
}

.hidden-gem-info {
  flex: 1;
  min-width: 0;
}

.hidden-gem-type {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.5;
  margin-bottom: 0.15rem;
}

.hidden-gem-naam {
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.hidden-gem-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.25rem;
}

.hidden-gem-link {
  font-size: 0.82rem;
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
}

/* ========================
   COLLECTIE KAART — VERHAAL PREVIEW
   ======================== */

.collectie-kaart-kunstenaar {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.collectie-kaart-notitie {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
  margin-top: 0.35rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.collectie-schets-icon {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  color: var(--accent);
  margin-left: 0.25rem;
}

.collectie-kaart-verhaal {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 0.4rem;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========================
   MUSEUM PAGINA — ROUTE KNOP
   ======================== */

.route-toevoegen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.25rem;
  border: 1.5px solid var(--accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  min-height: 44px;
}

.route-toevoegen-btn:active {
  background: var(--bg);
  color: #fff;
}

.route-toevoegen-btn-actief {
  background: var(--bg);
  color: #fff;
  border-color: var(--accent);
}

/* ========================
   ROUTE.HTML
   ======================== */

.route-page-header {
  padding: 1.75rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
}

.route-page-header h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.route-page-header p {
  font-size: 0.88rem;
  color: var(--muted);
}

.route-lijst {
  padding: 0.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.route-museum-kaart {
  display: flex;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

.route-museum-nr {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.route-museum-body {
  flex: 1;
  min-width: 0;
}

.route-museum-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.route-museum-stad {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.15rem;
}

.route-museum-naam {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.3;
}

.route-museum-acties {
  display: flex;
  gap: 0.4rem;
  flex-shrink: 0;
}

.route-gems {
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
}

.route-gems-titel {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.route-gem-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.25rem 0;
}

.route-gem-desc {
  color: var(--muted);
  font-size: 0.82rem;
}

.route-gem-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.82rem;
}

.route-acties {
  padding: 1rem 1.25rem calc(1rem + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ========================
   GESTRUCTUREERDE UREN & PRIJZEN RIJEN
   ======================== */

.struct-rij {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.struct-rij:last-child { border-bottom: none; }

.struct-veld {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.struct-veld-dag { flex: 2; }
.struct-veld-bezoeker { flex: 2; }

.struct-label {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.struct-rij-top {
  display: flex;
  gap: 0.5rem;
  align-items: flex-end;
}

.struct-rij-top .form-select { flex: 1; min-width: 0; }

.struct-tijd-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  padding-left: 0.25rem;
  margin-top: 0.5rem;
}

.struct-tijd-wrap input[type="time"] {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  min-width: 0;
}

.struct-tijd-wrap input[type="time"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.struct-streep {
  color: var(--muted);
  font-size: 1rem;
  flex-shrink: 0;
  padding-bottom: 0.55rem;
  align-self: flex-end;
}

.form-input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.form-input::placeholder { color: #444; opacity: 1; }

.struct-prijs-row {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* ========================
   DAG CHIPS (openingsuren)
   ======================== */

.dag-chips-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding-top: 0.1rem;
}

.dag-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0 0.1rem;
}

.dag-chip {
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  line-height: 1;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.dag-chip-sep {
  color: var(--muted);
  font-weight: 700;
  padding: 0.25rem 0.5rem;
}

.dag-chip-wis {
  color: var(--muted);
  font-size: 0.72rem;
  padding: 0.25rem 0.5rem;
}

.form-input-readonly {
  background: var(--bg);
  cursor: default;
  caret-color: transparent;
}

.struct-veld-prijs {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.prijs-invoer-wrap {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 0.65rem;
  flex-shrink: 0;
  width: 90px;
  transition: opacity 0.2s;
}

.prijs-invoer-dim { opacity: 0.35; }

.prijs-euro-sym {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  flex-shrink: 0;
}

.prijs-bedrag {
  border: none;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  width: 100%;
  outline: none;
  padding: 0.55rem 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.prijs-bedrag::-webkit-inner-spin-button,
.prijs-bedrag::-webkit-outer-spin-button { -webkit-appearance: none; }

.prijs-gratis-label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
}

.prijs-gratis-label input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

/* ========================
   FOTO UPLOAD ZONE — drag state
   ======================== */

.foto-upload-zone-drag {
  border-color: var(--accent) !important;
  background: var(--accent-light) !important;
}

/* ========================
   MAP ZOEKBALK
   ======================== */

.map-zoek-wrap {
  padding: 0.75rem 1.25rem 0.5rem;
  background: var(--bg);
}

.map-zoek {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2385756e' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E") no-repeat 0.85rem center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  outline: none;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.map-zoek:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

.map-zoek::placeholder { color: var(--muted); }

/* ========================
   KAART VOORTGANG
   ======================== */

.kaart-voortgang {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0;
  padding: 0.4rem 1.1rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  white-space: nowrap;
  z-index: 650;
  pointer-events: none;
  letter-spacing: 0.02em;
}

/* ========================
   MUSEUM HERO COVERFOTO
   ======================== */

.museum-hero-foto {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: var(--border);
}

.museum-hero-foto img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

/* ========================
   DASHBOARD STATISTIEKEN
   ======================== */

.stat-totaal {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.stat-rij {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.stat-naam {
  font-size: 0.82rem;
  min-width: 110px;
  max-width: 110px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}

.stat-balk-wrap {
  flex: 1;
  height: 7px;
  background: var(--border);
  border-radius: 0;
  overflow: hidden;
}

.stat-balk {
  height: 100%;
  background: var(--bg);
  border-radius: 0;
  transition: width 0.6s cubic-bezier(.4,0,.2,1);
  min-width: 2px;
}

.stat-getal {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  min-width: 28px;
  text-align: right;
}

/* ========================
   ONBOARDING BANNER
   ======================== */

.onboarding-banner {
  background: rgba(0,0,0,0.1);
  color: var(--text);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin: 1rem 1.25rem;
}

.onboarding-banner h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.onboarding-banner p {
  font-size: 0.88rem;
  opacity: 0.92;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.onboarding-stappen {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.onboarding-stap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  opacity: 0.95;
}

.onboarding-stap-nr {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ========================
   SITE HEADER
   ======================== */

.site-header {
  background: #035DFA;
  padding: 1.25rem 1.5rem 1.1rem;
  position: sticky;
  top: 0;
  z-index: 999;
}

.site-header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.site-logo {
  font-family: 'Cal Sans', var(--font-display), serif;
  font-size: clamp(2.8rem, 9vw, 6rem);
  font-weight: 400;
  color: #FF2400;
  text-decoration: none;
  line-height: 0.9;
  display: block;
}

.site-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 600;
  color: #0D0D1A;
  margin-top: 0.3rem;
}

.site-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  flex-shrink: 0;
}

.site-nav-actions {
  display: none;
  gap: 0.5rem;
  align-items: center;
}

.site-mobile-menu {
  display: none;
  flex-direction: column;
  background: #035DFA;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 998;
}
.site-mobile-menu.open { display: flex; }
.site-mobile-menu a,
.site-mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  color: #0D0D1A;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  background: none;
  border: none;
  border-bottom: 1px solid var(--donker);
  border-radius: 0;
  cursor: pointer;
  text-decoration: none;
  box-sizing: border-box;
  min-height: auto;
}
.site-mobile-menu .mobile-menu-actions > *:last-child { border-bottom: none; }

.site-nav-actions .btn-ghost {
  color: #0D0D1A;
  border-color: rgba(13,13,26,0.3);
  background: transparent;
}
.site-nav-actions .btn-primary {
  background: #0D0D1A;
  color: #035DFA;
  border-color: #0D0D1A;
}

@media (min-width: 768px) {
  .site-nav-actions { display: flex; }
  .site-hamburger   { display: none; }
}

/* Map container */
.frame-body {
  background: var(--map-bg);
}

.map-container {
  position: relative;
  width: 100%;
  height: 85svh;
  overflow: hidden;
  background: var(--map-bg);
}

.map-container #map {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
  border: none !important;
  z-index: 0;
}

#frame-morph-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.frame-zoek-wrap {
  position: absolute;
  bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom) + 0.75rem);
  left: clamp(0.75rem, 6vw, 3rem);
  right: clamp(0.75rem, 6vw, 3rem);
  z-index: 20;
}

.map-container .locatie-banner {
  position: absolute;
  top: clamp(4rem, 12vh, 6rem);
  left: clamp(0.75rem, 6vw, 3rem);
  right: clamp(0.75rem, 6vw, 3rem);
  z-index: 20;
  margin: 0;
}

.orange-section {
  position: relative;
  background: #FF2400;
  color: #0D0D1A;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

/* ========================
   INTRO SECTIE
   ======================== */

.intro-section {
  position: relative;
  min-height: 100svh;
  background: var(--accent);
  display: block;
  padding-bottom: 3rem;
}

.intro-nav {
  display: grid;
  grid-template-columns: var(--page-gutter) auto 1fr auto var(--page-gutter);
  align-items: center;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 1001;
  background: var(--bg);
}

.intro-nav { grid-column: 1 / -1; }

.intro-nav .frame-logo      { grid-column: 2 / 3; }
.intro-nav .frame-hamburger { grid-column: 4 / 5; justify-self: end; }

.intro-logo-size .logo-img {
  --intro-logo-w: clamp(56px, 10svh, 112px);
  width: var(--intro-logo-w) !important;
  height: auto !important;
  margin: 0 !important;
}

.intro-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 var(--intro-horizontal-pad);
  padding-right: 1.25rem;
  max-width: 760px;
}

.intro-title {
  font-family: 'Cal Sans', var(--font-display), serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-weight: 400;
}

.intro-title-line1,
.intro-title-line2 {
  display: block;
}

@media (min-width: 720px) {
  .intro-nav .frame-logo { grid-column: 2 / 3; }
  .intro-nav .frame-hamburger { grid-column: 3 / 4; justify-self: start; }
  .intro-nav .frame-nav-actions { grid-column: 4 / 5; justify-self: end; }

  .intro-content {
    box-sizing: border-box;
    width: min(680px, calc(50% - var(--page-gutter)));
    margin-left: var(--page-gutter);
    padding-left: 0;
    padding-right: 1rem;
  }
  .intro-title, .intro-lead { margin-left: 0; padding-left: 0; }
}

:root { --intro-horizontal-pad: 1.25rem; }

@media (max-width: 520px) {
  .intro-section { display: block; }
  .intro-content { padding-left: 1rem; max-width: 100%; }
  .intro-title { margin-left: 0; }
}

.intro-lead {
  font-family: var(--font-body);
  font-size: clamp(1.15rem, 3.2vw, 1.8rem);
  color: var(--muted);
  margin-bottom: 2.5rem;
  max-width: 680px;
  line-height: 1.7;
}

@media (min-width: 720px) {
  .intro-section {
    display: grid;
    grid-template-columns: var(--page-gutter) auto 1fr auto var(--page-gutter);
    align-items: start;
    gap: 0;
  }
  .intro-nav { grid-column: 1 / -1; }
  .intro-nav .frame-logo { grid-column: 2 / 3; }
  .intro-nav .frame-hamburger { grid-column: 3 / 4; justify-self: start; }
  .intro-nav .frame-nav-actions { grid-column: 4 / 5; justify-self: end; }
  .intro-content { grid-column: 2 / 4; margin-left: 0; padding-left: 0; }
}

@media (min-width: 640px) {
  .intro-section .intro-content {
    margin-left: var(--page-gutter) !important;
    padding-left: 0 !important;
    transform: none !important;
    width: min(720px, calc(100% - var(--page-gutter))) !important;
    position: relative !important;
    left: 0 !important;
  }
  .intro-section .intro-title,
  .intro-section .intro-lead {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

.intro-steps {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.intro-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.intro-step-nr {
  font-family: 'Cal Sans', var(--font-display), serif;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text);
  min-width: 36px;
  padding-top: 0.15rem;
}

.intro-step h3 {
  font-family: 'Cal Sans', var(--font-display), serif;
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.intro-step p {
  font-size: 1.3rem;
  color: var(--text);
  line-height: 1.5;
}

.btn-white-dark {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  align-self: center;
}
.btn-white-dark:active { opacity: 0.85; }

.intro-scroll-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2.5rem;
  padding-bottom: 2rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.03em;
  cursor: pointer;
  touch-action: manipulation;
  border: none;
  background: none;
  position: relative;
  z-index: 1;
  /* Span full grid width on desktop so centering is relative to the viewport */
  grid-column: 1 / -1;
}
.intro-scroll-hint:active { opacity: 0.6; }

.buurt-sectie {
  padding: 2rem var(--page-gutter);
}
@media (min-width: 1024px) {
  .buurt-sectie {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem 3rem;
  }
}

@media (min-width: 640px) and (max-width: 1023px) {
  .intro-section .intro-content {
    margin-left: var(--page-gutter) !important;
    padding-left: 0 !important;
  }
}

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Frame hero (legacy) */
.frame-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 1280;
  background: var(--map-bg);
  overflow: hidden;
}

.frame-hero #map {
  position: absolute !important;
  top: 0; left: 0;
  width: 100% !important;
  height: 100% !important;
  min-height: unset !important;
  border: none !important;
  z-index: 1;
}

.frame-svg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10;
  pointer-events: none;
  display: block;
}

.intro-nav,
.frame-nav {
  position: sticky;
  top: 0;
  z-index: 1001;
}
.frame-nav {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5svh clamp(0.75rem, 2.5vw, 1.5rem);
  background: transparent;
}

.frame-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.frame-logo .logo-img {
  height: clamp(36px, 6svh, 60px);
  width: auto;
  filter: brightness(0) opacity(0.82);
}

.frame-nav .btn-ghost,
.frame-nav-actions .btn-ghost,
.frame-nav-actions .btn {
  color: var(--text);
  border: 1.5px solid var(--donker);
  background: transparent;
  font-size: clamp(0.75rem, 1.5vw, 0.95rem);
  padding: 0.45rem 0.9rem;
  min-height: var(--logo-height-desktop);
  line-height: var(--logo-height-desktop);
}
.frame-nav .btn-ghost:active,
.frame-nav-actions .btn-ghost:active { background: rgba(0,0,0,0.08); }

.frame-nav .btn-primary,
.frame-nav-actions .btn-primary {
  background: rgba(0,0,0,0.82);
  color: var(--accent);
  border-color: rgba(0,0,0,0.82);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  padding: 0.45rem 0.9rem;
  min-height: 36px;
}
.frame-nav .btn-primary:active,
.frame-nav-actions .btn-primary:active { opacity: 0.85; }

.orange-section {
  background: #FF2400;
  color: #0D0D1A;
  padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
}

.how-it-works-orange {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3rem);
  max-width: 900px;
  margin: 0 auto;
}

.how-it-works-orange h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  margin-bottom: 1.5rem;
  color: #0D0D1A;
}

.steps-orange {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .steps-orange { grid-template-columns: repeat(3, 1fr); }
}

.step-orange {
  padding: 1.25rem;
  border: 1.5px solid rgba(13,13,26,0.2);
  border-radius: var(--radius);
  background: rgba(13,13,26,0.06);
}

.step-nr {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(13,13,26,0.5);
  margin-bottom: 0.5rem;
}

.step-orange h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  color: #0D0D1A;
}

.step-orange p {
  font-size: 0.9rem;
  color: rgba(13,13,26,0.75);
  line-height: 1.55;
}

.btn-orange-dark {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: #0D0D1A;
  color: #FF2400;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}
.btn-orange-dark.btn-large { padding: 1rem 2.5rem; }
.btn-orange-dark:active    { opacity: 0.85; }

.footer-orange {
  padding: 1.5rem 1.25rem;
  border-top: 1px solid rgba(13,13,26,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  text-align: center;
}
.footer-orange p {
  font-size: 0.85rem;
  color: rgba(13,13,26,0.6);
}

.btn:active,
.bottom-nav-item:active,
.transport-btn:active,
.route-toevoegen-btn:active,
.nav-app-btn:active,
.locatie-btn:active {
  opacity: 0.7;
}

/* ========================
   DESKTOP LAYOUT (final)
   ======================== */

@media (min-width: 1024px) {
  :root {
    --desktop-gutter-nudge: 0px;
    --logo-height-desktop: 48px;
  }

  body { padding-top: env(safe-area-inset-top); }

  .intro-section {
    display: grid !important;
    grid-template-columns: var(--page-gutter) auto 1fr auto var(--page-gutter);
    align-items: start;
    gap: 0;
  }

  .intro-nav .frame-logo {
    grid-column: 2 / 3;
    margin-top: 0;
    margin-left: calc(var(--page-gutter) + var(--desktop-gutter-nudge)) !important;
    align-self: center;
  }

  .frame-logo .logo-img {
    height: var(--logo-height-desktop) !important;
    width: auto !important;
  }

  .intro-nav .frame-nav-actions {
    grid-column: 4 / 5;
    justify-self: end;
    margin-right: calc(var(--page-gutter) + var(--desktop-gutter-nudge));
    align-self: center;
    align-items: center;
  }

  .intro-content {
    grid-column: 2 / 4;
    margin-left: calc(var(--page-gutter) + var(--desktop-gutter-nudge)) !important;
    padding-left: 0 !important;
    transform: none !important;
    position: relative !important;
    left: 0 !important;
    width: min(720px, calc(100% - var(--page-gutter)));
  }

  .intro-title, .intro-lead {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .orange-section { padding-bottom: 3rem; }

  .intro-content {
    padding-top: 0;
    padding-bottom: 0;
    padding-left: var(--intro-horizontal-pad);
    padding-right: 3rem;
  }

  .frame-logo { margin-left: var(--page-gutter) !important; }
}

/* ========================
   CONTRAST FIXES
   ======================== */

input::placeholder,
textarea::placeholder {
  color: #444 !important;
  opacity: 1 !important;
}

/* ========================
   DONKER RAND
   ======================== */

:root { --donker: #1a1a1a; }

.auth-card,
.artwork-pub-card,
.missie-card,
.collectie-kaart,
.galerij-kaart,
.lokaal-kaart,
.hidden-gem-kaart,
.opdracht-kaart,
.planner-kaart,
.planner-stop,
.route-museum-kaart,
.foto-upload-zone,
.dash-card,
.nav-app-btn,
.transport-btn,
.step,
#buurtGrid > a {
  border: 2px solid var(--donker) !important;
}

.stempel-vak {
  border-color: var(--donker) !important;
}

.btn,
.btn-primary,
.btn-ghost,
.btn-large,
.btn-block,
.btn-sm,
.btn-collect,
.btn-white-dark,
.btn-scan-actie,
.btn-scan-ghost {
  border-color: var(--donker) !important;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-input,
.form-select,
.map-zoek {
  border-color: var(--donker) !important;
  border-width: 1.5px !important;
}

.intro-content > *,
.intro-title, .intro-title-line1, .intro-title-line2,
.intro-lead, .intro-steps, .intro-step,
.intro-step-nr, #ctaCreateAccount {
  margin-left:  0 !important;
  padding-left: 0 !important;
}

.intro-lead {
  font-family: var(--font-body);
  font-size: 1.2rem;
  line-height: 1.55;
  margin-bottom: 2rem;
}

.intro-lead { font-size: 1.35rem !important; }
.intro-step p { font-size: 1.3rem !important; }

@media (min-width: 768px) {
  .intro-title {
    font-size: clamp(2.5rem, 4.5vw, 5rem);
    white-space: nowrap;
  }
}

.intro-section > *:not(#heroGrid) { position: relative; z-index: 1; }

/* ========================
   SCHEME KLEUR
   ======================== */

.intro-section *,
.intro-section *::before,
.intro-section *::after {
  color: var(--donker) !important;
  border-color: var(--donker) !important;
  -webkit-text-fill-color: var(--donker) !important;
}
.intro-section input,
.intro-section select,
.intro-section textarea {
  color: var(--donker) !important;
  background: transparent !important;
}
.bottom-nav-item,
.bottom-nav-item * {
  color: var(--donker) !important;
}
.bottom-nav-item.active,
.bottom-nav-item.active * {
  color: var(--donker) !important;
}
.site-footer,
.site-footer * {
  color: var(--donker) !important;
}

.intro-section svg,
.bottom-nav svg,
.site-footer svg {
  stroke: var(--donker) !important;
  fill: none;
  color: var(--donker) !important;
}
.intro-section img {
  filter: none !important;
  opacity: 0.9 !important;
}

.footer-logo-img {
  opacity: 0.9;
  filter: none;
}

/* ========================
   FONT SCALING
   ======================== */

body * {
  font-size: 1.3rem !important;
}

h1, h2, h3,
.museum-hero-naam, .museum-section-title,
.praktisch-titel, .lokaal-sub-titel,
.galerij-museum-naam, .profiel-naam,
.auth-card h1, .collectie-sectie-titel,
.dashboard-section h2, .dash-card-title,
.buurt-sectie h2, .artwork-pub-titel {
  font-size: 2rem !important;
}

.intro-title, .intro-title-line1, .intro-title-line2 {
  font-size: 4rem !important;
}

.bottom-nav-item span {
  font-size: 0.68rem !important;
}

.dashboard *,
.dash-card *,
.dash-panel *,
.dash-tabs * {
  color: var(--text) !important;
  border-color: var(--donker) !important;
}
.dash-tab-active {
  color: var(--donker) !important;
  border-bottom-color: var(--donker) !important;
  font-weight: 700 !important;
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.form-grid-2 .form-group {
  display: flex;
  flex-direction: column;
}

.form-grid-2 input {
  width: 100%;
  height: 56px;
}

@media (max-width: 768px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 768px) {
  .bottom-nav {
    display: none !important;
  }

  body {
    padding-bottom: 0 !important;
  }
}
/* ═══════════════════════════════════════════════
   NAV KNOPPEN — geen underline, side by side
   ═══════════════════════════════════════════════ */
.frame-nav-actions {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
}

.frame-nav-actions a,
.frame-nav-actions button,
.btn, a.btn, button.btn {
  text-decoration: none !important;
  white-space: nowrap;
}

/* Volledige-breedte knoppen: lange labels mogen afbreken i.p.v. uit de knop te lopen.
   Werkt voor elke (toekomstige) tekst/vertaling — knop groeit mee in hoogte. */
button.btn-block, a.btn-block, .btn-block {
  white-space: normal;
  overflow-wrap: anywhere;
  height: auto;
  min-height: 44px;
  line-height: 1.3;
}

/* Zorg dat knoppen op kleine schermen compact blijven */
@media (max-width: 400px) {
  .frame-nav-actions a,
  .frame-nav-actions button {
    font-size: 0.85rem !important;
    padding: 0.4rem 0.75rem !important;
  }
}
