/* ============================================================
   DIVESCHOOL.PRO — Hoofdstylesheet
   Duikschool de Grevelingen, Scharendijke, Zeeland
   ============================================================ */

@font-face {
  font-family: 'Mitr';
  src: url('../fonts/mitr-v13-latin-700.woff2') format('woff2'),
       url('../fonts/mitr-v13-latin-700.woff')  format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Kleuren */
  --color-primary:        #00867a;
  --color-primary-hover:  #006e64;
  --color-primary-light:  #73b09b;
  --color-teal:           #68c2c0;
  --color-sky:            #6dcaf3;
  --color-deep:           #2f6b96;
  --color-accent:         #ff6b2b;
  --color-accent-hover:   #e55a1f;
  --color-surface-dark:   #00867a;
  --color-surface-mid:    #164740;
  --color-white:          #ffffff;
  --color-bg-light:       #f0f8f6;
  --color-bg-alt:         #e8f5f2;
  --color-text-dark:      #1a1a1a;
  --color-text-light:     #f0faf8;
  --color-text-muted:     #5a8a82;
  --color-text-muted-dark:#8fbfb8;
  --color-border:         #c8e0db;
  --color-border-dark:    rgba(255,255,255,0.12);
  --color-focus:          #68c2c0;
  --color-success:        #2dd4aa;
  --color-error:          #e53e3e;
  --color-overlay:        rgba(13,46,43,0.75);

  /* Typografie */
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.375rem;
  --text-2xl:  1.75rem;
  --text-3xl:  2.25rem;
  --text-4xl:  3rem;
  --text-5xl:  3.75rem;
  --weight-regular:  400;
  --weight-medium:   500;
  --weight-semibold: 600;
  --weight-bold:     700;
  --leading-tight:   1.1;
  --leading-snug:    1.2;
  --leading-normal:  1.35;
  --leading-relaxed: 1.65;

  /* Witruimte */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:  1200px;
  --container-px:   var(--space-4);
  --section-py:     var(--space-16);
  --card-gap:       var(--space-6);
  --card-radius:    6px;

  /* Vormen & schaduwen */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:   0 4px 12px rgba(0,0,0,0.1);
  --shadow-card: 0 2px 8px rgba(0,134,122,0.08);
  --shadow-hover:0 8px 24px rgba(0,134,122,0.18);
  --transition:  all 200ms ease-out;
  --transition-slow: all 400ms ease-out;
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--weight-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text-dark);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--color-primary-hover); }
a:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

ul, ol { list-style: none; }

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-base);
}

/* ============================================================
   3. TOEGANKELIJKHEID
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  background: var(--color-accent);
  color: var(--color-white);
  padding: var(--space-2) var(--space-6);
  border-radius: var(--radius-sm);
  font-weight: var(--weight-semibold);
  font-size: var(--text-sm);
  z-index: 9999;
  transition: top 200ms ease-out;
  white-space: nowrap;
}
.skip-link:focus { top: var(--space-2); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   4. LAYOUT
   ============================================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

@media (min-width: 640px)  { :root { --container-px: var(--space-6); } }
@media (min-width: 1024px) { :root { --container-px: var(--space-8); } }

.section {
  padding: var(--section-py) 0;
}
.section-sm { padding: var(--space-12) 0; }

.section-light  { background: var(--color-bg-light); }
.section-white  { background: var(--color-white); }
.section-alt    { background: var(--color-bg-alt); }
.section-dark   { background: var(--color-surface-dark); }
.section-mid    { background: var(--color-surface-mid); }
.section-primary{ background: var(--color-primary); }
.section-accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.section-title {
  font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  margin-bottom: var(--space-4);
  color: var(--color-text-dark);
}
.section-title.text-light { color: var(--color-text-light); }

.section-intro {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 640px;
  margin-bottom: var(--space-10);
  line-height: var(--leading-relaxed);
}
.section-intro.text-light { color: var(--color-text-light); }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.link-more {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  white-space: nowrap;
}
.link-more:hover { color: var(--color-primary-hover); text-decoration: underline; }

/* Grid hulpklassen */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--card-gap);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}
@media (min-width: 768px) {
  .two-col         { grid-template-columns: 1fr 1fr; }
  .two-col-60-40   { grid-template-columns: 3fr 2fr; }
  .two-col-40-60   { grid-template-columns: 2fr 3fr; }
}

