*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #080806;
  --ink: #0b2c3c;
  /* darkmode */
  --pink: #ff1f75;
  --orange: #FF5C00;
  --teal: #00E8C6;
  --green: #AAFF2A;
  --white: #F2EDE5;
  --grey: #91887b;
  --background-aboutme: #10415A;
}

/* ══ PAGE LOADER ══ */


#pageLoader.exit {
  transform: translateY(-105%);
  opacity: 0.5;
  pointer-events: none;
}

#loaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#loaderLogo {
  position: relative;
  z-index: 5;
  text-align: center;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

#loaderLogo.show {
  opacity: 1;
  transform: translateY(0);
}

.ll-outline {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.88;
  -webkit-text-stroke: 2.5px var(--white);
  color: transparent;
  letter-spacing: 0.03em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 2px 20px rgba(0, 0, 0, 0.8);
}

.ll-solid {
  display: block;
  font-family: 'Anton', sans-serif;
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.88;
  color: var(--pink);
  letter-spacing: 0.03em;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9), 0 2px 20px rgba(255, 31, 106, 0.4);
}

.ll-sub {
  display: block;
  margin-top: 1rem;
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.45em;
  color: var(--teal);
  text-transform: uppercase;
  text-shadow: 0 0 20px rgba(0, 0, 0, 1), 0 1px 12px rgba(0, 0, 0, 0.9);
}

#loaderDots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
  transition: opacity 0.5s;
}

#loaderDots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: ldPulse 1.4s ease-in-out infinite;
}

#loaderDots span:nth-child(1) {
  background: var(--orange);
}

#loaderDots span:nth-child(2) {
  background: var(--pink);
  animation-delay: 0.2s;
}

#loaderDots span:nth-child(3) {
  background: var(--teal);
  animation-delay: 0.4s;
}

@keyframes ldPulse {

  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.7);
  }

  40% {
    opacity: 1;
    transform: scale(1);
  }
}

/* grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: clip;
  /* KEIN Scroll-Container */
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 15px;
  overflow-x: clip;
  /* Der EINZIGE Scroll-Container über vinyl-stage */
  max-width: 100vw;
  /* nicht 100vw — vermeidet Scrollbar-Breiten-Bug */
  width: 100%;
  position: relative;
  cursor: crosshair;
}

.cursor-dot {
  position: fixed;
  z-index: 10000;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: opacity 0.3s ease;
}

.cursor-dot.hidden {
  opacity: 0;
}

.cursor-dot.tippen {
  width: auto;
  height: auto;
  background: var(--pink);
  color: var(--black);
  border-radius: 20px;
  padding: 0.3rem 0.8rem;
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  mix-blend-mode: normal;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cursor-dot.tippen::after {
  content: var(--cursor-text, 'Tippen');
}

.snake-cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.snake-cursor-canvas.visible {
  opacity: 1;
}

.snake-body-path {
  fill: var(--white);
}

.snake-head-path {
  fill: var(--black);
}

/* ══════════════════════════════════════════
   NAV
══════════════════════════════════════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2.5rem;
  background: rgba(8, 8, 6, 0.0);
  border-bottom: 1px solid rgba(242, 237, 229, 0.0);
  transition: background 0.4s, border-color 0.4s;
}

nav.scrolled {
  background: rgba(8, 8, 6, 0.92);
  border-bottom-color: rgba(242, 237, 229, 0.12);
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--pink);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mode-btn {
  background: none;
  border: 1px solid rgba(242, 237, 229, 0.35);
  color: var(--white);
  cursor: pointer;
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.38rem 0.85rem;
  transition: border-color 0.25s, color 0.25s;
}

.mode-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

.nav-contact-btn {
  font-family: 'Anton', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  text-decoration: none;
  border: 1.5px solid var(--pink);
  padding: 0.45rem 1.2rem;
  /* Ensure minimum 44px tap target height for accessibility */
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.nav-contact-btn:hover {
  background: var(--pink);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 31, 117, 0.3);
}

.nav-contact-btn:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

/* ══════════════════════════════════════════
   LANGUAGE SWITCHER
══════════════════════════════════════════ */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-btn {
  background: none;
  border: none;
  color: var(--grey);
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  transition: color 0.25s, opacity 0.25s;
  opacity: 0.6;
}

.lang-btn:hover {
  color: var(--white);
  opacity: 1;
}

.lang-btn.active {
  color: var(--pink);
  opacity: 1;
}

.lang-sep {
  color: rgba(242, 237, 229, 0.2);
  font-size: 0.7rem;
  user-select: none;
}

/* ══════════════════════════════════════════
   PARALLAX HERO
══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Parallax layers — each moves at a different rate via JS */
.p-layer {
  position: absolute;
  inset: -20%;
  /* oversized so edges never show */
  background-size: cover;
  background-position: center;
  will-change: transform;
}

/* Layer 0 — base image, slowest */
#pl0 {
  background-image: url('Bilder/landingpage.webp');
  filter: brightness(0.35) saturate(1.6);
}

/* Layer 1 — same image, shifted hue, medium speed */
#pl1 {
  background-image: url('Bilder/landingpage.webp');
  filter: brightness(0.55) saturate(2) hue-rotate(40deg);
  mix-blend-mode: screen;
  opacity: 0.45;
}

/* Layer 2 — zoomed crop, faster */
#pl2 {
  background-image: url('Bilder/landingpage.webp');
  filter: brightness(0.7) saturate(1.8) hue-rotate(-30deg) contrast(1.3);
  mix-blend-mode: overlay;
  opacity: 0.35;
  background-size: 160%;
}

/* Layer 3 — foreground vignette */
#pl3 {
  background: radial-gradient(ellipse at 50% 60%, transparent 30%, rgba(8, 8, 6, 0.85) 100%);
  mix-blend-mode: normal;
  inset: 0;
}

/* Bottom fade */
.hero-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to top, var(--black) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
}

