﻿@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-condensed-v27-latin-300.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-300.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-300.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-300.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-300.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v27-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v27-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-700.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-condensed-v27-latin-900.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-900.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-900.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-900.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-900.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Roboto Condensed';
    font-style: italic;
    font-weight: 900;
    src: url('../fonts/roboto-condensed-v27-latin-900italic.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v27-latin-900italic.woff2') format('woff2'), url('../fonts/roboto-condensed-v27-latin-900italic.woff') format('woff'), url('../fonts/roboto-condensed-v27-latin-900italic.ttf') format('truetype'), url('../fonts/roboto-condensed-v27-latin-900italic.svg#RobotoCondensed') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #fff;
    font-family: 'Roboto Condensed', Arial, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

#wrapper {
    max-width: 1000px;
    margin: 16px auto;
    border: 1px solid #000;
    padding: 38px 490px 16px 54px;
    background: #001230 url(../images/background.jpg) right no-repeat;
    position: relative;
    overflow: hidden;
    height: 703px;
}

.mitarbeiter {
    display: none;
}

header p {
    font-weight: 300;
}

.background {
    padding: 10px 16px;
    transform: rotate(-3deg);
    text-align: center;
    color: #001230;
    background: #D4E25B;
    position: absolute;
    top: 220px;
    right: 408px;
    width: 189px;
}

.background strong {
    display: block;
}

footer {
    position: absolute;
    right: 48px;
    bottom: 38px;
}

.kontakt {
    position: relative;
    padding: 20px 20px 20px;
    background: #D4E25B;
    width: 282px;
}

.qrcode {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

footer p {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 300;
    color: #011230;
}

footer a {
    color: #011230 !important;
}

p {
    text-align: justify;
    hyphens: auto;
}

strong {
    font-weight: 900;
}

h1 {
    margin: 0 160px 10px 0;
    font-weight: 900;
    font-size: 15px;
    line-height: 25px;
}

h2 {
    margin: 0 0 28px;
    font-weight: 900;
    font-size: 33px;
    line-height: 41px;
    color: #D5E05B;
    width: 19rem;
    border-top: 4px solid #D5E05B;
    border-bottom: 4px solid #D5E05B;
}

h2 span {
    display: block;
    color: #00ABE5;
    border-top: 4px solid #D5E05B;
}

h3 {
    margin: 0 0 28px 12px;
    font-weight: 300;
    font-size: 18px;
    line-height: 22px;
    color: #011230;
}

h3:before {
    content: '';
    width: 64px;
    height: 80px;
    shape-outside: polygon(0 0, 0% 100%, 100% 0);
    float: left;
}

h4 {
    padding: 32px 12px 10px 29px;
    font-weight: 900;
    font-size: 28px;
    line-height: 32px;
    position: absolute;
    top: -90px;
    left: -82px;
    font-style: italic;
    transform: rotate(-5deg);
    color: #011230;
    background: #01ABE6;
    width: 160px;
    height: 160px;
    border-radius: 50%;
}

h4 span {
    color: #d4e15b;
}

h5 {
    margin: 20px 0 4px;
    font-weight: 900;
    font-size: 15px;
    line-height: 20px;
    color: #D5E05B;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #fff;
    text-decoration: none;
}

@media all and (max-width: 1000px) {
    #wrapper {
        padding: 38px 472px 16px 16px;
        margin: 0;
        border: none;
    }

    h1 {
        hyphens: auto;
        text-wrap: pretty;
    }

    p {
        text-align: left;
        text-wrap: pretty;
    }

    :is(a, p span) {
        white-space: nowrap;
    }

    br:not(footer br) {
        display: none;
    }
}

@media all and (max-width: 900px) {
    #wrapper {
        padding: 16px;
        height: auto;
        background: #011230;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    header {
        width: 100%;
    }

    .mitarbeiter {
        display: flex;
        justify-content: center;
    }

    article {
        margin: 0;
        width: calc(100% - 388px);
    }

    .background {
        position: static;
        margin: 20px auto 0;
    }

    footer {
        position: static;
        display: flex;
        justify-content: center;
        margin: 120px 0 0;
    }

    h1 {
        margin: 0 0 10px;
    }

    h2 {
        margin: 20px auto;
        text-align: center;
    }

    h4 {
        right: -16px;
    }
}

@media all and (max-width: 767px) {
    #wrapper {
        display: block;
    }

    article {
        width: 100%;
    }
}

@media all and (max-width: 480px) {
    footer {
        margin: 32px 0 0;
    }

    .kontakt {
        width: 100%;
        padding: 16px;
    }

    .kontakt :is(h3, p) {
        text-align: center;
    }

    .qrcode {
        justify-content: center;
    }

    h3 {
        margin: 0 0 16px;
    }

    h3:before {
        display: none;
    }

    h4 {
        position: static;
        margin: 0 auto 10px;
    }
}

@media all and (max-width: 374px) {
    h2 {
        width: 18rem;
        font-size: 31px;
    }
}