/* ============================================
   LETTERTYPEN — alles via één centrale import
   Cormorant Garamond (zoals op het Kernwerk-kaartje)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&display=swap');

/* ============================================
   RESET & BASIS
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --kleur-creme:    #faf7f2;
  --kleur-warm:     #f2ece0;
  --kleur-accent:   #9b6b47;
  --kleur-accent2:  #c4956a;
  --kleur-donker:   #2c2419;
  --kleur-tekst:    #4a3f35;
  --kleur-licht:    #e8ddd0;
  --kleur-wit:      #ffffff;

  /* Eén lettertypefamilie — gewicht en stijl bepalen de sfeer */
  --font-display:   'Cormorant Garamond', Georgia, serif;  /* logo, titels */
  --font-serif:     'Cormorant Garamond', Georgia, serif;  /* koppen, citaten */
  --font-sans:      'Cormorant Garamond', Georgia, serif;  /* broodtekst, labels */

  --radius:         12px;
  --radius-lg:      20px;
  --shadow:         0 4px 24px rgba(44,36,25,0.10);
  --shadow-hover:   0 8px 40px rgba(44,36,25,0.18);
  --transition:     0.3s ease;
  --kleur-groen:    #4caf50;
  --kleur-rood:     #e05252;
  --beheer-sidebar: 240px;
}

html { scroll-behavior: smooth; }

body {
  font-weight: 400;
  background: var(--kleur-creme);
  color: var(--kleur-tekst);
  line-height: 1.75;
  font-size: 18px;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

em { font-family: var(--font-serif); font-style: italic; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   TYPOGRAFIE
   ============================================ */
h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--kleur-donker);
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--kleur-tekst); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--kleur-accent);
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
}

.section-header p {
  color: var(--kleur-tekst);
  opacity: 0.8;
  margin-top: 12px;
}

/* ============================================
   KNOPPEN
   ============================================ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
}
.btn-primary:hover {
  background: var(--kleur-donker);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--kleur-accent);
  border: 1.5px solid var(--kleur-accent);
}
.btn-outline:hover {
  background: var(--kleur-accent);
  color: var(--kleur-wit);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ============================================
   NAVIGATIE
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(44,36,25,0.08);
  padding: 12px 0;
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  white-space: nowrap;
  line-height: 1;
  gap: 2px;
}

.nav-logo-naam {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kleur-donker);
}

.nav-logo-sub {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.08em;
  color: var(--kleur-accent);
}

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

.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--kleur-tekst);
  position: relative;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--kleur-accent);
  transition: width var(--transition);
}

.nav-link:hover { color: var(--kleur-accent); }
.nav-link:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--kleur-donker);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-slideshow {
  display: none;
}

@media (min-width: 1200px) {
  .hero-slideshow {
    display: block;
  }
}

/* Achtergrond over de hele breedte */
.hero::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--kleur-creme);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1200px) {
  .hero-content {
    text-align: left;
  }
  .hero-content .hero-sub {
    margin-left: 0;
    margin-right: 0;
  }
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */
.hero-slideshow {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-hover);
}

.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Onderschrift per slide */
.hero-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px 20px;
  background: linear-gradient(to top, rgba(20,14,8,0.65) 0%, transparent 100%);
  color: var(--kleur-wit);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
}

/* Stippen */
.hero-slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.hero-dot.active {
  background: var(--kleur-wit);
  transform: scale(1.3);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.25);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: rgba(255,255,255,0.45);
}

.hero-arrow-prev { left: 12px; }
.hero-arrow-next { right: 12px; }

.hero-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--kleur-accent);
  margin-bottom: 20px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--kleur-tekst);
  opacity: 0.8;
  max-width: 480px;
  margin-bottom: 40px;
}

.hero-brushstrokes {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 680px;
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   OVER MIJ
   ============================================ */
.about {
  padding: 100px 0;
  background: var(--kleur-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--kleur-licht);
}

.about-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-frame.placeholder::after {
  content: '[ Profielfoto ]';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--kleur-accent);
  font-size: 1.1rem;
}

