:root {
  --ink: #0d2340;
  --parchment: #f0f5fb;
  --warm: #dde9f5;
  --accent: #1a6fa8;
  --accent-light: #5aaad4;
  --gold: #2e8b57;
  --gold-light: #4db87a;
  --green: #2e8b57;
  --green-light: #4db87a;
  --muted: #5a7494;
  --border: rgba(26,111,168,0.18);
  --rood: #b3261e;
  --rood-licht: rgba(179,38,30,0.1);
  --oranje: #c77d10;
  --oranje-licht: rgba(199,125,16,0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── TEXTURE OVERLAY ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 4rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245,241,235,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-logo .logo-abbr {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-logo .logo-title {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo .logo-mark svg { width: 18px; height: 18px; }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--ink);
  color: var(--parchment) !important;
  border-radius: 2px;
  font-size: 0.75rem !important;
  letter-spacing: 0.1em !important;
}

.nav-cta:hover { background: var(--accent) !important; color: var(--parchment) !important; }

/* ── HERO ── */
#home {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 70px;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 6rem 6rem;
  position: relative;
}

.hero-left::after {
  content: '';
  position: absolute;
  right: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border), transparent);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.hero-tag::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  line-height: 1.08;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

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

.hero-subtitle {
  font-family: 'Libre Baskerville', serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 420px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 0.9rem 2rem;
  background: var(--ink);
  color: var(--parchment);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-primary:hover { background: var(--accent); transform: translateY(-1px); }

.btn-secondary {
  padding: 0.9rem 2rem;
  background: transparent;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid var(--border);
  transition: all 0.25s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  background:
    radial-gradient(circle at 70% 25%, rgba(26,111,168,0.14), transparent 55%),
    linear-gradient(150deg, #eef5fb 0%, #dce9f5 55%, #cfe0f0 100%);
  overflow: hidden;
}

/* Decoratieve cirkels op de achtergrond */
.hero-right::before,
.hero-right::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(26,111,168,0.12);
  border-radius: 50%;
}
.hero-right::before {
  width: 520px; height: 520px;
  top: -130px; right: -160px;
}
.hero-right::after {
  width: 340px; height: 340px;
  bottom: -110px; left: -120px;
  border-color: rgba(26,111,168,0.10);
}

/* Landelijke dekking — transparante kaart van Nederland */
.hero-map {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Doorzichtige landkaart als achtergrond, donkerblauwe lijnen */
.hero-map-figure {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1.75rem;
}
.hero-map-figure .nl-map-svg {
  width: 100%;
  max-width: 300px;
  height: auto;
  color: var(--ink);
  filter: drop-shadow(0 14px 28px rgba(13,35,64,0.18));
}
.hero-map-figure .nl-map-svg g {
  fill: rgba(26,111,168,0.30);
  stroke: var(--ink);
  stroke-width: 1.5;
}

/* Tekstveldje op de kaart */
.hero-map-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: 6px;
  box-shadow: 0 30px 60px -25px rgba(13,35,64,0.35);
  padding: 2rem 2.25rem 2.25rem;
  text-align: center;
}

.hero-map-kicker {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-map-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.hero-map-text {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.hero-stats {
  display: flex;
  gap: 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}

/* ── SECTIONS COMMON ── */
section {
  padding: 7rem 6rem;
}

.section-header {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  margin-bottom: 5rem;
}

.section-number {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  margin-top: -0.5rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.15;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 1rem;
}

.section-desc {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 500px;
}

/* ── OVER ONS ── */
#over {
  background: var(--ink);
  color: var(--parchment);
}

#over .section-number { color: rgba(255,255,255,0.08); }
#over .section-title { color: var(--parchment); }
#over .section-desc { color: rgba(245,241,235,0.6); }
#over .section-header { margin-bottom: 0; }
#over .over-body { flex: 1; min-width: 0; }

/* Over de organisatie — tekst + sfeerfoto's */
.over-content {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 1.5rem;
}

.over-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.over-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(245,241,235,0.6);
}

.over-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Collage rechts — 6 afbeeldingen in een raster */
.over-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  align-content: start;
}

