/* ==========================================================================
   Messchendorp Automobielen — huisstijl
   Dominant: #0f2769  |  Accent: #5c5a5a
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2");
}

:root {
  --blue: #0f2769;
  --blue-dark: #0a1b4a;
  --blue-soft: #eef1f7;
  --accent: #5c5a5a;
  --text: #2a2825;
  --muted: #5c5a5a;
  --bg: #f4f3f0;
  --bg-alt: #eceae5;
  --card: #fcfcfa;
  --border: rgba(92, 90, 90, 0.18);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(60, 52, 38, 0.09);
  --header-h: 72px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }

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

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 24px rgba(15, 39, 105, 0.08); }

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--accent);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--blue); background: var(--blue-soft); }
.main-nav a.active { color: var(--blue); font-weight: 600; }
.main-nav a.nav-cta {
  color: #fff;
  background: var(--blue);
  font-weight: 600;
  margin-left: 8px;
  box-shadow: 0 4px 14px rgba(15, 39, 105, 0.25);
}
.main-nav a.nav-cta:hover { background: var(--blue-dark); color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  border-radius: 12px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--blue);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1020px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 24px 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav-open .main-nav { display: flex; }
  .main-nav a { padding: 13px 18px; font-size: 16px; }
  .main-nav a.nav-cta { display: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero img.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(75deg, rgba(10, 27, 74, 0.86) 0%, rgba(15, 39, 105, 0.55) 55%, rgba(15, 39, 105, 0.15) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 96px 0;
}
.hero h1 {
  font-family: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.06;
  max-width: 15ch;
}
.hero p.lead {
  margin-top: 20px;
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 44ch;
}
.hero-actions { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero-diashow (homepage): foto's over elkaar, fade via opacity */
.hero-bg.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.hero-slide.is-active { opacity: 1; }

/* Homepagina-hero: tekst gecentreerd, subpagina's (.page-hero) blijven links */
.hero:not(.page-hero) .hero-content { text-align: center; }
.hero:not(.page-hero) h1,
.hero:not(.page-hero) p.lead { margin-left: auto; margin-right: auto; }
.hero:not(.page-hero) .hero-actions { justify-content: center; }
.hero:not(.page-hero)::after {
  background: linear-gradient(180deg, rgba(10, 27, 74, 0.72) 0%, rgba(15, 39, 105, 0.5) 100%);
}

@media (max-width: 640px) {
  .brand img { height: 34px; }
  .hero-content { text-align: center; padding-left: 16px; padding-right: 16px; }
  .hero h1 { max-width: none; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: #fff; color: var(--blue); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2); }
.btn-primary:hover { background: var(--blue-soft); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, 0.6); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 6px 20px rgba(15, 39, 105, 0.3); }
.btn-blue:hover { background: var(--blue-dark); }

/* Compacte pagina-banner (subpagina's) */
.page-hero { min-height: 42vh; }
.page-hero .hero-content { padding: 72px 0; }

/* --------------------------------------------------------------------------
   Secties
   -------------------------------------------------------------------------- */
section { padding: 88px 0; }
section.alt { background: var(--bg-alt); }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h1,
.section-head h2 {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text);
}
.section-head p { margin-top: 14px; color: var(--muted); font-size: 18px; }

.prose { max-width: 780px; }
.prose p { margin-bottom: 1em; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }

/* Diensten-grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }

/* Intro + diensten naast elkaar (home) */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 40px; } }
.intro-grid h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 20px; }

.services-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.services-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 500;
  color: var(--text);
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.35;
}
.services-list li svg { flex-shrink: 0; width: 18px; height: 18px; color: var(--blue); }
@media (max-width: 480px) { .services-list { grid-template-columns: 1fr; } }

/* Garantie — gewoon een tekstkopje */
.garantie { max-width: 780px; }
.garantie h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.garantie p { color: var(--text); font-size: 17px; }

