/* ============================================================
   THE AURORA PROJECT — Band Website
   Dark Metal Theme
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg:         #0a0a0a;
  --surface:    #111111;
  --surface2:   #161616;
  --border:     #222222;
  --accent:     #c0392b;
  --accent-dim: #8b1a12;
  --text:       #e8e8e8;
  --text-muted: #888888;
  --white:      #ffffff;
  --nav-h:      72px;
  --radius:     4px;
  --transition: 0.3s ease;
  --font-head:  'Cinzel', serif;
  --font-body:  'Inter', sans-serif;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--white); }

/* ---------- Typography ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  letter-spacing: 0.06em;
  line-height: 1.2;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  text-align: center;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 3rem;
}

/* ---------- Utility ---------- */
.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

section {
  padding: 100px 0;
}

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo img {
  height: 42px;
  width: auto;
  filter: brightness(1);
  transition: opacity var(--transition);
}
.nav-logo img:hover { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--accent); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.nav-mobile a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
#hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../assets/photo-live-purple.jpg');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.2) saturate(0.6);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 40%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  text-align: center;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-logo {
  width: min(340px, 70vw);
  filter: drop-shadow(0 0 30px rgba(192, 57, 43, 0.35));
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2vw, 1rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hero-headline {
  font-family: var(--font-head);
  font-size: clamp(1rem, 3vw, 1.3rem);
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-family: var(--font-head);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dim);
  border-color: var(--accent-dim);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-scroll {
  margin-top: 2rem;
  animation: bounce 2s infinite;
}
.hero-scroll svg { stroke: var(--text-muted); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ---------- Über uns ---------- */
#ueber-uns {
  background: var(--surface);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.about-text p:last-child { margin-bottom: 0; }

.about-img {
  position: relative;
}
.about-img img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.about-img::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.3;
  pointer-events: none;
}

/* ---------- Musik ---------- */
#musik {
  background: var(--bg);
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.release-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.release-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.release-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}
.release-info {
  padding: 1rem 1.2rem 1.2rem;
}
.release-type {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.release-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
}
.release-year {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.release-cover-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.release-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition);
}
.release-play-overlay span {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}
.release-cover-link:hover .release-play-overlay { opacity: 1; }
.release-cover-link:hover img { transform: scale(1.04); }
.release-cover-link img { transition: transform 0.4s ease; }

.soundcloud-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.soundcloud-embed iframe {
  display: block;
  width: 100%;
}

/* ---------- Live / Tourdaten ---------- */
#live {
  background: var(--surface);
}

.live-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.shows-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.show-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}
.show-item:hover { border-color: var(--accent); }

.show-date {
  font-family: var(--font-head);
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.show-date .day {
  font-size: 1.6rem;
  font-weight: bold;
  display: block;
  line-height: 1;
}

.show-info .venue {
  font-size: 1rem;
  color: var(--white);
  font-weight: 600;
}
.show-info .location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.show-ticket {
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: all var(--transition);
}
.show-ticket:hover {
  background: var(--accent);
  color: var(--white);
}

.shows-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
  font-style: italic;
}

.shows-loading {
  color: var(--text-muted);
  text-align: center;
  padding: 2rem;
}

.youtube-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16/9;
}
.youtube-embed iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.live-section-label {
  font-family: var(--font-head);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* ---------- Galerie ---------- */
#galerie {
  background: var(--bg);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(192, 57, 43, 0.0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-overlay svg {
  opacity: 0;
  transition: opacity var(--transition);
  stroke: var(--white);
}
.gallery-item:hover .gallery-overlay { background: rgba(192, 57, 43, 0.25); }
.gallery-item:hover .gallery-overlay svg { opacity: 1; }

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  stroke: var(--text-muted);
  transition: stroke var(--transition);
}
.lightbox-close:hover { stroke: var(--white); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(10,10,10,0.7);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  stroke: var(--text-muted);
  transition: all var(--transition);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--accent); stroke: var(--white); border-color: var(--accent); }

