@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/marcellus-v13-latin-regular.eot');
    src: url('../fonts/marcellus-v13-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/marcellus-v13-latin-regular.woff2') format('woff2'),
        url('../fonts/marcellus-v13-latin-regular.woff') format('woff'),
        url('../fonts/marcellus-v13-latin-regular.ttf') format('truetype'),
        url('../fonts/marcellus-v13-latin-regular.svg#Marcellus') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/open-sans-v35-latin-regular.eot');
    src: url('../fonts/open-sans-v35-latin-regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/open-sans-v35-latin-regular.woff2') format('woff2'),
        url('../fonts/open-sans-v35-latin-regular.woff') format('woff'),
        url('../fonts/open-sans-v35-latin-regular.ttf') format('truetype'),
        url('../fonts/open-sans-v35-latin-regular.svg#OpenSans') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Open Sans", "Arial", sans-serif;
    font-size: .937rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid .062rem #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: blue;
    text-decoration: none;
    white-space: nowrap;
}

a.link {
    color: inherit;
}

p {
    margin: 0 0 1.25rem;
}

h1 {
    font-size: 1.062rem;
    margin: 1.25rem 0;
    text-align: center;
}

h3 {
    font-size: 2.5rem;
    line-height: 1.1;
    font-family: 'Marcellus', 'Arial', serif;
    font-weight: normal;
    color: #B03A3E;
    padding: 0 0 0 3.437rem;
}

h2 {
    font-size: .937rem;
    margin: 0;
}

ul {
    list-style: none;
    margin: 0 0 .937rem 1.687rem;
    padding: 0;
}

ul li {
    padding-left: 1.562rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.562rem;
    font-size: 1.375rem;
    line-height: 1.1;
    font-family: 'Arial', serif;
}

header {
    position: relative;
    padding: 2.812rem 1.875rem 6.25rem;
}

.logo {
    position: absolute;
    bottom: -3.125rem;
    z-index: 100;
}

.img {
    position: absolute;
    right: 9.375rem;
    top: 3.125rem;
    z-index: 101;
}

.image {
    position: absolute;
    right: 1.875rem;
    top: 11.375rem;
    z-index: 100;
}

article {
    padding: 6.25rem 5.312rem .062rem;
    background: url(../images/pfad.png) no-repeat top left #FFEDC8;
    background-size: contain;
    position: relative;
}

footer {
    background: #FCEEC9;
    padding: 0 5.312rem 5.312rem;
}

@media only screen and (max-width: 49.937rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    header {
        padding: 1rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 1rem;
    }

    h3 {
        text-align: center;
        padding: 0;
    }

    .logo {
        position: static;
    }

    .image {
        position: static;
        width: auto;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    
    .img{
        position: static;
        display: block;
        margin: 0 auto;
    }

    article {
        padding: 1rem 1rem .062rem;
        background: #FDEEC9;
    }

    footer {
        padding: 0 1rem 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    ul li {
        padding-left: .937rem;
    }

    ul li:before {
        margin-left: -.937rem;
    }
}

@media only screen and (max-width: 48rem) {
    p br {
        display: none;
    }

    h1 {
        margin: 1rem 0;
    }
}

@media only screen and (max-width: 33.75rem) {
    h3 br {
        display: none;
    }
}
