/* ============================================================
   ZC Flevo Theme — Main Stylesheet
   Brand colors:
     Blue (logo):   #056BB3
     Red (logo):    #E21F26
     Dark blue:     #235696  (accents, page headers)
     Text:          #333333
     Muted text:    #57585e
   ============================================================ */

:root {
  --blue:        #056BB3;
  --blue-dark:   #235696;
  --blue-light:  #3d8fd4;
  --red:         #E21F26;
  --red-dark:    #c71920;
  --text:        #222222;
  --text-muted:  #57585e;
  --bg:          #ffffff;
  --bg-light:    #f4f4f5;
  --bg-dark:     #1a3a5c;
  --border:      #e0e0e0;
  --shadow:      0 2px 10px rgba(0, 0, 0, 0.08);
  --shadow-lg:   0 8px 28px rgba(0, 0, 0, 0.14);
  --radius:      6px;
  --radius-lg:   12px;
  --transition:  0.2s ease;
  --max-width:   1160px;
  --header-h:    72px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Typography ===== */
h1, h2, h3, h4, h5 { line-height: 1.3; color: var(--text); }
h1 { font-size: 2.25rem; font-weight: 700; margin-bottom: 0.6rem; }
h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
h3 { font-size: 1.2rem;  font-weight: 600; margin-bottom: 0.4rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
ul, ol { margin-bottom: 1rem; padding-left: 1.5rem; }
li { margin-bottom: 0.3rem; }
strong { font-weight: 600; }

/* ===== Container ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================
   HEADER & NAVIGATION  — White background, logo readable
   ============================================================ */
.site-header {
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--blue);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}
.logo img { height: 44px; width: auto; }

/* Desktop nav: dark text on white */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.1rem;
  align-items: center;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.9rem;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}
.main-nav > ul > li > a:hover,
.main-nav > ul > li.active > a {
  color: var(--blue);
  background: var(--bg-light);
  text-decoration: none;
}
.main-nav .arrow { font-size: 0.6rem; opacity: 0.5; }

/* Dropdown */
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 1px); /* 1px overlap prevents mouse-gap losing hover */
  left: 0;
  min-width: 200px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--blue);
  overflow: hidden;
  z-index: 200;
  padding-top: 6px; /* visual breathing room below the border */
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown { display: block; }

/* Invisible bridge: extends hover area below the nav link so mouse
   can travel from link to dropdown without triggering mouseleave */
.main-nav .has-dropdown > a::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.main-nav > ul > li > a { position: relative; }
.main-nav .dropdown li a {
  display: block;
  padding: 0.65rem 1rem;
  color: var(--text);
  font-size: 0.875rem;
  transition: background var(--transition), color var(--transition);
  border-left: 3px solid transparent;
}
.main-nav .dropdown li a:hover {
  background: var(--bg-light);
  color: var(--blue);
  border-left-color: var(--blue);
  text-decoration: none;
}

/* Mobile toggle — dark bars on white header */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--blue-dark);   /* dark, visible on white */
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO  — Full-bleed photo with dark gradient overlay
   ============================================================ */
.hero {
  position: relative;
  color: #fff;
  padding: 6rem 0 5rem;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(140deg, var(--blue-dark) 0%, var(--blue) 100%);
}
/* When a photo is set via inline style */
.hero.has-photo {
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}

/* Hero slideshow (crossfade tussen meerdere foto's) */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slide.is-active { opacity: 1; }
/* iOS Safari does not support background-attachment: fixed */
@supports (-webkit-touch-callout: none) {
  .hero.has-photo { background-attachment: scroll; }
}
/* Dark gradient overlay for photo readability */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    160deg,
    rgba(26, 58, 92, 0.82) 0%,
    rgba(35, 86, 150, 0.65) 50%,
    rgba(5, 107, 179, 0.50) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.02em;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.93;
  max-width: 620px;
  margin: 0 auto 2.5rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 1.85rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1.4;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 16px rgba(226, 31, 38, 0.4);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 31, 38, 0.45);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 3px 10px rgba(5, 107, 179, 0.25);
}
.btn-blue:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: 0 5px 14px rgba(5, 107, 179, 0.3);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--blue-dark);
  color: #fff;
  padding: 2.25rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-number {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
}
.stat-label {
  font-size: 0.82rem;
  opacity: 0.8;
  margin-top: 0.3rem;
}

