/* style.css */

/* Grundlegende Einstellungen */
* {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
}
body {
  padding-top: 0; /* Falls später ein fixierter Header verwendet wird */
}

/* Überschriften */
h1, h2, h3, h4, h5, h6 {
  font-family: 'BrushScriptBT', cursive;
  font-weight: normal;
}
h1 {
  font-size: 3rem;
}
h2, h3, h4, h5, h6 {
  font-size: 2.5rem;
}

/* Font-Face für BrushScriptBT */
@font-face {
  font-family: 'BrushScriptBT';
  src: url('BrushScriptBT.woff2') format('woff2'),
       url('BrushScriptBT.woff') format('woff'),
       url('BrushScriptBT.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Fließtext */
p {
  font-size: 1.3rem;
}

/* Fixierter Header mit Burger-Menü */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  margin: 0;
  background-color: #ffdd9d;
  padding: 10px 0;
}
.header-placeholder {
  height: 0;
}
.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Menücontainer und Burger-Menü */
.menu-container {
  position: relative;
  z-index: 1100;
  margin-left: auto;
}
#menu-toggle {
  display: none;
}
.burger-menu {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}
.burger-menu span {
  display: block;
  height: 4px;
  background: #333;
  border-radius: 2px;
}

/* Navigation (als Overlay) */
.nav-menu {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100%;
  background: #ffdd9d;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  padding-top: 60px;
}
.nav-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.nav-menu li {
  margin: 20px 0;
}
.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 18px;
}
#menu-toggle:checked ~ .nav-menu {
  right: 0;
}

/* Slideshow */
.slideshow {
  position: relative;
  width: 100%;
  height: 400px;
  margin-top: 0;
  overflow: hidden;
}
.slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.slideshow .slide.active {
  opacity: 1;
}
.slideshow img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transform: scale(1.1);
  transition: transform 5s ease;
}
.slideshow .slide.active img {
  transform: scale(1);
}

/* Hauptinhalt und Sektionen */
main { }
.section {
  padding: 60px 20px;
  text-align: center;
}
.section-odd {
  background-color: #ffdd9d;
}
.section-even {
  background-color: #f5f1e0;
}

/* Overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  z-index: 900;
}

/* Kontaktliste */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}
.contact-list li {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.contact-list li .icon {
  margin-right: 10px;
}

/* Ensemble-Bereich */
#ensemble {
  text-align: center;
}
#ensemble h1 {
  margin-bottom: 2rem;
}
.ensemble-member {
  display: flex;
  align-items: center;
  flex-direction: row;
  max-width: 900px;
  margin: 2rem auto;
  text-align: left;
}
.ensemble-member.reverse {
  flex-direction: row-reverse;
}
.ensemble-img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  margin: 0 1.5rem;
}
.member-info {
  flex: 1;
}
#ensemble .member-info h2 {
  font-size: 2rem;
}
#startseite p,
#ensemble p {
  line-height: 1.5;
}

/* Termine-Bereich */
#termine .concert-list {
  margin: 0;
  padding: 0;
}
#termine .concert-item {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-bottom: 1px solid #ddd;
}
#termine .concert-item:last-child {
  border-bottom: none;
}
#termine .concert-item h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  font-family: 'Open Sans', sans-serif;
}
#termine .concert-item p {
  margin: 0.2rem 0;
  line-height: 1.2;
}
#termine h1 {
  margin-bottom: 0.5rem;
}

/* Datenschutzerklärung */
#datenschutz p,
#datenschutz li,
#datenschutz a {
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
}

/* Konzertliste */
.concert-list {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.concert-item {
  margin: 1rem 0;
}
.mobile-break {
  display: none;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
  .slideshow {
    height: 250px;
  }
  .burger-menu {
    width: 30px;
    height: 25px;
  }
  .nav-menu {
    width: 200px;
	font-size: 40px;
  }
  h1 {
    font-size: 2.5rem;
  }
  h2, h3, h4, h5, h6 {
    font-size: 2rem;
  }
  .slideshow img {
    object-position: center;
  }
  .ensemble-member {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2rem;
  }
  .ensemble-member.reverse {
    flex-direction: column !important;
  }
  .ensemble-img {
    width: 150px;
    height: 150px;
    margin: 0 auto 1rem auto;
  }
  .member-info {
    max-width: 90%;
  }
  .header-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  .mobile-break {
  display: inline;
  }
}

/* Galerie-Grundlayout mit CSS Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 0 10px;
}
.gallery-item img {
  display: block;
  width: 100%;
  height: auto;
}

/* Galerie-Button */
.gallery-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #ffdd9d;
  color: #333;
  text-decoration: none;
  font-size: 1.2rem;
  border: 2px solid #333;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: 20px;
}
.gallery-button:hover {
  background-color: #333;
  color: #ffdd9d;
}
