/* ==========================================================
   CITY HERO SLIDER  –  Vollbild mit Text-Overlay
   ========================================================== */

:root {
    --slider-brand: #77020a;

    /* Typography */
    --slider-font-display: 'PT Sans', 'Helvetica Neue', Arial, sans-serif;
}

/* ── Wrapper ──────────────────────────────────────────────── */

.city-hero-slider-wrap {
    position: relative;
    width: 100%;
}

/* ── Swiper Container ─────────────────────────────────────── */

.city-hero-swiper {
    width: 100%;
    height: clamp(440px, 60vw, 800px);
    overflow: hidden;
}

/* ── Einzelne Slide ───────────────────────────────────────── */

.city-hero-slide {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: #111;
}

/* ── Bild (vollflächig) ───────────────────────────────────── */

.city-hero-slide__image {
    position: absolute;
    inset: 0;
}

.city-hero-slide__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 7s linear;
}

/* Ken Burns auf aktivem Slide */
.city-hero-swiper .swiper-slide-active .city-hero-slide__image img {
    transform: scale(1.06);
}

/* ── Farbverlauf-Overlay ──────────────────────────────────── */

.city-hero-slide__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right,  rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 40%, rgba(0, 0, 0, .1) 70%, transparent 100%),
        linear-gradient(to top,    rgba(0, 0, 0, .55) 0%, transparent 50%);
}

/* ── Text-Inhalt (unten links) ────────────────────────────── */

.city-hero-slide__content {
    position: absolute;
    bottom: max(80px, 9vw);
    left: max(48px, 7vw);
    width: calc(100% - max(48px, 7vw) * 2);
    max-width: 580px;
    z-index: 2;
}

/* Überschrift */
.city-hero-slide__headline {
    font-family: var(--slider-font-display);
    font-size: clamp(2.4rem, 4.8vw, 5.5rem);
    color: #fff;
    line-height: 1.04;
    font-weight: 400;
    margin: 0 0 1.2rem;
    opacity: 0;
    transform: translateY(20px);
}

/* Unterzeile */
.city-hero-slide__subline,
.city-hero-slide__content p {
    color: #fff;
}

.city-hero-slide__subline {
    font-size: clamp(0.84rem, 1vw, 1rem);
    color: #fff;
    line-height: 1.7;
    max-width: 420px;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
}

/* CTA Button */
.city-hero-slide__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 2.2rem;
    padding: 12px 24px;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    align-self: flex-start;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: background 0.22s, border-color 0.22s;
    opacity: 0;
    transform: translateY(14px);
}

.city-hero-slide__btn:hover {
    background: rgba(255, 255, 255, 0.26);
    border-color: #fff;
    color: #fff;
}

.city-hero-slide__btn svg {
    width: 15px;
    height: 10px;
    flex-shrink: 0;
    transition: transform 0.22s;
}

.city-hero-slide__btn:hover svg {
    transform: translateX(4px);
}

/* ── Einblend-Animationen ─────────────────────────────────── */

@keyframes cityHeroFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.city-hero-swiper .swiper-slide-active .city-hero-slide__headline {
    animation: cityHeroFadeUp 0.65s 0.08s ease both;
}
.city-hero-swiper .swiper-slide-active .city-hero-slide__subline {
    animation: cityHeroFadeUp 0.65s 0.22s ease both;
}
.city-hero-swiper .swiper-slide-active .city-hero-slide__btn {
    animation: cityHeroFadeUp 0.65s 0.36s ease both;
}

/* ── Navigation (überlagert, unten rechts) ────────────────── */

.city-hero-controls {
    position: absolute;
    bottom: max(28px, 3.5vw);
    right: max(28px, 4vw);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.city-hero-controls__prev,
.city-hero-controls__next {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: background 0.2s, border-color 0.2s;
}

.city-hero-controls__prev svg,
.city-hero-controls__next svg {
    width: 16px;
    height: 16px;
}

.city-hero-controls__prev:hover,
.city-hero-controls__next:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: #fff;
}

/* Pagination-Bullets als Striche */
.city-hero-controls__pagination {
    display: flex;
    align-items: center;
    gap: 5px;
}

.city-hero-controls__pagination .swiper-pagination-bullet {
    width: 24px !important;
    height: 2px !important;
    border-radius: 0 !important;
    background: rgba(255, 255, 255, 0.45) !important;
    opacity: 1 !important;
    display: inline-block;
    margin: 0 !important;
    transition: background 0.22s, width 0.22s;
    cursor: pointer;
}

.city-hero-controls__pagination .swiper-pagination-bullet-active {
    background: #fff !important;
    width: 44px !important;
}

/* ── Responsive ───────────────────────────────────────────── */

@media (max-width: 768px) {
    .city-hero-swiper {
        height: clamp(380px, 55vh, 560px);
    }

    .city-hero-slide__content {
        bottom: max(54px, 11vw);
        left: max(24px, 5vw);
        width: calc(100% - max(24px, 5vw) - 16px);
        max-width: 100%;
    }

    .city-hero-slide__headline {
        font-size: clamp(1.7rem, 7.5vw, 2.8rem);
        margin-bottom: 0.8rem;
    }

    .city-hero-slide__subline {
        font-size: 0.82rem;
        max-width: 100%;
    }

    .city-hero-slide__btn {
        margin-top: 1.4rem;
        padding: 10px 18px;
        font-size: 0.7rem;
    }

    .city-hero-controls {
        bottom: 14px;
        right: 14px;
        gap: 8px;
    }

    .city-hero-controls__prev,
    .city-hero-controls__next {
        width: 32px;
        height: 32px;
    }

    .city-hero-controls__prev svg,
    .city-hero-controls__next svg {
        width: 14px;
        height: 14px;
    }
}