/* ===== 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; animation: bracket-breathe 5s ease-in-out infinite alternate; }
@keyframes bracket-breathe {
  0%   { width: 30%; height: 30%; }
  100% { width: 60%; height: 55%; }
}
.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 (prefers-reduced-motion: reduce) { .about-home-media::before { animation: none; } }
@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-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.article-share > span { color: var(--grey); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin-right: 6px; }
.share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; background: none; color: var(--light); cursor: pointer; transition: background .2s, border-color .2s; }
.share-btn:hover, .share-btn.copied { background: var(--red); border-color: var(--red); color: var(--white); }
.share-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); max-width: calc(100% - 32px); background: var(--red); color: var(--white); padding: 12px 18px; border-radius: 6px; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 1000; }
.share-toast.show { opacity: 1; transform: translate(-50%, 0); }
.article-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; 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; }

/* Logo van de fotograaf, als het album van hem is */
.album-credit {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: -8px 0 32px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.album-credit[hidden] { display: none; }
.album-credit span {
  color: var(--grey);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding-right: 20px;
  border-right: 2px solid var(--red);
  line-height: 1.2;
}
.album-credit img { height: 72px; width: auto; display: block; }
.album-credit a { display: block; transition: opacity .2s, transform .2s; }
.album-credit a:hover { opacity: .85; transform: translateY(-2px); }
@media (max-width: 600px) {
  .album-credit { gap: 14px; }
  .album-credit span { padding-right: 14px; font-size: 11px; }
  .album-credit img { height: 56px; }
}

/* 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-round {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.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 */
/* Tabbladen als er meerdere kampioenschappen in hetzelfde weekend reden */
.album-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  overflow-x: auto;
  scrollbar-width: none;
}
.album-tabs::-webkit-scrollbar { display: none; }
.album-tabs a {
  flex: none;
  padding: 12px 18px;
  color: #ccc;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color .2s, border-color .2s;
}
.album-tabs a small { color: var(--grey); font-weight: 400; margin-left: 6px; letter-spacing: 0; }
.album-tabs a:hover { color: #fff; }
.album-tabs a.active { color: #fff; border-bottom-color: var(--red); }
@media (max-width: 600px) {
  .album-tabs a { padding: 10px 12px; font-size: 12px; }
}

.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-champ + .badge-champ { margin-left: 6px; }
.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%);
}
/* Zonder foto: circuit met een lichtje dat rondjes rijdt */
.spot-track {
  position: absolute;
  top: 50%;
  left: 58%;
  width: min(520px, 46%);
  height: 96%;
  z-index: -1;
  transform: translate(-50%, -50%);
  fill: none;
  pointer-events: none;
  overflow: visible;
}
.spot-track path, .card-track path { stroke: rgba(255,255,255,0.14); stroke-width: 6; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spot-track .start, .card-track .start { fill: #fff; opacity: 0.8; }
/* Op de kaarten zonder foto: het circuit in het lege midden */
.card-track {
  position: absolute;
  top: 43%;
  left: 50%;
  width: 88%;
  height: 60%;
  transform: translate(-50%, -50%);
  fill: none;
  overflow: visible;
}
.spot-track .lap, .card-track .lap {
  stroke: #ff2a2a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8 92;
  filter: drop-shadow(0 0 6px rgba(255,40,40,0.9));
  animation: lap 4s linear infinite;
}
@keyframes lap { to { stroke-dashoffset: -100; } }
.card-track path { stroke: rgba(255,255,255,0.26); stroke-width: 6.5; }
.card-track .lap { stroke: #ff2a2a; stroke-width: 5; animation-duration: 6s; }
/* Balk zonder foto: grote circuitnaam die traag voorbij schuift, finishvlag rechts en een feller circuit */
.spot-ghost {
  position: absolute;
  left: 0;
  bottom: -0.18em;
  z-index: -1;
  display: flex;
  white-space: nowrap;
  font-size: clamp(70px, 11vw, 170px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.09);
  pointer-events: none;
  animation: ghost-run 40s linear infinite;
}
.spot-ghost span { padding-right: 0.6em; }
@keyframes ghost-run { to { transform: translateX(-50%); } }
.spot-checker {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 160px;
  z-index: -1;
  background: repeating-conic-gradient(rgba(255,255,255,0.13) 0 25%, transparent 0 50%) 0 0 / 22px 22px;
  -webkit-mask-image: linear-gradient(to left, #000, transparent);
  mask-image: linear-gradient(to left, #000, transparent);
  pointer-events: none;
}
.cal-spotlight .spot-track path { stroke: rgba(255,255,255,0.3); stroke-width: 7; }
.cal-spotlight .spot-track .lap {
  stroke: #fff;
  stroke-width: 5;
  stroke-dasharray: 10 90;
  filter: drop-shadow(0 0 4px #ff2a2a) drop-shadow(0 0 12px rgba(255,40,40,0.9));
  animation-duration: 5s;
}
.cal-spotlight .spot-track .start { fill: #ff2a2a; stroke: #fff; stroke-width: 2; vector-effect: non-scaling-stroke; r: 7px; }
@media (max-width: 760px) { .spot-track { left: 70%; width: 60%; opacity: 0.5; } .spot-checker { width: 80px; } }
@media (prefers-reduced-motion: reduce) { .spot-ghost { animation: none; } }
@media (prefers-reduced-motion: reduce) { .spot-track .lap, .card-track .lap { animation: none; } }
.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; }
/* Zonder foto: bewegende racestrepen, voorbijflitsende lichtstrepen en een lichtglans */
.race-bg.no-photo {
  overflow: hidden;
  background:
    radial-gradient(circle at 85% 15%, rgba(204,0,0,0.45), transparent 55%),
    linear-gradient(160deg, #1d1d1d, #0d0d0d);
}
.race-bg.no-photo::before {
  content: '';
  position: absolute;
  inset: 0 -60px 0 -60px;
  background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(204,0,0,0.14) 38px 40px);
  animation: stripes-run 2.4s linear infinite;
}
.race-bg.no-photo::after {
  content: '';
  position: absolute;
  inset: -50% -100%;
  background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,0.07) 50%, transparent 55%);
  animation: shine-sweep 7s ease-in-out infinite;
}
.race-bg.no-photo i {
  position: absolute;
  left: 0;
  width: 45%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,40,40,0.9));
  box-shadow: 0 0 10px rgba(204,0,0,0.8);
  opacity: 0;
  animation: streak 3.2s cubic-bezier(.55,0,.35,1) infinite;
}
.race-bg.no-photo i:nth-child(1) { top: 22%; animation-delay: 0s; }
.race-bg.no-photo i:nth-child(2) { top: 38%; width: 30%; height: 1px; animation-delay: 1.1s; animation-duration: 2.6s; }
.race-bg.no-photo i:nth-child(3) { top: 51%; width: 60%; animation-delay: 2s; animation-duration: 3.8s; }
.race-bg.no-photo i:nth-child(4) { top: 30%; width: 25%; height: 1px; animation-delay: 0.6s; animation-duration: 4.4s; }
.race-bg.no-photo i:nth-child(5) { top: 63%; width: 40%; height: 1px; animation-delay: 2.7s; animation-duration: 3s; }
/* Elke kaart een eigen ritme, zodat ze niet gelijk lopen */
.race-card:nth-child(3n+2) .race-bg.no-photo::after { animation-delay: 2.3s; }
.race-card:nth-child(3n) .race-bg.no-photo::after { animation-delay: 4.6s; }
.race-card:nth-child(3n) .race-bg.no-photo::before { animation-duration: 3s; }
@keyframes stripes-run { to { transform: translateX(44.14px); } }
@keyframes shine-sweep { 0%, 60% { transform: translateX(-40%); } 100% { transform: translateX(40%); } }
@keyframes streak {
  0% { transform: translateX(-100%); opacity: 0; }
  15% { opacity: 1; }
  70% { opacity: 0.8; }
  100% { transform: translateX(260%); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .race-bg.no-photo::before, .race-bg.no-photo::after { animation: none; }
  .race-bg.no-photo i { display: none; }
}
.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; }
  /* Circuit op de gsm tussen datum en tekst, niet erachter: kaart iets hoger, circuit in de vrije strook */
  #calUpcoming .race-card:has(.card-track), .cal-list:not(.cal-list--past) .race-card:has(.card-track) { min-height: 570px; }
  .cal-list:not(.cal-list--past) .card-track { top: 96px; height: calc(100% - 96px - 230px); width: 86%; transform: translateX(-50%); }
  .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; }
/* Tijdens een taalwissel even verborgen, tot de pagina weer op dezelfde plek staat (zie i18n.js) */
html.lang-wissel body { visibility: hidden; }

/* ===== "WORD OOK PARTNER" (partners) ===== */
.partner-cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--dark);
}
/* Achtergrond: rode gloed, racestrepen, lichtglans en voorbijflitsende lichtstrepen */
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(204,0,0,0.35), transparent 70%),
    radial-gradient(circle at 10% 0%, rgba(204,0,0,0.18), transparent 45%),
    linear-gradient(160deg, #161616, #0b0b0b);
  animation: cta-glow 6s ease-in-out infinite alternate;
}
.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0 -60px;
  background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(204,0,0,0.08) 38px 40px);
  animation: stripes-run 2.4s linear infinite;
}
.cta-bg::after {
  content: '';
  position: absolute;
  inset: -50% -100%;
  background: linear-gradient(115deg, transparent 45%, rgba(255,255,255,0.05) 50%, transparent 55%);
  animation: shine-sweep 8s ease-in-out infinite;
}
.cta-bg i {
  position: absolute;
  left: 0;
  width: 40%;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,40,40,0.9));
  box-shadow: 0 0 10px rgba(204,0,0,0.8);
  opacity: 0;
  animation: streak 3.4s cubic-bezier(.55,0,.35,1) infinite;
}
.cta-bg i:nth-child(1) { top: 18%; animation-delay: 0s; }
.cta-bg i:nth-child(2) { top: 34%; width: 25%; height: 1px; animation-delay: 1.2s; animation-duration: 2.7s; }
.cta-bg i:nth-child(3) { top: 72%; width: 55%; animation-delay: 2.1s; animation-duration: 4s; }
.cta-bg i:nth-child(4) { top: 58%; width: 20%; height: 1px; animation-delay: 0.7s; animation-duration: 4.6s; }
.cta-bg i:nth-child(5) { top: 86%; width: 35%; height: 1px; animation-delay: 2.9s; animation-duration: 3.1s; }
@keyframes cta-glow { to { background-position: 0 -30px, 0 0, 0 0; filter: brightness(1.15); } }
/* Geblokte finishvlag boven- en onderaan, die langzaam voorbij schuift */
.partner-cta::before, .partner-cta::after {
  content: '';
  position: absolute;
  left: -40px;
  right: -40px;
  height: 14px;
  background: conic-gradient(#fff 25%, transparent 0 50%, #fff 0 75%, transparent 0) 0 0 / 28px 28px;
  opacity: 0.08;
  animation: cta-flag 3s linear infinite;
}
.partner-cta::before { top: 0; }
.partner-cta::after { bottom: 0; animation-direction: reverse; }
@keyframes cta-flag { to { transform: translateX(28px); } }
.partner-cta .divider { margin: 0 auto 30px; transition: width 0.9s cubic-bezier(.6,0,.2,1) 0.35s; }
.cta-text { color: #aaa; max-width: 560px; margin: 0 auto 34px; }
/* Glans over de hoofdknop en een zachte rode gloed */
.cta-buttons .btn:not(.btn-outline) {
  position: relative;
  overflow: hidden;
  animation: cta-pulse 2.6s ease-in-out infinite;
}
.cta-buttons .btn:not(.btn-outline)::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.35) 50%, transparent 65%);
  transform: translateX(-120%);
  animation: cta-shine 3.2s ease-in-out infinite;
}
@keyframes cta-pulse { 50% { box-shadow: 0 0 0 8px rgba(204,0,0,0.12), 0 0 28px rgba(204,0,0,0.45); } }
@keyframes cta-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
/* Inhoud komt stap voor stap in beeld */
.partner-cta > :not(.cta-bg) { transition: opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.8,.2,1); }
.partner-cta > .section-title { transition-delay: 0.12s; }
.partner-cta > .cta-text { transition-delay: 0.45s; }
.partner-cta > .cta-buttons { transition-delay: 0.6s; }
.partner-cta.reveal-wait > :not(.cta-bg):not(.divider) { opacity: 0; translate: 0 30px; }
.partner-cta.reveal-wait > .divider { width: 0; }
@media (prefers-reduced-motion: reduce) {
  .cta-bg, .cta-bg::before, .cta-bg::after, .partner-cta::before, .partner-cta::after,
  .cta-buttons .btn, .cta-buttons .btn::after { animation: none; }
  .cta-bg i { display: none; }
}

