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

:root {
  --red: #cc0000;
  --dark: #111111;
  --darker: #0a0a0a;
  --light: #f5f5f5;
  --grey: #888888;
  --white: #ffffff;
  --font: 'Segoe UI', Arial, sans-serif;
}

body {
  font-family: var(--font);
  background: var(--darker);
  color: var(--white);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--red);
  padding: 6px 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}
.topbar a { color: var(--white); display: flex; align-items: center; gap: 5px; }
.topbar a:hover { opacity: 0.8; }
.topbar .social-icons { display: flex; gap: 12px; }
.topbar .contact-info { display: flex; gap: 20px; margin-right: 20px; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--dark);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.logo {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--white);
  padding: 16px 0;
  text-transform: uppercase;
}
.logo span { color: var(--red); }

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
}
nav ul li a {
  display: block;
  padding: 20px 14px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ccc;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 3px solid transparent;
}
nav ul li a:hover,
nav ul li a.active {
  color: var(--white);
  border-bottom: 3px solid var(--red);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 520px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d0000 50%, #111 100%);
  display: flex;
  align-items: center;
  padding: 60px 40px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><path d="M0 60L60 0" stroke="%23cc000015" stroke-width="1"/></svg>');
}
.hero-content { position: relative; z-index: 1; max-width: 600px; }
.hero-content h1 {
  font-size: 56px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 3px;
}
.hero-content h1 span { color: var(--red); }
.hero-content p { font-size: 18px; color: #bbb; margin-bottom: 30px; max-width: 480px; }
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: #aa0000; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--red);
  color: var(--red);
  margin-left: 12px;
}
.btn-outline:hover { background: var(--red); color: var(--white); }

/* ===== SECTION BASE ===== */
section { padding: 70px 40px; }
.section-title {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}
.section-title span { color: var(--red); }
.section-subtitle {
  color: var(--grey);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
}
.divider {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin-bottom: 40px;
}

