/* Globale Stile & Font-Import */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Oswald:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
  --primary-color: #01273e; /* Dunkles Blau-Grau */
  --secondary-color: #610821; /* Dunkles Rot-Braun */
  --accent-color: #decca4; /* Helles Beige-Gold für Akzente */
  --text-light: #e0e0e0; /* Helles Text auf dunklem Hintergrund */
  --text-dark: #333; /* Dunkler Text auf hellem Hintergrund (wo nötig) */
  --dark-bg-gradient-start: #0a0a0a;
  --dark-bg-gradient-end: #1c1c1c;
  --section-padding: 80px 0;
  --border-thin: 1px solid rgba(255, 255, 255, 0.1); /* Dünne, transparente Linie */
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif; /* Moderner, klarer Font */
  line-height: 1.8;
  color: var(--text-light);
  background: linear-gradient(180deg, var(--dark-bg-gradient-start) 0%, var(--dark-bg-gradient-end) 100%);
  min-height: 100vh;
  overflow-x: hidden; /* Verhindert horizontales Scrollen */
}

h1, h2, h3 {
  font-family: 'Oswald', sans-serif; /* Stärkerer, fetterer Font für Überschriften */
  color: var(--accent-color);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1 {
  font-size: 4.5em;
  text-shadow: 0 0 15px rgba(222, 204, 164, 0.5);
}

h2 {
  font-size: 3em;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
  border-radius: 5px;
}

h3 {
  font-size: 2em;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: var(--text-light);
  text-shadow: 0 0 8px var(--accent-color);
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px; /* Abgerundete Buttons */
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Sanftere Easing-Funktion */
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #004d73);
  color: var(--text-light);
}

.btn-primary:hover {
  background: linear-gradient(45deg, #004d73, var(--primary-color));
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.btn-secondary {
  background: linear-gradient(45deg, var(--secondary-color), #8b0a33);
  color: var(--text-light);
}

.btn-secondary:hover {
  background: linear-gradient(45deg, #8b0a33, var(--secondary-color));
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

/* Header & Navigation */
.main-header {
  background-color: rgba(0, 0, 0, 0.6); /* Transparenter Hintergrund */
  backdrop-filter: blur(10px); /* Blur-Effekt */
  -webkit-backdrop-filter: blur(10px); /* Für Safari */
  padding: 15px 0;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
  position: fixed; /* Fixed Position, damit es über der Hero Section schwebt */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px; /* Breiterer Navbar */
  margin: 0 auto;
  padding: 0 40px; /* Mehr Padding */
}

.navbar .logo a {
  color: var(--accent-color);
  font-family: 'Oswald', sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.7);
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 40px;
}

.nav-links a {
  color: var(--text-light); /* Helle Textfarbe */
  font-family: 'Oswald', sans-serif;
  font-size: 1.2em;
  padding: 5px 0;
  position: relative;
  letter-spacing: 1px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px; /* Etwas dickerer Unterstrich */
  display: block;
  margin-top: 5px;
  right: 0;
  background: var(--secondary-color);
  transition: width 0.4s ease-out; /* Sanftere Transition */
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
  background: var(--secondary-color);
}

/* Burger Menu for Mobile */
.burger-menu {
  display: none; /* Hidden on desktop */
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 35px; /* Etwas größer */
  height: 30px;
  z-index: 1001;
}

.burger-menu div {
  width: 35px;
  height: 3px;
  background-color: var(--text-light);
  transition: all 0.3s ease;
}

.nav-active .line1 {
  transform: rotate(-45deg) translate(-7px, 8px);
}

.nav-active .line2 {
  opacity: 0;
}

.nav-active .line3 {
  transform: rotate(45deg) translate(-7px, -8px);
}

/* Hero Section */
.hero-section {
  background: url('../img/bg.gif') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  animation: fadeInScale 1.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.hero-content h1 {
  font-size: 5.5em; /* Noch größer */
  margin-bottom: 25px;
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(222, 204, 164, 0.8); /* Stärkerer Leuchteffekt */
}

.hero-content p {
  font-size: 1.8em;
  margin-bottom: 50px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
  font-family: 'Merriweather', serif;
}

.scroll-down-btn {
  animation: bounceUpDown 2.5s infinite ease-in-out; /* Längere Bounce-Animation */
}

/* Sections General - Nahtlose Übergänge */
.section-block {
  padding: var(--section-padding);
  max-width: 1400px; /* Breitere Sektionen */
  margin: 0 auto;
  background-color: transparent; /* Keine Hintergrundfarbe, nahtlos */
}

/* Concert Dates Section */
.concert-dates {
  text-align: center;
}

.next-event-card {
  background: linear-gradient(135deg, rgba(1, 39, 62, 0.8), rgba(97, 8, 33, 0.8)); /* Dunkler, leicht transparenter Verlauf */
  backdrop-filter: blur(8px); /* Blur-Effekt */
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-light);
  padding: 40px; /* Mehr Padding */
  margin-bottom: 70px; /* Mehr Abstand */
  border-radius: 15px; /* Stärker abgerundete Ecken */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6); /* Stärkerer Schatten */
  border: 1px solid rgba(222, 204, 164, 0.3); /* Dezenter Rahmen mit Akzentfarbe */
  animation-delay: 0.5s;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.next-event-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
}

.next-event-card .event-info h3 {
  color: var(--accent-color);
  font-size: 2.5em; /* Größerer Titel */
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.5);
}

.next-event-card .event-info p {
  font-size: 1.3em;
  margin-bottom: 20px;
  font-family: 'Merriweather', serif;
}

.table-container {
  overflow-x: auto;
  width: 100%;
  animation-delay: 0.8s;
}

.concert-dates table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.3); /* Leichter Hintergrund für die Tabelle */
  border-radius: 10px;
  overflow: hidden; /* Für abgerundete Ecken */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.concert-dates th, .concert-dates td {
  padding: 18px; /* Mehr Padding */
  color: var(--text-light);
}

.concert-dates th {
  background-color: var(--primary-color);
  color: var(--accent-color);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Music Section */
.music-section {
  text-align: center;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 40px;
  margin: 0 auto 80px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7); /* Stärkerer Schatten */
  border: 2px solid var(--secondary-color); /* Farblicher Rahmen */
  animation-delay: 0.5s;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Album Section */
.album-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 60px;
  margin-top: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.album-cover {
  flex: 0 0 auto;
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  border: 4px solid var(--primary-color);
  animation-delay: 0.8s;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.album-cover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  border-color: var(--accent-color);
}

.album-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-cover:hover img {
  transform: scale(1.05);
}

.tracklist-container {
  flex: 1 1 auto;
  min-width: 400px;
  background: linear-gradient(135deg, rgba(1, 39, 62, 0.8), rgba(97, 8, 33, 0.8));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(222, 204, 164, 0.2);
  animation-delay: 1s;
}

.tracklist-container h3 {
  color: var(--accent-color);
  font-size: 2.2em;
  text-align: center;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.5);
}

.tracklist-container table {
  width: 100%;
  border-collapse: collapse;
}

.tracklist-container td {
  padding: 15px 10px;
  color: var(--text-light);
  vertical-align: middle;
}

.tracklist-container td:first-child {
  font-family: 'Merriweather', serif;
  font-weight: bold;
  width: 40%;
  font-size: 1.1em;
  color: var(--accent-color);
  letter-spacing: 0.5px;
}

.tracklist-container iframe {
  width: 100%;
  height: 90px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Responsive Breakpoint für Videos */
@media (max-width: 768px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 15px;
  }
}

@media (max-width: 500px) {
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .video-container {
    margin-bottom: 20px;
  }
}

/* Band Members Section */
.band-members {
  text-align: center;
}

/* Gruppenbild und Text - angepasst an member-card Breite */
.group-photo-container {
  display: flex;
  justify-content: center;
  margin: 50px auto;
  max-width: 1400px;
  padding: 0 40px;
}

.group-photo-container img {
  width: 100%;
  max-width: calc(33.333% * 2 + 40px * 1); /* Breite von 2 member-cards + 1 gap */
  height: auto;
  border-radius: 20px;
  border: 5px solid var(--secondary-color);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 25px rgba(97,8,33,0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.group-photo-container img:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 35px rgba(222,204,164,0.4);
  border-color: var(--accent-color);
}

.band-description {
  max-width: calc(33.333% * 3 + 40px * 2); /* Gleiche Breite wie 3 member-cards + gaps */
  margin: 40px auto 0 auto;
  font-size: 1.25em;
  font-family: 'Merriweather', serif;
  color: var(--text-light);
  background: rgba(1,39,62,0.55);
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  padding: 32px 28px 28px 28px;
  text-align: center;
}

.member-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px; /* Mehr Abstand */
  margin-top: 50px;
}

.member-card {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(28, 28, 28, 0.7)); /* Dunkler, leicht transparenter Hintergrund */
  backdrop-filter: blur(12px); /* Stärkerer Blur */
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  padding: 30px; /* Mehr Padding */
  width: calc(33.333% - 40px); /* 3 Bilder pro Reihe */
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1); /* Dezenter Rahmen */
}

