:root {
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  --bg: #050506;
  --bg-soft: #0c0c10;
  --card: rgba(18, 18, 24, 0.74);
  --card-strong: rgba(24, 24, 31, 0.94);
  --line: rgba(255, 255, 255, 0.10);
  --text: #f3f3f6;
  --muted: #a7a7b2;
  --red: #b90818;
  --red-soft: rgba(185, 8, 24, 0.22);
  --gold: #d1a447;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(185, 8, 24, 0.20), transparent 32rem),
    radial-gradient(circle at 80% 20%, rgba(209, 164, 71, 0.08), transparent 28rem),
    linear-gradient(135deg, #030304 0%, #09090d 52%, #030304 100%);
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.page-glow {
  position: fixed;
  width: 26rem;
  height: 26rem;
  right: -9rem;
  top: 14rem;
  background: radial-gradient(circle, rgba(185, 8, 24, 0.34), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1180px, calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.74);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 48px rgba(0,0,0,0.36);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--red), #440006);
  border: 1px solid rgba(255,255,255,0.18);
  font-family: var(--font-display);
  font-weight: 900;
  box-shadow: 0 0 28px rgba(185, 8, 24, 0.32);
}

.brand strong {
  display: block;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.22rem;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.main-nav a {
  color: var(--muted);
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-size: 0.92rem;
  transition: 180ms ease;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}



.section-pad {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5.5rem 0;
}

/* Hero-Bereich mittig */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 7rem);
  text-align: center;
}

.hero-content {
  width: min(720px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.78rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.03em;
}

h1 {
  max-width: 780px;
  font-size: clamp(2.8rem, 8vw, 6.65rem);
  line-height: 0.92;
}

h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

h3 {
  font-size: 1.55rem;
}

.hero-text {
  max-width: 650px;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0 1.25rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red), #65000a);
  border-color: rgba(255,255,255,0.13);
  box-shadow: 0 14px 36px rgba(185, 8, 24, 0.26);
}

.btn-ghost {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
}

.hero-card {
  position: relative;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -1.4rem;
  border: 1px solid rgba(209, 164, 71, 0.20);
  border-radius: calc(var(--radius) + 1.4rem);
  transform: rotate(-4deg);
}

.wanted-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.13);
  background: linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  box-shadow: var(--shadow);
}

.wanted-card .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  color: #fff;
  background: rgba(0,0,0,0.55);
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 800;
}

.wanted-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.wanted-info {
  position: absolute;
  inset: auto 1rem 1rem;
  padding: 1rem;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.62);
  backdrop-filter: blur(16px);
}

.wanted-info h2 {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.wanted-info p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 0;
}

.stats article {
  padding: 1.35rem;
  border-radius: 1.35rem;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.045);
}

.stats strong {
  display: block;
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 2rem;
}

.stats span {
  color: var(--muted);
}

.section-title {
  max-width: 740px;
  margin-bottom: 2rem;
}

.section-title p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.7;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dog-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
  animation: cardIn 680ms ease both;
  animation-delay: var(--delay);
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dog-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.dog-image-button img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
  transition: transform 420ms ease, filter 420ms ease;
}

.dog-card:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.08);
}

.dog-card-body {
  padding: 1.1rem;
}

.mini-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
}

.dog-card p {
  color: var(--muted);
  line-height: 1.65;
}


.music-section {
  padding-top: 0;
}

.music-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.music-section-title {
  margin-inline: auto;
  text-align: center;
}

.music-showcase {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  margin: 0 0 1.4rem;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  overflow: hidden;
  border: 1px solid rgba(209, 164, 71, 0.22);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 12% 22%, rgba(185, 8, 24, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.075), rgba(255,255,255,0.025)),
    rgba(9, 9, 13, 0.78);
  box-shadow: 0 18px 52px rgba(0,0,0,0.30);
}

.music-showcase::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0.34;
  background: linear-gradient(115deg, transparent, rgba(209, 164, 71, 0.16), transparent);
  transform: translateX(-70%);
  animation: softSweep 7s ease-in-out infinite;
}

.music-showcase > * {
  position: relative;
  z-index: 1;
}

.music-showcase h3 {
  margin-top: 0.15rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
}

.music-showcase p {
  max-width: 640px;
  margin: 0.55rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.music-showcase-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
  min-width: min(360px, 100%);
}

.music-showcase-stats span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.45rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.055);
  font-size: 0.82rem;
  font-weight: 800;
}

.music-showcase-stats strong {
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.music-card {
  overflow: hidden;
  border: 1px solid rgba(209, 164, 71, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(185, 8, 24, 0.14), transparent 46%),
    var(--card);
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
  animation: cardIn 680ms ease both;
  animation-delay: var(--delay);
}

.music-card-cover {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 12.6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 32% 26%, rgba(209, 164, 71, 0.30), transparent 28%),
    radial-gradient(circle at 74% 76%, rgba(185, 8, 24, 0.36), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.09), rgba(255,255,255,0.02));
  border-bottom: 1px solid var(--line);
}

.music-card-cover::before,
.music-card-cover::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
}

