.saz-home-hero {
    max-width: 1150px;
    margin: 25px auto 35px;
    position: relative;
}

.saz-hero-viewport {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.saz-hero-slide {
    display: none;
    position: relative;
}

.saz-hero-slide.is-active {
    display: block;
}

.saz-hero-link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.saz-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}

.saz-hero-content {
    position: absolute;
    right: 6%;
    top: 50%;
    transform: translateY(-50%);
    width: 36%;
    text-align: center;
    z-index: 2;
}

.saz-hero-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 12px;
}

.saz-hero-text {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.saz-hero-price {
    display: inline-block;
    padding: 8px 18px;
    border: 3px solid #c62828;
    color: #c62828;
    font-size: 32px;
    line-height: 1.1;
    font-weight: 700;
}

.saz-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    font-size: 24px;
    line-height: 42px;
    padding: 0;
    cursor: pointer;
    z-index: 5;
}

.saz-hero-prev {
    left: 12px;
}

.saz-hero-next {
    right: 12px;
}

.saz-hero-thumbs {
    display: flex;
    justify-content: center;
    gap: 9px;
    overflow-x: auto;
    padding: 12px 2px 3px;
}

.saz-hero-thumb {
    flex: 0 0 105px;
    height: 62px;
    padding: 3px;
    border: 2px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.saz-hero-thumb.is-active {
    border-color: #333;
}

.saz-hero-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 600px) {
    .saz-home-hero {
        margin: 15px 10px 25px;
    }

    .saz-hero-content {
        right: 4%;
        width: 42%;
    }

    .saz-hero-title {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .saz-hero-text {
        font-size: 12px;
        margin-bottom: 7px;
    }

    .saz-hero-price {
        font-size: 18px;
        padding: 5px 9px;
        border-width: 2px;
    }

    .saz-hero-arrow {
        width: 34px;
        height: 34px;
        line-height: 34px;
        font-size: 18px;
    }

    .saz-hero-prev {
        left: 5px;
    }

    .saz-hero-next {
        right: 5px;
    }

    .saz-hero-thumbs {
        justify-content: flex-start;
    }

    .saz-hero-thumb {
        flex-basis: 80px;
        height: 48px;
    }
}

/* Dezente Umrandung des grossen Hero-Banners */
.saz-hero-viewport {
    border: 1px solid #dedede;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Gesamter Hero inklusive Vorschaubilder in einem gemeinsamen Rahmen */
.saz-home-hero {
    border: 1px solid #dedede;
    border-radius: 8px;
    box-sizing: border-box;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    overflow: hidden;
}

/* Der grosse Bannerbereich braucht keinen eigenen Rahmen mehr */
.saz-hero-viewport {
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Eigener sauberer Bereich fuer die Miniaturbilder */
.saz-hero-thumbs {
    margin: 0;
    padding: 12px 15px 14px;
    border-top: 1px solid #eeeeee;
    background: #fff;
    box-sizing: border-box;
    justify-content: center;
}

/* Etwas kompakter, damit auch viele Banner ordentlich aussehen */
.saz-hero-thumb {
    flex: 0 0 92px;
    height: 54px;
}

@media (max-width: 600px) {
    .saz-home-hero {
        margin-left: 10px;
        margin-right: 10px;
    }

    .saz-hero-thumbs {
        justify-content: flex-start;
        padding: 10px;
    }

    .saz-hero-thumb {
        flex-basis: 75px;
        height: 45px;
    }
}

/* Homepage Intro optisch ausblenden */
.cms-index-index .saz-home-intro {
    display: none;
}

/* Nach entferntem Intro etwas Luft zwischen Navigation und Hero */
.cms-index-index .saz-home-hero {
    margin-top: 25px;
}

/* Kompakter Abstand zwischen Navigation und Hero */
.cms-index-index .saz-home-hero {
    margin-top: 12px;
}

@media (max-width: 600px) {
    .cms-index-index .saz-home-hero {
        margin-top: 10px;
    }
}