/* ============================================================
   5. TYPOGRAFIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  color: var(--color-text-dark);
}
h1 { font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl)); line-height: var(--leading-tight); }
h2 { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-lg); font-weight: var(--weight-semibold); }
h5 { font-size: var(--text-base); font-weight: var(--weight-semibold); }

p { margin-bottom: var(--space-4); }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-text-muted);
}

.text-light h1, .text-light h2, .text-light h3,
.text-light h4, .text-light h5, .text-light p,
.text-light .lead { color: var(--color-text-light); }

.text-light .lead { color: var(--color-text-muted-dark); }

.meta {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-2);
}

.badge {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  background: var(--color-accent);
  color: var(--color-white);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.badge-primary {
  background: var(--color-primary);
  color: var(--color-white);
}
.badge-teal {
  background: var(--color-teal);
  color: var(--color-surface-dark);
}

/* Rich content (uitgelezen uit DB) */
.rich-content h2 { margin: var(--space-8) 0 var(--space-4); }
.rich-content h3 { margin: var(--space-6) 0 var(--space-3); }
.rich-content p  { margin-bottom: var(--space-4); line-height: var(--leading-relaxed); }
.rich-content ul, .rich-content ol {
  margin: var(--space-4) 0 var(--space-4) var(--space-6);
  list-style: disc;
}
.rich-content ol { list-style: decimal; }
.rich-content li { margin-bottom: var(--space-2); }
.rich-content a  { text-decoration: underline; }
.rich-content strong { font-weight: var(--weight-semibold); }

/* ============================================================
   6. KNOPPEN
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: var(--weight-semibold);
  font-size: var(--text-base);
  line-height: 1;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
}
.btn:active { transform: scale(0.98); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Primair — zeegroen */
.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  border-color: var(--color-primary-hover);
  color: var(--color-white);
}

/* Accent — oranje (hero CTA, uitgelichte acties) */
.btn-accent {
  background: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
}

/* Outline donker (op lichte bg) */
.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Outline licht (op donkere bg) */
.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-surface-dark);
}

/* Wit (op primaire of accent bg) */
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-white);
}
.btn-white:hover {
  background: rgba(255,255,255,0.15);
  color: var(--color-white);
  border-color: var(--color-white);
}

/* Maten */
.btn-sm { font-size: var(--text-sm); padding: var(--space-2) var(--space-4); }
.btn-lg { font-size: var(--text-lg); padding: var(--space-4) var(--space-8); }

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

/* ============================================================
   7. NAVIGATIE
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background-color 250ms ease-out, box-shadow 250ms ease-out;
}

/* Pagina's zonder hero: compenseer voor de fixed header */
body.no-hero #main-content {
  padding-top: 72px;
}
.site-header.scrolled {
  background: var(--color-surface-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* Als de header NIET over een hero staat (pagina's zonder hero) */
.site-header.opaque {
  background: var(--color-surface-dark);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo img {
  height: 32px;
  width: auto;
}
/* Breed logo standaard zichtbaar, vierkant verborgen */
.logo-square { display: none; }
.logo-wide   { display: block; }
@media (max-width: 599px) {
  .logo-wide   { display: none; }
  .logo-square { display: block; width: 32px; height: 32px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  height: 72px;
}

/* Primaire desktop nav — verborgen op klein scherm */
.main-nav { display: none; }
.main-nav ul { display: flex; gap: 0; align-items: center; }
.main-nav a {
  font-family: 'Mitr', sans-serif;
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.88);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: color 150ms ease-out, background 150ms ease-out;
}
.main-nav a:hover { color: var(--color-white); background: rgba(255,255,255,0.1); }
.main-nav a[aria-current="page"] { color: var(--color-teal); }

/* Header acties (lang + CTA + hamburger) */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
}
.lang-switch a {
  color: rgba(255,255,255,0.7);
  font-weight: var(--weight-medium);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  transition: color 150ms ease-out;
}
.lang-switch a:hover { color: var(--color-white); }
.lang-switch a[aria-current="page"] {
  color: var(--color-teal);
  font-weight: var(--weight-semibold);
}
.lang-switch span { color: rgba(255,255,255,0.3); }

/* Hamburger knop — altijd zichtbaar */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}

/* Hamburger overlay */
.hamburger-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-surface-dark);
  z-index: 200;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-out, visibility 250ms;
}
.hamburger-overlay.open {
  opacity: 1;
  visibility: visible;
}
.hamburger-overlay-inner {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-px) var(--space-12);
}