/* Hero text — sits above all parallax layers */
.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  opacity: 0;
  animation: heroIn 1s 0.3s forwards;
}

.hero-born {
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.hero-born::before,
.hero-born::after {
  content: '';
  flex: 0 0 40px;
  height: 1px;
  background: var(--teal);
  opacity: 0.5;
}

.hero-name {
  font-family: 'Anton', sans-serif;
  font-size: clamp(3.5rem, 16vw, 14rem);
  line-height: 0.86;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hero-name .outline {
  -webkit-text-stroke: 2px var(--white);
  color: transparent;
}

.hero-name .solid {
  color: var(--pink);
}

.hero-sub {
  margin-top: 1.4rem;
  font-family: 'Special Elite', monospace;
  font-size: 1.1rem;
  /* Increased from 0.65 to improve legibility on busy background */
  color: rgba(242, 237, 229, 0.92);
  letter-spacing: 0.06em;
  /* Subtle shadow separates text from the layered artwork backdrop */
  text-shadow: 0 1px 12px rgba(8, 8, 6, 0.85), 0 0 4px rgba(8, 8, 6, 0.6);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey);
  opacity: 0;
  animation: heroIn 1s 1.2s forwards;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: var(--grey);
  animation: scrollPulse 1.8s 1.5s infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    opacity: 0.2;
    transform: scaleY(0.4);
    transform-origin: top;
  }
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════
   INK DIVIDER (SVG hand-drawn look)
══════════════════════════════════════════ */
.ink-divider {
  width: 100%;
  overflow: visible;
  display: block;
  line-height: 0;
}

.ink-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ══════════════════════════════════════════
   SECTION BASE
══════════════════════════════════════════ */
.s-pad {
  padding: 7rem 2.5rem;
}

.s-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

.s-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.92;
  text-transform: uppercase;
  color: var(--white);
}

.s-rule {
  width: 48px;
  height: 3px;
  margin: 1.8rem 0;
}

/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
#about {
  background: var(--ink);
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.about-img-stack {
  position: relative;
  padding-bottom: 3rem;
}

.about-img-main {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  border: 3px solid var(--white);
}

/* Ink-frame overlay */
.about-img-main::after {
  content: '';
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: -2rem;
  width: 55%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 3px solid var(--pink);
}

.about-text .s-rule {
  background: var(--pink);
}

.about-text p {
  line-height: 1.9;
  color: var(--grey);
  margin-bottom: 1.2rem;
  font-size: 0.95rem;
}

.about-text p strong {
  color: var(--white);
  font-weight: 700;
}

/* Born year stamp */
.born-stamp {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid rgba(255, 31, 106, 0.4);
  padding: 0.8rem 1.4rem;
  margin-top: 0.5rem;
  margin-bottom: 1.8rem;
}

.born-stamp .bs-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}

.born-stamp .bs-year {
  font-family: 'Anton', sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--pink);
  letter-spacing: 0.05em;
}

.inst-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.inst-item {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.2s;
}

.inst-item:hover {
  background: rgba(255, 31, 106, 0.07);
}

.inst-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.inst-level {
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey);
}

.inst-item.hi .inst-name {
  color: var(--pink);
}

/* ══════════════════════════════════════════
   GALLERY
══════════════════════════════════════════ */
#gallery {
  background: var(--black);
  position: relative;
}

.gallery-inner .s-rule {
  background: var(--green);
}

.gallery-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.gallery-intro p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--grey);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background: none;
  border: 1px solid rgba(242, 237, 229, 0.2);
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.filter-btn.active {
  background: var(--teal);
  color: var(--black);
  border-color: var(--teal);
}



.art-grid {
  display: flex;
  /* Slightly increased gap for visual breathing room between columns */
  gap: 6px;
}

.masonry-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.art-item {
  break-inside: avoid;
  /* Not technically needed with flex columns, kept for safety */
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: auto;
}

.art-item img {
  width: 100%;
  display: block;
  opacity: 0;
  transition: opacity 0.6s ease-in-out, transform 0.5s, filter 0.4s;
  filter: saturate(0.85);
}

.art-item img:not(.loaded) {
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0.05) 25%,
      rgba(255, 255, 255, 0.12) 50%,
      rgba(255, 255, 255, 0.05) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.5s infinite;
}

@keyframes skeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.art-item img.loaded {
  opacity: 1;
}

.art-item:hover img {
  transform: scale(1.04);
  filter: saturate(1.2);
}

.art-over {
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 6, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.art-item:hover .art-over {
  opacity: 1;
}

.art-zoom {
  width: 42px;
  height: 42px;
  border: 2px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
}

/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */
.lb {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(8, 8, 6, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.lb.open {
  opacity: 1;
  pointer-events: all;
}

.lb img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.12);
  transition: filter 0.4s ease, opacity 0.3s ease;
}

.lb-x {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: 2px solid var(--white);
  color: var(--white);
  width: 42px;
  height: 42px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.2s;
  z-index: 20;
}

.lb-x:hover {
  background: var(--pink);
  border-color: var(--pink);
}

.lb-arr {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  width: 46px;
  height: 46px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.lb-arr:hover {
  background: rgba(255, 255, 255, 0.1);
}

.lb-p {
  left: 1.5rem;
}

.lb-n {
  right: 1.5rem;
}

.lb-cnt {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--grey);
}

/* ══════════════════════════════════════════
   VINYL MUSIC SECTION
══════════════════════════════════════════ */
#music {
  background: var(--ink);
  position: relative;
  padding: 0;
}

/* Desktop: Pfeil-Nav verstecken */
.vinyl-nav {
  display: none;
}

/* ── SPATZEK SCROLL PINNING ── */
.scroll-pin-container {
  height: 400vh;
  /* Dynamic via JS, this is fallback */
  position: relative;
  overflow: clip;
  /* ← statt overflow: visible */
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  /* ← Platten verschwinden seitlich, nicht drüber */
}

