/* === Grundlayout & Reset === */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background: #2a2a2c;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #e8e8e8;
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

/* === Cookie Popup === */
#cookie-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(30,30,30,0.7);
  z-index: 1999;
}
#cookie-popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: #2a2a2c;
  color: #e8e8e8;
  box-shadow: 0 2px 16px rgba(0,0,0,0.4);
  z-index: 2000;
  padding: 1.2rem 2rem;
  min-width: 280px;
  max-width: 95vw;
  border-radius: 8px;
}
.cookie-popup-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
#cookie-accept-btn {
  background: #8b8983;
  color: #2a2a2c;
  border: none;
  padding: 0.7rem 2rem;
  font-size: 0.9rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border-radius: 8px;
}
#cookie-accept-btn:hover {
  background: #3c8859;
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
@media (max-width: 600px) {
  #cookie-popup {
    min-width: 90vw;
    padding: 1rem;
    font-size: 1rem;
  }
}

/* === Navbar === */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a2a2cef;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  font-weight: bold;
  z-index: 1000;
  transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.hide { top: -80px; }
.logo { height: 60px; margin-right: 1rem; margin-left: 0.5rem; }
.burger {
  margin-right: 1rem;
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.burger div {
  width: 25px;
  height: 3px;
  background: #e8e8e8;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0 2rem 0 0;
}
.nav-links li a {
  color: #e8e8e8;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}
.nav-links li a:hover { color: #3c8859; }
@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    right: 0; top: 60px;
    background: #2a2a2c;
    flex-direction: column;
    width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    gap: 0;
    border-radius: 0 0 0 8px;
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-links li { padding: 1rem; }
  .burger { display: flex; }
}

/* === Parallax & Layout === */
.parallax, .parallax1, .parallax2 {
  min-height: 55rem;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax1, .parallax2 {
  background-image: url("../images/background.jpg");
}
.full-logo {
  max-width: 80vw;
  max-height: 60vh;
  display: block;
  margin: 0 auto;
}

/* === Allgemeine Sektionen & Farben === */
.section {
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.green, .green-bg {
  background: #2b3b32;
  color: #e8e8e8;
  padding: 2rem;
}
.grey, .grey-bg {
  background: #2a2a2c;
  color: #e8e8e8;
  padding: 2rem;
}

/* === Spaltenbereich (fields) === */
.grey-fields, .green-fields {
  display: flex;
  align-items: center;
  background: none;
  padding: 0;
}
.grey-field, .green-field {
  flex: 1;
  background: none;
  padding: 2rem;
  box-sizing: border-box;
}
.grey-field.left img, .green-field.left img {
  max-width: 100%;
  height: auto;
  display: block;
  max-width: 30rem;
  margin: 0 auto;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  border-radius: 8px;
}
.grey-field.left img:hover, .green-field.left img:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}
.divider {
  width: 2px;
  background: #8b8983;
  height: 80%;
  min-height: 100px;
  margin: 0 1rem;
  align-self: center;
}
@media (max-width: 768px) {
  .grey-fields, .green-fields { flex-direction: column; align-items: stretch; }
  .divider {
    width: 80%;
    height: 2px;
    min-height: 0;
    margin: 1rem auto;
    align-self: stretch;
  }
  .grey-field.left img, .green-field.left img { max-width: 200px; }
}

/* === Musik Section === */
#music-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 3rem 0;
  box-sizing: border-box;
  color: #2a2a2c;
  background-image: url("../images/background2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.spotify-embed-wide {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
  overflow: hidden;
  background: #181818;
  padding: 0;
  display: flex;
  justify-content: center;
  border-radius: 8px;
}
@media (max-width: 900px) {
  .spotify-embed-wide { width: 90%; }
}

/* === News Section === */
.news-fields {
  display: flex;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.news-field {
  flex: 1;
  background: none;
  padding: 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.news-field.left { border-right: 2px solid #8b8983; }
.news-field.right { align-items: flex-start; }
.single {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
}
.single-cover {
  width: 200px;
  height: 200px;
  object-fit: cover;
  margin-right: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  border-radius: 8px;
}
.single-cover:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transform: scale(1.03);
}
.single-title {
  font-size: 1.1rem;
  font-weight: 500;
}
.gigs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.gigs-list li {
  margin-bottom: 0.7rem;
  font-size: 1.05rem;
}
@media (max-width: 600px) {
  .news-fields { flex-direction: column; gap: 0; }
  .news-field.left { border-right: none; border-bottom: 2px solid #8b8983; }
  .single {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
  }
  .single-cover {
    margin-right: 0;
    margin-bottom: 0.7rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .single-title {
    width: 100%;
    text-align: center;
  }
}
.divider2 {
  max-width: 370px;
  background: #8b8983;
  height: 1px;
  min-width: 100px;
  margin: 1.5rem 0;
  align-self: center;
}

/* === Galerie === */
#gallery-section {
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../images/background3.jpg");
  position: relative;
  color: #e8e8e8;
  padding: 2rem 0;
}
.gallery-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%;
  max-width: 90rem;
  margin: 0.5rem auto 0 auto;
}
.gallery-arrow {
  background: none;
  border: none;
  color: #e8e8e8;
  font-size: 2.5rem;
  font-weight: bold;
  padding: 0.5rem 1.2rem;
  transition: color 0.2s;
  z-index: 2;
}
.gallery-arrow:hover { color: #8b8983; }
.gallery-image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 70vw;
  max-width: 1400px;
}
.gallery-image,
.gallery-overlay-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
  border-radius: 8px;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.8s, transform 0.4s;
}
.gallery-image.fade-out,
.gallery-overlay-image.fade-out {
  opacity: 0;
  transform: scale(0.97);
}
.gallery-image.fade-in,
.gallery-overlay-image.fade-in {
  opacity: 1;
  transform: scale(1);
}
.gallery-caption {
  margin: 1rem;
  font-size: 1.5rem;
  text-align: center;
  padding: 0.5rem 1rem;
  min-height: 2.2em;
}
@media (max-width: 600px) {
  .gallery-image-wrapper { width: 95vw; }
  .gallery-image { max-height: 250px; }
  .gallery-carousel { gap: 0.5rem; }
  .gallery-caption { font-size: 1.1rem; margin: 0.5rem;}
}

/* Vollbild-Galerie Overlay */
.gallery-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(20,20,20,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s;
}
.gallery-overlay.active {
  display: flex;
  opacity: 1;
}
.gallery-overlay.closing { opacity: 0; }
.gallery-overlay-image-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 95vh;
}
.gallery-overlay-image {
  max-width: 95vw;
  max-height: 95vh;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.7);
  cursor: pointer;
}
.gallery-overlay .gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #e8e8e8;
  font-size: 3rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10001;
  transition: color 0.2s;
}
.gallery-overlay .gallery-arrow.left { left: 2vw; }
.gallery-overlay .gallery-arrow.right { right: 2vw; }
.gallery-overlay .gallery-arrow:hover { color: #3c8859; }
@media (max-width: 900px) {
  .gallery-overlay-image { max-width: 98vw; max-height: 70vh; }
  .gallery-overlay .gallery-arrow { font-size: 2.2rem; }
}

/* === Kontaktformular === */
.contact-container {
  background: none;
  padding: 2rem;
  max-width: 420px;
  width: 100%;
}
#contactForm input,
#contactForm textarea {
  background: #2a2a2c;
  color: #8b8983;
  border: 1px solid #8b8983;
  font-size: 1rem;
  width: 100%;
  padding: 0.8rem 1rem;
  margin-bottom: 1.2rem;
  transition: border 0.2s;
  font-family: Georgia, 'Times New Roman', Times, serif;
  border-radius: 8px;
}
#contactForm label { font-weight: bold; }
#contactForm textarea { resize: none; min-height: 140px; }
#contactForm input:focus,
#contactForm textarea:focus {
  border: 1px solid #3c8859;
  outline: none;
}
#contactForm button {
  background: #8b8983;
  color: #2a2a2c;
  border: none;
  padding: 0.9rem 2.2rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border-radius: 8px;
}
#contactForm button:hover {
  background: #3c8859;
  transform: scale(1.04);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}
