/**
 * ContentBlocks Carousel Debug CSS
 * Spezifische Styles für Carousel Debug-Elemente
 */

/* 🎠 Carousel Debug Icon */
[data-cb-debug-type="carousel"] .cb-debug-icon {
    top: 8px;
    right: 8px;
    background: #ffc107; /* Yellow */
}

[data-cb-debug-type="carousel-item"] .cb-debug-icon {
    top: 8px;
    left: 8px;
    background: #ffc107; /* Yellow */
}

.cb-debug-icon[data-image-icon] {
    top: 40px; /* Position below carousel-item icon */
    right: 8px; /* Position on the right */
    background: #ffc107; /* Yellow */
    color: #212529; /* Dark text for yellow background */
}

/* 🎠 Carousel Debug Modal */
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-modal-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-modal-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-modal-header h4 {
    color: white;
    margin: 0;
    font-weight: 600;
}

/* 🎠 Carousel Debug Sections - Ultra-Kompakt */
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-section {
    border-left: 3px solid #ffc107 !important;
    padding-left: 6px !important;
    margin-bottom: 6px !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-section {
    border-left: 3px solid #ffc107 !important;
    padding-left: 6px !important;
    margin-bottom: 6px !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-section {
    border-left: 3px solid #ffc107 !important;
    padding-left: 6px !important;
    margin-bottom: 6px !important;
}

.cb-debug-modal[data-debug-type="carousel"] .cb-debug-section h5 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-section h5 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-section h5 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
}

/* 🎠 Carousel Debug Header */
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-header h4 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-header h4 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-header h4 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 4px !important;
}

/* 🎠 Carousel Debug Fields */
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-field {
    margin-bottom: 4px !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-field {
    margin-bottom: 4px !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-field {
    margin-bottom: 4px !important;
}

.cb-debug-modal[data-debug-type="carousel"] .cb-debug-field label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-field label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-field label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
}

/* 🎠 Carousel Debug Input/Select Focus */
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-field input:focus,
.cb-debug-modal[data-debug-type="carousel"] .cb-debug-field select:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25) !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-field input:focus,
.cb-debug-modal[data-debug-type="carousel-item"] .cb-debug-field select:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25) !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-field input:focus,
.cb-debug-modal[data-debug-type="carousel-image"] .cb-debug-field select:focus {
    border-color: #ffc107 !important;
    box-shadow: 0 0 0 2px rgba(255, 193, 7, 0.25) !important;
}

/* 🎠 Carousel Debug Button */
.cb-debug-modal[data-debug-type="carousel"] .btn-warning {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .btn-warning {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .btn-warning {
    background: #ffc107 !important;
    border-color: #ffc107 !important;
    color: #212529 !important;
}

.cb-debug-modal[data-debug-type="carousel"] .btn-warning:hover {
    background: #e0a800 !important;
    border-color: #d39e00 !important;
}

.cb-debug-modal[data-debug-type="carousel-item"] .btn-warning:hover {
    background: #e0a800 !important;
    border-color: #d39e00 !important;
}

.cb-debug-modal[data-debug-type="carousel-image"] .btn-warning:hover {
    background: #e0a800 !important;
    border-color: #d39e00 !important;
}

/* 🎠 Carousel Debug Modal Animation */
.cb-debug-modal[data-debug-type="carousel"] {
    animation: slideInFromRight 0.3s ease-out;
}

.cb-debug-modal[data-debug-type="carousel-item"] {
    animation: slideInFromRight 0.3s ease-out;
}

.cb-debug-modal[data-debug-type="carousel-image"] {
    animation: slideInFromRight 0.3s ease-out;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Ensure parent elements have position: relative for absolute icons */
.carousel {
    position: relative;
}

.carousel-item {
    position: relative;
}

/* Carousel-spezifische Debug-Styles */
.cb-debug-carousel-stats {
    background: #d4edda; /* Light green background for carousel stats */
    border-left-color: #28a745; /* Green left border */
}

.cb-debug-carousel-item-stats {
    background: #d1ecf1; /* Light blue background for item stats */
    border-left-color: #17a2b8; /* Blue left border */
}

.cb-debug-carousel-image-stats {
    background: #fff3cd; /* Light yellow background for image stats */
    border-left-color: #ffc107; /* Yellow left border */
}

/* Carousel Debug Grid - 3 Spalten für bessere Übersicht */
.cb-debug-carousel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin-top: 8px;
}

/* Responsive Grid für kleinere Bildschirme */
@media (max-width: 768px) {
    .cb-debug-carousel-grid {
        grid-template-columns: 1fr;
    }
}

/* Carousel-spezifische Button-Styles */
.cb-debug-carousel-reset {
    background: #dc3545 !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    padding: 8px 12px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.cb-debug-carousel-reset:hover {
    background: #c82333 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
}

/* Carousel-spezifische Input-Styles */
.cb-debug-carousel-input {
    font-size: 11px !important;
    padding: 6px 8px !important;
}

.cb-debug-carousel-select {
    font-size: 11px !important;
    padding: 6px 8px !important;
}

/* Carousel-spezifische Label-Styles */
.cb-debug-carousel-label {
    font-weight: 600 !important;
    color: #495057 !important;
    font-size: 12px !important;
}

/* Carousel-spezifische Stats-Styles */
.cb-debug-carousel-stats {
    font-family: 'Courier New', monospace !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    color: #495057 !important;
}

/* Carousel-spezifische Icon-Styles */
.cb-debug-carousel-icon {
    font-size: 12px !important;
    width: 26px !important;
    height: 26px !important;
}

/* Carousel-spezifische Hover-Effekte */
.cb-debug-carousel-icon:hover {
    transform: scale(1.15) !important;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4) !important;
}

/* Carousel-spezifische Animationen */
.cb-debug-carousel-icon {
    animation: cb-debug-carousel-icon-pulse 2s infinite;
}

@keyframes cb-debug-carousel-icon-pulse {
    0% {
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    }
    50% {
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.6);
    }
    100% {
        box-shadow: 0 2px 6px rgba(0, 123, 255, 0.3);
    }
}