/* Topbalk in overlay — zelfde hoogte als header */
.hamburger-overlay-topbar {
  display: flex;
  align-items: center;
  height: 72px;
  flex-shrink: 0;
  gap: var(--space-3);
}
.hamburger-overlay-topbar .site-logo { margin-right: auto; }
.overlay-topbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.hamburger-overlay-close {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  border-radius: var(--radius-sm);
  transition: background 150ms ease-out;
}
.hamburger-overlay-close:hover { background: rgba(255,255,255,0.1); }

/* Twee kolommen — gecentreerd, elk 1/4 van het scherm */
.hamburger-overlay-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  padding-top: var(--space-10);
  align-items: start;
}

/* Linkerkolom: grote hoofditems */
.hamburger-overlay-main { padding-top: calc(var(--space-5) - var(--space-1)); }
.hamburger-overlay-main ul { display: flex; flex-direction: column; gap: var(--space-1); }
.hamburger-overlay-main a {
  font-family: 'Mitr', sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-white);
  display: block;
  line-height: 1.2;
  padding: var(--space-1) 0;
  transition: color 150ms ease-out;
}
.hamburger-overlay-main a:hover { color: var(--color-teal); }

/* Rechterkolom: bordered box in accentkleur */
.hamburger-overlay-secondary {
  background: #2f6b96;
  border: 3px solid #68c2c0;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
}
.overlay-section-label {
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  margin-bottom: var(--space-3);
}
.hamburger-overlay-secondary ul { display: flex; flex-direction: column; gap: 0; }
.hamburger-overlay-secondary a {
  font-size: var(--text-base);
  color: rgba(255,255,255,0.7);
  display: block;
  padding: var(--space-2) 0;
  transition: color 150ms ease-out;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hamburger-overlay-secondary ul li:last-child a { border-bottom: none; }
.hamburger-overlay-secondary a:hover { color: var(--color-white); }

/* Mobiel: CTA + taal (verborgen op desktop) */
.overlay-mobile-footer {
  display: none;
}
.overlay-lang {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  justify-content: center;
}
.overlay-lang a {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.6);
  transition: color 150ms ease-out;
}
.overlay-lang a:hover { color: var(--color-white); }
.overlay-lang a[aria-current="page"] { color: var(--color-teal); }
.overlay-lang span { color: rgba(255,255,255,0.25); }

/* Team-grid mobiel — kader en overig beide onder elkaar */
@media (max-width: 599px) {
  .team-kader-grid  { grid-template-columns: 1fr !important; max-width: 100% !important; }
  .team-overig-grid { grid-template-columns: 1fr 1fr !important; }
}

/* Mobiel: kolommen onder elkaar, CTA + lang zichtbaar */
@media (max-width: 599px) {
  .overlay-topbar-actions { display: none; }
  .hamburger-overlay-cols {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    max-width: 100%;
    padding-top: var(--space-6);
  }
  .hamburger-overlay-main a { font-size: clamp(1.5rem, 8vw, 2rem); }
  .overlay-mobile-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    margin-top: var(--space-8);
    padding-bottom: var(--space-8);
  }
  .overlay-mobile-footer .btn {
    text-align: center;
    display: block;
  }
}

@media (min-width: 970px) {
  .main-nav { display: flex; }
  /* Hamburger blijft altijd zichtbaar — geen display:none */
}

/* ============================================================
   8. HERO
   ============================================================ */
.hero {
  position: relative;
  height: 88vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-surface-dark);
}
.hero-sm {
  height: 55vh;
  min-height: 360px;
  max-height: 600px;
}

.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 800ms ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gradient overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,46,43,0.88) 0%,
    rgba(13,46,43,0.45) 45%,
    rgba(13,46,43,0.12) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: absolute;
  bottom: var(--space-12);
  left: 0; right: 0;
  z-index: 2;
  color: var(--color-white);
}
.hero-sm .hero-content { bottom: var(--space-8); }

