* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #09090b;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: #111114;
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #c8c8cf;
  --soft: #a0a0aa;
  --accent: #ff0000;
  --container: 1280px;
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

img, video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section--alt {
  background:
    linear-gradient(180deg, transparent, rgba(95, 41, 41, 0.55) 12%, rgba(95, 41, 41, 0.55) 88%, transparent);
}

.section__header { margin-bottom: 2rem; }

.eyebrow {
  color: #fd7474;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  line-height: 1;
  margin-bottom: 0.75rem;
}

h2 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

h3 { font-size: 1.5rem; }

.hero {
  position: relative;
  overflow: hidden;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 14vh;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--bg));
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), rgba(9, 9, 11, 0.75));
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.5rem;
  padding: 2.5rem 0 6.5rem;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.brand {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.brand__logo {
  width: 10rem;
  height: 10rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel);
  overflow: hidden;
  flex-shrink: 0;
}

.brand p {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.3rem;
  border-radius: var(--radius-lg);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover { transform: translateY(-1px); }

.btn--primary {
  background: var(--accent);
  color: white;
}

.btn--secondary {
  background: var(--panel);
  border: 1px solid var(--border);
}

.hero__side {
  display: grid;
  gap: 1rem;
}

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius-xl);
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.media-card { box-shadow: var(--shadow); }

.media-frame,
.media-frame2,
.video-wrapper,
.map-card {
  display: flex;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
}

.media-frame { aspect-ratio: 16 / 10; }
.media-frame2 { aspect-ratio: 20 / 10; }

.media-frame img,
.media-frame2 img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}
.video-wrapper { aspect-ratio: 16 / 9; }

.countdown-panel {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.countdown-panel__heading {
  text-align: center;
  color: #fdba74;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.countdown-item {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  text-align: center;
}

.countdown-item__value {
  display: block;
  font-size: 2rem;
  font-weight: 900;
}

.countdown-item__label {
  display: block;
  margin-top: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--soft);
}

.status-panel {
  min-height: 132px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(to right, rgba(249, 115, 22, 0.2), rgba(239, 68, 68, 0.1), rgba(249, 115, 22, 0.2));
  text-align: center;
  padding: 2rem 1.5rem;
}

.status-panel__label {
  color: #fdba74;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  font-weight: 700;
}

.status-panel__title {
  margin-top: 0.7rem;
  font-size: 2.2rem;
  font-weight: 900;
}

.status-panel__text {
  margin-top: 0.4rem;
  color: var(--muted);
}

.is-hidden { display: none; }

.artists-grid,
.gallery-grid,
.program-grid,
.contact-grid,
.two-col {
  display: grid;
  gap: 1.5rem;
}

.artists-grid { margin-top: 2rem; }


.artist-card,
.schedule-card,
.info-card,
.contact-card {
  border: 1px solid var(--border);
  background: linear-gradient(to bottom right, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.artist-card {
  text-align: center;
}

.artist-card h3 {
  margin-top: 0.75rem;
}
.artist-card__image img {
  transition: transform 0.4s ease;
}

.artist-card h3 {
  transition: color 0.3s ease;
}

.artist-card:hover .artist-card__image img {
  transform: scale(1.08);
}

.artist-card:hover h3 {
  color: #ef4444;
}
.artist-card__image,
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--panel-strong);
}

.artist-card__image {
  aspect-ratio: 4 / 3;
  margin-bottom: 1rem;
}

.schedule-card h3 { margin-bottom: 1rem; }

.schedule-list {
  display: grid;
  gap: 0.75rem;
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  padding: 0.9rem 1rem;
}

.schedule-item span:first-child {
  color: #fdba74;
  font-weight: 700;
}

.gallery-grid { margin-top: 2rem; }

.gallery-item { aspect-ratio: 4 / 3; }

.sponsor-block { margin-top: 2rem; }
.sponsor-block h3 { margin-bottom: 1rem; }

.sponsor-block--small h3 {
  font-size: 1.15rem;
  color: var(--muted);
}

.sponsor-marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: var(--panel);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.sponsor-marquee--large { padding: 1.25rem 0; }
.sponsor-marquee--small { padding: 1rem 0; }

.sponsor-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0 1rem;
  will-change: transform;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--panel-strong);
  overflow: hidden;
  flex-shrink: 0;
}

.sponsor-logo--large {
  width: 224px;
  height: 96px;
}

.sponsor-logo--small {
  width: 160px;
  height: 64px;
}

.info-list,
.contact-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.75rem;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.3);
}

.footer__inner {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer small {
  color: var(--soft);
}

.socials {
  display: flex;
  gap: 0.75rem;
}

.icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* === Scroll reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Gestaffelde reveal binnen grids */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.00s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (min-width: 768px) {
  .hero__grid,
  .two-col,
  .contact-grid,
  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .artists-grid,
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .countdown-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .brand { align-items: flex-start; }
  .schedule-item { flex-direction: column; }
}


.two-col,
.contact-grid {
  margin-top: 2rem;
}

/* === Toegankelijkheid: zichtbare focus voor toetsenbordnavigatie === */
a:focus-visible,
.btn:focus-visible,
.icon:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* === Galerij klikbaar === */
.gallery-item {
  display: block;
  padding: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.gallery-item img {
  transition: transform 0.4s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.05);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* === Lightbox === */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(8px);
  animation: lightbox-in 0.25s ease;
}

.lightbox[hidden] { display: none; }

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

.lightbox__figure {
  margin: 0;
  max-width: min(92vw, 1100px);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.lightbox__img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--panel-strong);
}

.lightbox__counter {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.lightbox__close,
.lightbox__nav {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 3rem;
  height: 3rem;
  font-size: 1.8rem;
  line-height: 1;
}

.lightbox__nav {
  width: 3.25rem;
  height: 3.25rem;
  font-size: 2rem;
  line-height: 1;
}

@media (max-width: 640px) {
  .lightbox__nav {
    position: absolute;
    bottom: 1.25rem;
    width: 3rem;
    height: 3rem;
  }
  .lightbox__nav--prev { left: 1.25rem; }
  .lightbox__nav--next { right: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { animation: none; }
  .gallery-item img { transition: none; }
}
