#reasonWhy {
    height: 80vh;
    width: 100%;
    background-image: url("../img/PageHeaders/Autobahn.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    background-position: center;
}

.reasonText{
    width: 70%;
    min-width: 900px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.reasonText .bigText{
    font-weight: 600;
    font-size: 5rem;
}

#fillEffect {
    transition: 0.5s;
    user-select: none;
    color: white;
    font-weight: 600;
}

#fillEffect:hover {
    color: #317794;
}

.reasonText .mediumText{
    font-weight: 400;
    font-size: 3rem;
    color: white;
}

.services{
    width: 100%;
}

.services p{
    text-align: left;
}

.servicesOverview{
    width: 100%;
}

.service{
    width: 100%;
    height: 45vh;
}

.service img{
    width: 8rem;
    height: 8rem;
}

.servicesOverview .service .verticalLine {
    background-color: #317794;
    width: 0.5%;
    height: 50%;
    margin: 0 5%;
}

.serviceDescription{
    width: 50%;
    height: 100%;
    justify-content: center;
    align-items: flex-start;
}

.servicesOverview .mediumText{
    color: #30363D;
    margin-top: 2.5%;
}

.servicesOverview .bigText{
    font-weight: 600;
    color: #317794;
    margin-bottom: 0;
}

.benefits{
    width: 100%;
}

.benefit{
    height: 60vh;
    width: 100%;
    justify-content: space-around;
}

.reversed{
    flex-direction: row-reverse;
}

.benefitImage{
    height: 60%;
    width: 50%;
    overflow: hidden;
}

.benefit.reversed .benefitImage{
    margin-right: 0;
}

.benefitImage img{
    width: 100%;
}

.benefitImage .img_benefitsFormat{
    width: 100%;
    height: auto;
}

.benefitText{
    height: 60%;
    width: 80%;
    margin-left: 5%;
    margin-right: 1%;
    align-items: flex-start;
    text-align: left;
}

#left.benefitText{
    margin-left: 1%;
    margin-right: 5%;
}

.benefitText p{
    color: #30363D;
}

.benefitText .mediumText{
    font-size: 4rem;
    font-weight: 400;
    margin-bottom: 0;
}
#partners{
    width: 100%;
}

#partners .white-spacer{
    margin-top: 0;
}

#partners .bigText{
    color: #30363D;
}

#logos{
    margin-top: 5vh;
    width: 100%;
    height: 100%;
    flex-wrap: wrap;
}

.logo{
    background-color: white;
    width: 25vw;
    height: 20vh;
    border-color: #317794;
    border-width: 2px;
    border-style: solid;
    border-radius: 10px;
    margin: 4vh 5vh;
    transition: 0.5s;
}

.logo:hover {
    border-width: 5px;
}

.logo-image{
    width: 90%;
    height: 80%;
    transition: 0.5s;
}

.logo-image:hover{
    width: 100%;
    height: 90%;
}

.logo img{
    width: 40%;
}

.logo p{
    margin: 0;
    height: 20%;
    color: gray;
    text-align: center;
}

.not-visible{
    display: none;
}

#toggle-partners{
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

#sliderWrapper{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 20vh;
    width: 100%;
}

#kostenbeispiel{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5%;
    margin-top: 5%;
}

#kostenbeispiel #costs{
    width: 20%;
}

#slider-spacer.textSpacer{
    margin-top: 5%;
    height: 30vh;
}

#slider{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 70%;
}

#slider p, #slider label{
    font-weight: 600;
    margin-right: 5%;
    font-size: 2rem;
    color: #317794;
}

#slider .horizontal-box{
    height: 5vh;
    width: 60%;
}

#slider input{
    height: 80%;
    width: 15%;
    font-size: 2rem;
    color: #317794;
    font-weight: 600;
}

a.smallText{
    color: black;
}

.smallSpacer{
    width: 50%;
    border-radius: 10px;
}

#costs a{
    font-weight: 200;
    color: gray;
    font-size: 1rem;
}

tc-range-slider{
    font-family: 'Montserrat', sans-serif;
}

#Leistungen {
    width: 70%;
}

@media screen and (min-width: 3840px) {
    .reasonText{
        width: 50%;
    }

    .reasonText .bigText{
        font-size: 10rem;
    }

    .reasonText .mediumText, .benefitText .mediumText, #slider p{
        font-size: 5rem;
    }

    .logo img{
        width: 25%;
    }

    #partners > img{
        width: 3vw;
    }

    .mark-value, #costs a{
        font-size: 2.5rem;
    }

    .logo img{
        width: 50%;
    }

    #slider input{
        width: 5%;
    }
}

@media only screen and (min-width: 100px) and (max-width: 1600px) {

    #slider .horizontal-box {
        height: 5vh;
        width: 80%;
    }

    #kostenbeispiel {
        margin-top: 5%; 
    }
}

