﻿@font-face {
    font-display: swap;
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/lato-v24-latin-700.eot');
    src: url('../fonts/lato-v24-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/lato-v24-latin-700.woff2') format('woff2'), url('../fonts/lato-v24-latin-700.woff') format('woff'), url('../fonts/lato-v24-latin-700.ttf') format('truetype'), url('../fonts/lato-v24-latin-700.svg#Lato') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot');
    src: url('../fonts/pt-sans-narrow-v18-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff2') format('woff2'), url('../fonts/pt-sans-narrow-v18-latin-regular.woff') format('woff'), url('../fonts/pt-sans-narrow-v18-latin-regular.ttf') format('truetype'), url('../fonts/pt-sans-narrow-v18-latin-regular.svg#PTSansNarrow') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'PT Sans Narrow';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/pt-sans-narrow-v18-latin-700.eot');
    src: url('../fonts/pt-sans-narrow-v18-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/pt-sans-narrow-v18-latin-700.woff2') format('woff2'), url('../fonts/pt-sans-narrow-v18-latin-700.woff') format('woff'), url('../fonts/pt-sans-narrow-v18-latin-700.ttf') format('truetype'), url('../fonts/pt-sans-narrow-v18-latin-700.svg#PTSansNarrow') format('svg');
}

:root {
    font-size: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    color: #000;
    font-family: 'PT Sans Narrow', Arial, sans-serif;
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}

#wrapper {
    position: relative;
    max-width: 1100px;
    margin: 1rem auto;
    border: 1px solid #000;
    overflow: hidden;
    background-color: #fff;
}

:is(article, .flex, footer) {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2%;
}

article {
    padding: 0 16px 5px;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
}

.flex>div {
    width: 48%;
}

article section:nth-of-type(1) {
    width: 44%;
}

article section:nth-of-type(2) {
    width: 52.5%;
    padding: 16px 0;
}

article section:nth-of-type(2) p:not(.infor-person) {
    text-align: justify;
    hyphens: auto;
    line-height: 17px;
}

.hide-desktop {
    display: none;
}

.kontakt {
    padding: 36px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.kontakt p {
    margin: 0 0 2px
}

.mitarbiter {
    margin-top: 20px;
}

.mitarbiter p {
    background: #ed1c24;
    color: #FFF;
    text-align: center !important;
    padding: 7px 16px;
    margin: 0 !important;
    font-size: 18px;
}

.banner {
    margin: 0 0 16px -1rem;
    padding: 0 0 17px;
    background: #D2232A;
}

.infor img {
    float: left;
    margin: 0 25px 5px 0;
}

footer {
    padding: 3px 20px 6px;
    align-items: flex-end;
    gap: 10px;
}

footer p {
    font-size: 18px;
}

p span:not(.show-desktop, .hide-desktop) {
    color: #ed1c24;
}

p.infor-person {
    display: block;
    margin: 0 50px 16px 195px;
    padding: 8px 10px;
    color: #FFF;
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0% 100%);
    background: #d2232a;
}

h1 {
    font-size: 22px;
    line-height: 1.3;
    text-align: center;
    font-family: 'Lato', Arial, sans-serif;
    background: #62B32B;
    color: #FFF;
    padding: 4px 1rem;
    font-weight: 700;
}

:is(a:link, a:visited, a:hover, a:active) {
    color: #000;
    white-space: nowrap;
    text-decoration: none;
}

img {
    max-width: 100%;
    vertical-align: bottom;
}

@media all and (max-width:1098px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    p {
        text-align: left !important;
        hyphens: auto;
        text-wrap: pretty;
    }

    :is(p.infor-person, h1) br {
        display: none;
    }

    p.infor-person {
        background: #D2232A;
        clip-path: none;
        margin-right: 0;
    }

    h1 {
        padding: 12px 16px;
    }
}

@media all and (max-width:880px) {
    :is(article section, .banner img) {
        width: 100% !important;
    }

    .banner {
        margin: 0 -16px 16px;
    }

    .mitarbiter {
        display: flex;
        justify-content: center;
        align-items: center;
        background: #ed1c24;
        flex-wrap: wrap;
    }

    .mitarbiter :is(img, p) {
        width: 50%;
    }

    .kontakt {
        justify-content: flex-start;
        gap: 20px;
    }

    .show-desktop {
        display: none;
    }

    .hide-desktop {
        display: inline;
    }

    .infor img {
        margin-bottom: 20px;
    }
}

@media all and (max-width:650px) {
    .flex {
        display: block;
    }

    :is(.flex>div, .mitarbiter :is(img, p)) {
        width: 100%;
    }

    p.infor-person {
        background: #D2232A;
    }

    .kontakt {
        padding: 20px 0 0;
    }
}

@media all and (max-width:530px) {
    footer {
        justify-content: center;
    }

    p.infor-person {
        margin: 0 0 16px;
    }

    .infor img {
        float: none;
        margin: 0 0 16px;
    }
}