@charset "utf-8";

:root {
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #000;
    font-family: "Arial", sans-serif;
    font-size: 1rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
}

#wrapper {
    position: relative;
    max-width: 50rem;
    margin: 1rem auto;
    overflow: hidden;
    background: #fff;
    background: url(../images/bg.jpg) no-repeat top center;
    background-size: 100%;
    padding: 30px;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

p {
    margin: 0 0 16px;
}

h1,
h2,
h3 {
    color: #fff;
}

h1 {
    font-size: 50px;
    line-height: 1;
    font-weight: 600;
}

h1 small {
    font-size: 25px;
}

h1 + h2 {
    margin: 0 0 20px;
}

h2 {
    font-size: 25px;
    line-height: 1.3;
}

h3 {
    font-size: 25px;
    margin: 0 0 10px;
}

ul {
    list-style: none;
    margin: 0 0 0.625rem;
    padding: 0;
}

ul li {
    padding-left: 1.375rem
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.375rem;
    font-size: 1.375em;
    line-height: 1;
}

header {
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    padding: 0 20px 60px 10px;
}

.walk {
    position: absolute;
    top: 20px;
    left: 30px;
}

main {
    display: flex;
    justify-content: space-between;
}

.inhalt {
    width: 55%
}

footer {
    padding: 20px 0 250px
}

.flex {
    display: flex;
    gap: 16px;
}

.text p {
    margin: 0 0 5px;
    line-height: 1.3;
}

@media only screen and (max-width: 799px) {
    #wrapper {
        border: none;
        margin: 0 auto;
        padding: 1rem;
    }

    p,
    ul {
        -moz-hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        hyphens: auto;
    }

    .walk {
        top: 0;
        left: 10px;
    }

    header {
        padding: 0 0 20px 0;
    }
}

@media only screen and (max-width: 699px) {
    #wrapper {
        background: url(../images/bg_resp.jpg) no-repeat top center;
        background-size: cover;
    }

    .walk {
        position: static;
        max-width: 130px
    }

    h1,
    h2,
    h3 {
        text-align: center
    }

    article br {
        display: none;
    }

    .inhalt {
        width: 100%
    }

    footer {
        padding: 20px 0 0;
    }

    .flex {
        justify-content: center
    }
}

@media only screen and (max-width: 460px) {
    .flex {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    h1 {
        font-size: 45px;
    }

    .flex {
        gap: 5px
    }

    .text p {
        text-align: center;
    }
}