.music-card-cover::before {
  width: 8.4rem;
  height: 8.4rem;
  background:
    repeating-radial-gradient(circle, rgba(255,255,255,0.08) 0 1px, transparent 1px 9px),
    radial-gradient(circle, rgba(0,0,0,0.08), rgba(0,0,0,0.42));
}

.music-card-cover::after {
  width: 3.25rem;
  height: 3.25rem;
  background: rgba(5, 5, 7, 0.78);
  box-shadow: inset 0 0 0 1px rgba(209, 164, 71, 0.18);
}

.music-record {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--red), #440006);
  box-shadow: 0 0 34px rgba(185, 8, 24, 0.34);
}

.music-record span {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font-size: 1.8rem;
  box-shadow: none;
}

.music-track-number,
.music-status {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0 0.72rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  background: rgba(5, 5, 7, 0.62);
  backdrop-filter: blur(12px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.music-track-number {
  top: 0.85rem;
  left: 0.85rem;
  color: var(--gold);
}

.music-status {
  right: 0.85rem;
  bottom: 0.85rem;
  color: var(--muted);
}

.music-card.is-playing .music-status {
  color: #fff;
  border-color: rgba(209, 164, 71, 0.34);
  background: rgba(185, 8, 24, 0.34);
  box-shadow: 0 0 22px rgba(185, 8, 24, 0.22);
}

.music-card-body {
  padding: 1.15rem;
}

.music-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.72rem;
}

.music-card-meta .mini-tag {
  margin-bottom: 0;
}

.music-badge {
  flex: 0 0 auto;
  padding: 0.32rem 0.55rem;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.055);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.music-card p {
  color: var(--muted);
  line-height: 1.65;
}

.music-player {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  margin-top: 1rem;
  padding: 0.88rem;
  overflow: hidden;
  border: 1px solid rgba(209, 164, 71, 0.22);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(185, 8, 24, 0.18), transparent 52%),
    rgba(5, 5, 7, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 34px rgba(0,0,0,0.30);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.music-player::before {
  content: "";
  position: absolute;
  width: 8rem;
  height: 8rem;
  right: -4.5rem;
  top: -4.5rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 164, 71, 0.22), transparent 68%);
  pointer-events: none;
}

.music-player.is-playing {
  border-color: rgba(185, 8, 24, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 18px 42px rgba(185, 8, 24, 0.18),
    0 18px 52px rgba(0,0,0,0.28);
}

.music-audio {
  display: none;
}

.music-play-button {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--red), #440006);
  box-shadow: 0 0 30px rgba(185, 8, 24, 0.30);
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.music-play-button:hover {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(209, 164, 71, 0.52);
  box-shadow: 0 0 40px rgba(185, 8, 24, 0.44);
}

.music-player.is-playing .music-play-button {
  background: linear-gradient(145deg, var(--gold), #7a4a04);
  box-shadow: 0 0 42px rgba(209, 164, 71, 0.28);
}

.music-play-icon {
  line-height: 1;
  font-size: 1rem;
  transform: translateX(1px);
}

.music-player-content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
}

.music-player-row,
.music-player-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.music-player-row {
  margin-bottom: 0.62rem;
}

.music-player-footer {
  margin-top: 0.42rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.music-player-label {
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.music-player-time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.music-progress {
  --progress: 0%;
  appearance: none;
  width: 100%;
  height: 0.62rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background:
    linear-gradient(90deg, var(--red) 0%, var(--gold) var(--progress), rgba(255,255,255,0.10) var(--progress), rgba(255,255,255,0.10) 100%);
  box-shadow: inset 0 2px 8px rgba(0,0,0,0.38);
}

.music-progress::-webkit-slider-runnable-track {
  height: 0.62rem;
  border-radius: 999px;
}

.music-progress::-webkit-slider-thumb {
  appearance: none;
  width: 1.05rem;
  height: 1.05rem;
  margin-top: -0.24rem;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(209, 164, 71, 0.45);
}

.music-progress::-moz-range-track {
  height: 0.62rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}

.music-progress::-moz-range-progress {
  height: 0.62rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.music-progress::-moz-range-thumb {
  width: 0.95rem;
  height: 0.95rem;
  border: 2px solid rgba(255,255,255,0.82);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(209, 164, 71, 0.45);
}

.story-panel,
.posting-card {
  border: 1px solid rgba(209, 164, 71, 0.20);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(185, 8, 24, 0.16), transparent 45%),
    var(--card-strong);
  padding: clamp(1.4rem, 5vw, 3rem);
  box-shadow: var(--shadow);
}

.story-panel {
  display: grid;
  grid-template-columns: 0.75fr 1fr;
  gap: 2rem;
  align-items: start;
}

.story-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.story-panel .btn {
  width: fit-content;
  margin-top: 1.3rem;
  grid-column: 2;
}

.posting-card ol {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.9;
}

code {
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.13rem 0.35rem;
  background: rgba(255,255,255,0.07);
}

.hint {
  margin: 1.2rem 0 0;
  color: var(--gold);
}

.site-footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.modal,
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.modal.is-open,
.lightbox.is-open {
  display: grid;
  place-items: center;
}

.modal-backdrop,
.lightbox::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: blur(12px);
}

.modal-window {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: clamp(1.4rem, 5vw, 2.4rem);
  border-radius: var(--radius);
  border: 1px solid rgba(209, 164, 71, 0.24);
  background: #09090d;
  box-shadow: var(--shadow);
}

.modal-close,
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: #fff;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-story p {
  color: var(--muted);
  line-height: 1.8;
}

.lightbox img {
  position: relative;
  z-index: 2;
  max-width: min(920px, calc(100% - 2rem));
  max-height: 78vh;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.lightbox p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  margin: 1rem 0 0;
  text-align: center;
}




@media (max-width: 880px) {
  .site-header {
    align-items: flex-start;
    border-radius: 1.4rem;
    flex-direction: column;
  }
  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .hero,
  .story-panel {
    grid-template-columns: 1fr;
  }

  .story-panel .btn {
    grid-column: auto;
  }

  .gallery-grid,
  .music-gallery-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-pad {
    padding: 4rem 0;
  }
}

.story-impact {
  color: #f5efe4;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ==============================
   Ultimate Apocalypse Animations
   ============================== */
@property --rgb-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  isolation: isolate;
}

body.is-modal-open {
  overflow: hidden;
}

body::before {
  animation: gridDrift 30s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 92px 92px, 92px 92px; }
}

