:root {
  --red: #ff0000;
  --red-dark: #cc0000;
  --black: #111111;
  --white: #ffffff;
  --grey: #f4f4f4;
  --grey-dark: #555555;
  --font-display: 'Archivo Black', Arial, sans-serif;
  --font-body: 'Barlow', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--red); }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 4px solid var(--red);
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--black);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo span { color: var(--red); }
.main-nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--black);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.03em;
  border-bottom: 3px solid transparent;
  padding-bottom: 4px;
  transition: border-color .2s;
}
.main-nav a:hover { border-color: var(--red); }
.main-nav a.nav-admin {
  background: var(--black);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 3px;
}
.main-nav a.nav-admin:hover { background: var(--red); border-color: transparent; }

/* Hero */
.hero {
  position: relative;
  height: calc(100vh - 90px);
  min-height: 560px;
  max-height: 900px;
  display: flex;
  overflow: hidden;
  color: var(--white);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  padding: clamp(14px, 3vh, 32px) 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(14px, 3.5vh, 30px);
}
.hero-kicker {
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--red);
  font-size: clamp(12px, 1.6vw, 15px);
  margin: 0 0 8px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 6vw, 70px);
  line-height: 0.98;
  margin: 0 0 14px;
}
.hero-sub {
  font-size: clamp(13px, 1.6vw, 17px);
  max-width: 620px;
  margin: 0 0 18px;
}
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: 2px;
  transition: background .2s, transform .2s;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); }

