@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-size: 1rem;
    font-family: "Arial", sans-serif;
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    border-left: .187rem solid #64B32D;
    border-bottom: .187rem solid #64B32D;
    background: url(../images/hintergrund.png) no-repeat top left;
    padding: 1rem 0 0;
}

.box {
    border-right: .187rem solid #64B32D;
}

h1 {
    margin: 1.562rem 0 1.875rem;
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
    color: #64B32D;
}

h2 {
    font-size: 1rem;
    line-height: 1.3;
    margin: 0 0 0.625rem;
}

h3 {
    font-size: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    padding: 0.2rem 0.5rem;
    color: #FFF;
    background: #64B32D;
    position: absolute;
    top: -1rem;
    right: 2rem;
    margin: 0;
}

h3 span {
    font-weight: normal;
}

h4 {
    font-size: 1.25rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

:is(a:link, a:visited, a:active) {
    color: #000;
    text-decoration: none;
    white-space: nowrap;
}

a.blau {
    color: #0563C1;
}

p {
    margin: 0 0 0.812rem;
    text-align: justify;
    hyphens: auto;
}

p span,
li span,
h1 span {
    white-space: nowrap
}

ul {
    margin: 0 0 2rem;
    padding: 0;
    list-style: none;
    text-align: justify;
}

ul li {
    padding-left: 1.125rem;
    margin: 0 0 0.5rem
}

ul li:before {
    content: "•";
    font-size: 1.187rem;
    position: relative;
    float: left;
    line-height: 1.2;
    margin: 0 0 0 -1.125rem;
}

header {
    padding: 1rem 2rem 0;
    position: relative;
}

article {
    padding: 1.5rem 2rem
}

footer {
    padding: 1.562rem 2rem 0.937rem;
    margin: 1.5rem 0.187rem 0;
    background: #D8E7C4;
    position: relative;
}

.qr {
    position: absolute;
    bottom: 0.5rem;
    right: 2rem;
}

@media only screen and (max-width:799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        background: #fff;
        padding: 1rem;
    }

    .box {
        border: none
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        text-align: left;
        margin: 0 0 1rem
    }

    ul li {
        margin: 0
    }

    h1 {
        font-size: 1.5rem;
    }

    h1,
    header {
        margin: 0 0 1rem
    }

    h3 {
        right: 1rem;
    }

    h4 {
        font-size: 1rem;
    }

    header,
    article {
        padding: 0 1rem;
    }

    footer {
        padding: 1rem;
        margin: 1.5rem 0.187rem 0;
    }

    .section {
        width: 84%
    }

    .qr {
        position: absolute;
        bottom: 0.5rem;
        right: 2rem;
    }

    br {
        display: none
    }
}

@media only screen and (max-width:580px) {
    .section {
        width: 100%
    }

    .qr {
        position: static
    }
}

@media only screen and (max-width:480px) {
    #wrapper {
        padding: 0
    }

    header {
        padding: 1rem 1rem 0;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    h3 {
        position: static;
        margin: 0 auto 1rem;
    }

    h3,
    footer p {
        text-align: center
    }

    .qr {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        align-items: center
    }
}
