@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-condensed-v25-latin-regular.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-regular.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-regular.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-regular.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-regular.svg#RobotoCondensed') format('svg');
}

@font-face {
    font-family: 'Roboto Condensed';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-condensed-v25-latin-700.eot');
    src: local(''), url('../fonts/roboto-condensed-v25-latin-700.eot?#iefix') format('embedded-opentype'), url('../fonts/roboto-condensed-v25-latin-700.woff2') format('woff2'), url('../fonts/roboto-condensed-v25-latin-700.woff') format('woff'), url('../fonts/roboto-condensed-v25-latin-700.ttf') format('truetype'), url('../fonts/roboto-condensed-v25-latin-700.svg#RobotoCondensed') format('svg');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto Condensed', Arial, sans-serif;
    color: #000;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
}

#wrapper {
    position: relative;
    max-width: 838px;
    margin: 16px auto;
    background: #FFF;
    border: 1px solid #000;
    overflow: hidden;
}

#firma {
    padding: 32px 33% 0 5%;
    position: relative;
    font-size: 16px;
    z-index: 4;
}

#logo {
    position: absolute;
    top: 32px;
    right: 4%;
    width: 23%;
}

.margin-top {
    margin-top: 20px;
}

article {
    padding: 0 4% 5px;
    position: relative;
    z-index: 1;
    display: flow-root;
}

article p {
    padding-bottom: 8px;
}

#hg_libelle {
    margin: 0 -2.09375rem;
}

.banner-rp {
    display: none;
}

#title {
    padding: 95px 4% 0;
    position: absolute;
    top: 26px;
    left: 0;
    width: 100%;
}

footer {
    background: #BEC1C2;
    padding: 24px 4%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
}

footer p {
    color: #24353F !important;
}

footer p:last-of-type {
    width: 55%;
}

.flexbox {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.flexbox:nth-of-type(2) {
    justify-content: space-between;
}

.leistungen {
    width: 19.5%;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.leistungen img {
    display: inline-block;
}

.leistungen p {
    margin: 0 0.25rem;
    text-align: center;
}

.content {
    width: 17%;
}

.witdh {
    width: 13%;
}

h1 {
    line-height: 1.1;
    font-size: 42px;
    font-weight: 700;
    color: #363D42;
    text-align: center;
}

h2 {
    margin: 37px 0 10px;
    line-height: 1.2;
    font-size: 16px;
    font-weight: 700;
    color: rgba(0, 141, 178, 1);
    position: relative;
}

:is(a:link, a:visited, a:active) {
    text-decoration: none;
    color: #24353F;
    white-space: nowrap;
}

a:hover {
    color: rgba(0, 141, 178, 1);
}

ul {
    padding-right: 15px;
    list-style: none;
}

li {
    position: relative;
    padding: 0 0 0 0.9375rem;
}

li:before {
    content: "\2022";
    position: absolute;
    top: -0.2725rem;
    left: 0;
    font-size: 1.25rem;
    font-family: Arial, sans-serif;
}

ul ul {
    padding-left: 35px;
}

ul ul li {
    padding-left: 10px;
}

ul ul li:before {
    content: "\203E";
    top: 6px;
    font-size: 13px;
}

span {
    white-space: nowrap;
}

img {
    max-width: 100%;
}

@media only all and (max-width:837px) {
    #wrapper {
        border: none;
        margin: 0;
    }

    .leistungen {
        height: 150px;
    }

    :is(h1, p, ul) {
        hyphens: auto;
        text-wrap: pretty;
    }

    ul {
        padding: 0;
    }

    h1 {
        font-size: 34px;
        line-height: 38px;
    }

    br:not(:is(.flexbox, footer) br) {
        display: none;
    }
}

@media only all and (max-width:720px) {
    #firma {
        padding: 16px 16px 0;
    }

    #logo {
        position: static;
        width: auto;
        margin: 0 0 16px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    article {
        padding: 16px 16px 0;
        position: relative;
        z-index: 1;
    }

    #hg_libelle {
        position: static;
        height: auto;
        margin: 0 -16px;
        opacity: 0.8;
    }

    #title {
        position: static;
        padding: 16px 0 25px;
    }

    .banner-rp {
        display: inline;
    }

    .banner-pc {
        display: none;
    }

    .flexbox {
        justify-content: center;
    }

    ul ul {
        padding-left: 0;
    }

    .leistungen {
        width: 130px !important;
        vertical-align: text-top;
        margin: 0 4%;
    }

    footer {
        padding: 16px 4%;
    }

    h2 {
        margin: 24px 0 3.2px;
    }
}

@media only all and (max-width:575px) {
    .leistungen {
        width: 170px !important;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer p:last-of-type {
        width: auto;
    }

    footer p {
        text-align: center;
    }
}

@media only all and (max-width:480px) {
    .leistungen {
        width: 130px !important;
    }
}