@media only screen and (min-width: 420px) and (max-width: 1450px) {

    .benefitText .mediumText{
        font-size: 3rem;
    }

    .smallText{
        font-size: 1.25rem;
    }

    .bigText{
        font-size: 3rem;
    }

    .mediumText{
        font-size: 2rem;
    }

    #slider p, #slider label {
        font-size: 2rem;
    }

    #slider input {
        font-size: 1.5rem;
        font-weight: 400;
    }

    button.btnBig {
        width: 50vw;
    }

    .smallSpacer {
        width: 60vw;
    }
}
@media only screen and (max-width: 1200px) {
    .service {
        height: 30vh;
    }
}

@media only screen and (max-width: 1100px) {
    #kostenbeispiel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin-bottom: 5%;
        margin-top: 15%;
    }

    .smallSpacer {
        margin-top: 5%;
    }

    #slider .horizontal-box {
        width: 100%;
    }
}



@media only screen and (min-width: 100px) and (max-width: 1000px) {
    .reasonText .bigText {
        font-weight: 400;
        font-size: 3rem;
    }

    .reasonText .mediumText {
        font-weight: 300;
        font-size: 2rem;
        color: white;
    }

    .reasonText {
        min-width: 0px;
        width: 80%;
        position: relative;
        top: 10%;
    }

    #reasonWhy.vertical-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #listItems ul {
        min-width: 0px;
    }

    .smallSpacer {
        width: 60vw;
        border-radius: 10px;
    }
}

@media only screen and (min-width: 100px) and (max-width: 800px) {
    .service {
        height: auto;
    }

    .service.horizontal-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .service.horizontal-box .bigText {
        text-align: center;
        margin-top: 5vh;
    }

    .serviceDescription {
        width: 80%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    #kostenbeispiel .horizontal-box{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3vh;
    }
    #slider input {
        width: 30%;
        text-align: center;
    }

    #partner-button {
        display: none;
    }
    #slider-spacer {
        display: none;
    }
}


@media only screen and (min-width: 100px) and (max-width: 650px) {
    .reasonText .bigText {
        font-weight: 400;
        font-size: 2rem;
    }

    .reasonText .mediumText {
        font-weight: 300;
        font-size: 1rem;
        color: white;
    }

    .reasonText {
        min-width: 0px;
        width: 80%;
        position: relative;
        top: 10%;
    }

    #reasonWhy.vertical-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #listItems ul {
        min-width: 0px;
    }
}


@media only screen and (min-width: 300px) and (max-width: 420px) {
    #reasonWhy{
        margin-bottom: 2.5vh;
    }

    .reasonText{
        width: 90%;
        align-items: center;
    }

    .bigText{
        font-size: 1.25rem;
        font-weight: 600;
    }

    .mediumText{
        font-size: 1.25rem;
    }

    .reasonText .bigText{
        font-size: 1.5rem;
    }

    .reasonText .mediumText{
        font-size: 1.5rem;
    }

    .services{
        margin-bottom: 0;
    }

    .service{
        flex-direction: column;
        height: auto;
    }

    .service .verticalLine{
        display: none;
    }

    .serviceDescription{
        align-items: center;
        text-align: center;
    }

    .benefit{
        flex-direction: column;
        height: auto;
    }

    .benefitImage img{
        height: 80%;
    }

    .benefitText{
        align-items: center;
        margin-left: 0;
    }

    .benefitText .mediumText{
        font-size: 1.75rem;
        font-weight: 600;
        text-align: center;
    }

    .benefitText .smallText{
        font-size: 1.25rem;
        text-align: center;
    }

    #partners{
        margin-top: 5vh;
    }

    #logos{
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .logo{
        width: 80vw;
        height: 20vh;
        margin-bottom: 5%;
    }

    .logo img{
        width: 40%;
    }

    #slider-spacer, #kostenbeispiel, #partner-button, #modal{
        display: none;
    }
}

@media (orientation: portrait) { 

    h2 {
        font-size: 5rem;
        text-align: center;
    }

    h3 {
        font-size: 4rem;
        text-align: center;
    }

    p {
        text-align: center;
        font-size: 2.5rem;
    }

    p.small {
        text-align: center;
        font-size: 1.5rem;
    }


    .reasonText {
        flex-direction: column;
    }

    #reasonWhy.vertical-box {
        gap: 2vh;
    }

    .services .vertical-box {
        gap: 3vh;
    }

    .service {
        height: auto;
    }

    .services p {
        text-align: center;
    }

    .service h3 {
        text-align: center;
        font-size: 4rem;
    }

    .services .white-spacer{
        margin-bottom: 5%;
    }

    .service.horizontal-box {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .service.horizontal-box .bigText {
        text-align: center;
        margin-top: 5vh;
    }

    .serviceDescription {
        width: 80%;
        height: 100%;
        justify-content: center;
        align-items: center;
    }

    .benefits {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10vh;

        margin-top: 10%;
    }
    

    .benefits .horizontal-box {
        flex-direction: column;
        gap: 2vh;
    }

    .benefitText {
        align-items: center;
        text-align: center;
    }

    .benefitImage {
        height: 60%;
        width: 100%;
        overflow: hidden;
    }

    #partners{
        margin-top: 5vh;
    }

    #logos{
        flex-direction: column;
        flex-wrap: nowrap;
        height: auto;
    }

    .logo{
        width: 50vw;
        height: 20vh;
        margin-bottom: 5%;
    }

    .logo img{
        width: 40%;
    }
}