.over-collage-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 4 / 3;
}

.over-collage-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.over-collage-item:hover img { transform: scale(1.05); }

/* Kleine sfeerfoto's onder de tekst (over + contact) */
.over-fotos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.contact-fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: 3rem;
}

.contact-cta {
  margin-top: 2rem;
  text-align: left;
}

#contact .contact-body { flex: 1; min-width: 0; }
#contact .section-header { margin-bottom: 0; }

.over-foto-klein {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
  width: 200px;
  aspect-ratio: 4 / 3;
}

.over-foto-klein img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.over-foto-klein:hover img { transform: scale(1.05); }

.over-foto {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.08);
}

.over-foto img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.over-foto:hover img { transform: scale(1.04); }

.over-foto figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 0.7rem;
  background: linear-gradient(to top, rgba(13,35,64,0.85), transparent);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,245,251,0.9);
}

/* Wanneer er geen foto's zijn geplaatst, tekst over volle breedte */
.over-content--solo { grid-template-columns: 1fr; max-width: 880px; }

/* ── ZOEKEN ── */
#zoeken {
  background: var(--warm);
}

.search-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.search-box {
  position: relative;
  margin: 0 auto 2rem;
}

.search-input {
  width: 100%;
  padding: 1.25rem 1.75rem;
  padding-right: 10rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  letter-spacing: 0.05em;
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,168,0.1);
}

.search-input::placeholder { color: var(--muted); }

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0.7rem 1.5rem;
  background: var(--ink);
  color: var(--parchment);
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.search-btn:hover { background: var(--accent); }

.search-hint {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

.search-error {
  max-width: 700px;
  margin: 0 auto 2rem;
  padding: 1rem 1.5rem;
  background: var(--rood-licht);
  border: 1px solid rgba(179,38,30,0.3);
  border-radius: 2px;
  color: var(--rood);
  font-size: 0.875rem;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  text-align: left;
}

/* Taxateur card */
.taxateur-result {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
  text-align: left;
  animation: fadeSlide 0.4s ease;
}

@keyframes fadeSlide {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.taxateur-header {
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  border-bottom: 1px solid var(--border);
}

.taxateur-avatar {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--parchment);
  font-weight: 700;
  overflow: hidden;
}

.taxateur-avatar img { width: 100%; height: 100%; object-fit: cover; }

.taxateur-meta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.taxateur-meta .reg-num {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-weight: 500;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  background: rgba(46,139,87,0.1);
  color: var(--green);
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.status-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.status-badge.oranje { background: var(--oranje-licht); color: var(--oranje); }
.status-badge.oranje::before { background: var(--oranje); }
.status-badge.rood { background: var(--rood-licht); color: var(--rood); }
.status-badge.rood::before { background: var(--rood); }

.taxateur-body {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.info-group label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.info-group p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.6;
}

.qr-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--warm);
  border-radius: 2px;
}

.qr-section svg { width: 120px; height: 120px; display: block; }
.qr-code {
  width: 120px;
  height: 120px;
}

.qr-label {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.not-found {
  padding: 2rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  font-style: italic;
}

/* ── PROFIEL PAGINA ── */
.profiel-page {
  padding-top: 70px;
  min-height: 100vh;
  background: var(--warm);
}

.profiel-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.profiel-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 2rem;
  transition: color 0.2s;
}

.profiel-back:hover { color: var(--accent); }

.profiel-card {
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.profiel-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.verificatie-url {
  font-size: 0.75rem;
  color: var(--muted);
  word-break: break-all;
  margin-top: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

.btn-kopieer {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
}

.btn-kopieer:hover { border-color: var(--accent); background: rgba(26,111,168,0.06); }

/* ── QR UITLEG ── */
#qr {
  background: var(--parchment);
}

.qr-explain {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.qr-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 340px;
  background: var(--warm);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.qr-demo-wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.qr-demo-wrap p {
  margin-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.qr-steps {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  flex-shrink: 0;
  width: 2rem;
}

.step-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step-text p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--muted);
}

/* ── CONTACT ── */
#contact {
  background: var(--warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px);
  justify-content: center;
  gap: 6rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

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

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--ink);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--parchment);
}

