@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Exo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/exo-v25-latin-regular.eot');
    src: url('../fonts/exo-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/exo-v25-latin-regular.woff2') format('woff2'), url('../fonts/exo-v25-latin-regular.woff') format('woff'), url('../fonts/exo-v25-latin-regular.ttf') format('truetype'), url('../fonts/exo-v25-latin-regular.svg#Exo') format('svg');
}

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #231F20;
    font-family: 'Exo', Arial, sans-serif;
    font-size: .937rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #e9e6de;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

article p {
    margin: 0 0 1rem;
}

strong,
h1,
h2,
h3 {
    font-weight: 400;
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 1.1;
    margin: 0 0 1rem;
    color: #a51738
}

h2 {
    font-size: 1.15rem;
    color: #a51738;
    text-align: center;
    margin: 0 0 1rem;
}

h3 {
    font-size: 1rem;
    color: #a51738;
    margin: 0 0 .187rem
}

hr {
    border-style: none;
    border-top: 1px solid #fff;
    width: 80%;
    margin: .5rem 0;
}


ul {
    list-style: none;
    margin: 0 0 1rem;
}

ul li {
    padding-left: 1.125rem
}

ul li:before {
    content: "\25CF";
    float: left;
    font-size: 1.1rem;
    line-height: 1.2;
    margin-left: -1.125rem;
    color: #a51738
}

.red_circle {
    background: #a51738;
    color: #fff;
    position: absolute;
    bottom: -2.5rem;
    right: 2rem;
    border-radius: 100%;
    width: 12rem;
    height: 12rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.red_circle p {
    font-size: 1.063rem;
    text-align: center;
    margin: 0;
}

header {
    position: relative
}

article {
    padding: 3rem 3rem 0;
}

footer {
    margin-top: -6rem;
    padding: 15rem 3rem 2rem;
    background: url("../images/hintergrund.png") top center/100% 100% no-repeat;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.box:first-of-type,
.box:nth-of-type(2) {
    width: 32%
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

}

@media only screen and (max-width: 46rem) {
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h1 br {
        display: none;
    }

    .red_circle {
        right: 50%;
        transform: translateX(50%);
        bottom: -5rem;
    }

    article {
        padding: 6rem 2rem 1rem;
    }

    footer {
        margin-top: 0;
        padding: 2rem;
        background: #a38f78;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .box:first-of-type,
    .box:nth-of-type(2) {
        width: 100%;
    }
}

@media only screen and (max-width: 35rem) {
    article {
        padding: 1rem;
    }

    footer {
        padding: 1rem 1rem 1.5rem;
    }

    .red_circle {
        position: static;
        transform: none;
        margin: 1rem auto 0;
    }
}