/* Carousel-spezifische Modal-Anpassungen */
.cb-debug-carousel-modal {
    min-width: 500px !important;
    max-width: 700px !important;
}

/* Carousel-spezifische Grid-Anpassungen */
.cb-debug-carousel-field {
    margin-bottom: 8px !important;
}

.cb-debug-carousel-field label {
    margin-bottom: 6px !important;
}

/* Carousel-spezifische Checkbox-Styles */
.cb-debug-carousel-checkbox {
    width: 16px !important;
    height: 16px !important;
    margin-right: 8px !important;
}

/* Carousel-spezifische Select-Styles */
.cb-debug-carousel-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
    background-size: 16px 12px !important;
    padding-right: 32px !important;
}

/* Carousel-spezifische Text-Input-Styles */
.cb-debug-carousel-text-input {
    font-family: 'Courier New', monospace !important;
    font-size: 10px !important;
    background-color: #f8f9fa !important;
}

/* Carousel-spezifische Readonly-Input-Styles */
.cb-debug-carousel-readonly {
    background-color: #e9ecef !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

/* Carousel-spezifische Focus-Styles */
.cb-debug-carousel-field input:focus,
.cb-debug-carousel-field select:focus {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.25) !important;
}

/* Carousel-spezifische Hover-Styles */
.cb-debug-carousel-field:hover {
    background-color: #f8f9fa !important;
    border-radius: 4px !important;
    transition: background-color 0.2s !important;
}

/* =================================
   CAROUSEL NAVIGATION & INDICATORS STYLES
   ================================= */

/* Indikator-Styles */
.carousel.indicators-lines .carousel-indicators button {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    margin: 0 3px;
}

.carousel.indicators-squares .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 2px;
    margin: 0 4px;
}

.carousel.indicators-numbers .carousel-indicators button {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
    margin: 0 3px;
}

.carousel.indicators-numbers .carousel-indicators button.active {
    background: #fff;
    color: #000;
}

