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

/* ====== Reset ====== */
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

/* ====== Seite ====== */
body.page-music {
  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 .1s ease;
  transform: translate(-50%, -50%);
}

/* ====== Layout: Zentrum + Spalten ====== */
.music-center {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 120px 16px 60px;
  position: relative;
  z-index: 1;
}

/* ====== Bilder vertikal untereinander ====== */
.music-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: min(600px, 85vw);
}

/* ====== Einzelne Kachel ====== */
.tile {
  position: relative;
  width: 100%;
}

.tile-link {
  display: block;
  position: relative;
  width: 100%;
  height: auto;
  text-decoration: none;
  outline: none;
  z-index: 0;
}

/* ====== Bild/Video selbst ====== */
.tile-link img,
.music-video {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  border-radius: 0;
  object-fit: cover;
  transition: opacity .35s ease;
  opacity: 0.96;
  position: relative;
  z-index: 1;
}

/* ====== RAHMEN-SCHEIN: Licht hinter der Kante ====== */
.tile-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  box-shadow:
    0 0 30px 12px rgba(225,255,0,0.25),
    0 0 60px 24px rgba(225,255,0,0.15);
  opacity: 0;
  transition: opacity .45s ease;
  z-index: -1;
  pointer-events: none;
  background: transparent;
}

.tile-link:hover::before,
.tile-link:focus-visible::before {
  opacity: 1;
}

.tile-link:hover img,
.tile-link:focus-visible img,
.tile-link:hover .music-video,
.tile-link:focus-visible .music-video {
  opacity: 1;
}

/* ====== Video-Block ====== */
.video-tile {
  position: relative;
  width: 100%;
}

/* ====== Footer-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);
}

:root {
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

/* ====== Mobile ====== */
@media (max-width: 768px) {
  .menue-flex-container {
    padding: 0 6px;               /* vorher 12px, jetzt halbiert */
    gap: clamp(6px, 1.6vw, 24px);
  }

  .music-grid {
    gap: 30px;
    width: 94vw;
  }
}

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

  body {
    cursor: auto !important;
  }
}