/* ========== FONT: Orbitron überall ========== */
@font-face {
  font-family: "OrbitronRegular";
  src: url("PageContent/Orbitron-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: "OrbitronRegular", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  margin: 0;
  padding: 0;
  height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #000000;
  color: #ffffff;
}

/* Skip-Link */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #6a008f;
  color: #ffffff;
  padding: 8px 12px;
  z-index: 100;
}

.skip-link:focus {
  left: 16px;
}

/* Typografie */
a {
  color: #6a008f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.primary-text {
  color: #ffffff;
}

.primary-text-glow-soft {
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #6a008f,
     1px -1px 0 #6a008f,
    -1px  1px 0 #6a008f,
     1px  1px 0 #6a008f,
     0 0 4px #6a008f,
     0 0 8px #6a008f;
}

/* ========== LAYOUT-CONTAINER ========== */
.page-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER & NAV ========== */

/* Header-Shell mit Blur-Hintergrund */
.header-shell {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background 0.2s ease, backdrop-filter 0.2s ease;
}

/* Erst nach Scroll: dunkler + Blur */
.header-shell.scrolled {
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
/* Header-Bar: Logo links, Nav rechts */
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 40px; /* Abstand Logo <-> Nav */
}

/* Logo */
.logo {
  font-size: clamp(2.6rem, 8vw, 3.4rem);
  margin: 0;
  font-weight: 700;
  pointer-events: none;
}

/* Untere Linie unter dem Header */
.top-nav-separator {
  width: 100%;
  height: 1px;
  background: rgba(106, 0, 143, 0.6);
}

/* NAV */
.top-nav {
  background: transparent;
}

.top-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 12px;
}

/* Basis-Style der Links: weiße Schrift + Unterstrich in #6a008f */
.top-nav-list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0; /* nur vertikales Padding */

  border-bottom: 2px solid #6a008f;
  transition: color 0.2s ease,
              border-color 0.2s ease,
              transform 0.2s ease,
              box-shadow 0.2s ease;
}

/* Hover: dezente Verstärkung */
.top-nav-list a:hover {
  color: #ffffff;
  border-color: #b34ce0;
  box-shadow: 0 2px 6px rgba(106, 0, 143, 0.7);
  transform: translateY(-1px);
}

/* Desktop: etwas größere Schrift und mehr Gap */
@media (min-width: 769px) {
  .top-nav-list {
    gap: 18px;
  }

  .top-nav-list a {
    font-size: 0.9rem;
  }
}

/* Mobile: alle 4 Punkte in einer Zeile, ohne Unterstrich */
@media (max-width: 480px) {
  .header-bar {
    flex-direction: column;
    height: auto;
    padding: 6px 0;
    gap: 4px;
  }

  .top-nav-list {
    width: 100%;
    justify-content: space-between;
    gap: 8px;            /* NEU: etwas Abstand zwischen Items */
  }

  .top-nav-list li {
    flex: 1 1 0;
    text-align: center;
  }

  .top-nav-list a {
    font-size: 0.65rem;
    padding: 3px 0;
    border-bottom: none; /* Unterstrich mobil weg */
  }
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 380px;
  overflow: hidden;
  margin-top: 0;
}

/* Video füllt den Hero komplett */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  object-position: center top;
}

/* Overlay: unten in Schwarz -> weicher Übergang zur Section */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.5) 65%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 2;
}

/* Innerer Bereich im Hero, an page-inner ausgerichtet */
.hero-inner {
  position: relative;
  z-index: 4;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 20px;
}

/* Social Icons im Hero */
.hero-socials {
  display: flex;
  gap: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid #6a008f;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.social-link img {
  width: 18px;
  height: 18px;
  display: block;
  filter: invert(1) brightness(1.2);
}

.social-link:hover {
  background-color: #6a008f;
  box-shadow: 0 0 10px #6a008f;
  transform: translateY(-1px);
  color: #ffffff;
}

/* ========== SOUND-BUTTON ========== */
.sound-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #6a008f;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;
  text-transform: uppercase;

  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.sound-toggle:hover {
  background-color: #6a008f;
  box-shadow: 0 0 10px #6a008f;
  transform: translateY(-1px);
}

/* ========== SECTIONS ========== */
.content-section {

  padding: 12px 0 4px;
}

/* Music näher an den Hero */
#music.content-section {
  padding-top: 0;
}

/* Booking enger nach unten */
#booking.content-section {
  min-height: auto;
  padding-top: 12px;
  padding-bottom: 0;
}

/* Offset für Scroll-Anker (Header + Nav) */
section[id] {
  scroll-margin-top: 140px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 20px 0;
  color: #ffffff;
  text-shadow:
    -1px -1px 0 #6a008f,
     1px -1px 0 #6a008f,
    -1px  1px 0 #6a008f,
     1px  1px 0 #6a008f,
     0 0 4px #6a008f,
     0 0 8px #6a008f;
}

.lead-text {
  font-size: 1rem;
  margin-bottom: 16px;
}