.contact-error {
  color: #d32f2f;
  margin-bottom: 1rem;
  display: none;
  font-weight: 600;
  text-align: center;
  background: #e8e8e8;
  padding: 0.5rem 0;
}
@media (max-width: 600px) {
  .contact-container {
    padding: 1.2rem 0.5rem;
    max-width: 95vw;
    margin: 0 auto;
  }
  #contactForm input,
  #contactForm textarea {
    font-size: 0.95rem;
    padding: 0.7rem 0.7rem;
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* === Footer === */
.site-footer, .impressum-footer {
  padding: 1.5rem 0 1rem 0;
  background: #2a2a2c;
  color: #8b8983;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.impressum-footer {
  color: #8b8983;
  padding-top: 0.5rem;
  padding-bottom: 1.5rem;
}
.footer-content {
  border-top: 1px solid #8b8983;
  margin: auto 2rem;
  padding-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 1rem;
  flex-wrap: wrap;
  text-align: center;
}
@media (max-width: 600px) {
  .footer-content, .impressum-footer .footer-content {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}
.footer-link, .impressum-footer .footer-link {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.3s;
}
.footer-link:hover, .impressum-footer .footer-link:hover { opacity: 0.3; }
.footer-icon, .impressum-footer .footer-icon {
  color: #8b8983;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
  transition: opacity 0.3s;
}
.footer-icon:hover, .impressum-footer .footer-icon:hover { opacity: 0.3; }
.footer-icon i { font-size: 1.2rem; margin-right: 0.3rem; }
.footer-icon span { font-size: 0.9rem; font-weight: 500; }
.footer-icon img {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.3rem;
  transition: transform 0.2s;
}
.footer-icon img:hover { transform: scale(1.1); }

/* === Impressum Section === */
.impressum-section {
  background: #2a2a2c;
  color: #e8e8e8;
  padding: 2rem;
  margin: 2rem;
  margin-top: 80px;
  border-radius: 8px;
}