.about-image-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  border: 3px solid var(--kleur-accent2);
  z-index: -1;
}

.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; }
.about-text .btn { margin-top: 12px; }

/* ============================================
   GALERIE
   ============================================ */
.gallery {
  padding: 100px 0;
  background: var(--kleur-creme);
}

.gallery-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 8px 22px;
  border-radius: 100px;
  border: 1.5px solid var(--kleur-licht);
  background: transparent;
  color: var(--kleur-tekst);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--kleur-accent);
  border-color: var(--kleur-accent);
  color: var(--kleur-wit);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.gallery-item {
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item.hidden {
  display: none;
}

.gallery-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--kleur-wit);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: var(--transition);
}

.gallery-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.gallery-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--kleur-licht);
}

.gallery-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.05);
}

.gallery-img-wrap.img-placeholder::after {
  content: '[ Schilderij ]';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--kleur-accent);
  font-size: 1rem;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,36,25,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-card:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--kleur-wit);
  color: var(--kleur-donker);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  transform: scale(0.8);
  transition: transform var(--transition);
}

.gallery-card:hover .gallery-overlay-icon {
  transform: scale(1);
}

.gallery-info {
  padding: 18px 20px;
}

.gallery-info h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--kleur-donker);
  margin-bottom: 4px;
}

.gallery-info p {
  font-size: 0.8rem;
  color: var(--kleur-accent);
  margin: 0;
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20,14,8,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.25s ease;
}

.lightbox.open {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox-img {
  max-height: 80vh;
  max-width: 90vw;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  background: none;
  border: none;
  color: var(--kleur-wit);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity var(--transition);
}
.lightbox-close:hover { opacity: 1; }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 100px 0;
  background: var(--kleur-warm);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-intro h2 { margin-bottom: 20px; }
.contact-intro p { margin-bottom: 32px; opacity: 0.85; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--kleur-tekst);
}

.contact-detail-item svg {
  color: var(--kleur-accent);
  flex-shrink: 0;
}

/* FORMULIER */
.contact-form {
  background: var(--kleur-wit);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--kleur-donker);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--kleur-licht);
  border-radius: var(--radius);
  background: var(--kleur-creme);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--kleur-donker);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--kleur-accent);
  box-shadow: 0 0 0 3px rgba(155,107,71,0.12);
}

.form-group input.error,
.form-group textarea.error {
  border-color: #c0392b;
}

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

.form-error {
  display: block;
  font-size: 0.78rem;
  color: #c0392b;
  margin-top: 5px;
  min-height: 18px;
}

.form-success {
  margin-top: 16px;
  padding: 14px 18px;
  background: #eaf5ea;
  border-left: 3px solid #4caf50;
  border-radius: 8px;
  color: #2d6a2d;
  font-size: 0.9rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--kleur-donker);
  color: rgba(255,255,255,0.65);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--kleur-wit);
  margin: 0;
}

.footer-copy {
  font-size: 0.82rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--kleur-accent2); }

/* ============================================
   ANIMATIES (fade-in bij scrollen)
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: none;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image { max-width: 380px; margin: 0 auto; }

  .contact-form { padding: 32px 24px; }
}

@media (max-width: 640px) {
  .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    background: var(--kleur-wit);
    flex-direction: column;
    gap: 0;
    padding: 80px 0 40px;
    box-shadow: -4px 0 30px rgba(44,36,25,0.12);
    transform: translateX(110%);
    transition: transform 0.35s ease;
    z-index: 99;
  }

  .nav-links.open { transform: translateX(0); }

  .nav-link {
    display: block;
    padding: 16px 32px;
    font-size: 1rem;
  }

  .nav-toggle { display: flex; z-index: 101; }

  .hero { padding: 100px 24px 60px; }

  .gallery-grid { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ============================================
   BEHEER — LOGIN
   ============================================ */