.contact-item-text label {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.4rem;
}

.contact-item-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ink);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.85rem 1rem;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.field-error {
  font-size: 0.75rem;
  color: var(--rood);
  font-style: italic;
}

/* ── INTRANET ── */
#intranet {
  background: var(--ink);
  display: flex;
  align-items: stretch;
  min-height: 80vh;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.intranet-left {
  flex: 1;
  padding: 7rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

#intranet .section-number { color: rgba(255,255,255,0.06); }
#intranet .section-title { color: var(--parchment); }
#intranet .section-desc { color: rgba(245,241,235,0.5); max-width: 380px; }

.login-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

.login-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(245,241,235,0.55);
  font-size: 0.875rem;
}

.login-feature::before {
  content: '';
  width: 20px; height: 1px;
  background: var(--accent-light);
  flex-shrink: 0;
}

.intranet-right {
  width: 460px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.03);
  border-left: 1px solid rgba(255,255,255,0.06);
  padding: 7rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--parchment);
  margin-bottom: 0.5rem;
}

.login-form-sub {
  font-size: 0.8rem;
  color: rgba(245,241,235,0.4);
  margin-bottom: 2.5rem;
  letter-spacing: 0.05em;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .form-group label { color: rgba(245,241,235,0.4); }

.login-form input {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: var(--parchment);
}

.login-form input:focus { border-color: var(--accent-light); }
.login-form input::placeholder { color: rgba(245,241,235,0.2); }

.login-form input[type="password"]::placeholder { color: rgba(245,241,235,0.2); }

.login-error {
  padding: 0.85rem 1rem;
  background: var(--rood-licht);
  border: 1px solid rgba(179,38,30,0.4);
  border-radius: 2px;
  color: #f3a9a3;
  font-size: 0.82rem;
  font-style: italic;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(245,241,235,0.4);
  margin-top: 0.5rem;
}

.login-options a {
  color: var(--accent-light);
  text-decoration: none;
}

.btn-login {
  width: 100%;
  padding: 1rem;
  background: var(--accent);
  color: var(--parchment);
  border: none;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 1rem;
}

.btn-login:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

/* ── FOOTER ── */
footer {
  background: #071428;
  padding: 3rem 6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(245,241,235,0.6);
  letter-spacing: 0.08em;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245,241,235,0.3);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(245,241,235,0.7); }

.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,241,235,0.2);
}

/* ── INTRANET DASHBOARD ── */
.dashboard {
  min-height: 100vh;
  background: var(--parchment);
  padding-top: 70px;
}

.dashboard-header {
  background: var(--ink);
  padding: 3rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.dashboard-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--parchment);
}

