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

body {
  background: #fff;
  color: #111;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  overflow-x: hidden;
}

html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.pinned-wrap {
  position: relative;
}

.pinned {
  position: sticky;
  top: 0;
  height: 100vh;
  background: #fff;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 5vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.logo-wrap {
  position: relative;
  width: min(60vw, 520px);
  margin-bottom: 9vh;
}

.hero-logo {
  width: 100%;
  height: auto;
  display: block;
  cursor: pointer;
}

.scroll-hint {
  position: absolute;
  top: 77%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  pointer-events: auto;
  cursor: pointer;
  z-index: 3;
}

.scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.chandelier {
  width: min(50vw, 320px);
  height: auto;
  animation: chandelier-fall-simple 1s ease-out 1;
}

@keyframes chandelier-fall-simple {
  0% { transform: translateY(-160px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

.scroll-arrow {
  margin-top: 4px;
  font-size: 2rem;
  color: #111;
  animation: arrow-bounce 1.4s ease-in-out infinite;
  animation-delay: 1.4s;
}

@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.word-stack {
  position: absolute;
  top: 73%;
  left: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.scribble-word {
  width: 55%;
  height: auto;
  opacity: 0;
  filter: blur(0px);
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.6s ease, clip-path 0.6s ease, filter 0.6s ease;
  cursor: pointer;
}

.scribble-word[data-word="shop"] {
  width: 38%;
}

.scribble-word[data-word="shop"],
.scribble-word[data-word="presse"],
.scribble-word[data-word="kontakt"] {
  margin-top: -7%;
}

.scribble-word.shown {
  opacity: 1;
  filter: blur(0px);
  clip-path: inset(0 0 0 0);
}

.scribble-word.hiding {
  opacity: 0;
  filter: blur(10px);
  clip-path: inset(0 0 0 0);
}

.scribble-word.reset-instant {
  transition: none !important;
  clip-path: inset(0 100% 0 0) !important;
  opacity: 0 !important;
  filter: blur(0px) !important;
}

/* Content-Bereich: jeder Abschnitt wird automatisch vertikal zentriert,
   damit wir nicht mehr pro Abschnitt Pixel-Abstaende raten muessen */
.content-slot {
  position: relative;
  width: 100%;
  max-width: 600px;
  flex: 1;
}

.content-block {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  filter: blur(0px);
  transition: opacity 0.5s ease, filter 0.5s ease;
  pointer-events: none;
  padding: 100px 20px 0;
}

.content-block.active {
  opacity: 1;
  filter: blur(0px);
  pointer-events: auto;
}

.content-block.hiding {
  opacity: 0;
  filter: blur(10px);
  pointer-events: none;
}

.date-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: 46vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 4px 10px;
}

.date-entry,
.press-placeholder,
.shop-hint {
  font-size: 1.05rem;
  text-align: center;
}

.date-entry {
  color: #111;
  text-decoration: none;
}

.date-entry:hover {
  text-decoration: underline;
}

.shop-hint {
  font-style: italic;
  color: #555;
  cursor: pointer;
}

.press-placeholder {
  text-align: center;
}

/* Hütchenspiel */
.shell-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 100px;
  margin-bottom: 16px;
}

.shell-result-card {
  width: max-content;
  min-width: 200px;
  background: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  color: #111;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.shell-result-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.shell-result-card strong {
  display: block;
  margin-bottom: 2px;
}

.shell-result-card:hover {
  text-decoration: underline;
}

.shell-game {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: flex-end;
  height: 130px;
}

.shell {
  transition: transform 0.45s ease;
  position: relative;
  width: 90px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.shell-hat {
  width: 72px;
  height: auto;
  opacity: 0;
  transform: translateY(-60px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.shell-hat.down {
  opacity: 1;
  transform: translateY(0);
}

.shell-hat.lifted {
  transform: translateY(-60px) rotate(-18deg);
}

.shell-hat.gone {
  opacity: 0 !important;
  transform: translateY(-90px) rotate(-25deg) !important;
  transition: opacity 0.4s ease, transform 0.4s ease !important;
}

.shell.no-anim,
.shell.no-anim .shell-hat {
  transition: none !important;
}

.album-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.floating-record {
  position: fixed;
  top: 0;
  left: 0;
  width: 130px;
  height: 130px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  will-change: transform;
  z-index: 5;
  cursor: pointer;
}

.floating-record.active {
  opacity: 1;
  pointer-events: auto;
}

.record-disc {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  position: relative;
}

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

.record-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.3);
}

.record-label {
  position: absolute;
  top: 105%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.record-label.visible {
  opacity: 1;
}

.chandelier-fallen {
  position: fixed;
  bottom: 8vh;
  left: 50%;
  transform: translateX(-50%);
  width: min(20vw, 140px);
  height: auto;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 5;
}

.chandelier-fallen.active {
  opacity: 1;
}

.social-links {
  position: fixed;
  bottom: 4vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 6;
}

.social-links.active {
  opacity: 1;
  pointer-events: auto;
}

.social-links a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
}

.social-links a:hover {
  text-decoration: underline;
}

.trigger {
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

@media (max-width: 640px) {
  .logo-wrap {
    width: min(85vw, 520px);
    margin-bottom: 8vh;
  }

  .content-block {
    padding-top: 65px;
  }

  .date-list {
    gap: 12px;
    max-height: 32vh;
  }

  .date-entry {
    font-size: 0.95rem;
  }

  .shell-results {
    min-height: 70px;
    gap: 6px;
    margin-bottom: 10px;
  }

  .shell-result-card {
    font-size: 0.68rem;
    padding: 5px 8px;
    min-width: 150px;
  }

  .shell-game {
    gap: 18px;
    height: 90px;
  }

  .shell {
    width: 52px;
    height: 68px;
  }

  .shell-hat {
    width: 42px;
  }

  .chandelier-fallen {
    width: min(24vw, 90px);
    bottom: 6vh;
  }

  .social-links {
    gap: 14px;
    font-size: 0.7rem;
    bottom: 4vh;
  }

  .floating-record {
    width: 85px;
    height: 85px;
  }

  .record-hole {
    width: 9px;
    height: 9px;
  }
}

/* Konzerte-Termine speziell weiter oben als die anderen Abschnitte */
.content-block[data-content="konzerte"] {
  padding-top: 40px !important;
}

@media (max-width: 640px) {
  .content-block[data-content="konzerte"] {
    padding-top: 20px !important;
  }
}

/* Fix: Mail-Karten immer klickbar, auch bei Überlappung mit anderen fixen Elementen */
.shell-results {
  position: relative;
  z-index: 20;
}

.shell-result-card {
  position: relative;
  z-index: 20;
}

/* Feinkorrektur Mobile: mehr Abstand Luster <-> Social-Links, Luster etwas größer */
@media (max-width: 640px) {
  .chandelier-fallen {
    width: min(30vw, 115px) !important;
    bottom: 10vh !important;
  }

  .social-links {
    bottom: 3vh !important;
  }
}

/* Presse/Video-Wortwolke */
.press-scatter {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.press-scatter.active {
  opacity: 1;
}

.press-word {
  position: absolute;
  left: 0;
  top: 0;
  font-family: 'Caveat', cursive;
  font-weight: 700;
  color: #111;
  text-decoration: none;
  line-height: 1.1;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  animation: press-jitter 5.5s ease-in-out infinite, press-pulse 9s ease-in-out infinite;
  transform-origin: center;
}

.press-word:hover {
  text-decoration: underline;
}

.press-word--sm { font-size: clamp(1rem, 2.2vw, 1.4rem); opacity: 0.75; }
.press-word--md { font-size: clamp(1.5rem, 3.4vw, 2.1rem); opacity: 0.88; }
.press-word--lg { font-size: clamp(2.2rem, 5vw, 3.2rem); opacity: 1; }

.press-word--video { color: #6b1f1f; }

@keyframes press-jitter {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  18% { transform: translate(0.6px, -0.6px) rotate(-0.4deg); }
  36% { transform: translate(-0.5px, 0.5px) rotate(0.3deg); }
  54% { transform: translate(0.4px, 0.4px) rotate(-0.2deg); }
  72% { transform: translate(-0.6px, -0.3px) rotate(0.4deg); }
  90% { transform: translate(0.3px, 0.6px) rotate(-0.3deg); }
}

@keyframes press-pulse {
  0%, 90%, 100% { filter: none; }
  93% { filter: brightness(1.4) blur(0.3px); }
  96% { filter: brightness(0.85); }
}

@media (max-width: 640px) {
  .press-word--sm { font-size: clamp(0.85rem, 3.2vw, 1.1rem); }
  .press-word--md { font-size: clamp(1.2rem, 4.6vw, 1.6rem); }
  .press-word--lg { font-size: clamp(1.7rem, 6.2vw, 2.3rem); }
}

/* Presse/Video-Wortwolke – Korrekturen */
.press-word {
  font-family: 'Nothing You Could Do', cursive;
}

.press-word--sm { font-size: clamp(1.1rem, 2.6vw, 1.6rem); }
.press-word--md { font-size: clamp(1.7rem, 3.8vw, 2.4rem); }
.press-word--lg { font-size: clamp(2.4rem, 5.6vw, 3.6rem); }

@media (max-width: 640px) {
  .press-word--sm { font-size: clamp(1rem, 3.6vw, 1.3rem); }
  .press-word--md { font-size: clamp(1.4rem, 5vw, 1.9rem); }
  .press-word--lg { font-size: clamp(1.9rem, 6.8vw, 2.6rem); }
}

@keyframes press-jitter {
  0%, 100% { transform: rotate(var(--base-rot, 0deg)) translate(0, 0); }
  18% { transform: rotate(calc(var(--base-rot, 0deg) - 0.5deg)) translate(0.6px, -0.6px); }
  36% { transform: rotate(calc(var(--base-rot, 0deg) + 0.4deg)) translate(-0.5px, 0.5px); }
  54% { transform: rotate(calc(var(--base-rot, 0deg) - 0.3deg)) translate(0.4px, 0.4px); }
  72% { transform: rotate(calc(var(--base-rot, 0deg) + 0.5deg)) translate(-0.6px, -0.3px); }
  90% { transform: rotate(calc(var(--base-rot, 0deg) - 0.4deg)) translate(0.3px, 0.6px); }
}

.press-word--video {
  animation: press-jitter 5.5s ease-in-out infinite, press-pulse 9s ease-in-out infinite, video-noise 2.2s steps(2) infinite;
}

@keyframes video-noise {
  0%, 100% { opacity: 1; text-shadow: none; }
  10% { opacity: 0.88; text-shadow: 1px 0 rgba(230,0,60,0.45), -1px 0 rgba(0,200,255,0.45); }
  22% { opacity: 1; text-shadow: none; }
  38% { opacity: 0.7; text-shadow: -2px 0.5px rgba(230,0,60,0.4), 2px -0.5px rgba(0,200,255,0.4); }
  50% { opacity: 1; text-shadow: none; }
  63% { opacity: 0.85; text-shadow: 1px -0.5px rgba(230,0,60,0.4), -1px 0.5px rgba(0,200,255,0.4); }
  78% { opacity: 1; text-shadow: none; }
  91% { opacity: 0.55; text-shadow: -1px 0 rgba(230,0,60,0.5), 1px 0 rgba(0,200,255,0.5); }
}

/* Presse/Video-Wortwolke – Schrift + Umbruch-Fix */
.press-word {
  font-family: 'Homemade Apple', cursive;
  white-space: normal;
  text-align: center;
}

.press-word--sm { font-size: clamp(1rem, 2.2vw, 1.4rem); max-width: 34vw; }
.press-word--md { font-size: clamp(1.4rem, 3vw, 1.9rem); max-width: 42vw; }
.press-word--lg { font-size: clamp(1.9rem, 4.2vw, 2.6rem); max-width: 50vw; }

@media (max-width: 640px) {
  .press-word--sm { font-size: clamp(0.9rem, 3.4vw, 1.15rem); max-width: 44vw; }
  .press-word--md { font-size: clamp(1.15rem, 4.4vw, 1.5rem); max-width: 52vw; }
  .press-word--lg { font-size: clamp(1.4rem, 5.6vw, 1.9rem); max-width: 60vw; }
}

/* Presse/Video-Wortwolke – Schrift, Größen, ruhigerer Rausch-Effekt */
.press-word {
  font-family: 'Kalam', cursive;
}

.press-word--xs { font-size: clamp(0.8rem, 1.6vw, 1.05rem); max-width: 28vw; opacity: 0.65; }

@media (max-width: 640px) {
  .press-word--xs { font-size: clamp(0.75rem, 2.8vw, 0.95rem); max-width: 38vw; }
}

.press-word--video {
  animation: press-jitter 5.5s ease-in-out infinite, press-pulse 9s ease-in-out infinite, video-noise 4.5s ease-in-out infinite;
}

@keyframes video-noise {
  0%, 42%, 100% { opacity: 1; text-shadow: none; }
  48% { opacity: 0.85; text-shadow: 1px 0 rgba(230,0,60,0.3), -1px 0 rgba(0,200,255,0.3); }
  54% { opacity: 1; text-shadow: none; }
  90% { opacity: 1; text-shadow: none; }
  95% { opacity: 0.82; text-shadow: -1px 0 rgba(230,0,60,0.3), 1px 0 rgba(0,200,255,0.3); }
}

/* Presse/Video-Wortwolke – finale Größen-/Schrift-Korrektur */
.press-word {
  font-family: 'Homemade Apple', cursive;
}

.press-word--xs { font-size: clamp(1rem, 2vw, 1.3rem); max-width: 30vw; opacity: 0.7; }
.press-word--sm { font-size: clamp(1.2rem, 2.6vw, 1.6rem); max-width: 34vw; }
.press-word--md { font-size: clamp(1.6rem, 3.4vw, 2.1rem); max-width: 42vw; }
.press-word--lg { font-size: clamp(2.1rem, 4.6vw, 2.8rem); max-width: 50vw; }

@media (max-width: 640px) {
  .press-word--xs { font-size: clamp(0.85rem, 2.6vw, 1.05rem); max-width: 26vw; }
  .press-word--sm { font-size: clamp(1rem, 3.2vw, 1.25rem); max-width: 30vw; }
  .press-word--md { font-size: clamp(1.2rem, 3.8vw, 1.5rem); max-width: 36vw; }
  .press-word--lg { font-size: clamp(1.4rem, 4.6vw, 1.75rem); max-width: 42vw; }
}


/* Presse-Wörter außerhalb der Presse-Sektion nicht klickbar */
.press-scatter:not(.active) {
  pointer-events: none;
}

.press-scatter:not(.active) .press-word {
  pointer-events: none;
}

/* Presse/Video-Wortwolke – Desktop-Größen deutlich kompakter */
.press-word--xs { font-size: clamp(0.85rem, 1.3vw, 1.05rem); max-width: 20vw; opacity: 0.7; }
.press-word--sm { font-size: clamp(1rem, 1.7vw, 1.3rem); max-width: 24vw; }
.press-word--md { font-size: clamp(1.3rem, 2.3vw, 1.7rem); max-width: 30vw; }
.press-word--lg { font-size: clamp(1.7rem, 3vw, 2.2rem); max-width: 36vw; }

/* Abstand Kronleuchter wird jetzt allein ueber .chandelier-fallen bottom
   geregelt (siehe Feinkorrektur weiter unten) - keine transform-Regel
   mehr auf .shell-game, die die neue, groessere Huetchen-Groesse
   (siehe .shell weiter unten) sonst wieder verkleinert und nach oben
   zieht. */
.chandelier-fallen {
  bottom: 3vh !important;
}

/* Hütchen groesser + Abstand zum Kronleuchter, ohne dass die Mail-Karte
   die Huetchen ueberlappt: die GANZE Kontakt-Gruppe (Ergebnis-Karten +
   Huetchen zusammen) wird als Einheit verschoben, damit ihr gegenseitiger
   Abstand exakt so bleibt wie im normalen Layout berechnet. */
.content-block[data-content="kontakt"] {
  transform: translateY(-2vh);
}

@media (max-width: 640px) {
  .content-block[data-content="kontakt"] {
    transform: translateY(-2vh);
  }
}

/* Huetchen direkt groesser machen (statt ueber scale), damit sie auch
   am Handy gut sichtbar sind */
.shell {
  width: 100px !important;
  height: 122px !important;
}
.shell-hat {
  width: 80px !important;
}
@media (max-width: 640px) {
  .shell {
    width: 78px !important;
    height: 100px !important;
  }
  .shell-hat {
    width: 62px !important;
  }
}