#loginScherm {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 24px; background: var(--kleur-donker);
}
.login-kaart {
  background: var(--kleur-wit); border-radius: 20px; padding: 52px 44px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35); width: 100%; max-width: 400px; text-align: center;
}
.login-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.7rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--kleur-donker); margin-bottom: 0;
}
.login-logo em {
  font-style: italic; font-weight: 400; text-transform: none;
  letter-spacing: 0.06em; font-size: 1.1rem; color: var(--kleur-accent);
  display: block; margin-top: 1px;
}
.login-sub {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--kleur-tekst); opacity: 0.45; margin-bottom: 36px;
}
.login-label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--kleur-tekst); text-align: left; margin-bottom: 8px; }
.login-input {
  width: 100%; padding: 14px 18px; border: 1.5px solid var(--kleur-licht); border-radius: var(--radius);
  font-size: 1rem; font-family: var(--font-sans); background: var(--kleur-creme); color: var(--kleur-donker);
  margin-bottom: 12px; outline: none; transition: border-color 0.2s; letter-spacing: 0.1em;
}
.login-input:focus { border-color: var(--kleur-accent); }
.login-input.fout  { border-color: var(--kleur-rood); animation: schud 0.35s ease; }
@keyframes schud { 0%,100%{transform:translateX(0)} 25%{transform:translateX(-8px)} 75%{transform:translateX(8px)} }
.login-fout { color: var(--kleur-rood); font-size: 0.82rem; margin-bottom: 16px; min-height: 18px; text-align: left; }

/* ============================================
   BEHEER — KNOPPEN
   ============================================ */
.btn-primair { background: var(--kleur-accent); color: var(--kleur-wit); }
.btn-primair:hover { background: var(--kleur-donker); transform: translateY(-1px); }
.btn-groen   { background: var(--kleur-groen); color: var(--kleur-wit); }
.btn-groen:hover { background: #388e3c; transform: translateY(-1px); }
.btn-vol     { width: 100%; justify-content: center; }

/* ============================================
   BEHEER — LAYOUT
   ============================================ */
#dashboard { display: none; min-height: 100vh; }
.layout { display: flex; min-height: 100vh; }

.sidebar {
  width: var(--beheer-sidebar); background: var(--kleur-donker);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; height: 100vh; z-index: 50; overflow-y: auto;
}
.sidebar-logo { padding: 28px 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-logo-naam {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--kleur-wit);
}
.sidebar-logo-naam em {
  font-style: italic; font-weight: 400; text-transform: none;
  letter-spacing: 0.06em; color: var(--kleur-accent2);
  display: block; font-size: 0.95rem; margin-top: 1px;
}
.sidebar-logo-label { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-top: 2px; }
.sidebar-nav { padding: 20px 12px; flex: 1; }
.nav-sectie-label {
  font-size: 0.63rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.22); padding: 0 12px; margin-bottom: 6px; margin-top: 16px;
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px;
  color: rgba(255,255,255,0.55); font-size: 0.87rem; font-weight: 500;
  cursor: pointer; transition: all 0.15s; border: none; background: none;
  width: 100%; text-align: left; text-decoration: none;
}
.nav-item:hover  { background: rgba(255,255,255,0.07); color: var(--kleur-wit); }
.nav-item.actief { background: var(--kleur-accent); color: var(--kleur-wit); }
.nav-item-icoon  { font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.sidebar-footer  { padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08); }

.hoofd { margin-left: var(--beheer-sidebar); flex: 1; display: flex; flex-direction: column; min-height: 100vh; }
.hoofd-header {
  background: var(--kleur-wit); border-bottom: 1px solid var(--kleur-licht); padding: 18px 36px;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 40;
}
.pagina-titel { font-family: var(--font-serif); font-size: 1.3rem; color: var(--kleur-donker); }
.pagina-titel em { font-style: italic; color: var(--kleur-accent); }
.badge-aantal { background: var(--kleur-warm); color: var(--kleur-accent); border-radius: 100px; padding: 4px 12px; font-size: 0.78rem; font-weight: 500; }
.hoofd-inhoud { padding: 36px; flex: 1; }

