:root {
  --bg: #0B0F14;
  --surface: #161B22;
  --nav-bg: rgba(11,15,20,.85);
  --hover-bg: rgba(255,255,255,.06);
  --btn-bg: rgba(229,57,53,.12);
  --btn: #E53935;
  --btn-hover: #FF4D4F;
  --link: #E53935;
  --link-hover: #FF6B6B;
  --heading: #FFFFFF;
  --text: #D1D5DB;
  --subtext: #9CA3AF;
  --border: #2B3440;
  --shadow: rgba(0,0,0,.45);
  --shadow-sm: rgba(0,0,0,.3);
  --overlay-start: rgba(11,15,20,.93);
  --overlay-mid: rgba(11,15,20,.4);
  --overlay-heading: #FFFFFF;
  --overlay-text: rgba(255,255,255,.85);
  --overlay-subtext: rgba(255,255,255,.5);
  --success: #22C55E;
  --warn: #F59E0B;
  --hulp: #0EA5E9;
  --error: #DC2626;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  --container: 1200px;
}

[data-theme="light"] {
  --bg: #F0F2F5;
  --surface: #FFFFFF;
  --nav-bg: rgba(255,255,255,.85);
  --hover-bg: rgba(0,0,0,.06);
  --btn-bg: rgba(229,57,53,.1);
  --btn: #E53935;
  --btn-hover: #CC2929;
  --link: #D32F2F;
  --link-hover: #B71C1C;
  --heading: #1F2937;
  --text: #374151;
  --subtext: #6B7280;
  --border: #E5E7EB;
  --shadow: rgba(0,0,0,.1);
  --shadow-sm: rgba(0,0,0,.06);
  --overlay-start: rgba(0,0,0,.7);
  --overlay-mid: rgba(0,0,0,.25);
  --success: #16A34A;
  --warn: #D97706;
  --hulp: #0284C7;
  --error: #DC2626;
}

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

html { height: 100%; font-size: 16px; }

body {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color .15s;
}

a:hover { color: var(--link-hover); }

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

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.2rem; }

p { margin-bottom: 1em; }

/* ─── HEADER / NAV ─── */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav::before {
  content: '';
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: -1;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.nav-brand:hover { opacity: .85; }
.nav-brand img { width: auto; height: 64px; }

.nav-menu {
  display: flex;
  list-style: none;
  gap: 6px;
  flex: 1;
  align-items: center;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a,
.nav-dropdown-toggle {
  color: var(--subtext);
  padding: 8px 16px;
  font-size: .88rem;
  font-weight: 500;
  transition: color .2s;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 6px;
  position: relative;
  cursor: pointer;
}

.nav-menu > li > a::after,
.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--btn);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform .2s ease;
}

.nav-menu > li > a:hover,
.nav-dropdown-toggle:hover {
  color: var(--heading);
}

.nav-menu > li > a:hover::after,
.nav-dropdown-toggle:hover::after {
  transform: scaleX(1);
}

.nav-menu > li > a.active,
.nav-dropdown-toggle.active {
  color: var(--heading);
}

.nav-menu > li > a.active::after,
.nav-dropdown-toggle.active::after {
  transform: scaleX(1) !important;
}

/* ─── DROPDOWN ─── */

.nav-dropdown-toggle .fa-chevron-down {
  transition: transform .25s ease;
  font-size: .7rem;
}

.nav-dropdown:hover .nav-dropdown-toggle .fa-chevron-down,
.nav-dropdown.open .nav-dropdown-toggle .fa-chevron-down {
  transform: rotate(180deg);
}

.nav-dropdown:hover > .nav-dropdown-toggle {
  color: var(--heading);
}

.nav-dropdown:hover > .nav-dropdown-toggle::after,
.nav-dropdown.open > .nav-dropdown-toggle::after {
  transform: scaleX(1);
}

.nav-dropdown-menu {
  display: block;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  min-width: 200px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  list-style: none;
  padding: 6px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  box-shadow: 0 12px 40px var(--shadow-sm);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 9px 14px;
  color: var(--text);
  font-size: .87rem;
  font-weight: 500;
  border-radius: 5px;
  transition: background .15s, color .15s;
}

