@charset "utf-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #003E86;
    font-family: "Arial", sans-serif;
    font-size: 0.938rem;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.4rem;
    line-height: 1.3;
    margin-bottom: .5rem;
}

h3 {
    font-size: 1.15rem;
    color: #BC0F21;
    margin-bottom: .5rem;
}

ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

ul li {
    padding: 0 0 0 2.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1rem;
    color: #BC0F21;
    font-size: 1.3rem;
    line-height: 1.1;
}

.banner {
    position: relative;
    margin-top: -130px;
    padding: 130px 0 0;
    background: url("../images/bg.svg") bottom right/cover no-repeat;
}

.title {
    position: absolute;
    top: 7rem;
    left: 1.5rem;
    width: 60%;
}

.flex {
    display: flex;
    gap: 2rem;
}

.flex .left {
    flex: 65%;
}

.flex .right {
    flex: 35%;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin: 1rem 0;
}

.benefits div {
    display: flex;
    align-items: center;
    flex: 47%;
    gap: .625rem;
}

.benefits div p {
    margin-bottom: 0;
}

.kontakt {
    background: url("../images/frau.png") top right /contain no-repeat;
    padding: 50px 0;
    margin: 1rem 0 1.5rem;
    max-width: 22rem;
}

.kontakt p {
    margin-bottom: .625rem;
}

.kontakt p:last-of-type {
    margin-bottom: 0;
}

.button a {
    padding: 10px 45px;
    background-color: #bd1220;
    font-weight: 700;
    color: #fff;
    border-radius: 12px;
    display: inline-block;
    transition: .3s;
}

.button a:hover {
    background-color: #d81024;
}

header {
    display: flex;
    justify-content: center;
    padding: 1rem;
}

article {
    padding: 3rem 1.5rem 0;
    background-image: linear-gradient(180deg, #DBE9F5 0%, #FFFFFF 50%);
}

footer {
    padding: .5rem 1.5rem 2rem;
}

@media only screen and (max-width: 59.938rem) {

    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        font-size: 2.75rem;
    }
}

@media only screen and (max-width: 53rem) {
    .flex {
        display: block;
    }

    .button {
        display: flex;
        justify-content: center;
    }

    .banner {
        display: none;
    }

    .title {
        position: static;
        width: 100%;
        text-align: center;
        margin-bottom: 2rem;
    }

    article {
        padding-top: 2rem;
    }

    h1 {
        font-size: 2.25rem;
        margin-bottom: .5rem;
    }
}

@media only screen and (max-width: 40rem) {
    article {
        padding: 1.5rem 1rem 0;
    }

    footer {
        padding: .5rem 1rem 2rem;
    }

    .benefits {
        gap: .3rem;
    }

    .benefits div {
        flex: 100%;
    }
}

@media only screen and (max-width: 36rem) {

    footer {
        padding: .5rem 1rem 1.5rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    ul li {
        padding-left: 1rem;
    }



    .title {
        margin-bottom: 1.5rem;
    }

    p,
    ul,
    .kontakt {
        margin-bottom: 1rem;
    }
}