/* ---------- Fonts ---------- */
/* @font-face {
  font-family: 'Galileo';
  src: url('fonts/galileo.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
} */

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --max-width: 1800px;
  --vloedblauw: #becbe9;
  --vloedroze: #f6baba;
  --vloedgeel: #f5e6d3;
  --vloeddonkerblauw: #6d7cab;
  --text: #101D54;
  --zwart: #111;
  --wit: #fff;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--wit);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ---------- Layout ---------- */

.page {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 2rem) clamp(1.25rem, 4vw, 5rem);
}
main {
  display: block;
}
/* ---------- Spacing ---------- */
section {
  padding-block: 0 clamp(4rem, 8vw, 10rem);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--vloedblauw);
  width: 100%;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.event-header {
  flex-direction: column;
  align-items: stretch;
}
.event-header .page {
  width: 100%;
}

.event-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.event-nav-home,
.event-nav-arrow {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.event-nav-home:hover,
.event-nav-arrow:hover {
  text-decoration: underline;
}

.event-nav-arrows {
  display: flex;
  gap: 1.5rem;
}

.event-nav-bottom {
  padding-top: 2rem;
  padding-bottom: 0;
  margin-top: 3rem;
  margin-bottom: 0;
}

.event-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
}

/* ---------- Tickets Layout ---------- */
.tickets-layout, .opencall-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.tickets-event-image-column, .opencall-event-image-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tickets-event-image, .opencall-event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.tickets-event-title {
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--text);
  margin: 0 0 0.75rem 0;
  font-weight: 500;
}

.tickets-event-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  color: var(--vloeddonkerblauw);
  margin: 0 0 1.5rem 0;
}

.tickets-event-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tickets-event-meta li {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
}

.tickets-event-meta strong {
  font-weight: 600;
  color: var(--vloeddonkerblauw);
}

.tickets-form-container, .opencall-form-container {
  background: var(--vloedgeel);
  padding: 1.5rem;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.tickets-form-container .subtitle, .opencall-form-container .subtitle,
.tickets-form-container h2.subtitle, .opencall-form-container h2.subtitle {
  margin: 0 !important;
  margin-bottom: 0.5rem !important;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

#event-info-container {
  margin-bottom: 0;
}

.tickets-form-container form, .opencall-form-container form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0;
}

.tickets-form-container label, .opencall-form-container label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  font-weight: 500;
}

.tickets-form-container input[type="number"], .opencall-form-container input[type="number"],
.tickets-form-container input[type="email"], .opencall-form-container input[type="email"],
.tickets-form-container input[type="tel"], .opencall-form-container input[type="tel"],
.tickets-form-container input[type="text"], .opencall-form-container input[type="text"],
.tickets-form-container input[type="url"], .opencall-form-container input[type="url"], select {
  padding: 1rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: var(--wit);
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  border-radius: 5px;
  font-family: inherit;
}
textarea {
  padding: 1rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: var(--wit);
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  border-radius: 5px;
  font-family: inherit;
}

.tickets-form-container button, .opencall-form-container button {
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  border: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.tickets-form-container button:hover, .opencall-form-container button:hover {
  background: var(--vloedblauw);
}

.available-tickets-info, .opencall-available-tickets-info  {
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
  color: var(--text);
  margin-bottom: 0.5rem;
}

.available-tickets-info.sold-out {
  color: var(--vloeddonkerblauw);
  font-weight: 600;
}

.price-display {
  background: var(--wit);
  padding: 1rem;
  border-radius: 5px;
  border: 2px solid var(--vloeddonkerblauw);
  margin: 0.5rem 0;
}

.price-display p {
  margin: 0.5rem 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
}

.price-display p:first-child {
  margin-top: 0;
}

.price-display p:last-child {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 1.5vw, 1.5rem);
  font-weight: 600;
  color: var(--vloeddonkerblauw);
}

