@charset "utf-8";

:root {
    font-size: 16px;
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/montserrat-v29-latin-regular.eot');
    src: url('../fonts/montserrat-v29-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v29-latin-regular.woff2') format('woff2'), url('../fonts/montserrat-v29-latin-regular.woff') format('woff'), url('../fonts/montserrat-v29-latin-regular.ttf') format('truetype'), url('../fonts/montserrat-v29-latin-regular.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/montserrat-v29-latin-500.eot');
    src: url('../fonts/montserrat-v29-latin-500.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v29-latin-500.woff2') format('woff2'), url('../fonts/montserrat-v29-latin-500.woff') format('woff'), url('../fonts/montserrat-v29-latin-500.ttf') format('truetype'), url('../fonts/montserrat-v29-latin-500.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/montserrat-v29-latin-700.eot');
    src: url('../fonts/montserrat-v29-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/montserrat-v29-latin-700.woff2') format('woff2'), url('../fonts/montserrat-v29-latin-700.woff') format('woff'), url('../fonts/montserrat-v29-latin-700.ttf') format('truetype'), url('../fonts/montserrat-v29-latin-700.svg#Montserrat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/caveat-v18-latin-regular.eot');
    src: url('../fonts/caveat-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/caveat-v18-latin-regular.woff2') format('woff2'), url('../fonts/caveat-v18-latin-regular.woff') format('woff'), url('../fonts/caveat-v18-latin-regular.ttf') format('truetype'), url('../fonts/caveat-v18-latin-regular.svg#Caveat') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Great Vibes';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/great-vibes-v19-latin-regular.eot');
    src: url('../fonts/great-vibes-v19-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/great-vibes-v19-latin-regular.woff2') format('woff2'), url('../fonts/great-vibes-v19-latin-regular.woff') format('woff'), url('../fonts/great-vibes-v19-latin-regular.ttf') format('truetype'), url('../fonts/great-vibes-v19-latin-regular.svg#GreatVibes') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Slackside One';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/slackside-one-v11-latin-regular.eot');
    src: url('../fonts/slackside-one-v11-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/slackside-one-v11-latin-regular.woff2') format('woff2'), url('../fonts/slackside-one-v11-latin-regular.woff') format('woff'), url('../fonts/slackside-one-v11-latin-regular.ttf') format('truetype'), url('../fonts/slackside-one-v11-latin-regular.svg#SlacksideOne') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #233C5B;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 850px;
    margin: 1rem auto;
    overflow: hidden;
    border: solid 1px #000;
    background: #F8F8F8 url(../images/hintergrund.jpg) top center repeat-y;
    background-size: contain
}

h1 {
    font-size: 35px;
    margin: 0 0 2rem;
    text-align: right;
    line-height: 1.2;
}

h1 small {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    top: -0.75rem;
}

h2 {
    font-size: 66px;
    font-family: 'Slackside One', Arial, sans-serif;
    color: #FF5757;
    position: relative;
    transform: rotate(-6deg);
    top: -6px;
    left: 1rem;
    font-weight: normal;
}

h3 {
    font-size: 20px;
    font-size: 700;
    margin: 0 0 10px
}

h4 {
    font-size: 32px;
    font-size: 700;
    margin: 0 0 10px
}

h4 + p {
    font-size: 65px;
    font-family: 'Slackside One', Arial, sans-serif;
    color: #FF5757;
    position: relative;
    transform: rotate(-4deg);
    top: -2rem;
    right: 5rem;
    text-indent: 14rem
}

h5 {
    font-size: 28px;
    font-size: 700;
    margin: 0 0 25px
}

h5 + p {
    font-size: 2rem;
    font-family: 'Slackside One', Arial, sans-serif;
    color: #FF5757;
    position: relative;
    transform: rotate(-4deg);
    top: -2rem;
    right: 1rem;
    text-align: right
}

h6 {
    font-weight: 400;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 10px;
}

ul {
    list-style: none;
    margin: 0 0 3rem;
    padding: 0;
}

ul li {
    padding: 0 0 10px 32px
}

ul li:before {
    content: "";
    float: left;
    position: relative;
    width: 20px;
    height: 20px;
    background: url(../images/symbol.png) no-repeat;
    background-size: contain;
    margin-left: -32px;
    top: 3px;
}

header img {
    display: block
}

article {
    padding: 3rem 0 0
}

.section {
    padding: 0 5rem;
    position: relative
}

.image {
    position: absolute;
    right: 2rem;
    bottom: -1rem;
}

.section:nth-of-type(2) h3 {
    margin: 0 0 6px
}

.margin {
    margin: 0 0 3rem
}

.align {
    margin: 0 0 2rem 2rem
}

.red {
    color: #FF5757;
    font-family: 'Slackside One', Arial, sans-serif;
    font-size: 28px;
    line-height: 1
}

.list {
    margin: 0 0 1rem
}

.list li {
    padding: 0 0 1rem 32px
}

.space li:first-of-type {
    padding: 0 0 2rem 32px
}

.list li:before {
    top: 10px
}

.flex_images {
    display: flex;
    column-gap: 3rem;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 3rem
}

.flex_text {
    display: flex;
    column-gap: 28px;
    align-items: flex-start
}

.flex_text:last-of-type {
    margin: 0 0 3rem
}

.blue {
    text-align: right;
    width: 48%;
}


