@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: local(''), url('../fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v30-latin-regular.woff') format('woff'), url('../fonts/roboto-v30-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v30-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: local(''), url('../fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), url('../fonts/roboto-v30-latin-700.woff') format('woff'), url('../fonts/roboto-v30-latin-700.ttf') format('truetype'), url('../fonts/roboto-v30-latin-700.svg#Roboto') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    color: #000;
}

#wrapper {
    margin: 1rem auto;
    max-width: 980px;
    background: #f8bb0f url(../images/mitarbeiter.png) no-repeat right bottom;
    border: solid thin #cbcbcb;
    position: relative;
}

header {
    position: relative;
}

header>a:nth-of-type(2) {
    position: absolute;
    top: 17%;
    left: 54%;
    height: 14%;
    width: 9%;
}

article {
    padding: 16px 70px 0;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.position {
    position: absolute;
    right: 20px;
    top: 28px;
    z-index: 999;
}

.position :is(h2, p, a) {
    color: #fff !important;
}

.position p {
    font-size: 90%;
}

.flex-box-content:nth-of-type(1) {
    width: 48%;
}

.flex-box-content:nth-of-type(2) {
    width: 46%;
}

.color {
    color: #f8bb0f !important;
}

.text-center {
    text-align: center;
}

.right {
    text-align: right;
}

.white {
    background: url(../images/white.jpg) no-repeat left top;
    width: 271px;
    height: 154px;
    padding-top: 13px;
    margin-bottom: 6px;
}

.white p {
    color: #18734c;
    line-height: 1.4;
}

.white p:nth-of-type(1) {
    font-size: 117%;
    margin-bottom: 5px !important;
}

.margin-left-top {
    margin-left: 10px;
}

:is(h1, h2, h3, h4, strong) {
    font-weight: 700;
}

:is(h1, h2, h3, h4) {
    line-height: 1.2;
}

h2 {
    font-size: 33px;
    margin: 0 0 13px;
}

h3 {
    font-size: 33px;
    margin: 0 0 10px;
    color: #f8bb0f;
}

h1 {
    font-size: 19px;
    margin: 0 0 28px -46px;
    color: #18734c;
}

h4 {
    font-size: 16px;
    margin: 0 0 0 -47px;
    color: #18734c;
    display: flex;
    gap: 0;
    align-items: center;
}

p {
    margin-bottom: 10px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
}

ul {
    margin: 0 0 10px 15px;
}

ul li {
    list-style: none;
    text-indent: -15px;
    line-height: 20px;
}

ul li:before {
    font-size: 25px;
    margin-right: 15px;
    position: relative;
    top: -1px;
    float: left;
    content: "\2022";
    color: #18734c;
}

.left {
    margin-left: 0px;
}

footer {
    padding: 7px 0 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

footer img {
    display: none;
}

@media screen and (max-width: 979px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    .flex-box-content:nth-of-type(1) {
        width: 46%;
    }

    .flex-box-content:nth-of-type(2) {
        width: 45%;
    }

    :is(h1, h2, h3, h4, p, ul li) {
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p a, span) {
        white-space: nowrap;
    }

    br:not(br.mobile-block, .position br) {
        display: none;
    }
}

@media screen and (max-width: 910px) {
    .position p {
        line-height: 18px;
    }

    h2 {
        font-size: 30px;
    }

    h3 {
        font-size: 27px;
    }
}

@media screen and (max-width: 818px) {
    #wrapper {
        background: #f8bb0f;
    }

    header img {
        display: block;
    }

    .position {
        position: static;
        background: #18734c;
        padding: 20px;
    }

    .position br:not(br.mobile-block) {
        display: none;
    }

    footer {
        padding-bottom: 0;
        margin-top: -100px;
    }

    footer img {
        display: block;
    }
}

@media screen and (max-width: 740px) {
    article {
        display: block;
        padding: 10px 20px;
    }

    :is(h1, h4) {
        margin-left: 0;
    }

    .flex-box-content {
        width: 100% !important;
    }

    footer {
        margin-top: -312px;
    }
}

@media screen and (max-width: 470px) {
    footer {
        margin-top: 0;
    }
}