.voucher-row-inline {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 0.75rem;
  margin: 0.5rem 0;
}
.voucher-row-inline label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 0 0 auto;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  font-weight: 500;
}
.voucher-row-inline label input {
  width: 14rem;
  min-width: 12rem;
}
.voucher-row-inline .btn-voucher {
  flex-shrink: 0;
  padding: 1rem 1.5rem;
  background: var(--vloedblauw);
  color: var(--text);
  border: none;
  border-radius: 5px;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease;
}
.voucher-row-inline .btn-voucher:hover {
  background: var(--vloeddonkerblauw);
}
.price-display .discount-line {
  color: var(--vloeddonkerblauw);
}

.free-ticket-confirmation {
  background: var(--wit);
  padding: 1.5rem;
  border-radius: 5px;
  border: 2px solid var(--vloeddonkerblauw);
  margin-top: 1rem;
}
.free-ticket-confirmation h3 {
  margin-top: 0;
}
.free-ticket-confirmation p {
  margin: 0.75rem 0;
}
.free-ticket-confirmation .btn {
  display: inline-block;
  margin-top: 0.5rem;
}

.form-loader {
  text-align: center;
  padding: 1.5rem;
  margin: 1rem 0;
}

.form-loader p {
  margin: 1rem 0 0 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
}

.loader-spinner {
  border: 4px solid var(--vloedgeel);
  border-top: 4px solid var(--vloeddonkerblauw);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.success-message {
  background: var(--vloedblauw);
  padding: 1.5rem;
  border-radius: 5px;
  margin-bottom: 1rem;
}

.success-message h3 {
  margin: 0 0 0.5rem 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: var(--text);
}

.success-message p {
  margin: 0.5rem 0;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
}

.ticket-link {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--vloedroze);
  color: var(--text);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.ticket-link:hover {
  background: var(--vloedgeel);
}

.logo img {
  width: 100%;
  height: auto;
  max-width: 180px;
}

/* ---------- Hero Slideshow ---------- */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--wit);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background: var(--vloedgeel);
}

/* ---------- Home Video Section ---------- */
.video-section {
  background: var(--vloedgeel);
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 2rem;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}

.btn-primary {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  border: none;
  background: var(--vloedroze);
  color: var(--text);
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.btn-primary:hover {
  background: var(--vloedblauw);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
}

/* ---------- Navigation ---------- */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-list li {
  margin: 0;
}

.nav-list a {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.nav-list a:hover {
  opacity: 0.7;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switcher a {
  text-decoration: none;
  color: var(--text);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.lang-switcher a.active {
  font-weight: 700;
  opacity: 1;
}

.lang-switcher a:hover {
  opacity: 0.7;
}

.lang-switcher span {
  color: var(--text);
  opacity: 0.5;
}

/* Floating TTS Widget */
.tts-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
}

.tts-widget-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--vloedblauw);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.tts-widget-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.tts-widget-toggle:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.tts-widget-panel {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 280px;
  background: var(--wit);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.tts-widget-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  max-height: 500px;
}

.tts-widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: var(--text);
}

.tts-widget-close {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: opacity 0.2s ease;
  border-radius: 4px;
}

.tts-widget-close:hover {
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.05);
}

.tts-widget-controls {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tts-widget-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  text-align: left;
}

.tts-widget-btn:hover {
  background: var(--vloedblauw);
  border-color: var(--vloedblauw);
}

.tts-widget-btn:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

.tts-widget-speed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.tts-widget-speed label {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
}

.tts-widget-speed select {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 0.5rem;
  color: var(--text);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.tts-widget-speed select:hover {
  border-color: var(--text);
}

.tts-widget-speed select:focus {
  outline: 2px solid var(--text);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .tts-widget {
    display: none;
  }
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
  position: relative;
}

.burger-menu span {
  width: 25px;
  height: 3px;
  background: var(--text);
  transition: all 0.3s ease;
  display: block;
}

.burger-menu.active {
  gap: 0;
}

.burger-menu.active span:nth-child(1) {
  position: absolute;
  top: calc(50% - 1.5px);
  left: 5px;
  transform: rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  position: absolute;
  top: calc(50% - 1.5px);
  left: 5px;
  transform: rotate(-45deg);
}

.text-large {
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  color: var(--text);
  max-width: 60ch;
}
.title {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
  font-weight: normal;
  position: relative;
  min-height: 1.05em;
}

.subtitle {
  font-size: clamp(2rem, 10vw, 3rem);
  color: var(--text);
  max-width: 60ch;
  font-weight: normal;
}


/* ---------- Typografie ---------- */
h1 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  margin: 0.75rem 0 1rem;
}

