.image-slider-wrapper-hero {
    min-height: 30em;
    height: calc(100vh - 8.7em);
    display: flex;
    flex-direction: column;
}
.image-slider {
    font-family: 'TECOBA-Sans';
    position: relative;
    flex: 1 1 0;
    min-height: 30em;
    overflow: hidden;
}
.slider-viewport {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.slider-track {
    display: flex;
    height: 100%;
    transform: translateX(0);
    transition: transform 1s ease;
}
.slide {
    position: relative;
    flex: 0 0 100%;
    height: 100%;
} 
.image-slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(45%);
}
.image-slider-image-unfiltered {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-caption {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    color: white;
    padding-left: clamp(2rem, 6vw, 5rem);
    padding-bottom: 12.5em;
    max-width: 40rem;
}
.slide-caption h1 {
    font-size: 2.75em;
    font-weight: 600;
}
.slide-caption p {
    font-size: 1.2em;
}
.slider-dots {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0.75em;
    display: flex;
    justify-content: center;
    gap: 1em;
    z-index: 10;
    padding: 0.25em 0.5em;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}
.slider-dot {
    width: 1.5em;
    height: 1.5em;
    border-radius: 999px;
    border: 0;
    background-color: #AAAAAA;
    cursor: pointer;
    padding: 0;
}
.slider-dot:hover {
    background-color: #888888;
}
.dot-primaer.is-active {
    background-color: var(--color-1);
}
.dot-sekundaer.is-active {
    background-color: var(--color-2);
}
.slider-control-label {
    position: absolute;
    bottom: 2.25em;
    right: 3em;
    z-index: 800;
    display: inline-block;
    width: 42px;
    height: 24px;
}
.slider-control-label input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider-control-primaer,
.slider-control-sekundaer {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #AAAAAA;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 24px;
}
.slider-control-primaer:before,
.slider-control-sekundaer:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}
.slider-control-primaer:hover,
.slider-control-sekundaer:hover {
    background-color: #888888;
}
input:checked + .slider-control-primaer {
    background-color: var(--color-1);
}
input:focus + .slider-control-primaer {
    box-shadow: 0 0 1px var(--color-1);
}
input:checked + .slider-control-sekundaer {
    background-color: var(--color-2);
}
input:focus + .slider-control-sekundaer {
    box-shadow: 0 0 1px var(--color-2);
}
input:checked + .slider-control-primaer:before,
input:checked + .slider-control-sekundaer:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(18px);
}

@media screen and (max-width: 768px) {
    .slider-control-label {
        right: 1em;
    }
    .slide-caption {
        padding-left: 1em;
        max-width: 100%;
    }
    .slide-caption h1 {
        font-size: 2em;
    }
    .slide-caption p {
        font-size: 1.1em;
    }
}