.hero-content h1 {
  font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  max-width: 780px;
}
.hero-content .lead {
  font-size: var(--text-lg);
  max-width: 560px;
  margin-bottom: var(--space-8);
  opacity: 0.92;
  color: var(--color-text-light);
}
@media (max-width: 640px) {
  .hero-content .lead { font-size: var(--text-base); }
}

/* Hero carousel dots */
.hero-dots {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: var(--space-2);
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}
.hero-dot.active, .hero-dot:hover { background: var(--color-white); }

/* ============================================================
   9. KAARTEN
   ============================================================ */
.card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.card-dark {
  background: var(--color-surface-mid);
  color: var(--color-text-light);
}
.card-dark h3, .card-dark h4 { color: var(--color-text-light); }
.card-dark .meta { color: var(--color-text-muted-dark); }

.card-blue {
  background: #00867a;
  color: var(--color-text-light);
}
.card-blue h3, .card-blue h4 { color: var(--color-text-light); }
.card-blue .meta { color: rgba(255,255,255,0.6); }
.card-blue .card-body p { color: rgba(255,255,255,0.75); }

.card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out;
}
.card:hover .card-img img { transform: scale(1.04); }

.card-body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.card-body h3 { font-size: var(--text-xl); }
.card-body p  { color: var(--color-text-muted); flex: 1; }
.card-dark .card-body p { color: var(--color-text-muted-dark); }

/* C-card wrapper (SSI brevetkaarten) */
.c-card-wrap {
  margin-bottom: var(--space-3);
}
.c-card-wrap img {
  width: 140px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

/* Highlight cards (kleine icon+tekst blokjes) */
.highlight-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.highlight-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-primary);
}
.section-dark .highlight-card {
  background: rgba(255,255,255,0.07);
  border-left-color: var(--color-teal);
}
.highlight-card .icon {
  width: 28px; height: 28px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}
.section-dark .highlight-card .icon { color: var(--color-teal); }
.highlight-card strong {
  display: block;
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
  margin-bottom: var(--space-1);
}
.section-dark .highlight-card strong { color: var(--color-text-light); }
.highlight-card span { font-size: var(--text-sm); color: var(--color-text-muted); }
.section-dark .highlight-card span { color: var(--color-text-muted-dark); }

/* Nieuws kaarten */
.news-card { background: var(--color-white); border-radius: var(--card-radius); overflow: hidden; transition: var(--transition-slow); }
.news-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.news-card-img { aspect-ratio: 3/2; overflow: hidden; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease-out; }
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { padding: var(--space-5); }
.news-card-body time { font-size: var(--text-sm); color: var(--color-text-muted); display: block; margin-bottom: var(--space-2); }
.news-card-body h3 { font-size: var(--text-xl); font-weight: var(--weight-semibold); color: var(--color-text-dark); line-height: var(--leading-normal); }

/* Duikplaats kaarten */
.dive-site-card { background: var(--color-white); border-radius: var(--card-radius); overflow: hidden; transition: var(--transition-slow); flex-shrink: 0; }
.dive-site-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.dive-site-card .card-img { aspect-ratio: 4/3; }
.dive-site-card .card-body { padding: var(--space-5); }
.dive-site-card h3 { font-size: var(--text-xl); }
.dive-site-card .water-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-1);
}

