﻿@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');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    color: #000;
    line-height: 1.25rem;
    font-size: 1rem;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 750px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background: #fff url(../images/background.jpg) no-repeat top right;
}

header {
    padding: 17px 40px 1px 30px;
}

article {
    padding: 0 355px 0 31px;
}

footer {
    padding: 0 0 0 32px;
}

:is(strong, h1, h2, h3) {
    font-weight: 700;
}

h1 {
    margin: 0 0 5px;
    font-size: 27px;
    color: #ec0318;
    line-height: 30px;
}

.title p {
    font-size: 20px;
    margin: 0;
}

h2 {
    font-size: 19px;
    margin: 1rem 0 9px;
    line-height: 22px;
}

h3 {
    font-size: 16px;
    margin: 0 0 16px;
    line-height: 1.25rem;
}

p {
    margin: 0 0 1rem;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

ul {
    margin: 0 0 10px;
    list-style: none;
}

ul li {
    padding-left: 12px;
    font-size: 18px;
    line-height: 27px;
}

ul li:before {
    content: "\2022";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 15px;
    text-indent: -12px;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

.kontakt {
    font-size: 12px;
    line-height: 17px;
}

.title {
    position: absolute;
    top: 7px;
    right: 0;
    background: rgba(255, 255, 255, 0.85) none repeat scroll 0 0;
    padding: 14px;
    width: 333px;
}

.qrcode {
    position: absolute;
    top: 555px;
    right: 0;
}

.box {
    font-size: 16px;
    margin: 13px 21px 13px -31px;
    border: 2px solid #000;
    border-left: none;
    padding: 10px 10px 1px 30px;
}

.box ul {
    margin: 0 0 0 16px;
    list-style: none;
}

.box ul li {
    padding-left: 20px;
    font-size: 14px;
    line-height: 18px;
    margin: 0 0 10px;
    font-style: italic;
}

.box ul li:before {
    content: "\2714";
    float: left;
    font-family: Arial, sans-serif;
    font-size: 16px;
    text-indent: -20px;
}

@media all and (max-width:749px) {
    #wrapper {
        margin: 0 auto;
        border: none;
    }

    :is(p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    header {
        padding: 1rem;
    }

    article {
        padding: 0 365px 0 1rem;
    }

    footer {
        padding: 0 0 0 1rem;
    }

    ul br {
        display: none;
    }
}

@media all and (max-width:660px) {
    #wrapper {
        background: #FFF;
    }

    article {
        padding: 0 1rem;
    }

    footer {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
    }

    .title {
        position: static;
        width: 100%;
        padding: 0;
    }

    .box {
        margin-right: 0
    }

    .qrcode {
        position: static;
        background: url(../images/mitarbeiter.jpg) no-repeat;
        height: 275px;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        width: 275px;
    }
}

@media all and (max-width:480px) {
    footer {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0;
        padding: 0 1rem;
    }

    footer p {
        text-align: center;
    } }