.member-card:hover {
  transform: translateY(-12px) scale(1.03) rotate(-1deg); /* Spielerischer */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8);
  border-color: var(--accent-color);
}

.member-card img {
  width: 220px;
  height: 320px;
  border-radius: 20px; /* leichte Abrundung wie beim Plakat */
  object-fit: cover;
  margin-bottom: 20px;
  border: 5px solid var(--secondary-color);
  box-shadow: 0 0 20px rgba(97, 8, 33, 0.5);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover img {
  border-color: var(--accent-color);
  box-shadow: 0 0 25px rgba(222, 204, 164, 0.7);
}

.member-card h3 {
  margin-bottom: 8px;
  color: var(--accent-color);
  font-size: 1.6em;
  text-shadow: 0 0 5px rgba(222, 204, 164, 0.3);
}

.member-card p {
  color: var(--text-light);
  font-style: italic;
  font-family: 'Merriweather', serif;
  opacity: 0.8;
}

/* Social Media Section */
.social-media-section {
  text-align: center;
  background: linear-gradient(180deg, rgba(1, 39, 62, 0.6), rgba(97, 8, 33, 0.6)); /* Dunkler, transparenter Hintergrund */
  backdrop-filter: blur(15px); /* Stärkster Blur hier */
  -webkit-backdrop-filter: blur(15px);
  color: var(--text-light);
  padding: var(--section-padding);
  border-radius: 10px; /* Leichte Rundung */
  margin-top: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.social-media-section h2 {
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.6);
}

.social-links-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 50px; /* Mehr Abstand */
  margin-top: 50px;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1.2em;
  letter-spacing: 0.5px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease, text-shadow 0.4s ease;
}