.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  gap: 1rem;
  align-content: center;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(185, 8, 24, 0.18), transparent 34rem),
    linear-gradient(135deg, #030304, #09090d 55%, #030304);
  animation: introFadeAway 2.35s var(--ease-soft) forwards;
}

.intro-mark {
  display: grid;
  place-items: center;
  width: 5.8rem;
  height: 5.8rem;
  border-radius: 50%;
  border: 1px solid rgba(209, 164, 71, 0.34);
  color: #fff;
  background: linear-gradient(145deg, var(--red), #440006);
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  box-shadow: 0 0 60px rgba(185, 8, 24, 0.42);
  animation: introMarkPop 1.3s var(--ease-out) both;
}

.intro-screen p {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: fadeSlideUp 1.1s var(--ease-out) 180ms both;
}

@keyframes introMarkPop {
  0% { opacity: 0; transform: translateY(18px) scale(0.72) rotate(-8deg); filter: blur(10px); }
  70% { opacity: 1; transform: translateY(0) scale(1.08) rotate(2deg); filter: blur(0); }
  100% { transform: translateY(0) scale(1) rotate(0); }
}

@keyframes introFadeAway {
  0%, 62% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.page-glow {
  animation: pageGlowFloat 9s var(--ease-soft) infinite alternate;
}

@keyframes pageGlowFloat {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.72; }
  to { transform: translate3d(-2rem, 3rem, 0) scale(1.18); opacity: 1; }
}

.ambient-orbs,
.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orbs {
  z-index: -2;
}

.particle-field {
  z-index: 1;
}

.ambient-orbs span {
  position: absolute;
  width: clamp(12rem, 22vw, 24rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 8, 24, 0.18), transparent 68%);
  filter: blur(10px);
  opacity: 0.75;
  animation: orbFloat 16s var(--ease-soft) infinite alternate;
}

.ambient-orbs span:nth-child(1) { left: -8rem; top: 24vh; }
.ambient-orbs span:nth-child(2) {
  right: 6vw;
  top: 58vh;
  background: radial-gradient(circle, rgba(209, 164, 71, 0.13), transparent 68%);
  animation-duration: 19s;
  animation-delay: -6s;
}
.ambient-orbs span:nth-child(3) {
  left: 48vw;
  top: -9rem;
  width: clamp(10rem, 18vw, 20rem);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.075), transparent 70%);
  animation-duration: 21s;
  animation-delay: -3s;
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(4rem, -3rem, 0) scale(1.18); }
}

.zombie-particle {
  position: absolute;
  left: var(--x);
  top: -4rem;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  opacity: 0;
  background: rgba(209, 164, 71, 0.42);
  box-shadow: 0 0 14px rgba(185, 8, 24, 0.22);
  filter: blur(var(--blur));
  animation: ashFall var(--duration) linear var(--delay) infinite;
}

.zombie-particle:nth-child(3n) {
  background: rgba(185, 8, 24, 0.36);
}

.zombie-particle:nth-child(5n) {
  border-radius: 30% 70% 44% 56%;
  background: rgba(255,255,255,0.20);
}

@keyframes ashFall {
  0% { opacity: 0; transform: translate3d(0, -8vh, 0) rotate(0deg); }
  12% { opacity: var(--opacity); }
  100% { opacity: 0; transform: translate3d(var(--drift), 112vh, 0) rotate(360deg); }
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 2;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(185, 8, 24, 0.18), transparent 64%);
  mix-blend-mode: screen;
  transition: opacity 180ms ease;
  will-change: transform;
}

.cursor-glow.is-visible {
  opacity: 1;
}

.paw-print {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  pointer-events: none;
  color: rgba(209, 164, 71, 0.64);
  font-size: 2rem;
  text-shadow: 0 0 16px rgba(185, 8, 24, 0.26);
  transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot));
  animation: pawFade 900ms ease forwards;
}

@keyframes pawFade {
  0% { opacity: 0; transform: translate3d(var(--x), var(--y), 0) rotate(var(--rot)) scale(0.55); }
  18% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--end-x), var(--end-y), 0) rotate(var(--rot)) scale(1.18); }
}