p {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  /* line-height: 1.6; */
}
.italic {
  font-style: italic;
}
.bold {
  font-weight: bold;
}
.center {
  text-align: center;
  margin:0 auto;
  max-width: unset;
}
/* ---------- Event grid ---------- */
.events-section {
  background: var(--vloedgeel);
}
.event-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
  justify-content: space-between;
}

.agenda-controls {
  margin-bottom: 2rem;
}

.sort-label {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--text);
  margin-left: 1rem;
}

.date-sort-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: var(--wit);
  color: var(--text);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-family: inherit;
  cursor: pointer;
  border-radius: 5px;
}

.date-sort-select:hover {
  border-color: var(--vloedroze);
}

.event-date {
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: var(--vloeddonkerblauw);
  font-weight: 500;
  margin-top: 0.5rem;
}

/* ---------- Partners ---------- */
.partners-section {
  background: var(--wit);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  align-items: center;
  justify-items: center;
}

.partners-organisation {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.partners-organisation .partner-logo {
  max-width: 200px;
}

.partners-organisation-text {
  font-size: 0.95rem;
  color: var(--text);
}

@media (max-width: 768px) {
  .partners-organisation {
    flex-direction: column;
    align-items: flex-start;
  }
}

.partner-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---------- Team ---------- */
.team-section {
  background: var(--vloedgeel);
}

.team-members {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.team-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  border-top: 3px solid var(--vloeddonkerblauw);
  padding-top: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 4rem);
}

.team-row:first-child {
  border-top: none;
  margin-top: 0;
}

.team-col {
  display: flex;
  flex-direction: column;
}

.team-col-image {
  justify-content: center;
}

.team-portrait {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.team-name {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: var(--text);
}

.team-description {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.team-links {
  font-size: clamp(0.9rem, 1vw, 1rem);
  color: var(--vloeddonkerblauw);
}

.team-links a {
  color: var(--vloeddonkerblauw);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.team-links a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ---------- Over ---------- */
.over-section {
  background: var(--vloedgeel);
}

.highlights-carousel {
  position: relative;
  margin-top: 1.5rem;
  overflow: hidden;
}

.highlights-carousel--initialized {
  padding: 0 2.5rem;
}

.highlights-track {
  display: flex;
  gap: 1rem;
  max-width: 100%;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
}

.highlights-track::-webkit-scrollbar {
  height: 6px;
}

.highlights-track::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.15);
  border-radius: 3px;
}

.highlight-tile {
  flex: 0 0 260px;
  background: var(--wit);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}

.highlight-tile-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.highlight-tile-title {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  margin: 0.75rem 0.75rem 0.25rem;
  color: var(--text);
}

.highlight-tile-text {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  margin: 0 0.75rem 0.9rem;
  color: var(--text);
}

.highlights-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  transition: background 0.2s ease, transform 0.1s ease, box-shadow 0.1s ease;
}

.highlights-nav-prev {
  left: 0;
}

.highlights-nav-next {
  right: 0;
}

.highlights-nav:hover {
  background: var(--vloedblauw);
  transform: translateY(-50%) scale(1.03);
}

.highlights-nav:active {
  transform: translateY(-50%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Lightbox voor hoogtepunten */
.highlight-lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 1.5rem;
}

.highlight-lightbox-backdrop.is-open {
  display: flex;
}

.highlight-lightbox {
  background: var(--wit);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
}

.highlight-lightbox-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-lightbox-image-wrapper {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
}

.highlight-lightbox-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-lightbox-video-wrapper {
  width: 100%;
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 60vh;
  display: none;
}

.highlight-lightbox-video {
  width: 100%;
  height: 100%;
}

.highlight-lightbox-content {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight-lightbox-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text);
}

.highlight-lightbox-text {
  margin: 0;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
  color: var(--text);
}

.highlight-lightbox-prev,
.highlight-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.highlight-lightbox-prev::before {
  content: '←';
}

.highlight-lightbox-next::after {
  content: '→';
}

.highlight-lightbox-prev {
  left: 1rem;
}

