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

html {
  font-size: clamp(16px, 0.9vw, 24px);
}

::selection {
  background: black;
  color: #f5f5f5;
}

:root {
  --sidebar-w: 30%;
  --mobile-header-h: 4rem;
}

/* ========================= LAYOUT ========================= */
body {
  display: block;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.75);
  font-family: 'Roboto Mono', monospace;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}

.sidebar {
  position: fixed;
  left: 0; top: 0;
  width: var(--sidebar-w);
  height: 100vh;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f5f5f5;
  overflow-y: auto;
  font-family: 'Roboto Mono', monospace;
  color: rgba(0, 0, 0, 0.75);
  text-transform: uppercase;
  z-index: 100;
}

.content {
  margin-left: var(--sidebar-w);
  width: calc(100% - var(--sidebar-w));
  height: 100vh;
  overflow: hidden;
  position: relative;
  font-family: 'Roboto Mono', monospace;
}

/* ========================= CURSOR STYLE ========================= */

.carousel-left {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8'/%3E%3C/svg%3E") 2 16, w-resize;
  z-index: 5;
}

.carousel-right {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E") 30 16, e-resize;
  z-index: 5;
}

/* ========================= CROSSFADE SECTIONS ========================= */

.section-wrap,
.releases-section,
.about-section {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
}

.section-wrap.leaving,
.releases-section.leaving,
.about-section.leaving {
  opacity: 1;
  z-index: 1;
}

.section-wrap.active,
.releases-section.active,
.about-section.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 0.7s ease;
}

.section-fullscreen img:not(.plakat-img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ========================= HERMES LÄUFT ========================= */
.hermes-run-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
}

.hermes-run-img {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 38%;
  opacity: 0;
  transform: translateX(-150%);
  mix-blend-mode: invert;
  pointer-events: none;
}

@keyframes hermes-lauft {
  0%   { transform: translateX(-150%) translateY(0%);   opacity: 1; animation-timing-function: ease-in-out; }
  18%  { transform: translateX(-67%)  translateY(-7%);  opacity: 1; animation-timing-function: ease-in-out; }
  35%  { transform: translateX(11%)   translateY(-2%);  opacity: 1; animation-timing-function: ease-in-out; }
  52%  { transform: translateX(89%)   translateY(-13%); opacity: 1; animation-timing-function: ease-in-out; }
  66%  { transform: translateX(154%)  translateY(-8%);  opacity: 1; animation-timing-function: ease-in-out; }
  82%  { transform: translateX(227%)  translateY(-16%); opacity: 1; animation-timing-function: ease-in-out; }
  100% { transform: translateX(310%)  translateY(-12%); opacity: 1; }
}

.sidebar:has(h1:hover) .hermes-run-img,
.sidebar.hermes-animate .hermes-run-img {
  animation: hermes-lauft 4.5s ease-out forwards;
}

@media (max-width: 900px) {
  .hermes-run-stage {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 190;
    width:250%;
  }
}

/* ========================= SIDEBAR TITLE ========================= */
.sidebar h1 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.55rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Ccircle cx='8' cy='8' r='6' fill='black'/%3E%3C/svg%3E") 8 8, pointer;
}

.sidebar h2 {
  font-size: 0.55rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.intro {
  font-size: 0.55rem;
  line-height: 1.3;
  margin-bottom: 1.1rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.066em;
  cursor: pointer;
}

.intro:hover .kw {
  font-weight: bold;
}


/* ========================= MENU ========================= */
.menu-section {
  margin-bottom: 0.3rem;
}

.menu-title-box {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 400;
  background: white;
  color: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(0, 0, 0, 0.75);
  border-radius: 999px;
  padding: 0 0.4rem;
  margin-bottom: 0.15rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  letter-spacing: 0.05em;
}

.menu-section:has(.tree-item.active) .menu-title-box,
body.about-page-active .menu-section:has([data-nav="about"]) .menu-title-box {
  background: black;
  color: white;
  border-color: black;
}

.menu-title-box[data-nav] {
  cursor: pointer;
}

.tree {
  padding-left: 0.5em;
}

.tree-item {
  position: relative;
  margin-bottom: 0.15rem;
}

.tree-item a:hover,
.tree-item.active a {
  background: none;
  color: rgba(0, 0, 0, 0.75);
  font-weight: 600;
}

.tree-item a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  font-weight: 400;
  margin-top: 1px;
}

.tree-item a .grid-3,
.tree-item a .row {
  min-width: 0;
  border-bottom: 1px dotted black;
}

