@import url('https://fonts.googleapis.com/css2?family=Staatliches&family=Rubik:wght@400;500&display=swap');


* {
  box-sizing: border-box;
  transition: all 0.3s ease;
}


body {
  margin: 0;
  font-family: 'Rubik', sans-serif;
  background: #000;
  color: #ffe08a;
}


a {
  color: #ffe08a;
  text-decoration: none;
}


a:hover {
  text-decoration: underline;
}


nav {
  background: linear-gradient(90deg, #111, #222);
  display: flex;
  align-items: center;
  padding: 0.5em;
  gap: 1em;
  position: sticky;
  top: 0;
  z-index: 100;
}


.nav-logo {
  flex-shrink: 0;
}


.nav-logo a {
  display: block;
}


.nav-logo img {
  height: 2.8em;
  width: auto;
  display: block;
  filter: drop-shadow(0 0 5px orange);
}


.nav-links-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-auto-rows: auto;
  gap: 0.2em;
  width: 100%;
}


.nav-links-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  padding: 0.6em;
  position: relative;
  overflow: hidden;
  text-align: center;
}


.nav-links-wrapper a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: orange;
  transition: width 0.3s ease, left 0.3s ease;
}


.nav-links-wrapper a:hover::after {
  width: 100%;
  left: 0;
}


.nav-links-wrapper a i {
  margin-right: 0.5em;
}


@media (max-width: 768px) {
  nav {
    gap: 0.5em;
  }
  .nav-logo img {
    height: 2.5em;
  }
  .nav-links-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  }
  .nav-links-wrapper a {
    font-size: 0.85em;
    padding: 0.5em;
  }
}


@media (max-width: 480px) {
  .nav-logo img {
    height: 2.2em;
  }
  .nav-links-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  }
  .nav-links-wrapper a {
    font-size: 0.8em;
    padding: 0.4em;
  }
  .nav-links-wrapper a i {
    margin-right: 0.3em;
  }
}


.main-content {
  padding: 2em;
}


header {
  text-align: center;
  margin-bottom: 1em;
}


header img {
  width: 250px;
  max-width: 80%;
  filter: drop-shadow(0 0 5px rgba(255, 165, 0, 0.5)); /* Glow-Effekt halbiert */
  border-radius: 15px; /* Abgerundete Ecken hinzugefügt */
}


header h1 {
  font-size: 2em;
  font-family: 'Staatliches', cursive;
  color: #ffe08a;
  margin: 0.5em 0;
}


section {
  background: #111;
  padding: 2em;
  margin-bottom: 2em;
  border-left: 6px solid orange;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.2);
  opacity: 0;
  transform: translateY(20px);
}


section.animate {
  animation: fadeInUp 0.8s forwards;
}


@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


section h2 {
  color: #ffa733;
  font-size: 1.4em;
  margin-bottom: 0.5em;
  display: flex;
  align-items: center;
}
section h2 .fas {
  margin-right: 0.5em;
}


/* Allgemeine Videostile, falls nicht spezifischer überschrieben */
video {
  display: block;
  margin: 1em auto;
  max-width: 100%; /* Stellt sicher, dass Videos immer responsiv sind */
  height: auto; /* Behält das Seitenverhältnis bei */
}

/* Container für hochkante Videos (Portrait) */
.video-container-portrait {
  position: relative;
  width: 100%; /* Nimmt die volle Breite des Elternelements ein */
  /* padding-top: 177.77%; /* 1280 / 720 = 1.7777... -> 177.77% für 9:16 Seitenverhältnis (Höhe ist 177.77% der Breite) */
  aspect-ratio: 9 / 16; /* Definiert das Seitenverhältnis direkt */
  height: auto; /* Die Höhe wird basierend auf der Breite und dem Seitenverhältnis angepasst */
  margin: 1em auto; /* Zentriert den Container */
  background-color: #000; /* Schwarzer Hintergrund für den Container */
  overflow: hidden; /* Verhindert, dass das Video über den Container hinausragt */
}

/* Media Query für Desktop-Ansichten */
@media (min-width: 769px) {
  .video-container-portrait {
    max-width: 400px; /* Eine maximale Breite für Desktop, die das Video auf eine angenehme Größe skaliert */
    max-height: 70vh; /* Begrenzt die maximale Höhe auf 70% der Viewport-Höhe, um zu verhindern, dass es zu hoch wird */
  }
}

.video-container-portrait video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Stellt sicher, dass das Video im Container sichtbar ist und das Seitenverhältnis beibehält */
  margin: 0; /* Entfernt den automatischen Margin des Video-Tags */
  opacity: 0; /* Video standardmäßig unsichtbar */
  transition: opacity 0.5s ease-in-out; /* Übergang für das Einblenden */
}

.video-container-portrait.loaded video {
  opacity: 1; /* Video einblenden, wenn geladen */
}

.video-loading-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffa733;
  font-size: 1.2em;
  z-index: 1; /* Sicherstellen, dass es anfänglich über dem Video liegt */
  transition: opacity 0.5s ease-in-out;
}

