@import url("fonts/inter/inter.css");

/* Container-Zentrale für max-Breite */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Grundlayout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Einheitliches Farbschema für Text */
h1, h2, h3 {
  color: #fff;
}

p, li {
  color: #aaa;
}

/* Allgemeine Struktur */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Header */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 32px;
}

header {
  position: sticky;
  top: 0;
  background-color: #000;
  z-index: 1000;
  border-bottom: 1px solid #222;
  transition: transform 0.3s ease;
  margin-bottom: 0;
  padding-bottom: 0;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: bold;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
}

nav {
  display: flex;
  gap: 32px;
}

nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

h2 {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

h3 {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

nav a:hover {
  color: #ccc;
}

/* Scroll-Offset für Ankerziele */
[id] {
  scroll-margin-top: 100px;
}

/* HERO SECTION */
.hero {
  text-align: center;
  padding-top: 16px;
}

.hero img.bandfoto {
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-top: 0;
  padding-top: 0;
  display: block;
}

.hero-backdrop {
  margin: 40px 0 20px;
  text-align: center;
}

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

.cta-text {
  font-size: 1.2rem;
  color: #fff;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 20px;
  line-height: 1.6;
  padding: 0 20px;
  font-weight: 400;
}

.cta-spotify-inline {
  color: #fff;
  font-size: 1.2rem;
  margin-left: 8px;
  vertical-align: middle;
  transition: color 0.2s ease;
}

.cta-spotify-inline:hover {
  color: #ccc;
}

/* INFO SECTION */
.info p {
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
}

/* TERMINE SECTION */
.termine {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.termine .liste {
  flex: 1;
}

.termine h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  border-bottom: 1px solid #444;
  padding-bottom: 5px;
}

.termine ul {
  list-style: none;
  padding-left: 0;
}

.termine li {
  padding: 5px 0;
  border-bottom: 1px solid #222;
}

/* MUSIC SECTION */
.music iframe {
  width: 100%;
  max-width: 800px;
  height: 352px;
  border-radius: 12px;
  margin: 0 auto;
  display: block;
}

/* FOTO SECTION – GALLERY */
.photo-section {
  padding: 60px 20px;
}

.photo-section h2 {
  text-align: left;
  font-size: 1.5rem;
  text-transform: uppercase;
  margin-bottom: 24px;
}

/* Galerie-Mosaik mit justifiedGallery */
.justified-gallery {
  margin: 0 auto;
  max-width: 1200px;
}

.justified-gallery a img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.justified-gallery a img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-nav span {
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  padding: 0 20px;
  user-select: none;
}

/* BOOKING */
.booking-section p {
  text-align: left;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto 16px;
}

.booking-section a {
  color: #fff;
  text-decoration: underline;
  word-break: break-word;
}

.booking-section a:hover {
  color: #ccc;
}

/* BILD ÜBER FOOTER */
.abschlussbild-section {
  position: relative;
  margin-top: 60px;
  overflow: hidden;
}

.footer-image {
  display: block;
  width: 100%;
  height: auto;
}

.abschlussbild-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, #000 0%, transparent 150%);
  pointer-events: none;
  z-index: 1;
}

/* FOOTER */
footer {
  background-color: #000;
  padding: 40px 20px;
  color: #aaa;
  font-size: 0.9rem;
}

footer .footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.footer-icons {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 10px 0 30px;
}

.footer-icons a {
  color: #aaa;
  font-size: 2.2rem;
  transition: color 0.2s ease;
}

.footer-icons a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 0.8rem;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-copy {
  text-align: center;
  font-size: 0.7rem;
  margin-top: 16px;
  color: #666;
}

/* Responsive Design */
@media (min-width: 768px) {
  .termine {
    flex-direction: row;
    gap: 60px;
  }

  .hero .banner-placeholder {
    height: 100px;
  }

}

/* Mobile Menü */
#menu-toggle {
  display: none;
}

.menu-icon {
  display: block;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

.navicon,
.navicon::before,
.navicon::after {
  background: #fff;
  content: '';
  display: block;
  height: 3px;
  width: 30px;
  position: absolute;
  transition: all 0.3s ease;
}

.navicon {
  top: 50%;
  transform: translateY(-50%);
}

.navicon::before {
  top: -10px;
}

.navicon::after {
  top: 10px;
}

/* Animation zum X */
#menu-toggle:checked + .menu-icon .navicon {
  background: transparent;
}

#menu-toggle:checked + .menu-icon .navicon::before {
  transform: rotate(45deg);
  top: 0;
}

#menu-toggle:checked + .menu-icon .navicon::after {
  transform: rotate(-45deg);
  top: 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: #000;
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  z-index: 999;
  padding: 16px 0;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background-color: #000;
  position: fixed;
  top: 75px; /* statt top: 0 */
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 16px 32px;
  align-items: flex-end;
  text-align: right;
}

#menu-toggle:checked ~ .mobile-nav {
  display: flex;
}

.menu-icon {
  display: none;
}



/* 📱 MOBIL & TABLET */
@media (max-width: 768px) {
  nav {
    display: none;
  }

  .menu-icon {
    display: block;
    cursor: pointer;
  }

  #menu-toggle:checked + .menu-icon + .mobile-nav {
    display: flex;
  }

  header {
    transition: top 0.3s ease;
  }

  header.hide-on-scroll {
    top: -100px;
  }

  .home-section {
    margin-top: 0;
    padding-top: 16px;
  }

  .main-content {
    transition: margin-top 0.3s ease;
    margin-top: 0;
  }

  section {
    padding: 32px 16px;
  }

  /* Menü drückt Content runter */
  #menu-toggle:checked ~ .main-content {
    margin-top: 300px;
  }

  /* Footer mobil zentriert halten */
  .footer-icons {
    gap: 32px;
    flex-wrap: wrap;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-copy {
    margin-top: 12px;
  }
}

/* 📱 KLEINERE SMARTPHONES */
@media (max-width: 640px) {
  .container {
    padding: 0 10px;
    max-width: 100% !important;
  }

  section {
    padding: 24px 10px;
  }

  .bandlogo {
    margin: 8px 0 12px;
  }

  .hero-backdrop {
    margin: 8px 0 8px;
  }

  .cta-text {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 16px auto 12px;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.05rem;
  }

  p,
  li {
    font-size: 1rem;
    line-height: 1.6;
  }

  .termine td {
    font-size: 1rem;
    padding: 4px 0;
  }

  .footer-content {
    font-size: 0.85rem;
  }

  .footer-icons {
    gap: 24px;
  }

  .footer-socials svg {
    width: 22px;
    height: 22px;
  }

  .photo-section {
    padding: 20px 10px;
  }
}
/* NEU – funktioniert nur, wenn beide im selben Eltern-Element sind */
  #menu-toggle:checked ~ .main-content {
    margin-top: 300px;
  }
}