.site-header {
  transition: transform 240ms ease, padding 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  padding: 0.64rem 0.85rem;
  border-color: rgba(209, 164, 71, 0.24);
  background: rgba(5, 5, 7, 0.88);
  box-shadow: 0 18px 58px rgba(0,0,0,0.50), 0 0 30px rgba(185, 8, 24, 0.10);
}

.main-nav a {
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.95rem;
  right: 0.95rem;
  bottom: 0.42rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: #fff;
  background: rgba(185, 8, 24, 0.12);
}

.hero-content > * {
  animation: fadeSlideUp 720ms var(--ease-out) both;
}

.hero-content > *:nth-child(1) { animation-delay: 250ms; }
.hero-content > *:nth-child(2) { animation-delay: 360ms; }
.hero-content > *:nth-child(3) { animation-delay: 470ms; }
.hero-content > *:nth-child(4) { animation-delay: 580ms; }

.glitch-title,
.glitch-soft {
  position: relative;
  text-shadow: 0 0 32px rgba(185, 8, 24, 0.22);
}

.glitch-title::before,
.glitch-title::after,
.glitch-soft::before,
.glitch-soft::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
}

.glitch-title::before,
.glitch-soft::before {
  color: rgba(255, 0, 76, 0.65);
  transform: translateX(-2px);
}

.glitch-title::after,
.glitch-soft::after {
  color: rgba(209, 164, 71, 0.58);
  transform: translateX(2px);
}

.glitch-title:hover::before,
.glitch-title:hover::after,
.glitch-soft:hover::before,
.glitch-soft:hover::after {
  opacity: 0.75;
  animation: glitchShift 420ms steps(2, end) infinite;
}

@keyframes glitchShift {
  0% { clip-path: inset(0 0 82% 0); transform: translate(-2px, -1px); }
  25% { clip-path: inset(34% 0 38% 0); transform: translate(2px, 1px); }
  50% { clip-path: inset(68% 0 12% 0); transform: translate(-1px, 2px); }
  75% { clip-path: inset(12% 0 64% 0); transform: translate(3px, -1px); }
  100% { clip-path: inset(0 0 82% 0); transform: translate(-2px, -1px); }
}

.btn,
.music-play-button {
  transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
}

.btn:hover {
  transform: translate(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px));
}

.btn-primary:hover {
  box-shadow: 0 18px 46px rgba(185, 8, 24, 0.36), 0 0 28px rgba(209, 164, 71, 0.12);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition: opacity 700ms var(--ease-out) var(--reveal-delay, 0ms), transform 700ms var(--ease-out) var(--reveal-delay, 0ms), filter 700ms var(--ease-out) var(--reveal-delay, 0ms);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.dog-card.reveal-on-scroll,
.music-card.reveal-on-scroll {
  animation: none;
}

.stats article,
.dog-card,
.music-card,
.story-panel,
.timeline-card {
  position: relative;
  transition:
    transform 240ms ease,
    border-color 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
  transform-style: preserve-3d;
}

.stats article::before,
.dog-card::before,
.music-card::before,
.story-panel::before,
.timeline-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 0%), rgba(185, 8, 24, 0.34), transparent 35%),
    linear-gradient(115deg, transparent, rgba(209, 164, 71, 0.12), transparent);
  transition: opacity 220ms ease;
}

.stats article::after,
.dog-card::after,
.music-card::after,
.story-panel::after,
.timeline-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, rgba(185, 8, 24, 0.86), rgba(209, 164, 71, 0.52), rgba(185, 8, 24, 0.86));
  filter: blur(14px);
  transition: opacity 220ms ease;
}

.stats article:hover::before,
.dog-card:hover::before,
.music-card:hover::before,
.story-panel:hover::before,
.timeline-card:hover::before,
.stats article:hover::after,
.dog-card:hover::after,
.music-card:hover::after,
.story-panel:hover::after,
.timeline-card:hover::after {
  opacity: 1;
}

.stats article:hover,
.story-panel:hover,
.timeline-card:hover {
  transform: translateY(-6px);
  border-color: rgba(185, 8, 24, 0.48);
  box-shadow: 0 24px 70px rgba(0,0,0,0.46), 0 0 34px rgba(185, 8, 24, 0.15);
}

.dog-card:hover,
.music-card:hover {
  transform: translateY(-8px) perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  border-color: rgba(185, 8, 24, 0.55);
  box-shadow: 0 28px 76px rgba(0,0,0,0.50), 0 0 44px rgba(185, 8, 24, 0.22);
}

.dog-card-body,
.music-card-body,
.story-panel > *,
.timeline-card > *,
.stats article > * {
  position: relative;
  z-index: 1;
}

.music-card-cover::before {
  transition: transform 420ms ease, box-shadow 420ms ease;
}

.music-card:hover .music-card-cover::before,
.music-card.is-playing .music-card-cover::before {
  transform: scale(1.04) rotate(8deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), 0 0 42px rgba(185, 8, 24, 0.20);
}

.music-card.is-playing .music-card-cover::before {
  animation: recordSpin 7s linear infinite;
}

.music-card.is-playing .music-record span {
  animation: musicNotePulse 900ms ease-in-out infinite alternate;
}