.social-icon:hover {
  transform: translateY(-10px) scale(1.1);
  color: var(--accent-color);
  text-shadow: 0 0 15px var(--accent-color);
}

.social-icon i { /* Font Awesome Icon */
  font-size: 3.5em; /* Größere Icons */
  margin-bottom: 15px;
  color: var(--accent-color); /* Icons in Akzentfarbe */
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.7);
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.social-icon:hover i {
  color: var(--secondary-color);
  text-shadow: 0 0 15px var(--secondary-color);
}


/* Footer */
.main-footer {
  background-color: var(--dark-bg-gradient-start);
  color: var(--text-light);
  text-align: center;
  padding: 40px 20px;
  margin-top: 80px; /* Mehr Abstand zum letzten Abschnitt */
  border-top: 2px solid var(--secondary-color); /* Farbe der sekundären Farbe */
  box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.3);
}

.footer-nav a {
  color: var(--text-light);
  margin: 0 20px;
  font-size: 1em;
  opacity: 0.7;
}

.footer-nav a:hover {
  color: var(--accent-color);
  opacity: 1;
}

/* Animations */
/* Die Keyframes bleiben größtenteils gleich, aber die Easing-Funktionen und Dauern werden angepasst */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bounceUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px); /* Stärkerer Bounce */
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  /* Stärkerer Slide-Effekt */
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  /* Stärkerer Scale-Effekt */
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes slideLeft {
  from {
    transform: translateX(-80px);
    opacity: 0;
  }
  /* Stärkerer Slide-Effekt */
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  /* Stärkerer Fade-Up */
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px); /* Stärkerer Bounce für Icons */
  }
  60% {
    transform: translateY(-10px);
  }
}

.animated-fade-in {
  animation: fadeIn 1.2s ease-out forwards;
}

.animated-slide-up {
  animation: slideUp 1.2s ease-out forwards;
}

.animated-scale-up {
  animation: scaleUp 1.2s ease-out forwards;
}

.animated-slide-left {
  animation: slideLeft 1.2s ease-out forwards;
}

.animated-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
}

.animated-bounce {
  animation: bounce 2s ease-out forwards;
}

/* Animation Delays */
.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

/* Responsive Design mit Media Queries */
@media (max-width: 1200px) {
  .navbar {
    padding: 0 20px;
  }

  .nav-links li {
    margin-left: 30px;
  }

  .hero-content h1 {
    font-size: 4.5em;
  }

  .hero-content p {
    font-size: 1.5em;
  }

  h2 {
    font-size: 2.5em;
  }

  .album-cover {
    width: 350px;
    height: 350px;
  }

  .tracklist-container {
    min-width: 350px;
  }

  .member-card {
    width: calc(50% - 30px); /* 2 Bilder pro Reihe auf Tablets */
  }
}