/* Countdown (in hero) */
.hero-countdown {
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: clamp(12px, 2.5vh, 22px);
}
.countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
  color: var(--red);
  font-size: clamp(13px, 1.8vw, 20px);
  margin: 0 0 10px;
}
.countdown-clock {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(6px, 2vw, 20px);
  flex-wrap: wrap;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 70px;
}
.countdown-number {
  font-family: var(--font-display);
  font-size: clamp(28px, 6.2vw, 68px);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.countdown-word {
  margin-top: 4px;
  text-transform: uppercase;
  font-size: clamp(10px, 1.2vw, 14px);
  letter-spacing: 0.08em;
  color: #bbb;
}
.countdown-sep {
  font-family: var(--font-display);
  font-size: clamp(20px, 4.4vw, 50px);
  color: var(--red);
  transform: translateY(-6px);
}
.countdown-date {
  margin-top: 10px;
  color: #999;
  font-size: clamp(11px, 1.2vw, 13px);
}
@media (max-height: 700px) {
  .hero-sub { display: none; }
}
@media (max-width: 560px) {
  .countdown-sep { display: none; }
  .countdown-unit { min-width: 46px; }
}

/* Sections */
.section { padding: 80px 0; }
.section-dark { background: var(--black); color: var(--white); }
.section-dark a { color: #ff5c5c; }
.eyebrow {
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 13px;
  margin: 0 0 8px;
}
.section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  margin: 0 0 16px;
}
.section-intro { max-width: 720px; color: var(--grey-dark); font-size: 17px; }
.section-dark .section-intro { color: #cccccc; }

/* History */
.history-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  margin-top: 40px;
  align-items: start;
}
.history-text h3 {
  font-family: var(--font-display);
  font-size: 21px;
  margin: 32px 0 8px;
  color: var(--black);
}
.history-text h3:first-child { margin-top: 0; }
.history-text p { color: #333; font-size: 16px; }

.history-facts {
  background: var(--grey);
  border-left: 6px solid var(--red);
  padding: 28px 26px;
  position: sticky;
  top: 100px;
}
.history-facts h4 {
  font-family: var(--font-display);
  font-size: 16px;
  text-transform: uppercase;
  margin: 0 0 16px;
}
.history-facts ul { list-style: none; margin: 0; padding: 0; }
.history-facts li {
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}
.history-facts li:last-child { border-bottom: none; }
.fact-quote {
  margin-top: 20px;
  font-style: italic;
  font-weight: 700;
  color: var(--red-dark);
}

/* Timeline */
.timeline-wrapper {
  position: relative;
  margin-top: 40px;
}
.timeline {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 10px 24px 30px;
  -webkit-overflow-scrolling: touch;
}
.timeline::-webkit-scrollbar { height: 10px; }
.timeline::-webkit-scrollbar-track { background: #222; }
.timeline::-webkit-scrollbar-thumb { background: var(--red); border-radius: 5px; }

.tl-track {
  display: flex;
  gap: 24px;
  position: relative;
  min-width: max-content;
  padding-top: 20px;
}
.tl-track::before {
  content: "";
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  opacity: 0.5;
}
.tl-item {
  scroll-snap-align: start;
  width: 220px;
  flex: 0 0 auto;
  position: relative;
}
.tl-year {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--red);
  margin-bottom: 8px;
}
.tl-item::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
}
.tl-card {
  margin-top: 24px;
  background: #1c1c1c;
  border: 1px solid #333;
  padding: 18px;
  border-radius: 4px;
  min-height: 130px;
}
.tl-item-future .tl-card { background: var(--red); border-color: var(--red); }
.tl-item-future .tl-year { color: var(--white); }
.tl-card h4 { margin: 0 0 8px; font-size: 17px; }
.tl-card p { margin: 0; font-size: 14px; color: #ccc; }
.tl-item-future .tl-card p { color: #ffe5e5; }

.tl-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--red);
  color: var(--white);
  border: none;
  width: 42px;
  height: 42px;
  font-size: 22px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}
.tl-arrow-left { left: 4px; }
.tl-arrow-right { right: 4px; }
.tl-arrow:hover { background: var(--red-dark); }

/* Logo-evolutie */
.logos-section {
  background: linear-gradient(180deg, #ffffff 0%, #f4f4f4 100%);
  overflow: hidden;
}
.logo-evolution {
  margin-top: 44px;
  display: flex;
  align-items: stretch;
  gap: 6px;
  overflow-x: auto;
  padding: 30px 6px 20px;
}
.logo-card {
  position: relative;
  flex: 1 1 200px;
  min-width: 190px;
  background: var(--white);
  border-radius: 12px;
  padding: 26px 18px 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border: 1px solid #eee;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.logo-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 34px rgba(0,0,0,.16);
  z-index: 3;
}
.logo-card-current {
  border: 2px solid var(--red);
  background: #fffafa;
}
.logo-year {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,.25);
  letter-spacing: 0.02em;
}
.logo-frame {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 14px 0 16px;
}
.logo-frame img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.logo-caption {
  font-size: 13px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}
.logo-arrow {
  align-self: center;
  font-size: 26px;
  color: var(--red);
  font-weight: 800;
  flex: 0 0 auto;
  padding: 0 2px;
}
@media (max-width: 900px) {
  .logo-evolution { flex-wrap: nowrap; }
  .logo-card { min-width: 220px; }
}

/* Gallery */
.gallery-heading {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 40px 0 18px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  background: var(--grey);
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform .3s;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption {
  font-size: 13px;
  padding: 8px 10px;
  color: var(--grey-dark);
}
.photo-credit { font-size: 12px; color: #999; margin-top: 20px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-list { list-style: none; padding: 0; margin: 20px 0; }
.contact-list li { padding: 6px 0; }
.disclaimer { font-size: 13px; color: #aaa; margin-top: 20px; }
.contact-card {
  background: var(--red);
  padding: 28px;
  border-radius: 4px;
}
.contact-card h3 { font-family: var(--font-display); margin-top: 0; }

/* Footer */
.site-footer {
  background: var(--black);
  color: #999;
  font-size: 13px;
  padding: 20px 0;
  border-top: 4px solid var(--red);
}

/* Chatbot Eindje */
.eindje-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 32px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  z-index: 200;
  font-size: 15px;
}
.eindje-toggle:hover { background: var(--red-dark); }
.eindje-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--white);
}

.eindje-window {
  position: fixed;
  bottom: 90px;
  right: 24px;
  width: 340px;
  max-width: calc(100vw - 32px);
  height: 460px;
  max-height: 70vh;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 200;
}
.eindje-window.hidden { display: none; }
.eindje-header {
  background: var(--black);
  color: var(--white);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eindje-header strong { display: block; font-size: 15px; }
.eindje-status { font-size: 11px; color: #ccc; }
.eindje-header button {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
}
.eindje-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--grey);
}
.eindje-msg {
  padding: 9px 13px;
  border-radius: 14px;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.4;
}
.eindje-msg.bot {
  background: var(--white);
  border: 1px solid #ddd;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.eindje-msg.user {
  background: var(--red);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.eindje-msg.eindje-searching {
  font-style: italic;
  color: #888;
  animation: eindje-pulse 1.2s ease-in-out infinite;
}
.eindje-msg a { color: var(--red); font-weight: 700; }
@keyframes eindje-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.eindje-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 8px 12px;
  background: var(--white);
  border-top: 1px solid #eee;
}
.eindje-quick button {
  background: var(--grey);
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
}
.eindje-quick button:hover { background: #eee; }
.eindje-form {
  display: flex;
  border-top: 1px solid #eee;
}
.eindje-form input {
  flex: 1;
  border: none;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.eindje-form button {
  background: var(--red);
  color: var(--white);
  border: none;
  width: 48px;
  font-size: 16px;
  cursor: pointer;
}
.eindje-form button:hover { background: var(--red-dark); }

/* Responsive */
@media (max-width: 900px) {
  .history-grid, .contact-grid { grid-template-columns: 1fr; }
  .history-facts { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { margin-left: 14px; font-size: 12px; }
}
@media (max-width: 480px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .eindje-window { right: 12px; width: calc(100vw - 24px); }
}
