/* Allgemeine Styles */
.tour-name {
  width: 90%;
  height: auto;
  background-color: #4493e9;
  padding: 10px 10px 10px 20px;
  border-radius: 30px;
  margin-left: 10px;
  color: white;
}

.tour-übersicht-überschrift {
  width: 100%;
  height: auto;
  background-color: #4493e9;
  padding: 10px 10px 10px 20px;
  border-radius: 30px;
  color: white;
}

.tour-inhalt {
  width: 100%;
  height: auto;
  margin-top: 30px;
  margin-bottom: 20px;
  display: flex;
  padding: 10px;
}

.tour-inhalt-text {
  width: 50%;
}

.tour-inhalt-text-beschreibung {
  background-color: #BFD0E1;
  border-radius: 30px;
  width: 90%;
  height: 100%;
  padding: 20px;
  border-width: 5px;
  box-shadow: 0px 0px 10px gray;
}

.slidshow-bilder-daten {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-slideshow {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  border-width: 5px;
  box-shadow: 0px 0px 10px gray;
}

.slide {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  opacity: 0;
  transition: opacity 3s;
}

.slide-bild {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-text h3 {
  font-size: clamp(0.8rem, 2.5vw, 1.4rem);
  margin: 0;
  line-height: 1.2;
}

.slide-text {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 10px;
  top: 80%;
  border-radius: 30px;
  background-color: rgba(128, 127, 131, 0.6);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.text-daten {
  width: 100%;
  gap: 10px;
  background-color: #BFD0E1;
  border-radius: 30px;
  height: auto;
  padding: 30px;
  align-items: end;
  margin-top: 20px;
  font-size: 14px;
  position: relative;
  border-width: 5px;
  box-shadow: 0px 0px 10px gray;
}

.Übersicht-Touren-kurz {
  width: 95%;
  background-color: #BFD0E1;
  border-radius: 30px;
  height: auto;
  padding: 30px;
  align-items: end;
  margin-bottom: 20px;
  font-size: 14px;
  position: relative;
  border-width: 5px;
  box-shadow: 0px 0px 10px gray;
}

.karten-bild {
  position: absolute;
  right: 10px;
  top:10px ;
  height: 200px;
}

.lupe {
  position: absolute;
  right: 50px;
  font-size: 30px;
}

.pfeil {
  position: absolute;
  top: 0;
  bottom: 0;
  font-size: 50px;
  display: flex;
  width: 15%;
  color: rgba(255, 255, 255, 0.5);
  user-select: none;
  cursor: pointer;
}

.pfeil:hover {
  color: black;
}

.pfeil-links {
  left: 0;
  justify-content: center;
  align-items: center;
}

.pfeil-rechts {
  right: 0;
  justify-content: center;
  align-items: center;
}

.indikatorenliste {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  list-style-type: none;
  font-size: 40px;
  display: flex;
  justify-content: center;
  padding: 0;
  margin-top: 0;
}

.indikator {
  padding: 0 10px;
  user-select: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 2s;
  color: white;
}

.active {
  opacity: 1;
  color: red;
}

.indikator:hover {
  color: black;
  transition: transform 0.3s ease;
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.overlay-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.overlay-inhalt {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  display: block;
  background-color: rgb(151, 202, 238);
}

.schliessen2 {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  color: white;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 4px 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.tour-nav {
  display: flex;
  width: 95%;
  margin: 0 auto;
  justify-content: center;
}

.tour-nav ul {
  display: flex;
  gap: clamp(10px, 4vw, 30px);
  justify-content: center;
  padding: 20px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
}

.tour-nav li {
  cursor: pointer;
}

.tour-alles {
  display: flex;
  flex-direction: row;
  margin: 20px 0;
  width: 100%;
}

.tour-alles-links,
.tour-alles-rechts {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tour-alles-rechts {
  align-items: center;
  padding-top: 20px;
}

.tour-alles-rechts-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  background-color: #BFD0E1;
  border-radius: 30px;
  padding: 30px;
  width: 95%;
  box-sizing: border-box;
  box-shadow: 0px 0px 10px gray;
}

.tour-alles-links,
.tour-alles-rechts {
  width: 100%;
  padding: 10px;
  box-sizing: border-box;
  align-items: center;
  text-align: center;
}

.list-daten {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-right: 60px;
}

.Hinweis {
  text-align: end;
  margin-top: 20px;
}

/* Sortierte Media Queries */
@media (max-width: 980px) {
  .tour-alles {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
  }
  .karten-bild {
    height: 200px;
    top: 5px;
    right: 5px;
  }
  .lupe {
    top: 80px;
    right: 55px;
  }
}

@media (max-width: 960px) {
  .schliessen2 {
    font-size: 24px;
    top: 6px;
    right: 6px;
  }
}

@media screen and (max-width: 800px) {
  .tour-inhalt {
    flex-direction: column;
    margin-top: 15px;
  }
  .slidshow-bilder-daten {
    order: 2;
    width: 100%;
    margin-top: 20px;
    padding: 0;
  }
  .tour-inhalt-text {
    order: 1;
    width: 100%;
  }
  .tour-inhalt-text-beschreibung {
    width: 100%;
  }
  .text-daten {
    order: 3;
    margin-top: 0;
  }
  .karten-bild {
    height: 200px;
    top: 10px;
  }
  .lupe {
    top: 90px;
    right: 55px;
  }
}

@media (max-width: 600px) {
  .tour-alles {
    flex-direction: column;
    align-items: center;
    display: flex;
    flex-direction: column-reverse;
  }
  .karten-bild {
    height: 150px;
    top: 5px;
    right: 5px;
  }
  .lupe {
    top: 60px;
    right: 40px;
    
  }
}

@media (max-width: 500px) {
  .schliessen2 {
    font-size: 24px;
    top: 6px;
    right: 6px;
  }
  .karten-bild {
    height: 150px;
    top: 10px;
  }
  .lupe {
    top: 60px;
  }
}
