:root {
  --bg-deep: #0a0518;
  --bg-mid: #1a0a35;
  --magenta: #a020f0;
  --pink: #e91e63;
  --orange: #ff3b1f;
  --yellow: #ffd84d;
  --text: #f5efe6;
  --text-dim: #b9a8d6;
  --max-width: 880px;
  --header-height: 72px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html, body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  position: relative;
}

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(233, 30, 99, 0.4);
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: var(--yellow);
  border-bottom-color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 216, 77, 0.6);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* ── background canvas + floaters ───────────────────── */
#space-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  display: block;
}

.vortex {
  position: fixed;
  top: 50%;
  left: 50%;
  /* kleineres Element = viel weniger Blur-Arbeit für die GPU */
  width: 80vmax;
  height: 80vmax;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(circle at center,
      rgba(233, 30, 99, 0.28) 0%,
      rgba(160, 32, 240, 0.22) 22%,
      rgba(26, 10, 53, 0.0) 60%);
  /* blur halbiert → GPU-Last sinkt quadratisch */
  filter: blur(20px);
  z-index: -1;
  pointer-events: none;
  will-change: transform;
  animation: vortex-spin 90s linear infinite;
}

/* ::after entfernt — zweiter blur-Layer war größter Bremser */

@keyframes vortex-spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

#floaters {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.floater {
  position: absolute;
  opacity: 0.85;
  will-change: transform;
}

/* ── header / nav ────────────────────────────────────── */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 4vw, 2.5rem);
  height: var(--header-height);
  background: rgba(10, 5, 24, 0.78);
  /* backdrop-filter reduziert: 6px statt 12px — in Brave teuer */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(160, 32, 240, 0.2);
}

.site-header .logo {
  border: none;
  display: inline-flex;
}

.site-header .logo img {
  height: 44px;
  width: auto;
  filter: invert(1) drop-shadow(0 0 12px rgba(233, 30, 99, 0.5));
  transition: filter 0.3s;
}

.site-header .logo:hover img {
  filter: invert(1) drop-shadow(0 0 18px rgba(255, 216, 77, 0.7));
}

nav.site-nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.75rem);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  text-transform: lowercase;
}

nav.site-nav a {
  border: none;
  position: relative;
  padding: 0.25rem 0.1rem;
}

nav.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--magenta), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

nav.site-nav a.active {
  color: var(--yellow);
}

/* ── main / content ─────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem) 6rem;
  padding-top: calc(var(--header-height) + clamp(2rem, 5vw, 4rem));
}

section {
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 60ch;
}

/* ── hero (startseite) ──────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-top: clamp(1rem, 4vw, 2rem);
}

@media (min-width: 720px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

.hero-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0 60px rgba(233, 30, 99, 0.35),
    0 0 120px rgba(160, 32, 240, 0.25);
  cursor: crosshair;
}

.hero-cover:hover {
  animation: bh-glow 2s ease-in-out infinite;
}

/* Akkretionsscheibe — rotierender Swirl-Overlay */
.hero-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent           0deg,
    rgba(255, 80, 0, 0.12) 35deg,
    rgba(160, 32, 240, 0.2) 75deg,
    rgba(0, 0, 0, 0.4)    130deg,
    rgba(233, 30, 99, 0.18) 190deg,
    rgba(0, 0, 0, 0.25)   240deg,
    rgba(160, 32, 240, 0.12) 300deg,
    transparent           360deg
  );
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  transition: opacity 0.5s ease;
  animation: bh-spin 2.5s linear infinite paused;
  transform-origin: center;
}

.hero-cover:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Ereignishorizont — dunkles Zentrum folgt dem Mauszeiger */
.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--bh-x, 50%) var(--bh-y, 50%),
    rgba(0, 0, 0, 0.92)    0%,
    rgba(0, 0, 0, 0.65)    10%,
    rgba(160, 32, 240, 0.3) 20%,
    rgba(233, 30, 99, 0.25) 28%,
    rgba(255, 80, 0, 0.1)  38%,
    transparent            60%
  );
  opacity: 0;
  z-index: 2;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-cover:hover::after {
  opacity: 1;
}

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

@keyframes bh-spin {
  to { transform: rotate(360deg); }
}

@keyframes bh-glow {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(233, 30, 99, 0.7),
      0 0 40px rgba(233, 30, 99, 0.55),
      0 0 90px rgba(160, 32, 240, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(233, 30, 99, 1),
      0 0 60px rgba(233, 30, 99, 0.75),
      0 0 130px rgba(160, 32, 240, 0.55);
  }
}

.hero h1 {
  background: linear-gradient(135deg, var(--text) 0%, var(--pink) 50%, var(--magenta) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.8rem);
}

.hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--yellow);
  margin-bottom: 1rem;
  display: inline-block;
}

.hero p {
  color: var(--text-dim);
  font-size: 1.1rem;
}

.hero-sub {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.hero-sub a {
  color: var(--pink);
  border-bottom: 1px solid rgba(233, 30, 99, 0.4);
}

/* ── news ───────────────────────────────────────────── */
.news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-item {
  border-left: 2px solid rgba(160, 32, 240, 0.4);
  padding: 0.25rem 0 0.25rem 1.25rem;
  position: relative;
}

.news-item::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 12px var(--pink);
}

.news-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.4rem;
  display: block;
}

