:root {
  --text-color: #fff;
  --bg-color: #000;
  --max-width: 900px;
  --transition-speed: 400ms;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow: hidden;
}

main {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

section {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  padding: 6rem 2rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  overflow-y: auto;
  transition: opacity var(--transition-speed) ease, visibility 0s linear var(--transition-speed);
}

section.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
  z-index: 1;
}

h1 {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

p, div {
  max-width: var(--max-width);
  line-height: 1.6;
  font-size: 1.1rem;
}

/* Navigation */
nav a {
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.3rem;
  position: relative;
}

nav a.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: currentColor;
  opacity: 0.8;
}

/* Konzertliste */
.concert-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  min-height: 100vh;
}

.concert-year {
  display: none;
}

.concert-year.visible {
  display: block;
}

.concert {
  margin-bottom: 2rem;
  width: 100%;
}

.concert strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.concert .details {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.concert .private {
  font-style: italic;
  opacity: 0.7;
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.concert .tickets a {
  color: var(--text-color);
  text-decoration: underline;
  font-weight: bold;
}

/* Jahres-Navigation */
.year-selector {
  position: fixed;
  left: 2rem;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 1000;
}

.year-selector button {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.year-selector button.active,
.year-selector button:hover {
  opacity: 1;
  font-weight: bold;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .year-selector {
    position: static;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .concert-list {
    padding: 0 1rem;
  }
}