:root {
  color-scheme: dark;
  --bg: #061013;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.095);
  --text: #f6f1e7;
  --muted: #aeb9bb;
  --line: rgba(246, 241, 231, 0.16);
  --sitter: #9b2a83;
  --sternen: #ff4f26;
  --intro: #35788a;
  --plaza: #dff5f2;
  --daydance: #18d6d2;
  --campo: #f3b43f;
  --accent: #d5ff42;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 79, 38, 0.24), transparent 32rem),
    radial-gradient(circle at 8% 18%, rgba(24, 214, 210, 0.22), transparent 28rem),
    linear-gradient(140deg, #061013 0%, #0d2022 52%, #160e18 100%);
}

a {
  color: inherit;
}

.site-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.2rem clamp(1rem, 4vw, 4rem) 1.3rem;
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--accent);
  font-size: clamp(0.88rem, 1.7vw, 1.08rem);
  font-weight: 800;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.05rem, 5.4vw, 5.2rem);
  line-height: 0.93;
  letter-spacing: 0;
  text-transform: uppercase;
}

.source {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.pdf-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 750;
  text-decoration: none;
}

.day-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.5rem;
  padding: 0.75rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 16, 19, 0.88);
  backdrop-filter: blur(14px);
}

.day-nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 2.65rem;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.day-nav a.active {
  border-color: rgba(213, 255, 66, 0.72);
  color: #071013;
  background: var(--accent);
}

main {
  padding: 1.35rem clamp(1rem, 4vw, 4rem) 3.5rem;
}

.day-panel {
  display: none;
}

.day-panel.active {
  display: block;
}

.day-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0 1.25rem;
}

.day-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  letter-spacing: 0;
  text-transform: uppercase;
}

.day-head span {
  color: var(--muted);
  font-weight: 750;
}

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

.stage {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.stage-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3rem;
  padding: 0 0.9rem;
  color: #071013;
  font-size: 1.03rem;
  font-weight: 900;
  text-transform: uppercase;
}

.stage[data-stage="Sitterbuehne"] .stage-title { background: var(--sitter); color: white; }
.stage[data-stage="Sternenbuehne"] .stage-title { background: var(--sternen); color: #111; }
.stage[data-stage="INTRO"] .stage-title { background: var(--intro); color: white; }
.stage[data-stage="Plaza"] .stage-title { background: var(--plaza); color: #111; }
.stage[data-stage="Day Dance"] .stage-title { background: var(--daydance); color: #111; }
.stage[data-stage="Campo"] .stage-title { background: var(--campo); color: #111; }

.events {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}

.event {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  min-height: 2.55rem;
  padding: 0.45rem 0.85rem;
}

.event + .event {
  border-top: 1px solid rgba(246, 241, 231, 0.08);
}

.time {
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.artist {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.02rem;
  font-weight: 740;
}

.empty {
  padding: 1rem 0.85rem 1.15rem;
  color: var(--muted);
}

footer {
  padding: 1.5rem clamp(1rem, 4vw, 4rem) 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 680px) {
  .day-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stage-grid {
    grid-template-columns: 1fr;
  }

  .event {
    grid-template-columns: 3.8rem 1fr;
  }
}
