/* ============================================================
   HERO SLIDER – Walther Systemtechnik
   Fade-Überblendung alle 5 Sekunden, blaue Textbox links unten
   ============================================================ */

.hero-slider {
    position: relative;
    width: 100%;
    max-width: 1880px;
    margin-left: auto;
    margin-right: auto;
    height: 520px;
    overflow: hidden;
    background: #1a2a35;
    /* Kein margin-top nötig – Header ist sticky, Slider folgt direkt */
}

@media (max-width: 768px) {
    .hero-slider { height: 320px; }
}

/* ---- Einzelne Slides ---- */
.hero-slider__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #1a2a35;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}
.hero-slider__slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* ---- Overlay ---- */
.hero-slider__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.30) 0%,
        rgba(0,0,0,0.08) 60%,
        rgba(0,0,0,0.04) 100%
    );
}

/* ---- Textbox – Primärblau, links unten ---- */
.hero-slider__textbox {
    position: absolute;
    bottom: 56px;
    left: 60px;
    background: #0091d1;
    padding: 22px 30px;
    max-width: 460px;
    z-index: 2;
}
@media (max-width: 768px) {
    .hero-slider__textbox { left:16px; right:16px; bottom:36px; max-width:none; padding:16px 20px; }
}

.hero-slider__title {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin: 0 0 6px;
}
@media (max-width:768px) { .hero-slider__title { font-size:1.15rem; } }

.hero-slider__subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.92);
    line-height: 1.5;
    margin: 0;
}
.hero-slider__link { color:#ffffff; text-decoration:none; margin-left:4px; }
.hero-slider__link:hover { text-decoration:underline; }
.hero-slider__link strong { font-weight:700; }

/* ---- Pfeile ---- */
.hero-slider__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    width: 42px; height: 42px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    padding: 0;
}
.hero-slider__btn:hover { background:rgba(0,145,209,0.75); border-color:transparent; }
.hero-slider__btn--prev { left:16px; }
.hero-slider__btn--next { right:16px; }

/* ---- Dots ---- */
.hero-slider__dots { position:absolute; bottom:14px; right:20px; display:flex; gap:8px; z-index:10; }
.hero-slider__dot { width:10px; height:10px; border-radius:50%; border:2px solid rgba(255,255,255,0.6); background:transparent; cursor:pointer; padding:0; transition:background .2s,border-color .2s; }
.hero-slider__dot--active, .hero-slider__dot:hover { background:#ffffff; border-color:#ffffff; }