.nav-dropdown-menu li a:hover,
.nav-dropdown-menu li a.active {
  background: var(--btn-bg);
  color: var(--btn);
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ─── THEME TOGGLE ─── */

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--subtext);
  font-size: 1.05rem;
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.theme-toggle:hover {
  background: var(--hover-bg);
  color: var(--heading);
}

.theme-toggle .fa-sun { display: none; }

[data-theme="light"] .theme-toggle .fa-moon { display: none; }
[data-theme="light"] .theme-toggle .fa-sun { display: block; }

.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: inline-block; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-shrink: 0;
  transition: background .2s;
}

.nav-toggle:hover {
  background: var(--hover-bg);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--heading);
  border-radius: 1px;
  transition: .2s;
}

/* ─── HERO / STACK CARDS ─── */

.hero {
  position: relative;
  background: var(--bg);
  min-height: 580px;
  overflow: hidden;
}

.hero-stack {
  position: relative;
  width: 100%;
  min-height: 560px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── STACK CARDS ─── */

.stack-card {
  position: absolute;
  bottom: 60px;
  left: 50%;
  width: 94%;
  max-width: 1000px;
  height: 440px;
  transform: translateX(-50%) scale(1) rotate(0deg);
  transform-origin: center bottom;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: var(--surface);
  box-shadow: 0 8px 32px var(--shadow);
  transition: all .5s cubic-bezier(.34,1.56,.64,1), opacity .4s ease;
  will-change: transform, opacity;
}

.stack-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stack-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-start) 0%, var(--overlay-mid) 40%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
}

.stack-text h2 {
  font-size: 1.6rem;
  margin: 8px 0 6px;
  color: var(--overlay-heading);
}

.stack-text p {
  color: var(--overlay-text);
  font-size: .9rem;
  line-height: 1.5;
  max-width: 600px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stack-date {
  display: block;
  color: var(--overlay-subtext);
  font-size: .78rem;
  margin-top: 10px;
}

/* ─── CARD POSITIONS ─── */

.stack-card.active {
  transform: translateX(-50%) scale(1) rotate(0deg);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 8px 40px var(--shadow);
  cursor: pointer;
}

.stack-card.peek-1 {
  transform: translateX(calc(-50% + 40px)) translateY(20px) scale(.92) rotate(1.5deg);
  opacity: .6;
  z-index: 8;
  pointer-events: none;
  filter: brightness(.7);
}

.stack-card.peek-2 {
  transform: translateX(calc(-50% + 80px)) translateY(40px) scale(.84) rotate(3deg);
  opacity: .35;
  z-index: 6;
  pointer-events: none;
  filter: brightness(.5);
}

.stack-card.out-prev {
  transform: translateX(calc(-50% - 200px)) translateY(40px) scale(.9) rotate(-3deg);
  opacity: 0;
  z-index: 1;
}

.stack-card.out-next {
  transform: translateX(calc(-50% + 200px)) translateY(40px) scale(.9) rotate(4deg);
  opacity: 0;
  z-index: 1;
}

/* ─── ARROWS ─── */

.stack-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.12);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  transition: color .2s, background .2s;
}

.stack-arrow:hover {
  color: #fff;
  background: rgba(0,0,0,.8);
}

.stack-prev { left: 1%; }
.stack-next { right: 1%; }

/* ─── DOTS ─── */

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

.stack-dot {
  width: 28px;
  height: 6px;
  border-radius: 4px;
  background: var(--subtext);
  opacity: .4;
  cursor: pointer;
  transition: background .3s, width .2s, opacity .2s;
}

.stack-dot.active {
  background: var(--btn);
  opacity: 1;
  width: 40px;
}

.stack-dot:hover {
  opacity: .7;
}



/* ─── CATEGORY BADGES ─── */

.category-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 10px;
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  width: fit-content;
  background: var(--btn);
  color: var(--overlay-heading);
  line-height: 1;
}

.category-badge--large {
  padding: 5px 14px;
  font-size: .72rem;
  letter-spacing: 1.2px;
}

/* ─── WHY US SECTION ─── */

.why-section {
  padding: 48px 0 32px;
}

