@font-face {
    font-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v30-latin-regular.eot');
    src: 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-display: swap;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v30-latin-700.eot');
    src: 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-size: 16px;
    line-height: 1.3;
    font-family: 'Roboto', Arial, sans-serif;
    color: #fff;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 662px;
    margin: 1rem auto;
    border: 2px solid #3a383a;
    overflow: hidden;
    background: #fff url('../images/background.jpg') no-repeat;
    height: 378px;
    padding-top: 44px;
}

.flex {
    display: flex;
    align-items: center;
    column-gap: 20px;
    margin-top: -80px;
    justify-content: flex-end;
}

.qrcode {
    display: flex;
    padding: 34px 9px 8px;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 9;
}

h1 span {
    font-size: 24px;

}

h1 small {
    font-size: 80%;
}

h1 {
    margin: 15px 0 0;
    font-size: 35px;
    font-weight: 800;
    line-height: 1;
}

h4 {
    font-size: 20px;
    font-weight: 700;
}

h3 span {
    font-weight: 400;
}

h3 {
    font-size: 10px;
    margin: 7px 0 0;
    font-weight: 700;
    color: #DA403C;
    text-align: center;
    line-height: 1.2;
}

h2 {
    font-size: 35px;
    line-height: 1;
    font-weight: 700;
    margin: 13px 0 0;
}

h2 small {
    font-size: 24px;
    line-height: 1.2;
}

h2 span {
    display: block;
    padding: 0 0 0 10px;
}

p:not(:last-of-type) {
    margin-bottom: 16px;
}

header {
    padding: 1px 16px;
    display: flex;
    align-items: flex-end;
    column-gap: 33px;
    position: relative;
    z-index: 1;
}

article {
    padding: 0 18px 10px 253px;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    opacity: 0;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #DA403C;
    text-decoration: none;
    white-space: nowrap;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

.pfeil {
    margin-top: 110px;
}

@media (max-width: 660px) {
    #wrapper {
        margin: 0;
        border: none;
        background: #c4161c;
        height: auto;
        padding-top: 16px;
    }

    header {
        padding: 16px;
        background: #FFF;
    }

    article {
        padding: 8% 16px 17% 208px;
    }

    footer {
        opacity: 1;
    }

    .flex {
        margin-top: -110px;
    }

    h1 {
        margin: 16px 0;
    }

    h1 span {
        display: inline;
        margin: 0 !important;
    }

    h4 {
        font-size: 18px;
        margin: 1rem 0 0;
    }

    br:not(h3 br) {
        display: none;
    }

    :is(p, h1) {
        hyphens: auto;
        text-wrap: pretty;
    }

    .qrcode {
        background: #fff;
        box-shadow: 1px 1px 8px 0 #757575;
        padding: 1rem;
    }
}

@media (max-width: 630px) {
    header {
        flex-direction: column;
        align-items: flex-start;
    }

    .flex {
        margin-top: -82px;
    }

    article {
        padding: 16px;
    }

    footer {
        position: static;
        display: flex;
        justify-content: center;
    }

    .flex {
        margin-top: -109px;
    }
}

@media (max-width: 450px) {
    .flex {
        margin: 10px 0;
        justify-content: center;
    }

    header {
        align-items: center;
    }

    :is(h1, h2, p) {
        text-align: center;
    }

    h1 span {
        display: block;
    }

    :is(h1 small, h2, h2 span) {
        margin: 0
    }
}