/* ============================================================
   PHOTO STRIP  — masonry-style photo grid
   ============================================================ */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-flow: dense;  /* Vult gaten op zodat wide foto's nooit een lege col achterlaten */
  gap: 1px;
  background: #222;
}
.photo-strip a,
.photo-strip .photo-item {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.photo-strip .photo-wide {
  grid-column: span 2;
  aspect-ratio: 8 / 3;  /* wider aspect ratio for 2-column span, but same computed height */
}
.photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* crop/stretch image to fill without changing container height */
  transition: transform 0.45s ease, filter 0.3s ease;
  filter: brightness(0.92);
}
.photo-strip a:hover img,
.photo-strip .photo-item:hover img {
  transform: scale(1.06);
  filter: brightness(1);
}

/* ============================================================
   INTRO SECTION
   ============================================================ */
.intro-section {
  padding: 3.5rem 0;
  background: var(--bg-light);
}
.intro-container { max-width: 820px; }
.intro-container h2 { color: var(--blue-dark); margin-top: 1.5rem; }
.intro-container h2:first-child { margin-top: 0; }

/* ============================================================
   COST BANNER
   ============================================================ */
.cost-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
  padding: 3.5rem 0;
}
.cost-banner > .container { max-width: 820px; }
.cost-banner-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: flex-start;
}
.cost-banner-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.4rem;
}
.cost-banner h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.75rem;
}
.cost-banner p {
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0;
  font-size: 0.95rem;
}
.cost-banner-items {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cost-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  text-align: center;
  min-width: 140px;
}
.cost-item-total {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.cost-item-amount {
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.cost-item-total .cost-item-amount {
  color: #fff;
}
.cost-item-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
  margin-top: 0.3rem;
  line-height: 1.3;
}
.cost-item-plus {
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
}

/* Tabs (pure CSS via radio buttons) */
.cost-tabs { margin-top: 1.75rem; }
.cost-tabs input[type="radio"] { display: none; }
.cost-tab-labels {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.cost-tab-labels label {
  padding: 0.45rem 1.25rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  transition: all var(--transition);
}
.cost-tab-labels label:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
/* Active tab when senior is selected */
#tab-senior:checked ~ .cost-tab-labels label[for="tab-senior"],
#tab-junior:checked ~ .cost-tab-labels label[for="tab-junior"] {
  background: #fff;
  color: var(--blue-dark);
  border-color: #fff;
}
/* Show/hide panels */
.cost-tab-panel { display: none; }
#tab-senior:checked ~ #panel-senior,
#tab-junior:checked ~ #panel-junior { display: block; }

/* Installment note */
.cost-installment {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  max-width: fit-content;
}
.cost-installment svg { flex-shrink: 0; opacity: 0.8; }
.cost-installment strong { color: #fff; }

.cost-note {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}


/* ============================================================
   STAGE CALLOUT
   ============================================================ */
.stage-callout {
  background: #eef3f9;
  border-top: 3px solid var(--blue);
  padding: 2.5rem 0;
}
.stage-callout-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.stage-callout-icon {
  color: var(--blue);
  flex-shrink: 0;
  opacity: 0.85;
}
.stage-callout-text { flex: 1; }
.stage-callout-text .section-label { margin-bottom: 0.3rem; }
.stage-callout-text h2 {
  color: var(--blue-dark);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  margin: 0 0 0.5rem;
}
.stage-callout-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  max-width: 560px;
}
@media (max-width: 680px) {
  .stage-callout-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }
  .stage-callout-icon { display: none; }
}

/* ============================================================
   FEATURE CARDS
   ============================================================ */