@media (max-width: 900px) {
  .scroll-pin-container {
    height: auto !important;
    overflow: visible;
  }

  .sticky-wrapper {
    position: static;
    height: auto;
    overflow: visible;
  }

  /* Vinyl Navigation Pfeile */
  .vinyl-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 1.5rem 3rem;
  }

  .vinyl-nav-btn {
    background: none;
    border: 2px solid var(--orange);
    color: var(--orange);
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s;
    flex-shrink: 0;
    line-height: 1;
  }

  .vinyl-nav-btn:active {
    background: var(--orange);
    color: var(--black);
  }

  .vinyl-nav-counter {
    font-family: 'Special Elite', monospace;
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--grey);
    min-width: 55px;
    text-align: center;
  }

  /* Stage auf Mobile: kein Scroll, Karten per JS sichtbar schalten */
  #vinylStage {
    display: grid;
    grid-template-areas: "stack";
    place-items: center;
    width: 100%;
    min-height: 450px;
    padding: 0;
    overflow: visible;
  }
  .vinyl-wrapper {
    grid-area: stack;
    display: block;
    width: min(90vw, 350px);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9) translateY(10px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  }
  .vinyl-wrapper.mobile-active {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    z-index: 10;
  }
}

.vinyl-header {
  padding: 5rem 2.5rem 3rem;
}

.vinyl-header .s-rule {
  background: var(--orange);
}

/* The vinyl scroll container */
.vinyl-stage {
  display: flex;
  overflow: visible;
  gap: 5rem;
  padding: 3rem 10vw 8rem;
  will-change: transform;
  width: max-content;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  position: relative;
  z-index: 2;
}

.vinyl-stage-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 31, 106, 0.05), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Reflective Floor Effect */
.vinyl-stage::after {
  content: "";
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  height: 4rem;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.4));
  filter: blur(20px);
  pointer-events: none;
}


.vinyl-stage::-webkit-scrollbar-track {
  background: transparent;
}

.vinyl-stage::-webkit-scrollbar-thumb {
  background-color: var(--pink);
  border-radius: 10px;
}

@media (max-width: 600px) {
  .vinyl-stage {
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
}

/* The square container for each track */
.vinyl-wrapper {
  flex: 0 0 auto;
  width: min(85vw, 380px);
  aspect-ratio: 1 / 1.05;
  position: relative;
  scroll-snap-align: center;
  perspective: 1500px; /* Context for 3D sleeve */
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0s;
  z-index: 10;
}

.vinyl-wrapper.active-track {
  z-index: 100 !important;
}

.vinyl-wrapper:hover {
  transform: translateY(-10px);
}

/* The cover wrapper - The "Sleeve" */
.vinyl-cover-wrap {
  position: absolute;
  inset: 0;
  z-index: 10;
  cursor: pointer;
  background: var(--ink);
  transform-origin: left center;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 0.6s ease;
  box-shadow: 0 15px 45px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
}

.vinyl-cover-wrap:hover {
  transform: rotateY(-5deg) scale(1.02);
}

/* Physical Reveal: 3D Tilt like a folder */
.vinyl-cover-wrap.revealed {
  transform: rotateY(-95deg) translateZ(10px) translateX(-5%); 
  opacity: 0.5;
  z-index: 100; /* Ensure active cover is on top */
}

.vinyl-cover-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.vc-img,
.vc-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.vc-overlay {
  transform: scale(1.05);
}

/* The content wrapper - The "Player" */
.vinyl-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background: radial-gradient(circle at center, #1a1a1a, #0a0a0a);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem;
  text-align: center;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* The record */
.vinyl-record-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  margin-bottom: 0.8rem;
}

.vinyl-disc {
  width: clamp(160px, 45vw, 240px);
  height: clamp(160px, 45vw, 240px);
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Perfectly centered */
  transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.4);
  z-index: 2;
}

/* Slide into centre when revealed */
.vinyl-cover-wrap.revealed + .vinyl-content-wrap .vinyl-disc {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.08); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.8);
  --tx: -50%; /* Sync with animation */
}

/* spinning is added via JS when playing */
.vinyl-disc.spinning {
  animation: spinVinyl 6s linear infinite;
}

@keyframes spinVinyl {
  from { transform: translate(var(--tx, -50%), -50%) rotate(var(--rot, 0deg)); }
  to { transform: translate(var(--tx, -50%), -50%) rotate(var(--rot, 360deg)); }
}

/* The actual vinyl SVG-drawn disc */
.vinyl-svg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: absolute;
  inset: 0;
}

/* Label in centre */
.vinyl-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.vinyl-label-inner {
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2px;
}

.vl-title {
  font-family: 'Special Elite', monospace;
  font-size: clamp(0.4rem, 1.5vw, 0.55rem);
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.2;
}

.vl-year {
  font-family: 'Anton', sans-serif;
  font-size: clamp(0.6rem, 2vw, 0.85rem);
  color: var(--pink);
}

/* Track info - Glassmorphism style */
.vinyl-info {
  width: 100%;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  border-radius: 0 0 4px 4px;
}

.vi-num {
  font-family: 'Courier Prime', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.4rem;
  opacity: 0.8;
}

.vi-title {
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.2rem, 3.5vw, 1.8rem);
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.vi-meta {
  font-family: 'Special Elite', monospace;
  font-size: 0.75rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  margin-bottom: 0.8rem;
}

.vi-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  border: 1px solid var(--orange);
  color: var(--orange);
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  cursor: pointer;
  transition: 0.25s;
}

.vi-play:hover,
.vi-play.on {
  background: var(--orange);
  color: var(--black);
}

.vi-play .play-icon {
  font-size: 1rem;
}

/* Tablet & Laptop Optimization: Load More Buttons */
.vinyl-tablet-more-btn,
.vinyl-laptop-more-btn {
  display: none; /* Hidden on mobile/desktop by default, controlled via media queries */
  flex: 0 0 auto;
  width: 80px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  color: var(--pink);
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: 0.3s;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  border-radius: 4px;
  z-index: 5;
}