/* Generic hover utilities (replaces inline onmouseover/onmouseout handlers) */
.hover-lift { box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hover-img-scale img { transition: transform 0.3s ease; }
.hover-img-scale:hover img { transform: scale(1.03); }

/* Duikplaatsen index — grid + list hover cards */
.site-index-card {
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: block;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-index-card:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }

.site-index-card-dark {
  text-decoration: none;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  display: flex;
  gap: var(--space-4);
  align-items: center;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}
.site-index-card-dark:hover { background: rgba(255,255,255,0.1); border-color: var(--color-teal); }

/* Specialty kaarten */
.specialty-card {
  background: var(--color-white);
  border-radius: var(--card-radius);
  overflow: hidden;
  transition: var(--transition-slow);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.specialty-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: transparent; }
.specialty-card .c-card-img { aspect-ratio: 85/54; overflow: hidden; background: var(--color-bg-light); }
.specialty-card .c-card-img img { width: 100%; height: 100%; object-fit: contain; }
.specialty-card .card-body { padding: var(--space-5); display: flex; flex-direction: column; flex: 1; }
.specialty-card h3 { font-size: var(--text-xl); font-weight: var(--weight-semibold); margin-bottom: var(--space-2); }

/* ============================================================
   10. CAROUSEL
   ============================================================ */
.carousel-section { overflow: hidden; }
.carousel-wrapper { position: relative; }
.carousel-track {
  display: flex;
  gap: var(--card-gap);
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--space-4) var(--container-px) var(--space-8);
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; }
.dive-site-card  { width: 300px; }
.specialty-card  { width: 300px; }
@media (min-width: 640px) {
  .dive-site-card  { width: 340px; }
  .specialty-card  { width: 340px; }
}
@media (min-width: 1024px) {
  .carousel-track { padding-left: calc((100vw - var(--container-max)) / 2 + var(--container-px)); }
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: 0 var(--container-px) var(--space-4);
}
.carousel-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  transition: var(--transition);
  flex-shrink: 0;
}
.carousel-btn:hover { background: var(--color-primary-hover); }
.carousel-btn:disabled { background: var(--color-border); cursor: default; }
.carousel-btn svg { width: 20px; height: 20px; }

/* ============================================================
   11. FORMULIEREN
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--color-text-dark);
}
.form-group .required-mark { color: var(--color-accent); margin-left: var(--space-1); }

.form-control {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-base);
  background: var(--color-white);
  color: var(--color-text-dark);
  transition: var(--transition);
  line-height: var(--leading-normal);
}
.form-control:hover { border-color: var(--color-primary-light); }
.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0,134,122,0.12);
}
.form-control.error { border-color: var(--color-error); }
.form-control::placeholder { color: var(--color-text-muted); opacity: 0.7; }

textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235a8a82' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; appearance: none; padding-right: 40px; }

.form-error { font-size: var(--text-sm); color: var(--color-error); margin-top: -var(--space-1); }
.form-hint  { font-size: var(--text-sm); color: var(--color-text-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--space-4);
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--color-primary);
  cursor: pointer;
}

/* Alert/feedback blokken */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.alert svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: rgba(45,212,170,0.12); color: #0d6e5a; border: 1px solid rgba(45,212,170,0.3); }
.alert-error   { background: rgba(229,62,62,0.08);  color: #c53030; border: 1px solid rgba(229,62,62,0.2); }

/* ============================================================
   12. PRIJSTABELLEN
   ============================================================ */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--text-sm);
}
.price-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--weight-semibold);
  padding: var(--space-3) var(--space-4);
  text-align: left;
}
.price-table th:last-child { text-align: right; }
.price-table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.price-table td:last-child { text-align: right; font-weight: var(--weight-semibold); white-space: nowrap; }
.price-table tr:nth-child(even) td { background: var(--color-bg-light); }
.price-table tr:last-child td { border-bottom: none; }
.price-note {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  font-style: italic;
}

/* Prijskaarttje (prominente weergave) */
.price-highlight {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-1);
}
.price-highlight .amount {
  font-size: var(--text-2xl);
  font-weight: var(--weight-bold);
  color: var(--color-primary);
}
.price-highlight .period { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ============================================================
   13. STAPPEN / WORKFLOW
   ============================================================ */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  counter-reset: steps;
}
.step {
  display: flex;
  gap: var(--space-5);
  align-items: flex-start;
}
.step-number {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: var(--weight-bold);
  font-size: var(--text-sm);
  display: flex; align-items: center; justify-content: center;
  counter-increment: steps;
}
.step-number::before { content: counter(steps); }
.section-dark .step-number { background: var(--color-teal); color: var(--color-surface-dark); }
.step-content h4 { margin-bottom: var(--space-2); }
.step-content p  { color: var(--color-text-muted); margin: 0; }
.section-dark .step-content p { color: var(--color-text-muted-dark); }

/* ============================================================
   14. FOOTER
   ============================================================ */
.site-footer {
  background: #0d2e2b;
  color: var(--color-text-light);
}
/* Instagram block (in footer nieuwsbrief-kolom) */
.footer-instagram-block {
  margin-top: var(--space-6);
}
.footer-instagram-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.45);
  font-size: var(--text-sm);
  text-decoration: none;
  margin-bottom: var(--space-3);
  transition: color 0.2s ease;
}
.footer-instagram-label:hover { color: var(--color-teal); }
.footer-instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.footer-instagram-item {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
}
.footer-instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.8;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.footer-instagram-item:hover img {
  transform: scale(1.06);
  opacity: 1;
}