.news-item h3 {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.news-item p { color: var(--text-dim); margin-bottom: 0.5rem; }

/* ── info-page text ─────────────────────────────────── */
.info-text {
  font-size: 1.15rem;
  line-height: 1.8;
}

.info-text .manifest {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text);
  background: rgba(26, 10, 53, 0.5);
  padding: 1.5rem;
  border-left: 3px solid var(--pink);
  border-radius: 4px;
  margin-bottom: 2rem;
}

.info-text .manifest strong {
  color: var(--yellow);
  font-weight: 700;
}

.bandfoto-link {
  display: block;
  margin-bottom: 2.5rem;
  border: none;
}

.bandfoto {
  width: 100%;
  max-width: 680px;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(160, 32, 240, 0.25);
  transition: box-shadow 0.3s, transform 0.3s;
}

.bandfoto-link:hover .bandfoto {
  box-shadow: 0 0 60px rgba(233, 30, 99, 0.45), 0 0 100px rgba(160, 32, 240, 0.3);
  transform: scale(1.01);
}

.lineup {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  list-style: none;
}

.lineup li {
  padding: 1rem;
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 4px;
  background: rgba(26, 10, 53, 0.3);
}

.lineup .role {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.25rem;
}

.lineup .name {
  font-size: 1.25rem;
  font-weight: 700;
}

/* ── bandcamp embed ─────────────────────────────────── */
.bandcamp-embed {
  margin-top: 1.5rem;
  max-width: 700px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(160, 32, 240, 0.2);
}

.bandcamp-embed iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

/* ── release-liste (musik) ──────────────────────────── */
.releases-section {
  margin-top: 3rem;
}

.releases-section h2 {
  margin-bottom: 1rem;
}

details.release {
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 4px;
  background: rgba(26, 10, 53, 0.25);
  margin-bottom: 0.4rem;
  transition: background 0.2s;
}

details.release[open] {
  background: rgba(26, 10, 53, 0.45);
}

details.release summary {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

details.release summary::-webkit-details-marker { display: none; }

details.release summary:hover {
  background: rgba(160, 32, 240, 0.15);
}

details.release summary .rel-cover {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  image-rendering: auto;
}

details.release summary .rel-title {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
}

details.release summary .rel-year {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-dim);
  white-space: nowrap;
}

details.release summary::after {
  content: "+";
  color: var(--pink);
  font-size: 1.1rem;
  margin-left: 0.6rem;
  flex-shrink: 0;
}

details.release[open] summary::after { content: "−"; }

.release-body {
  padding: 1rem 1rem 1.25rem 1rem;
  border-top: 1px solid rgba(160, 32, 240, 0.2);
  font-size: 0.95rem;
}

.release-body p {
  color: var(--text-dim);
  margin-bottom: 0.75rem;
}

.tracklist {
  list-style: none;
  counter-reset: track;
  font-family: var(--font-mono);
  font-size: 0.83rem;
  color: var(--text-dim);
  column-count: 2;
  column-gap: 2rem;
  margin: 0.75rem 0 1rem;
  border-left: 2px solid rgba(160, 32, 240, 0.25);
  padding-left: 0.75rem;
}

@media (max-width: 540px) {
  .tracklist { column-count: 1; }
}

.tracklist li {
  counter-increment: track;
  padding: 0.18rem 0;
  break-inside: avoid;
}

.tracklist li::before {
  content: counter(track) ". ";
  color: var(--pink);
  margin-right: 0.2em;
}

/* ── live ───────────────────────────────────────────── */
.shows {
  list-style: none;
  font-family: var(--font-mono);
}

.shows li {
  display: grid;
  grid-template-columns: minmax(120px, auto) 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(160, 32, 240, 0.2);
  align-items: baseline;
}

.shows .when {
  color: var(--yellow);
  font-weight: 600;
  white-space: nowrap;
}

.shows .what {
  color: var(--text);
  line-height: 1.5;
}

.shows .what .venue {
  display: block;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

.note {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-top: 2rem;
  padding: 1rem;
  border: 1px dashed rgba(160, 32, 240, 0.4);
  border-radius: 4px;
}

/* ── news aufklappen ────────────────────────────────── */
.news-more {
  margin-top: 2.5rem;
}

.news-more summary {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(160, 32, 240, 0.4);
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
}

.news-more summary::-webkit-details-marker { display: none; }

.news-more summary::before {
  content: "+";
  color: var(--pink);
  font-size: 1.1rem;
  line-height: 1;
}

.news-more[open] summary::before { content: "−"; }

.news-more summary:hover {
  color: var(--yellow);
  border-color: rgba(255, 216, 77, 0.5);
}

.news-more .news-list {
  margin-top: 2rem;
}

/* ── youtube embed ──────────────────────────────────── */
.yt-embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border: 1px solid rgba(160, 32, 240, 0.3);
  border-radius: 4px;
  overflow: hidden;
}

.yt-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── musik (placeholder) ────────────────────────────── */
.releases {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.releases li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.85rem 0;
  border-bottom: 1px dotted rgba(160, 32, 240, 0.3);
}

.releases .title {
  font-family: var(--font-display);
  font-size: 1.15rem;
}

.releases .year {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.95rem;
}

.releases .upcoming {
  color: var(--yellow);
  font-weight: 600;
}

/* ── footer ─────────────────────────────────────────── */
footer.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(160, 32, 240, 0.25);
  padding: 1.75rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(10, 5, 24, 0.6);
  backdrop-filter: blur(10px);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--text-dim);
  border: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--yellow); }

/* ── reduced motion ─────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .vortex, .vortex::after { animation: none; }
  .floater { animation: none !important; }
}