.features {
  padding: 4rem 0;
  background: var(--bg);
}
.features > .container > h2 {
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: 2.5rem;
  font-size: 1.9rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-header {
  background: var(--blue-dark);
  color: #fff;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.card-header h3 { color: #fff; margin: 0; font-size: 1.05rem; }
.card-icon { color: rgba(255, 255, 255, 0.85); flex-shrink: 0; }
.card-body {
  padding: 1.4rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body p { color: var(--text-muted); font-size: 0.9rem; flex: 1; margin-bottom: 1.1rem; }
.card-body .btn { align-self: flex-start; }

/* ============================================================
   TESTIMONIALS / LEDEN VERTELLEN
   ============================================================ */
.testimonials {
  background: var(--bg-light);
  padding: 4rem 0;
}
.testimonials > .container > h2 {
  text-align: center;
  color: var(--blue-dark);
  margin-bottom: 0.5rem;
  font-size: 1.9rem;
}
.testimonials > .container > .section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--blue);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '\201C'; /* opening quote mark */
  position: absolute;
  top: 0.75rem;
  left: 1.25rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.15;
  font-family: Georgia, serif;
  pointer-events: none;
}
.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  flex: 1;
  padding-top: 0.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--blue), 0 4px 16px rgba(0,0,0,0.12);
  border: 3px solid #fff;
}
.testimonial-avatar-letter {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.testimonials-cta {
  text-align: center;
  margin-top: 2.25rem;
}

/* Full leden-vertellen page */
.leden-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}
.leden-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border-top: 4px solid var(--blue);
  transition: transform var(--transition), box-shadow var(--transition);
}
.leden-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.leden-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem 1rem;
  text-align: center;
}
.leden-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--blue), 0 4px 16px rgba(0,0,0,0.12);
  border: 3px solid #fff;
}
.leden-avatar-letter {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2.5rem;
  color: #fff;
  flex-shrink: 0;
  background: var(--blue);
  box-shadow: 0 0 0 2px var(--blue), 0 4px 16px rgba(0,0,0,0.12);
  border: 3px solid #fff;
}
/* Placeholder-card: subtiel afwijkend zodat duidelijk is dat het een
   template is (gestippelde rand, iets minder verzadigd). */
.leden-card--placeholder {
  border: 2px dashed var(--border);
  background: var(--bg-light);
}
.leden-card--placeholder .leden-avatar-letter {
  background: var(--text-muted);
  box-shadow: 0 0 0 2px var(--text-muted), 0 4px 16px rgba(0,0,0,0.08);
}
.leden-name { font-weight: 700; font-size: 1.05rem; }
.leden-card-body {
  padding: 0 1.5rem 1.75rem;
  position: relative;
}
.leden-card-body::before {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.1rem;
  font-size: 4.5rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.12;
  font-family: Georgia, serif;
  pointer-events: none;
}
.leden-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

/* ============================================================
   SPORT TEASER  — photo on the right
   ============================================================ */
.sport-teaser {
  background: var(--bg-light);
  padding: 4rem 0;
}
.sport-teaser-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.sport-teaser-content h2 { color: var(--blue-dark); margin-bottom: 1rem; }
.sport-teaser-content p { color: var(--text-muted); }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.sport-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.sport-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brevet-list { display: flex; flex-direction: column; gap: 0.85rem; margin-top: 1.5rem; }
.brevet-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.brevet-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.9rem;
  color: #333;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--blue-dark);
  color: #fff;
  padding: 2.75rem 0 2.25rem;
}
.page-header h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 4vw, 2.25rem); }
.breadcrumb { font-size: 0.82rem; opacity: 0.7; margin-bottom: 0.5rem; }
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.breadcrumb a:hover { color: #fff; text-decoration: none; }
.page-description { color: rgba(255,255,255,0.85); margin-top: 0.5rem; font-size: 1rem; max-width: 640px; }

/* Page header with photo */
.page-header.has-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 4rem 0 3.5rem;
}
.page-header.has-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,58,92,0.85) 0%, rgba(35,86,150,0.7) 100%);
}
.page-header.has-photo .container { position: relative; z-index: 1; }

/* ============================================================
   PAGE CONTENT
   ============================================================ */
.page-content { padding: 3rem 0 4rem; }
.page-content .container { max-width: 840px; }
.page-content h2 {
  color: var(--blue-dark);
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--bg-light);
  font-size: 1.5rem;
}
.page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-content h3 { color: var(--blue-dark); margin-top: 1.5rem; }
.page-content ul li, .page-content ol li { color: var(--text-muted); }
.page-content a { color: var(--blue); font-weight: 500; }