.vinyl-tablet-more-btn span,
.vinyl-laptop-more-btn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

.vinyl-tablet-more-btn:hover,
.vinyl-laptop-more-btn:hover {
  background: rgba(255, 31, 106, 0.08);
  border-color: var(--pink);
  box-shadow: 0 0 20px rgba(255, 31, 106, 0.1);
}

/* TABLET (iPad): Hide after 4 tracks */
@media (min-width: 769px) and (max-width: 1100px) {
  .hide-tablet {
    display: none !important;
  }
  .vinyl-tablet-more-btn {
    display: flex;
  }
}

/* LAPTOP/DESKTOP: Hide after 5 tracks */
@media (min-width: 1101px) {
  .hide-laptop {
    display: none !important;
  }
  .vinyl-laptop-more-btn {
    display: flex;
  }
}

/* ══════════════════════════════════════════
   CONTACT
══════════════════════════════════════════ */
#contact {
  background: var(--black);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: start;
}

.contact-left .s-rule {
  background: var(--teal);
}

.contact-left p {
  font-family: 'Special Elite', monospace;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--grey);
  margin-top: 1.5rem;
}

.c-art {
  margin-top: 2.5rem;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(50%);
  transition: filter 0.4s;
}

.c-art:hover {
  filter: grayscale(0%);
}

.c-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.c-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.c-field label {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.c-field input,
.c-field textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.85rem 1rem;
  font-family: 'Courier Prime', monospace;
  font-size: 0.9rem;
  outline: none;
  resize: none;
  transition: border-color 0.25s;
}

.c-field input:focus,
.c-field textarea:focus {
  border-color: var(--teal);
}

.c-btn {
  align-self: flex-start;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 2.5rem;
  background: var(--pink);
  color: var(--black);
  border: none;
  cursor: pointer;
  transition: 0.2s;
}

.c-btn:hover {
  background: var(--white);
}

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Subtle background glow for dark mode */
footer::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 31, 106, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.f-container {
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.f-top-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  gap: 3rem;
  margin-bottom: 4rem;
}

.f-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.f-logo {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.8rem;
  color: var(--white);
  line-height: 1;
}

.f-logo span {
  color: var(--pink);
}

.f-motto {
  font-family: 'Courier Prime', monospace;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--grey);
  text-transform: uppercase;
}

.f-socials {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.f-social-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.5rem;
}

.f-social-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  text-decoration: none;
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.f-social-item svg {
  color: var(--pink);
}

.f-social-item:hover {
  background: rgba(255, 31, 106, 0.1);
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(255, 31, 106, 0.2);
}

.f-action {
  display: flex;
  justify-content: flex-end;
}

.f-contact-v2 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--white);
  color: var(--black);
  padding: 1rem 2rem;
  text-decoration: none;
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  clip-path: polygon(0 0, 100% 0, 100% 70%, 90% 100%, 0 100%);
}