.tree-item a::after {
  content: '';
  display: block;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  flex-shrink: 0;
  margin-left: 0.4rem;
  transition: opacity 0.2s;
}

.tree-item a:hover::after,
.tree-item.active a:not([data-person]):not([data-release])::after,
.tree-item.person-selected a::after,
.tree-item.release-selected a::after,
.tree-item a.person-active::after {
  opacity: 1;
}

.tree-item.active .nav-link[data-person],
.tree-item.active .nav-link[data-release] {
  font-weight: 400;
}

.tree-item.person-selected .nav-link[data-person],
.tree-item.active .nav-link[data-person]:hover,
.nav-link[data-person].person-active,
.tree-item.release-selected .nav-link[data-release],
.tree-item.active .nav-link[data-release]:hover {
  font-weight: 600;
}


.grid-3 {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.4rem;
  font-size: 0.5rem;
}

.grid-3 span:last-child { text-align: right; }

.row { font-size: 0.5rem; }

/* ========================= SIDEBAR BOTTOM ========================= */
.sidebar-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: -0.4rem;
}

.contact { font-size: 0.5rem; text-transform: none; }

.socials { display: flex; gap: 0.8em;}
.socials a { width: 1em; height: 1em; display: block; transition: 0.2s; }
.socials a:hover { transform: translateY(-3px); transition: 0.2s; }
.socials svg { width: 100%; height: 100%; stroke: rgba(0, 0, 0, 0.85); fill: none; stroke-width: 1.2; }
.socials a:last-child svg { fill: rgba(0, 0, 0, 0.75); stroke: none; }


/* ========================= BG MEDIA ========================= */
.bg-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .bg-media {
    object-position: var(--mobile-x, 50%) center;
  }
}

.bg-pub {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#dates-2024:has(.pub-hover:hover) .bg-pub {
  opacity: 1;
}


.section-fullscreen > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========================= OVERLAY HEADER ========================= */
.overlay-header-wrap {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  z-index: 10;
}

/* ── Individuelle Positionierung pro Work-Section ── */

/* Schimmelreiter: Body links, 40% Breite */
#work-1 .overlay-header-body  { left: 1rem; right: 1rem; column-count: 2; }

/* Longing: Body rechts, 30% Breite */
#work-2 .overlay-header-body  { left: 1rem; right: auto; top: auto; bottom: 1rem; width: 66%; column-count: 1; }

/* Pipe Organ: Body links, 20% Breite, tiefer versetzt */
#work-3 .overlay-header-body  { left: 1rem; right: auto; width: 30%; top: auto; bottom: 1rem; column-count: 1; }

/* Skateland: Body rechts, 40% Breite */
#work-4 .overlay-header-body  { left: auto; right: 2.5rem; width: 35%; column-count: 1; }

/* w/ Frank Koenen: Body rechts, 40% Breite */
#work-5 .overlay-header-body  { left: 1rem; right: auto; top: auto; bottom: 1rem; width: 25%; column-count: 1; }

.overlay-header {
  position: static;
  flex: 1;
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0.65rem;
  padding: 0.2rem 0.45rem;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.5rem;
  text-transform: uppercase;
  cursor: pointer;
  align-items: center;
}

.overlay-header:hover {
  font-weight: 600;
}

.overlay-toggle-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem 0.45rem;
  background: #f5f5f5;
  border: none;
  color: rgba(0, 0, 0, 0.75);
  cursor: pointer;
}

.overlay-toggle-btn:hover {
  font-weight: 600;
}

.overlay-toggle-icon {
  display: inline-block;
  font-size: 0.6rem;
  line-height: 1;
}

.overlay-header-body {
  position: absolute;
  top: 2.75rem;
  left: 1.25rem;
  right: 1.25rem;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.75);
  font-size: 0.55em;
  padding: 0 0.5rem;
  text-transform: none;
  letter-spacing: -0.066em;
  line-height: 1.3;
  z-index: 10;
  column-count: 2;
  column-gap: 3.5em;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.overlay-header-body.open {
  max-height: min(14rem, 60vh);
  padding: 0.5rem;
}

.overlay-header span:last-child { text-align: right; }

.more-trigger {
  cursor: pointer;
}