/* Mededeling / statusbalk op de homepage */
.status-bar {
  background: var(--blue);
  color: #fff;
  padding: 16px 24px;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

/* Fotorij */
.media-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.media-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (max-width: 700px) { .media-grid { grid-template-columns: 1fr; } .media-grid img { height: 240px; } }

/* Split (tekst + foto) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Checklist (werkplaats) */
.checklist { list-style: none; max-width: 560px; }
.checklist li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  line-height: 1.4;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.checklist li:last-child { border-bottom: 0; }
.checklist li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--blue); }

/* Team (over ons) */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 20px; }
.team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-photo {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, var(--blue-soft) 0%, #dde3f0 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.team-photo svg { width: 62%; height: 62%; color: #aab4cf; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .team-info { padding: 20px 16px 24px; }
.team-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; color: var(--blue); }
.team-card p { margin-top: 6px; color: var(--muted); font-size: 15px; line-height: 1.5; }

/* Op mobiel: compacte rijen in plaats van grote kaarten, allemaal even hoog */
@media (max-width: 600px) {
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-card { display: flex; align-items: center; text-align: left; min-height: 118px; }
  .team-card:hover { transform: none; }
  .team-photo {
    flex-shrink: 0;
    align-self: stretch;
    width: 96px;
    height: auto;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .team-photo svg { width: 60px; height: 60px; margin: auto auto 0; }
  .team-photo img { height: 100%; }
  .team-card .team-info { padding: 14px 16px; }
  .team-card h3 { font-size: 17px; }
  .team-card p { margin-top: 2px; font-size: 14px; line-height: 1.4; }
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
.info-list { list-style: none; }
.info-list li { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-list li:last-child { border-bottom: 0; }
.info-list .icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-list .icon svg { width: 22px; height: 22px; }
.info-list h3 { font-size: 15px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.info-list p, .info-list a { font-size: 18px; color: var(--text); }
.info-list a:hover { color: var(--blue); }

/* Occasions / VWE-voorraadmodule */
.vwe-wrap { padding: 40px 0 88px; }
#autodealers_frame {
  width: 100%;
  height: 3000px;
  border: none;
  overflow: hidden;
  display: block;
}
.vwe-loading { text-align: center; color: var(--muted); padding: 40px 0; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--blue-dark); color: rgba(255, 255, 255, 0.8); margin-top: 0; }
.footer-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr; gap: 36px; } }
.footer-main h3 { color: #fff; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-main p, .footer-main a { color: rgba(255, 255, 255, 0.8); font-size: 16px; }
.footer-main a:hover { color: #fff; }
.footer-main ul { list-style: none; }
.footer-main li { margin-bottom: 10px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 12px 16px; display: inline-block; margin-bottom: 20px; }
.footer-logo img { height: 28px; width: auto; }

.footer-emblems {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-emblems-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-emblems img {
  height: 44px;
  width: auto;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-bottom-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom a.beheer-link { font-size: 12px; color: rgba(255, 255, 255, 0.3); align-self: center; }
.footer-bottom a.beheer-link:hover { color: rgba(255, 255, 255, 0.7); }

/* --------------------------------------------------------------------------
   Verkochte auto's (publieke lijst)
   -------------------------------------------------------------------------- */
.sold-list { display: flex; flex-direction: column; gap: 24px; max-width: 860px; margin: 0 auto; }
.sold-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.sold-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.sold-head h2 { font-size: 21px; font-weight: 700; letter-spacing: -0.01em; }
.sold-date {
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: 999px;
  padding: 4px 14px;
  white-space: nowrap;
}
.sold-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sold-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}
.sold-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.sold-empty { text-align: center; color: var(--muted); padding: 48px 0; }
@media (max-width: 520px) {
  .sold-card { padding: 16px; }
  .sold-photos { grid-template-columns: 1fr 1fr; }
}

/* --------------------------------------------------------------------------
   Beheerpagina — groot, simpel en duidelijk ingedeeld
   -------------------------------------------------------------------------- */
.admin-wrap { max-width: 700px; margin: 0 auto; padding: 36px 20px 80px; }

.admin-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.admin-top h1 { font-size: clamp(26px, 5vw, 34px); letter-spacing: -0.02em; }
.admin-top p { color: var(--muted); font-size: 16px; margin-top: 4px; }
.link-uitloggen {
  flex-shrink: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
}
.link-uitloggen:hover { color: var(--blue); border-color: var(--blue); }

.admin-sectie { margin-top: 36px; }
.admin-sectie-kop {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--muted);
  margin-bottom: 12px;
}
.admin-sectie-kop svg { width: 18px; height: 18px; color: var(--blue); }

.admin-field textarea {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  resize: vertical;
  min-height: 76px;
}
.admin-field textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.veld-hint { font-size: 14px; color: var(--muted); margin-top: 8px; }

.status-huidig {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue-soft);
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 15px;
  color: var(--blue);
  margin-bottom: 16px;
}

/* Bewerken van een geplaatst item */
.admin-item-acties { display: flex; gap: 8px; flex-shrink: 0; }
.admin-item .bewerk {
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.admin-item .bewerk:hover { background: #e0e6f3; }
.bewerk-vlak {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin: 4px 0 14px;
}
.rij-knoppen { display: flex; gap: 10px; flex-wrap: wrap; }
.rij-knoppen .btn-big { width: auto; flex: 1; min-width: 140px; }
.btn-grijs { background: transparent; color: var(--muted); border: 1.5px solid var(--border); }
.btn-grijs:hover { background: var(--bg-alt); color: var(--text); }

@media (max-width: 520px) {
  .admin-card { padding: 20px; }
  .admin-item { flex-wrap: wrap; }
  .admin-item-acties { width: 100%; justify-content: flex-end; }
}
.admin-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.admin-card + .admin-card { margin-top: 24px; }
.admin-card h1, .admin-card h2 { font-size: 24px; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--text); }
.admin-card .uitleg { color: var(--muted); font-size: 16px; margin-bottom: 20px; }

.admin-field { margin-bottom: 18px; }
.admin-field label { display: block; font-weight: 600; font-size: 16px; margin-bottom: 8px; }
.admin-field input[type="text"], .admin-field input[type="password"] {
  width: 100%;
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
}
.admin-field input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }

.btn-big {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 18px;
  font-weight: 600;
  padding: 16px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  transition: background .2s ease, transform .1s ease;
}
.btn-big:hover { background: var(--blue-dark); }
.btn-big:active { transform: scale(0.99); }
.btn-big:disabled { opacity: .5; cursor: default; }
.btn-foto {
  background: var(--blue-soft);
  color: var(--blue);
  border: 1.5px dashed rgba(15, 39, 105, 0.4);
  margin-bottom: 18px;
}
.btn-foto:hover { background: #e2e8f5; }

.foto-preview { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-bottom: 18px; }
.foto-preview .thumb { position: relative; }
.foto-preview img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.foto-preview button {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #c0392b;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.melding { padding: 14px 16px; border-radius: 12px; font-size: 16px; margin-bottom: 18px; display: none; }
.melding.tonen { display: block; }
.melding.goed { background: #e8f4e8; color: #1e6b2e; border: 1px solid #bfdec2; }
.melding.fout { background: #fbeaea; color: #a03030; border: 1px solid #ecc8c8; }

.admin-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.admin-item:last-child { border-bottom: 0; }
.admin-item img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.admin-item .admin-item-info { flex: 1; min-width: 0; }
.admin-item .admin-item-info strong { display: block; font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-item .admin-item-info span { color: var(--muted); font-size: 14px; }
.admin-item .verwijder {
  flex-shrink: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #a03030;
  background: #fbeaea;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
}
.admin-item .verwijder:hover { background: #f5d8d8; }

/* --------------------------------------------------------------------------
   Lightbox (foto's klikbaar op volledig formaat)
   -------------------------------------------------------------------------- */
.zoomable { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(24, 21, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3vmin;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  cursor: zoom-out;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img {
  max-width: 96vw;
  max-height: 94vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}
.lightbox-close:hover { color: #fff; }

/* Toegankelijkheid */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