.f-contact-icon {
  background: var(--pink);
  color: var(--white);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.f-contact-v2:hover {
  background: var(--pink);
  color: var(--white);
  transform: scale(1.02);
}

.f-contact-v2:hover .f-contact-icon {
  transform: translateX(5px);
  background: var(--white);
  color: var(--pink);
}

.f-bottom-v2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.f-legal {
  display: flex;
  gap: 2rem;
}

.f-legal a {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  color: var(--grey);
  text-decoration: none;
  transition: color 0.2s;
}

.f-legal a:hover {
  color: var(--white);
}

.f-copy-v2 {
  font-family: 'Courier Prime', monospace;
  font-size: 0.75rem;
  color: var(--grey);
  opacity: 0.6;
}

/* ── Responsive Footer ── */
@media (max-width: 1100px) {
  .f-top-v2 {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .f-action {
    grid-column: span 2;
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 3rem 1.2rem 2rem;
  }
  
  .f-top-v2 {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
  }
  
  .f-brand, .f-socials, .f-action {
    align-items: center;
    justify-content: center;
  }
  
  .f-logo {
    font-size: 1.6rem;
  }

  .f-motto {
    font-size: 0.75rem;
  }

  .f-social-item {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  .f-contact-v2 {
    width: 100%;
    justify-content: center;
    font-size: 0.9rem;
    padding: 0.9rem 1.5rem;
  }
  
  .f-bottom-v2 {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding-top: 2rem;
  }
  
  .f-legal {
    justify-content: center;
    gap: 1rem;
    width: 100%;
    flex-wrap: wrap;
  }

  .f-legal a {
    font-size: 0.7rem;
    padding: 0.4rem;
  }

  .f-copy-v2 {
    font-size: 0.65rem;
    order: 3;
  }
}

/* Extra small screens */
@media (max-width: 400px) {
  footer {
    padding: 2.5rem 1rem 1.5rem;
  }

  .f-top-v2 {
    gap: 2rem;
  }

  .f-logo {
    font-size: 1.4rem;
  }

  .f-social-item span {
    display: block; /* Keep handle visible */
  }

  .f-contact-v2 {
    gap: 1rem;
  }
}

/* ══════════════════════════════════════════
   SCROLL REVEAL
══════════════════════════════════════════ */
.r {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s, transform 0.75s;
}

.r.v {
  opacity: 1;
  transform: translateY(0);
}

.r-horiz {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.r-horiz.v {
  opacity: 1;
  transform: translateX(0);
}

.r.d1 {
  transition-delay: 0.1s;
}

.r.d2 {
  transition-delay: 0.2s;
}

.r.d3 {
  transition-delay: 0.3s;
}

/* ══════════════════════════════════════════
   LIGHT MODE
══════════════════════════════════════════ */

#paintCanvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.6s;
}

body.light #paintCanvas {
  opacity: 0.22;
  /* subtil — Textur, nicht Dominanz */
}

body.light::before {
  opacity: 0.035;
  mix-blend-mode: multiply;
}

body.light {
  /* ── Atelier-Palette ── */
  --bg: #F5EFE4;
  /* warmes Büttenpapier */
  --bg-alt: #FBF7F0;
  /* helles Canvas */
  --bg-deep: #EDE4D6;
  /* dunkleres Papier */
  --text: #0a0a09;
  /* warmes Tinten-Schwarz */
  --text-muted: #110f0d;
  /* warmes Braun-Grau */
  --text-faint: #8A7260;
  /* verblasste Tinte */
  --border: rgba(28, 18, 8, 0.10);
  --border-strong: rgba(28, 18, 8, 0.20);
  --teal-ink: #005A4E;
  /* Teal dunkel genug für hellen Hintergrund */

  /* Sektions-Farben (Gedämpft) */
  --bg-about: #B8E0D4;
  /* gedämpftes Teal */
  --bg-gallery: #f8f9fa;
  /* Alt: #FFD4A8*/
  /* Pfirsich/Apricot */
  --bg-music: #D4B8E0;
  /* Lavendel */
  --bg-footer: #1A1A2E;
  /* tiefes Nachtblau */
  --ink: transparent;
  color: var(--text);
  background-color: var(--bg);
}

/* ── Snake ── */
body.light .snake-body-path {
  fill: var(--text);
}

body.light .snake-head-path {
  fill: var(--text);
}

/* ── Nav ── */
body.light nav {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body.light nav.scrolled {
  background: rgba(245, 239, 228, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

body.light .nav-logo,
body.light .nav-links a {
  color: var(--text);
}

body.light .nav-contact-btn {
  color: var(--pink);
  border-color: var(--pink);
}

body.light .nav-contact-btn:hover {
  background: var(--pink);
  color: var(--bg);
}

body.light .nav-links a {
  font-weight: 600;
}

body.light .nav-toggle span {
  background: var(--text);
}

body.light .mode-btn {
  border-color: var(--border-strong);
  color: var(--text);
}

body.light .mode-btn:hover {
  border-color: var(--pink);
  color: var(--pink);
}

/* ── Nav Mobile ── */
@media (max-width: 900px) {
  body.light nav.menu-open {
    background: rgba(245, 239, 228, 0.99) !important;
    border-bottom: 1px solid var(--border) !important;
  }

  body.light .nav-links {
    background: #F5EFE4 !important;
    /* var(--bg) */
    backdrop-filter: blur(20px);
  }

  body.light .nav-links a {
    color: #0a0a09 !important;
    /* var(--text) */
    border-bottom: 1px solid rgba(28, 18, 8, 0.08);
    /* Subtle atelier-style divider */
  }

  body.light .nav-links a.active {
    color: var(--pink) !important;
  }

  body.light .nav-links a.active::after {
    background: var(--pink) !important;
  }
}

/* ── Hero ── */
body.light #pl0 {
  filter: brightness(0.80) saturate(1.1) sepia(0.15);
}

body.light .hero-fade {
  background: linear-gradient(to top, var(--bg) 0%, transparent 100%);
}

body.light .hero-name {
  color: var(--text);
}

body.light .hero-name .outline {
  -webkit-text-stroke-color: var(--text);
}

body.light .hero-sub {
  color: var(--text-muted);
  font-weight: bold;
}

body.light .hero-born {
  color: var(--teal-ink);
}

body.light .hero-born::before,
body.light .hero-born::after {
  background: var(--teal-ink);
  opacity: 0.6;
}

body.light .hero-scroll-hint {
  color: var(--text-faint);
}

body.light .scroll-line {
  background: var(--text-faint);
}

/* ── Section-Grundfarben ── */
body.light .s-title {
  color: var(--text);
}

body.light .s-label {
  color: var(--teal-ink);
}

/* ── SVG Dividers ── */
body.light .ink-divider {
  background: transparent !important;
}

/* Divider 1: Hero → About */
body.light .ink-divider:nth-of-type(1) path:first-child {
  fill: var(--bg-about) !important;
}

/* Divider 2: About → Gallery */
body.light .ink-divider:nth-of-type(2) {
  background: var(--bg-about) !important;
}

body.light .ink-divider:nth-of-type(2) path:first-child {
  fill: var(--bg-gallery) !important;
}

/* Divider 3: Gallery → Music */
body.light .ink-divider:nth-of-type(3) {
  background: var(--bg-gallery) !important;
}

body.light .ink-divider:nth-of-type(3) path:first-child {
  fill: var(--bg-music) !important;
}

/* Divider 4: Music → Footer */
body.light .ink-divider:nth-of-type(4) {
  background: var(--bg-music) !important;
}

body.light .ink-divider:nth-of-type(4) path:first-child {
  fill: var(--bg-footer) !important;
}

/* ── About ── */
body.light #about {
  background: var(--bg-about);
}

body.light .about-text p {
  color: #1A3530;
}

body.light .about-text p strong {
  color: #0A1E1C;
}

body.light .born-stamp {
  border-color: rgba(255, 31, 106, 0.6);
  background: rgba(255, 31, 106, 0.04);
}

body.light .born-stamp .bs-label {
  color: #2A4A44;
}

body.light .inst-name {
  color: var(--text);
}

body.light .inst-level {
  color: var(--text-faint);
}

body.light .inst-grid {
  border-color: var(--border);
}

body.light .inst-item {
  border-color: var(--border);
}

body.light .inst-item:hover {
  background: rgba(28, 18, 8, 0.03);
}

/* ── Gallery ── */
body.light #gallery {
  background: var(--bg-gallery);
}

body.light .gallery-intro p {
  color: var(--text-muted);
}

body.light .gallery-load-more-btn {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

body.light .gallery-load-more-btn:hover {
  background: var(--teal-ink);
  color: var(--bg-alt);
}

body.light .filter-btn {
  color: var(--text);
  border-color: var(--border-strong);
}

body.light .filter-btn:hover {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

body.light .filter-btn.active {
  background: #007A6A;
  color: #FBF7F0;
  border-color: #007A6A;
}

/* ── Lightbox ── */
body.light .lb {
  background: rgba(245, 239, 228, 0.97);
}

body.light .lb img {
  border-color: var(--border-strong);
  box-shadow: 0 8px 40px rgba(28, 18, 8, 0.15);
}

body.light .lb-x {
  border-color: var(--text);
  color: var(--text);
}

body.light .lb-arr {
  border-color: var(--border-strong);
  color: var(--text);
}

body.light .lb-cnt {
  color: var(--text-faint);
}

/* ── Music / Vinyl ── */
body.light #music {
  background: var(--bg-music);
}

body.light .vinyl-content-wrap {
  background: rgba(248, 244, 252, 0.85);
  border-color: rgba(120, 80, 140, 0.15);
}

body.light .groove {
  stroke: rgba(28, 18, 8, 0.13);
}

body.light .vinyl-label-inner {
  background: #EDE4F0;
  border-color: rgba(120, 80, 140, 0.25);
}

body.light .vl-title {
  color: var(--text);
  font-weight: bold;
}

body.light .vi-num {
  color: var(--text-faint);
}

body.light .vi-title {
  color: var(--text);
}

body.light .vi-meta {
  color: var(--text-faint);
}

/* ── Contact ── */
body.light #contact {
  background: var(--bg);
}

body.light .contact-left p {
  color: var(--text-muted);
}

body.light .c-field label {
  color: var(--teal-ink);
  font-weight: 600;
}

body.light .c-field input,
body.light .c-field textarea {
  background: var(--bg-alt);
  border-color: var(--border-strong);
  color: var(--text);
}

body.light .c-field input::placeholder,
body.light .c-field textarea::placeholder {
  color: var(--text-faint);
}

body.light .c-field input:focus,
body.light .c-field textarea:focus {
  border-color: var(--teal-ink);
  box-shadow: 0 0 0 3px rgba(0, 90, 78, 0.10);
}

/* ── Footer ── */
body.light footer {
  background: var(--bg-footer);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.light .f-logo {
  color: var(--white);
}

body.light .f-copy {
  color: var(--grey);
}

body.light .f-legal-links a {
  color: var(--grey);
}

/* ── Mobile Truncate Gradienten ── */
body.light #about .mobile-truncate::after {
  background: linear-gradient(to bottom, transparent, var(--bg-about));
}

body.light #gallery .mobile-truncate::after {
  background: linear-gradient(to bottom, transparent, var(--bg-gallery));
}

body.light #hiddenSection .mobile-truncate::after {
  background: linear-gradient(to bottom, transparent, var(--bg-gallery));
}