/* Knoppen naast elkaar, even hoog; onder elkaar op een smal scherm (partners) */
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.cta-buttons .btn { display: flex; align-items: center; justify-content: center; }
.cta-buttons .btn-outline { margin-left: 0; }
@media (max-width: 600px) { .cta-buttons { flex-direction: column; align-items: center; } }

/* ===== 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;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s, opacity 0.7s ease, translate 0.7s cubic-bezier(.2,.8,.2,1);
  transition-delay: 0s, 0s, 0s, var(--delay, 0s), var(--delay, 0s);
}
a.partner:hover {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
  border-color: var(--red);
  box-shadow: 0 16px 34px rgba(0,0,0,0.5), 0 0 26px rgba(204,0,0,0.18);
}
a.partner.is-tilting { transition-duration: 0.08s, 0.25s, 0.25s, 0.7s, 0.7s; }
.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 #222;
  overflow: hidden;
  position: relative;
}
.partner-logo.is-light { background: #fff; }
.partner-logo img { position: relative; z-index: 1; max-width: 100%; max-height: 100%; object-fit: contain; transition: transform 0.35s; }
/* Rode spotlight die de muis volgt */
.partner-logo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 160px at var(--mx, 50%) var(--my, 50%), rgba(204,0,0,0.35), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.partner-logo.is-light::before { background: radial-gradient(circle 160px at var(--mx, 50%) var(--my, 50%), rgba(204,0,0,0.12), transparent 70%); }
a.partner:hover .partner-logo::before { opacity: 1; }
/* Glans die over het logo trekt */
.partner-logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.14) 50%, transparent 65%);
  transform: translateX(-110%);
  pointer-events: none;
}
a.partner:hover .partner-logo::after { transform: translateX(110%); transition: transform 0.8s ease; }
/* Rode lijn die binnenrijdt zodra de kaart in beeld komt */
.partner-body { position: relative; }
.partner-body::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -3px;
  height: 3px;
  background: var(--red);
  transform-origin: left;
  transform: scaleX(var(--line, 1));
  transition: transform 0.9s cubic-bezier(.6,0,.2,1) calc(var(--delay, 0s) + 0.25s);
}
/* Kaarten schuiven één voor één in beeld */
.partner.reveal-wait { opacity: 0; translate: 0 40px; --line: 0; }
@media (prefers-reduced-motion: reduce) {
  .partner, a.partner:hover { transform: none; translate: none; }
  .partner.reveal-wait { opacity: 1; translate: none; --line: 1; }
  .partner-logo::after { display: none; }
}
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; }
}

/* Startpagina: volgende race met geanimeerd circuit (zelfde stijl als op de kalender) */
.home-next { padding-top: 0; background: var(--dark); }
.home-next-bar { margin: 0 auto; color: #fff; text-decoration: none; min-height: 260px; transition: transform 0.3s, box-shadow 0.3s; }
.home-next-bar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(204,0,0,0.25); }
.home-next-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
}
.home-next-bar:hover .home-next-link { color: var(--red); }