/* ========== SPOTIFY ========== */
.spotify-wrapper {
  max-width: 700px;
  margin: 12px auto 0 auto;
  border: 1px solid #6a008f;
  border-radius: 12px;
  overflow: hidden;
  background-color: #000000;
}

.spotify-embed {
  width: 100%;
  border: 0;
  display: block;
}

/* ========== MEMBERS GRID & CARDS ========== */
.members-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

/* Mobile: 2 Spalten, noch kleiner: 1 Spalte */
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.member-card {
  position: relative;
  border-radius: 5px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #6a008f;
  background-color: #000000;
  perspective: 1000px;
}

/* Flip-Struktur */
.member-card .card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.4s ease;
}

.member-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.member-card .card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.member-card .card-front {
  z-index: 2;
}

.member-card .card-back {
  transform: rotateY(180deg);
  z-index: 1;
}

/* Bilder */
.member-image,
.member-image-back {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Rückseiten-Overlay + Text */
.member-image-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.member-name {
  position: absolute;
  left: 12px;
  top: 12px;
  margin: 0;
  font-size: 0.9rem;
  text-shadow: 0 0 6px #000000;
}

.member-info {
  position: absolute;
  inset: 0;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.2) 100%
  );
  color: #ffffff;
  z-index: 2;
}

/* Button unten im Bild */
.member-card .info-toggle {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 3;

  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #6a008f;
  background-color: #000000;
  color: #ffffff;
  font-size: 0.7rem;
  cursor: pointer;
  text-transform: uppercase;

  transition: background-color 0.2s ease,
              box-shadow 0.2s ease,
              transform 0.2s ease;
}

.member-card .info-toggle:hover {
  background-color: #6a008f;
  box-shadow: 0 0 10px #6a008f;
  transform: translateX(-50%) translateY(-1px);
}

/* ========== IMPRESSIONS GRID ========== */
.impressions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .impressions-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.impression-card {
  border-radius: 8px;
  border: 1px solid #6a008f;
  overflow: hidden;
  background-color: transparent;
}

/* Ganze Card ist klickbarer Button */
.impression-card-button {
  position: relative;
  width: 100%;
  border: none;
  padding: 0;
  background-color: transparent;
  color: #ffffff;
  cursor: pointer;
  display: block;
}

/* Vorschau-Container – kleiner, 16:9 */
.impression-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

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

/* Play-Button zentriert */
.impression-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.impression-play-btn::before {
  content: "";
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  position: absolute;
  z-index: 1;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.impression-play-icon {
  position: relative;
  z-index: 2;
  font-size: 26px;
  margin-left: 3px;
}

/* Label unten in der Vorschau */
.impression-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 6px 14px;
  background: rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

/* Hover-Effekt */
.impression-card-button:hover .impression-play-btn::before {
  background-color: rgba(106, 0, 143, 0.9);
  box-shadow: 0 0 10px #6a008f;
  transform: scale(1.05);
}

/* Video-Overlay nimmt die komplette Fläche ein */
.impression-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.impression-video {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
  border-radius: 0;
}

/* Wenn Video aktiv: Vorschau ausblenden */
.impression-card-button.is-playing .impression-preview {
  opacity: 0;
  pointer-events: none;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  border: 1px solid #6a008f;
  background-color: #000000;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background-color: #6a008f;
  box-shadow: 0 0 10px #6a008f;
  transform: translateY(-1px);
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 50;
  width: 40px;
  height: 40px;
  border-radius: 5px;
  border: 1px solid #6a008f;
  background-color: #000000;
  color: #ffffff;
  cursor: pointer;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  background-color: #6a008f;
  color: #ffffff;
  opacity: 1;
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid rgba(106, 0, 143, 0.4);
  margin-top: 4px;
  padding: 8px 0 16px;
  background: radial-gradient(circle at top, rgba(106, 0, 143, 0.2), #000000 65%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

/* Social Icons im Footer – größer als im Hero */
.footer-socials {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.footer-social-link {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #6a008f;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-social-link img {
  width: 22px;
  height: 22px;
  filter: invert(1) brightness(1.2);
}

.footer-social-link:hover {
  background-color: #6a008f;
  box-shadow: 0 0 12px #6a008f;
  transform: translateY(-1px);
}

/* Mail */
.footer-mail a {
  color: #ffffff;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-mail a:hover {
  text-decoration: underline;
}

/* Impressum Accordion */
.footer-impressum {
  width: 100%;
  max-width: 400px;
}

.impressum-toggle {
  width: 100%;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(106, 0, 143, 0.8);
  background-color: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.impressum-toggle:hover {
  background-color: #6a008f;
  box-shadow: 0 0 10px #6a008f;
  transform: translateY(-1px);
}

.impressum-toggle-icon {
  font-size: 1rem;
}

.impressum-content {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid rgba(106, 0, 143, 0.5);
  background-color: rgba(0, 0, 0, 0.8);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ========== RESPONSIVE HEADER / HERO ========== */
@media (min-width: 768px) {
  .header-bar {
    height: 100px;
  }

  .logo {
    font-size: clamp(3rem, 7vw, 5rem);
  }
}