@media (max-width: 992px) {
  .nav-links {
    /* ... mobile menu styles ... */
  }

  .hero-content h1 {
    font-size: 3.5em;
  }

  .hero-content p {
    font-size: 1.2em;
  }

  .section-block {
    padding: 60px 20px;
  }

  .album-section {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 15px;
  }

  .album-cover {
    width: 100%;
    max-width: 400px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .tracklist-container {
    width: 100%;
    max-width: 500px;
    min-width: unset;
  }

  .tracklist-container table,
  .tracklist-container tbody,
  .tracklist-container tr {
    display: block;
    width: 100%;
  }

  .tracklist-container td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
    border-bottom: none;
  }

  .tracklist-container td:first-child {
    font-weight: bold;
    margin-bottom: 6px;
    padding-bottom: 0;
    text-align: center;
    font-size: 1.2em;
  }

  .tracklist-container td:last-child {
    padding-top: 0;
    margin-bottom: 20px;
  }

  .tracklist-container tr {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
  }
}

@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }

  .nav-links {
    position: fixed; /* Fixed, nicht absolute */
    right: 0;
    top: 0; /* Starte von ganz oben */
    height: 100vh; /* Volle Bildschirmhöhe */
    background-color: rgba(0, 0, 0, 0.95); /* Fast undurchsichtiges Overlay */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Zentriert die Links vertikal */
    width: 80%; /* Breiteres Menü */
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    padding-top: 0; /* Kein zusätzlicher Padding-Top */
  }

  .nav-links.nav-active {
    transform: translateX(0%);
  }

  .nav-links li {
    opacity: 0;
    margin: 30px 0; /* Mehr Abstand zwischen Links */
  }

  .nav-links li a {
    font-size: 2em; /* Größere Links im Menü */
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(222, 204, 164, 0.5);
  }

  .nav-links.nav-active li {
    animation: navLinkFade 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  }

  @keyframes navLinkFade {
    from {
      opacity: 0;
      transform: translateX(80px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  .nav-links.nav-active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-links.nav-active li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-active li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-active li:nth-child(4) {
    animation-delay: 0.4s;
  }


  .hero-content h1 {
    font-size: 2.8em;
  }

  .hero-content p {
    font-size: 1.1em;
  }

  h2 {
    font-size: 2.2em;
  }

  @media (max-width: 800px) {
    .next-event-card {
      flex-direction: column !important;
      align-items: stretch !important;
      text-align: center;
    }
    .plakat-section-poster,
    .event-info {
      width: 100%;
      margin: 0 0 1rem 0;
    }
  }

  .next-event-card {
    padding: 30px;
  }

  .next-event-card .event-info h3 {
    font-size: 1.8em;
  }

  .next-event-card .event-info p {
    font-size: 1.1em;
  }

  .member-card {
    width: 80%; /* Ein Bild pro Reihe auf kleineren Handys */
    max-width: 350px;
    margin-bottom: 20px; /* Abstand zwischen den Karten */
  }

  .member-card:nth-last-child(2), /* Letzte 2 Elemente in der 5er-Reihe */
  .member-card:last-child {
    width: calc(50% - 30px); /* 2 Bilder, wenn genug Platz */
  }

  @media (max-width: 550px) {
    .member-card:nth-last-child(2),
    .member-card:last-child {
      width: 80%; /* Auch hier nur ein Bild */
    }
  }


  .social-icon i {
    font-size: 3em;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 15px;
  }

  .navbar .logo a {
    font-size: 2em;
  }

  .hero-content h1 {
    font-size: 2.2em;
  }

  .hero-content p {
    font-size: 1em;
  }

  h2 {
    font-size: 1.8em;
  }

  .section-block {
    padding: 40px 15px;
  }

  .album-cover {
    width: 280px;
    height: 280px;
  }

  .tracklist-container th, .tracklist-container td {
    padding: 10px;
    font-size: 0.9em;
  }

  .tracklist-container iframe {
    height: 70px;
  }

  .social-icon {
    font-size: 1em;
  }

  .social-icon i {
    font-size: 2.5em;
  }

  .footer-nav a {
    margin: 0 10px;
    font-size: 0.8em;
  }
}

/* Scrollbar Styling (Modern) */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg-gradient-start);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: var(--secondary-color);
  border-radius: 10px;
  border: 3px solid var(--dark-bg-gradient-start);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-90deg) scale(0.8);}
  to { opacity: 1; transform: rotate(0) scale(1);}
}
@keyframes flipInY {
  from { opacity: 0; transform: perspective(400px) rotateY(90deg);}
  to { opacity: 1; transform: perspective(400px) rotateY(0);}
}
.animated-rotate-in { animation: rotateIn 1.2s cubic-bezier(0.25,0.8,0.25,1) forwards; }
.animated-flip-in-y { animation: flipInY 1.2s cubic-bezier(0.25,0.8,0.25,1) forwards; }