.video-container-portrait.loaded .video-loading-placeholder {
  opacity: 0; /* Platzhalter ausblenden, wenn Video geladen */
  pointer-events: none; /* Verhindert Interaktionen mit dem ausgeblendeten Platzhalter */
}

/* Neue Styles für das Video-Overlay und den Play-Button */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6); /* Leichter Overlay-Effekt */
  cursor: pointer;
  z-index: 2; /* Über dem Video-Placeholder */
  transition: opacity 0.5s ease-in-out;
}

.video-overlay .video-poster-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain; /* Stellt sicher, dass das Bild im Container sichtbar ist */
  z-index: 0; /* Hinter dem Play-Button */
}

.video-overlay .play-button {
  background-color: rgba(255, 165, 0, 0.8);
  border: none;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
  color: #000;
  cursor: pointer;
  box-shadow: 0 0 15px rgba(255, 165, 0, 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 1; /* Über dem Posterbild */
}

.video-overlay .play-button:hover {
  background-color: #ffc966;
  transform: scale(1.05);
}

.spinner {
  border: 4px solid rgba(255, 165, 0, 0.3);
  border-top: 4px solid #ffa733;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-top: 10px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


.shop-item {
  background: #1a1a1a;
  border: 1px solid #ffa733;
  padding: 1em;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1em;
}


.shop-item img {
  max-width: 100%;
  border-radius: 4px;
}


.shop-item button {
  margin-top: 0.5em;
  background: #ffa733;
  border: none;
  padding: 0.5em 1em;
  cursor: pointer;
  color: #000;
  font-weight: bold;
}


.shop-item button:hover {
  background: #ffc966;
}


.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1em;
}

.gallery img {
  height: 200px;
  width: 100%;
  object-fit: contain;
  border: 2px solid #ffa733;
  border-radius: 6px;
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease-in-out;
}

.gallery img:hover {
  transform: scale(1.05);
}


@media (min-width: 1024px) {
  .gallery img {
    width: calc(33.33% - 0.66em);
    height: 250px;
  }
}

@media (max-width: 768px) {
  .gallery img {
    height: 150px;
  }
}


@media (max-width: 480px) {
  .gallery img {
    height: 120px;
  }
}


.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  width: auto;
  height: auto;
  border: 3px solid #ffe08a;
  border-radius: 4px;
  object-fit: contain;
}


form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}


form input,
form textarea {
  padding: 0.8em;
  background: #1a1a1a;
  border: 1px solid #ffa733;
  color: #ffe08a;
  border-radius: 4px;
  font-family: 'Rubik', sans-serif;
}


form input::placeholder,
form textarea::placeholder {
  color: #aa8f5c;
}


form button {
  background: #ffa733;
  border: none;
  padding: 0.8em;
  cursor: pointer;
  color: #000;
  font-family: 'Staatliches', cursive;
  font-size: 1.1em;
  border-radius: 4px;
}


form button:hover {
  background: #ffc966;
}


footer {
  text-align: center;
  padding: 2em;
  color: #999;
  font-size: 0.9em;
}


.news-section-container {
}


.news-entry {
  margin-bottom: 1.5em;
  padding-bottom: 1.5em;
  border-bottom: 1px dashed #555;
}


.news-entry:last-child {
  border-bottom: none;
  margin-bottom: 0;
}


.news-entry-date {
  font-style: italic;
  color: #ccc;
}


.news-entry-title {
  font-weight: bold;
  color: #ffa733;
  font-size: 1.15em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  display: inline-block;
}


.news-entry-message {
  color: #ffe08a;
  line-height: 1.6;
}


.tour-dates {
  display: flex;
  flex-direction: column;
  gap: 1em;
}


.tour-date {
  background: #1a1a1a;
  border-left: 4px solid #ffa733;
  padding: 1em;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 120px 1fr auto;
  grid-template-areas:
    "date venue details"
    " .  .  .";
  align-items: center;
}


.date {
  grid-area: date;
  font-weight: bold;
  color: #ccc;
}


.venue {
  grid-area: venue;
}


.details {
  grid-area: details;
  justify-self: end;
  color: #999;
  font-size: 0.9em;
}


.band-members {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2em;
}


.member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 300px;
}


.member img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.5em;
}


.member p {
  margin-top: 0.5em;
  text-align: center;
}


@media (max-width: 768px) {
  .band-members {
    flex-direction: column;
    align-items: center;
  }
  .member {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: 1em;
  }
  section {
    padding: 1.5em;
  }
  header h1 {
    font-size: 1.8em;
  }
  section h2 {
    font-size: 1.2em;
  }
  .news-entry-title {
    font-size: 1.1em;
  }
}


#musik {
  text-align: center;
}

.video-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2em;
}

.video-inner {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 16 / 9;
}

.video-inner iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border: 0;
}

@media (max-width: 600px) {
  .video-inner {
    max-width: 100%;
  }
}


.contact-alex-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.contact-alex-info img {
  width: 150px;
  height: auto;
  margin-right: 20px;
  border-radius: 8px;
}