.credits {
  font-size: 0.45rem;
  color: rgba(0, 0, 0, 0.75);
  font-weight:400;
  font-family: 'Inter', sans-serif;
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

/* ── Schwebendes Bild (Skateland / Longing) ── */
.dot-preview {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  width: clamp(7rem, 15vw, 11rem);
  z-index: 20;
}

.dot-preview img {
  width: 100%;
  display: block;
}

.dot-preview.visible {
  opacity: 1;
}

/* ── Schwebendes Bild rechts (Pipe Organ) ── */
.dot-preview-right {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  width: clamp(7rem, 15vw, 11rem);
  z-index: 20;
}

.dot-preview-right img {
  width: 100%;
  display: block;
}

.dot-preview-right.visible {
  opacity: 1;
}

.section-preview {
  position: absolute;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 10;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, max-height 0.35s ease;
  margin-left: 2.25rem;
}

.section-preview.visible {
  pointer-events: auto;
}

.section-preview.visible {
  opacity: 1;
  max-height: 100%
}

.section-preview img {
  width: 100%;
  display: block;
  object-fit: cover;
}

/* ── Individuelle Preview-Positionen & Größen ── */
/* Schimmelreiter: unterhalb der Infobox */
#preview-schi {
  left: 1rem;
  right: 1rem;
  top: calc(1.25rem + 1.5rem + 3.75rem);
  bottom: 3.75rem;
  width: auto;
  max-height: none;
  transform: none;
  margin: 0;
}

#preview-schi img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: none;
}

/* Skateland: links neben der Infobox */
#preview-skateland {
  right: auto;
  left: 14%;
  top: 15%;
  width: 33%;
}

/* Pipe Organ: rechts neben der Infobox */
#preview-organ {
  left: 40%;
  top: auto;
  bottom: 15%;
  width: 32%;
}

/* Longing: oberhalb der Infobox */
#preview-longing {
  left: 44%;
  right: auto;
  top: auto;
  bottom: 26%;
  width: 40%;
}

/* Frank Koenen: links, mittig */
#preview-frank {
  left: 42%;
  right: auto;
  top: 15%;
  bottom: auto;
  width: 30%;
}

/* ========================= OVERLAY INFO ABOUT========================= */

.overlay-info-about1 {
  position: absolute;
  background: #f5f5f5;
  padding: 0.25rem;
  font-size: 0.5rem;
  line-height: 1.4;
  text-transform: none;
  z-index: 10;
}


/* ========================= VIDEO PLAYER ========================= */
.video-player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.4rem;
  font-size: 0.55rem;
  background-color: transparent;
  width: 100%;
}

.video-player .play {
  width: 2em; height: 2em;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.85);
  font-size: 0.7rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: 0.6s;
  font-family: 'Roboto Mono', monospace;
}

.video-player .play:hover {
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.75);
}

.video-player .progress {
  width: 7.5rem; height: 3px;
  background: rgba(187, 185, 185, 0.767);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  opacity: 1;
}

.video-player .progress-bar {
  height: 100%; width: 0%;
  background: #f5f5f5;
  transition: width 0.1s linear;
  border-radius: 999px;
}

/* ========================= AUDIO PLAYER ========================= */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #f5f5f5;
  padding: 0.25rem 0.75rem;
  font-size: 0.5rem;
  width: 100%
}

/* ========================= BOTTOM PLAYER ========================= */
.bottom-player-wrap {
  position: absolute;
  bottom: 0.55rem;
  right: 1.25rem;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
}

.bottom-player-toggle {
  background: #f5f5f5;
  border: none;
  padding: 0.2rem 0.65rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.5rem;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
}

.bottom-player-toggle:hover {
  background: rgba(0, 0, 0, 0.75);
  color: #f5f5f5;
}

.bottom-player-body {
  max-width: 0;
  overflow: hidden;
  transition: max-width 0.35s ease;
}

.bottom-player-body.open {
  max-width: min(16.5rem, 65vw);
}

.bottom-player-body .video-player,
.bottom-player-body .audio-player {
  white-space: nowrap;
  padding: 0.25rem 0.4rem;
  background: transparent;
  width: auto;
  gap: 0.5rem;
}

.bottom-player-body .audio-player .play {
  width: 2em; height: 2em;
  border-radius: 50%;
  border: none;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.85);
  font-size: 0.7rem;
}

.bottom-player-body .audio-player .play:hover {
  background: #f5f5f5;
}

.bottom-player-body .audio-player .progress {
  width: 7.5rem; height: 3px;
  background: rgba(187, 185, 185, 0.767);
  border-radius: 999px;
}

.bottom-player-body .audio-player .progress-bar {
  background: #f5f5f5;
  border-radius: 999px;
}

.bottom-player-body .audio-label {
  display: none;
}

/* ========================= CAROUSEL ========================= */
.carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-counter {
  display: none;
}

