@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #212529;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    margin: 1rem auto 0;
    overflow: hidden;
    background: #fff;
}

.contain > img {
    border-radius: 0 0 5px 5px;
}

.contain {
    max-width: 1160px;
    margin: 0 auto;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a.rot,
.rot {
    color: #e32414
}

.gross {
    font-size: 20px;
    line-height: 1.1;
    color: #424242;
}

h1 {
    font-size: 30px;
    margin: 0 0 .625rem;
    line-height: 1.2;
    color: #424242;
}

h2 {
    font-size: 18px;
    margin: 0 0 20px;
}

h2 {
    font-size: 20px;
    color: #e32414;
    margin: 0 0 30px;
}

p {
    margin: 0 0 10px;
}

span {
    white-space: nowrap;
}

ul {
    list-style: none;
    margin: 0 0 60px;
    padding: 0;
}

ul li {
    padding: 0 0 8px 60px;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -25px;
    font-size: 1.375rem;
    line-height: 1;
}

.linie {
    margin: 0 0 47px;
}

.linie li {
    padding: 0 0 0 12px;
}

.linie li:before {
    content: "";
    float: left;
    position: relative;
    width: .312rem;
    height: .062rem;
    background: #000;
    margin-left: -12px;
    top: .687rem;
}

header {
    border-bottom: 50px solid #e30615;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin: 0 auto 0 0;
    display: block;
}

.box {
    margin: 25px 0 70px;
}

.details {
    padding: 50px 0 30px;
    display: flex;
    gap: 20px;
}

.details p {
    padding: 10px;
    background: #f08d3c;
    color: #fff;
    font-size: 21px;
    line-height: 1;
    border-radius: 6px;
}

.details p:last-of-type {
    background: none;
    color: #999;
}

.section {
    padding: 26px 0;
}

.section p {
    margin: 0 0 47px;
}

.section p:nth-last-of-type(2) {
    margin: 0 0 30px;
}

.flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 100px;
    margin: 30px 0
}

.flex h2,
.flex p {
    margin: 0 0 20px;
}

.text {
    width: 60%
}

.bild a img {
    transform: scale(1.00124);
    transition: all 0.7s;
    transition: opacity 0.4s ease-in-out;
    display: block;
    overflow: hidden;
    width: 344px;
    margin: 0 auto;
}

.bild a img:hover {
    transition: all 0.7s;
    transition: opacity 0.4s ease-in-out;
    transition: all 1s;
    display: block;
    width: 380px;
    transform: scale(1);
}

a.apply {
    background: #e30615;
    color: #fff;
    display: block;
    width: fit-content;
    padding: 12px 16px 10px;
    margin: 0 0 60px;
    font-size: 15px;
    border-radius: 3px;
}

@media only screen and (max-width: 1159px) {
    #wrapper {
        border: none;
        margin: 0 auto;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        text-align: center
    }

    h1,
    h2 {
        margin: 0 0 1rem;
    }

    h2 {
        font-size: 1.125rem;
    }

    ul li {
        padding-left: 1.625rem;
    }

    ul li:before {
        margin-left: -1.125rem;
    }

    header {
        padding: 1rem 16px;
    }

    footer {
        padding: 0 16px;
    }

    .box {
        padding: 16px 16px 0;
        margin: 20px 0;
    }

    .section {
        padding: 10px 16px;
    }

    .details {
        justify-content: center;
        flex-wrap: wrap;
    }

    .details p {
        text-align: center;
        font-size: 18px;
    }

    .gross {
        font-size: 18px;
    }

    a.wrap {
        white-space: normal;
    }
}

@media only screen and (max-width: 899px) {
    .flex {
        flex-direction: column;
        gap: 50px;
        margin: 0
    }

    .text {
        width: 100%
    }
}

@media only screen and (max-width: 600px) {
    header {
        display: flex;
        justify-content: center;
    }

    h1,
    .details p {
        text-align: center;
    }

    .details {
        gap: 10px;
        padding: 20px 0
    }

    .flex {
        flex-direction: column;
    }

    .box {
        margin: 10px 0 0;
    }

    a.apply {
        margin: 0 auto 1rem;
        width: 100%;
        text-align: center;
    }
}