.highlight-lightbox-next {
  right: 1rem;
}

.highlight-lightbox-prev:hover,
.highlight-lightbox-next:hover {
  background: var(--vloedgeel);
  /* behoud verticale centrering bij hover */
  transform: translateY(-50%);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.highlight-lightbox-prev:active,
.highlight-lightbox-next:active {
  transform: translateY(-50%);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

@media (max-width: 768px) {
  .highlights-carousel--initialized {
    padding: 0 1rem;
  }

  .highlights-track {
    flex-direction: row;
    gap: 0.75rem;
    overflow-x: auto;
  }

  .highlight-tile {
    flex: 0 0 260px;
    max-width: 260px;
  }

  .highlight-tile-image {
    height: 200px;
  }

  .highlight-tile-title {
    font-size: 1.1rem;
    margin: 0.75rem 0.75rem 0.35rem;
  }

  .highlight-tile-text {
    font-size: 0.95rem;
    margin: 0 0.75rem 1rem;
  }

  .highlights-nav {
    display: none;
  }

  .highlight-lightbox-backdrop {
    padding: 0.5rem;
  }

  .highlight-lightbox {
    max-width: 100%;
    max-height: 100vh;
    border-radius: 0;
  }

  .highlight-lightbox-image-wrapper {
    max-height: 50vh;
  }

  .highlight-lightbox-content {
    padding: 1rem 1.25rem 1.25rem;
  }
}

/* ---------- Cancelled ---------- */
.cancelled-section, .thanks-section {
  background: var(--vloedgeel);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.cancelled-content, .thanks-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cancelled-redirect-message, .thanks-redirect-message {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin: 2rem 0 1.5rem 0;
}

/* ---------- Error Pages ---------- */
.error-section {
  background: var(--vloedgeel);
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.error-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: bold;
  color: var(--vloeddonkerblauw);
  margin: 0;
  line-height: 1;
}

.error-message {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin: 2rem 0;
}

.error-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--vloedroze);
  color: var(--text);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.error-link:hover {
  background: var(--vloedgeel);
}

.over-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.over-row {
  border-top: 3px solid var(--vloeddonkerblauw);
  padding-top: clamp(2rem, 4vw, 4rem);
  margin-top: clamp(2rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 2.5rem;
}

.over-row:first-child {
  border-top: none;
  margin-top: 0;
}

.over-row-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: cover;
}

.over-row-text {
  display: flex;
  flex-direction: column;
}

#over .over-partners-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: flex-start;
}

#over .over-partners-row img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  display: block;
  border-radius: 0;
  object-fit: contain;
}

@media (max-width: 768px) {
  #over .over-partners-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
  }

  #over .over-partners-row img {
    max-width: 100%;
    width: 100%;
  }
}

#hoogtepunten .over-row {
  grid-template-columns: 1fr;
}

@media (max-width: 768px) {
  .over-row {
    grid-template-columns: 1fr;
  }

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

/* Generieke content-typografie voor informatiepagina's (Over / Partners / Contact) */
.content-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: normal;
}

.content-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.content-text:last-child {
  margin-bottom: 0;
}

.content-text a {
  color: var(--vloeddonkerblauw);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.content-text a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* Backwards-compat: oude Over-klassen mappen naar generieke content-typografie */
.over-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 0 0 1.5rem;
  line-height: 1.1;
  color: var(--text);
}

#over .over-row-text .over-title {
  margin-top: -0.4rem;
}

.over-paragraph {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Apply Over-page typography to other static pages */
.partners-section .subtitle,
.contact-section .subtitle {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
}

.partners-section p,
.contact-section p {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  line-height: 1.8;
}

.over-paragraph strong {
  font-weight: bold;
  color: var(--text);
}

/* ---------- Timetable ---------- */
.timetable-section {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 3px solid var(--vloeddonkerblauw);
}

.timetable-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--text);
}

.timetable-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

.timetable-nav .timetable-title {
  margin-bottom: 0;
  text-align: center;
  white-space: nowrap;
  font-size: clamp(1.5rem, 3.8vw, 2.2rem);
}

.timetable-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: nowrap;
}

