@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v34-latin-regular.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff'), url('../fonts/open-sans-v34-latin-regular.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-regular.svg#OpenSans') format('svg');
}

@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/open-sans-v34-latin-700.eot');
    src: local(''), url('../fonts/open-sans-v34-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff'), url('../fonts/open-sans-v34-latin-700.ttf') format('truetype'), url('../fonts/open-sans-v34-latin-700.svg#OpenSans') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    min-height: 100%;
}

body {
    color: #282827;
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    max-width: 800px;
    margin: 12px auto;
    border: 1px solid #282827;
    background: #fff;
    position: relative;
}

.flexbox {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}

header {
    position: relative;
}

article {
    margin: 21px 0 0;
    padding: 0 35px;
    position: relative;
}

article>div:nth-of-type(1) {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -54px;
    right: 35px;
    align-items: flex-end;
}

.flexbox section {
    width: 171px;
    display: flex;
    gap: 7px;
    align-items: center;
    padding: 0 0 3px;
}

.flexbox section p {
    width: 175px;
    margin: 0;
    font-size: 13px;
    line-height: 17px;
}

.box-top {
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 20px 0;
    padding: 8px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
}

.box-top .flex {
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-top p {
    margin: 0;
}

.box-top p span {
    display: block;
    font-size: 16px;
}

.margin {
    margin: 0 -35px;
    position: relative;
    z-index: 10;
}

.stellenangeboten {
    background: #94C11E;
    padding: 6px;
    color: #fff;
    position: relative;
    font-size: 14px;
    line-height: 1;
}

.stellenangeboten:before {
    content: '';
    position: absolute;
    right: 13px;
    bottom: -16px;
    border-right: 21px solid #94C11E;
    border-bottom: 19px solid transparent;
}

header p {
    position: absolute;
    top: 8%;
    left: 5%;
}

header p span {
    padding: 5px;
    color: #fff;
    background: #0080C8;
    display: inline-block;
    margin: 0 0 10px;
    font-size: 49px;
    line-height: 1.1;
    font-weight: bold;
}

footer {
    margin: -25px 0 0;
    padding: 20px 35px 30px;
    position: relative;
    background: #0080c9;
    background: -moz-linear-gradient(left, #0080c9 0%, #006cb2 50%, #003c7c 100%);
    background: -webkit-linear-gradient(left, #0080c9 0%, #006cb2 50%, #003c7c 100%);
    background: linear-gradient(to right, #0080c9 0%, #006cb2 50%, #003c7c 100%);
    font-size: 16px;
}

footer :is(p, a), .stellenangeboten a {
    color: #fff !important;
}

footer section {
    position: absolute;
    top: 44px;
    right: 35px;
}

.box {
    display: flex;
    justify-content: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.right {
    font-size: 19px;
    line-height: 27px;
    position: relative;
    width: 225px;
    margin: -3px 0 0;
}

.right p {
    margin: 0;
    border-left: 2px solid #fff;
    padding: 0 6px 0 17px;
}

p small {
    font-size: 16px;
    line-height: 20px;
    display: block;
}

.avatar {
    position: absolute;
    top: 20px;
    right: -94px;
}

footer figure {
    position: absolute;
    right: 35px;
    bottom: 30px;
}

footer figure img {
    margin-left: 3px;
}

footer figure div {
    position: relative;
    width: 154px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

footer figure div .stellenangeboten {
    margin: 0 0 37px;
}

p {
    margin: 0 0 14px;
}

h1 {
    margin: 14px 0 55px 80px;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    text-indent: -80px;
}

h1 span {
    font-size: 22px;
    line-height: 1.2;
    font-weight: 400;
}

h1 small {
    font-size: 100%;
    font-weight: 400;
}

h1 small:nth-of-type(1) {
    font-weight: 400;
    font-size: 16px;
    display: block;
    padding-left: 78px;
}

h1 span:nth-of-type(2) {
    display: block;
}

h1+p {
    font-size: 14px;
}

h2 {
    font-size: 34px;
    font-weight: 700;
    line-height: 34px;
    color: #fff;
}

h2 span {
    padding: 7px 40px 7px 7px;
    display: inline-block;
    background: #0081C9;
    margin: 0 0 3px;
}

h3 {
    margin: 20px 0 13px;
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #fff;
}

h3+p {
    font-size: 24px;
    line-height: 29px;
}

h3+p+p {
    font-size: 19px;
    line-height: 23px;
    margin: 0 0 33px;
}

h3+p+p+p {
    margin: 0 0 35px;
}

h4 {
    margin: 36px 0 16px;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

ul {
    margin: 0 0 0 10px;
    list-style: none;
}

ul li {
    padding-left: 12px;
    margin-bottom: 8px;
}

li:before {
    text-indent: -12px;
    content: "»";
    color: #242021;
    float: left;
    margin-top: -2px;
    font-size: 16px;
}

@media all and (max-width:798px) {
    body {
        font-size: 14px;
        line-height: 18px;
    }

    #wrapper {
        border: none;
        margin: 0;
    }

    :is(h1, h1 + p, ul li, h3+p+p) br {
        display: none;
    }

    h3+p {
        font-size: 21px;
    }

    article {
        padding: 0 16px;
        margin-top: 16px;
    }

    .box-top p {
        width: 259px;
        justify-content: flex-start;
    }

    .flexbox section {
        width: 180px;
    }

    .box-top .flex {
        width: 25%;
    }

    footer {
        padding: 6% 16px 16px;
        margin: -3.3% 0 0;
    }

    footer span,
    .nowrap {
        white-space: nowrap;
    }

    .margin {
        margin: 0 -16px;
    }

    h1 {
        font-size: 26px;
        line-height: 30px;
        margin: 20px 0;
        text-indent: 0;
    }

    h1 span:nth-of-type(2) {
        margin: 1rem 0 0;
    }

    h3 {
        margin: 20px 0 10px;
        font-size: 25px;
        line-height: 28px;
    }

    header p span {
        font-size: 6vw;
    }

    p,
    li {
        hyphens: auto;
    }

    h1 small:nth-of-type(1) {
        padding-left: 0;
    }
}

@media all and (max-width:764px) {
    footer figure {
        margin-top: 21px;
    }

    footer :is(section, figure) {
        position: static;
        display: flex;
        justify-content: center;
    }

    h3 br {
        display: none;
    }
}

@media all and (max-width:610px) {
    .box-top {
        flex-wrap: wrap;
    }

    .box-top .flex {
        width: 50%;
        margin-bottom: 10px;
    }
}

@media all and (max-width:579px) {
    .box {
        flex-direction: column;
    }

    article>div:nth-of-type(1) {
        flex-direction: column;
        position: static;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
    }

    h3,
    footer p {
        text-align: center;
    }

    .right {
        width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 16px;
    }

    .right p {
        border-left: 0;
        padding: 0;
    }

    .avatar {
        position: static;
    }
}

@media all and (max-width:480px) {
    .flexbox {
        flex-direction: column;
    }

    .flexbox section {
        width: auto;
        align-items: center;
    }

    .flexbox section p {
        width: calc(100% - 50px);
    }

    .flexbox section p br {
        display: none;
    }
}

@media all and (max-width:398px) {
    .avatar {
        position: static;
    }

    .right p {
        margin: 0 0 15px;
    }
}