/* === Header-Banner === */

#header-banner {
    width: 100%;
    height: 0;
    padding-top: 20.84%;
    background: url(../img/hintergrund-startseite.png) no-repeat;
    background-size: contain;
    border-top: 3px solid var(--hell-grau);
    border-bottom: 3px solid var(--hell-grau);
}

/* === Service-Bereich === */

.intro-container h1:nth-of-type(2) {
    font-size: 2rem;
    margin-bottom: .9rem;
}

#service-bereich {
    background-color: var(--dunkel-blau);
    color: var(--weiß);
}

.service-box {
    text-align: center;
    background-color: var(--hell-blau);
    padding: 1.5rem;
    width: 80%;
    border-radius: 15px;
}

.service-box > h2 {
    font-size: 1.3rem;
}

.service-box > p {
    font-size: 1.2rem;
}

#service-bereich .row:nth-of-type(2) .col-2:first-of-type .service-box {
    margin-right: 0;
    margin-left: auto;
}

#service-bereich .row:nth-of-type(2) .col-2:nth-of-type(2) .service-box {
    margin-right: auto;
    margin-left: auto;
}

#service-bereich .row:nth-of-type(2) .col-2:last-of-type .service-box {
    margin-right: auto;
    margin-left: 0;
}

.service-icon {
    width: 120px;
    height: 120px;
    margin-right: auto;
    margin-left: auto;
}

#optimierung-icon {
    background: url(../img/sprite-service.png) 0 0;
}

#automatisierung-icon {
    background: url(../img/sprite-service.png) -120px 0;
}

#beratung-icon {
    background: url(../img/sprite-service.png) -240px 0;
}

.btn-termin-buchen {
    width: 30%;
    padding: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 0 0 20px var(--gold);
    border-radius: 5px;
    margin-top: 2rem;
}

.btn-termin-buchen:hover {
    text-decoration: underline;
}

@media (width: 1920px) {
    
    .service-box {
        height: 425px;
    }

}

@media (width: 1440px) {

    .service-box {
        height: 512px;
    }

}

@media (max-width: 1366px) {

    .service-box {
        width: 90%;
    }

    .btn-termin-buchen {
        width: 35%;
    }

}

@media (max-width: 1200px) {

    .btn-termin-buchen {
        width: 40%;
    }

}

@media (max-width: 1024px) {

    .service-box {
        width: 100%;
    }

    .btn-termin-buchen {
        width: 50%;
        margin-bottom: 1rem;
    }

}

@media (width: 1024px) {

    .service-box {
        height: 579px;
    }

}

@media (max-width: 768px) {

    #service-bereich .container .row:nth-of-type(2) .col-2 .service-box {
        margin-right: auto;
        margin-left: auto;
    }
    
    .service-box > h2 {
        font-size: 1.4rem;
    }

    .btn-termin-buchen {
        width: 60%;
        margin-bottom: 2rem;
    }

}

@media (width: 768px) {

    .service-box {
        height: 361px;
    }

}

@media (max-width: 650px) {

    .btn-termin-buchen {
        width: 100%;
    }

}

/* === Leistungs-Bereich === */

.leistungs-box {
    text-align: center;
    background-color: var(--dunkel-blau);
    color: var(--weiß);
    padding: 1rem 3rem 2.5rem;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}

#leistungen-bereich .row > .col-3:nth-of-type(even) > .leistungs-box {
    margin-left: 1rem;
}

#leistungen-bereich .row > .col-3:nth-of-type(odd) > .leistungs-box {
    margin-right: 1rem;
}

.leistungs-box > h2 {
    font-size: 1.4rem;
}

.leistungs-box > p {
    font-size: 1.2rem;
}

.leistung-ansehen-btn {
    text-decoration: none;
    height: 40px;
    display: inline-block;
    padding-top: .5rem;
    width: 40%;
    min-width: 100px;
    margin-top: 1rem;
}