.timetable-nav .btn {
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(109, 124, 171, 0.65);
  background: rgba(190, 203, 233, 0.45);
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
  line-height: 1.1;
}

.timetable-nav .btn:hover:not(:disabled) {
  background: rgba(246, 186, 186, 0.45);
  border-color: rgba(109, 124, 171, 0.9);
  transform: translateY(-1px);
}

.timetable-nav .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.timetable-container {
  width: 100%;
  box-sizing: border-box;
}

.timetable-wrapper {
  width: 100%;
  position: relative;
}

.timetable-mobile {
  display: none;
}

.timetable-time-axis {
  display: flex;
  height: 40px;
  border-bottom: 2px solid var(--text);
  margin-bottom: 10px;
}

.timetable-time-axis-spacer {
  min-width: 150px;
  max-width: 200px;
  border-right: 1px solid var(--text);
}

.timetable-time-axis-labels {
  position: relative;
  flex: 1;
}

.time-marker {
  position: absolute;
  transform: translateX(-50%);
  font-size: clamp(0.75rem, 1vw, 0.9rem);
  color: var(--text);
  font-weight: 500;
}

.timetable-row {
  position: relative;
  display: flex;
  min-height: 50px;
  border-bottom: 1px solid var(--text);
  background-color: var(--vloedgeel);
  margin-bottom: 2px;
}

.timetable-location {
  min-width: 150px;
  max-width: 200px;
  padding: 10px;
  border-right: 1px solid var(--text);
  display: flex;
  align-items: center;
  font-weight: 500;
  background-color: var(--vloedgeel);
}

.timetable-events {
  position: relative;
  flex: 1;
  min-height: 50px;
  padding: 5px 0;
}

.timetable-event {
  position: absolute;
  background-color: var(--vloedroze);
  color: var(--text);
  font-weight: 500;
  padding: 5px 8px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none !important;
  border-radius: 0 !important;
  font-size: clamp(0.8rem, 1vw, 0.95rem);
}

.timetable-event:hover {
  background-color: var(--vloedblauw);
}

/* Current time indicator (desktop: vertical line) */
.timetable-now-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--vloeddonkerblauw);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Mobile vertical timeline */
.timetable-mobile {
  display: none;
}

.timetable-mobile-timeline {
  position: relative;
  min-height: 600px;
  display: flex;
}

.timetable-mobile-time-axis {
  position: relative;
  width: 60px;
  border-right: 2px solid var(--text);
  padding-right: 10px;
}

.timetable-mobile-time-marker {
  position: absolute;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}

.timetable-mobile-events {
  position: relative;
  flex: 1;
  padding-left: 15px;
}

.timetable-mobile-event {
  position: absolute;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  overflow-y: auto;
  box-sizing: border-box;
  margin-right: 2px;
}

.timetable-mobile-event-time {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text);
}

.timetable-mobile-event-location {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-bottom: 4px;
  color: var(--text);
}

.timetable-mobile-event-title {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.3;
  word-wrap: break-word;
}

/* Current time indicator (mobile: horizontal line) */
.timetable-mobile-now-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--vloeddonkerblauw);
  pointer-events: none;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5);
}

/* Mobile responsive - hide desktop timeline, show vertical timeline */
@media (max-width: 768px) {
  .timetable-time-axis,
  .timetable-row {
    display: none;
  }
  
  .timetable-mobile {
    display: block;
  }

  .timetable-nav {
    align-items: center;
    gap: 0.65rem;
  }

  .timetable-nav-buttons {
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
  }

  .timetable-nav .btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.88rem;
    max-width: calc(50vw - 1.25rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .timetable-nav .timetable-title {
    font-size: clamp(1rem, 4.6vw, 1.35rem);
    line-height: 1.2;
    white-space: nowrap;
  }
}

/* ---------- Contact ---------- */
.contact-section {
  background: var(--vloedgeel);
}

.contact-row {
  border-top: none;
  margin-top: 0;
}

.contact-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-newsletter-email {
  padding: 1rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: var(--wit);
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  border-radius: 5px;
}

.contact-newsletter-email::placeholder {
  color: rgba(16, 29, 84, 0.5);
}

.contact-newsletter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  cursor: pointer;
  color: var(--text);
}

