/*------slider------*/
.slider {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    background-color: #fff;
}
.slider input[type="radio"] {
    position: fixed;
    top: -9999px;
}
.slider input[type="radio"]:checked:nth-child(5) ~ .images .image:nth-child(5) {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(5) ~ .navigation .dot:nth-child(5) {
    background-color: var(--main-blue);
}
.slider input[type="radio"]:checked:nth-child(5) ~ .navigation .dot:nth-child(5):hover {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(4) ~ .images .image:nth-child(4) {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(4) ~ .navigation .dot:nth-child(4) {
    background-color: var(--main-blue);
}
.slider input[type="radio"]:checked:nth-child(4) ~ .navigation .dot:nth-child(4):hover {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(3) ~ .images .image:nth-child(3) {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(3) ~ .navigation .dot:nth-child(3) {
    background-color: var(--main-blue);
}
.slider input[type="radio"]:checked:nth-child(3) ~ .navigation .dot:nth-child(3):hover {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(2) ~ .images .image:nth-child(2) {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(2) ~ .navigation .dot:nth-child(2) {
    background-color: var(--main-blue);
}
.slider input[type="radio"]:checked:nth-child(2) ~ .navigation .dot:nth-child(2):hover {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(1) ~ .images .image:nth-child(1) {
    opacity: 1;
}
.slider input[type="radio"]:checked:nth-child(1) ~ .navigation .dot:nth-child(1) {
    background-color: var(--main-blue);
}
.slider input[type="radio"]:checked:nth-child(1) ~ .navigation .dot:nth-child(1):hover {
    opacity: 1;
}
.slider .image {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 400ms ease;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.slider .image img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    -webkit-transition: all .25s ease-in-out;
    -moz-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
}
.slider .navigation {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}
.slider .dot {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 0 2px;
    border-radius: 50%;
    background-color: white;
    cursor: pointer;
    transition: opacity 200ms ease;
}
.slider .dot:hover {
    opacity: 0.8;
}
/*------section1 about us------*/
section.aboutus {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 0;
    align-items: start;
    padding: 50px 0;
}
section.aboutus .aboutus-item:nth-child(1) {
    max-width: 575px;
    margin: 0 auto;
    padding: 25px 0;
}
section.aboutus .aboutus-item:nth-child(2) {
    text-align: center;
    margin: auto 25px;
}
section.aboutus img {
    max-width: 450px;
    width: 100%;
    -webkit-box-shadow: 0 10px 10px 0 rgba(0,0,0,0.28);
    -moz-box-shadow: 0 10px 10px 0 rgba(0,0,0,0.28);
    box-shadow: 0 10px 10px 0 rgba(0,0,0,0.28);
}
/*------section2 produkte------*/
section.produkte {
    background-image: url("../img/bg-2023.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 85%;
    padding: 50px 7.5%;
}
section.produkte h2 {
    text-align: center;
    color: var(--main-white);
}
section.produkte .hr {
    margin: 20px auto;
}
section.produkte p {
    text-align: center;
    color: var(--main-white);
}
section.produkte .produkte-wrapper {
    display: flex;
    justify-content: space-around;
    padding: 30px 0;
}
section.produkte .produkte-wrapper .produkte-item {
    max-width: 425px;
    background-color: var(--main-white);
    transition: transform 250ms ease;
}
section.produkte .produkte-wrapper .produkte-item:hover {
    transform: translate(0, -1rem);
    transition: transform 250ms ease;
}
section.produkte .produkte-wrapper .produkte-item img {
    object-fit: cover;
    width: 425px;
    height: 332px;
}
section.produkte .produkte-wrapper .produkte-item figcaption {
    text-align: center;
    text-transform: uppercase;
    padding: 25px 0;
}
/*------section3 splitt------*/
section.splitt {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
section.splitt .hr {
    margin: 20px auto;
}
.splitt-item {
    max-width: calc(var(--max-width) / 2);
    margin: 0 auto;
    padding: 0 25px;
}
section.splitt .splitt-item-wrapper {
    text-align: center;
    width: 100%;
    padding: 50px 0;
}
section.splitt .splitt-item-wrapper img {
    object-fit: cover;
    max-width: 425px;
    width: 100%;
    height: 250px;
}
section.splitt .splitt-item-wrapper:nth-child(1) div h3, section.splitt .blog-post-text p {
    color: var(--main-black);
    text-align: left;
    margin-top: 5px;
}
section.splitt .splitt-item-wrapper:nth-child(1) .read-more.see-all {
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 0;
}
section.splitt .splitt-item-wrapper:nth-child(1) .read-more.see-all a {
    text-decoration: none;
    color: var(--main-blue);
}
section.splitt .splitt-item-wrapper:nth-child(1) .read-more.see-all a:hover {
    text-decoration: none;
    color: var(--main-blue);
}
section.splitt .splitt-item-wrapper:nth-child(2) {
    background-color: var(--main-blue);
}
section.splitt .splitt-item-wrapper:nth-child(2) h2, section.splitt .splitt-item-wrapper:nth-child(2) p {
    color: var(--main-white);
}
section.splitt .splitt-item-wrapper:nth-child(2) .hr {
    border-bottom: 2px solid var(--main-white);
}
.splitt-aboutus {
    max-width: 425px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
}
section.splitt .splitt-item-wrapper:nth-child(2) div h3, section.splitt .splitt-item-wrapper:nth-child(2) .splitt-aboutus p {
    color: var(--main-white);
    text-align: left;
    margin-top: 5px;
}
section.splitt .splitt-item-wrapper:nth-child(2) .read-more {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    padding: 15px 0;
}
section.splitt .splitt-item-wrapper:nth-child(2) .read-more a {
    text-decoration: none;
    color: var(--main-white);
}
section.splitt .splitt-item-wrapper:nth-child(2) .read-more a:hover {
    text-decoration: none;
    color: var(--main-white);
}
section.splitt .splitt-item-wrapper:nth-child(2) h2.service{
    margin-top: 50px;
}
.splitt-aboutus.service {
    padding: 0;
}

@media only screen and (max-width: 1575px) {
    section.produkte .produkte-wrapper .produkte-item {
        max-width: 350px;
    }
    section.produkte .produkte-wrapper .produkte-item img {
        object-fit: cover;
        width: 350px;
        height: 260px;
    }
    section.produkte .produkte-wrapper .produkte-item figcaption {
        padding: 25px 0;
    }
}

@media only screen and (max-width: 1300px) {
    .slider {
        width: 100%;
        aspect-ratio: 21 / 9;
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }
    .slider .image img {
        width: 100%;
        aspect-ratio: 21 / 9;
        object-fit: cover;
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }
    section.produkte {
        width: calc(100% - 50px);
        padding-left: 25px;
        padding-right: 25px;
    }
    section.produkte .produkte-wrapper .produkte-item {
        max-width: 300px;
    }
    section.produkte .produkte-wrapper .produkte-item img {
        object-fit: cover;
        width: 300px;
        height: 235px;
    }
    section.produkte .produkte-wrapper .produkte-item figcaption {
        padding: 15px 0;
    }
}
@media only screen and (max-width: 970px) {
    .slider {
        width: 100%;
        aspect-ratio: 16 / 9;
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }
    .slider .image img {
        width: 100%;
        aspect-ratio: 16 / 9;
        object-fit: cover;
        -webkit-transition: all .25s ease-in-out;
        -moz-transition: all .25s ease-in-out;
        transition: all .25s ease-in-out;
    }
    section.aboutus {
        display: block;
        padding: 0 0 25px 0;
    }
    section.aboutus .aboutus-item:nth-child(1) {
        max-width: 100%;
    }
    section.aboutus img {
        width: 100%;
        height: auto;
    }
    section.aboutus .aboutus-item:nth-child(2) {
        margin: 0;
    }
    section.produkte {
        background-image: none;
        background-color: black;
    }
    section.produkte .produkte-wrapper {
        flex-direction: column;
    }
    section.produkte .produkte-wrapper .produkte-item {
        margin: 25px auto;
    }
    section.produkte .produkte-wrapper .produkte-item:hover {
        transform: translate(0, 0);
    }
    section.splitt {
        display: block;
    }
}
