.floating-icon {
  position: absolute;
  width: 60px; /* Standardgröße */
  height: auto;
  opacity: 0.7;
}
/* Position der Icons für große Bildschirme */
.icon-1 {
  top: 10%;
  left: 5%;
}
.icon-2 {
  top: 50%;
  left: 80%;
}
.icon-3 {
  top: 80%;
  left: 30%;
}
/* Anpassung für Tablets */
@media (max-width: 1024px) {
  .floating-icon {
    width: 50px; /* Kleiner */
  }
  .icon-1 {
    top: 8%;
    left: 10%;
  }
  .icon-2 {
    top: 55%;
    left: 75%;
  }
  .icon-3 {
    top: 85%;
    left: 25%;
  }
}
/* Anpassung für Smartphones */
@media (max-width: 768px) {
  .floating-icon {
    width: 40px; /* Noch kleiner */
  }
  .icon-1 {
    top: 5%;
    left: 15%;
  }
  .icon-2 {
    top: 60%;
    left: 70%;
  }
  .icon-3 {
    top: 90%;
    left: 20%;
  }
}
/* Anpassung für sehr kleine Bildschirme */
@media (max-width: 480px) {
  .floating-icon {
    width: 30px; /* Kleinste Variante */
  }
  .icon-1 {
    top: 3%;
    left: 20%;
  }
  .icon-2 {
    top: 65%;
    left: 65%;
  }
  .icon-3 {
    top: 95%;
    left: 15%;
  }
}
@media (max-width: 767px) {
  .page-title-extra-large h1 {
    font-size: 2.5rem;
    line-height: 2.5rem;
  }
}
/* Checkbox-Container mit Flexbox */
.checkbox-group {
  display: flex;
  flex-wrap: wrap; /* Ermöglicht das Umbrechen in die nächste Zeile */
  gap: 15px; /* Abstand zwischen Checkboxen */
}
/* Einzelne Checkbox + Label */
.checkbox-item {
  display: flex;
  align-items: center; /* Checkbox und Label vertikal ausrichten */
  gap: 10px; /* Abstand zwischen Checkbox und Label */
  white-space: nowrap; /* Verhindert Umbruch innerhalb von Checkbox-Item */
}
/* Checkbox */
.checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px; /* Einheitliche Checkbox-Größe */
  margin: 0; /* Kein zusätzlicher Abstand */
  display: inline-block;
  vertical-align: middle;
}
/* Checkbox, wenn angeklickt */
.checkbox-item input[type="checkbox"]:checked {
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.3);
}
/* Checkbox-Label */
.checkbox-item label {
  font-size: 14px; /* Standardtextgröße */
  color: #333; /* Dunkle Schriftfarbe */
  margin: 0;
}
/* Responsives Layout */
@media (max-width: 768px) {
  .checkbox-group {
    gap: 10px; /* Weniger Abstand auf kleinen Bildschirmen */
  }
  .checkbox-item {
    flex: 1 1 50%; /* Checkboxen nehmen die Hälfte der Breite ein */
  }
}
.member-row {
  position: relative;
  padding-bottom: 20px;
}
.member-row:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #dee2e6; /* Bootstrap Grau für Separator */
}
.foreground-image-home {
  position: absolute; /* Aus dem normalen Layout-Fluss entfernen */
  top: 50%; /* Position im Verhältnis zur Sektion */
  left: 75%;
  transform: translate(-50%, -50%); /* Bild zentrieren */
  max-width: 800px; /* Breite anpassen */
  height: auto;
  z-index: 1; /* Vor dem Hintergrund */
  pointer-events: none; /* Kein Einfluss auf Interaktionen */
  display: block; /* Sicherstellen, dass es korrekt angezeigt wird */
}
.foreground-image {
  position: absolute; /* Aus dem normalen Layout-Fluss entfernen */
  top: 60%; /* Position im Verhältnis zur Sektion */
  left: 75%;
  transform: translate(-50%, -50%); /* Bild zentrieren */
  max-width: 600px; /* Breite anpassen */
  height: auto;
  z-index: 1; /* Vor dem Hintergrund */
  pointer-events: none; /* Kein Einfluss auf Interaktionen */
  display: block; /* Sicherstellen, dass es korrekt angezeigt wird */
}
/* Bild auf mobilen Geräten ausblenden */
@media (max-width: 768px) {
  .foreground-image-home {
    display: none; /* Ausblenden */
  }
  .foreground-image {
    position: absolute; /* Aus dem normalen Layout-Fluss entfernen */
    top: 65%; /* Position im Verhältnis zur Sektion */
    left: 80%;
    transform: translate(-50%, -50%); /* Bild zentrieren */
    max-width: 150px; /* Breite anpassen */
    height: auto;
    z-index: 0; /* Vor dem Hintergrund */
    pointer-events: none; /* Kein Einfluss auf Interaktionen */
    display: block; /* Sicherstellen, dass es korrekt angezeigt wird */
  }
  .page-title-big-typography {
    max-height: 250px; /* Maximale Höhe festlegen */
    overflow: hidden; /* Verhindert, dass Inhalt darüber hinausgeht */
    padding: 20px 0; /* Weniger vertikales Padding */
  }
  .page-title-extra-large {
    font-size: 14px; /* Kleinere Schriftgröße für den gesamten Block */
  }
  .page-title-extra-large h1 {
    font-size: 24px; /* Hauptüberschrift anpassen */
    line-height: 1.2; /* Weniger Zeilenabstand */
  }
  .page-title-extra-large h2 {
    font-size: 16px; /* Kleinere Unterüberschrift */
    margin-bottom: 10px; /* Weniger Abstand unten */
  }
}
/* List style 04 */
.list-style-04 {
  padding-left: 30px;
}
.list-style-04 li {
  margin: 0 0 10px 20px;
  list-style: disc;
}
/* bg color */
.bg-gradient-corduroy-red-dark-goldenrod {
    background-image: linear-gradient(to right, #000000, #330c0d, #591517, #801d21, #a6262a);
}
.bg-gradient-corduroy-red-dark-goldenrod-dark {
    background: rgb(0,0,0);
    background: linear-gradient(34deg, rgba(51,12,13,1) 0%, rgba(89,21,23,1) 50%, rgba(128,29,33,1) 100%);
}
.bg-gradient-corduroy-red-dark-goldenrod-transparent {
    background-image: linear-gradient(to top right, rgba(51,12,13,.8), rgba(89,21,23,.7), rgba(128,29,33,.8), rgba(166, 38, 42,.8), rgb(204, 47, 53));
}
.btn-gradient-dark-goldenrod-red {
    background-image: linear-gradient(to right, #330c0d, #a6262a, #330c0d);
    background-size: 200% auto;
    color: var(--white);
}
/* border color */
.border-color-dark-golden-red {
    border-color: #330c0d !important;
}
.bg-racing-red {
    background-color: #330c0d;
}
.text-dark-golden-red {
    color: #330c0d;
}
.bg-extra-medium-custom-red {
  background-color: #330c0d;
}
.pricing-table-style-04 .accordion-item.active-accordion {
  padding: 30px 40px;
  background-color: var(--dark-gray) !important;
  color: var(--white) !important;
}
.text-box {
    hyphens: auto;            /* automatische Silbentrennung */
    overflow-wrap: break-word; /* bricht, falls nötig */
    word-break: break-word;    /* Fallback */
}
/* bg transparent */
.bg-transparent {
    background-color: transparent !important;
}
/* List style 06 */
.list-style-06 {
  padding-left: 16px;
}
.list-style-06 li {
  margin: 0 0 10px;
  list-style: disc;
}

/* Training Schedule Swiper Navigation */
.training-schedule-swiper,
.training-schedule-mobile-swiper {
  position: relative;
}

/* Mobile Swiper - Volle Breite wie andere Sektionen */
.training-schedule-mobile-swiper {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.training-schedule-mobile-swiper .swiper-wrapper {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.training-schedule-mobile-swiper .swiper-slide {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile Accordion Container - Volle Breite */
.d-block.d-md-none.position-relative {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Mobile Accordion - Volle Breite */
.training-schedule-mobile-swiper .accordion {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.training-schedule-next,
.training-schedule-prev,
.training-schedule-mobile-next,
.training-schedule-mobile-prev {
  color: var(--dark-gray) !important;
  background-color: rgba(255, 255, 255, 0.9) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease !important;
}

.training-schedule-next:hover,
.training-schedule-prev:hover,
.training-schedule-mobile-next:hover,
.training-schedule-mobile-prev:hover {
  background-color: var(--dark-gray) !important;
  color: white !important;
}

.training-schedule-next::after,
.training-schedule-prev::after,
.training-schedule-mobile-next::after,
.training-schedule-mobile-prev::after {
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* Desktop Pagination - Abstand anpassen mit bottom (Abstand vom Content) und padding-bottom im Container */
.training-schedule-pagination {
  position: absolute !important;
  bottom: -30px !important; /* Abstand NACH den Punkten (negativ = unter dem Content) - HIER ANPASSEN */
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 0 !important; /* Abstand VOR den Punkten - HIER ANPASSEN */
  padding-top: 0 !important; /* Zusätzlicher Abstand oben - HIER ANPASSEN */
  margin-bottom: 50px !important; /* Abstand NACH den Punkten - HIER ANPASSEN */
  padding-bottom: 0 !important; /* Zusätzlicher Abstand unten - HIER ANPASSEN */
  text-align: center !important;
  z-index: 10 !important;
}

/* Mobile Pagination - Abstand anpassen mit bottom (Abstand vom Accordion) und padding-bottom im Container */
.training-schedule-mobile-pagination {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin-top: 20px !important; /* Abstand VOR den Punkten - HIER ANPASSEN */
  padding-top: 0 !important; /* Zusätzlicher Abstand oben - HIER ANPASSEN */
  margin-bottom: 20px !important;
  padding-bottom: 0 !important;
  text-align: center !important;
  z-index: 10 !important;
}

/* Desktop Container - padding-bottom bestimmt den Abstand NACH den Punkten */
.d-none.d-md-flex.position-relative {
  padding-bottom: 60px !important; /* Abstand NACH den Pagination-Punkten - HIER ANPASSEN */
}

/* Mobile Container - padding-bottom bestimmt den Abstand NACH den Punkten */
.d-block.d-md-none.position-relative {
  padding-bottom: 60px !important; /* Abstand NACH den Pagination-Punkten - HIER ANPASSEN */
}

.training-schedule-pagination .swiper-pagination-bullet,
.training-schedule-mobile-pagination .swiper-pagination-bullet {
  background-color: var(--dark-gray) !important;
  opacity: 0.3 !important;
  width: 10px !important;
  height: 10px !important;
  margin: 0 5px !important;
}

.training-schedule-pagination .swiper-pagination-bullet-active,
.training-schedule-mobile-pagination .swiper-pagination-bullet-active {
  opacity: 1 !important;
  background-color: var(--dark-gray) !important;
}

/* Event Button - Verhindert Umbruch von "Details" */
.event-button .btn.btn-link.btn-hover-animation-switch {
  white-space: nowrap !important;
  min-width: fit-content !important;
  flex-shrink: 0 !important;
}

.event-button .btn.btn-link.btn-hover-animation-switch > span {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.event-button .btn.btn-link.btn-hover-animation-switch .btn-text {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Gallery Thumbnails - Einheitliches Querformat (800x533 = 3:2) - Desktop & Mobile */
.gallery-box .gallery-image {
  position: relative;
  width: 100% !important;
  aspect-ratio: 3 / 2 !important; /* 800:533 entspricht etwa 3:2 */
  overflow: hidden;
}

.gallery-box .gallery-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Bild füllt den Container aus, behält Seitenverhältnis */
  object-position: center !important; /* Bild wird zentriert */
}

/* Mobile: Sicherstellen, dass Aspect-Ratio auch auf kleinen Bildschirmen gilt */
@media (max-width: 991px) {
  .gallery-box .gallery-image {
    aspect-ratio: 3 / 2 !important;
    min-height: 0 !important; /* Verhindert, dass min-height das Aspect-Ratio überschreibt */
  }
  
  .gallery-box .gallery-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}