@keyframes recordSpin { to { transform: scale(1.04) rotate(368deg); } }

@keyframes musicNotePulse {
  from { transform: scale(1); }
  to { transform: scale(1.08); box-shadow: 0 0 46px rgba(209, 164, 71, 0.34), 0 0 30px rgba(185, 8, 24, 0.28); }
}

.music-player {
  isolation: isolate;
}

.music-player::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: conic-gradient(from var(--rgb-angle, 0deg), #ff004c, #d1a447, #00e5ff, #b90818, #ff004c);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity 220ms ease;
  animation: rgbBorderSpin 3.8s linear infinite;
}

.music-player.is-playing::after {
  opacity: 1;
}

@keyframes rgbBorderSpin { to { --rgb-angle: 360deg; } }

.music-player.is-playing {
  animation: playerGlowPulse 1.8s ease-in-out infinite alternate;
}

@keyframes playerGlowPulse {
  from {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 18px 42px rgba(185, 8, 24, 0.18), 0 18px 52px rgba(0,0,0,0.28);
  }
  to {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 22px 54px rgba(209, 164, 71, 0.18), 0 22px 62px rgba(185, 8, 24, 0.20);
  }
}


.music-progress::-webkit-slider-thumb {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.music-progress:hover::-webkit-slider-thumb { transform: scale(1.12); }
.music-progress::-moz-range-thumb {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.music-progress:hover::-moz-range-thumb { transform: scale(1.12); }

.story-title {
  margin-inline: auto;
  text-align: center;
}

.story-timeline {
  position: relative;
  display: grid;
  gap: 1.2rem;
  max-width: 980px;
  margin: 0 auto 1.3rem;
}

.story-timeline::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(185, 8, 24, 0.62), rgba(209, 164, 71, 0.52), transparent);
  box-shadow: 0 0 24px rgba(185, 8, 24, 0.24);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.timeline-item:nth-child(even) .timeline-card {
  grid-column: 2;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid #08080c;
  box-shadow: 0 0 0 6px rgba(185, 8, 24, 0.16), 0 0 28px rgba(209, 164, 71, 0.34);
  transform: translate(-50%, -50%);
}

.timeline-card {
  grid-column: 1;
  padding: clamp(1.15rem, 3vw, 1.55rem);
  overflow: hidden;
  border: 1px solid rgba(209, 164, 71, 0.20);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(185, 8, 24, 0.14), transparent 44%), var(--card-strong);
  box-shadow: 0 18px 54px rgba(0,0,0,0.32);
}

.timeline-card p {
  color: var(--muted);
  line-height: 1.75;
}

.story-callout {
  margin-top: 2rem;
}

.modal.is-open .modal-backdrop,
.lightbox.is-open::before {
  animation: overlayFade 220ms ease both;
}

.modal.is-open .modal-window {
  animation: modalPop 340ms var(--ease-out) both;
}

.lightbox::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.05), transparent 3px),
    radial-gradient(circle at center, transparent 34%, rgba(185, 8, 24, 0.12) 70%, rgba(0,0,0,0.60));
  background-size: 100% 6px, auto;
}

.lightbox.is-open::after {
  opacity: 1;
  animation: cinemaScan 7s linear infinite;
}

.lightbox-frame {
  position: relative;
  z-index: 2;
  max-width: min(920px, calc(100% - 2rem));
  max-height: 78vh;
  padding: 0.35rem;
  border-radius: calc(var(--radius) + 0.35rem);
  background: linear-gradient(135deg, rgba(185, 8, 24, 0.60), rgba(209, 164, 71, 0.38), rgba(255,255,255,0.10));
  box-shadow: var(--shadow), 0 0 52px rgba(185, 8, 24, 0.22);
}