@media (max-width: 900px) {
  .carousel-counter {
    display: block;
    position: absolute;
    bottom: 1.15rem;
    left: 1rem;
    z-index: 6;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.7rem;
    color: whitesmoke;
    pointer-events: none;
    letter-spacing: 0.05em;
  }
}

.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: whitesmoke;
  font-size: 2rem;
  cursor: pointer;
  z-index: 5;
  padding: 0 0.65rem;
}
.carousel-prev { left: 0.65rem; }
.carousel-next { right: 0.65rem; }

/* ========================= RELEASES SECTION ========================= */

.releases-section {
  overflow: hidden;
}

/* Hintergründe */
.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.6s ease;
}

.bg-only-a-picture {
  background-image: url('./pictures/Only-A_bg.jpg');
}

.bg-noch-einmal {
  background-image: url('./pictures/nur-noch-bg.jpg');
}

/* Kassetten */
.cassettes-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.cassette {
  position: absolute;
  transition: all 0.6s ease;
}

.cassette-img {
  width:  var(--img-w, 120%);
  height: var(--img-h, 80%);
  filter: drop-shadow(4px 6px 12px rgba(0, 0, 0, 0.5));
  display: block;
}

/* ── Kassetten: Position & Scale hier anpassen ──────────────────── */

.cassette-oap {
  --left:  6rem;
  --top:   1rem;
  --scale: 1;
  --img-w: 55%;
  --img-h: 55%;
  left:      var(--left);
  top:       var(--top);
  transform: scale(var(--scale));
  transform-origin: top left;
  z-index: 10;
}

.cassette-noch {
  --left:  5%;
  --top:   2%;
  --scale: 1;
  --img-w: 55%;
  --img-h: 55%;
  left:      var(--left);
  top:       var(--top);
  transform: scale(var(--scale));
  transform-origin: top left;
  z-index: 5;
}

/* Info-Panel */
.info-panel {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: min(21rem, 90%);
}

.release-row-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}

.release-row {
  background: #f5f6f4;
  overflow: hidden;
  flex: 1;
}

.release-header {
  display: flex;
  align-items: center;
  padding: 0.2rem 0.4rem;
  cursor: pointer;
  user-select: none;
  gap: 0.4rem;
}

.release-header:hover {
  font-weight: 600;
}

.release-year {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  min-width: 2rem;
}