/* ===== ABOUT SECTION (home) ===== */
.about-home {
  background: var(--dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-home-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 30px; }
.about-home-stats div { border-left: 3px solid var(--red); background: var(--darker); padding: 12px 14px; }
.about-home-stats strong { display: block; font-size: 26px; font-weight: 900; color: var(--white); line-height: 1.1; }
.about-home-stats span { display: block; margin-top: 4px; font-size: 11px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.about-home-media { position: relative; padding: 0 0 40px 40px; }
.about-home-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.about-home-media::before { content: ''; position: absolute; top: -14px; right: -14px; width: 40%; height: 40%; border-top: 4px solid var(--red); border-right: 4px solid var(--red); pointer-events: none; }
.about-home-portrait {
  position: absolute; left: 0; bottom: 0;
  width: 34%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  background: var(--darker); border: 4px solid var(--dark); outline: 2px solid var(--red);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
@media (max-width: 600px) {
  .about-home-stats { grid-template-columns: 1fr 1fr; }
  .about-home-stats div:last-child { grid-column: 1 / -1; }
  .about-home-media { padding: 0 0 30px 24px; }
  .about-home-media::before { top: -10px; right: -6px; }
}
.about-home p { color: #bbb; margin-bottom: 16px; font-size: 15px; }

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.card {
  background: var(--dark);
  border: 1px solid #222;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-5px); border-color: var(--red); }
.card-img {
  width: 100%;
  height: 200px;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-img--product { background: #fff; }
.card-img--product img { object-fit: contain; padding: 12px; }
.card-body { padding: 20px; }
.card-body h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.card-body p { color: #999; font-size: 14px; margin-bottom: 14px; }
.card-body .tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.card-date { color: var(--grey); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

/* ===== NEWS ===== */
.news-list { display: flex; flex-direction: column; gap: 24px; }
.news-item {
  background: var(--dark);
  border-left: 4px solid var(--red);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  transition: background 0.2s;
}
.news-item:hover { background: #1a1a1a; }
.news-item-date {
  font-size: 13px;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.news-item p { color: #999; font-size: 14px; }
.news-item.has-img { grid-template-columns: 200px 1fr; gap: 28px; }
.news-item.has-img .news-item-date { margin-bottom: 8px; }
.news-item-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
a.news-item, a.card, a.news-featured { color: inherit; text-decoration: none; }

/* Nieuwste bericht groot bovenaan */
.news-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--dark);
  border: 1px solid #222;
  margin-bottom: 28px;
  transition: border-color 0.2s;
}
.news-featured:hover { border-color: var(--red); }
.news-featured-img { position: relative; min-height: 340px; background: #1e1e1e; overflow: hidden; }
.news-featured-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.news-featured:hover .news-featured-img img { transform: scale(1.03); }
.news-featured-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.news-featured-body h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 900; line-height: 1.2; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.news-featured-body p { color: #aaa; font-size: 15px; margin-bottom: 18px; }
.news-featured .tag,
.article-meta .tag {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  padding: 3px 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* Kaarten met foto */
.news-card { display: flex; flex-direction: column; }
.news-card .card-img { position: relative; overflow: hidden; }
.news-card .card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.news-card:hover .card-img img { transform: scale(1.04); }
.news-card .card-body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.news-card .card-body p { flex: 1; }
.news-noimg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1e1e1e 0%, #2d0000 100%);
  color: rgba(255,255,255,0.25);
  font-size: 22px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase;
}
.news-featured-img .news-noimg { position: absolute; inset: 0; font-size: 34px; }
.news-more { color: var(--red); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.news-archive-title { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--grey); margin: 60px 0 20px; }

/* Artikelpagina: titel, datum, grote foto en tekst met foto's ertussen */
.article-wrap { padding-top: 50px; }
.article { max-width: 880px; margin: 0 auto; }
.article .breadcrumb { margin-bottom: 18px; }
.article-title {
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}
.article-meta {
  list-style: none;
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 0;
  color: var(--grey); font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
  padding-bottom: 24px; margin-bottom: 30px; border-bottom: 1px solid #222;
}
.article-meta li + li::before { content: '·'; margin: 0 12px; color: var(--red); font-weight: 700; }
.article-meta .tag { margin-bottom: 0; }
.article-photo { margin: 34px 0; }
.article-photo:first-child { margin-top: 0; }
.article-photo button { display: block; width: 100%; padding: 0; border: none; background: #1a1a1a; cursor: zoom-in; overflow: hidden; }
.article-photo img { display: block; width: 100%; height: auto; transition: transform 0.4s, opacity 0.2s; }
.article-photo button:hover img { opacity: 0.92; }
.article-photo figcaption { color: var(--grey); font-size: 13px; margin-top: 10px; border-left: 3px solid var(--red); padding-left: 10px; }
.article-lead { font-size: 20px; line-height: 1.6; color: #ddd; font-weight: 600; margin-bottom: 22px; }
.article-body p { color: #bbb; font-size: 17px; line-height: 1.8; margin-bottom: 20px; }
.article-body p.article-lead { color: #ddd; font-size: 20px; }
.article-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; padding-top: 28px; border-top: 1px solid #222; }
.article-more { background: var(--dark); }
.article-more .card { background: var(--darker); }
.lightbox .lb-btn[hidden] { display: none; }

@media (max-width: 900px) {
  .news-featured { grid-template-columns: 1fr; }
  .news-featured-img { min-height: 240px; }
  .news-featured-body { padding: 24px; }
}
@media (max-width: 600px) {
  .article-wrap { padding-top: 30px; }
  .article-body p { font-size: 16px; }
  .article-body p.article-lead { font-size: 18px; }
  .article-photo { margin: 24px -20px; }
  .article-photo figcaption { margin-left: 20px; margin-right: 20px; }
}

/* ===== PARTNERS ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.partner-card {
  background: var(--dark);
  border: 1px solid #222;
  padding: 30px 20px;
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: border-color 0.2s, color 0.2s;
  cursor: default;
}
.partner-card:hover { border-color: var(--red); color: var(--red); }

/* ===== CALENDAR ===== */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.cal-item {
  background: var(--dark);
  border: 1px solid #222;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: border-color 0.2s;
}
.cal-item:hover { border-color: var(--red); }
.cal-date-box {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 10px 16px;
  min-width: 60px;
  flex-shrink: 0;
}
.cal-date-box .day { font-size: 28px; font-weight: 900; line-height: 1; }
.cal-date-box .month { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.cal-info h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.cal-info p { color: #999; font-size: 13px; }
.cal-info .location { color: var(--red); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* ===== ABOUT PAGE ===== */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.about-sidebar { position: sticky; top: 100px; }
.about-photo { width: 100%; height: 520px; object-fit: cover; object-position: center top; display: block; margin-bottom: 24px; }
.stat-box {
  background: var(--dark);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  margin-bottom: 16px;
}
.stat-box .stat-num { font-size: 36px; font-weight: 900; color: var(--red); }
.stat-box .stat-label { font-size: 12px; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.timeline { list-style: none; position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--red); }
.timeline li { position: relative; margin-bottom: 28px; }
.timeline li::before { content: ''; position: absolute; left: -34px; top: 6px; width: 10px; height: 10px; background: var(--red); border-radius: 50%; }
.timeline li .year { font-size: 12px; color: var(--red); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.timeline li p { color: #bbb; font-size: 14px; }

/* ===== ALBUM ===== */
.album-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.album-back {
  color: #ccc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.album-back:hover { color: var(--red); }
.album-count { color: var(--grey); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Kaarten voor jaren en evenementen */
.album-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.album-card {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #1a1a1a;
  border-radius: 6px;
}
.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.album-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.15) 55%, rgba(0,0,0,0) 100%);
}
.album-card:hover img { transform: scale(1.05); }
.album-card-meta {
  position: absolute;
  left: 20px; right: 20px; bottom: 18px;
  z-index: 1;
}
.album-card-title {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.2;
}
.album-card--year .album-card-title { font-size: 44px; letter-spacing: 3px; }
.album-card-sub {
  display: inline-block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ddd;
}
.album-card:hover .album-card-sub { color: var(--red); }

/* Fotoraster */
.album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px;
}
.album-item {
  aspect-ratio: 3/2;
  background: #1a1a1a;
  overflow: hidden;
  cursor: zoom-in;
  border: none;
  padding: 0;
}
.album-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s, opacity 0.3s;
}
.album-item:hover img { transform: scale(1.04); opacity: 0.85; }
.album-item:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.album-empty { color: var(--grey); padding: 40px 0; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 999;
  align-items: center;
  justify-content: center;
  user-select: none;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}
.lb-btn {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb-btn:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; font-size: 24px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-caption {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  text-align: center;
  font-size: 13px;
  color: #bbb;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.lb-spinner {
  position: absolute;
  width: 40px; height: 40px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: lb-spin 0.8s linear infinite;
}
.lightbox.loaded .lb-spinner { display: none; }
@keyframes lb-spin { to { transform: rotate(360deg); } }

@media (max-width: 600px) {
  .album-cards { grid-template-columns: 1fr; }
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .lightbox img { max-width: 100vw; max-height: calc(100vh - 140px); }
  .lb-prev, .lb-next { top: auto; bottom: 50px; transform: none; }
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info-item { display: flex; gap: 16px; margin-bottom: 28px; align-items: flex-start; }
.contact-icon {
  width: 48px; height: 48px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 13px; color: var(--grey); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.contact-info-item p { font-size: 15px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea,
.contact-form select {
  background: #1a1a1a;
  border: 1px solid #333;
  color: var(--white);
  padding: 14px 16px;
  font-family: var(--font);
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
}
.contact-form textarea { height: 140px; resize: vertical; }
.contact-form button:disabled { opacity: 0.6; cursor: wait; transform: none; }
.contact-form .hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { font-size: 14px; min-height: 1.4em; margin: 0; }
.form-status.ok { color: #4caf50; }
.form-status.error { color: var(--red); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.social-link {
  display: flex; align-items: center; gap: 8px;
  background: #1a1a1a;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #333;
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--red); color: var(--red); }
.social-link svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ===== BRNT GIN PAGE ===== */
.gin-hero {
  background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 50%, #111 100%);
  padding: 80px 40px;
  text-align: center;
}
.gin-hero h1 { font-size: 64px; font-weight: 900; letter-spacing: 6px; }
.gin-hero h1 span { color: #d4a03a; }
.gin-hero p { font-size: 18px; color: #bbb; max-width: 600px; margin: 20px auto 30px; }
.gin-price {
  font-size: 32px;
  font-weight: 900;
  color: #d4a03a;
  margin: 20px 0;
}
.gin-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 60px 40px;
  background: var(--dark);
}
.gin-feature {
  text-align: center;
  padding: 30px 20px;
  border: 1px solid #2a2a1a;
}
.gin-feature .icon { font-size: 40px; margin-bottom: 16px; }
.gin-feature h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px; }
.gin-feature p { color: #999; font-size: 14px; }

/* Verhaal + fles */
.gin-story { display: grid; grid-template-columns: minmax(0, 420px) 1fr; gap: 60px; align-items: center; max-width: 1100px; margin: 0 auto; }
.gin-story-img { position: relative; display: flex; justify-content: center; padding: 20px 0 40px; }
.gin-story-img::before {
  content: ''; position: absolute; left: 50%; top: 50%; width: 110%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(204, 0, 0, 0.35) 0%, rgba(204, 0, 0, 0.12) 40%, transparent 70%);
  pointer-events: none;
}
.gin-story-img::after {
  content: ''; position: absolute; left: 50%; bottom: 28px; width: 60%; height: 28px; transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.8) 0%, transparent 70%);
  pointer-events: none;
}
.gin-story-img img { position: relative; z-index: 1; width: auto; max-width: 100%; max-height: 560px; height: auto; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6)); }
.gin-story p { color: #bbb; font-size: 16px; margin-bottom: 16px; }
.gin-serve { border-left: 4px solid var(--red); background: var(--dark); padding: 18px 22px; margin: 26px 0; }
.gin-serve h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--red); margin-bottom: 10px; }
.gin-serve ul { list-style: none; color: #ddd; font-size: 15px; display: grid; gap: 4px; }
.gin-serve li::before { content: '›'; color: var(--red); font-weight: 700; margin-right: 10px; }
.gin-story .hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gin-price { font-size: 30px; font-weight: 900; color: var(--red); }
@media (max-width: 800px) {
  .gin-story { grid-template-columns: 1fr; gap: 32px; }
  .gin-story-img { max-width: 320px; margin: 0 auto; }
  .gin-story-img img { max-height: 420px; }
}

/* ===== FOOTER ===== */
footer {
  background: #050505;
  border-top: 3px solid var(--red);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 50px 40px;
}
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { width: 260px; max-width: 100%; height: auto; }
.footer-address { color: #666; font-size: 14px; line-height: 1.6; margin-top: 12px; }
.footer-brand p { color: #666; font-size: 14px; line-height: 1.7; }
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--white);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--red);
  padding-bottom: 8px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: #666; font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--red); }
.footer-bottom {
  border-top: 1px solid #1a1a1a;
  padding: 18px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #444;
}
.footer-bottom a { color: #666; }
.footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
@media (max-width: 600px) { .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; } }

/* ===== PRIVACY & COOKIES ===== */
.legal h2 { font-size: 20px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin: 38px 0 12px; padding-left: 12px; border-left: 4px solid var(--red); }
.legal p { color: #bbb; font-size: 16px; line-height: 1.8; margin-bottom: 16px; }
.legal p.article-lead { color: #ddd; font-size: 19px; }
.legal-updated { margin-top: 40px; font-size: 13px !important; color: #666 !important; }
.footer-bottom a:hover { color: var(--red); }

/* ===== PAGE HERO (sub pages) ===== */
.page-hero {
  background: linear-gradient(to right, #1a1a1a, #2d0000);
  padding: 60px 40px;
  border-bottom: 3px solid var(--red);
}
.page-hero h1 { font-size: 42px; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; }
.page-hero h1 span { color: var(--red); }
.breadcrumb { font-size: 13px; color: #666; margin-bottom: 12px; }
.breadcrumb a { color: #999; }
.breadcrumb a:hover { color: var(--red); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-home, .about-page-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-sidebar { position: static; }
  .about-photo { height: auto; max-width: 420px; margin: 0 auto 24px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-content h1 { font-size: 38px; }
  nav ul { gap: 0; }
  nav ul li a { padding: 20px 10px; font-size: 12px; }
}
@media (max-width: 600px) {
  header { padding: 0 16px; }
  section { padding: 50px 20px; }
  .hero { padding: 40px 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .news-item, .news-item.has-img { grid-template-columns: 1fr; }
}

/* ===== LOGO'S IN HEADER ===== */
.logo-pair {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 10px 24px 10px 0;
}
.logo-pair img { height: 54px; width: auto; max-width: none; }
@media (max-width: 1100px) {
  .logo-pair img { height: 40px; }
}
@media (max-width: 600px) {
  .logo-pair img { height: 36px; }
}

/* ===== MENU OP KLEINE SCHERMEN ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 11px 9px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s, opacity 0.2s;
}
header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (max-width: 1220px) {
  header { flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  nav { display: none; width: 100%; }
  header.nav-open nav { display: block; }
  nav ul { flex-direction: column; gap: 0; padding-bottom: 12px; }
  nav ul li a {
    padding: 13px 4px;
    font-size: 14px;
    border-bottom: 1px solid #222;
    border-left: 3px solid transparent;
  }
  nav ul li:last-child a { border-bottom: none; }
  nav ul li a:hover,
  nav ul li a.active {
    border-bottom: 1px solid #222;
    border-left-color: var(--red);
    padding-left: 12px;
  }
}

@media (max-width: 600px) {
  .topbar {
    padding: 6px 16px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    font-size: 12px;
  }
  .topbar .contact-info { margin-right: 0; gap: 4px 16px; flex-wrap: wrap; justify-content: center; }
}

/* ===== HERO MET FOTO (album) ===== */
.page-hero.photo-hero {
  position: relative;
  min-height: min(46vh, 440px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px 40px 40px;
  background-color: var(--dark);
  background-size: cover;
  background-position: var(--hero-pos, center 40%); /* --hero-pos zet de admin per pagina */
  border-bottom: none;
  overflow: hidden;
  transition: background-image 0.3s;
}
.photo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,10,0) 55%, var(--darker) 100%),
    linear-gradient(90deg, rgba(204,0,0,0.85) 0%, rgba(204,0,0,0.45) 30%, rgba(204,0,0,0) 60%),
    rgba(0,0,0,0.15);
}
.photo-hero > * { position: relative; z-index: 1; }
.photo-hero .breadcrumb,
.photo-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.photo-hero .breadcrumb a:hover { color: var(--white); text-decoration: underline; }
.photo-hero h1 {
  font-size: clamp(36px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 2px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.35);
  max-width: 14ch;
}
.photo-hero h1 span { color: var(--white); }

@media (max-width: 600px) {
  .page-hero.photo-hero { min-height: 300px; padding: 40px 16px 32px; }
}

/* ===== TRANSPARANTE HEADER (over een foto-hero) ===== */
header.header-transparent {
  background: rgba(10,10,10,0.55);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: rgba(255,255,255,0.08);
  transition: background-color 0.3s, border-color 0.3s;
}
header.header-transparent nav ul li a { color: var(--white); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
header.header-transparent.scrolled,
header.header-transparent.nav-open {
  background: var(--dark);
  border-bottom-color: var(--red);
}
header.header-transparent.scrolled nav ul li a { text-shadow: none; }

/* ===== KALENDER ===== */
.hero-sub {
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
}
.cal-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.cal-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 6px 36px;
  margin-bottom: 30px;
}
.cal-back {
  background: none; border: none; padding: 0; margin-bottom: 18px; cursor: pointer;
  color: var(--grey); font: inherit; font-size: 13px; letter-spacing: 2px; text-transform: uppercase;
}
.cal-back:hover { color: var(--white); }
.cal-archive {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px;
  margin-top: 50px; padding-top: 20px; border-top: 1px solid #222;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #555;
}
.cal-archive button {
  background: none; border: none; padding: 0; cursor: pointer;
  color: var(--grey); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.cal-archive button:hover { color: var(--white); }
.cal-spotlight-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cal-stat strong { display: block; font-size: 34px; font-weight: 900; line-height: 1; }
.cal-stat span { font-size: 11px; color: var(--grey); text-transform: uppercase; letter-spacing: 2px; }
.cal-progress { grid-column: 1 / -1; height: 4px; background: #222; margin-top: 12px; border-radius: 2px; overflow: hidden; }
.cal-progress div { height: 100%; background: var(--red); }

.badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
}
.badge-muted { background: #2a2a2a; color: #aaa; }
.badge-champ { background: rgba(0,0,0,0.45); color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.35); }
.badge + .badge-champ { margin-left: 8px; }
.badge-live { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse { 50% { box-shadow: 0 0 0 6px rgba(204,0,0,0.25); } }

/* Uitgelichte balk: volgende race of einde seizoen */
.cal-spotlight {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  padding: 44px 40px;
  margin-bottom: 40px;
  background: #1a1a1a center / cover;
  overflow: hidden;
  isolation: isolate;
}
.cal-spotlight::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.75) 50%, rgba(204,0,0,0.55) 100%);
}
.cal-spotlight--done {
  background: linear-gradient(120deg, #1a1a1a 0%, #1a1a1a 55%, #3a0000 100%);
  border-left: 4px solid var(--red);
}
.cal-spotlight--done::before { display: none; }
.cal-spotlight h3 { font-size: 32px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; margin: 14px 0 8px; }
.cal-spotlight p { color: #ccc; display: flex; align-items: center; flex-wrap: wrap; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: rgba(0,0,0,0.5); border: 1px solid rgba(255,255,255,0.12); min-width: 84px; padding: 14px 10px; text-align: center; }
.countdown strong { display: block; font-size: 36px; font-weight: 900; line-height: 1; }
.countdown span { font-size: 11px; color: #aaa; text-transform: uppercase; letter-spacing: 2px; }

/* Racekaarten */
.cal-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 22px;
}
.race-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 440px;
  padding: 24px;
  overflow: hidden;
  isolation: isolate;
  background: #141414;
  border: 1px solid #222;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.race-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.55); border-color: #3a3a3a; }

/* Achtergrond: foto uit het album, of racing-strepen als er (nog) geen foto is */
.race-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s, filter 0.4s;
}
.race-card:hover .race-bg { transform: scale(1.07); }
.photo-credit { position: absolute; right: 10px; bottom: 6px; font-size: 10px; color: rgba(255,255,255,0.45); letter-spacing: 0.5px; pointer-events: none; }
.race-card.is-past .race-bg { filter: grayscale(0.7) brightness(0.8); }
.race-card.is-past:hover .race-bg { filter: none; }
.race-bg.no-photo {
  background:
    repeating-linear-gradient(115deg, transparent 0 38px, rgba(204,0,0,0.12) 38px 40px),
    radial-gradient(circle at 85% 15%, rgba(204,0,0,0.45), transparent 55%),
    linear-gradient(160deg, #1d1d1d, #0d0d0d);
}
.race-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.7) 38%, rgba(8,8,8,0.05) 70%, rgba(8,8,8,0.45) 100%);
}

/* Bovenaan: datum en rondenummer */
.race-top { display: flex; justify-content: space-between; align-items: flex-start; }
.race-date {
  background: var(--red);
  padding: 10px 14px 9px;
  text-align: center;
  min-width: 92px;
  box-shadow: 0 6px 18px rgba(204,0,0,0.35);
}
.race-date strong { display: block; font-size: 26px; font-weight: 900; line-height: 1; letter-spacing: 1px; }
.race-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; }
.race-card.is-past .race-date { background: rgba(20,20,20,0.85); box-shadow: none; border: 1px solid #333; }
.race-card.is-past .race-date span { color: var(--red); }
.race-round {
  font-size: 64px;
  font-weight: 900;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.75);
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

/* Onderaan: status, naam, plaats, knoppen */
.race-bottom h3 {
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 12px 0 10px;
}
.race-place { display: flex; align-items: center; color: #ccc; font-size: 14px; }
.race-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.race-btn {
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.35);
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s;
}
.race-btn:hover { background: var(--red); border-color: var(--red); }
.race-btn.primary { background: var(--red); border-color: var(--red); }
.race-btn.primary:hover { background: #e00000; }

/* Volgende race / nu bezig: rode rand */
.race-card.is-next, .race-card.is-live { border-color: var(--red); box-shadow: 0 0 0 1px var(--red), 0 18px 40px rgba(204,0,0,0.18); }

/* Twee blokken: komende en afgelopen races */
.cal-group + .cal-group { margin-top: 64px; }
.cal-group[hidden] { display: none; }
.cal-group-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #222;
}
.cal-group-head h3 {
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 3px;
  position: relative;
  padding-left: 18px;
}
.cal-group-head h3::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 22px;
  transform: translateY(-50%) skewX(-15deg);
  background: var(--red);
}
.cal-group-head span { color: var(--grey); font-size: 13px; text-transform: uppercase; letter-spacing: 2px; }

/* Komende races: groot, in volle kleur, rode rand */
#calUpcoming { grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); }
#calUpcoming .race-card { min-height: 480px; border-color: rgba(204,0,0,0.6); }

/* Afgelopen races: kleiner, grijzer, met een geblokte finishvlag */
.cal-group--past .cal-group-head h3::before { background: #555; }
.cal-group--past .cal-group-head h3 { color: #bbb; }
.cal-list--past { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cal-list--past .race-card { min-height: 300px; padding: 30px 18px 18px; border-color: #1f1f1f; }
.cal-list--past .race-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  z-index: 1;
  background: repeating-conic-gradient(#e8e8e8 0 25%, #111 0 50%) 0 0 / 10px 10px;
  opacity: 0.85;
}
.cal-list--past .race-bg { filter: grayscale(1) brightness(0.55); }
.cal-list--past .race-card:hover .race-bg { filter: grayscale(0.2) brightness(0.8); }
.cal-list--past .race-date { min-width: 72px; padding: 7px 10px 6px; }
.cal-list--past .race-date strong { font-size: 18px; }
.cal-list--past .race-date span { font-size: 10px; letter-spacing: 2px; }
.cal-list--past .race-round { font-size: 40px; -webkit-text-stroke-color: rgba(255,255,255,0.4); }
.cal-list--past .race-bottom h3 { font-size: 19px; margin: 10px 0 6px; color: #e6e6e6; }
.cal-list--past .race-place { font-size: 13px; color: #999; }
.cal-list--past .race-actions { margin-top: 14px; }
.cal-list--past .race-btn { padding: 10px 12px; font-size: 11px; }

/* Vlaggetjes */
.flag { display: inline-block; width: 22px; height: 15px; margin-right: 10px; border-radius: 2px; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255,255,255,0.15); }
.flag-be { background: linear-gradient(90deg, #000 33.3%, #FDDA24 33.3% 66.6%, #EF3340 66.6%); }
.flag-nl { background: linear-gradient(#AE1C28 33.3%, #fff 33.3% 66.6%, #21468B 66.6%); }
.flag-fr { background: linear-gradient(90deg, #0055A4 33.3%, #fff 33.3% 66.6%, #EF4135 66.6%); }
.flag-de { background: linear-gradient(#000 33.3%, #DD0000 33.3% 66.6%, #FFCE00 66.6%); }
.flag-it { background: linear-gradient(90deg, #009246 33.3%, #fff 33.3% 66.6%, #CE2B37 66.6%); }
.flag-es { background: linear-gradient(#AA151B 25%, #F1BF00 25% 75%, #AA151B 75%); }
.flag-pt { background: linear-gradient(90deg, #046A38 40%, #DA291C 40%); }

@media (max-width: 600px) {
  .cal-stats { gap: 6px 24px; margin-bottom: 0; }
  .cal-spotlight { padding: 30px 20px; }
  .cal-spotlight h3 { font-size: 24px; }
  .countdown div { min-width: 70px; }
  .cal-list, #calUpcoming { grid-template-columns: 1fr; gap: 16px; }
  #calUpcoming .race-card { min-height: 400px; }
  .cal-list--past { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cal-list--past .race-card { min-height: 230px; padding: 22px 12px 12px; }
  .cal-list--past .race-bottom h3 { font-size: 15px; }
  .cal-list--past .race-round { font-size: 30px; }
  .cal-list--past .race-place { font-size: 11px; }
  .cal-list--past .race-place .flag { width: 16px; height: 11px; margin-right: 6px; }
  .cal-list--past .badge { font-size: 9px; padding: 3px 7px; }
  .cal-group-head h3 { font-size: 18px; }
  .race-card { min-height: 380px; padding: 20px; }
  .race-card:hover { transform: none; }
  .race-bottom h3 { font-size: 24px; }
  .race-round { font-size: 52px; }
}

/* Extra's voor de foto bovenaan (gin) */
.photo-hero .hero-text { max-width: 560px; margin-top: 18px; font-size: 18px; color: rgba(255,255,255,0.9); text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.photo-hero .hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 26px; flex-wrap: wrap; }
.photo-hero .hero-price { font-size: 34px; font-weight: 900; }

/* ===== LANDINGSFOTO HOME (logo in het midden) ===== */
.landing-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h, 80px) + 40px) 16px 110px;
  background-color: var(--dark);
  background-size: cover;
  background-position: var(--hero-pos, center 40%);
  overflow: hidden;
  isolation: isolate;
}
.landing-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 60% 45% at 50% 45%, rgba(8,8,9,0.55) 0%, rgba(8,8,9,0) 100%),
    linear-gradient(180deg, rgba(10,10,11,0.62) 0%, rgba(10,10,11,0.68) 55%, var(--dark) 100%);
}
.landing-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.landing-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 40%;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease-in-out, transform 8s linear;
}
/* De eerste dia is de foto uit de admin, met de gekozen positie */
.landing-slide:first-child { background-position: var(--hero-pos, center 40%); }
.landing-slide.is-active { opacity: 1; transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .landing-slide { transition: none; transform: none; } }
.landing-inner { display: grid; justify-items: center; gap: 18px; max-width: 900px; width: 100%; min-width: 0; }
.landing-logo { width: min(720px, 86vw); height: auto; filter: drop-shadow(0 4px 24px rgba(0,0,0,0.45)); }
.landing-tagline { display: grid; justify-items: center; width: 100%; margin-top: 6px; }
.landing-tagline-top {
  font-size: clamp(15px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}
/* "FUTURE" wordt eerst als rode omtrek getekend en daarna opgevuld */
.landing-future { width: min(760px, 92vw); height: auto; overflow: visible; margin-top: -4px; }
.landing-future text {
  font-size: 150px;
  font-weight: 900;
  letter-spacing: 14px;
  text-transform: uppercase;
  fill: var(--red);
  fill-opacity: 0;
  stroke: var(--red);
  stroke-width: 2.5px;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: future-draw 3.2s ease-in-out 0.4s forwards, future-fill 1s ease-out 3.2s forwards;
}
@keyframes future-draw { to { stroke-dashoffset: 0; } }
@keyframes future-fill { to { fill-opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .landing-future text { animation: none; stroke-dashoffset: 0; fill-opacity: 1; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.btn.race-btn {
  margin-top: 10px;
  transform: skewX(-12deg);
  border-radius: 4px;
  padding: 14px 28px;
  box-shadow: 0 6px 20px rgba(204,0,0,0.25);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn.race-btn > span { display: inline-block; transform: skewX(12deg); }
.btn.race-btn:hover { transform: skewX(-12deg) translateY(-2px); box-shadow: 0 10px 26px rgba(204,0,0,0.4); }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  display: grid;
  justify-items: center;
  gap: 8px;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: currentColor;
  transform-origin: center top;
  animation: cue 2s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: scaleY(0.3); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }
html { scroll-behavior: smooth; }

/* ===== PARTNERLOGO'S ALS LOPENDE BAND (home) ===== */
.logo-marquee-head { text-align: center; padding: 70px 20px 34px; background: var(--darker); }
.logo-marquee-head .divider { margin: 0 auto; }
.logo-marquee-head .section-title { margin-bottom: 20px; }
.logo-marquee-foot { text-align: center; padding: 26px 20px 10px; background: var(--darker); }
.logo-marquee {
  overflow: hidden;
  padding: 34px 0;
  background: var(--darker);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track { display: flex; width: max-content; animation: marquee var(--marquee-duration, 40s) linear infinite; }
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-set { display: flex; align-items: center; gap: 80px; padding-right: 80px; }
.logo-marquee-item { display: flex; align-items: center; justify-content: center; height: 100px; width: 240px; flex: 0 0 auto; }
.logo-marquee-item.is-light { background: #fff; padding: 10px 16px; }
.logo-marquee-item img { max-width: 100%; max-height: 100%; object-fit: contain; opacity: 0.75; transition: opacity 0.2s, transform 0.2s; }
.logo-marquee-item:hover img { opacity: 1; transform: scale(1.06); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) {
  .logo-marquee { padding: 24px 0; }
  .logo-set { gap: 44px; padding-right: 44px; }
  .logo-marquee-item { height: 72px; width: 170px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; }
  .logo-marquee { overflow-x: auto; }
}

/* ===== TAALKIEZER (dropdown met vlaggen) ===== */
.topbar { position: relative; z-index: 150; }
.lang-dd { position: relative; margin-left: 22px; order: 2; }
header nav { order: 1; margin-left: auto; }
.lang-dd-btn { padding: 6px 10px 6px 8px; }
.lang-dd-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,0,0,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: var(--white);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 9px 3px 7px;
  cursor: pointer;
  border-radius: 3px;
}
.lang-dd-btn:hover, .lang-dd.open .lang-dd-btn { background: rgba(0,0,0,0.35); border-color: var(--white); }
.lang-flag { display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,0.25); flex-shrink: 0; }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; transition: transform 0.2s; }
.lang-dd.open .lang-caret { transform: rotate(180deg); }
.lang-dd-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  list-style: none;
  background: var(--dark);
  border: 1px solid #2a2a2a;
  border-top: 3px solid var(--red);
  box-shadow: 0 14px 30px rgba(0,0,0,0.5);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.lang-dd.open .lang-dd-menu { opacity: 1; visibility: visible; transform: none; }
.lang-dd-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  font-size: 14px;
  color: #ddd;
}
.lang-dd-menu a:hover { background: #1f1f1f; color: var(--white); }
.lang-dd-menu a[aria-current] { color: var(--white); font-weight: 700; }
.lang-dd-menu a[aria-current]::after { content: '✓'; margin-left: auto; color: var(--red); }
.page-hero.photo-hero { padding-top: calc(var(--header-h, 80px) + 40px); }

/* ===== PARTNERS ===== */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 22px;
}
.partner {
  display: flex;
  flex-direction: column;
  background: #141414;
  border: 1px solid #222;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
a.partner:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 16px 34px rgba(0,0,0,0.5); }
.partner-logo {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 28px;
  background: radial-gradient(circle at 50% 40%, #222 0%, #0d0d0d 75%);
  border-bottom: 3px solid var(--red);
  overflow: hidden;
}
.partner-logo.is-light { background: #fff; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s; }
a.partner:hover .partner-logo img { transform: scale(1.06); }
.partner-logo span { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: 2px; text-align: center; }
.partner-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.partner-body h3 { font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; }
.partner-city { color: var(--grey); font-size: 13px; margin-top: 4px; }
.partner-text { color: #bbb; font-size: 14px; line-height: 1.6; margin-top: 12px; }
.partner-link {
  margin-top: auto;
  padding-top: 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
a.partner:hover .partner-link { color: var(--white); }
@media (max-width: 600px) {
  .partner-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Taalkiezer op kleine schermen: naast de menuknop */
@media (max-width: 1220px) {
  .lang-dd { order: 1; margin-left: auto; margin-right: 6px; }
  .nav-toggle { order: 2; }
  header nav { order: 3; }
}
@media (max-width: 600px) {
  .logo-pair { padding-right: 0; }
  .lang-dd { margin-right: 2px; }
  .lang-dd-btn { gap: 5px; padding: 5px 7px; font-size: 11px; }
}
/* Middelgrote schermen: menu iets compacter zodat ook de langere vertalingen passen */
@media (min-width: 1221px) and (max-width: 1440px) {
  nav ul li a { padding-left: 9px; padding-right: 9px; letter-spacing: 0.5px; }
  .lang-dd { margin-left: 12px; }
}