.sectie { display: none; }
.sectie.actief { display: block; }

.kaart { background: var(--kleur-wit); border-radius: 16px; padding: 32px; box-shadow: var(--shadow); margin-bottom: 28px; }
.kaart-titel {
  font-family: var(--font-serif); font-size: 1.1rem; color: var(--kleur-donker);
  margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--kleur-licht);
}

/* ============================================
   BEHEER — UPLOAD
   ============================================ */
.upload-zone {
  border: 2px dashed var(--kleur-licht); border-radius: var(--radius);
  padding: 40px 24px; text-align: center; cursor: pointer;
  transition: border-color 0.2s, background 0.2s; position: relative; background: var(--kleur-creme);
}
.upload-zone:hover, .upload-zone.over { border-color: var(--kleur-accent); background: #fdf5ed; }
.upload-zone input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.upload-icoon { font-size: 2.2rem; margin-bottom: 10px; }
.upload-zone p { font-size: 0.88rem; color: var(--kleur-tekst); opacity: 0.7; margin-bottom: 4px; }
.upload-zone strong { color: var(--kleur-accent); }

.upload-preview { display: none; margin-top: 16px; position: relative; border-radius: var(--radius); overflow: hidden; }
.upload-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; border-radius: var(--radius); }
.upload-preview-verwijder {
  position: absolute; top: 10px; right: 10px;
  background: rgba(20,14,8,0.65); color: var(--kleur-wit);
  border: none; border-radius: 50%; width: 32px; height: 32px;
  font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
}

/* ============================================
   BEHEER — FORMULIER
   ============================================ */