.why-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.why-text h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.why-text p {
  color: var(--subtext);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.why-images {
  position: relative;
  min-height: 340px;
}

.why-img {
  position: absolute;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--shadow-sm);
  transform: rotate(var(--rot, 0deg));
  transition: box-shadow .35s, transform .4s cubic-bezier(.34,1.56,.64,1);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.why-img:hover {
  z-index: 10;
  box-shadow: 0 8px 40px var(--shadow);
  transform: rotate(var(--rot-hover, 0deg)) scale(1.04);
}

.why-img-main {
  width: 76%;
  height: 240px;
  top: 0;
  right: 0;
  z-index: 1;
  --rot-hover: 2deg;
}

.why-img-sm {
  width: 52%;
  height: 160px;
  bottom: 0;
  z-index: 2;
}

.why-img-sm1 {
  left: 0;
  --rot: -3deg;
  --rot-hover: -5deg;
}

.why-img-sm2 {
  right: 8%;
  --rot: 4deg;
  --rot-hover: 6deg;
}

.why-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--overlay-start), transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 14px;
  bottom: -1px;
}

.why-img-overlay span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--overlay-heading);
  text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ─── CATEGORY CARDS ─── */

.cats-section {
  padding: 32px 0;
}

.cats-grid {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cat-card {
  position: relative;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform .2s ease;
}

.cat-card:hover {
  transform: translateY(-2px);
}

.cat-bg {
  position: absolute;
  inset: 0;
  opacity: .1;
  transition: opacity .2s;
}

.cat-card:hover .cat-bg {
  opacity: .18;
}

.cat-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s;
}

.cat-card:hover .cat-overlay {
  border-color: var(--btn);
}

.cat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--bg);
  flex-shrink: 0;
  transition: background .2s, color .2s;
}

.cat-card:hover .cat-icon {
  background: var(--btn-bg);
}

.cat-icon i {
  color: var(--subtext);
  transition: color .2s;
  font-size: .95rem;
}

.cat-card:hover .cat-icon i {
  color: var(--btn);
}

.cat-name {
  font-size: .95rem;
  font-weight: 600;
  color: var(--heading);
}

/* ─── NEWS SECTION ─── */

.news-section {
  padding: 32px 0 64px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  border: none;
  padding: 0;
}

.section-link {
  font-size: .82rem;
  font-weight: 600;
  color: var(--subtext);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}

.section-link:hover {
  color: var(--btn);
}

.section-link i {
  font-size: .75rem;
  transition: transform .2s;
}

.section-link:hover i {
  transform: translateX(4px);
}

.section-link:hover span {
  transform: translateX(4px);
}

/* ─── NEWS CARDS ─── */

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.news-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--border);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-sm);
  border-color: var(--btn);
}

.news-card-image {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .3s;
  will-change: transform;
}

.news-card:hover .news-card-image img {
  transform: scale(1.04);
}

.news-card-body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-card-body .category-badge {
  align-self: flex-start;
}

.news-card-body h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--heading);
  margin: 0;
}

.news-card-body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-card-body h3 a:hover {
  color: var(--link);
}

.news-card-excerpt {
  font-size: .85rem;
  line-height: 1.5;
  color: var(--subtext);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  color: var(--subtext);
  font-size: .78rem;
  font-weight: 500;
  margin-top: auto;
}

/* ─── ARTICLE DETAIL ─── */

.article-detail {
  padding: 40px 0 64px;
}

.article-header {
  max-width: 720px;
  margin: 0 auto 32px;
}

.article-header h1 {
  font-size: 2.2rem;
  margin: 14px 0 10px;
}

.article-meta {
  color: var(--subtext);
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.article-share {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--subtext);
  padding: 6px 14px;
  border-radius: 6px;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
}

.article-share:hover {
  border-color: var(--btn);
  color: var(--btn);
  background: var(--btn-bg);
}

.article-share i {
  font-size: .9rem;
}

.article-photo-main {
  max-width: 1000px;
  margin: 0 auto 40px;
  background: var(--bg);
  line-height: 0;
}

.article-photo-main img {
  width: 100%;
}

.photo-caption {
  padding: 14px 20px;
  background: var(--surface);
  color: var(--subtext);
  font-size: .85rem;
  font-style: italic;
  line-height: 1.5;
}

.photo-category-label {
  padding: 14px 20px;
  background: var(--surface);
  color: var(--subtext);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text);
}

.article-video {
  max-width: 720px;
  margin: 32px auto 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}

.article-video iframe {
  width: 100%;
  height: 100%;
}

.article-content p { margin-bottom: 1.4em; }
.article-content h3 { font-size: 1.3rem; margin: 2em 0 .6em; }
.article-content strong { font-weight: 600; }