/* ── Hidden Section ── */
body.light #hiddenSection {
  background: var(--bg);
}


/* ══════════════════════════════════════════
   GALLERY LOAD MORE (all screen sizes)
══════════════════════════════════════════ */
.gallery-container {
  position: relative;
}

.gallery-fade-overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 10;
  pointer-events: none;
  display: none;
  /* top, height, background werden per JS gesetzt */
}



.gallery-load-more-btn {
  display: none;
  margin: 2rem auto 0;
  background: none;
  border: 2px solid var(--green);
  color: var(--green);
  font-family: 'Anton', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.8rem 2rem;
  cursor: pointer;
  transition: all 0.3s;
  position: relative;
  z-index: 11;
}

.gallery-load-more-btn:hover {
  background: var(--green);
  color: var(--black);
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }

  /* Ensure controls stay above the menu overlay */
  .nav-logo,
  .nav-right {
    position: relative;
    z-index: 2100;
    /* Higher than .nav-links z-index: 2000 */
  }

  /* Solid background when menu is open */
  nav.menu-open {
    background: rgba(8, 8, 6, 0.98) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(15px) !important;
  }

  .nav-contact-btn {
    font-size: 0.7rem;
    /* Kept horizontal padding tight; min-height ensures ≥44px tap target */
    padding: 0.55rem 0.8rem;
    border-width: 1px;
    min-height: 44px;
  }



  .hero-born {
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    gap: 0.5rem;
  }

  .hero-born::before,
  .hero-born::after {
    flex: 0 0 15px;
  }

  /* Navigation links container - Full screen overlay */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    /* Dynamic viewport height for mobile browsers */
    background: var(--black) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Space for the logo/toggle at the top */
    gap: 3rem;
    z-index: 2000;
    animation: menuFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }

  @keyframes menuFadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* When menu is active via .open class */
  .nav-links.open {
    display: flex;
  }

  /* X-Animation */
  .nav-links.open~.nav-right .nav-toggle span {
    background: var(--pink);
    /* Make the X pink for better visibility */
  }

  .nav-links.open~.nav-right .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-links.open~.nav-right .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-links.open~.nav-right .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-links li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .nav-links a {
    font-size: 1.8rem;
    /* Premium, large typography */
    font-weight: 500;
    letter-spacing: 0.15em;
    padding: 1.2rem;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: color 0.3s, transform 0.3s;
    display: block;
  }

  .nav-links a:active {
    transform: scale(0.96);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  /* Active state in mobile menu */
  .nav-links a.active {
    color: var(--pink);
  }

  /* Indicator line for active link in mobile */
  .nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--pink);
    transform-origin: center;
    scale: 1;
  }



  .nav-toggle {
    display: flex;
  }

  .s-pad {
    padding: 3rem 1.5rem 4rem;
    /* Reduziert von 5rem */
  }

  .vinyl-header {
    padding: 3rem 1.5rem 2rem;
    /* Reduziert von 5rem 2.5rem 3rem */
  }

  .about-inner,
  .contact-inner,
  .gallery-intro {
    grid-template-columns: 1fr;
    gap: 2rem;
    /* Reduziert von 3rem */
  }

  .s-rule {
    margin: 1.2rem 0;
    /* Reduziert von 1.8rem */
  }

  .gallery-intro {
    margin-bottom: 2rem;
    /* Reduziert von 3.5rem */
  }

  .about-img-stack {
    padding-bottom: 0;
    /* Reduziert von 3rem - nicht nötig da accent-img ausgeblendet */
  }

  .about-img-accent {
    display: none;
  }

  .art-grid {
    gap: 0.75rem;
    display: flex;
    /* Ensure flex is used for masonry columns */
  }



  .vinyl-wrapper {
    direction: ltr !important;
  }

  .vinyl-wrapper:nth-child(even)>* {
    direction: ltr;
  }

  .vinyl-disc {
    width: 140px;
    height: 140px;
  }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 1.5rem;
  }

  .f-top {
    flex-direction: column;
    gap: 1.2rem;
  }

  .about-text p {
    margin-bottom: 0.8rem;
    /* Reduziert von 1.2rem */
  }

  .born-stamp {
    margin-bottom: 1rem;
    /* Reduziert von 1.8rem */
  }

  /* ── MOBILE TEXT TRUNCATION ── */
  .mobile-truncate-wrap {
    position: relative;
    margin-bottom: 2rem;
  }

  .mobile-truncate {
    max-height: 160px;
    /* Adjust as needed */
    overflow: hidden;
    position: relative;
    transition: max-height 0.5s ease;
  }

  .mobile-truncate.expanded {
    max-height: none;
  }

  .mobile-truncate::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    /* Erhöht für einen weicheren, "schöneren" Verlauf */
    pointer-events: none;
    transition: opacity 0.3s;
  }

  /* Gradient fade for truncated text - Conditional on section background */
  #about .mobile-truncate::after {
    background: linear-gradient(to bottom, transparent, var(--ink));
  }

  #gallery .mobile-truncate::after {
    background: linear-gradient(to bottom, transparent, var(--black));
  }



  .mobile-truncate.expanded::after {
    opacity: 0;
  }

  .read-more-btn {
    display: none;
    /* Controlled by JS */
    margin-top: 1rem;
    color: var(--pink);
    font-family: 'Special Elite', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 4px;
    z-index: 5;
    position: relative;
  }

  /* ── MOBILE GALLERY PAGINATION ── ENTFERNT (jetzt global) */
}