.footer-main {
  padding: var(--space-16) 0 var(--space-12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 2fr 1.5fr 2fr; } }

.footer-col h4 {
  color: var(--color-teal);
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}
.footer-logo { margin-bottom: var(--space-5); }
.footer-logo img { height: 28px; width: auto; }

.footer-address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: rgba(240,250,248,0.7);
}
.footer-address a { color: rgba(240,250,248,0.7); }
.footer-address a:hover { color: var(--color-teal); }

.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav a {
  font-size: var(--text-sm);
  color: rgba(240,250,248,0.7);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--color-teal); }

/* Newsletter */
.newsletter-form { margin-top: var(--space-4); }
.newsletter-form p { font-size: var(--text-sm); color: rgba(240,250,248,0.7); margin-bottom: var(--space-4); }
.newsletter-input-wrap {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.newsletter-input-wrap .form-control {
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.08);
  border-color: var(--color-border-dark);
  color: var(--color-text-light);
}
.newsletter-input-wrap .form-control::placeholder { color: rgba(240,250,248,0.4); }
.newsletter-input-wrap .form-control:focus { border-color: var(--color-teal); background: rgba(255,255,255,0.12); }

/* Footer bottom balk */
.footer-bottom {
  border-top: 1px solid var(--color-border-dark);
  padding: var(--space-6) 0;
}
.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-xs);
}
.footer-legal a { color: rgba(240,250,248,0.5); transition: var(--transition); }
.footer-legal a:hover { color: var(--color-text-light); }

.ssi-logos {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.ssi-logos img {
  height: 52px;
  width: auto;
  opacity: 0.75;
  transition: var(--transition);
  border-radius: var(--radius-full);
}
.ssi-logos img:hover { opacity: 1; }

.social-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.social-links a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(240,250,248,0.6);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.social-links a:hover { color: var(--color-teal); background: rgba(104,194,192,0.12); }
.social-links svg { width: 20px; height: 20px; }

/* ============================================================
   15. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: var(--color-surface-dark);
  border-top: 1px solid var(--color-border-dark);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
  padding: var(--space-5) 0;
  transform: translateY(100%);
  transition: transform 400ms ease-out;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--space-6);
  justify-content: space-between;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text p { font-size: var(--text-sm); color: rgba(240,250,248,0.75); margin: 0; }
.cookie-text a { color: var(--color-teal); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); align-items: center; }
.cookie-settings-toggle {
  font-size: var(--text-sm);
  color: rgba(240,250,248,0.6);
  text-decoration: underline;
  cursor: pointer;
}
.cookie-details { margin-top: var(--space-4); display: none; }
.cookie-details.open { display: block; }
.cookie-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border-dark);
  gap: var(--space-4);
}
.cookie-detail-item:last-child { border-bottom: none; }
.cookie-detail-info { flex: 1; }
.cookie-detail-info strong { font-size: var(--text-sm); color: var(--color-text-light); display: block; }
.cookie-detail-info span { font-size: var(--text-xs); color: rgba(240,250,248,0.5); }

/* Toggle switch */
.toggle-switch {
  position: relative;
  width: 44px; height: 24px;
  flex-shrink: 0;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--color-white);
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.toggle-switch input:checked + .toggle-slider { background: var(--color-primary); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(20px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.5; cursor: not-allowed; }

/* ============================================================
   16. SCROLL ENTREE ANIMATIES
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-animate][data-delay="100"] { transition-delay: 100ms; }
[data-animate][data-delay="200"] { transition-delay: 200ms; }
[data-animate][data-delay="300"] { transition-delay: 300ms; }
[data-animate][data-delay="400"] { transition-delay: 400ms; }

/* Geen animatie voor mensen die dat aangeven */
@media (prefers-reduced-motion: reduce) {
  [data-animate] { opacity: 1; transform: none; transition: none; }
  .hero-slide { transition: none; }
}

/* ============================================================
   17. HULPKLASSEN
   ============================================================ */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-muted   { color: var(--color-text-muted); }
.text-accent  { color: var(--color-accent); }
.text-primary { color: var(--color-primary); }
.text-teal    { color: var(--color-teal); }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* Intro blok (tekst + visueel naast elkaar) */
.intro-section .intro-text h2 { margin-bottom: var(--space-4); }
.intro-section .intro-text p  { margin-bottom: var(--space-4); color: var(--color-text-muted); }
.intro-section .intro-text .btn { margin-top: var(--space-2); }

/* Foto-achtergrond sectie */
.section-photo {
  position: relative;
  overflow: hidden;
  padding: var(--space-20) 0;
}
.section-photo-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.section-photo-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-photo-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,46,43,0.88), rgba(13,46,43,0.65));
}
.section-photo .container { position: relative; z-index: 1; }