/* ─── GALLERY ─── */

.article-gallery {
  max-width: 1000px;
  margin: 48px auto 0;
  border-top: 2px solid var(--btn);
  padding-top: 32px;
}

.article-gallery h2 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

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

.gallery-item {
  border: 1px solid var(--border);
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  transition: border-color .2s;
}

.gallery-item:hover {
  border-color: var(--btn);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.gallery-item figcaption {
  padding: 10px 12px;
  font-size: .82rem;
  color: var(--subtext);
  border-top: 1px solid var(--border);
  font-style: italic;
}

/* ─── ARTICLE NAV ─── */

.article-nav {
  max-width: 720px;
  margin: 48px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.article-nav-link {
  padding: 20px 24px;
  border: 1px solid var(--border);
  border-radius: 10px;
  flex: 1;
  text-decoration: none;
  transition: border-color .2s, background .2s;
  background: var(--surface);
}

.article-nav-link:hover {
  border-color: var(--btn);
}

.article-nav-label {
  color: var(--subtext);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.article-nav-label i {
  font-size: .7rem;
}

.article-nav-link strong {
  display: block;
  color: var(--heading);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}

.article-nav-next {
  text-align: right;
}

.article-nav-next .article-nav-label {
  justify-content: flex-end;
}

/* ─── NIEUWS PAGE ─── */

.nieuws-section { padding: 40px 0 64px; }

.nieuws-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.nieuws-header h1 { font-size: 1.8rem; margin: 0 0 6px; }
.nieuws-header p { color: var(--subtext); font-size: .9rem; margin: 0; }

.nieuws-header .search-form-large,
.category-header .search-form-large {
  flex: 1;
  max-width: 420px;
  min-width: 240px;
}

/* ─── CATEGORY PAGE ─── */

.category-section { padding: 40px 0 64px; }

.category-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.category-header h1 { font-size: 1.8rem; margin: 0 0 6px; }
.category-header p { color: var(--subtext); font-size: .9rem; margin: 0; }

/* ─── SEARCH ─── */

.search-section { padding: 40px 0 64px; }
.search-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.search-header h1 { font-size: 1.8rem; margin: 0 0 20px; }

.search-form-large {
  display: flex;
  gap: 12px;
  max-width: 600px;
}

.search-form-large input {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s;
}

.search-form-large input:focus { border-color: var(--btn); }
.search-form-large input::placeholder { color: var(--subtext); }

.search-count {
  color: var(--subtext);
  margin-bottom: 24px;
  font-size: .9rem;
}

/* ─── PAGINATION ─── */

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.pagination-link {
  min-width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  transition: border-color .2s, background .2s, color .2s;
}

.pagination-link:hover {
  border-color: var(--btn);
  color: var(--btn);
}

.pagination-link.current {
  background: var(--btn);
  border-color: var(--btn);
  color: var(--overlay-heading);
  cursor: default;
}

.pagination-link.disabled {
  opacity: .4;
  pointer-events: none;
}

/* ─── 404 ─── */

.error-section {
  padding: 96px 0;
  text-align: center;
}

.error-content h1 {
  font-size: 7rem;
  color: var(--btn);
  line-height: 1;
}

.error-content h2 { margin: 12px 0 10px; }
.error-content p { color: var(--subtext); margin-bottom: 24px; }

/* ─── EMPTY STATE ─── */

.empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--subtext);
}

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

/* ─── BUTTONS ─── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: none;
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary {
  background: var(--btn);
  color: var(--overlay-heading);
}

.btn-primary:hover { background: var(--btn-hover); color: var(--overlay-heading); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

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

/* ─── LIGHTBOX ─── */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox.active { display: flex; }

.lightbox-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 90vw;
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox-caption {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  text-align: left;
  font-style: italic;
  line-height: 1.5;
  margin-top: 8px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  z-index: 1001;
  opacity: .5;
  transition: opacity .2s;
  line-height: 1;
}

.lightbox-close:hover { opacity: 1; }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  opacity: .7;
  transition: opacity .2s, background .2s;
  border-radius: 8px;
}

