@charset "utf-8";

:root {
    font-size: 16px;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Calibri", Arial, sans-serif;
    font-size: 1rem;
    line-height: 1;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    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: 0 0 1.25rem;
}

h1 {
    font-size: 50px;
    color: #E31B11;
    text-align: center;
    line-height: 1;
    padding: 20px 0 30px
}

h1 small {
    font-size: 19px
}

h2 {
    font-weight: normal;
    font-size: 16px;
    color: #E31B11;
    margin-bottom: 3px
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 2.5rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -2.5rem;
    font-size: 0.95em;
    line-height: 1.2;
}

article {
    padding: 0 1rem 10px
}

.center p {
    text-align: center;
}

.flex {
    display: flex;
    padding: 20px 30px 60px;
    justify-content: space-between
}

.column {
    width: 40%
}

.kontakt {
    display: flex;
    align-items: flex-end;
    column-gap: 25px
}

.logo {
    position: absolute;
    right: 30%;
    bottom: 6%;
    transform: rotate(-15deg);
}

.bewerben {
    position: absolute;
    right: 2%;
    bottom: 5%
}

footer {
    background: #E31B12;
    padding: 16px;
    color: #fff;
}

footer p {
    font-size: 19px;
    text-align: center;
    margin-bottom: 0
}

@media only screen and (max-width: 49.938rem) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 16px;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    h1 {
        line-height: 0.9;
        font-size: 35px
    }

    .flex {
        padding: 0
    }

    .logo,
    .bewerben {
        position: static;
    }

    .logo {
        transform: rotate(0)
    }

    .flex {
        column-gap: 30px
    }

    .column {
        width: 50%;
    }

    article {
        padding: 0 0 10px
    }

    .center-responsive {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .kontakt {
        align-items: center;
    }
}

@media only screen and (max-width: 500px) {
    .flex {
        flex-direction: column;
    }

    .column {
        width: 100%;
    }

    ul li {
        padding-left: 1.1rem
    }

    ul li:before {
        margin-left: -1.1rem;
    }
}

@media only screen and (max-width: 350px) {
    .kontakt {
        flex-direction: column;
    }

    .kontakt p {
        text-align: center
    }
}