/* Groot CTA blok */
.cta-block {
  text-align: center;
  padding: var(--space-20) var(--space-4);
}
.cta-block h2 { color: var(--color-white); margin-bottom: var(--space-4); }
.cta-block p  { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto var(--space-8); }

/* Divider */
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-8) 0;
}
.section-dark .divider { border-top-color: var(--color-border-dark); }

/* Tabellen (legal pages etc.) */
.data-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.data-table th, .data-table td { padding: var(--space-3) var(--space-4); border: 1px solid var(--color-border); text-align: left; }
.data-table th { background: var(--color-bg-light); font-weight: var(--weight-semibold); }

/* Paginering */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 var(--space-3);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  color: var(--color-text-dark);
  transition: var(--transition);
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .current { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }

/* Social embed placeholder */
.embed-placeholder {
  aspect-ratio: 16/9;
  background: var(--color-bg-light);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-8);
  text-align: center;
}
.embed-placeholder p { font-size: var(--text-sm); color: var(--color-text-muted); margin: 0; }
.embed-placeholder svg { width: 40px; height: 40px; color: var(--color-text-muted); opacity: 0.5; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  align-items: center;
}
.breadcrumb a { color: var(--color-text-muted); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb-sep { opacity: 0.4; }

/* ============================================================
   18. SPECIFIEKE PAGINALAY-OUTS
   ============================================================ */

/* Pagina-content (voor tekst-zware pagina's als legal) */
.page-content {
  max-width: 760px;
  margin: 0 auto;
}
.page-content h2 { margin: var(--space-8) 0 var(--space-4); font-size: var(--text-2xl); }
.page-content h3 { margin: var(--space-6) 0 var(--space-3); font-size: var(--text-xl); }
.page-content p, .page-content li { line-height: var(--leading-relaxed); color: var(--color-text-muted); }
.page-content ul { list-style: disc; margin-left: var(--space-6); margin-bottom: var(--space-4); }
.page-content li { margin-bottom: var(--space-2); }

/* Admin stijl-hook (wordt uitgebouwd in admin CSS) */
.admin-badge {
  display: inline-block;
  font-size: var(--text-xs);
  padding: 2px 8px;
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: var(--radius-full);
}

/* =============================================================================
   FAQ ACCORDION
   ============================================================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-text-base);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  position: relative;
  transition: background 0.2s;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s, opacity 0.2s;
}

.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 10px; }

.faq-item[open] .faq-icon { background: var(--color-teal); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-answer {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.7;
}

.faq-answer p { margin: 0; }

/* =============================================================================
   WHATSAPP-WIDGET
   ============================================================================= */
.wapp-chat-btn {
  position: fixed; bottom: 1.5em; right: 1.5em;
  background-color: #25d366; color: #ffffff;
  display: flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1.2em; border-radius: 8px;
  min-height: 44px; box-shadow: 0 0.3em 0.6em rgba(0,0,0,0.2);
  z-index: 1000; text-decoration: none; font-weight: 600;
  font-size: 0.9375rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, bottom 0.15s ease;
}
.wapp-chat-btn:hover { transform: translateY(-2px); box-shadow: 0 0.5em 1em rgba(0,0,0,0.25); }
.wapp-icon { width: 24px; height: 24px; flex-shrink: 0; }

/* =============================================================================
   MOBILE JUMP NAV (prijzen / prices)
   ============================================================================= */
.mobile-jump-nav { display: none; }

@media (max-width: 767px),
       (max-width: 900px) and (orientation: landscape) {
  .mobile-jump-nav {
    display: block;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: var(--space-4) 0;
  }
  .mobile-jump-nav .container {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
  }
  .mobile-jump-label {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-text-muted);
    margin: 0;
  }
  .mobile-jump-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .mobile-jump-links a {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
    color: var(--color-text);
    text-decoration: none;
    white-space: nowrap;
    transition: border-color 0.15s, color 0.15s;
  }
  .mobile-jump-links a:hover,
  .mobile-jump-links a:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    outline: none;
  }
}