.lightbox-prev:hover, .lightbox-next:hover {
  opacity: 1;
  background: rgba(0,0,0,.7);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* ─── STATIC PAGES ─── */

.page-section {
  padding: 48px 0 64px;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
}

.page-content h1 {
  margin-bottom: 12px;
}

.page-intro {
  font-size: 1.15rem;
  color: var(--subtext);
  margin-bottom: 32px;
  line-height: 1.6;
}

.page-content p {
  margin-bottom: 1.2em;
  line-height: 1.8;
}

.page-content h3 {
  margin: 2em 0 .6em;
  font-size: 1.2rem;
}

.page-content ul {
  list-style: none;
  margin-bottom: 1.5em;
}

.page-content ul li {
  padding: 6px 0 6px 24px;
  position: relative;
  color: var(--text);
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  background: var(--btn);
}

/* ─── CONTACT PAGE ─── */

.contact-section { padding: 40px 0 64px; }

.contact-header {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.contact-header h1 { font-size: 1.8rem; margin: 0 0 6px; }
.contact-header p { color: var(--subtext); font-size: .9rem; margin: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item + .contact-item {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn);
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--subtext);
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  color: var(--text);
  font-size: .95rem;
}

.contact-item a:hover {
  color: var(--link);
}

.contact-form-wrapper h3 {
  font-size: 1.2rem;
  color: var(--heading);
  margin-bottom: 20px;
}

.form-row-inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: .9rem;
  font-family: var(--font);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
  background: var(--surface);
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--btn);
  box-shadow: 0 0 0 3px var(--btn-bg);
}

/* ─── FOOTER ─── */

.site-footer {
  background: var(--surface);
  color: var(--subtext);
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 40px;
}

.footer-logo { opacity: .6; margin-bottom: 12px; }
.footer-about { font-size: .85rem; line-height: 1.6; color: var(--subtext); margin-bottom: 16px; }

.footer-info h4,
.footer-links h4,
.footer-popular h4,
.footer-tip h4 {
  color: var(--heading);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  font-weight: 700;
}

.footer-links ul,
.footer-popular ul { list-style: none; }
.footer-links ul li,
.footer-popular ul li { margin-bottom: 8px; }
.footer-links ul li a,
.footer-popular ul li a {
  color: var(--subtext);
  font-size: .85rem;
  transition: color .2s;
}

.footer-links ul li a:hover,
.footer-popular ul li a:hover { color: var(--heading); }

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--subtext);
  font-size: 1.1rem;
  transition: all .2s;
  border: 1px solid var(--border);
}

.social-link:hover {
  color: var(--overlay-heading);
  border-color: transparent;
  background: var(--btn);
}

.footer-tip p {
  font-size: .85rem;
  line-height: 1.6;
  color: var(--subtext);
  margin-bottom: 16px;
}

.footer-tip .btn {
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .8rem;
  color: var(--subtext);
  opacity: .5;
  margin: 0;
}

/* ─── RESPONSIVE ─── */

@media (max-width: 1024px) {
  .hero, .hero-stack { min-height: 480px; }
  .stack-card { height: 360px; width: 94%; max-width: 900px; bottom: 50px; }
  .stack-card.peek-1 { transform: translateX(calc(-50% + 24px)) translateY(16px) scale(.94) rotate(1.5deg); }
  .stack-card.peek-2 { transform: translateX(calc(-50% + 50px)) translateY(32px) scale(.88) rotate(3deg); }
  .stack-overlay { padding: 28px; }
  .stack-text h2 { font-size: 1.3rem; }
}