.release-title {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  flex: 1;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.release-row:has(.release-body.open) .release-header {
  position: relative;
  padding-bottom: 0.45rem;
}

.release-row:has(.release-body.open) .release-header::after {
  content: '';
  position: absolute;
  bottom: 0.2rem;
  left: 0.4rem;
  right: 0.4rem;
  height: 1px;
  background: rgba(0, 0, 0, 0.75);
}

.release-type {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  min-width: 1.4rem;
  text-align: right;
}

.toggle-btn {
  width: 1rem;
  height: 1rem;
  background: #f5f5f5;
  color: rgba(0, 0, 0, 0.85);
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
  font-family: 'Roboto Mono', monospace;
  line-height: 1;
}

.toggle-btn:hover {
  background: #f5f5f5;
}

.release-row-wrapper .toggle-btn {
  height: auto;
  padding: 0.2rem 0.25rem;
  line-height: normal;
  font-size: 0.55rem;
}

.about-person-wrapper .toggle-btn {
  height: auto;
  padding: 0.2rem 0.25rem;
  line-height: normal;
  font-size: 0.55rem;
}

/* Aufklapp-Body */
.release-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.release-body.open {
  max-height: min(18rem, 65vh);
}

.release-body-inner {
  padding: 0.65rem 0.65rem 0.5rem;
}

.release-desc {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.3;
  margin-bottom: 0.65rem;
  letter-spacing: -0.066em;
  font-family: 'Roboto Mono', monospace;
}

.tracklist {
  list-style: none;
  margin-bottom: 0.65rem;
  margin-top: 0.65rem;
  padding-top: 0.5rem;
}

.tracklist li {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  display: flex;
  padding: 0 0 0.15rem;
  border-top: 1px dotted rgba(0, 0, 0, 0.75);
  font-family: 'Roboto Mono', monospace;
}

.track-num {
  min-width: 1.9rem;
  color: rgba(0, 0, 0, 0.75);
}

.track-title {
  flex: 1;
}

.track-dur {
  color: rgba(0, 0, 0, 0.75);
}

.bandcamp-link {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  font-weight: 450;
  display: block;
  text-align: right;
  margin-top: 1.9rem;
  font-family: 'Roboto Mono', monospace;
}

.bandcamp-link:hover {
  text-decoration: underline;
}

/* ========================= ABOUT SECTION ========================= */

.section-fullscreen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── About Section ──────────────────────────────────────────────── */

.about-section {
  background-image: url('./pictures/About.webp');
  background-size: cover;
  background-position: center;
}

.about-body {
  position: absolute;
  top: 1rem;
  width: clamp(12rem, 20vw, 18rem);
  background: #f5f5f5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.about-body-left  { left: 1rem; }
.about-body-right { right: 1rem; }

.about-body.open {
  max-height: min(25rem, 70vh);
}

.about-body-inner {
  padding: 0.65rem 0.65rem 0.5rem;
}

.about-desc {
  font-size: 0.55rem;
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.3;
  letter-spacing: -0.066em;
  font-family: 'Roboto Mono', monospace;
}


.about-credits {
  position: absolute;
  bottom:0.5rem;
  right: 0.5rem;
  font-size: 0.4rem;
  color: rgba(199, 198, 198, 0.55);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05em;
  z-index: 3;
}

.about-name-triggers { display: none; }

.release-credits {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  transform: translateY(-50%);
  font-size: 0.5rem;
  color: rgb(238, 238, 238);
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: 0.05em;
  writing-mode: vertical-rl;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.6s ease;
  
}


/* ========================= MOBILE ========================= */
.sidebar-toggle-btn { display: none; }

@media (max-width: 900px) {
  html { font-size: 18px; }
  :root { --mobile-header-h: 1.5rem; }

  body { display: block; }

  /* Sidebar: schwarzer Balken am oberen Bildrand */
  .sidebar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: auto;
    max-height: 100vh;
    overflow-y: auto;
    z-index: 200;
    padding: 0;
    display: block;
    opacity: 1;
  }

  .sidebar .top { padding: 1rem 1.8rem 0; }
  .sidebar .sidebar-bottom { padding: 1.5rem 1.5rem 1.5rem; }

  /* Eingeklappt: nur der Balken */
  .sidebar.collapsed {
    height: 1.5rem;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.85);
    font-family: Inter;
  }

  /* Content füllt den Bereich unter der Sidebar */
  .content {
    margin-left: 0;
    width: 100%;
    height: 100dvh;
    overflow: hidden;
    position: relative;
  }

  /* Sections füllen den vollen Viewport, Sidebar schwebt drüber */
  .section-wrap,
  .releases-section,
  .about-section {
    top: 0;
  }

  .sidebar-brand-label { display: none; }
  .sidebar.collapsed .sidebar-brand-label { display: inline; }
  #sidebar-toggle-label { margin-left: auto; font-size: 0.4rem;  font-weight: 400;}

  .sidebar-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 1.5rem;
    padding: 0 0.5rem 0 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: #f5f5f5;
    background: rgba(0, 0, 0, 0.85);
    border: none;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: 0.07em;
  }

  .tree { padding-left: 0; margin-bottom: 0.6rem; }

  .tree-item a .grid-3,
  .tree-item a .row { border-bottom: none; }
  .tree-item a { border-bottom: 1px dotted black; }
  .tree-item a::after { display: none; }

  /* Menu-Titles: Linien statt Box */
  .menu-title-box {
    display: block;
    background: none;
    color: rgba(0, 0, 0, 0.75);
    border: none;
    border-top: 1.4px solid rgba(0, 0, 0, 0.85) display none;
    border-bottom: 1.4px solid rgba(0, 0, 0, 0.85);
    border-radius: 0;
    padding: 0.05rem 0;
    margin-bottom: 0.15rem;
    letter-spacing: 0rem;
    font-weight: 600;
  }

  .menu-section:has(.tree-item.active) .menu-title-box,
  body.about-page-active .menu-section:has([data-nav="about"]) .menu-title-box,
  body.releases-page-active .menu-section:has([data-nav="releases"]) .menu-title-box {
    background: none;
    color: rgba(0, 0, 0, 0.75);
    border-color: black;
    font-weight: 600;
  }

  /* Overlay-Header: schmalere erste Spalte */
  .overlay-header { grid-template-columns: 2rem 1fr auto; }

  /* Marquee für lange Titel */
  .overlay-header span:nth-child(2) {
    overflow: hidden;
    white-space: nowrap;
  }

  .ticker-inner {
    display: inline-block;
    white-space: nowrap;
    animation: overlay-ticker 8s linear infinite;
  }

  @keyframes overlay-ticker {
    0%, 20%   { transform: translateX(0); }
    65%, 85%  { transform: translateX(var(--ticker-dist, 0px)); }
    86%, 100% { transform: translateX(0); }
  }

  /* Overlay-Wrap + Body: Breite passend zum Info-Panel (1rem Rand) */
  .overlay-header-wrap {
    left: 0.5rem;
    right: 0.5rem;
    top: 2.35rem;
  }


  .overlay-header-body,
  #work-1 .overlay-header-body,
  #work-2 .overlay-header-body,
  #work-3 .overlay-header-body,
  #work-4 .overlay-header-body,
  #work-5 .overlay-header-body {
    top: 3.9rem;
    bottom: auto;
    left: 0.5rem;
    right: 0.5rem;
    width: auto;
    column-count: 1;
  }

  /* Fullscreen-Preview bei Touch */
  .preview-fs-overlay {
    position: fixed;
    top: 1.5rem;
    left: 0; right: 0; bottom: 0;
    background: black;
    z-index: 500;
    overflow: hidden;
  }

  @keyframes preview-slide {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  .preview-fs-track {
    display: flex;
    height: 100%;
    width: max-content;
    animation: preview-slide 10s linear infinite;
  }

  .preview-fs-layer {
    height: 100%;
    width: auto;
    display: block;
    flex-shrink: 0;
  }

  .preview-fullscreen-close {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 501;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    font-size: 0.5rem;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    cursor: pointer;
    line-height: 1;
    padding: 0.25rem 0.4rem;
    letter-spacing: 0.03em;
  }

  .preview-fullscreen-close.visible { display: block; }


  /* Dates: weniger Gap */
  .dates-grid { gap: 0.5rem; margin-top: 1rem;}

  /* Info-Panel volle Breite */
  .info-panel { width: calc(100% - 1.6rem); }

  /* About: name trigger buttons at bottom */
  .about-name-triggers {
    display: flex;
    position: absolute;
    bottom: 1rem;
    left: 0.8rem;
    right: 0.8rem;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 10;
  }

  .about-name-btn {
    flex: none;
    width: calc(50% - 0.375rem);
    text-align: center;
    background: whitesmoke;
    border: none;
    color: rgba(0, 0, 0, 0.75);
    font-size: 0.5rem;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.06em;
    line-height: 1;
  }

  /* About info boxes: fixed top-center overlay */
  .about-body {
    position: fixed;
    top: 1.8rem;
    left: 0.5rem !important;
    right: 0.5rem !important;
    width: auto !important;
    z-index: 300;
  }

  /* About: mobiles Hintergrundbild, untere Kante verankert */
  .about-section {
    background-image: url('./pictures/About-Mobile.webp');
    background-position: center bottom;
  }

  .about-credits {
    bottom: auto;
    left: 0.8rem;
    top: 1.6rem;
    color: rgb(73, 73, 73);
  }

  /* ── Kassetten Mobile: Position & Scale hier anpassen ──────────── */

  .cassette-oap {
    --left:  -3rem;
    --top:   20%;
    --scale: 1;
    --img-w: 95%;
    --img-h: 55%;
  }

  .cassette-noch {
    --left:  5%;
    --top:   7%;
    --scale: 1;
    --img-w: 120%;
    --img-h: 55%;
  }

  /* Frank Koenen: erstes Bild nach rechts verschieben */
  #work-5 .carousel-track img:nth-child(2) {
    object-position: 23% center;
  }
}


