/* ── ERGÄNZUNGEN FÜR DIE IMPRESSIONEN SEITE ── */
/* Konsistent mit style.css: --accent (Cyan), --pink (Magenta), --radius, --border */

/* Hero (analog events-hero) */
.impressions-hero {
  padding: calc(var(--nav-h) + 92px) 0 80px;
  background: linear-gradient(to right, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.4) 100%), url('Material/Cta_03.webp') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
}

.impressions-hero h1 {
  font-family: 'Anybody', sans-serif;
  font-size: clamp(36px, 5.5vw, 58px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 16px;
  line-height: 1.1;
}

.impressions-hero .hero-subtext {
  font-size: 15px;
  color: var(--text);
  max-width: 600px;
}

/* Gemeinsame Section-Struktur */
.impressions-section {
  padding: 72px 0 0;
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: 'Anybody', sans-serif;
  font-size: clamp(28px, 3.5vw, 38px);
  color: #fff;
  letter-spacing: .5px;
}

.section-heading .section-sub {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

/* ── FOTO GALERIE ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 16px;
}

.photo-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  grid-column: span 1;
  grid-row: span 1;
}

.photo-item.span-tall { grid-row: span 2; }
.photo-item.span-wide { grid-column: span 2; }

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, filter .35s ease;
  display: block;
}

.photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent 50%);
  opacity: 0;
  transition: opacity .25s ease;
}

.photo-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}
.photo-item:hover::after { opacity: 1; }

.photo-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── VIDEOS ── */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s, transform .2s;
}

.video-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}

.video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
}

.video-caption {
  padding: 16px 18px 20px;
}

.video-caption h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.video-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ── SONGS ── */
.track-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.track-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: grid;
  grid-template-columns: 44px 1fr 2fr auto;
  align-items: center;
  gap: 20px;
  transition: border-color .2s;
}

.track-row:hover { border-color: var(--accent); }

.track-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  flex-shrink: 0;
}

.track-play svg { width: 18px; height: 18px; }

.track-play:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.track-row.playing .track-play {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

.track-info h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.track-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

.track-progress { width: 100%; }

.track-seek {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: var(--border);
  border-radius: 4px;
  outline: none;
  cursor: pointer;
}

.track-seek::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
}

.track-seek::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
}

.track-seek::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(to right, var(--accent) var(--progress, 0%), var(--border) 0%);
}

.track-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  min-width: 40px;
  text-align: right;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 6, 0.94);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 88vw;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 1px solid var(--border);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}

.lightbox-close:hover,
.lightbox-nav:hover { background: rgba(0, 240, 255, 0.18); }

.lightbox-close {
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 26px;
}

.lightbox-nav.prev { left: 24px; }
.lightbox-nav.next { right: 24px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .track-row {
    grid-template-columns: 44px 1fr auto;
  }
  .track-progress { display: none; }
}

@media (max-width: 600px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 130px;
  }
  .photo-item.span-wide { grid-column: span 2; }
  .video-grid { grid-template-columns: 1fr; }

  .track-row {
    grid-template-columns: 40px 1fr;
    row-gap: 10px;
  }
  .track-time { display: none; }

  .lightbox-nav { width: 40px; height: 40px; font-size: 20px; }
  .lightbox-close { width: 38px; height: 38px; top: 16px; right: 16px; }
}