@media (max-width: 500px) {}

/* ══════════════════════════════════════════
   FOTOGRAFIE — HIDDEN SECTION
══════════════════════════════════════════ */

#hiddenSection {
  background: var(--black);
}

body.light #hiddenSection {
  background: var(--bg-gallery);
}



/* ── Projekte Header ── */
.photo-projects-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2.5rem 2.5rem 1rem;
}

.photo-scroll-hint {
  font-family: 'Special Elite', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--grey);
}

/* ── Filmstrip ── */
.photo-filmstrip-wrapper {
  overflow-x: auto;
  cursor: grab;
  padding-bottom: 2rem;
  scrollbar-width: thin;
  scrollbar-color: var(--pink) transparent;
}

.photo-filmstrip-wrapper:active {
  cursor: grabbing;
}

.photo-filmstrip-wrapper::-webkit-scrollbar {
  height: 3px;
}

.photo-filmstrip-wrapper::-webkit-scrollbar-thumb {
  background: var(--pink);
  border-radius: 2px;
}

.photo-filmstrip-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.photo-filmstrip {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  padding: 0.5rem 2.5rem 1rem;
}

.photo-project-card {
  position: relative;
  width: 340px;
  height: 480px;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
}

/* ─── NEW CONTENT INDICATOR (FLAG STYLE) ─── */
.project-new-tag {
  position: absolute;
  top: 0;
  right: 1.5rem;
  z-index: 10;
  background: var(--teal);
  color: var(--black);
  font-family: 'Special Elite', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.6rem 0.4rem 0.8rem;
  clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 85%, 0% 100%);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  animation: flagDangle 4s ease-in-out infinite;
  transform-origin: top;
}

@keyframes flagDangle {

  0%,
  100% {
    transform: rotate(-1.5deg);
  }

  50% {
    transform: rotate(1.5deg);
  }
}

.photo-project-card.new-content::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(0, 232, 198, 0.1);
  pointer-events: none;
  z-index: 5;
}

.photo-project-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: saturate(0.85);
}

.photo-project-card:hover .photo-project-img {
  transform: scale(1.04);
  filter: saturate(1.1);
}

.photo-project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.96) 0%,
      rgba(0, 0, 0, 0.45) 48%,
      transparent 85%);
  transition: opacity 0.4s;
}



.photo-project-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.8rem;
}

.photo-project-num {
  display: block;
  font-family: 'Special Elite', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 0.6rem;
  text-shadow: 1px 1px 12px rgba(0, 0, 0, 0.95), 0 0 4px rgba(0, 0, 0, 0.85);
}

.photo-project-name {
  font-family: 'Anton', sans-serif;
  font-size: 1.95rem;
  line-height: 1;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.6rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.9);
}

.photo-project-desc {
  font-family: 'Courier Prime', monospace;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s 0.05s, transform 0.35s 0.05s;
}

.photo-project-card:hover .photo-project-desc {
  opacity: 1;
  transform: translateY(0);
}

.photo-project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.photo-project-count {
  font-family: 'Special Elite', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 1);
}

.photo-project-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 31, 106, 0.45);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--pink);
  transition: all 0.3s;
}

.photo-project-card:hover .photo-project-arrow {
  background: var(--pink);
  color: var(--black);
}

/* ── Trennlinie Projekte / Einzelbilder ── */
.photo-divider {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem 2.5rem 2.5rem;
}

.photo-divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 31, 106, 0.2);
}

body.light .photo-divider-line {
  background: rgba(255, 31, 106, 0.25);
}

