/* ---------------------------------------------------------------------------
 * Header
 * ------------------------------------------------------------------------ */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition);
}

.site-header.is-scrolled,
.site-header--solid {
  border-color: var(--color-line);
  background: rgb(7 4 4 / 78%);
  backdrop-filter: blur(1.1rem);
  -webkit-backdrop-filter: blur(1.1rem);
}

.site-header__inner {
  display: flex;
  min-height: 4.9rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 3vw, 2.75rem);
}

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------ */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-block: 6.5rem clamp(7rem, 15svh, 10rem);
  isolation: isolate;
}

.hero__inner {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo {
  width: clamp(4.5rem, 8.5svh, 7rem);
  height: auto;
  margin-bottom: clamp(0.9rem, 2.5svh, 1.75rem);
  filter: drop-shadow(0 0 2rem rgb(255 78 22 / 30%));
}

.hero__title {
  margin-bottom: 1.4rem;
  font-size: min(clamp(3.6rem, 12.5vw, 11.5rem), 25svh);
  letter-spacing: 0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.hero__title span {
  display: block;
}

.hero__title-fire {
  background: var(--gradient-fire);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 3rem rgb(255 90 31 / 35%));
}

.hero__intro {
  max-width: 36rem;
  margin-bottom: 2.1rem;
  color: #d9ccc2;
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  text-shadow: 0 0.1rem 1.4rem rgb(7 4 4 / 90%);
}

.hero__intro strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Feuer-Ebenen am unteren Hero-Rand */

.fire-stage {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(60svh, 40rem);
  pointer-events: none;
}

.fire-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__fade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    radial-gradient(
      ellipse 52% 38% at 50% 60%,
      rgb(7 4 4 / 62%),
      transparent 72%
    ),
    linear-gradient(to top, rgb(7 4 4 / 50%), transparent 22%);
  pointer-events: none;
}

.embers {
  position: absolute;
  z-index: 2;
  inset: 16% 3% 0;
  pointer-events: none;
}

/* ---------------------------------------------------------------------------
 * Sektionen
 * ------------------------------------------------------------------------ */

.section {
  position: relative;
  padding-block: var(--section-space);
}

.shows-section,
.band-section,
.contact-section {
  border-top: 1px solid var(--color-line);
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 8vw, 7.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.section-heading h2 span,
.band-story h2 span {
  color: transparent;
  -webkit-text-stroke: 2px rgb(253 245 234 / 88%);
}

@supports not (-webkit-text-stroke: 2px white) {
  .section-heading h2 span,
  .band-story h2 span {
    color: var(--color-text-muted);
  }
}

.section-heading--shows {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading__stamp {
  margin-bottom: 1rem;
  color: var(--color-flame-bright);
  transform: rotate(2deg);
}

/* Riesiger Geister-Schriftzug hinter der Auftritts-Sektion */

.shows-section {
  overflow: hidden;
}

.shows-section__ghost {
  position: absolute;
  z-index: 0;
  top: clamp(1rem, 4vw, 3rem);
  right: -0.05em;
  color: transparent;
  font-family: var(--font-display);
  font-size: clamp(12rem, 34vw, 30rem);
  letter-spacing: 0.02em;
  line-height: 0.8;
  pointer-events: none;
  text-transform: uppercase;
  user-select: none;
  -webkit-text-stroke: 2px rgb(253 245 234 / 7%);
}

.shows-section > .container {
  position: relative;
  z-index: 1;
}

/* ---------------------------------------------------------------------------
 * Band-Sektion: asymmetrische Story + Lineup
 * ------------------------------------------------------------------------ */

.band-story {
  display: grid;
  margin-bottom: clamp(4rem, 9vw, 7.5rem);
  gap: 2rem 4rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(16rem, 1fr);
}

.band-story h2 {
  margin-bottom: 0;
  font-size: clamp(3rem, 7.5vw, 7rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.band-story__copy {
  max-width: 30rem;
  margin-top: clamp(3rem, 9vw, 9rem);
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-line-strong);
  color: var(--color-text-muted);
  font-size: clamp(1.02rem, 2vw, 1.18rem);
}

/* ---------------------------------------------------------------------------
 * Kontakt
 * ------------------------------------------------------------------------ */

.contact-section {
  padding-top: clamp(2rem, 5vw, 4rem);
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------ */

.site-footer {
  padding-block: 2.25rem;
  border-top: 1px solid var(--color-line);
  background: linear-gradient(to bottom, transparent, rgb(40 13 6 / 28%));
}

.site-footer__inner {
  display: grid;
  align-items: center;
  gap: 1.5rem 2.5rem;
  grid-template-columns: auto 1fr auto auto;
}

.site-footer__inner > p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.site-footer__links {
  display: flex;
  gap: 1.25rem;
}

.site-footer__legal {
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
 * Impressum
 * ------------------------------------------------------------------------ */

.legal-main {
  display: grid;
  min-height: calc(100svh - 9rem);
  align-items: center;
  padding-block: 9rem 5rem;
}

.legal-main__inner {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 7vw, 7rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(20rem, 1fr);
}

.legal-heading h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * Responsiv
 * ------------------------------------------------------------------------ */

@media (max-width: 56rem) {
  .site-header__inner {
    min-height: 4.5rem;
  }

  .site-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    visibility: hidden;
    background:
      radial-gradient(circle at 50% 85%, rgb(255 70 20 / 20%), transparent 24rem),
      rgb(7 4 4 / 98%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-1rem);
    transition:
      opacity var(--transition),
      transform var(--transition),
      visibility var(--transition);
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .section-heading--shows {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .section-heading__stamp {
    margin-bottom: 0;
  }

  .band-story {
    grid-template-columns: 1fr;
  }

  .band-story__copy {
    max-width: 34rem;
    margin-top: 0;
  }

  .site-footer__inner {
    grid-template-columns: 1fr auto;
  }

  .site-footer__inner > p:first-of-type {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .site-footer__links {
    justify-self: end;
  }

  .legal-main__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 40rem) {
  .hero {
    padding-block: 6.5rem 9.5rem;
  }

  .fire-stage {
    height: min(46svh, 26rem);
  }

  .hero__intro {
    margin-bottom: 1.75rem;
    font-size: 1rem;
  }

  .section-heading {
    margin-bottom: 2.5rem;
  }

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__links {
    order: 3;
  }

  .site-footer__legal {
    order: 4;
  }

  .legal-main {
    align-items: start;
    padding-block: 8.5rem 4rem;
  }
}
