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

/* Basis-Setup----------------------------------------------------------*/
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f0e6d2;
}

/*Für Seiten mit Whitespace*/
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
}

main {
  flex: 1;
}

/*Basis für Inhalt------------------------------------------------------*/
a,
button {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: #1c1c1c;
  text-decoration: none;
}

section,
li {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #1c1c1c;
  text-decoration: none;
}

button {
  padding: 9px 25px;
  background-color: #f0e6d2;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease 0s;
  min-width: 114px;
}

button:hover {
  background-color: #908b80;

}

.read-more-btn {
  display: none;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  list-style: none;
  background-color: #FC2E20;
  top: 0px;
  z-index: 999;
}

/*Img Header*/
li img {
  height: 80px;
}

/*Externe Links*/
.link {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
}

.sponsorenf {
  height: 60px;
}

/*Header kleine Bildschirme---------------------------------------------*/
.nav_smaler {
  display: none;
  z-index: 500;
  list-style: none;
  background-color: #FC2E20;
  padding: 10px 10%;
  top: 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  /* gleichmäßiger Abstand */
  align-items: center;
  width: 100%;
}

.nav-left,
.nav-center,
.nav-right {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-left {
  justify-content: flex-start;
}

.nav-center {
  justify-content: center;
}

.nav-right {
  justify-content: flex-end;
}

/*Footer----------------------------------------------------------------*/
footer {
  display: column;
  justify-content: center;
  align-items: center;
  background-color: #FC2E20;
  margin-top: 10px;
}

.footer2 {
  display: none;
  text-align: center;
  padding: px;
  background-color: #FC2E20;
  font-size: 16px;
}

.footer2_smaler {
  justify-content: center;
  align-items: center;
  flex-direction: column;
  list-style: none;
  padding: 0;
  display: flex;
}

.footer2_smaler a,
.nav__smaler a {
  text-decoration: none;
}

.footer2_smaler li a {
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
}

.mitte {
  display: flex;
  justify-content: center;
  align-items: center;
}

/*Nav größere Bildschirme-----------------------------------------------*/
.nav__links {
  padding-left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav__links li {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 20px;
}

.nav__links li a,
.nav_smaler li a {
  text-decoration: none;
  transition: all 0.3s ease 0s;
}

.nav__links li a,
.nav_smaler a:hover {
  color: #1c1c1c;
  z-index: 1000;
}

.footer-bottom {
  padding-left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width:1100px) {
  header {
    padding: 1px;
  }

  .nav__links {
    display: none;
  }

  footer {
    display: none;
  }

  .nav_smaler {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
  }

  .footer2 {
    display: flex;
  }

  .footer2_smaler {
    flex-direction: column;
  }

  section,
  li {
    font-size: 14px;
  }

  .logo img {
    height: 50px !important;
  }

  .sponsorenf {
    height: 40px;
  }

  .news-content p {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    max-height: 8em;
  }

  .news-content.expanded p {
    -webkit-line-clamp: unset;
    max-height: 1000px;
  }

  .read-more-btn {
    display: block;
    margin-top: 10px;
    background: #FC2E20;
    color: #f0e6d2;
    border: none;
    padding: 8px 12px;
    border-radius: 5px;
    cursor: pointer;
  }

  body.no-scroll {
    overflow: hidden;
    height: 100vh;
  }

  section, p {
    font-size: 14px;
  }

  .link {
    font-size: 14px;
  }
}
body.no-scroll {
  overflow: hidden;
  touch-action: none;
  position: fixed;
  width: 100%;
}

section {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

/*Dropdown Menü---------------------------------------------------------*/
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: #1c1c1c;
  background-color: #f0e6d2;
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f0e6d2;
  min-width: 160px;
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
}

.dropdown-content a {
  float: none;
  color: #1c1c1c;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  background-color: #908b80;
}

.dropdown,
.dropbtn:hover {
  background-color: #908b80;
  border-radius: 50px;
  transition: all 0.3s ease 0s;
}

.show {
  display: block;
}

.dropdown-content a:focus {
  outline: none;
}

/*Bandkarte-------------------------------------------------------------*/
.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.band-card {
  font-family: "Montserrat", sans-serif;
  background-color: #1c1c1c;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #000;
  transition: transform 0.3s ease;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 350px;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  cursor: pointer;
}

/*Hover and Pointer*/
@media (hover: hover) and (pointer: fine) {
  .band-card:hover .card-inner {
    transform: rotateY(180deg);
  }
}

/* Touch-Geräte: Flip nur mit .active */
.band-card.active .card-inner {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 10px #000;
}

.card-front {
  background-color: #1c1c1c;
  color: #f0e6d2;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.card-front img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.card-front h2 {
  font-size: 1.5rem;
  padding: 15px;
  background: rgba(0, 0, 0, );
}

.card-back {
  height: 100%;
  background-color: #1c1c1c;
  color: #f0e6d2;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.card-back h3 {
  margin-bottom: 0; 
  margin-top: 0;
}

.card-back p {
  font-size: 15px;
  margin-left: 5px;
  margin-right: 5px;
}

/*Icons-----------------------------------------------------------------*/
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-icons a {
  color: #f0e6d2;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer2-icons{
  display:flex;
  justify-content: center;
  gap: 10px
}

.footer2-icons a{
  color: #1c1c1c;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.footer-icons a {
  color: #1c1c1c;
  font-size: 1.5rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #FC2E20;
  /* Oder passend zum Farbschema */
}

/*Bildergalerie---------------------------------------------------------*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 15px;
  max-width: 100vw;
  margin: 0 auto 30px auto;
  box-sizing: border-box;
}

.gallery-grid img {
  display: block;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  aspect-ratio: 3/2;
  object-fit: cover;
  height: auto;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

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

.lightbox-img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 10px;
}

.lightbox-controls {
  display: flex;
  justify-content: space-between;
  width: 100%;
  position: absolute;
  top: 46%;
  transform: translateY(-50%);
  padding: 0 30px;
}

.lightbox-controls button {
  background: none;
  border: none;
  color: #f0e6d2;
  font-size: 1.5rem;
  cursor: pointer;
  user-select: none;
}

.lightbox-close {
  position:unset;
  color: #f0e6d2;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

/*Pagination*/
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.pagination button {
  padding: 8px 14px;
  border: none;
  background-color: #1c1c1c;
  color: #f0e6d2;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
  min-width: 50px;
}

.pagination button.active {
  background-color:#FC2E20;
  color: #f0e6d2;
}

.pagination button:hover {
  background-color: #908b80;
}

/*News Startseite-------------------------------------------------------*/
.news-container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
  font-family: sans-serif;
  padding-left: 16px;
  padding-right: 16px;
}

.news-card {
  display: flex;
  background: #1c1c1c;
  color: #f0e6d2;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.news-date {
  background-color: #FC2E20;
  color: #f0e6d2;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: bold;
  min-width: 70px;
  justify-content: center;
}

.news-date .month {
  font-size: 17px;
  text-transform: uppercase;
}

.news-date .day {
  font-size: 32px;
}

.news-date .year {
  font-size: 14px;
}

.news-content {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  padding: 20px;
  flex: 1;
}

.news-content h3 {
  margin-top: 0;
}

.news-meta {
  background: #f0e6d2;
  padding: 8px 12px;
  margin: 12px 0;
  font-size: 14px;
  color: #1c1c1c;
  border-radius: 4px;
}

.news-meta i {
  margin-right: 8px;
}

.linknews {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  color: #f0e6d2;
}