/*
 * author: BEP WERBEAGENTUR
 * customer: Dalla Corte
 * date: 2022-05
 */
#content h1 {
    margin-bottom: .33em;
}

#content h2 {
    margin-bottom: .33em;
}

#content h3 {
    margin-bottom: .33em;
}

#content > div {
    position: relative;
}

@media screen and (min-width: 80em) {

}

@media screen and (min-width: 120em) {

}


/* TITEL **************************************************/
.titel {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-end;

    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("assets/service/service-portrait@0,5x.jpg");
    height: 75vh;
}


.titel article {
    width: 80vw;
    margin: 1.5rem;
}
.titel article p {
    font-size: 1rem;
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait), screen and (min-resolution: 192dpi) and (orientation: portrait) {
    .titel {
        background-image: url("assets/service/service-portrait@0,75x.jpg");
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (orientation: portrait), screen and (min-resolution: 288dpi) and (orientation: portrait) {
    .titel {
        background-image: url("assets/service/service-portrait.jpg");
    }
}

@media screen and (min-width: 48em) {
    .titel {
        background-image: url("assets/service/service-landscape@0,5x.jpg");
        height: 50vw;
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 48em), screen and (min-resolution: 192dpi) and (min-width: 48em) {
    .titel {
        background-image: url("assets/service/service-landscape@0,75x.jpg");
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (min-width: 48em), screen and (min-resolution: 288dpi) and (min-width: 48em) {
    .titel {
        background-image: url("assets/service/service-landscape.jpg");
    }
}

@media screen and (min-width: 80em) {
    .titel {
        background-image: url("assets/service/service-landscape@0,75x.jpg");
        height: 30em;
    }

    .titel article {
        width: 22em;
        margin: 3.5em;
    }
}
@media screen and (min-width: 100em) {
    .titel {
        height: 40em;
    }
}

@media screen and (min-width: 120em) {
    .titel {
        background-image: url("assets/service/service-landscape.jpg");
    }

}

/* MODULE **************************************************/
.modul-gruppe {
    display: flex;
    flex-direction: column;
}

.modul {
    padding: 2rem 1.5rem 2rem 1.5rem;
}
.modul h4 {
    margin-bottom: .5rem;
}

.modul a {
    display: inline-block;
    margin: 1rem 0 0 0;
}

.modul h3 {
    margin-top: 0;
}

.modul p {
    margin-bottom: 0;
}
.modul ul {
    margin: 0;
    padding: 0;
}
.modul ul li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modul ul li a {
    margin: 0;
    color: var(--negativ);
    text-decoration: none;
    list-style: none;
    padding: .25rem 0 .25rem 2.125rem;
    background-repeat: no-repeat;
    background-position: center left;
    background-size: 1.4rem 1rem;
    background-color: transparent;
    background-image: url("assets/arrow-right-negativ.svg");

}
.modul ul li a:hover {
    background-image: url("assets/arrow-right-yellow.svg");
}

.modul-gelb ul li a {
    color: var(--grau-1);
    background-image: url("assets/arrow-right-grey.svg");
}
.modul-gelb ul li a:hover {
    background-image: url("assets/arrow-right-negativ.svg");
}


.modul form div {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}


.modul a.map-ico {
    font-family: var(--font-txt-3), sans-serif;
    text-transform: uppercase;
    font-size: 1.25rem;
    margin: 0;
    text-decoration: none;
    padding: 1.75rem 0 1rem 4.75rem;
    /**/
    background-position: center left;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: transparent;

}

.modul-gelb {
    background-color: var(--gelb);
    color: var(--grau-1);
}

.modul-grau {
    background-color: var(--grau-2);
    color: var(--negativ);
}
.modul-grau p a:visited,
.modul-grau p a {
    color: var(--grau-4);
    margin-top: 0;
}



.modul-gelb .map-ico {
    background-image: url("assets/ico-service-map.svg");
    color: var(--grau-1);
}

.modul-grau .map-ico {
    background-image: url("assets/ico-service-map-neg.svg");
    color: var(--negativ);

}

@media screen and (min-width: 48em) {
    .modul-gruppe {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .modul {
        width: 50%;
    }
}

@media screen and (min-width: 80em) {
    .modul {
        padding: 3rem 3.5rem 3rem 3.5rem;
    }

    .modul-gelb p {
        width: 30em;
    }

}

/* SCHULLUNGEN **************************************************/

.schulungen {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    /*background-position: center top;*/
    background-position: center;
    /*background-size: contain;*/
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url("assets/service/schulungen-portrait@0,75x.jpg");
    padding-top: 75vw;
}

.schulungen article {
    margin: 0 1.5rem;
}

.schulungen article button {
    display: inline-block;
    margin: 1rem 0;
}

.schulungen .formbox {
    width: 100%;
    height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background-color: var(--gelb);
    transition: height .5s ease-in;
}


.schulungen form {
    margin-top: 1.5rem;
    width: 100%;
}

.schulungen form > div > div {
    display: block;
    /*flex-direction: column;*/
    /*justify-content: flex-start;*/
    /*align-items: flex-start;*/
    padding: .25rem 0;

}

.schulungen form > div > div > * {
    display: block;
}

.schulungen form > div.senden > div > button {
    display: inline-block;
}

.schulungen form label {
    color: var(--grau-1);
}

.schulungen form input[type="date"],
.schulungen form input[type="text"] {
    width: calc(100vw - 4.5rem);
    font-size: 1rem;
    background-color: var(--grau-4);
    border: 1px solid var(--grau-1);
    padding: .25em .66em;
}
.schulungen form input[type="date"] {
    width: auto;
}


.schulungen select {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    border: none;
}

select::-ms-expand {
    display: none;
}

.schulungen div.select {
    position: relative;
    width: calc(100vw - 3rem);
}

.schulungen div.select::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 1.125em;
    right: 1em;
    background: url("assets/ico-select.svg") no-repeat transparent center scroll;
    background-size: contain;
    width: 17px;
    height: 15px;
}

.schulungen select {
    position: relative;
    width: 100%;
    background-color: var(--grau-1);
    color: var(--gelb);
    padding: .75em;
    border-radius: 0;
    outline: unset;
}

.schulungen form button[type="submit"] {
    background-color: var(--grau-1);
    color: var(--gelb);
    font-family: var(--font-txt-3);
    margin-top: 1em;
}

.schulungen .versendet {
    display: none;
}

/* AKTIONEN */
.formon .schulungen .formbox {
    height: 61rem;
    padding: 0 1.5rem;
}

.versendet .schulungen .formbox {
    height: 12rem;
}

.formon .schulungen .toggle {
    display: none;
}


.versendet .schulungen form .auswahl,
.versendet .schulungen form .adresse,
.versendet .schulungen form .termin,
.versendet .schulungen form .senden {
    display: none;
}

.versendet .schulungen .versendet {
    display: block;
}

.schulungen .versendet p {
    font-family: var(--font-txt-3);
    margin-bottom: .25rem;
    font-size: 1.5rem;
    color: var(--grau-1);

}

@media screen and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi) {
    .schulungen {
        background-image: url("assets/service/schulungen-portrait.jpg");
    }
}

/* LANDSCAPE */
@media screen and (min-width: 48em), screen and (orientation: landscape) {
    .schulungen {
        height: auto;
        padding-top: 33vw;
        background-image: url("assets/service/schulungen-landscape@0,5x.jpg");
        /*background-position: top center;*/
        /*background-size: contain;*/

    }

    .schulungen article {
        /* width: calc(50vw - 3rem);
         margin: 0;
         padding: 1.5rem;
         background-color: rgba(0, 0, 0, .8);*/
    }
}

@media screen and (min-width: 60em) {
    /*.schulungen {
        height: auto;
        background-size: cover;
    }*/


}


@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 48em), screen and (min-resolution: 192dpi) and (min-width: 48em) {
    .schulungen {
        background-image: url("assets/service/schulungen-landscape@0,75x.jpg");
    }
}

@media screen and (-webkit-min-device-pixel-ratio: 3) and (min-width: 48em), screen and (min-resolution: 288dpi) and (min-width: 48em), screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 60em), screen and (min-resolution: 192dpi) and (min-width: 60em) {
    .schulungen {
        background-image: url("assets/service/schulungen-landscape.jpg");
    }
}

@media screen and (min-width: 70em) {
    .schulungen {
        padding-top: 0;
        height: auto;
        min-height: 56vh;
        background-size: cover;
        align-items: stretch;
    }

    .schulungen article {

        width: calc(50% - 7rem);
        padding: 3rem 3.5rem 3rem 3.5rem;
        background-color: rgba(0, 0, 0, .7);
        margin: 0;
        min-height: 35em;

    }

    .schulungen article p {
        max-width: 40em;
    }

    .schulungen {
        flex-direction: row;
    }

    .schulungen .formbox {
        /*width: 0;*/
        width: calc(50% - 3rem);
    }

    .formon .schulungen .formbox {
        height: 41rem;
    }

    .versendet .schulungen .formbox {
        height: 14rem;
    }

    .schulungen form > div > div {
        display: block;
        /*flex-direction: column;*/
        /*justify-content: flex-start;*/
        /*align-items: flex-start;*/
        padding: .25rem 0;

    }

    .schulungen form > div > div > * {
        display: inline-block;
    }

    .schulungen form > div > div > label {
        width: 10rem;
    }
    .schulungen form > div > div > input[type="text"] {
        width: calc(100% - 12rem);
    }

    .schulungen div.select {
        width: auto;
    }

    .schulungen div.auswahl label {
        width: 9.8rem;
    }

    .schulungen div.select select {
        width: 12rem;
        background-color: var(--grau-1);
        color: var(--gelb);
        padding: .75em 2rem .75rem .75rem;
        border-radius: 0;
        outline: unset;
    }

    .schulungen .adresse {
        margin: 1rem 0;
    }

    .schulungen form > div.senden > div {
        padding-left: 10rem;
    }

}

@media screen and (min-width: 120em) {
    .schulungen {
        background-image: url("assets/service/schulungen-landscape.jpg");

    }
}