.contact-newsletter-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.contact-newsletter-button {
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  border: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.contact-newsletter-button:hover {
  background: var(--vloedblauw);
}

.contact-email-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  margin-top: 1.5rem;
  line-height: 1.8;
}

.contact-email-text a {
  color: var(--vloeddonkerblauw);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-email-text a:hover {
  opacity: 0.7;
  text-decoration: underline;
}

/* ---------- Scanner Login ---------- */
.scanner-login-section {
  background: var(--vloedgeel);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.scanner-login-content {
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
}

.scanner-login-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.scanner-login-form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--text);
  text-align: left;
}

.scanner-login-form input[type="password"] {
  padding: 1rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: var(--wit);
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  border-radius: 5px;
  font-family: inherit;
}

.scanner-login-form button {
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  border: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.scanner-login-form button:hover {
  background: var(--vloedblauw);
}

.scanner-login-content .error-message {
  color: #d32f2f;
  font-weight: 500;
  margin-bottom: 1rem;
}

/* ---------- Scanner Page ---------- */
#reader {
  width: 400px;
  margin: 0 auto;
}

#qr-reader {
  width: 300px;
  margin-bottom: 20px;
}

#scan-result {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  padding: 10px;
}

#scan-again-container {
  display: none;
  text-align: center;
  margin-top: 20px;
}

#scan-again-button {
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  border: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

#scan-again-button:hover {
  background: var(--vloedblauw);
}

/* Scanner page body background colors */
body.scanner-valid {
  background: rgba(106, 175, 80, 0.15);
  color: var(--text);
}

body.scanner-invalid {
  background: rgba(203, 36, 49, 0.15);
  color: var(--text);
}

body.scanner-ready {
  background: var(--wit);
  color: var(--text);
}

/* ---------- Event Footer (Contact Box) ---------- */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-box-column {
  display: flex;
  flex-direction: column;
}

.contact-box-column h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
  margin-bottom: 1.5rem;
  color: var(--wit);
  font-weight: normal;
}

.contact-box-column .text-large {
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  color: var(--wit);
  margin-bottom: 1rem;
  max-width: none;
}