/* ---------- Booking & Kontakt ---------- */
#kontakt {
  background: var(--surface);
  text-align: center;
}

.kontakt-desc {
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.kontakt-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 700px;
  margin-inline: auto;
}

.kontakt-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.kontakt-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--text);
}

.kontakt-card-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(192, 57, 43, 0.12);
  border-radius: var(--radius);
  color: var(--accent);
  transition: background var(--transition);
}
.kontakt-card:hover .kontakt-card-icon {
  background: rgba(192, 57, 43, 0.22);
}

.kontakt-card-body { flex: 1; min-width: 0; }
.kontakt-card-title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.kontakt-card-value {
  font-size: 0.95rem;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kontakt-card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: color var(--transition), transform var(--transition);
}
.kontakt-card:hover .kontakt-card-arrow {
  color: var(--accent);
  transform: translateX(3px);
}

/* keep old .kontakt-email for datenschutz.html widerruf-button compatibility */
.kontakt-email {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  color: var(--white);
  border: 1px solid var(--border);
  padding: 1rem 2rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  margin-bottom: 3rem;
}
.kontakt-email:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Footer / Social ---------- */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.social-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(192,57,43,0.08);
}
.social-link svg { width: 18px; height: 18px; }

.footer-logo img {
  height: 36px;
  filter: brightness(0.6);
  transition: filter var(--transition);
}
.footer-logo img:hover { filter: brightness(1); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-img { order: -1; }

  .releases-grid {
    grid-template-columns: 1fr 1fr;
  }

  .live-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 640px) {
  :root { --nav-h: 62px; }

  section { padding: 70px 0; }

  .nav-links { display: none; }
  .hamburger { display: flex; }

  .releases-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-inline: auto;
  }

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

  .show-item {
    grid-template-columns: 70px 1fr;
  }
  .show-ticket { display: none; }
  .show-item .show-ticket-mobile {
    display: inline-block;
    margin-top: 0.4rem;
    font-size: 0.7rem;
    color: var(--accent);
  }

  .kontakt-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ---------- Bandsintown CTA ---------- */
.bandsintown-cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 1.6rem;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  flex-wrap: wrap;
  transition: border-color var(--transition);
}
.bandsintown-cta:hover { border-color: #00CEC8; }

.bandsintown-cta-icon { flex-shrink: 0; }

.bandsintown-cta-text { flex: 1; min-width: 160px; }
.bandsintown-cta-title {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}
.bandsintown-cta-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.bandsintown-cta-btn { flex-shrink: 0; white-space: nowrap; }

/* ---------- Embed Placeholders ---------- */
.embed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--surface2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 1rem;
  text-align: center;
  min-height: 160px;
}
.embed-placeholder p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
.embed-placeholder-sub {
  font-size: 0.8rem !important;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9000;
  background: #161616;
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.5);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}
.cookie-banner.visible { transform: translateY(0); }

.cookie-banner-inner {
  width: min(1100px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cookie-banner-text { flex: 1; min-width: 260px; }
.cookie-banner-text p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.25rem; }
.cookie-banner-text p:last-child { margin-bottom: 0; }
.cookie-banner-text strong { color: var(--white); }
.cookie-banner-text a { color: var(--accent); }

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-decline { font-size: 0.75rem; padding: 0.65rem 1.2rem; }
.cookie-btn-accept  { font-size: 0.75rem; padding: 0.65rem 1.5rem; }

/* ---------- Footer Legal ---------- */
.footer-legal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-legal a, .footer-legal span {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-legal a:hover { color: var(--accent); }
.footer-legal span { opacity: 0.4; }

.footer-cookie-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  padding: 0;
  font-family: var(--font-body);
  transition: color var(--transition);
}
.footer-cookie-btn:hover { color: var(--accent); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
