@font-face {
    font-family: 'Open Sans Condensed';
    src: url('../fonts/OpenSans-CondensedBold.eot');
    src: url('../fonts/OpenSans-CondensedBold.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-CondensedBold.woff2') format('woff2'), url('../fonts/OpenSans-CondensedBold.woff') format('woff'), url('../fonts/OpenSans-CondensedBold.ttf') format('truetype'), url('../fonts/OpenSans-CondensedBold.svg#OpenSans-CondensedBold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans Condensed';
    src: url('../fonts/OpenSans-CondensedLight.eot');
    src: url('../fonts/OpenSans-CondensedLight.eot?#iefix') format('embedded-opentype'), url('../fonts/OpenSans-CondensedLight.woff2') format('woff2'), url('../fonts/OpenSans-CondensedLight.woff') format('woff'), url('../fonts/OpenSans-CondensedLight.ttf') format('truetype'), url('../fonts/OpenSans-CondensedLight.svg#OpenSans-CondensedLight') format('svg');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/ubuntu-v20-latin-regular.eot');
    src: local(''), url('../fonts/ubuntu-v20-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-regular.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-regular.woff') format('woff'), url('../fonts/ubuntu-v20-latin-regular.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-regular.svg#Ubuntu') format('svg');
}

@font-face {
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/ubuntu-v20-latin-700.eot');
    src: local(''), url('../fonts/ubuntu-v20-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/ubuntu-v20-latin-700.woff2') format('woff2'), url('../fonts/ubuntu-v20-latin-700.woff') format('woff'), url('../fonts/ubuntu-v20-latin-700.ttf') format('truetype'), url('../fonts/ubuntu-v20-latin-700.svg#Ubuntu') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans Condensed', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4375;
    color: #000;
    font-weight: 300;
}

#wrapper {
    margin: 1rem auto;
    border: 1px #777 solid;
    max-width: 890px;
    position: relative;
    background-color: #FFF;
}

header .banner {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

header .logo {
    padding: 19px 22px 19px 0;
}

header .intro {
    background: url('../images/background-top.png') bottom left no-repeat;
    position: absolute;
    top: 0;
    right: 0;
    width: 475px;
    height: 376px;
    padding: 20px 32px 16px 41px;
}

header .intro p {
    line-height: 26px;
    font-size: 20px;
    margin: 0 0 5px;
    color: #fff;
}

article {
    padding: 15px 32px 0;
}

article section p {
    color: #231F20;
    font-size: 20px;
    line-height: 24px;
}

article>p:nth-of-type(1) {
    text-align: center;
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 16px;
}

footer {
    background: url('../images/background.jpg') top center no-repeat;
    position: relative;
    padding: 36px 16px 10px;
    margin: 50px 0 0;
    background-size: cover;
}

footer>p {
    text-align: center;
    color: #fff;
    font-size: 20px;
    line-height: 26px;
    padding-bottom: 0;
}

article section {
    position: absolute;
    background: url('../images/background.png') 0 0 no-repeat;
    background-size: 100% 100%;
    bottom: 160px;
    right: 35px;
    width: 290px;
    height: 159px;
    padding: 7px 0 0 18px;
}

.padding {
    padding-top: 20px;
}

:is(strong, h1, h2, h3, h4) {
    font-weight: 700;
}

h1 {
    margin: 8px -32px 30px;
    font-size: 27px;
    line-height: 40px;
    color: #3b738e;
    text-align: center;
    font-family: 'Ubuntu', sans-serif;
    background: url(../images/background-title.jpg) no-repeat center top;
    padding: 1px 16px 10px;
}

h1 small {
    font-size: 27px;
    line-height: 1.4;
    font-weight: 400;
    display: block;
    color: #231F20;
    margin: 10px 0 0;
}

h2 {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
    color: #183865;
}

h3 {
    font-size: 19px;
    line-height: 24px;
    margin: 6px 0 0;
}

:is(h3, h3 a) {
    color: #52b6bd !important;
}

h4 {
    text-align: right;
    margin: 0 125px 13px 0;
    font-size: 18px;
    line-height: 23px;
    color: #183865;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

ul {
    margin-bottom: 26px;
    list-style: none;
}

ul li {
    padding-left: 2rem;
    background: url('../images/lebenshilfe-small.jpg') no-repeat 0 6px;
    line-height: 1.3;
}

@media only screen and (max-width: 890px) {
    #wrapper {
        margin: 0;
        border: none;
    }

    header .logo {
        width: 296px;
        padding: 39px 16px 38px 1rem;
    }

    header .banner {
        align-items: baseline;
    }

    article section {
        right: 16px;
    }

    :is(h1, p, ul):not(.intro p) {
        hyphens: auto;
        text-wrap: pretty;
    }

    header .intro {
        height: 391px;
        background: url('../images/background-top.png') bottom left no-repeat;
        background-size: cover;
    }

    .textbig br {
        display: none;
    }

    span {
        white-space: nowrap;
    }

    h1 {
        background: #e3ecf1;
        border-radius: 12px;
        background-image: none;
        line-height: 1.25;
        margin: 0 0 25px;
        height: auto;
        font-size: 31px;
    }
}

@media only screen and (max-width:767px) {
    header {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    header .logo {
        padding: 16px;
        width: auto;
    }

    header .intro {
        background: url('../images/background-top-mobile.png') center center no-repeat;
        background-size: cover;
        position: static;
        width: 100%;
        color: #fff;
        padding: 16px 16px 12px;
        height: auto;
    }

    header .intro p {
        hyphens: auto;
    }

    header .banner {
        align-items: center;
    }

    article {
        padding: 16px 16px 0;
    }

    article section {
        position: static;
        margin: 16px auto;
    }

    .listitem {
        padding-right: 0;
    }

    :is(h1, .intro p:nth-of-type(1), ul) br {
        display: none;
    }
}

@media only screen and (max-width:740px) {
    footer {
        padding: 53px 16px 20px;
        margin: 0;
    }

    footer br:not(.mobile) {
        display: none;
    }
}