* {
  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;
  }
}


/* Randbilder */
.edge-photos {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
  transition: opacity 0.6s ease;
  --reveal: 0;
}
.edge-photos.is-hidden { opacity: 0; }
.edge-photos.is-hidden .edge-photo { pointer-events: none !important; }

.edge-photo {
  position: absolute;
  pointer-events: auto;
  cursor: pointer;
  opacity: 0;
  --vis: 0;
  --hover: 0;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
  -webkit-tap-highlight-color: transparent;
}
.edge-photo--left {
  left: 0;
  transform: translateX(calc(-100% * (1 - var(--vis)))) rotate(var(--rot));
}
.edge-photo--right {
  right: 0;
  transform: translateX(calc(100% * (1 - var(--vis)))) rotate(var(--rot));
}
.edge-photo.is-in {
  opacity: 1;
  --vis: calc(var(--peek) + var(--hover) * 0.16);
}
.edge-photo.is-in:hover { --hover: 1; }
.edge-photo.is-out { opacity: 0; pointer-events: none; }

.edge-photo img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  animation: photo-flicker var(--dur, 9s) linear infinite;
  animation-delay: var(--delay, 0s);
}
.edge-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,calc(0.2 * var(--f, 0.5))) 0 1px, transparent 1px 3px);
  animation: photo-scan 1.4s linear infinite;
}
@keyframes photo-scan { from { background-position: 0 0; } to { background-position: 0 3px; } }

@keyframes photo-flicker {
  0%   { opacity: 1; filter: brightness(1) contrast(1); transform: translateX(0); }
  40%  { opacity: calc(1 - 0.06 * var(--f, 0.5)); filter: brightness(calc(1 + 0.08 * var(--f, 0.5))) contrast(1); transform: translateX(0); }
  78%  { opacity: 1; filter: brightness(1) contrast(1); transform: translateX(0); }
  80%  { opacity: calc(1 - 0.35 * var(--f, 0.5)); filter: brightness(calc(1 + 0.55 * var(--f, 0.5))) contrast(calc(1 + 0.5 * var(--f, 0.5))); transform: translateX(calc(-3px * var(--f, 0.5))); }
  81%  { opacity: 1; filter: brightness(1) contrast(1); transform: translateX(calc(2px * var(--f, 0.5))); }
  82%  { opacity: calc(1 - 0.2 * var(--f, 0.5)); filter: brightness(calc(1 - 0.2 * var(--f, 0.5))) contrast(calc(1 + 0.3 * var(--f, 0.5))) saturate(calc(1 + 0.8 * var(--f, 0.5))); transform: translateX(0); }
  83%  { opacity: 1; filter: brightness(1) contrast(1); transform: translateX(0); }
  100% { opacity: 1; filter: brightness(1) contrast(1); transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .edge-photo img, .edge-photo::after { animation: none; }
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}
.photo-lightbox.is-open { opacity: 1; }
.photo-lightbox img { max-width: 92vw; max-height: 88vh; box-shadow: 0 10px 40px rgba(0,0,0,0.25); }


/* Galerie */
.photo-gallery {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s ease;
  touch-action: none;
  overscroll-behavior: contain;
}
.photo-gallery.is-open { opacity: 1; }
.photo-gallery__stage { position: absolute; inset: 0; }
.photo-gallery__stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.photo-gallery::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0) 55%, rgba(255,255,255,0.85) 100%);
}
.photo-gallery__close {
  position: absolute;
  top: 14px;
  right: 16px;
  z-index: 2;
  background: none;
  border: 0;
  padding: 10px;
  font-family: 'Homemade Apple', cursive;
  font-size: 1.05rem;
  color: #111;
  cursor: pointer;
}

/* Kontakt: Schreibschrift-Woerter statt Huetchenspiel */
.shell-results, .shell-game { display: none !important; }

