/* ══════════════════════════════════════════
   HERO SPLIT-SCREEN SLIDER
══════════════════════════════════════════ */
#heroSlider {
    position: relative;
    height: 100vh;
    min-height: 560px;
    max-height: 800px;
    overflow: hidden;
    background: var(--light-bg);
}

/* Slides wrapper */
.hs-track {
    display: flex;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.77,0,0.175,1);
}

/* Single slide */
.hs-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 60% 40%;
    height: 100%;
}

/* Linke Bild-Seite */
.hs-img {
    position: relative;
    overflow: hidden;
    background: #ffffff;
}
.hs-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transform: scale(1.05);
    transition: transform 1.2s ease;
}
.hs-slide.active .hs-img img {
    transform: scale(1.0);
}
/* Subtiler Overlay-Gradient */
.hs-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,.08) 0%, transparent 100%);
}

/* Rechte Text-Seite */
.hs-content {
    background: var(--light-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 3rem 3.5rem;
    position: relative;
}

/* Slide-Label (kleiner Punkt + Text oben) */
.hs-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2rem;
    align-self: flex-start;
}
.hs-label::before {
    content: '';
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.hs-title {
    font-family: 'Titillium Web', sans-serif;
    font-weight: 600;
    font-size: clamp(1.8rem, 3vw, 3rem);
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1.4rem;
}

.hs-sub {
    font-size: .95rem;
    color: var(--muted);
    line-height: 1.75;
    max-width: 340px;
    margin-bottom: 2rem;
}

.hs-btn {
    display: inline-block;
    border: 1.5px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    font-size: .88rem;
    padding: .65rem 1.8rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all var(--transition);
    letter-spacing: .3px;
}
.hs-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Trennlinie unten in der Text-Seite */
.hs-line {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--mid-bg);
}

/* Navigation Pfeile */
.hs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border: 1.5px solid rgba(0,0,0,.15);
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(6px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--primary);
    transition: all var(--transition);
    z-index: 10;
    text-decoration: none;
}
.hs-nav:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.hs-prev { left: calc(60% - 22px); }
.hs-next { right: 1.5rem; }

/* Dots unten rechts */
.hs-dots {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: .5rem;
    z-index: 10;
}
.hs-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,.2);
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    padding: 0;
}
.hs-dot.active {
    background: var(--primary);
    width: 20px;
    border-radius: 3px;
}

/* Slide-Zähler oben rechts */
.hs-counter {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--muted);
    z-index: 10;
}
.hs-counter span { color: var(--primary); }

/* Content-Animation */
.hs-label, .hs-title, .hs-sub, .hs-btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.hs-slide.active .hs-label { opacity:1; transform:none; transition-delay:.3s; }
.hs-slide.active .hs-title  { opacity:1; transform:none; transition-delay:.45s; }
.hs-slide.active .hs-sub    { opacity:1; transform:none; transition-delay:.6s; }
.hs-slide.active .hs-btn    { opacity:1; transform:none; transition-delay:.75s; }

/* Responsive */
@media (max-width: 900px) {
    .hs-slide { grid-template-columns: 1fr; grid-template-rows: 55% 45%; }
    .hs-prev { left: 1rem; top: 27.5%; }
    .hs-next { right: 1rem; top: 27.5%; }
    .hs-content { padding: 2rem 1.5rem; }
    .hs-label { align-self: center; }
    #heroSlider { max-height: none; height: auto; min-height: 0; }
    .hs-track { height: auto; }
    .hs-slide { height: 85vh; min-height: 560px; }
}