.about {
  object-fit: contain;
  height: 100vh;
  width: 100vh;
}

.scroll-hint {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: rgba(0, 0, 0, 0.75);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.05em;
  pointer-events: none;
  white-space: nowrap;
}

/* ========================= PARTICLE CONTAINER ========================= */
#container, #container-2, #container-3 {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
}

#container canvas, #container-2 canvas, #container-3 canvas {
  display: block;
}

/* ========================= DATES SECTIONS ========================= */
.dates-section {
  display: grid;
}

.dates-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: auto;
  align-content: start;
  gap: 1rem;
  padding: 1.25rem;
  z-index: 2;
}

.dates-box {
  background: #f5f5f5f4;
  display: flex;
  align-items: center;
  align-self: start;
  gap: 0.75rem;
  padding: 0.25rem 0.15rem;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.55rem;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.dates-box.full {
  grid-column: 1 / -1;
}

.dates-box.empty {
  background: transparent;
}

.dates-box:not(.empty):hover {
  font-weight: 600;
}

.dates-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dates-detail {
  display: none;
  flex: 1;
  padding: 0 1.5rem;
  white-space: normal;
  align-self: center;
}

#dates-2026 .dates-box:nth-child(odd):not(.empty):hover {
  width: calc(200% + 1rem);
  position: relative;
  z-index: 5;
  overflow: visible;
}

