/* CSS Reset für die verwendeten Komponenten */
html, body, ul {
    margin: 0;
    padding: 0;
    border: 0;
}

address, button {
    font-style: normal;
    font-size: 1em;
}

html, body {
    font-family: "Arial", sans-serif;

    /*
     * Zentrale Konfiguration des RESPONSIVE DESIGN per Schriftgröße
     */
    text-align: center;
    font-size: clamp(14px, 4vw, 22px); /* Dynamische Schriftgröße zwischen 14px und 22px */
}

a {
    color: black;
    text-decoration: none;
}

h1 {
    text-transform: uppercase;
    margin-bottom: .3em;
}

h2 {
    color: #EA0029;
    margin-top: 0;
}

header {
    height: 17rem;
    width: 100%;

    background: url("images/HEADER_DV.png");
    background: -webkit-image-set( url('images/HEADER_DV.png') 1x, url('images/HEADER_DV@2x.png') 2x );
    background: image-set( url('images/HEADER_DV.png') 1x, url('images/HEADER_DV@2x.png') 2x );
    background-repeat: no-repeat;
    background-size: cover;

    position: relative;
}

#bcxp-buddies {
    position: absolute;
    right: .5rem;
    bottom: .5rem;
}

#contact-profile-image {
    height: 18rem;
    width: 18rem;
    border-radius: 50%;
    transform: translate(0%, 10%);
    -webkit-filter: grayscale(100%); /* Profilbild in Graustufen darstellen */
    filter: grayscale(100%);
    background-color: #848484;
}

main {
    margin-top: 4rem;
    margin-bottom: 1rem;
}

address {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon {
    width: 1.5em;
    height: 1.5em;
    display: inline-block;
}

.icon-mail {
    background: url("images/Mail.svg") no-repeat center;
    background-size: contain;
}

.icon-mobile {
    background: url("images/Handy.svg") no-repeat center;
    background-size: contain;
}

.icon-phone {
    background: url("images/Telefon.svg") no-repeat center;
    background-size: contain;
}

.icon-web {
    background: url("images/Website.svg") no-repeat center;
    background-size: contain;
}

.icon-address {
    background: url("images/Standort.svg") no-repeat center;
    background-size: contain;
}

.contact-data-list {
    list-style-type: none;
    text-align: left;
}

.contact-data-list > li {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.contact-data-list > li > .icon {
    margin-right: 1em;
}

.button {
    display: inline-block;
    background-color: #EA0029;
    color: white;
    border: 0;
    padding: 1.5em;
    margin: 1rem;
    font-weight: bold;
}

footer {
    margin-bottom: 3rem;
}

.social-media-links {
    transform: translate(0%, 50%);
}

.social-media-links > a {
    margin: 0 .75em 0 .75em;
}

.social-media-links > a > img{
   height: 4rem;
}

.bcxp-footer {
    height: 7rem;
    background-color: #bfbfbf;

    margin-bottom: 2rem;

    display: flex;
    align-items: center;
    justify-content: center;
}

#bcxp-homepage-link > img {
    height: 4rem;
}

.legal-links > a {
    color: #9D9D9CFF;
    font-weight: bold;
    margin: 0 .75em 0 .75em;
}

.legal-links > .language-toggle {
    color: #9D9D9CFF;
    margin: 0 .75em 0 .75em;

}

.legal-links > .language-toggle > a {
    color: #9D9D9CFF;
}

.legal-links > .language-toggle > .bcxp-active-language {
    font-weight: bold;
}

/*
 * Display wird zu schmal, daher die Buddies ausblenden,
 * bevor sie sich über das Profilbild schieben.
 */
@media (max-width: 940px) {
    #bcxp-buddies {
        display: none;
    }
}

/*
 * Im Querformat steht wenig Display Höhe zur Verfügung,
 * daher den Header und das Profilbild verkleinern
 */
@media only screen
and (max-device-height : 600px)
and (orientation : landscape) {
    header {
        height: 7rem;
    }
    #contact-profile-image {
        height: 8rem;
        width: 8rem;
    }
    #bcxp-buddies {
        display: none;
    }
}
