/* =========================================================
   TREIBHAUSEFFEKT — Design Tokens
   Idee: Die Band bringt die Stimmung zum Kochen.
   Farbverlauf von "kühl" (Violettgrau) zu "heiß" (Orange/Amber)
   zieht sich als roter (bzw. heißer) Faden durchs ganze Design.
   ========================================================= */

:root {
  --bg: #16111a;
  --bg-alt: #1f1620;
  --bg-card: #241a26;
  --paper: #f6efe4;
  --paper-dim: #cfc6b8;
  --cool: #8b84b5;
  --heat-1: #ff5a3c;
  --heat-2: #ffb238;
  --line: rgba(246, 239, 228, 0.12);
  --line-strong: rgba(246, 239, 228, 0.28);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-accent: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --gauge: 0%; /* wird per JS gesetzt */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--paper);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--heat-1); color: #16111a; }

:focus-visible {
  outline: 3px solid var(--heat-2);
  outline-offset: 3px;
}

/* Hintergrund-Textur: sehr feines Rauschen + weicher Glow oben */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 80% -10%, rgba(255, 90, 60, 0.18), transparent 60%),
    radial-gradient(50% 30% at 10% 0%, rgba(255, 178, 56, 0.10), transparent 60%),
    var(--bg);
}

/* ---------- Kopfzeile / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 17, 26, 0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-flame {
  background: linear-gradient(180deg, var(--heat-2), var(--heat-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  color: var(--paper-dim);
  transition: color 0.2s ease;
}
.nav-links a:hover,
.nav-links a:focus-visible { color: var(--paper); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--heat-1), var(--heat-2));
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { right: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--paper);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 1.1rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 96px 0 64px;
  display: grid;
  grid-template-columns: 1fr 88px;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--heat-2);
  font-size: 1.05rem;
  margin: 0 0 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin: 0 0 22px;
  text-wrap: balance;
}

.hero h1 .hot {
  background: linear-gradient(100deg, var(--paper) 15%, var(--heat-2) 55%, var(--heat-1) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lead {
  max-width: 46ch;
  color: var(--paper-dim);
  font-size: 1.12rem;
  margin: 0 0 34px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(100deg, var(--heat-2), var(--heat-1));
  color: #1a1116;
  box-shadow: 0 10px 30px rgba(255, 90, 60, 0.28);
}
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--paper);
}
.btn-ghost:hover { border-color: var(--heat-2); }

/* Signatur-Element: der Stimmungsmesser */
.gauge-wrap {
  justify-self: center;
  text-align: center;
  font-size: 0.7rem;
  color: var(--paper-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gauge {
  position: relative;
  width: 14px;
  height: 260px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: rgba(246, 239, 228, 0.08);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.gauge-fill {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: var(--gauge, 18%);
  background: linear-gradient(180deg, var(--heat-1), var(--cool));
  transition: height 1.4s cubic-bezier(.2,.8,.2,1);
}

.gauge-labels {
  display: flex;
  flex-direction: column-reverse;
  gap: 78px;
  position: absolute;
  inset: 10px 0 auto 0;
  pointer-events: none;
}

.gauge small { display: block; margin-top: 4px; }

/* ---------- Abschnitte allgemein ---------- */
section { padding: 88px 0; }

.section-head {
  margin-bottom: 44px;
  max-width: 60ch;
}

.eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--heat-2);
  margin: 0 0 8px;
  font-size: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  margin: 0;
  letter-spacing: 0.01em;
}

.section-alt { background: linear-gradient(180deg, transparent, var(--bg-alt) 12%, var(--bg-alt) 88%, transparent); }

/* ---------- Events ---------- */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-top: 1px solid var(--line);
}

.event-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 20px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.event-card:hover { background: rgba(255, 90, 60, 0.05); }

.event-date {
  font-family: var(--font-display);
  text-align: center;
  line-height: 1;
  color: var(--paper);
}
.event-date .day { font-size: 2.1rem; display: block; }
.event-date .month { font-size: 0.85rem; color: var(--heat-2); text-transform: uppercase; letter-spacing: 0.08em; }
.event-date .year { font-size: 0.75rem; color: var(--paper-dim); }

.event-info h3 { margin: 0 0 6px; font-family: var(--font-body); font-size: 1.2rem; font-weight: 700; }
.event-info .meta { color: var(--paper-dim); font-size: 0.92rem; margin: 0 0 8px; }
.event-info .desc { color: var(--paper-dim); margin: 0; font-size: 0.96rem; }
.event-info a.event-link { color: var(--heat-2); font-weight: 600; white-space: nowrap; }

.event-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}

.events-error { color: var(--paper-dim); font-style: italic; }

/* ---------- Galerie ---------- */
.gallery {
  columns: 4 220px;
  column-gap: 14px;
}
.gallery figure {
  margin: 0 0 14px;
  break-inside: avoid;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: zoom-in;
}
.gallery img { transition: transform 0.4s ease; }
.gallery figure:hover img { transform: scale(1.04); }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(10, 7, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; color: var(--paper);
  font-size: 2rem; cursor: pointer;
}

/* ---------- Über uns ---------- */
.about-lead {
  font-family: var(--font-accent);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  max-width: 62ch;
  margin: 0 0 30px;
}
.about-lead em { color: var(--heat-2); font-style: normal; }

.genre-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 60px;
}
.genre-tag {
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--line-strong);
  color: var(--paper-dim);
}
.genre-tag.hot { border-color: var(--heat-1); color: var(--heat-2); }

.covers-note { color: var(--paper-dim); font-size: 0.95rem; margin-top: -40px; margin-bottom: 60px; }

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 20px;
}

.member-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.member-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.member-photo {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--bg-alt), var(--bg-card));
  overflow: hidden;
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; }
.member-body { padding: 16px; }
.member-body h3 { margin: 0 0 4px; font-size: 1.05rem; }
.member-role { color: var(--heat-2); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; margin: 0 0 10px; }
.member-quote { color: var(--paper-dim); font-size: 0.9rem; margin: 0; }

/* ---------- Kontakt / Booking ---------- */
.contact {
  text-align: center;
}
.contact h2 { max-width: 22ch; margin: 0 auto 18px; }
.contact p.lead { max-width: 56ch; margin: 0 auto 34px; color: var(--paper-dim); }
.contact .btn-primary { font-size: 1.05rem; padding: 18px 36px; }

.socials {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
}
.socials a {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.socials a:hover { border-color: var(--heat-2); transform: translateY(-2px); }
.socials svg { width: 20px; height: 20px; fill: var(--paper); }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--paper-dim);
  font-size: 0.85rem;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 18px; list-style: none; padding: 0; margin: 0; }
.footer-links a:hover { color: var(--heat-2); }

/* ---------- Legal-Seiten (Impressum/Datenschutz) ---------- */
.legal {
  max-width: 70ch;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal h1 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 24px; }
.legal p { color: var(--paper-dim); }
.legal a { color: var(--heat-2); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; }
  .gauge-wrap { justify-self: start; }
  .gauge { height: 90px; width: 100%; }
  .gauge-fill { width: var(--gauge, 18%); height: 100%; background: linear-gradient(90deg, var(--heat-1), var(--cool)); }
  .gauge-labels { display: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header.open .nav-links {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--bg-alt);
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
  }
  .event-card { grid-template-columns: 70px 1fr; }
  .event-card .event-link { grid-column: 1 / -1; }
  .gallery { columns: 2 160px; }
}