/* =============================================================================
   POST GALLERY + LIGHTBOX
   ============================================================================= */
.post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-8);
}

.post-gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg-light);
  cursor: zoom-in;
  position: relative;
}

.post-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.post-gallery-item:hover img,
.post-gallery-item:focus-visible img {
  transform: scale(1.04);
}

.post-gallery-item:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

/* Lightbox */
.post-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.post-lightbox.is-open {
  display: flex;
}

.post-lightbox-img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  object-fit: contain;
}

.post-lightbox-caption {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-align: center;
  max-width: 600px;
  padding: 0 var(--space-6);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-lightbox-close,
.post-lightbox-prev,
.post-lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: var(--space-2);
  line-height: 1;
  opacity: 0.75;
  transition: opacity 0.15s;
}

.post-lightbox-close:hover,
.post-lightbox-prev:hover,
.post-lightbox-next:hover { opacity: 1; }

.post-lightbox-close {
  top: var(--space-4);
  right: var(--space-5);
  font-size: 2rem;
}

.post-lightbox-prev { left: var(--space-4); font-size: 2.5rem; top: 50%; transform: translateY(-50%); }
.post-lightbox-next { right: var(--space-4); font-size: 2.5rem; top: 50%; transform: translateY(-50%); }

.post-lightbox-prev:disabled,
.post-lightbox-next:disabled { opacity: 0.2; cursor: default; }

/* =============================================================================
   PDF LIGHTBOX
   ============================================================================= */
.pdf-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1100;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
}

.pdf-lightbox.is-open { display: flex; }

.pdf-lightbox-inner {
  position: relative;
  width: min(94vw, 1100px);
  height: 90vh;
  background: #fff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 16px;
  background: var(--color-surface-dark);
  flex-shrink: 0;
}

.pdf-lightbox-title {
  color: var(--color-text-light);
  font-size: var(--text-sm);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.pdf-lightbox-bar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.pdf-lightbox-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--color-teal);
  text-decoration: none;
  font-weight: 600;
}
.pdf-lightbox-download:hover { color: #fff; }

.pdf-lightbox-close-btn {
  background: none;
  border: none;
  color: rgba(240,250,248,0.7);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.15s;
}
.pdf-lightbox-close-btn:hover { color: #fff; }

.pdf-lightbox-frame {
  flex: 1;
  border: none;
  width: 100%;
  display: block;
}

.pdf-lightbox-lang-note {
  padding: 8px 16px;
  background: #fff3cd;
  font-size: var(--text-sm);
  color: #856404;
  border-top: 1px solid #ffc107;
  flex-shrink: 0;
}

/* Trigger knop op de post-pagina */
.pdf-trigger {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-8);
  padding: var(--space-4) var(--space-6);
  background: var(--color-bg-light);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-base);
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}
.pdf-trigger:hover {
  border-color: var(--color-primary);
  background: #f0f7f6;
  color: var(--color-primary);
}
.pdf-trigger svg { flex-shrink: 0; color: var(--color-primary); }

/* Op touch-apparaten (telefoon én tablet/iPad): geen iframe, knop opent PDF direct */
@media (max-width: 767px), (pointer: coarse) {
  .pdf-lightbox-frame { display: none; }
  .pdf-lightbox-inner { height: auto; max-height: 80vh; }
  .pdf-lightbox-mobile-msg {
    padding: var(--space-8) var(--space-6);
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
  }
}
/* Op desktops met muis: iframe tonen, mobiel-bericht verbergen */
@media (min-width: 768px) and (pointer: fine) {
  .pdf-lightbox-frame { display: block; }
  .pdf-lightbox-inner { height: 90vh; }
  .pdf-lightbox-mobile-msg { display: none; }
}