.photo-divider-label {
  font-family: 'Special Elite', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--pink);
  white-space: nowrap;
}

/* ── Loose Photos Grid ── */
.photo-loose-grid {
  display: flex;
  gap: 4px;
  padding: 0 2.5rem 0;
}

.photo-loose-grid .masonry-column {
  flex: 1;
}

/* Dritte Spalte nur auf Desktop sichtbar */
.photo-col-desktop {
  display: flex;
}

/* ── Photo Lightbox Erweiterung ── */
#photoLb .photo-lb-title {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Special Elite', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .photo-projects-header {
    padding: 2rem 1.5rem 0.8rem;
  }

  .photo-filmstrip {
    padding: 0.5rem 1.5rem 1rem;
  }

  .photo-project-card {
    width: 260px;
    height: 370px;
  }

  .photo-project-desc {
    display: none;
  }

  .photo-loose-grid {
    padding: 0 1.5rem;
  }

  .photo-col-desktop {
    display: none;
  }

  .photo-divider {
    padding: 2rem 1.5rem 2rem;
  }

  /* Pfeile auf Mobile besser sichtbar machen */
  .lb-arr {
    /* background: rgba(8, 8, 6, 0.7);
    border-color: rgba(255, 255, 255, 0.5);*/
    color: var(--pink);
    background: none;
    border: none;
    padding: 1rem;
    /* Erweitert den Klickbereich */
  }

  .lb-p {
    left: 0;
  }

  .lb-n {
    right: 0;
  }

  .photo-project-arrow {
    background: rgba(255, 31, 106, 0.15);
    border: 1px solid var(--pink);
    color: var(--white);
  }
}

/* ══════════════════════════════════════════
   EINSTELLUNGEN DROPDOWN
══════════════════════════════════════════ */

.nav-settings-wrap {
  position: relative;
}

.nav-settings-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: none;
  border: 1px solid rgba(242, 237, 229, 0.22);
  color: var(--white);
  font-family: 'Courier Prime', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.42rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.nav-settings-btn:hover,
.nav-settings-btn.open {
  border-color: var(--teal);
  color: var(--teal);
}

/* Dropdown-Panel */
.settings-dropdown {
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  width: 270px;
  background: rgba(8, 8, 6, 0.97);
  border: 1px solid rgba(242, 237, 229, 0.12);
  border-top: 2px solid var(--teal);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.2rem 1.3rem;
  display: none;
  flex-direction: column;
  gap: 0;
  z-index: 600;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55);
  /* Öffnungs-Animation */
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.settings-dropdown.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

/* Einzelne Einstellungs-Zeile */
.settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.settings-row-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.settings-row-title {
  font-family: 'Special Elite', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.settings-row-title:hover {
  cursor: default;
}

.settings-row-sub {
  font-family: 'Courier Prime', monospace;
  font-size: 0.68rem;
  color: var(--grey);
  letter-spacing: 0.03em;
}

/* Trennlinie */
.settings-sep {
  height: 1px;
  background: rgba(242, 237, 229, 0.08);
  margin: 0.2rem 0;
}

/* Toggle-Switch */
.s-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  outline: none;
}

.s-toggle-track {
  display: block;
  width: 40px;
  height: 22px;
  border-radius: 11px;
  background: rgba(242, 237, 229, 0.1);
  border: 1px solid rgba(242, 237, 229, 0.2);
  position: relative;
  transition: background 0.25s, border-color 0.25s;
}

.s-toggle-thumb {
  display: block;
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grey);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.25s;
}

/* Aktiv-Zustand */
.s-toggle[aria-checked="true"] .s-toggle-track {
  background: rgba(0, 232, 198, 0.18);
  border-color: var(--teal);
}

.s-toggle[aria-checked="true"] .s-toggle-thumb {
  transform: translateX(18px);
  background: var(--teal);
}

/* ── Light-Mode-Anpassungen für das Dropdown ── */
body.light .settings-dropdown {
  background: rgba(245, 239, 228, 0.98);
  border-color: rgba(28, 18, 8, 0.12);
  border-top-color: var(--teal-ink);
  box-shadow: 0 12px 40px rgba(28, 18, 8, 0.18);
}

body.light .nav-settings-btn {
  color: var(--text);
  border-color: var(--border-strong);
}

body.light .nav-settings-btn:hover,
body.light .nav-settings-btn.open {
  border-color: var(--teal-ink);
  color: var(--teal-ink);
}

body.light .settings-row-title {
  color: var(--text);
}

body.light .settings-row-sub {
  color: var(--text-faint);
}

body.light .settings-sep {
  background: var(--border);
}

body.light .s-toggle-track {
  background: rgba(28, 18, 8, 0.07);
  border-color: rgba(28, 18, 8, 0.2);
}

body.light .s-toggle-thumb {
  background: #8A7260;
}

body.light .s-toggle[aria-checked="true"] .s-toggle-track {
  background: rgba(0, 90, 78, 0.12);
  border-color: var(--teal-ink);
}

body.light .s-toggle[aria-checked="true"] .s-toggle-thumb {
  background: var(--teal-ink);
}

/* ── OpenDyslexic Schrift ── */
body.dyslexic .about-text p,
body.dyslexic .gallery-intro p,
body.dyslexic .contact-left p,
body.dyslexic .vi-meta,
body.dyslexic .settings-row-sub {
  font-family: 'OpenDyslexic', 'Courier Prime', monospace !important;
  line-height: 2.0;
  letter-spacing: 0.04em;
  word-spacing: 0.18em;
}

/* ── Mobile: Einstellungen in Menü ── */
@media (max-width: 900px) {
  .nav-settings-btn span {
    display: none;
    /* Nur Icon auf Mobile */
  }

  .nav-settings-btn {
    padding: 0.42rem 0.6rem;
  }

  .settings-dropdown {
    right: 0;
    width: 250px;
  }
}