.category-reisen {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 4px;
}

#tour_counter,
h3 {
  font-weight: bold;
}

.category-card {
  text-align: center;
  background: white;
  padding: 5px;
  border-radius: 10px;
  transition: transform 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 6px;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 10px;
}

.category-link {
  text-decoration: none;
  display: block;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  transition: 0.3s;
}

.category-link.active {
  color: white;
  background: darkred;
}

.tour-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  padding: 10px;
  transition: transform 0.3s;
}

.tour-card:hover {
  transform: translateY(-5px);
}

.content-box {
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px !important;
  background-color: #f9f9f9;
  margin-top: 20px !important;
}

.image-section img {
  width: 100%;
  /* Ensures the image fills the entire div */
  height: auto;
  border-radius: 5px;
  display: block;
  /* Removes extra spacing below the image */
}

.text-section {
  padding-left: 15px;
}

.title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.toggle-icon {
  position: absolute;
  bottom: 50px;
  left: 10px;
  background: rgba(255, 255, 255, 0.8);
  padding: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.toggle-icon:hover {
  background: rgba(255, 255, 255, 1);
}

/* katalog */
.katalog-wrap {
  width: 100%;
  max-width: 485px;
  height: 200px;
  margin: 0 auto;
  object-fit: contain;
}

/* fotoname */
.content-box .card .stour-credit {
  position: absolute;
  width: 138px;
  bottom: 60%;
  left: -60px;
  background: #87878708;
  color: #808080;
  padding: 4px 7px;
  border-radius: 6px;
  text-transform: capitalize;
  text-align: center;
  transform: rotate(270deg);
  font-size: 8px;
}

.content-box .termine thead tr th,
.content-box .termine tbody tr td:last-child {
  white-space: nowrap;
}

@media (max-width: 576px) {
  .video iframe {
    width: 300px;
    height: 180px;
    /* Adjust height proportionally */
  }

  .category-reisen {
    flex-direction: column;
  }
  .category-icon {
    width: 35%;
    height: 100%;
  }

  .content-box .card .stour-credit {
    font-size: 6px;
  }

  .reise-wrap {
    flex-direction: column;
  }

  .content-box .termine td {
    padding: 18px 8px;
    white-space: nowrap;
    text-align: center;
    font-size: 11px;
  }
}