.red_text {
    color: #FF5757;
    width: 50%;
}

.red_text p {
    margin: 0
}


.bg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 0 1.5rem
}

h6 {
    font-size: 31px;
    font-family: 'Slackside One', Arial, sans-serif;
    z-index: 100;
    position: relative;
    color: #fff;
    top: -6px
}

.forme {
    width: 390px;
    position: absolute;
    z-index: 10;
}

.flex_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin: 0 0 3rem
}

.box {
    width: 45%
}

.flex_small {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    column-gap: 6rem;
    padding: 0 0 0 2rem;
    margin: 0 -2rem 3rem 0
}

.flex_small > p {
    font-size: 14px;
    text-align: justify;
    hyphens: auto;
    width: 60%
}

.image_abs img {
    margin: -2rem 0 0
}

.marg {
    margin: 0 0 32px
}

.normal {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    transform: rotate(0deg);
    color: inherit;
    text-align: left;
    position: static;
    margin: 0 0 32px
}

.last h5 {
    margin: 0 0 1rem
}

footer {
    padding: 0 5rem 3rem
}

.infos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 0 1rem
}

.info {
    display: flex;
    align-items: center;
    margin: 0 0 1rem;
    column-gap: 2rem
}

.info p {
    margin: 0
}

.kontakt {
    display: flex;
    column-gap: 2rem;
    margin: 0 0 0 3rem
}

.kontakt img {
    margin: 0 0 10px
}

.person {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-direction: column
}

.button {
    position: absolute;
    bottom: 10rem;
    right: 5rem;
    width: 10rem;
    height: 10rem;
    border-radius: 50%;
    background-color: #1B4063;
   display: flex;
   justify-content: center;
   align-items: center;
}

a.apply {
    font-weight: 700;
    color: #fff;
    text-align: center;
    text-decoration: underline;
}

.pfeil {
    position: absolute;
    bottom: 20rem;
    right: 14rem;
}

@media only screen and (max-width: 849px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
        margin: 0 0 1rem;
    }

    h1 {
        font-size: 32px;
        margin: 0 0 1rem;
    }

    h1 small {
        top: -1rem
    }

    h2 {
        font-size: 3rem;
    }

    h4 {
        font-size: 24px;
    }

    h4 + p {
        font-size: 2.5rem;
    }

    h5 {
        font-size: 22px;
    }

    ul {
        margin: 0 0 1.5rem;
    }

    ul li {
        padding: 0 0 6px 32px
    }

    article {
        padding: 1rem 0 0
    }

    .section {
        padding: 0;
    }

    .image {
        right: 0;
        bottom: 0;
    }

    .margin {
        margin: 0 0 1.5rem
    }

    .align {
        margin: 0 0 1.5rem 2rem
    }

    .list {
        margin: 0
    }

    .list li {
        padding: 0 0 6px 32px
    }

    .space li:first-of-type {
        padding: 0 0 6px 32px
    }

    .flex_images {
        column-gap: 1.5rem;
        margin: 0 0 1.5rem
    }

    .flex_text {
        column-gap: 1.5rem;
        justify-content: flex-start
    }

    .flex_text:last-of-type {
        margin: 0 0 1.5rem
    }

    .blue {
        text-align: left;
    }

    .red_text {
        width: 80%;
    }

    .bg {
        margin: 0 0 1rem
    }

    .flex_box {
        gap: 1rem;
        margin: 0 0 1.5rem
    }

    .flex_small {
        column-gap: 1.5rem;
        padding: 0;
        margin: 0 0 1.5rem 0
    }

    .flex_small > p {
        text-align: left;
        width: 70%
    }

    .image_abs img {
        margin: 0;
        width: auto
    }

    .marg {
        margin: 0 0 1rem
    }

    .normal {
        margin: 0 0 16px
    }

    footer {
        padding: 0
    }

    .info {
        column-gap: 1rem
    }

    .info p {
        margin: 0
    }

    .kontakt {
        display: flex;
        column-gap: 1rem;
        margin: 0
    }
}

@media only screen and (max-width: 700px) {
    .image {
        position: static;
        margin: 0 0 1.5rem
    }

    .section:first-of-type ul li br {
        display: none
    }

    h2,
    h4 + p,
    h5 + p {
        transform: rotate(0deg)
    }

    h1 {
        text-align: left
    }

    h2 {
        position: static
    }

    .flex_images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem
    }

    h4 {
        margin: 0
    }

    h4 + p {
        position: static;
        text-indent: 0;
        margin: 0 0 1.5rem
    }

    .flex_text {
        display: block
    }

    .flex_text .blue p {
        margin: 0 0 3px;
        width: 100%
    }

    .red_text {
        margin: 0 0 1rem;
        width: 100%
    }

    .flex_box {
        display: block
    }

    .box {
        width: 100%;
    }

    .bg {
        flex-direction: column;
        align-items: flex-start;
        background: #1B4063;
        width: fit-content;
        padding: 3px 1rem
    }

    .bg .forme {
        display: none
    }

    .flex_small {
        display: block
    }

    .flex_small p {
        width: 100%
    }

    h5 + p {
        text-align: left;
        left: 0;
        top: -24px;
        margin: 0
    }
        .button {
        position: static;
        width: fit-content;
        height: auto;
        border-radius: 0;
        padding: 1rem;
    }

    .button br {
        display: none;
    }

    .pfeil {
        display: none;
    }
}