/* /fileadmin/redesign2025/css/history_slider.css */
/* Absolutes Verstecken der Rohdaten-Quelle */
#raw-history-source {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
}
/* Basis-Container */
.hist-universal-wrapper { width: 100%; margin: 40px 0; opacity: 0; transition: opacity 0.6s ease; }

/* 1. JAHRES-NAVIGATION (Bubbles) */
.nav-bubbles-wrapper { padding: 20px 0; margin-bottom: 30px; }
.nav-bubbles { display: flex; justify-content: space-between; align-items: center; }
.nav-bubbles:empty { display: none; } /* Versteckt sich automatisch, wenn kein Inhalt */

.y-bubble { 
    width: 60px; height: 60px; background: #fff; border-radius: 6.25rem; 
    display: flex; align-items: center; justify-content: center; 
    font-weight: bold; cursor: pointer; border: 1px solid #eee;
    transition: all 0.3s ease; box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.04); color: #333;
}
.y-node.active .y-bubble { 
    background: #000; color: #fff; border-color: #000;
    transform: scale(1.1); box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.08); 
}

/* 2. MAIN CONTENT */
.h-slide { padding: 0; outline: none; }
.h-slide h2 { width: 100%; font-size: 32px; margin: 0 0 25px 0; color: #222; font-weight: bold; }
.h-content-flex { display: flex !important; gap: 50px; align-items: flex-start; }
.h-text { flex: 1; font-size: 17px; line-height: 1.6; color: #555; }
.h-img { flex: 1.2; }
.h-img img { width: 100%; height: auto; display: block; border-radius: 2px; }

/* 3. FOOTER UI */
.slider-footer-ui { display: flex; align-items: center; margin-top: 50px; width: 100%; height: 44px; position: relative; }
.footer-left-arrows { display: flex; gap: 12px; padding-right: 30px; flex-shrink: 0; }
.h-btn-arrow { 
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid #333 !important; 
    background: #fff !important; color: #333 !important; cursor: pointer;
    display: flex; align-items: center; justify-content: center; padding: 0;
}
.h-btn-arrow:hover { background: #000 !important; color: #fff !important; }
.h-arrow-svg { width: 20px; height: 20px; display: block; }
.h-btn-arrow.prev .h-arrow-svg { transform: scaleX(-1); }

/* Progress Area */
.footer-right-progress { flex-grow: 1; height: 44px; position: relative; }
.progress-target-dots .slick-dots { display: flex !important; list-style: none; padding: 0; margin: 0; gap: 15px; width: 100%; height: 44px; position: relative; }
.progress-target-dots .slick-dots li { flex: 1; height: 44px; position: relative; margin: 0 !important; }
.progress-target-dots .slick-dots li::after {
    content: ""; position: absolute; left: 0; right: 0; top: 22px; 
    height: 1px; background: #ddd; transition: all 0.4s ease;
}
.progress-target-dots .slick-dots li.slick-active::after { background: #000; height: 3px; top: 21px; }
.progress-target-dots .slick-dots li button { display: none; }

@media (max-width: 900px) { .h-content-flex { flex-direction: column; } }