.contact-words {
  display: flex;
  flex-direction: column;
  gap: calc(clamp(34px, 5vh, 54px) * var(--cs, 1));
  padding-top: clamp(16px, 3vh, 34px);
}
.contact-item {
  width: fit-content;
  max-width: 100%;
  margin-left: calc(var(--ml, 0) * 1%);
  --base-rot: 0deg;
  transform: rotate(var(--base-rot));
  transform-origin: left center;
  animation: press-jitter 6s ease-in-out infinite;
}
.contact-word {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: 'Homemade Apple', cursive;
  font-size: calc(clamp(1.35rem, 3.4vw, 2.3rem) * var(--cs, 1));
  line-height: 1.3;
  color: #111;
  text-align: left;
}
.contact-word:hover { text-shadow: 1px 0 rgba(255, 0, 0, 0.25), -1px 0 rgba(0, 160, 255, 0.25); }
.contact-mail {
  display: block;
  min-height: 1.4em;
  margin-top: 6px;
  font-family: 'Homemade Apple', cursive;
  font-size: calc(clamp(0.72rem, 2.5vw, 0.95rem) * var(--cs, 1));
  color: #111;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-mail:hover { text-decoration: underline; }
.contact-item.is-open .contact-mail::after {
  content: '|';
  margin-left: 1px;
  animation: contact-caret 1s steps(1) infinite;
}
@keyframes contact-caret { 50% { opacity: 0; } }


/* Galerie-Kritzel-X */
.photo-gallery__close { width: 52px; height: 52px; padding: 8px; }
.photo-gallery__close svg { display: block; width: 100%; height: 100%; }
/* Kontakt-Block nicht mehr verschieben (Huetchenspiel gibt es nicht mehr) */
.content-block[data-content="kontakt"] { transform: none !important; }


/* Kontakt gross + lesbar */
.contact-word { font-size: calc(clamp(1.8rem, 4.4vw, 2.7rem) * var(--cs, 1)); }
.contact-mail {
  font-size: calc(clamp(0.98rem, 3.6vw, 1.35rem) * var(--cs, 1));
  line-height: 1.45;
  overflow-wrap: break-word;
}
.contact-item { max-width: calc(100% - var(--ml, 0) * 1%); }
.contact-item.is-long .contact-mail { min-height: 2.9em; }
.contact-code {
  font-size: 1.15em;
  letter-spacing: 0.1em;
  margin-left: 0.08em;
  -webkit-text-stroke: 0.5px #111;
}


/* Kontakt Adressen gross */
.contact-mail { font-size: calc(clamp(0.98rem, 3.6vw, 1.9rem) * var(--cs, 1)); }
.contact-code { font-size: 1.1em; letter-spacing: 0.06em; }

/* Foto-Hinweis in der Grossansicht */
.photo-lightbox__by {
  position: absolute;
  right: 18px;
  bottom: max(14px, env(safe-area-inset-bottom));
  font-family: 'Homemade Apple', cursive;
  font-size: 0.8rem;
  color: #111;
  opacity: 0.7;
  pointer-events: none;
}


/* Randbilder im Hintergrund */
.edge-photos { z-index: -1; }

/* Randbilder wieder vorne (Hintergrund-Ebene kommt separat) */
.edge-photos { z-index: 2; }


/* Randbilder hinter Inhalt (in .pinned) */
.edge-photos { z-index: -1; }


/* Ausbleich-Hof */
.edge-halo {
  position: absolute;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 16px 12px rgba(255, 255, 255, 0.88);
  border-radius: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.edge-halo.is-in { opacity: 1; }


/* Schnelleres Einblenden */
.edge-photo {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}


/* Absage: Termine mit Kugelschreiber durchgestrichen */
.date-entry.is-cancelled { pointer-events: none; cursor: default; }
.date-entry.is-cancelled .cancel-text { position: relative; display: inline-block; }
.date-entry.is-cancelled .cancel-text::after {
  content: '';
  position: absolute;
  left: -4%; right: -4%; top: 50%;
  height: 0.7em;
  transform: translateY(-50%) rotate(-1.2deg);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20' preserveAspectRatio='none'%3E%3Cpath d='M0 11 C15 8 30 13 50 10 S85 8 100 10' fill='none' stroke='%23111' stroke-width='2.6' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3Cpath d='M3 13 C22 11 42 15 62 12 S90 11 98 12' fill='none' stroke='%23111' stroke-width='1.8' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
}
.date-entry.is-cancelled .cancel-note {
  display: inline-block;
  margin-left: 0.7em;
  font-size: 0.85em;
  color: #111;
}


/* Absage: ein Hinweis, schräg rechts neben den Terminen */
.cancel-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cancel-group .cancel-note {
  position: absolute;
  right: 0;
  top: 50%;
  display: block;
  width: auto;
  margin: 0;
  font-family: 'Homemade Apple', cursive;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #111;
  text-align: left;
  transform: translateY(-50%) rotate(-11deg);
  pointer-events: none;
}
@media (max-width: 900px) {
  .cancel-group { gap: 12px; }
  .cancel-group .cancel-note {
    position: static;
    margin-top: 2px;
    text-align: center;
    font-size: 0.8rem;
    transform: rotate(-3deg);
  }
  .cancel-group .cancel-note br:nth-of-type(1),
  .cancel-group .cancel-note br:nth-of-type(2) { display: none; }
}


/* Absage: Handy-Variante, Hinweis neben den Terminen (ein Wort pro Zeile) */
.cancel-group .cancel-note .nm { display: none; }
@media (max-width: 900px) {
  .cancel-group { padding-right: 4.8rem; }
  .cancel-group .date-entry { font-size: 0.84rem; }
  .cancel-group .cancel-note {
    position: absolute;
    right: 0.2rem;
    top: 50%;
    margin: 0;
    width: 4.4rem;
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: left;
    transform: translateY(-50%) rotate(-8deg);
  }
  .cancel-group .cancel-note .nd { display: none; }
  .cancel-group .cancel-note .nm { display: inline; }
  .cancel-group .cancel-note .nm br:nth-of-type(n) { display: inline; }
}


/* Absage: kein seitlicher Scrollbalken, Hinweis etwas weiter innen */
.date-list { overflow-x: hidden; }
.cancel-group .cancel-note { right: 0.9rem; }
@media (max-width: 900px) {
  .cancel-group .cancel-note { right: 0.6rem; }
}