/* Inline photo in content */
.page-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  margin: 1.5rem 0;
}
/* Avatar overrides: undo the generic img styles for circular avatars */
.page-content img.leden-avatar {
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--blue), 0 4px 16px rgba(0,0,0,0.12);
  margin: 0;
}
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}
.photo-row img { margin: 0; aspect-ratio: 4/3; object-fit: cover; width: 100%; }

/* Responsive video embed (16:9) */
.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: 1.75rem 0;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ============================================================
   TABLE (fleet)
   ============================================================ */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1.5rem 0;
}
.page-content table th {
  background: var(--blue-dark);
  color: #fff;
  padding: 0.7rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.page-content table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}
.page-content table tr:last-child td { border-bottom: none; }
.page-content table tr:nth-child(even) td { background: var(--bg-light); }
.page-content table td:first-child { font-weight: 600; color: var(--text); }
/* Groepskoppen: rijen met lege tweede cel (bijv. "Inschrijfgeld | |") */
.page-content table tr:has(td:last-child:empty) td {
  background: #eef3f9;
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  border-bottom: 1px solid var(--border);
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
}

/* ============================================================
   SECTION LIST (child page cards)
   ============================================================ */
.child-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.child-page-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border-left: 4px solid var(--blue);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  display: block;
}
.child-page-card:hover {
  border-color: var(--red);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  text-decoration: none;
}
.child-page-card h3 { color: var(--blue-dark); margin-bottom: 0.4rem; font-size: 1.05rem; }
.child-page-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0 0 0.75rem; }
.child-page-card .read-more { font-size: 0.85rem; color: var(--blue); font-weight: 600; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 0.5rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 18px; height: 18px; }
.contact-detail-text strong { display: block; font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.15rem; }
.contact-detail-text p, .contact-detail-text a { color: var(--text); margin: 0; }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.map-embed iframe { display: block; width: 100%; height: 300px; border: none; }
.notice-box {
  background: #fff8e1;
  border: 1px solid #f9c74f;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.9);
  padding: 3.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand .logo img { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-brand p { font-size: 0.875rem; line-height: 1.6; max-width: 280px; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.9);
  transition: background var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--blue); color: #fff; text-decoration: none; }
.footer-nav h4, .footer-contact h4 {
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}
.footer-nav ul { list-style: none; padding: 0; }
.footer-nav ul li { margin-bottom: 0.45rem; }
.footer-nav ul a { color: rgba(255,255,255,0.7); font-size: 0.875rem; transition: color var(--transition); }
.footer-nav ul a:hover { color: #fff; text-decoration: none; }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.6rem; line-height: 1.5; }
.footer-contact a { color: rgba(255,255,255,0.75); }
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.78rem;
  opacity: 0.55;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Prevent body scroll when mobile nav is open */
body.nav-open { overflow: hidden; }

@media (max-width: 960px) {
  .sport-teaser-content { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  /* Op kleinere schermen worden wide-foto's gewoon 1 cel breed.
     Daardoor blijven het simpel cellen die altijd opvullen, ongeacht
     het aantal kolommen, en zijn er geen lege zwarte vakken meer. */
  .photo-strip .photo-wide {
    grid-column: span 1;
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 600px) {
  .photo-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }

  /* Mobile nav — dark slide-in panel */
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    padding: 1rem 1.5rem 2rem;
    overflow-y: auto;
    z-index: 99;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a {
    padding: 0.9rem 1rem;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
  }
  .main-nav > ul > li > a:hover { color: #fff; background: rgba(255,255,255,0.08); }
  .main-nav .dropdown {
    position: static;
    display: block;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.25);
    border-radius: var(--radius);
    border-top: none;
    margin: 0.25rem 0 0.5rem 1rem;
  }
  .main-nav .dropdown li a {
    color: rgba(255,255,255,0.75);
    border-left: none;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
  }
  .main-nav .dropdown li a:hover { background: rgba(255,255,255,0.1); color: #fff; }

  .hero { padding: 4rem 0 3.5rem; background-attachment: scroll; }
  .cards-grid { grid-template-columns: 1fr; }
  .photo-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   VLIEGDAGEN PAGE
   ============================================================ */
.flights-page { padding: 3rem 0 4rem; }
.flights-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Intro paragraph above the date picker */
.flights-intro {
  margin-bottom: 2.5rem;
  color: var(--text);
  line-height: 1.6;
}
.flights-intro p:last-child { margin-bottom: 0; }

/* ── Vluchten tabs (FLARM + Startplank) ───────────────────────────── */
.vluchten-tab-input { position: absolute; opacity: 0; pointer-events: none; }

.vluchten-tab-labels {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid var(--border);
}
.vluchten-tab-labels label {
  padding: 0.65rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}
.vluchten-tab-labels label:hover {
  color: var(--blue);
}

/* Active tab styling */
#vluchten-tab-live:checked ~ .vluchten-tabs .vluchten-tab-labels label[for="vluchten-tab-live"],
#vluchten-tab-startplank:checked ~ .vluchten-tabs .vluchten-tab-labels label[for="vluchten-tab-startplank"],
#vluchten-tab-flarm:checked ~ .vluchten-tabs .vluchten-tab-labels label[for="vluchten-tab-flarm"],
#vluchten-tab-kaart:checked ~ .vluchten-tabs .vluchten-tab-labels label[for="vluchten-tab-kaart"] {
  color: var(--blue-dark);
  border-bottom-color: var(--blue);
}

/* Tab panels: hidden by default, show active one */
.vluchten-tab-panel { display: none; }
#vluchten-tab-live:checked ~ .vluchten-tabs #vluchten-panel-live,
#vluchten-tab-startplank:checked ~ .vluchten-tabs #vluchten-panel-startplank,
#vluchten-tab-flarm:checked ~ .vluchten-tabs #vluchten-panel-flarm,
#vluchten-tab-kaart:checked ~ .vluchten-tabs #vluchten-panel-kaart {
  display: block;
}

/* Live kaart (Glide & Seek iframe) */
.kaart-club-aircraft {
  background: var(--bg-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.kaart-club-aircraft strong { color: var(--text); }
.kaart-iframe-wrap {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-light);
}
.kaart-iframe-wrap iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
}
@media (max-width: 768px) {
  .kaart-iframe-wrap iframe { height: 480px; }
}
.kaart-fallback {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

/* Section titles within Live panel (Wachtlijst / In de lucht / Net geland) */
.vluchten-section-title {
  margin: 2rem 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--blue-dark);
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}
.vluchten-section-title:first-of-type { margin-top: 0.5rem; }
.flights-section-empty {
  margin: 0.5rem 0 1rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Incident-melden call-to-action */
.incident-cta {
  background: var(--bg-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: 1.5rem 1.75rem;
  margin: 1.75rem 0;
  text-align: center;
}
.incident-cta .btn {
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
}
.incident-cta-sub {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: monospace;
}

/* Photo lightbox / modal */
.photo-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  animation: lightbox-fade-in 0.2s ease-out;
}
.photo-lightbox.is-open { display: flex; }

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.photo-lightbox-content {
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.photo-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}
.photo-lightbox-caption {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  margin: 0;
  text-align: center;
  max-width: 95vw;
}

.photo-lightbox-close,
.photo-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, transform 0.15s;
}
.photo-lightbox-close:hover,
.photo-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.05);
}
.photo-lightbox-close { top: 1.25rem; right: 1.25rem; font-size: 2rem; }
.photo-lightbox-prev  { top: 50%; left: 1.25rem;  transform: translateY(-50%); }
.photo-lightbox-next  { top: 50%; right: 1.25rem; transform: translateY(-50%); }
.photo-lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.photo-lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 600px) {
  .photo-lightbox-close { width: 40px; height: 40px; font-size: 1.6rem; top: 0.75rem; right: 0.75rem; }
  .photo-lightbox-nav   { width: 40px; height: 40px; font-size: 1.4rem; }
  .photo-lightbox-prev  { left: 0.5rem; }
  .photo-lightbox-next  { right: 0.5rem; }
}

