/* ==========================================================================
   PROXACOM HERO SLIDER & NAVIGATION BOXES
   ========================================================================== */

/* Der Haupt-Container des Sliders */
.proxacom-hero-section {
    position: relative;
    /* Margin nach unten, damit die überlappenden Boxen Platz haben */
    margin-bottom: 120px; 
    background-color: #111;
}

.proxacom-slider-inner {
    height: 50vh;
    min-height: 400px;
}

/* Der Text-Content im Slider */
.proxacom-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
    padding: 0 20px;
    /* Schiebt den Text etwas nach oben, weg von den Boxen */
    padding-bottom: 80px; 
}

/* --- Die 4 Navigations-Boxen --- */
.proxacom-nav-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    /* Zieht die Boxen exakt zur Hälfte aus dem Slider nach unten heraus */
    transform: translate(-50%, 50%); 
    width: 100%;
    max-width: 1200px;
    z-index: 20;
    padding: 0 15px;
}

.proxacom-nav-row {
    background: #ffffff;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-wrap: wrap;
}

.proxacom-nav-box {
    flex: 1;
    min-width: 250px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden; /* Wichtig für das Wasserzeichen */
    border-right: 1px solid #f0f0f0;
    border-bottom: 6px solid transparent; /* Platzhalter für den orangen Balken */
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.proxacom-nav-box:last-child {
    border-right: none;
}

/* Text und Icon im Normalzustand (Grau) */
.proxacom-nav-box .nav-icon {
    font-size: 2.5rem;
    color: #a0a0a0;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.proxacom-nav-box .nav-title {
    font-size: 0.85rem;
    color: #a0a0a0;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* --- Aktiver Zustand der Box --- */
.proxacom-nav-box.active {
    border-bottom-color: #FF7F00;
}

.proxacom-nav-box.active .nav-icon,
.proxacom-nav-box.active .nav-title {
    color: #FF7F00;
}

.proxacom-nav-box.active .nav-title {
    font-weight: 700;
}

/* --- Das Wasserzeichen (Riesiges Icon im Hintergrund) --- */
.proxacom-watermark {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 140px;
    color: #f5f5f5; /* Sehr helles Grau */
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.proxacom-nav-box.active .proxacom-watermark {
    opacity: 1;
}

/* Mobile Anpassung */
@media (max-width: 991px) {
    .proxacom-nav-box {
        flex: 0 0 50%; /* 2 Boxen pro Reihe auf dem Tablet/Handy */
        border-bottom: 1px solid #f0f0f0;
    }
    .proxacom-nav-box.active {
        border-bottom: 6px solid #FF7F00;
    }
    .proxacom-hero-section {
        margin-bottom: 250px; /* Mehr Platz nach unten für 2 Reihen Boxen */
    }
}


/* --- PROGRESS BAR & CONTROLS --- */
.slider-controls-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    z-index: 90 !important;
    background: rgba(0, 0, 0, 0.3); 
    height: 4px; 
}
.play-pause-btn {
    background: #FF7F00;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
    transform: translateY(-18px); 
    border-radius: 0 4px 0 0;
}
.play-pause-btn:hover { background: #cc5200; }
.progress-bar-container {
    flex-grow: 1;
    height: 100%;
    background: transparent;
    position: relative;
}
.progress-bar-fill {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background-color: #FF7F00;
    width: 0%;
}

/* Die normalen Dots */
.hero-slider-section .carousel-indicators [data-bs-target] {
    width: 12px; height: 12px; border-radius: 50%;
    background-color: rgba(255,255,255,0.3); border: none; margin: 0 8px;
}
.hero-slider-section .carousel-indicators .active {
    background-color: #FF7F00; transform: scale(1.2);
}