#dates-2026 .dates-box:nth-child(even):not(.empty):hover {
  width: calc(200% + 1rem);
  position: relative;
  z-index: 5;
  overflow: visible;
  transform: translateX(calc(-50% - 0.5rem));
}

#dates-2026 .dates-box:not(.empty):hover .dates-detail {
  display: flex;
  align-items: center;
}

/* Hover-Hintergrundbild + Fettschrift für einzelne Boxes */
.bg-hover,
.bg-dates-hover {
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 1;
  pointer-events: none;
}

#dates-2026:has(#box-mom:hover) .bg-hover { opacity: 1; }
#box-mom:hover { font-weight: 600; }

.dates-date {
  flex-shrink: 0;
  color: rgba(0, 0, 0, 0.75);
}

.dates-title {
  overflow: hidden;
  text-overflow: ellipsis;
}

.dates-location {
  margin-left: auto;
  flex-shrink: 0;
  text-align: right;
  color: rgba(0, 0, 0, 0.75);
}

/* ========================= DATES ALL ========================= */
.dates-all-section {
  position: absolute;
  inset: 0;
  background: #f5f5f5;
  overflow: hidden;
}

.dates-all-list {
  position: absolute;
  inset: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.5rem 4rem 0.5rem 4rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  column-gap: 1.5rem;
  align-content: start;
}

.dates-all-item {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: baseline;
  padding: 0.4rem 0;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.55rem;
  text-transform: uppercase;
  color: rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.4s 0.4s;
  letter-spacing: -0.01rem;
}

.dates-all-item > span {
  pointer-events: auto;
  cursor: default;
}

.dates-all-item::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -0.45rem;
  right: -0.45rem;
  top: 0.15rem;
  bottom: 0.15rem;
  background: #f5f5f5;
  z-index: -1;
  opacity: 0;
  transition: opacity 0s 0.4s;
}

.dates-all-section:has(.dates-all-item > span:hover) {
  background: transparent;
  transition-delay: 0.5s;
}

.dates-all-list:has(.dates-all-item > span:hover) .dates-all-item:not(:has(> span:hover)) {
  opacity: 0;
  transition: opacity 0.15s 0.6s;
}

.dates-all-item:has(> span:hover) {
  z-index: 10;
  font-weight: 600;
}

.dates-all-item:has(> span:hover)::before {
  opacity: 1;
}

.dates-all-date     { grid-column: 1; grid-row: 1; white-space: nowrap; justify-self: start; }
.dates-all-detail   { grid-column: 2; grid-row: 1; white-space: nowrap; text-transform: none; justify-self: start; }
.dates-all-title    { grid-column: 3; grid-row: 1; white-space: nowrap; justify-self: start; }
.dates-all-location { grid-column: 4; grid-row: 1; white-space: nowrap; justify-self: end; }

.dates-all-section .bg-dates-hover {
  z-index: 1;
  transition: opacity 0.6s 0.4s;
}

@media (max-width: 900px) {
  .dates-all-list { padding: 1.5rem 1.5rem 3rem; }
  .dates-all-item { grid-template-columns: auto 1fr auto; }
  .dates-all-detail { display: none; }
  .dates-all-title { grid-column: 2; }
}

/* ── DATES ALL V2: Dot hover variant ───────────────────────────── */

.dates-all-v2-section .dates-all-list {
  grid-template-columns: auto auto 1fr auto auto;
}

.dates-dot {
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  align-self: center;
  grid-column: 5;
  grid-row: 1;
  pointer-events: auto;
  cursor: pointer;
  flex-shrink: 0;
}

.dates-all-item[data-bg] .dates-dot {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.75);
}

.dates-all-item:not([data-bg]) .dates-dot {
  display: none;
}

/* Text spans not interactive in v2 */
.dates-all-v2-section .dates-all-item > span:not(.dates-dot) {
  pointer-events: none;
}

/* Dot in last column — date/detail/title/location keep default columns */
.dates-all-v2-section .dates-all-date     { grid-column: 1; }
.dates-all-v2-section .dates-all-detail   { grid-column: 2; }
.dates-all-v2-section .dates-all-title    { grid-column: 3; }
.dates-all-v2-section .dates-all-location { grid-column: 4; }

/* Hover only via dot */
.dates-all-v2-section:has(.dates-dot:hover) {
  background: transparent;
  transition-delay: 0.5s;
}