.leistung-ansehen-btn:link {
    color: var(--weiß);
}

.leistung-ansehen-btn:visited {
    color: var(--weiß);
}

.leistung-ansehen-btn:active {
    color: var(--weiß);
}

.leistung-ansehen-btn:hover {
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: bold;
}

@media (width: 1920px) {

    .leistungs-box p {
        height: 220px;
    }

}

@media (width: 1440px) {

    .leistungs-box p {
        height: 330px;
    }

}

@media (max-width: 1440px) {

    br {
        display: none;
    }

}

@media (max-width: 1366px) {

    .leistungs-box {
        width: 90%;
    }

}

@media (max-width: 1024px) {

    .leistungs-box {
        width: 100%;
    }

}

@media (width: 1024px) {

    .leistungs-box p {
        height: 374px;
    }

}

@media (max-width: 768px) {

    #leistungen-bereich .row > .col-3:nth-of-type(even) > .leistungs-box {
        margin-left: 0;
    }
    
    #leistungen-bereich .row > .col-3:nth-of-type(odd) > .leistungs-box {
        margin-right: 0;
    }

}

@media (width: 768px) {

    .leistungs-box p {
        height: 220px;
    }

}

/* === Vorteile-Bereich === */

#vorteile-bereich {
    background-color: var(--hell-blau);
}

#vorteile-bereich .intro-container {
    color: var(--weiß);
}

#vorteile-bereich .intro-container h1 {
    margin-top: .5rem;
}

.vorteile-box {
    background-color: var(--weiß);
    text-align: center;
    padding: 1.5rem;
    width: 80%;
    border-radius: 15px;
}

.vorteile-box > h2 {
    font-size: 1.4rem;
}

.vorteile-box > p {
    font-size: 1.2rem;
}

#vorteile-bereich .row .col-2:first-of-type .vorteile-box {
    margin-right: -3.5rem;
    margin-left: auto;
}

#vorteile-bereich .row .col-2:nth-of-type(2) .vorteile-box {
    margin-right: auto;
    margin-left: auto;
}

#vorteile-bereich .row .col-2:last-of-type .vorteile-box {
    margin-right: auto;
    margin-left: -3.5rem;
}

@media (width: 1920px) {

    .vorteile-box p {
        height: 154px;
    }

}

@media (max-width: 1726px) {

    #vorteile-bereich .row .col-2:first-of-type .vorteile-box {
        margin-right: -2rem;
        margin-left: auto;
    }

    #vorteile-bereich .row .col-2:last-of-type .vorteile-box {
        margin-right: auto;
        margin-left: -2rem;
    }    

}

@media (width: 1440px) {

    .vorteile-box {
        height: 377px;
    }

    .vorteile-box h2 {
        height: 52px;
    }

}

@media (max-width: 1366px) {

    .vorteile-box {
        width: 90%;
    }

    #vorteile-bereich .row .col-2:first-of-type .vorteile-box {
        margin-right: -1rem;
        margin-left: auto;
    }

    #vorteile-bereich .row .col-2:last-of-type .vorteile-box {
        margin-right: auto;
        margin-left: -1rem;
    }   

}

@media (width: 1024px) {

    .vorteile-box p {
        height: 286px;
    }

}

@media (max-width: 1024px) {

    .vorteile-box {
        width: 100%;
    }

    #vorteile-bereich .row .col-2:first-of-type .vorteile-box {
        margin-right: 0;
        margin-left: auto;
    }

    #vorteile-bereich .row .col-2:last-of-type .vorteile-box {
        margin-right: auto;
        margin-left: 0;
    }   

}

@media (max-width: 768px) {

    #vorteile-bereich .container .row .col-2 .vorteile-box {
        margin-right: auto;
        margin-left: auto;
    }
    
    .vorteile-box > h2 {
        font-size: 1.4rem;
    }

}

@media (width: 768px) {

    .vorteile-box p {
        height: 110px;
    }

}