/* Allgemeine Formatierung */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}



body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}

img {
  max-width: 100%;
  height: auto;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0, 0, 0, 05); /* transparenter Hintergrund */
  z-index: 1000;
}

header .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 1.2rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  color: #ffcc00;
}

/* Hero Section */
.full-background {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url('bilder/Z9F_9114.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-text {
   background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 10px;
  color: white;
  text-align: center;
  max-width: 800px;
}

.hero-text h1 {
  color: #ffcc00;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-text h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.hero-text p {
  margin-top: 0.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.logo-image {
  width: 600px; /* Anpassen je nach gewünschter Größe */
  max-width: 80%;
  margin-bottom: 2rem;
}

.hero-content h1 {
  color: #ffcc00;
  font-size: 3rem;
  margin: 1rem 0;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero-content p {
  font-size: 2rem;
  line-height: 1.6;
}



/* Footer */
footer {
  background-color: #eee;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    position: absolute;
    right: 2rem;
    top: 70px;
    padding: 1rem;
    border-radius: 5px;
    display: none;
  }

  nav ul.show {
    display: flex;
  }

  nav .menu-toggle {
    display: block;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* Weitere Seiten (optional anpassbar für „Über uns“, „Termine“ usw.) */

.subpage-background {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-image: url('bilder/Hintergrund02.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 6rem;
}

.subpage-background .hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  max-width: 900px;
}

.subpage-background h1 {
  font-size: 2.5rem;
  color: #ffcc00;
  margin-bottom: 1rem;
}


main {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
  padding-top: 6rem;
}

.team {
  padding: 4rem 2rem;
  background-color: #111;
  color: white;
  text-align: center;
}

.team h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #ffcc00;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
}

.member img {
  width: 100%;
  max-width: 180px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.member .info {
  margin-top: 0.5rem;
}

.member h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1rem;
  color: #fff;
}

.member p {
  margin: 0;
  font-size: 0.9rem;
  color: #ccc;
}

.termine-list {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  background-color: #fff;
  color: #111;
  text-align: center;
}

.termine-list h2 {
  font-size: 2rem;
  color: #000;
  margin-bottom: 2rem;
}

.termine-list ul {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  line-height: 2rem;
}

.termine-list li {
  border-bottom: 1px solid #ccc;
  padding: 0.5rem 0;
}

.termin-link {
  color: #cc3300;
  text-decoration: underline;
}

.termin-link:hover {
  color: #ff6600;
}

.social-links {
  background-color: #111;
  color: white;
  text-align: center;
  padding: 2rem;
}

.social-links a {
  display: inline-block;
  margin: 0 1rem;
  font-size: 1.2rem;
  color: #ffcc00;
  text-decoration: none;
}

.social-links a:hover {
  color: #ffa500;
}

.video-gallery, .photo-gallery {
  padding: 4rem 2rem;
  background-color: #fff;
  text-align: center;
}

.video-gallery h2,
.photo-gallery h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 gleich breite Spalten */
  gap: 1rem;
  justify-items: center;
}

.video-item video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.3s ease;
  cursor: pointer;
}



.video-item p {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: #444;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.photo-grid figure {
  text-align: center;
  font-size: 0.9rem;
  color: #444;
}

.photo-grid figcaption {
  margin-top: 0.5rem;
}

/* Bild im Modal */
#modalImage {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}


.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}


.modal-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.modal-content video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.photo-grid img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
}


/* ————— Bild-Modal Styles ————— */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}



.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.close-img {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* Optional: sanfter Zoom beim Hover über Bilder */
.photo-grid img:hover {
  transform: scale(3);
}

.video-item video:hover {
  transform: scale(2);
}

/* Kontaktseite */
.contact-info,
.contact-form {
  padding: 4rem 2rem;
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  text-align: center;
  border-radius: 8px;
}

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  color: #111;
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: #0073e6;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.contact-form label {
  display: block;
  margin: 1rem 0 0.5rem;
  text-align: left;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form button {
  padding: 0.75rem 1.5rem;
  background-color: #111;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 1.1rem;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #333;
}

.back-button {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #111;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
}

.back-button:hover {
  background-color: #333;
}

/* — Mobile (Smartphones) — */
@media (max-width: 768px) {

  /* Header & Hero Bereich */
  header {
    padding: 1rem;
  }

  .subpage-background {
    height: 40vh;
    padding-top: 4rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* Galerie & Videos – einspaltig */
  .video-grid, .photo-grid, .team-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Bilder im Modal und Thumbnails */
  .photo-grid img,
  .video-item video {
    width: 100%;
    object-fit: cover;
  }

  /* Formulare mobil optimiert */
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
    margin: 0 auto;
    display: block;
  }

  .contact-form button {
    margin-top: 1rem;
    min-height: 48px;
  }

  /* Kontakt Infos zentral ausgerichtet */
  .contact-info b, .contact-info a {
    font-size: 1rem;
  }

  /* Dankeseite Button besser klickbar */
  .back-button {
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    margin-top: 1.5rem;
  }
}

/* — Tablet (Mittlere Bildschirme) — */
@media (min-width: 769px) and (max-width: 1024px) {
  .video-grid,
  .photo-grid,
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }

  .contact-form input,
  .contact-form textarea {
    width: 100%;
    font-size: 1.1rem;
  }

  .contact-form button {
    font-size: 1.1rem;
    padding: 0.75rem;
  }
}
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav ul {
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: absolute;
    top: 70px;
    right: 1rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
  }

  nav ul.show {
    display: flex;
  }
}

/* Texte und Design für Mobil-Startseite */
full-background {
  width: 100vw;
  height: auto;
  background-image: url('bilder/Z9F_9114.jpg'); /* dein Bild */
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5rem 1rem 3rem;
}

@media (max-width: 768px) {
  .full-background {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    background-color: #000; /* optional: dunkler Hintergrund hinterm Bild */
    flex-direction: column;
    padding: 2rem 1rem;
  }

  .hero-content {
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.1); /* Lesbarkeit */
    padding: 1rem;
    border-radius: 10px;
  }

  .hero-content h1 {
    font-size: 1.6rem;
  }

  .hero-content h2 {
    font-size: 1.3rem;
    color: #ffcc00;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
    margin-top: 0.5rem;
  }
}

/* Abschnitt unter dem Bild */
.startseite-grau {
  background-color: #eee;
  height: 100px; /* oder mehr */
}

.song-list {
  list-style: none;
  padding: 2rem;
  margin: 0 auto;
  max-width: 800px;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

.song-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #ccc;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: rgb(216, 9, 9);
  background: rgba(0,0,0,0.5);
  padding: 0.5rem 1rem;
  cursor: pointer;
  user-select: none;
  z-index: 1001;
}

.modal-nav.prev {
  left: 10px;
}

.modal-nav.next {
  right: 10px;
}

/*.modal-nav {
  color: rgb(212, 8, 8) !important;
  font-size: 2rem;
  background: yellow;
  z-index: 1001;
}*/

.menu-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem; /* weiter rechts platzieren */
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}