.dashboard-header p {
  color: rgba(245,241,235,0.5);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

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

.dash-btn {
  padding: 0.6rem 1.2rem;
  background: rgba(255,255,255,0.06);
  color: rgba(245,241,235,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}

.dash-btn:hover, .dash-btn.active {
  background: var(--accent);
  color: var(--parchment);
  border-color: var(--accent);
}

.dashboard-body {
  padding: 4rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.dash-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.dash-card-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-card-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.dash-card-body { padding: 2rem; }

.profile-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.profile-avatar-lg {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--ink), var(--accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--parchment);
  font-weight: 700;
}

.profile-details h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.profile-details p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.tag {
  padding: 0.25rem 0.7rem;
  background: var(--warm);
  color: var(--muted);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: 1px solid var(--border);
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
}

.activity-item:last-child { border-bottom: none; padding-bottom: 0; }

.activity-dot {
  width: 8px; height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── SUCCESS MESSAGE ── */
.success-msg {
  padding: 1rem 1.5rem;
  background: rgba(46,139,87,0.1);
  border: 1px solid rgba(46,139,87,0.3);
  border-radius: 2px;
  color: var(--green);
  font-size: 0.875rem;
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  margin-top: 1rem;
}

/* ── VEHICLE BAND ── */
.vehicle-band {
  background: var(--ink);
  padding: 1.5rem 6rem;
  display: flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.vehicle-band-inner {
  display: flex;
  gap: 4rem;
  align-items: center;
  white-space: nowrap;
  animation: scrollBand 30s linear infinite;
}

@keyframes scrollBand {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.vehicle-band-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,241,235,0.3);
  flex-shrink: 0;
}

.vehicle-band-item svg { opacity: 0.4; flex-shrink: 0; }

.vehicle-band-sep {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  flex-shrink: 0;
}

/* ── GESCHILLENCOMMISSIE ── */
#geschillen {
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}

#geschillen::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--green), transparent);
}

.geschillen-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  margin-bottom: 5rem;
  align-items: start;
}

.geschillen-text p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1rem;
}

.geschillen-text p:last-child { margin-bottom: 0; }

.geschillen-aside {
  background: var(--warm);
  border: 1px solid var(--border);
  padding: 2.5rem;
  position: relative;
}

.geschillen-aside::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 100%;
  background: var(--gold);
  opacity: 0.7;
}

.geschillen-aside h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.geschillen-aside ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.geschillen-aside li {
  font-size: 0.875rem;
  color: var(--muted);
  padding-left: 1.2rem;
  position: relative;
  line-height: 1.6;
}

.geschillen-aside li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-light);
  font-size: 0.8rem;
}

.procedure-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 4rem;
  overflow: hidden;
}

.procedure-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background 0.25s;
}

.procedure-step:last-child { border-right: none; }
.procedure-step:hover { background: var(--warm); }

.procedure-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 1.25rem;
  display: block;
}

.procedure-step h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.procedure-step p {
  font-size: 0.825rem;
  line-height: 1.7;
  color: var(--muted);
}

.procedure-step-arrow {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background: var(--parchment);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--accent);
}

.geschillen-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.geschillen-tarief {
  background: var(--ink);
  padding: 2.5rem;
  color: var(--parchment);
}

.geschillen-tarief h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--parchment);
}

.tarief-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.875rem;
}

.tarief-row:last-child { border-bottom: none; }

.tarief-row span:first-child { color: rgba(245,241,235,0.55); }
.tarief-row span:last-child {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--gold-light);
}

.geschillen-melding {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.geschillen-melding h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.geschillen-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.geschillen-foto {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  border-radius: 2px;
}

.geschillen-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.75) brightness(0.9);
  transition: transform 0.5s ease;
}

.geschillen-foto:hover img { transform: scale(1.04); }

.geschillen-foto-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.6rem 0.9rem;
  background: linear-gradient(to top, rgba(13,35,64,0.75), transparent);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,245,251,0.85);
}

/* Divider */
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 6rem;
}

/* ── ONGELDIG / FOUTPAGINA ── */
.fout-page {
  min-height: 100vh;
  padding-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--warm);
}

.fout-wrap {
  max-width: 560px;
  text-align: center;
  padding: 3rem 2rem;
}

.fout-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 2rem;
  border-radius: 50%;
  background: var(--rood-licht);
  color: var(--rood);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fout-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink);
}