/* Club-badge (bv. DSA voor zusterclub-toestellen) */
.club-badge {
  display: inline-block;
  padding: 0.05rem 0.4rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  vertical-align: middle;
  line-height: 1.4;
}
.club-badge--dsa {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
}

/* DSA-toggle bovenaan de Vluchten-pagina */
.dsa-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.95rem;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
  margin: 0 0 1.5rem;
  user-select: none;
  transition: border-color 0.15s, background 0.15s;
}
.dsa-toggle:hover { border-color: var(--blue); }
.dsa-toggle input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  cursor: pointer;
  accent-color: var(--blue);
}

/* Filter bar (Startplank: per dag) */
.flights-filter-bar {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  margin: 0 0 1.5rem;
  flex-wrap: wrap;
}
.flights-filter-bar label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.flights-filter-bar select {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text);
  min-width: 200px;
  cursor: pointer;
}
.flights-filter-bar select:focus {
  outline: none;
  border-color: var(--blue);
}

/* Approx/unknown FLARM time markers */
.time-approx {
  color: #b07a17;
  cursor: help;
  border-bottom: 1px dotted #b07a17;
}
.time-unknown {
  color: var(--text-muted);
  font-style: italic;
  cursor: help;
  font-size: 0.88rem;
}
.flights-legend {
  margin: 1rem 0 1.5rem;
  padding: 0.6rem 0.85rem;
  background: var(--bg-light);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.flights-legend .time-approx,
.flights-legend .time-unknown {
  margin: 0 0.2rem;
  cursor: default;
}

/* Source attribution above each tab's date picker */
.vluchten-tab-source {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 1.25rem;
  font-style: italic;
}
.vluchten-tab-source a { color: var(--blue); }

/* Date picker bar */
.date-picker-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.date-picker-bar label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.date-picker-bar input[type="date"] {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.85rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  cursor: pointer;
  transition: border-color var(--transition);
}
.date-picker-bar input[type="date"]:focus {
  outline: none;
  border-color: var(--blue);
}
.day-nav {
  background: var(--bg-light);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition);
  color: var(--text);
}
.day-nav:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Flights table */
.flights-table-wrap { overflow-x: auto; }
.flights-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 0;
}
.flights-table th {
  background: var(--blue-dark);
  color: #fff;
  padding: 0.7rem 0.7rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  white-space: nowrap;
}
.flights-table td {
  padding: 0.65rem 0.7rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
/* Pas namen + lange teksten mogen wrappen, tijden niet */
.flights-table td:nth-child(1),
.flights-table td:nth-child(2),
.flights-table td:nth-child(3),
.flights-table td:nth-child(4) {
  white-space: normal;
  word-break: break-word;
}
.flights-table td:first-child { color: var(--text); font-weight: 600; }
.flights-table tr:last-child td { border-bottom: none; }
.flights-table tr:nth-child(even) td { background: var(--bg-light); }
.flights-table tr:hover td { background: #eef4fb; }

/* Status badges */
.flight-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}
.flight-badge--air    { background: #d1fae5; color: #065f46; }
.flight-badge--landed { background: var(--bg-light); color: var(--text-muted); }

/* Summary line */
.flights-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.flights-summary strong { color: var(--text); }

/* States */
.flights-loading,
.flights-empty,
.flights-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  gap: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}
.flights-empty svg { opacity: 0.25; margin-bottom: 0.5rem; }
.flights-empty-sub { font-size: 0.875rem; opacity: 0.7; }
.flights-error { background: #fff8e1; border-radius: var(--radius-lg); }

/* Loading spinner */
.spinner {
  width: 32px; height: 32px;
  border: 3px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Totals section title */
.flights-totals-title {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1rem;
  color: var(--blue-dark);
  font-weight: 600;
  border-top: 2px solid var(--bg-light);
  padding-top: 1.5rem;
}

/* Source note */
.flights-source {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  opacity: 0.7;
}

/* ============================================================
   STARTLIJST ADDITIONS
   ============================================================ */

/* Live indicator badge */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #065f46;
  background: #d1fae5;
  border-radius: 50px;
  padding: 0.2rem 0.75rem;
}
.live-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  animation: live-pulse 1.4s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* Pilot status badges */
.pilot-badge {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  vertical-align: middle;
  white-space: nowrap;
}
.status-instructeur  { background: #dbeafe; color: #1e40af; }
.status-linstructeur { background: #e0e7ff; color: #3730a3; }
.status-solo         { background: #d1fae5; color: #065f46; }
.status-zvb          { background: #f3f4f6; color: #374151; }
.status-leerling     { background: #fef3c7; color: #92400e; }
.status-dbo          { background: #fce7f3; color: #9d174d; }
.status-other        { background: var(--bg-light); color: var(--text-muted); }

/* ZC Flevo aircraft row highlight */
.flights-table tr.flight-row--club td         { background: #eff6ff; }
.flights-table tr.flight-row--club:hover td   { background: #dbeafe; }

/* ZC Flevo legend chip in summary line */
.flight-row-legend {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 2px;
  vertical-align: middle;
  margin: 0 0.1rem;
}

/* Muted helper used in table cells */
.text-muted {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ============================================================
   VRIJDAG VLIEGEN PAGE — Layout & styling
   ============================================================ */
/* Hero banner with photo background */
.vrijdag-hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  margin: 0.5rem 0 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background-image:
    linear-gradient(rgba(5, 107, 179, 0.55), rgba(26, 58, 92, 0.65)),
    url('/images/hoogvliegers-sfeer.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
}

/* Slogan — hero tagline on top of photo */
.vrijdag-slogan {
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin: 0;
  line-height: 1.2;
  font-style: italic;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

@media (max-width: 600px) {
  .vrijdag-hero {
    min-height: 200px;
    padding: 2rem 1rem;
  }
  .vrijdag-slogan {
    font-size: 1.6rem;
  }
}

/* Section spacing — clean structure without horizontal lines */
.page-content h2 {
  margin-top: 2.5rem;
  color: var(--blue-dark);
}

.page-content h2:first-of-type {
  margin-top: 2rem;
}

.page-content h3 {
  margin-top: 1.75rem;
  color: var(--text);
}

/* Ko Piloot logo - clean, centered, no effects */
.page-content img[src*="ko-piloot"] {
  box-shadow: none;
  border: none;
  border-radius: 0;
  max-width: 420px;
  width: 100%;
  margin: 1.5rem auto;
  display: block;
}

/* Hoogvliegers sfeer photo - wide banner at bottom */
.page-content img[src*="hoogvliegers-sfeer"] {
  width: 100%;
  margin: 2.5rem 0 1rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

/* Vrijdag Vliegen details grid - same style as contact */
.vrijdag-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0;
}

.vrijdag-details .contact-detail {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .vrijdag-details {
    grid-template-columns: 1fr;
  }
}

/* Vrijdag Vliegen details table */
.page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-content table td {
  padding: 0.9rem 1.2rem;
  border-bottom: 1px solid #e8e8e8;
  vertical-align: top;
}

.page-content table tr:last-child td {
  border-bottom: none;
}

.page-content table td:first-child {
  width: 38%;
  color: var(--blue-dark);
  white-space: nowrap;
}

.page-content table thead {
  display: none;
}

@media (max-width: 600px) {
  .page-content table td:first-child {
    width: 100%;
    display: block;
    padding-bottom: 0;
    border-bottom: none;
  }
  .page-content table td:last-child {
    display: block;
    padding-top: 0.3rem;
  }
}

/* ============================================================
   FORM STYLES — Vrijdag Vliegen inschrijving
   ============================================================ */
.vrijdag-form {
  max-width: 600px;
  margin: 2.5rem 0;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--blue);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 1.75rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(5, 107, 179, 0.1);
}

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

.vrijdag-form .btn-primary {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: var(--red);
  color: white;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.vrijdag-form .btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.vrijdag-form .btn-primary:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  h1 { font-size: 1.75rem; }
  .stat-number { font-size: 1.9rem; }
  .cost-banner-items { gap: 0.6rem; }
  .cost-item { min-width: 110px; padding: 0.75rem 1rem; }
  .cost-item-amount { font-size: 1.5rem; }
  .photo-strip { grid-template-columns: 1fr 1fr; }
  /* Op extra-smalle schermen blijven wide-foto's gewoon 1 cel
     (zelfde regel als hierboven), zodat er geen lege gaten ontstaan. */
  .photo-strip .photo-wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .leden-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 280px; text-align: center; }
}