.contact-box-column .text-large a {
  color: var(--wit);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.contact-box-column .text-large a:hover {
  opacity: 0.7;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icons a {
  display: inline-block;
}

.social-icons img {
  width: 32px;
  height: 32px;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.social-icons img:hover {
  opacity: 0.7;
}

footer .center {
  text-align: center;
  margin-top: 2rem;
}

footer .center p {
  margin: 0.5rem 0;
  color: var(--wit);
  font-size: clamp(0.9rem, 1vw, 1rem);
}

footer .center a {
  color: var(--wit);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

footer .center a:hover {
  opacity: 0.7;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  border: 2px solid var(--vloeddonkerblauw);
  background: transparent;
  color: var(--vloeddonkerblauw);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover {
  background: var(--vloeddonkerblauw);
  color: var(--wit);
}
.filter-btn.active {
  background: var(--vloeddonkerblauw);
  color: var(--wit);
}
.events {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 3vw, 4rem);
}

.event {
  min-width: 200px;
  max-width: 350px;
  flex: 0 1 400px;
  border: 1px solid var(--vloedblauw);
  background-color: var(--vloedblauw);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.event a {
  text-decoration: none;
  color: inherit;
  display: block;
}
.event img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.event p {
  padding: .75rem;
}

  /* ---------- Event page ---------- */
.event-content{
  padding-block: unset;
  padding-top: 0;
  margin-top: 0;
  margin-bottom: 5rem;
}
.event-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--text);
  font-weight: normal;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.event-content p {
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  color: var(--text);
  max-width: 60ch;
}
.event-meta h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  color: var(--text);
  font-weight: normal;
  margin-bottom: clamp(2rem, 4vw, 4rem);
}
.event-meta ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.event-meta li {
  font-size: clamp(1.3rem, 1.4vw, 1.5rem);
  color: var(--text);
  margin-bottom: 0.75rem;
}
.event-meta strong {
  font-weight: bold;
}
.event-tickets-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 1rem 2rem;
  background: var(--vloedroze);
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  border-radius: 5px;
  transition: background 0.3s ease;
}
.event-tickets-button:hover {
  background: var(--vloedgeel);
}
.event-subtitle {
  font-size: clamp(1.1rem, 1.4vw, 1.4rem);
  padding: 1rem 0;
  margin: 0;
  color: var(--vloeddonkerblauw);
}
.event-hero {
  margin: 0 0 3rem 0;
  width: 100%;
  max-width: none;
  padding: 0;
  max-height: 800px;
  object-fit: cover;
  overflow: hidden;
}
.event-hero img {
  width: 100%;
  max-width: none;
  display: block;
}
.event-gallery {
  background: var(--vloedroze);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-auto-rows: 10px;
  gap: 1.5rem;
}
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  grid-row: span var(--row-span, 20);
}

/* ---------- Footer ---------- */
footer {
  padding-block: 3rem;
  font-size: 0.9rem;
  background-color: var(--vloeddonkerblauw);
  color: var(--wit);
}

.footer-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.footer-logo img {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.footer-links {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.footer-links a {
  color: var(--wit);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.7;
}

.footer-links-separator {
  margin: 0 0.75rem;
  opacity: 0.5;
}

.footer-newsletter p {
  margin: 0 0 1rem 0;
  font-size: clamp(0.9rem, 1vw, 1rem);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-email {
  padding: 0.75rem;
  border: 1px solid var(--wit);
  background: transparent;
  color: var(--wit);
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-family: inherit;
  border-radius: 5px;
}

.newsletter-email::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  cursor: pointer;
}

.newsletter-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.newsletter-button {
  padding: 0.75rem 1.5rem;
  background: var(--vloedroze);
  color: var(--text);
  border: none;
  font-size: clamp(0.9rem, 1vw, 1rem);
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.newsletter-button:hover {
  background: var(--vloedgeel);
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: var(--wit);
}

/* ---------- Newsletter Popup ---------- */
.newsletter-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 20px));
  background: var(--wit);
  color: var(--text);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: clamp(0.9rem, 1vw, 1rem);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 300px;
  border-left: 4px solid var(--vloedroze);
}

.newsletter-popup.show {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.newsletter-popup-error {
  border-left-color: var(--vloeddonkerblauw);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
  }

  body {
    display: block !important;
    overflow-x: hidden;
  }

  .site-header,
  main,
  section,
  footer,
  .page {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .hero-slideshow {
    height: 100vh;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .burger-menu {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 300px;
    height: 100vh;
    background: var(--vloedblauw);
    flex-direction: column;
    padding: 80px 2rem 2rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    right: 0;
  }

  .nav-list a {
    font-size: 1.2rem;
  }

  /* Page padding - remove fixed left padding */
  .page {
    padding-left: clamp(1rem, 4vw, 1.5rem);
    padding-right: clamp(1rem, 4vw, 1.5rem);
  }
  
  /* Logo - make it relative or smaller */
  .logo {
    position: relative;
    margin-bottom: 1rem;
  }
  
  /* Header - reduce min-height */
  .site-header {
    min-height: auto;
    padding-block: 1rem;
  }
  
  /* Section padding - reduce */
  section {
    padding-block: clamp(2rem, 6vw, 4rem);
  }
  
  /* Event cards - full width on mobile */
  .event {
    min-width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }
  
  /* Filter buttons - smaller padding */
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
  }
  
  .footer-links {
    font-size: 0.9rem;
  }

  /* Title - reduce size for mobile and ensure it fits changing content */
  .title {
    font-size: clamp(1.5rem, 6vw, 2rem);
    min-height: 1.2em;
  }
  
  /* Subtitle - reduce size for mobile */
  .subtitle {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
  
  /* Event page h2s - reduce size for mobile */
  .event-content h2,
  .event-meta h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  /* Team rows - stack vertically on mobile */
  .team-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-col-image {
    order: -1;
  }

  /* Newsletter popup - adjust position for mobile */
  .newsletter-popup {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
  }

  /* Tickets layout - stack vertically on mobile */
  .tickets-layout, .opencall-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Event detail page: prevent cramped 2-column layout on phones */
  .event-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .event-nav {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .event-nav-arrows {
    width: 100%;
    justify-content: space-between;
  }

  .event-content .page {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}