.formulier-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.formulier-grid .vol { grid-column: 1 / -1; }
.veld label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--kleur-donker); margin-bottom: 7px; }
.veld input, .veld select {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--kleur-licht); border-radius: var(--radius);
  background: var(--kleur-creme); font-family: var(--font-sans); font-size: 0.88rem; color: var(--kleur-donker);
  outline: none; transition: border-color 0.2s; appearance: none;
}
.veld input:focus, .veld select:focus { border-color: var(--kleur-accent); }
.opslaan-rij { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.opslaan-melding { font-size: 0.83rem; color: var(--kleur-groen); display: none; }

/* ============================================
   BEHEER — GALERIE GRID
   ============================================ */
.galerij-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.beheer-kaart { background: var(--kleur-wit); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform 0.2s; }
.beheer-kaart:hover { transform: translateY(-2px); }
.beheer-kaart-img { position: relative; aspect-ratio: 1; background: var(--kleur-licht); }
.beheer-kaart-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.beheer-verwijder {
  position: absolute; top: 7px; right: 7px;
  background: var(--kleur-rood); color: var(--kleur-wit); border: none; border-radius: 50%;
  width: 28px; height: 28px; font-size: 0.9rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
}
.beheer-kaart:hover .beheer-verwijder { opacity: 1; }
.beheer-kaart-info { padding: 10px 12px; }
.beheer-kaart-info strong {
  display: block; font-family: var(--font-serif); font-size: 0.9rem; color: var(--kleur-donker);
  margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.beheer-kaart-info span { font-size: 0.72rem; color: var(--kleur-accent); }
.leeg-melding {
  grid-column: 1/-1; text-align: center; padding: 56px 24px;
  color: var(--kleur-tekst); opacity: 0.4; font-style: italic; font-family: var(--font-serif);
}

/* ============================================
   BEHEER — WACHTRIJ (meerdere uploads)
   ============================================ */
.wachtrij-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
  gap: 12px;
}
.wachtrij-header span {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--kleur-tekst);
}
.wachtrij-lijst { display: flex; flex-direction: column; gap: 10px; }
.wachtrij-item {
  display: flex;
  gap: 14px;
  align-items: center;
  background: var(--kleur-creme);
  border: 1px solid var(--kleur-licht);
  border-radius: var(--radius);
  padding: 12px;
}
.wachtrij-preview {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.wachtrij-velden { flex: 1; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.wachtrij-velden input, .wachtrij-velden select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid var(--kleur-licht);
  border-radius: 6px;
  font-size: 0.82rem;
  background: var(--kleur-wit);
  color: var(--kleur-tekst);
  box-sizing: border-box;
}
.wachtrij-rij { display: flex; gap: 8px; }
.wachtrij-rij select { flex: 0 0 auto; width: auto; }
.wachtrij-verwijder {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--kleur-tekst);
  opacity: 0.35;
  padding: 4px 8px;
  border-radius: 6px;
  flex-shrink: 0;
  transition: opacity 0.15s, background 0.15s;
}
.wachtrij-verwijder:hover { opacity: 1; background: rgba(200,50,50,0.1); color: #c03030; }

/* ============================================
   BEHEER — WACHTWOORD
   ============================================ */
.ww-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.ww-melding { font-size: 0.83rem; min-height: 20px; }

/* ============================================
   BEHEER — CROP MODAL
   ============================================ */
.crop-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(10,7,4,0.92); z-index: 500;
  align-items: center; justify-content: center; padding: 16px;
}
.crop-overlay.open { display: flex; }
.crop-modal {
  background: var(--kleur-wit); border-radius: 20px;
  width: 100%; max-width: 500px;
  display: flex; flex-direction: column;
  overflow: hidden; box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.crop-modal-header { padding: 20px 24px 16px; border-bottom: 1px solid var(--kleur-licht); }
.crop-modal-header h3 { font-family: var(--font-serif); font-size: 1.2rem; color: var(--kleur-donker); margin-bottom: 4px; }
.crop-modal-header p { font-size: 0.8rem; color: var(--kleur-tekst); opacity: 0.6; }

.crop-viewport {
  width: 100%; aspect-ratio: 1;
  overflow: hidden; position: relative;
  background: #1a1008; cursor: grab;
  user-select: none; touch-action: none;
}
.crop-viewport:active { cursor: grabbing; }
.crop-viewport::before, .crop-viewport::after {
  content: ''; position: absolute; z-index: 10; pointer-events: none; width: 24px; height: 24px;
}
.crop-viewport::before { top: 10px; left: 10px; border-top: 2px solid rgba(255,255,255,0.7); border-left: 2px solid rgba(255,255,255,0.7); }
.crop-viewport::after  { bottom: 10px; right: 10px; border-bottom: 2px solid rgba(255,255,255,0.7); border-right: 2px solid rgba(255,255,255,0.7); }

#cropImg { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; user-select: none; max-width: none; max-height: none; width: auto; height: auto; }

.crop-zoom { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--kleur-licht); }
.crop-zoom-label { font-size: 1rem; color: var(--kleur-tekst); opacity: 0.5; flex-shrink: 0; }
#zoomSlider { flex: 1; height: 4px; appearance: none; background: var(--kleur-licht); border-radius: 4px; outline: none; cursor: pointer; }
#zoomSlider::-webkit-slider-thumb { appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--kleur-accent); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.2); }
#zoomSlider::-moz-range-thumb    { width: 18px; height: 18px; border-radius: 50%; border: none; background: var(--kleur-accent); cursor: pointer; }
.crop-acties { display: flex; gap: 12px; justify-content: flex-end; padding: 16px 20px; }

/* ============================================
   BEHEER — MOBIEL TOGGLE
   ============================================ */
.sidebar-toggle {
  display: none; position: fixed; top: 14px; left: 14px; z-index: 200;
  background: var(--kleur-donker); color: var(--kleur-wit); border: none;
  border-radius: 8px; padding: 8px 11px; cursor: pointer; font-size: 1.1rem;
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 45; }

@media (max-width: 820px) {
  .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .sidebar-toggle { display: flex; }
  .hoofd { margin-left: 0; }
  .hoofd-header { padding: 14px 20px 14px 56px; }
  .hoofd-inhoud { padding: 20px; }
  .formulier-grid { grid-template-columns: 1fr; }
  .ww-grid { grid-template-columns: 1fr; }
}
