@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v32-latin-regular.eot');
    src: url('../fonts/roboto-v32-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v32-latin-regular.woff') format('woff'), url('../fonts/roboto-v32-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v32-latin-regular.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v32-latin-700.eot');
    src: url('../fonts/roboto-v32-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-v32-latin-700.woff2') format('woff2'), url('../fonts/roboto-v32-latin-700.woff') format('woff'), url('../fonts/roboto-v32-latin-700.ttf') format('truetype'), url('../fonts/roboto-v32-latin-700.svg#Roboto') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Dancing Script';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/dancing-script-v25-latin-700.eot');
    src: url('../fonts/dancing-script-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/dancing-script-v25-latin-700.woff2') format('woff2'), url('../fonts/dancing-script-v25-latin-700.woff') format('woff'), url('../fonts/dancing-script-v25-latin-700.ttf') format('truetype'), url('../fonts/dancing-script-v25-latin-700.svg#DancingScript') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #FFF;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 830px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #D70F3C;
}

header {
    background: url(../images/background.jpg) no-repeat bottom right;
}

article {
    padding: 0 0 5px 32px;
}

:is(header, footer) {
    justify-content: flex-start !important;
    gap: 80px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 1rem 0;
    font-size: 27px;
    line-height: 1;
}

h1 small {
    font-size: 16px;
    display: block;
}

h2 {
    font-size: 21px;
    margin: 1.5rem 0 5px;
    line-height: 27px;
    position: relative;
    z-index: 9;
}

h3 {
    position: absolute;
    bottom: 0;
    right: 0;
}

h3 a {
    display: inline-block;
    padding: 15px 1.75rem;
    background: #FFF;
    color: #D70F3C !important;
    text-align: center;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #FFF;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 1.5rem;
    list-style: none;
}

ul li {
    padding-left: 15px;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 18px;
    text-indent: -15px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.box {
    background: #FFF;
}

.box :is(p, ul, h2) {
    color: #D70F3C;
}

.flexbox {
    display: flex;
    justify-content: space-between;
}

.content {
    width: 313px;
    padding: 2rem 0 0;
}

.benefit {
    width: 400px;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    padding: 10px 1rem;
}

.flex-benefit {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-gap: 5px;
    margin: 10px 0 0;
}

.flex-benefit div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.flex-benefit div p {
    text-align: center;
    margin: 0 0 9px;
}

.width {
    width: 345px;
    border-top-right-radius: 40px;
    padding: 0.5rem 2rem 1rem;
}

header .width {
    width: 345px;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 40px;
    padding: 1rem 2rem 0;
}

.center {
    text-align: center;
}

.flex p {
    display: flex;
    align-items: center;
    gap: 17px;
    margin: 0 0 8px;
}

.logo {
    display: flex;
    justify-content: flex-end;
    margin: 38px 39px 20px 0;
}

.title {
    width: 400px;
}

.font {
    font-family: 'Dancing Script', Arial, sans-serif;
    font-size: 150%;
}

:is(h2, p) small {
    position: relative;
    top: 4px;
    left: 5px;
    line-height: 0;
    font-size: 100%;
}

.fragen {
    width: 367px;
    position: relative;
}

.margin {
    margin: 0;
}

@media all and (max-width:829px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    span {
        white-space: nowrap;
    }
}

@media all and (max-width:767px) {
    article {
        padding: 0;
    }

    .flexbox {
        display: block !important;
    }

    br:not(.benefit br) {
        display: none;
    }

    :is(.benefit, .title, .content, .width, .fragen, header .width) {
        width: auto;
        padding: 1rem;
    }

    header .width {
        padding-bottom: 0 !important;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-bottom-right-radius: 20px;
    }

    .logo {
        justify-content: center;
    }

    .benefit {
        margin: 1rem 0 1rem 1rem;
        border-top-left-radius: 20px;
        border-bottom-left-radius: 20px;
    }

    .fragen {
        padding-bottom: 3rem !important;
    }

    .flex-benefit {
        grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    }

    .width {
        border-top-right-radius: 20px;
    }

    ul {
        margin-bottom: 1rem;
    }
}