.carousel.indicators-thumbs .carousel-indicators {
    position: static;
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.carousel.indicators-thumbs .carousel-indicators button {
    width: 60px;
    height: 40px;
    border-radius: 4px;
    background-size: cover;
    background-position: center;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.carousel.indicators-thumbs .carousel-indicators button.active {
    opacity: 1;
    border-color: #fff;
    transform: scale(1.1);
}

/* Control-Styles */
.carousel.controls-chevrons .carousel-control-prev-icon,
.carousel.controls-chevrons .carousel-control-next-icon {
    background-image: none;
    width: 20px;
    height: 20px;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.carousel.controls-chevrons .carousel-control-prev-icon {
    transform: rotate(135deg);
}

.carousel.controls-chevrons .carousel-control-next-icon {
    transform: rotate(-45deg);
}

.carousel.controls-circles .carousel-control-prev,
.carousel.controls-circles .carousel-control-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-circles .carousel-control-prev {
    left: 20px;
}

.carousel.controls-circles .carousel-control-next {
    right: 20px;
}

.carousel.controls-squares .carousel-control-prev,
.carousel.controls-squares .carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-squares .carousel-control-prev {
    left: 20px;
}

.carousel.controls-squares .carousel-control-next {
    right: 20px;
}

.carousel.controls-text .carousel-control-prev-icon,
.carousel.controls-text .carousel-control-next-icon {
    background-image: none;
    width: auto;
    height: auto;
    font-size: 14px;
    font-weight: bold;
    color: #fff;
}

.carousel.controls-text .carousel-control-prev-icon::before {
    content: "‹ Prev";
}

.carousel.controls-text .carousel-control-next-icon::before {
    content: "Next ›";
}

/* =================================
   CAROUSEL CAPTION STYLING
   ================================= */

/* Caption Position */
.carousel.caption-top .carousel-caption {
    top: 20px;
    bottom: auto;
}

.carousel.caption-center .carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.carousel.caption-overlay .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

/* Caption Background */
.carousel.caption-bg-dark .carousel-caption {
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
}

.carousel.caption-bg-light .carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
}

.carousel.caption-bg-primary .carousel-caption {
    background: rgba(13, 110, 253, 0.8);
    color: #fff;
}

.carousel.caption-bg-gradient .carousel-caption {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(111, 66, 193, 0.8));
    color: #fff;
}

/* Caption Rounded */
.carousel.caption-rounded-sm .carousel-caption {
    border-radius: 4px;
}

.carousel.caption-rounded-md .carousel-caption {
    border-radius: 8px;
}

.carousel.caption-rounded-lg .carousel-caption {
    border-radius: 12px;
}

.carousel.caption-rounded-xl .carousel-caption {
    border-radius: 16px;
}

/* Caption Shadow */
.carousel.caption-shadow-sm .carousel-caption {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.carousel.caption-shadow-md .carousel-caption {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.carousel.caption-shadow-lg .carousel-caption {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.carousel.caption-shadow-xl .carousel-caption {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

/* Caption Border */
.carousel.caption-border-thin .carousel-caption {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.carousel.caption-border-medium .carousel-caption {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.carousel.caption-border-thick .carousel-caption {
    border: 3px solid rgba(255, 255, 255, 0.7);
}

/* Caption Opacity */
.carousel.caption-opacity-90 .carousel-caption {
    opacity: 0.9;
}

.carousel.caption-opacity-80 .carousel-caption {
    opacity: 0.8;
}

.carousel.caption-opacity-70 .carousel-caption {
    opacity: 0.7;
}

.carousel.caption-opacity-60 .carousel-caption {
    opacity: 0.6;
}

/* =================================
   CAROUSEL IMAGE ALIGNMENT
   ================================= */

/* Carousel-Inner muss die gleiche Höhe wie das Carousel haben */
.carousel-inner {
    height: 100% !important;
}

/* Carousel-Item muss die volle Höhe haben */
.carousel-item {
    height: 100% !important;
}

/* Bild-Ausrichtung pro Carousel-Item */
.carousel-item.image-align-top img {
    object-position: top center !important;
}

.carousel-item.image-align-center img {
    object-position: center center !important;
}

.carousel-item.image-align-bottom img {
    object-position: bottom center !important;
}

.carousel-item.image-align-left img {
    object-position: left center !important;
}

.carousel-item.image-align-right img {
    object-position: right center !important;
}

/* =================================
   CAROUSEL IMAGE EFFECTS STYLES
   ================================= */

/* Bild-Filter */
.carousel-item img.filter-grayscale {
    filter: grayscale(100%);
}

.carousel-item img.filter-sepia {
    filter: sepia(100%);
}

.carousel-item img.filter-blur {
    filter: blur(2px);
}

.carousel-item img.filter-brightness {
    filter: brightness(1.2);
}

.carousel-item img.filter-contrast {
    filter: contrast(1.2);
}

.carousel-item img.filter-hue-rotate {
    filter: hue-rotate(90deg);
}

.carousel-item img.filter-saturate {
    filter: saturate(1.5);
}

.carousel-item img.filter-invert {
    filter: invert(100%);
}

.carousel-item img.filter-transparent {
    opacity: 0.7;
}

/* Hover-Effekte */
.carousel-item img.hover-zoom:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.carousel-item img.hover-fade:hover {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.carousel-item img.hover-slide:hover {
    transform: translateX(10px);
    transition: transform 0.3s ease;
}

.carousel-item img.hover-rotate:hover {
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.carousel-item img.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.carousel-item img.hover-flip:hover {
    transform: scaleX(-1);
    transition: transform 0.3s ease;
}

.carousel-item img.hover-glow:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
    transition: box-shadow 0.3s ease;
}

/* Animationen */
.carousel-item img.animate-pulse {
    animation: pulse 2s infinite;
}

.carousel-item img.animate-bounce {
    animation: bounce 1s infinite;
}

.carousel-item img.animate-spin {
    animation: spin 1s linear infinite;
}

.carousel-item img.animate-ping {
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.carousel-item img.animate-wiggle {
    animation: wiggle 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: none;
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(-3deg);
    }
    50% {
        transform: rotate(3deg);
    }
}

/* Bild-Rahmen Klassen */
.border-none {
    border: none !important;
}

.border-thin {
    border: 1px solid #dee2e6;
}

.border-medium {
    border: 3px solid #dee2e6;
}

.border-thick {
    border: 5px solid #dee2e6;
}

.border-rounded {
    border: 2px solid #dee2e6;
    border-radius: 8px !important;
}

/* Bild-Schatten Klassen */
.shadow-none {
    box-shadow: none !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow-md {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow-xl {
    box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2) !important;
}

/* Bild-Abrundung Klassen */
.rounded-none {
    border-radius: 0 !important;
}

.rounded-sm {
    border-radius: 0.25rem !important;
}

.rounded-md {
    border-radius: 0.5rem !important;
}

.rounded-lg {
    border-radius: 1rem !important;
}

.rounded-xl {
    border-radius: 1.5rem !important;
}

.rounded-full {
    border-radius: 50% !important;
}

/* Bild-Transparenz Klassen */
.opacity-10 {
    opacity: 0.1 !important;
}

.opacity-20 {
    opacity: 0.2 !important;
}

.opacity-30 {
    opacity: 0.3 !important;
}

.opacity-40 {
    opacity: 0.4 !important;
}

.opacity-50 {
    opacity: 0.5 !important;
}

.opacity-60 {
    opacity: 0.6 !important;
}

.opacity-70 {
    opacity: 0.7 !important;
}

.opacity-80 {
    opacity: 0.8 !important;
}

.opacity-90 {
    opacity: 0.9 !important;
}

.opacity-100 {
    opacity: 1 !important;
}

/* Animation-Dauer Klassen */
.animate-duration-fast {
    animation-duration: 0.5s !important;
}

.animate-duration-normal {
    animation-duration: 1s !important;
}

.animate-duration-slow {
    animation-duration: 2s !important;
}

.animate-duration-slower {
    animation-duration: 3s !important;
}

/* Animation-Verzögerung Klassen */
.animate-delay-none {
    animation-delay: 0s !important;
}

.animate-delay-short {
    animation-delay: 0.2s !important;
}

.animate-delay-medium {
    animation-delay: 0.5s !important;
}

.animate-delay-long {
    animation-delay: 1s !important;
}

.animate-delay-longer {
    animation-delay: 2s !important;
}

/* Animation-Wiederholung Klassen */
.animate-iteration-once {
    animation-iteration-count: 1 !important;
}

.animate-iteration-2x {
    animation-iteration-count: 2 !important;
}

.animate-iteration-3x {
    animation-iteration-count: 3 !important;
}

.animate-iteration-5x {
    animation-iteration-count: 5 !important;
}

.animate-iteration-infinite {
    animation-iteration-count: infinite !important;
}

/* Animation-Richtung Klassen */
.animate-direction-normal {
    animation-direction: normal !important;
}

.animate-direction-reverse {
    animation-direction: reverse !important;
}

.animate-direction-alternate {
    animation-direction: alternate !important;
}

.animate-direction-alternate-reverse {
    animation-direction: alternate-reverse !important;
}

/* Animation-Timing Klassen */
.animate-easing-ease {
    animation-timing-function: ease !important;
}

.animate-easing-ease-in {
    animation-timing-function: ease-in !important;
}

.animate-easing-ease-out {
    animation-timing-function: ease-out !important;
}

.animate-easing-ease-in-out {
    animation-timing-function: ease-in-out !important;
}

.animate-easing-linear {
    animation-timing-function: linear !important;
}

.animate-easing-cubic-bezier {
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Animation-Stärke Klassen */
.animate-strength-light {
    animation-duration: 0.3s !important;
    animation-timing-function: ease-out !important;
}

.animate-strength-medium {
    animation-duration: 0.6s !important;
    animation-timing-function: ease-in-out !important;
}

.animate-strength-strong {
    animation-duration: 1s !important;
    animation-timing-function: ease-in !important;
}

.animate-strength-extreme {
    animation-duration: 1.5s !important;
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55) !important;
}

/* Animation-Stärke für verschiedene Animationen */
.animate-strength-light.animate-pulse {
    animation-duration: 0.3s !important;
}

.animate-strength-medium.animate-pulse {
    animation-duration: 0.6s !important;
}

.animate-strength-strong.animate-pulse {
    animation-duration: 1s !important;
}

.animate-strength-extreme.animate-pulse {
    animation-duration: 1.5s !important;
}

.animate-strength-light.animate-bounce {
    animation-duration: 0.3s !important;
}

.animate-strength-medium.animate-bounce {
    animation-duration: 0.6s !important;
}

.animate-strength-strong.animate-bounce {
    animation-duration: 1s !important;
}

.animate-strength-extreme.animate-bounce {
    animation-duration: 1.5s !important;
}

.animate-strength-light.animate-spin {
    animation-duration: 0.3s !important;
}

.animate-strength-medium.animate-spin {
    animation-duration: 0.6s !important;
}

.animate-strength-strong.animate-spin {
    animation-duration: 1s !important;
}

.animate-strength-extreme.animate-spin {
    animation-duration: 1.5s !important;
}

/* Bild-Overlay Klassen */
.overlay-none {
    /* Kein Overlay */
}

/* Overlay-Container für carousel-image-wrapper */
.carousel-image-wrapper.overlay-dark,
.carousel-image-wrapper.overlay-light,
.carousel-image-wrapper.overlay-gradient,
.carousel-image-wrapper.overlay-blur,
.carousel-image-wrapper.overlay-vignette {
    position: relative !important;
}

.carousel-image-wrapper.overlay-dark::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 1;
}

.carousel-image-wrapper.overlay-light::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
    z-index: 1;
}

.carousel-image-wrapper.overlay-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(255, 255, 255, 0.1));
    pointer-events: none;
    z-index: 1;
}

.carousel-image-wrapper.overlay-blur::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(2px);
    pointer-events: none;
    z-index: 1;
}

.carousel-image-wrapper.overlay-vignette::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 1;
}

/* ========================================
   CAROUSEL HAUPT-SETTINGS CSS-KLASSEN
   ======================================== */

/* 🔘 Erweiterte Indikator-Styles */
.carousel.indicators-dots .carousel-indicators button {
    border-radius: 50%;
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

.carousel.indicators-dots-sm .carousel-indicators button {
    border-radius: 50%;
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.carousel.indicators-dots-lg .carousel-indicators button {
    border-radius: 50%;
    width: 16px;
    height: 16px;
    margin: 0 5px;
}

.carousel.indicators-dots-xl .carousel-indicators button {
    border-radius: 50%;
    width: 20px;
    height: 20px;
    margin: 0 6px;
}

.carousel.indicators-lines .carousel-indicators button {
    border-radius: 0;
    width: 30px;
    height: 4px;
    margin: 0 2px;
}

.carousel.indicators-lines-sm .carousel-indicators button {
    border-radius: 0;
    width: 20px;
    height: 3px;
    margin: 0 1px;
}

.carousel.indicators-lines-lg .carousel-indicators button {
    border-radius: 0;
    width: 40px;
    height: 6px;
    margin: 0 3px;
}

.carousel.indicators-squares .carousel-indicators button {
    border-radius: 0;
    width: 12px;
    height: 12px;
    margin: 0 4px;
}

.carousel.indicators-squares-sm .carousel-indicators button {
    border-radius: 0;
    width: 8px;
    height: 8px;
    margin: 0 3px;
}

.carousel.indicators-squares-lg .carousel-indicators button {
    border-radius: 0;
    width: 16px;
    height: 16px;
    margin: 0 5px;
}

.carousel.indicators-numbers .carousel-indicators button {
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 4px;
    font-size: 12px;
    font-weight: bold;
}

.carousel.indicators-numbers-sm .carousel-indicators button {
    border-radius: 50%;
    width: 18px;
    height: 18px;
    margin: 0 3px;
    font-size: 10px;
}

.carousel.indicators-numbers-lg .carousel-indicators button {
    border-radius: 50%;
    width: 30px;
    height: 30px;
    margin: 0 5px;
    font-size: 14px;
}

.carousel.indicators-thumbs .carousel-indicators button {
    border-radius: 4px;
    width: 40px;
    height: 30px;
    margin: 0 2px;
    background-size: cover;
    background-position: center;
}

.carousel.indicators-thumbs-sm .carousel-indicators button {
    border-radius: 3px;
    width: 30px;
    height: 20px;
    margin: 0 1px;
}

.carousel.indicators-thumbs-lg .carousel-indicators button {
    border-radius: 6px;
    width: 50px;
    height: 40px;
    margin: 0 3px;
}

/* 🧭 Erweiterte Control-Styles */
.carousel.controls-arrows .carousel-control-prev,
.carousel.controls-arrows .carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-arrows-sm .carousel-control-prev,
.carousel.controls-arrows-sm .carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-arrows-lg .carousel-control-prev,
.carousel.controls-arrows-lg .carousel-control-next {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-chevrons .carousel-control-prev::before,
.carousel.controls-chevrons .carousel-control-next::before {
    content: '‹';
    font-size: 24px;
    font-weight: bold;
}

.carousel.controls-chevrons-sm .carousel-control-prev::before,
.carousel.controls-chevrons-sm .carousel-control-next::before {
    content: '‹';
    font-size: 18px;
    font-weight: bold;
}

.carousel.controls-chevrons-lg .carousel-control-prev::before,
.carousel.controls-chevrons-lg .carousel-control-next::before {
    content: '‹';
    font-size: 32px;
    font-weight: bold;
}

.carousel.controls-chevrons .carousel-control-next::before,
.carousel.controls-chevrons-sm .carousel-control-next::before,
.carousel.controls-chevrons-lg .carousel-control-next::before {
    content: '›';
}

.carousel.controls-circles .carousel-control-prev,
.carousel.controls-circles .carousel-control-next {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-circles-sm .carousel-control-prev,
.carousel.controls-circles-sm .carousel-control-next {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-circles-lg .carousel-control-prev,
.carousel.controls-circles-lg .carousel-control-next {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-squares .carousel-control-prev,
.carousel.controls-squares .carousel-control-next {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-squares-sm .carousel-control-prev,
.carousel.controls-squares-sm .carousel-control-next {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    width: 30px;
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-squares-lg .carousel-control-prev,
.carousel.controls-squares-lg .carousel-control-next {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 0;
    width: 55px;
    height: 55px;
    top: 50%;
    transform: translateY(-50%);
}

.carousel.controls-text .carousel-control-prev::before,
.carousel.controls-text .carousel-control-next::before {
    content: 'Previous';
    font-size: 14px;
    font-weight: normal;
}

.carousel.controls-text-sm .carousel-control-prev::before,
.carousel.controls-text-sm .carousel-control-next::before {
    content: 'Prev';
    font-size: 12px;
    font-weight: normal;
}

.carousel.controls-text-lg .carousel-control-prev::before,
.carousel.controls-text-lg .carousel-control-next::before {
    content: 'Previous';
    font-size: 16px;
    font-weight: normal;
}

.carousel.controls-text .carousel-control-next::before,
.carousel.controls-text-sm .carousel-control-next::before,
.carousel.controls-text-lg .carousel-control-next::before {
    content: 'Next';
}

/* 📝 Erweiterte Caption-Positionen */
.carousel.caption-top .carousel-caption {
    top: 20px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
}

.carousel.caption-center .carousel-caption {
    top: 50%;
    bottom: auto;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carousel.caption-bottom .carousel-caption {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.carousel.caption-left .carousel-caption {
    top: 50%;
    left: 20px;
    right: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: left;
}

.carousel.caption-right .carousel-caption {
    top: 50%;
    right: 20px;
    left: auto;
    bottom: auto;
    transform: translateY(-50%);
    text-align: right;
}

.carousel.caption-overlay .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

/* 🎨 Caption-Hintergründe */
.carousel.caption-bg-transparent .carousel-caption {
    background: transparent;
}

.carousel.caption-bg-dark .carousel-caption {
    background: rgba(0, 0, 0, 0.8);
    color: white;
}

.carousel.caption-bg-light .carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
}

.carousel.caption-bg-primary .carousel-caption {
    background: rgba(13, 110, 253, 0.8);
    color: white;
}

.carousel.caption-bg-gradient .carousel-caption {
    background: linear-gradient(135deg, rgba(13, 110, 253, 0.8), rgba(111, 66, 193, 0.8));
    color: white;
}

/* ⭕ Caption-Rounded */
.carousel.caption-rounded-none .carousel-caption {
    border-radius: 0;
}

.carousel.caption-rounded-sm .carousel-caption {
    border-radius: 0.25rem;
}

.carousel.caption-rounded-md .carousel-caption {
    border-radius: 0.375rem;
}

.carousel.caption-rounded-lg .carousel-caption {
    border-radius: 0.5rem;
}

.carousel.caption-rounded-xl .carousel-caption {
    border-radius: 0.75rem;
}

.carousel.caption-rounded-2xl .carousel-caption {
    border-radius: 1rem;
}

.carousel.caption-rounded-3xl .carousel-caption {
    border-radius: 1.5rem;
}

.carousel.caption-rounded-full .carousel-caption {
    border-radius: 50%;
}

/* 🌟 Erweiterte Caption-Shadows */
.carousel.caption-shadow-none .carousel-caption {
    box-shadow: none;
}

.carousel.caption-shadow-sm .carousel-caption {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.carousel.caption-shadow .carousel-caption {
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.carousel.caption-shadow-md .carousel-caption {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.carousel.caption-shadow-lg .carousel-caption {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.carousel.caption-shadow-xl .carousel-caption {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.carousel.caption-shadow-2xl .carousel-caption {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.carousel.caption-shadow-inner .carousel-caption {
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
}

.carousel.caption-shadow-glow .carousel-caption {
    box-shadow: 0 0 20px rgba(13, 110, 253, 0.5);
}

.carousel.caption-shadow-glow-success .carousel-caption {
    box-shadow: 0 0 20px rgba(25, 135, 84, 0.5);
}

.carousel.caption-shadow-glow-danger .carousel-caption {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.5);
}

/* 🔲 Erweiterte Caption-Borders */
.carousel.caption-border-none .carousel-caption {
    border: none;
}

/* Stärke */
.carousel.caption-border-thin .carousel-caption {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel.caption-border-medium .carousel-caption {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel.caption-border-thick .carousel-caption {
    border: 3px solid rgba(255, 255, 255, 0.4);
}

.carousel.caption-border-extra .carousel-caption {
    border: 4px solid rgba(255, 255, 255, 0.5);
}

/* Farben */
.carousel.caption-border-white .carousel-caption {
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.carousel.caption-border-black .carousel-caption {
    border: 2px solid rgba(0, 0, 0, 0.8);
}

.carousel.caption-border-primary .carousel-caption {
    border: 2px solid rgba(13, 110, 253, 0.8);
}

.carousel.caption-border-secondary .carousel-caption {
    border: 2px solid rgba(108, 117, 125, 0.8);
}

.carousel.caption-border-success .carousel-caption {
    border: 2px solid rgba(25, 135, 84, 0.8);
}

.carousel.caption-border-danger .carousel-caption {
    border: 2px solid rgba(220, 53, 69, 0.8);
}

.carousel.caption-border-warning .carousel-caption {
    border: 2px solid rgba(255, 193, 7, 0.8);
}

.carousel.caption-border-info .carousel-caption {
    border: 2px solid rgba(13, 202, 240, 0.8);
}

.carousel.caption-border-light .carousel-caption {
    border: 2px solid rgba(248, 249, 250, 0.8);
}

.carousel.caption-border-dark .carousel-caption {
    border: 2px solid rgba(33, 37, 41, 0.8);
}

/* 🎨 Erweiterte Caption-Opacity */
.carousel.caption-opacity-100 .carousel-caption {
    opacity: 1;
}

.carousel.caption-opacity-95 .carousel-caption {
    opacity: 0.95;
}

.carousel.caption-opacity-90 .carousel-caption {
    opacity: 0.9;
}

.carousel.caption-opacity-85 .carousel-caption {
    opacity: 0.85;
}

.carousel.caption-opacity-80 .carousel-caption {
    opacity: 0.8;
}

.carousel.caption-opacity-75 .carousel-caption {
    opacity: 0.75;
}

.carousel.caption-opacity-70 .carousel-caption {
    opacity: 0.7;
}

.carousel.caption-opacity-65 .carousel-caption {
    opacity: 0.65;
}

.carousel.caption-opacity-60 .carousel-caption {
    opacity: 0.6;
}

.carousel.caption-opacity-50 .carousel-caption {
    opacity: 0.5;
}

.carousel.caption-opacity-40 .carousel-caption {
    opacity: 0.4;
}

.carousel.caption-opacity-30 .carousel-caption {
    opacity: 0.3;
}

.carousel.caption-opacity-20 .carousel-caption {
    opacity: 0.2;
}

.carousel.caption-opacity-10 .carousel-caption {
    opacity: 0.1;
}

/* 🎭 Fade-Animation */
.carousel.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel.carousel-fade .carousel-item.active,
.carousel.carousel-fade .carousel-item-next,
.carousel.carousel-fade .carousel-item-prev {
    opacity: 1;
}

.carousel.carousel-fade .carousel-item-left.active,
.carousel.carousel-fade .carousel-item-right.active {
    opacity: 0;
}

/* 📏 Custom Höhe */
.carousel[style*="height"] {
    overflow: hidden;
}

.carousel[style*="height"] .carousel-inner,
.carousel[style*="height"] .carousel-item {
    height: 100% !important;
}

.carousel[style*="height"] .carousel-item img {
    height: 100% !important;
    object-fit: cover;
}

/* ========================================
   ERWEITERTE CAROUSEL CSS-KLASSEN
   ======================================== */

/* 📦 Erweiterte Margin-Klassen */
.carousel.m-0 { margin: 0 !important; }
.carousel.m-1 { margin: 0.25rem !important; }
.carousel.m-2 { margin: 0.5rem !important; }
.carousel.m-3 { margin: 1rem !important; }
.carousel.m-4 { margin: 1.5rem !important; }
.carousel.m-5 { margin: 3rem !important; }
.carousel.m-10 { margin: 10rem !important; }
.carousel.m-15 { margin: 15rem !important; }
.carousel.m-20 { margin: 20rem !important; }
.carousel.m-25 { margin: 25rem !important; }
.carousel.m-30 { margin: 30rem !important; }

/* 📦 Erweiterte Padding-Klassen */
.carousel.p-0 { padding: 0 !important; }
.carousel.p-1 { padding: 0.25rem !important; }
.carousel.p-2 { padding: 0.5rem !important; }
.carousel.p-3 { padding: 1rem !important; }
.carousel.p-4 { padding: 1.5rem !important; }
.carousel.p-5 { padding: 3rem !important; }
.carousel.p-10 { padding: 10rem !important; }
.carousel.p-15 { padding: 15rem !important; }
.carousel.p-20 { padding: 20rem !important; }
.carousel.p-25 { padding: 25rem !important; }
.carousel.p-30 { padding: 30rem !important; }

/* 🌟 Erweiterte Shadow-Klassen */
.carousel.shadow-none { box-shadow: none !important; }
.carousel.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; }
.carousel.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06) !important; }
.carousel.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important; }
.carousel.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; }
.carousel.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; }
.carousel.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important; }

/* 🔲 Carousel-spezifische Border-Klassen entfernt - jetzt in Global CSS */

/* 🎨 Erweiterte Hintergrund-Klassen */
.carousel.bg-transparent { background-color: transparent !important; }
.carousel.bg-white { background-color: #ffffff !important; }
.carousel.bg-light { background-color: #f8f9fa !important; }
.carousel.bg-dark { background-color: #212529 !important; }
.carousel.bg-primary { background-color: #0d6efd !important; }
.carousel.bg-secondary { background-color: #6c757d !important; }
.carousel.bg-success { background-color: #198754 !important; }
.carousel.bg-danger { background-color: #dc3545 !important; }
.carousel.bg-warning { background-color: #ffc107 !important; }
.carousel.bg-info { background-color: #0dcaf0 !important; }

/* ⭕ Erweiterte Rounded-Klassen */
.carousel.rounded-none { border-radius: 0 !important; }
.carousel.rounded-sm { border-radius: 0.25rem !important; }
.carousel.rounded { border-radius: 0.375rem !important; }
.carousel.rounded-md { border-radius: 0.375rem !important; }
.carousel.rounded-lg { border-radius: 0.5rem !important; }
.carousel.rounded-xl { border-radius: 0.75rem !important; }
.carousel.rounded-2xl { border-radius: 1rem !important; }
.carousel.rounded-3xl { border-radius: 1.5rem !important; }
.carousel.rounded-circle { border-radius: 50% !important; }
.carousel.rounded-full { border-radius: 50% !important; }