.lightbox img {
  max-width: 100%;
  max-height: calc(78vh - 0.7rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  object-fit: contain;
}

.lightbox.is-open .lightbox-frame {
  animation: lightboxZoom 360ms var(--ease-out) both;
}

.lightbox.is-open p {
  animation: fadeSlideUp 360ms var(--ease-out) 80ms both;
}

@keyframes cinemaScan {
  from { background-position: 0 0, center; }
  to { background-position: 0 120px, center; }
}

@keyframes overlayFade { from { opacity: 0; } to { opacity: 1; } }

@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(0.96); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes lightboxZoom {
  from { opacity: 0; transform: translateY(18px) scale(0.94); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(18px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.story-impact {
  animation: impactGlow 2.6s ease-in-out infinite alternate;
}

@keyframes impactGlow {
  from { text-shadow: 0 0 0 rgba(209, 164, 71, 0); }
  to { text-shadow: 0 0 18px rgba(209, 164, 71, 0.25); }
}

.easter-toast {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 120;
  max-width: min(20rem, calc(100% - 2rem));
  padding: 0.9rem 1rem;
  border: 1px solid rgba(209, 164, 71, 0.28);
  border-radius: 1rem;
  color: #fff;
  background: rgba(5, 5, 7, 0.86);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 52px rgba(0,0,0,0.45), 0 0 34px rgba(185, 8, 24, 0.18);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.easter-toast.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.brand-mark.is-easter {
  animation: barkShake 420ms ease both;
}

@keyframes barkShake {
  0%, 100% { transform: rotate(0) scale(1); }
  20% { transform: rotate(-10deg) scale(1.08); }
  40% { transform: rotate(8deg) scale(1.05); }
  60% { transform: rotate(-5deg) scale(1.08); }
  80% { transform: rotate(4deg) scale(1.04); }
}

@media (max-width: 880px) {
  .music-showcase {
    align-items: flex-start;
    flex-direction: column;
  }

  .music-showcase-stats {
    justify-content: flex-start;
    min-width: 0;
  }

  .story-timeline::before {
    left: 0.55rem;
  }

  .timeline-item,
  .timeline-item:nth-child(even) .timeline-card {
    grid-template-columns: 1fr;
    grid-column: auto;
  }

  .timeline-item {
    padding-left: 2rem;
  }

  .timeline-dot {
    left: 0.55rem;
  }

  .music-player {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .intro-mark {
    width: 4.8rem;
    height: 4.8rem;
  }

  .easter-toast {
    right: 0.85rem;
    bottom: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
  }

  .cursor-glow,
  .ambient-orbs,
  .particle-field,
  .intro-screen {
    display: none;
  }
}


/* ==============================
   Final sichtbare Effekt-Verstärkung
   ============================== */
.hero::before {
  content: "";
  position: absolute;
  left: -30%;
  top: 18%;
  width: 46%;
  height: 28rem;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(185, 8, 24, 0.22), rgba(209, 164, 71, 0.10), transparent);
  filter: blur(18px);
  transform: skewX(-16deg) translateX(-10%);
  animation: heroBloodSweep 2.8s var(--ease-soft) 520ms both;
}

.hero {
  position: relative;
  overflow: hidden;
}

@keyframes heroBloodSweep {
  0% { opacity: 0; transform: skewX(-16deg) translateX(-30%); }
  28% { opacity: 1; }
  100% { opacity: 0; transform: skewX(-16deg) translateX(330%); }
}

.zombie-particle--ash {
  background: rgba(210, 210, 210, 0.18);
  box-shadow: 0 0 12px rgba(255,255,255,0.08);
}

.zombie-particle--dust {
  width: calc(var(--size) * 1.8);
  height: calc(var(--size) * 0.8);
  border-radius: 44% 56% 58% 42%;
  background: rgba(132, 118, 95, 0.22);
}

.zombie-particle--ember {
  background: rgba(185, 8, 24, 0.52);
  box-shadow: 0 0 18px rgba(185, 8, 24, 0.44), 0 0 26px rgba(209, 164, 71, 0.18);
}

.dog-card:hover::after,
.music-card:hover::after,
.timeline-card:hover::after {
  animation: bloodGlowPulse 1.45s ease-in-out infinite alternate;
}

.dog-card:hover,
.music-card:hover {
  animation: cardBreathGlow 1.8s ease-in-out infinite alternate;
}

@keyframes bloodGlowPulse {
  from { opacity: 0.55; filter: blur(13px); }
  to { opacity: 1; filter: blur(22px); }
}

@keyframes cardBreathGlow {
  from { box-shadow: 0 28px 76px rgba(0,0,0,0.50), 0 0 30px rgba(185, 8, 24, 0.18); }
  to { box-shadow: 0 32px 88px rgba(0,0,0,0.56), 0 0 56px rgba(185, 8, 24, 0.34), 0 0 28px rgba(209, 164, 71, 0.12); }
}

.story-timeline::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 50%;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.72), transparent);
  transform: translateX(-50%);
  opacity: 0.26;
  animation: timelineEnergy 4.2s ease-in-out infinite;
}

.timeline-item {
  z-index: 1;
}

@keyframes timelineEnergy {
  0%, 100% { clip-path: inset(0 0 100% 0); opacity: 0; }
  20% { opacity: 0.38; }
  50% { clip-path: inset(0 0 0 0); opacity: 0.22; }
  80% { opacity: 0.38; }
}

.glitch-title::before,
.glitch-title::after {
  animation: ambientGlitch 6.5s steps(1, end) infinite;
}

.glitch-title::after {
  animation-delay: 90ms;
}

.glitch-soft::before,
.glitch-soft::after {
  animation: ambientGlitch 8s steps(1, end) infinite;
}

@keyframes ambientGlitch {
  0%, 92%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
  93% { opacity: 0.42; clip-path: inset(12% 0 72% 0); transform: translate(-2px, 1px); }
  94% { opacity: 0.15; clip-path: inset(54% 0 20% 0); transform: translate(2px, -1px); }
  95% { opacity: 0.36; clip-path: inset(78% 0 6% 0); transform: translate(-1px, 2px); }
  96% { opacity: 0; clip-path: inset(0 0 0 0); }
}

.lightbox.is-open::before {
  background:
    radial-gradient(circle at center, rgba(185, 8, 24, 0.16), transparent 32rem),
    radial-gradient(circle at 70% 20%, rgba(209, 164, 71, 0.10), transparent 24rem),
    rgba(0,0,0,0.88);
}

.lightbox-frame::before,
.lightbox-frame::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  height: 1px;
  z-index: 3;
  background: linear-gradient(90deg, transparent, rgba(209, 164, 71, 0.65), transparent);
  pointer-events: none;
}

.lightbox-frame::before { top: -0.85rem; }
.lightbox-frame::after { bottom: -0.85rem; }

.paw-print {
  animation-duration: 1050ms;
}

@media (max-width: 880px) {
  .story-timeline::after {
    left: 0.55rem;
  }
}


/* ==============================
   Party Mode Toggle + Webseite fackelt
   ============================== */
.party-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0 0.95rem;
  border: 1px solid rgba(209, 164, 71, 0.26);
  border-radius: 999px;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(185, 8, 24, 0.26), rgba(255,255,255,0.055)),
    rgba(5, 5, 7, 0.72);
  box-shadow: 0 0 24px rgba(185, 8, 24, 0.18);
  cursor: pointer;
  overflow: hidden;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
}

