/* ====== Font wie auf Startseite ====== */
@font-face {
  font-family: "ABCSocialEdu";
  src: url("./fonts/ABCSocialEdu-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ====== Reset/Grundlagen ====== */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

/* ====== Body ====== */
body.page-tour {
  background: #000;
  color: #fff;
  font-family: "ABCSocialEdu", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow: auto;
  cursor: none;
  text-transform: uppercase;
}

/* ====== Header oben, immer einzeilig ====== */
.header--top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  text-align: center;
  background: transparent;
  padding: 20px 0;
}

/* ====== Menü ====== */
.menue-flex-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: clamp(8px, 2vw, 30px);
  padding: 0 12px;
  max-width: 100vw;
  overflow: hidden;
}

.menue-flex-container a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(0.72rem, 1.1vw, 1.2rem);
  line-height: 1;
  transition: color .25s ease, transform .25s ease;
}

.menue-flex-container a:hover,
.menue-flex-container a:focus-visible {
  color: #e1ff00;
  transform: scale(1.08);
}

.nav-active {
  color: #e1ff00;
}

/* ====== Custom Cursor ====== */
.custom-cursor {
  width: 25px;
  height: 25px;
  background-color: #e1ff00;
  border-radius: 50%;
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  z-index: 9999;
  transition: transform 0.1s ease;
  transform: translate(-50%, -50%);
}

/* ====== Tour-Liste mittig ====== */
.tour-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 16px 60px;
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ====== Tour-Liste ====== */
.tour-list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: min(900px, 92vw);
  display: grid;
  gap: 20px;
}

/* ====== Eine Zeile = Datum | Stadt | Venue ====== */
.tour-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease;
  padding: 12px 0;
}

.tour-row:hover,
.tour-row:focus-visible {
  color: #e1ff00;
  text-decoration: none;
  transform: scale(1.05);
}

.tour-row .date {
  text-align: left;
}

.tour-row .city {
  text-align: center;
}

.tour-row .venue {
  text-align: right;
}

/* ===== Footer Kontakt-Link ===== */
.footer-link {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center center;
  text-decoration: none;
  color: #ffffff;
  letter-spacing: 0.08em;
  font-weight: 700;
  transition: color .25s ease, transform .25s ease;
  z-index: 15;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #e1ff00;
  transform: translateX(-50%) scale(1.08);
}

/* ===== Vergangene Gigs Toggle ===== */
.tour-toggle-wrap {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.tour-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 22px;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 999px;
  transition: color .25s ease, border-color .25s ease, transform .25s ease;
}

.tour-toggle:hover,
.tour-toggle:focus-visible {
  color: #e1ff00;
  border-color: #e1ff00;
  transform: translateY(-1px);
}

/* ===== Vergangene Gigs standardmässig ausblenden ===== */
.past-gig.is-hidden {
  display: none;
}

/* ===== Jahres-Trenner ===== */
.year-sep {
  margin-top: 18px;
  opacity: 0.7;
  letter-spacing: 0.12em;
  text-align: center;
}

.year-sep span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

/* ===== Vergangene Gigs: kein Hover-Effekt ===== */
.past-gig .tour-row,
.past-gig .tour-row:hover,
.past-gig .tour-row:focus-visible {
  color: #fff;
  transform: none;
  cursor: default;
}

.past-gig {
  opacity: 0.75;
}

.is-hidden {
  display: none;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  /* Menü: gleiche Logik wie Desktop, nur weniger Rand links/rechts */
  .menue-flex-container {
    padding: 0 6px; /* halbiert */
    gap: clamp(6px, 1.6vw, 24px);
  }

  /* Tour-Liste auf Mobile kompakter */
  .tour-row {
    grid-template-columns: 120px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    row-gap: 4px;
    font-size: 1.1rem;
    padding: 12px 0;
  }

  .tour-row .date {
    grid-column: 1;
    grid-row: 1 / span 2;
    text-align: left;
    white-space: nowrap;
  }

  .tour-row .city {
    grid-column: 2;
    grid-row: 1;
    text-align: right;
    justify-self: end;
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .tour-row .venue {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    justify-self: end;
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* ===== Transition Helper ===== */
:root {
  --ease-soft: cubic-bezier(.22, .61, .36, 1);
}

/* ===== Disable custom cursor on touch devices ===== */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor {
    display: none !important;
  }

  body {
    cursor: auto !important;
  }
}