:root {
    --serv-blue: #00b2dc;
    --serv-orange: #eb5f1e;
    --serv-dark: #333333;
    --serv-light-gray: #f9f9f9;
    --serv-white: #ffffff;
}

/* Buttons */
.btn,
.header-btn-2 .btn {
    background-color: var(--serv-blue) !important;
    border-color: var(--serv-blue) !important;
    color: #ffffff !important;
}

.btn:hover,
.header-btn-2 .btn:hover {
    background-color: #ffffff !important;
    color: var(--serv-white) !important;
}

/* =========================================
   HERO SLIDER STYLES (NEU: <picture>/<img> statt Backgrounds)
   ========================================= */

.hero-slider-section {
    position: relative;
    overflow: hidden;
    padding: 0; /* Bild bis zum Rand */
}

/* Desktop Höhe */
.hero-slider-active {
    width: 100%;
    height: 850px;
}

/* Slide: Layout-Grundlage */
.hero-slider-active .swiper-slide {
    position: relative;
    overflow: hidden; /* wichtig für absolut positioniertes Bild */
    display: flex;
    align-items: center; /* Inhalt vertikal zentrieren */
}

/* Responsive Bild als "Background cover" */
.hero-media,
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-img {
    object-fit: cover;       /* wie background-size: cover */
    object-position: center; /* wie background-position: center */
}

/* Dunkles Overlay für bessere Lesbarkeit */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

/* Inhalt über Bild & Overlay */
.hero-slider-active .container {
    position: relative;
    z-index: 3;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    color: #fff;
}

/* Sub-Headline */
.hero-slide-content .sub-title {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: block;
}

/* Haupt-Headline */
.hero-slide-content .title {
    font-size: 64px;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-slide-content .title span {
    color: #fff;
}

/* Fließtext */
.hero-slide-content p {
    font-size: 20px;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* --- PAGINATION (Desktop Standard) --- */
.hero-slider-active .swiper-pagination {
    bottom: 40px !important;
    z-index: 10;
}

.hero-slider-active .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #fff;
    opacity: 0.5;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.hero-slider-active .swiper-pagination-bullet-active {
    background: #00b2dc;
    opacity: 1;
    width: 30px;
    border-radius: 6px;
}

/* =========================================
   RESPONSIVE ANPASSUNGEN
   ========================================= */

/* --- Tablet (bis 991px) --- */
@media (max-width: 991px) {
    .hero-slider-active {
        height: 600px;
    }
    .hero-slide-content .title {
        font-size: 48px;
    }
}

/* --- Smartphone (bis 767px) --- */
@media (max-width: 767px) {

    /* Slider-Höhe mobil anpassen */
    .hero-slider-active {
        height: 550px;
    }

    /* Schriften verkleinern */
    .hero-slide-content .title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .hero-slide-content .sub-title {
        font-size: 13px;
        margin-bottom: 10px;
        letter-spacing: 1px;
    }

    .hero-slide-content p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    /* Pagination nach unten schieben & verkleinern */
    .hero-slider-active .swiper-pagination {
        bottom: 10px !important;
    }

    .hero-slider-active .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
        margin: 0 3px !important;
        opacity: 0.6;
    }

    .hero-slider-active .swiper-pagination-bullet-active {
        width: 15px !important;
        opacity: 1;
    }
}

/* Button Fix für Slider */
.hero-slide-content .btn {
    display: inline-block !important;
    position: relative;
    z-index: 10;
    cursor: pointer;
    pointer-events: auto;
}

/* =========================================
   SLIDER POSITIONIERUNG (Slide 1)
   ========================================= */

/* Standard (Mobile): Text nach unten/oben justieren */
.slide-1-mobile-fix {
    margin-top: -60px;
    padding-bottom: 0;
}

/* Ab Desktop (Large Screens): ursprüngliche Desktop-Position */
@media (min-width: 992px) {
    .slide-1-mobile-fix {
        padding-top: 0;
        padding-bottom: 150px;
    }
}

/* =========================================
   MOBILE SLIDER BUTTONS (Kleiner machen)
   ========================================= */
@media (max-width: 767px) {
    .hero-slider-section .btn {
        padding: 10px 20px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        min-width: 0 !important;
        height: auto !important;
    }
}

/* =========================================
   MOBILE FOOTER ACCORDION
   ========================================= */

/* Nur auf Mobile/Tablet anwenden */
@media (max-width: 991px) {

    /* Überschriften klickbar machen */
    .footer-widget-title {
        cursor: pointer;
        position: relative;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Plus-Icon (+) hinzufügen */
    .footer-widget-title::after {
        content: '+';
        font-family: "Helvetica Neue", Arial, sans-serif;
        font-weight: 300;
        font-size: 24px;
        color: #00b2dc;
        transition: transform 0.3s ease;
    }

    /* Wenn offen */
    .footer-widget-title[aria-expanded="true"]::after {
        content: '-';
        transform: rotate(0deg);
        font-size: 28px;
        line-height: 20px;
    }

    /* Abstände der Listen */
    .widget-link ul,
    .widget-info ul {
        margin-bottom: 20px;
        padding-top: 10px;
    }
}

/* Auf Desktop: Klick-Cursor und Icons entfernen */
@media (min-width: 992px) {
    .footer-widget-title {
        pointer-events: none;
    }
    .footer-widget-title::after {
        display: none;
    }
}

/* Visually Hidden Utility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}