.party-toggle::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: conic-gradient(from var(--rgb-angle), #ff004c, #ffb300, #22ff88, #00d9ff, #b44cff, #ff004c);
  animation: partyRgbSpin 1.6s linear infinite;
  transition: opacity 180ms ease;
}

.party-toggle > * {
  position: relative;
  z-index: 1;
}

.party-toggle:hover,
.party-toggle.is-active {
  transform: translate3d(var(--magnet-x, 0), calc(var(--magnet-y, 0) - 2px), 0);
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow: 0 0 34px rgba(209, 164, 71, 0.28), 0 0 34px rgba(185, 8, 24, 0.28);
}

.party-toggle.is-active::before {
  opacity: 0.95;
}

.party-toggle-icon {
  filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.85));
  animation: partyIconBounce 780ms ease-in-out infinite alternate;
}

.party-toggle-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  min-height: 1.35rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  color: #111;
  background: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22);
}

.party-toggle:not(.is-active) .party-toggle-status {
  color: var(--muted);
  background: rgba(255,255,255,0.08);
}

.party-layer {
  position: fixed;
  inset: 0;
  z-index: 18;
  display: none;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.party-layer::before,
.party-layer::after {
  content: "";
  position: absolute;
  inset: auto -10vw 0;
  pointer-events: none;
}

.party-layer::before {
  height: 42vh;
  opacity: 0.88;
  background:
    radial-gradient(ellipse at 8% 100%, rgba(255, 38, 0, 0.80), transparent 42%),
    radial-gradient(ellipse at 25% 100%, rgba(255, 183, 0, 0.70), transparent 36%),
    radial-gradient(ellipse at 45% 100%, rgba(255, 52, 0, 0.82), transparent 40%),
    radial-gradient(ellipse at 64% 100%, rgba(255, 196, 0, 0.68), transparent 35%),
    radial-gradient(ellipse at 84% 100%, rgba(255, 48, 0, 0.78), transparent 42%),
    linear-gradient(to top, rgba(255, 68, 0, 0.32), transparent 72%);
  filter: blur(8px) saturate(1.6);
  transform-origin: bottom center;
  animation: partyFireWave 740ms ease-in-out infinite alternate, partyFireFlicker 160ms steps(2, end) infinite;
}

.party-layer::after {
  inset: 0;
  opacity: 0.25;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 1px, transparent 1px 10px),
    radial-gradient(circle at var(--party-x, 50%) var(--party-y, 50%), rgba(255,255,255,0.26), transparent 34%);
  animation: partyStrobe 480ms steps(2, end) infinite;
}

body.party-mode .party-layer {
  display: block;
}

body.party-mode {
  animation: partyBackgroundPulse 940ms ease-in-out infinite alternate;
}

body.party-mode::before {
  opacity: 0.28;
  animation: gridDrift 8s linear infinite, partyGridFlash 520ms steps(2, end) infinite;
}

body.party-mode .site-header {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(8, 5, 10, 0.88);
  box-shadow:
    0 18px 70px rgba(0,0,0,0.62),
    0 0 38px rgba(255, 0, 76, 0.30),
    0 0 44px rgba(255, 183, 0, 0.22);
  animation: partyHeaderFlicker 420ms steps(2, end) infinite;
}

body.party-mode .brand-mark,
body.party-mode .intro-mark {
  animation: partyLogoPulse 620ms ease-in-out infinite alternate;
}

body.party-mode .page-glow {
  background: radial-gradient(circle, rgba(255, 40, 0, 0.62), rgba(255, 183, 0, 0.22), transparent 70%);
  filter: blur(4px) saturate(1.5);
  animation: partyGlowDance 900ms ease-in-out infinite alternate;
}

body.party-mode .ambient-orbs span {
  opacity: 1;
  filter: blur(6px) saturate(1.8);
  animation-duration: 4s;
}

body.party-mode .dog-card,
body.party-mode .music-card,
body.party-mode .stats article,
body.party-mode .timeline-card,
body.party-mode .story-panel {
  border-color: rgba(255, 255, 255, 0.20);
  box-shadow:
    0 18px 62px rgba(0,0,0,0.36),
    0 0 22px rgba(255, 0, 76, 0.20),
    0 0 32px rgba(255, 183, 0, 0.16);
  animation: partyCardShake 520ms ease-in-out infinite alternate;
}