.reset-anim {
  animation: none !important;
}

@keyframes swingIn {
  0% {
    transform: rotate(45deg);
    opacity: 0;
  }
  50% {
    transform: rotate(-10deg);
    opacity: 0.5;
  }
  100% {
    transform: rotate(0deg);
    opacity: 1;
  }
}

@keyframes pulseScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.animated-swing-in {
  animation: swingIn 1.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.animated-pulse-scale {
  animation: pulseScale 2s ease-in-out infinite;
}
.band-logo {
  height: 48px;
  width: auto;
  vertical-align: middle;
  margin-right: 16px;

}
.logo a:hover .band-logo {
  filter: drop-shadow(0 0 16px var(--secondary-color)) brightness(1.2);
}
#loader-overlay {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

.loader-content {
  text-align: center;
}

.loader-bar {
  width: 320px;
  height: 18px;
  background: rgba(255,255,255,0.15);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.loader-progress {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
  border-radius: 12px;
  transition: width 0.4s;
  animation: loader-progress-anim 2s linear infinite;
}

@keyframes loader-progress-anim {
  0% { width: 0%; }
  80% { width: 100%; }
  100% { width: 0%; }
}

.loader-text {
  color: var(--accent-color);
  font-family: 'Oswald', sans-serif;
  font-size: 1.3em;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(0,0,0,0.3);
}
@media (max-width: 992px) {
  .tracklist-container table,
  .tracklist-container tbody,
  .tracklist-container tr {
    display: block;
    width: 100%;
  }
  .tracklist-container td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 0;
  }
  .tracklist-container td:first-child {
    font-weight: bold;
    margin-bottom: 6px;
    padding-bottom: 0;
  }
  .tracklist-container td:last-child {
    padding-top: 0;
  }
}

/* Gallery Section */
.gallery-section {
  text-align: center;
}

.gallery-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.7), rgba(28, 28, 28, 0.7));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--secondary-color);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8);
  border-color: var(--accent-color);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay .fa-expand {
  color: var(--accent-color);
  font-size: 1.5em;
  margin-left: auto;
  text-shadow: 0 0 10px rgba(222, 204, 164, 0.7);
}

.gallery-error {
  text-align: center;
  padding: 40px;
  color: var(--text-light);
  background: rgba(97, 8, 33, 0.3);
  border-radius: 15px;
  margin: 0 20px;
}

.gallery-error a {
  color: var(--accent-color);
  font-weight: bold;
}

/* Gallery Modal */
.gallery-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--accent-color);
  font-size: 3em;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.3s ease, transform 0.3s ease;
}

.modal-close:hover {
  color: var(--text-light);
  transform: scale(1.1);
}

#modal-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.modal-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.modal-prev,
.modal-next {
  background: rgba(1, 39, 62, 0.9);
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
  font-size: 2em;
  width: 60px;
  height: 60px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s ease;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10002;
}

.modal-prev:hover,
.modal-next:hover {
  background: var(--accent-color);
  color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 20px rgba(222, 204, 164, 0.7);
}

.modal-prev {
  left: 20px;
}

.modal-next {
  right: 20px;
}

/* Responsive Gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 0 15px;
  }

  .gallery-item img {
    height: 200px;
  }

  .modal-prev,
  .modal-next {
    font-size: 1.8em;
    width: 50px;
    height: 50px;
  }

  .modal-prev {
    left: 15px;
  }

  .modal-next {
    right: 15px;
  }

  .modal-close {
    font-size: 2.5em;
    top: -40px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px;
  }

  .gallery-item img {
    height: 180px;
  }

  .modal-prev,
  .modal-next {
    font-size: 1.5em;
    width: 45px;
    height: 45px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }
}

@media (max-width: 768px) {
  .tracklist-container {
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling auf iOS */
  }

  .tracklist-container table,
  .tracklist-container tbody,
  .tracklist-container tr {
    display: block;
    width: 100%;
  }

  .tracklist-container td {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 10px; /* Mehr Padding für bessere Touch-Targets */
  }

  .tracklist-container td:first-child {
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 0;
    text-align: center;
    font-size: 1.2em;
  }

  .tracklist-container td:last-child {
    padding-top: 0;
    margin-bottom: 25px; /* Mehr Abstand zwischen Songs */
  }

  .tracklist-container tr {
    margin-bottom: 20px;
    padding: 20px 15px; /* Mehr Padding für mobile */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  }

  .tracklist-container iframe {
    height: 100px; /* Größere Spotify-Player auf Mobile */
    border-radius: 12px;
    margin-top: 5px;
  }
}
