@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot');
    src: url('../fonts/roboto-condensed-v31-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v31-latin-700.eot');
    src: url('../fonts/roboto-condensed-v31-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v31-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v31-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v31-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v31-latin-700.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #0870b8;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 1000px;
    margin: 16px auto;
    border: 1px solid #000;
    position: relative;
    background: url('../images/mitarbeiter.jpg') no-repeat;
}

header {
    opacity: 0;
}

article {
    margin: -270px 0 0;
    position: relative;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 32px 60px 75px;
}

.icon {
    display: flex;
    align-items: flex-start;
    gap: 16px 30px;
    width: 250px;
    margin: -25px 0 0 52px;
}

.icon div {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px;
    gap: 6px;
}

.icon p {
    text-align: center;
}

.kontakt {
    padding: 20px 60px 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: url('../images/background.jpg') no-repeat;
    background-size: cover;
}

.kontakt p {
    color: #fff;
}

.kontakt p span {
    display: inline-block;
    width: 135px;
}

.qrcode {
    display: flex;
    align-items: flex-end;
    gap: 16px;
}

strong {
    font-weight: 700;
}

h1 {
    font-weight: 700;
    font-size: 23px;
    line-height: 28px;
}

h1 span {
    font-size: 16px;
}

h2 {
    font-weight: 700;
    font-size: 29px;
    line-height: 1.2;
    background: #fff;
    padding: 20px 30px 20px 60px;
    display: inline-block;
}

h3 {
    margin: 0 0 16px;
    font-weight: 400;
    font-size: 21px;
    line-height: 26px;
    width: 320px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

figure {
    display: none;
}

@media all and (max-width: 998px) {
    #wrapper {
        margin: 0 auto;
        border: none;
        background: url('../images/background-color.jpg') no-repeat;
        background-size: 100% 100%;
    }

    header {
        opacity: 1;
    }

    article {
        margin: -23% 0 0;
    }

    :is(.kontakt, h2) {
        padding: 16px;
    }

    .flex {
        padding: 16px 16px 0;
    }

    figure {
        display: block;
    }

    :is(p, h3) {
        hyphens: auto;
        text-wrap: pretty;
    }
}

@media all and (max-width: 915px) {
    .flex {
        display: block;
    }

    h3 {
        width: 100%;
    }

    h1 {
        text-align: center;
        margin: 20px 0 16px;
    }

    .icon {
        width: 100%;
        margin: 0 0 12px;
        justify-content: center;
    }
}

@media all and (max-width: 767px) {
    .kontakt {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

@media all and (max-width: 424px) {
    h2 {
        font-size: 23px;
        line-height: 1.3;
    } }