body.party-mode .music-card:nth-child(even),
body.party-mode .dog-card:nth-child(even),
body.party-mode .stats article:nth-child(even),
body.party-mode .timeline-item:nth-child(even) .timeline-card {
  animation-delay: -260ms;
}

body.party-mode .btn-primary,
body.party-mode .music-play-button {
  box-shadow:
    0 0 32px rgba(255, 0, 76, 0.45),
    0 0 28px rgba(255, 183, 0, 0.28);
  animation: partyButtonPulse 540ms ease-in-out infinite alternate;
}

body.party-mode .glitch-soft::before,
body.party-mode .glitch-soft::after,
body.party-mode .glitch-title::before,
body.party-mode .glitch-title::after {
  opacity: 0.85;
  animation: glitchShift 340ms steps(2, end) infinite;
}

.party-particle {
  position: absolute;
  left: var(--x);
  bottom: -3rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: var(--size);
  height: var(--size);
  color: #fff;
  font-size: var(--size);
  line-height: 1;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.72),
    0 0 22px rgba(255, 64, 0, 0.72);
  filter: hue-rotate(var(--hue)) saturate(1.45);
  transform: translate3d(0, 0, 0) rotate(var(--rot));
  animation: partyParticleRise var(--duration) ease-out var(--delay) forwards;
}

.party-particle--confetti {
  color: #ffe680;
  text-shadow: 0 0 14px rgba(255,255,255,0.55);
}

.party-particle--spark {
  color: #fff6c4;
}

.party-particle--paw {
  color: #ffd166;
  text-shadow: 0 0 18px rgba(255, 0, 76, 0.65);
}

.party-particle--bass {
  color: #bdf7ff;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.78);
}

@keyframes partyRgbSpin {
  to { --rgb-angle: 360deg; }
}

@keyframes partyIconBounce {
  from { transform: translateY(0) rotate(-7deg) scale(1); }
  to { transform: translateY(-2px) rotate(8deg) scale(1.12); }
}

@keyframes partyBackgroundPulse {
  from {
    background:
      radial-gradient(circle at top left, rgba(255, 0, 76, 0.30), transparent 32rem),
      radial-gradient(circle at 80% 20%, rgba(255, 183, 0, 0.16), transparent 28rem),
      linear-gradient(135deg, #040305 0%, #120712 52%, #040304 100%);
  }
  to {
    background:
      radial-gradient(circle at 18% 12%, rgba(255, 183, 0, 0.24), transparent 34rem),
      radial-gradient(circle at 78% 18%, rgba(255, 0, 76, 0.34), transparent 30rem),
      linear-gradient(135deg, #080306 0%, #160b05 52%, #030407 100%);
  }
}

@keyframes partyFireWave {
  from { transform: scaleX(1) scaleY(0.96) translateY(1.1rem); }
  to { transform: scaleX(1.04) scaleY(1.08) translateY(0); }
}

@keyframes partyFireFlicker {
  0%, 100% { opacity: 0.62; filter: blur(9px) saturate(1.4) contrast(1.05); }
  50% { opacity: 1; filter: blur(5px) saturate(1.9) contrast(1.18); }
}

@keyframes partyStrobe {
  0%, 100% { opacity: 0.08; transform: translateX(-1.2rem); }
  50% { opacity: 0.32; transform: translateX(1.2rem); }
}

@keyframes partyGridFlash {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(110deg); }
}

@keyframes partyHeaderFlicker {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.22) saturate(1.4); }
}

@keyframes partyLogoPulse {
  from { transform: scale(1) rotate(-2deg); box-shadow: 0 0 26px rgba(255, 0, 76, 0.35); }
  to { transform: scale(1.08) rotate(3deg); box-shadow: 0 0 42px rgba(255, 183, 0, 0.42), 0 0 52px rgba(255, 0, 76, 0.32); }
}

@keyframes partyGlowDance {
  from { transform: translate3d(0, 0, 0) scale(1.05); opacity: 0.74; }
  to { transform: translate3d(-4rem, 2rem, 0) scale(1.35); opacity: 1; }
}

@keyframes partyCardShake {
  from { transform: translate3d(0, 0, 0) rotate(-0.12deg); filter: brightness(1); }
  to { transform: translate3d(0, -3px, 0) rotate(0.12deg); filter: brightness(1.12) saturate(1.15); }
}

@keyframes partyButtonPulse {
  from { filter: brightness(1); }
  to { filter: brightness(1.25) saturate(1.3); }
}

@keyframes partyParticleRise {
  0% {
    opacity: 0;
    transform: translate3d(0, 2rem, 0) rotate(var(--rot)) scale(0.55);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--end-x), -112vh, 0) rotate(calc(var(--rot) + 420deg)) scale(1.25);
  }
}

@media (max-width: 880px) {
  .party-toggle {
    width: 100%;
  }

  .party-layer::before {
    height: 34vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.party-mode,
  body.party-mode::before,
  body.party-mode .site-header,
  body.party-mode .brand-mark,
  body.party-mode .dog-card,
  body.party-mode .music-card,
  body.party-mode .stats article,
  body.party-mode .timeline-card,
  body.party-mode .story-panel,
  body.party-mode .btn-primary,
  body.party-mode .music-play-button,
  .party-toggle-icon,
  .party-layer::before,
  .party-layer::after,
  .party-particle {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}