.fout-wrap p {
  font-family: 'Libre Baskerville', serif;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  nav { padding: 0 2rem; }
  section { padding: 5rem 3rem; }
  #home { grid-template-columns: 1fr; }
  .hero-left { padding: 7rem 3rem 4rem; }
  .hero-left::after { display: none; }
  .hero-right { display: none; }
  .divider { margin: 0 3rem; }
  .over-grid { grid-template-columns: 1fr; }
  .over-content { grid-template-columns: 1fr; gap: 2.5rem; }
  .qr-explain { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .geschillen-intro { grid-template-columns: 1fr; gap: 3rem; }
  .geschillen-bottom { grid-template-columns: 1fr; }
  .intranet-right { width: 100%; }
  .taxateur-body { grid-template-columns: 1fr; }
  .dashboard-body { grid-template-columns: 1fr; padding: 3rem 2rem; }
  .dashboard-header { padding: 2.5rem 2rem; }
  #intranet { flex-direction: column; }
  footer { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; height: 64px; }
  .nav-links { gap: 1rem; }
  .nav-links li:not(:last-child) { display: none; }

  #home { padding-top: 64px; }
  .hero-left { padding: 5.5rem 1.5rem 3rem; }
  .hero-title { font-size: clamp(2.1rem, 8.5vw, 3.4rem); }
  .hero-subtitle { font-size: 0.95rem; margin-bottom: 2rem; }
  .hero-actions { width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { flex: 1 1 100%; justify-content: center; }

  section { padding: 4rem 1.5rem; }
  .section-header { flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
  .section-number { font-size: 2.5rem; margin-top: 0; }
  .divider { margin: 0 1.5rem; }
  .vehicle-band { padding: 1.25rem 1.5rem; }
  .search-input { padding-right: 1.75rem; }
  .search-btn { position: static; transform: none; width: 100%; margin-top: 0.75rem; padding: 0.9rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .procedure-grid { grid-template-columns: 1fr; }
  .procedure-step { border-right: none; border-bottom: 1px solid var(--border); }
  .over-card { padding: 2rem 1.75rem; }
  section { padding: 3.5rem 1.25rem; }
}

/* ================= BEHEER / ADMIN ================= */
.beheer-body { background: #eef2f7; }

.beheer {
  display: flex;
  min-height: 100vh;
}

/* --- Zijbalk --- */
.beheer-side {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: 250px;
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.beheer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.6rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.beheer-brand .logo-mark {
  width: 34px; height: 34px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.beheer-brand .logo-mark svg { width: 18px; height: 18px; }

.beheer-brand b {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  font-size: 1rem;
  color: #fff;
  display: block;
  line-height: 1.1;
}
.beheer-brand span {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.beheer-menu {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  overflow-y: auto;
}

.beheer-menu a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}
.beheer-menu a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.beheer-menu a.active { background: var(--accent); color: #fff; }
.beheer-menu a svg { width: 17px; height: 17px; flex-shrink: 0; opacity: 0.9; }

.beheer-menu .beheer-menu-sep {
  margin: 0.75rem 1rem 0.4rem;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

.beheer-side-foot {
  padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.beheer-side-foot .beheer-user {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.beheer-side-foot .beheer-user b { color: #fff; display: block; font-weight: 600; }
.beheer-logout {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  padding: 0.55rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s;
}
.beheer-logout:hover { background: var(--rood); border-color: var(--rood); }

/* --- Hoofdgedeelte --- */
.beheer-main {
  flex: 1;
  margin-left: 250px;
  min-width: 0;
}

.beheer-top {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.beheer-top h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.beheer-top p { font-size: 0.85rem; color: var(--muted); margin-top: 0.15rem; }
.beheer-top-actions { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }

.beheer-content { padding: 2.5rem; }

/* --- Statistiekkaarten --- */
.beheer-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.beheer-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
  transition: box-shadow 0.2s, transform 0.2s;
}
.beheer-stat:hover { box-shadow: 0 8px 24px rgba(13,35,64,0.1); transform: translateY(-3px); }
.beheer-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.beheer-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}
.beheer-stat-sub { font-size: 0.74rem; color: var(--muted); }
.beheer-stat-pill {
  position: absolute;
  top: 1.25rem; right: 1.25rem;
  background: var(--oranje-licht);
  color: var(--oranje);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
}

/* --- Kaarten --- */
.beheer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.bh-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.beheer-grid .bh-card { margin-bottom: 0; }
.bh-card-head {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.bh-card-head h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.bh-card-body { padding: 1.5rem; }

/* --- Knoppen --- */
.bh-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  white-space: nowrap;
}
.bh-btn:hover { background: var(--parchment); border-color: var(--accent); color: var(--accent); }

.bh-btn.primair {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.bh-btn.primair:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.bh-btn.rood {
  background: var(--rood-licht);
  border-color: rgba(179,38,30,0.25);
  color: var(--rood);
}
.bh-btn.rood:hover { background: var(--rood); border-color: var(--rood); color: #fff; }

.bh-btn.klein { padding: 0.4rem 0.7rem; font-size: 0.76rem; }

/* --- Tabellen --- */
.bh-table-wrap { overflow-x: auto; }
.bh-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.bh-table th {
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  background: #f6f9fc;
}
.bh-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--ink);
  vertical-align: middle;
}
.bh-table tbody tr:last-child td { border-bottom: none; }
.bh-table tbody tr:hover { background: #f6f9fc; }
.bh-table .acties { text-align: right; white-space: nowrap; }

/* --- Lijstrijen --- */
.bh-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}
.bh-row:last-child { border-bottom: none; }
.bh-sub { font-size: 0.76rem; color: var(--muted); margin-top: 0.2rem; }
.bh-empty { color: var(--muted); font-size: 0.88rem; padding: 1.5rem 0; text-align: center; }

/* --- Flash --- */
.bh-flash { border-radius: 10px; padding: 0.9rem 1.25rem; font-size: 0.85rem; margin-bottom: 1.5rem; }
.bh-flash.success { background: rgba(46,139,87,0.1); color: var(--green); border: 1px solid rgba(46,139,87,0.3); }
.bh-flash.error { background: var(--rood-licht); color: var(--rood); border: 1px solid rgba(179,38,30,0.3); }
.bh-flash ul { margin: 0; padding-left: 1.2rem; }

/* --- Formulieren --- */
.bh-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.bh-field { display: flex; flex-direction: column; gap: 0.4rem; }
.bh-field > span {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink);
}
.bh-field input,
.bh-field select,
.bh-field textarea,
.bh-inline input {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--ink);
  background: #fff;
  width: 100%;
}
.bh-field input:focus,
.bh-field select:focus,
.bh-field textarea:focus,
.bh-inline input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,111,168,0.12);
}
.bh-field textarea { resize: vertical; }

.bh-check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  color: var(--ink);
  cursor: pointer;
}
.bh-check input { width: auto; }

.bh-inline { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.bh-search { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.bh-search input { min-width: 260px; }

.bh-detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; font-size: 0.9rem; }
.bh-detail-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.bh-unread { border-left: 3px solid var(--oranje); }
.bh-stack { display: flex; flex-direction: column; gap: 1.5rem; }
.bh-actions-row { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; margin-top: 1.25rem; }
.bh-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }

@media (max-width: 1100px) {
  .beheer-stats { grid-template-columns: 1fr 1fr; }
  .beheer-grid { grid-template-columns: 1fr; }
  .bh-form-grid { grid-template-columns: 1fr; }
  .bh-detail-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .beheer-side {
    position: static;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .beheer-brand { border-bottom: none; padding: 1rem 1.25rem; }
  .beheer-menu { flex-direction: row; flex-wrap: wrap; padding: 0.5rem 1rem; gap: 0.3rem; }
  .beheer-menu .beheer-menu-sep { display: none; }
  .beheer-side-foot { border-top: none; padding: 0.75rem 1.25rem; margin-left: auto; }
  .beheer-side-foot .beheer-user { display: none; }
  .beheer-main { margin-left: 0; }
  .beheer-content { padding: 1.5rem; }
  .beheer-top { padding: 1.25rem 1.5rem; }
  .beheer-stats { grid-template-columns: 1fr; }
  .bh-detail-grid { grid-template-columns: 1fr; }
  .bh-search input { min-width: 0; flex: 1; }
}