@media (max-width: 1024px) {
  .site-nav { z-index: 10001; }
  .nav-container { height: 64px; padding: 0 16px; gap: 0; }
  .nav-toggle { display: flex; margin-left: auto; }
  .theme-toggle { margin: 0; }

  .nav-menu {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    height: calc(100vh - 64px);
    width: 300px;
    max-width: 80vw;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: block;
    margin: 0;
    padding: 12px 0;
    border-left: 1px solid var(--border);
    box-shadow: -8px 0 40px rgba(0,0,0,.15);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu > li > a,
  .nav-dropdown-toggle {
    padding: 14px 24px;
    border-radius: 0;
    text-align: left;
  }

  .nav-menu > li > a:hover,
  .nav-menu > li > a.active,
  .nav-dropdown-toggle:hover,
  .nav-dropdown-toggle.active {
    background: transparent;
    color: var(--btn);
  }

  .nav-dropdown-toggle .fa-chevron-down {
    transition: transform .25s ease;
  }

  .nav-dropdown:hover > .nav-dropdown-toggle .fa-chevron-down {
    transform: none !important;
  }

  .nav-dropdown:hover > .nav-dropdown-toggle {
    color: var(--subtext) !important;
  }

  .nav-dropdown:hover > .nav-dropdown-toggle::after {
    transform: scaleX(0) !important;
  }

  .nav-dropdown.open > .nav-dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg) !important;
  }

  .nav-dropdown.open > .nav-dropdown-toggle {
    color: var(--btn) !important;
  }

  .nav-dropdown.open > .nav-dropdown-toggle::after {
    transform: scaleX(1) !important;
  }

  .nav-dropdown-menu {
    position: static !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-width: 0 !important;
    box-shadow: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-dropdown:hover .nav-dropdown-menu {
    max-height: 0 !important;
    transform: none !important;
  }

  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 500px !important;
  }

  .nav-dropdown-menu li a {
    display: block;
    padding: 10px 24px 10px 40px;
    font-size: .82rem;
    color: var(--subtext);
    font-weight: 500;
  }

  .nav-dropdown-menu li a:hover,
  .nav-dropdown-menu li a.active {
    color: var(--btn);
  }

  .nav-overlay {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
  }

  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 768px) {
  .hero, .hero-stack { min-height: 400px; }
  .stack-card { height: 300px; width: 96%; bottom: 40px; border-radius: 12px; }
  .stack-card.peek-1 { transform: translateX(calc(-50% + 14px)) translateY(12px) scale(.95) rotate(1deg); }
  .stack-card.peek-2 { opacity: 0; pointer-events: none; }
  .stack-overlay { padding: 20px; }
  .stack-text h2 { font-size: 1.1rem; }
  .stack-text p { font-size: .82rem; -webkit-line-clamp: 1; }
  .stack-arrow { width: 36px; height: 36px; font-size: .85rem; }
  .stack-prev { left: 10px; }
  .stack-next { right: 10px; }
  .hero-dots { bottom: 10px; gap: 6px; }
  .stack-dot { width: 22px; height: 5px; }
  .stack-dot.active { width: 32px; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }

  .article-header h1 { font-size: 1.7rem; }

  .cats-grid { grid-template-rows: auto; grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat-card { height: 64px; }
  .cat-overlay { padding: 0 12px; gap: 8px; }
  .cat-icon { width: 32px; height: 32px; }
  .cat-icon i { font-size: .85rem; }
  .cat-name { font-size: .82rem; }
  .why-section { padding: 32px 0 24px; }
  .why-layout { grid-template-columns: 1fr; gap: 24px; }
  .why-images { min-height: auto; display: flex; flex-direction: column; gap: 12px; }
  .why-img { position: relative; width: 100% !important; height: 180px !important; transform: none !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important; }
  .why-img:hover { transform: none !important; }
  .news-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }

  .article-nav { flex-direction: column; }
  .search-form-large { flex-direction: column; }
  .nieuws-header, .category-header { flex-direction: column; align-items: stretch; }
  .nieuws-header .search-form-large,
  .category-header .search-form-large { max-width: 100%; }

  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row-inline { grid-template-columns: 1fr; }

  .footer-content { grid-template-columns: 1fr; gap: 32px; }

  .container { padding: 0 16px; }

  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

@media (max-width: 480px) {
  .hero, .hero-stack { min-height: 350px; }
  .stack-card { height: 250px; bottom: 30px; border-radius: 10px; }
  .stack-text h2 { font-size: .95rem; }
  .stack-text p { display: none; }
  .stack-arrow { width: 32px; height: 32px; font-size: .75rem; }
  .stack-prev { left: 6px; }
  .stack-next { right: 6px; }
  .hero-dots { bottom: 6px; gap: 5px; }
  .stack-dot { width: 18px; height: 4px; }
  .stack-dot.active { width: 26px; }
  .lightbox-prev { left: 4px; }
  .lightbox-next { right: 4px; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-card { height: 56px; }
  .cat-overlay { gap: 10px; padding: 0 12px; }
  .cat-icon { width: 32px; height: 32px; border-radius: 8px; }
  .cat-icon i { font-size: .85rem; }
  .cat-card:hover .cat-icon { background: var(--hover-bg); }
  .cat-name { font-size: .82rem; }
}