.dates-all-v2-section .dates-all-list:has(.dates-dot:hover) .dates-all-item[data-bg]:not(:has(.dates-dot:hover)) {
  opacity: 0;
  transition: opacity 0.15s 0.6s;
}

.dates-all-v2-section .dates-all-item:has(.dates-dot:hover) {
  z-index: 10;
  font-weight: 600;
}

.dates-all-v2-section .dates-all-item:has(.dates-dot:hover)::before {
  opacity: 1;
}

@media (max-width: 900px) {
  .dates-grid {
    grid-template-columns: 1fr;
  }
  .dates-box.empty {
    display: none;
  }
  .dates-box.full {
    grid-column: 1;
  }
}

/* ========================= INTRO/ About ARROW ========================= */
.intro-arrow {
  cursor: pointer;
  font-style: normal;
  font-size: 1rem;
  line-height: 0;
  vertical-align:sub;
}

.intro-arrow:hover {
  font-weight: 600;
}

@media (max-width: 900px) {
  .intro-arrow {
    font-size: 0;
    line-height: normal;
    vertical-align: baseline;
  }
  .intro-arrow b {
    font-size: 0;
  }
  .intro-arrow::after {
    content: '[more]';
    font-size: 0.55rem;
    font-weight: 800;
    font-style: normal;
    letter-spacing: -0.05em;
  }
}

.about-arrow {
  cursor: pointer;
  font-style: Inter;
  font-size: 1rem;
  line-height: 0;
  vertical-align: sub;
  position: relative;
}


/* ========================= INTRO CAROUSEL OVERLAY ========================= */
.intro-carousel-overlay {
  position: fixed;
  left: var(--sidebar-w);
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  background: black;
}

.intro-carousel-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.intro-carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.intro-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s ease;
}

.intro-carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-carousel-close {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: white;
  font-size: 0.5rem;
  font-family: 'Roboto Mono', monospace;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  letter-spacing: 0.03em;
  line-height: 1;
  z-index: 10;
}

.intro-carousel-counter {
  display: none;
}

@media (max-width: 900px) {
  .intro-carousel-counter {
    display: block;
    position: absolute;
    bottom: 0.75rem;
    left: 1rem;
    z-index: 5;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.5rem;
    color: white;
    pointer-events: none;
    letter-spacing: 0.05em;
  }
}

.intro-carousel-left {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-rule='evenodd' d='M15 8a.5.5 0 0 0-.5-.5H2.707l3.147-3.146a.5.5 0 1 0-.708-.708l-4 4a.5.5 0 0 0 0 .708l4 4a.5.5 0 0 0 .708-.708L2.707 8.5H14.5A.5.5 0 0 0 15 8'/%3E%3C/svg%3E") 2 16, w-resize;
  z-index: 5;
}

.intro-carousel-right {
  position: absolute;
  top: 0; right: 0;
  width: 50%; height: 100%;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 16 16'%3E%3Cpath fill='white' fill-rule='evenodd' d='M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8'/%3E%3C/svg%3E") 30 16, e-resize;
  z-index: 5;
}

@media (max-width: 900px) {
  .intro-carousel-overlay {
    left: 0;
    top: var(--mobile-header-h);
  }
}

/* ========================= IMPRINT OVERLAY ========================= */
.imprint-link {
  cursor: pointer;
}

.imprint-link:hover {
  font-weight: 600;
}

.imprint-overlay {
  position: fixed;
  left: var(--sidebar-w);
  top: 0;
  right: 0;
  bottom: 0;
  background: #f5f5f5;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.imprint-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.imprint-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.75);
  padding: 0 0.2rem;
}

.imprint-close:hover {
  font-weight: 600;
}

.imprint-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 4rem;
  padding: 1rem 3rem 3rem 3rem;
  flex: 1;
  align-content: start;
}

.imprint-col h2 {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  font-family: 'Roboto Mono', monospace;
  color: rgba(0, 0, 0, 0.75);
  border-bottom: 1px dotted rgba(0, 0, 0, 0.85);
  padding-bottom: 0.1rem;
}

.imprint-col h3 {
  font-size: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-family: 'Roboto Mono', monospace;
  color: rgba(0, 0, 0, 0.75);
}

.imprint-col p {
  font-size: 0.5rem;
  line-height: 1.5;
  color: rgba(0, 0, 0, 0.75);
  font-family: 'Roboto Mono', monospace;
  letter-spacing: -0.04em;
  margin-bottom: 0.8rem;
  text-transform: none;
}

@media (max-width: 900px) {
  .imprint-overlay {
    left: 0;
    top: var(--mobile-header-h);
  }

  .imprint-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1.25rem;
  }
}
