@charset "utf-8";

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/raleway-v37-latin-regular.eot');
    src: url('../fonts/raleway-v37-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/raleway-v37-latin-regular.woff2') format('woff2'), url('../fonts/raleway-v37-latin-regular.woff') format('woff'), url('../fonts/raleway-v37-latin-regular.ttf') format('truetype'), url('../fonts/raleway-v37-latin-regular.svg#Raleway') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/raleway-v37-latin-700.eot');
    src: url('../fonts/raleway-v37-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/raleway-v37-latin-700.woff2') format('woff2'), url('../fonts/raleway-v37-latin-700.woff') format('woff'), url('../fonts/raleway-v37-latin-700.ttf') format('truetype'), url('../fonts/raleway-v37-latin-700.svg#Raleway') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Titan One';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/titan-one-v17-latin-regular.eot');
    src: url('../fonts/titan-one-v17-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/titan-one-v17-latin-regular.woff2') format('woff2'), url('../fonts/titan-one-v17-latin-regular.woff') format('woff'), url('../fonts/titan-one-v17-latin-regular.ttf') format('truetype'), url('../fonts/titan-one-v17-latin-regular.svg#TitanOne') format('svg');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.875rem;
    line-height: 1.4;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

#wrapper {
    position: relative;
    max-width: 60rem;
    margin: 1rem auto;
    overflow: hidden;
    background: url("../images/bg.jpg") 0 0 / cover no-repeat;
    border: solid 1px #000;
}

:is(a:link, a:visited, a:active) {
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

a:hover {
    text-decoration: underline;
}


h1 {
    font-size: 2.25rem;
    line-height: 1.3;
    font-family: 'Titan One';
    font-weight: normal;
    padding-top: 2rem;
}

h1+p {
    font-size: 1.1rem;
}

h2 {
    font-size: 1.5rem;
    font-family: 'Titan One';
    font-weight: normal;
}

h3 {
    font-size: 1.1rem;
    font-family: 'Titan One';
    font-weight: normal;
    color: #000;
    padding: 1px 3rem;
    margin: .5rem 0;
    background: url("../images/linie.png")0 0 /contain no-repeat;
}

ul {
    list-style: none;
    padding-bottom: 1rem;
}

ul li {
    padding: 0 0 0 1.5rem;
}

ul li:before {
    content: "\2022";
    float: left;
    margin-left: -1.5rem;
}

.box1 {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-top: -3rem;
}

.box1 .text {
    padding: 1rem 1rem 1rem 3rem;
}

.box1 .icon1 {
    background-color: #ff7f00;
    width: 12rem;
    height: 10rem;
    position: relative;
    flex: 0 0 12rem;
}

.box1 .icon1 p {
    position: absolute;
    top: 3rem;
    left: 3rem;
}

.box1 .icon1::before {
    content: url("../images/mann_mit_laptop.png");
    position: absolute;
    top: -9.5rem;
    left: -5rem;
}

.italic {
    font-style: italic;
    color: #000;
    font-weight: 700;
    line-height: 1;
    transform: rotate(-10deg);
}

.box2 {
    display: flex;
}

.box2 .text {
    padding: 1rem 3rem 2rem 2rem;
}

.box2 .icon2 {
    background-color: #2cff00;
    width: 17rem;
    height: 10rem;
    position: relative;
    margin-top: 3rem;
    flex: 0 0 17rem;
}

.box2 .icon2 p {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    font-size: .875rem;
}

.box2 .icon2::before {
    content: url("../images/frau_mit_kaffee.png");
    position: absolute;
    bottom: -2.9rem;
    left: 2rem;
}

.box3 {
    display: flex;
    justify-content: end;
    position: relative;
    margin: -8.5rem 0 1rem;
}

.box3::before {
    content: url("../images/stern.png");
    position: absolute;
    bottom: 0;
    left: 3rem;
}

.box3 .icon3 {
    background-color: #ff7f00;
    width: 12rem;
    height: 10rem;
    position: relative;
}

.box3 .icon3 p {
    position: absolute;
    bottom: 1.5rem;
    left: 3rem;
    font-size: .875rem;
}

.box3 .icon3::before {
    content: url("../images/urlaub.png");
    position: absolute;
    bottom: 0;
    left: -7rem;
}

footer {
    border-top: .5rem solid #2cff00;
}

footer .flex {
    display: flex;
    gap: 1.5rem;
    padding: .625rem 3rem 2rem;
}

footer .flex>div {
    flex: 50%;
}

footer p {
    padding-bottom: 1rem;
}

.font {
    font-family: 'Titan One';
    font-weight: normal;
}

@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: 2rem;
    }

    .box3 {
        margin: -5rem 0 1rem;
    }
}

@media only screen and (max-width: 52.25rem) {
    .box1 {
        flex-direction: column;
        margin: 0;
    }

    .box1 .text {
        padding: 0 2rem 1rem;
    }

    .box1 .icon1 p {
        top: 5rem;
        left: 5rem;
    }

    .box1 .icon1::before {
        top: 0;
        left: -8rem;
    }

    .text br {
        display: none;
    }

    .box2 .text {
        padding: 1rem 2rem 0;
    }

    .box3 {
        margin: 0 0 1rem;
    }

    footer .flex {
        display: flex;
        gap: 1.5rem;
        padding: .625rem 2rem .125rem;
    }

    h3 {
        padding: 1px 2rem;
        background: #ff7f00;
    }

    .box3::before {
        left: 2rem;
    }
}

@media only screen and (max-width:45rem) {
    .box1 {
        align-items: center;
    }

    .box1 .icon1 {
        margin-left: 8rem;
    }

    .box2 {
        flex-direction: column-reverse;
        align-items: center;
    }

    .box2 .text {
        width: 100%;
    }

    .box2 .icon2 {
        margin-top: 0;
        flex: auto;
    }

    .box3 {
        margin: 4rem 0 1rem;
    }

    footer .flex {
        display: block;
    }
}

@media only screen and (max-width:30rem) {
    .box1 .text {
        padding: 0 1rem 1rem;
    }

    .box2 .text {
        padding: 1rem 1rem 0;
    }

    footer .flex {
        padding: .625rem 1rem .125rem;
    }

    h1 {
        font-size: 1.55rem;
        padding-top: 1rem;
    }

    h3 {
        padding: 1px 1rem;
        background: #ff7f00;
    }

    .box3::before {
        left: 1rem;
    }
}