* {
    box-sizing: content-box;
}

html {
    overflow-x: hidden;
}

body {
    color: #333332;
    margin: 0;
}

@media (max-width: 992px) {
    html body {
        font-size: 16px;
        line-height: 26px;
    }
}

p {
    margin: 0 0 20px 0;
}

p:last-child {
    margin: 0;
}

p.quote {
    font-size: 26px;
    line-height: 36px;
    font-style: italic;
    color: #b3b3b1;
    border-left: 10px solid #F2F2F2;
    padding-left: 20px;
    margin: 30px 0;
}

@media (max-width: 992px) {
    p.quote {
        font-size: 20px;
        line-height: 30px;
    }
}

p.small-quote {
    color: #8d8d8b;
    font-style: italic;
}

a {
    color: #BA0000;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

ul {
    padding: 0 0 10px 0;
}

ul li {
    list-style: none;
    position: relative;
    padding: 0 0 0 35px;
    font-weight: 400;
    margin-bottom: 20px;
}

ul li ul li {
    padding: 0 0 0 15px;
    margin: 7px 0;
    font-weight: 400;
}

ul li ul li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    background-color: #cccccb;
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 12px;
}

@media (max-width: 992px) {
    ul li ul li::before {
        top: 10px;
    }
}

ul li::before {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background-color: #BA0000;
    border-radius: 10px;
    position: absolute;
    left: 0;
    top: 7px;
}

@media (max-width: 992px) {
    ul li::before {
        width: 10px;
        height: 10px;
        top: 8px;
    }
}

@media (max-width: 992px) {
    ul li {
        padding: 0 0 0 20px;
    }
}

h1 {
    font-weight: 700;
    margin: 0 0 20px 0;
}

h2 {
    font-size: 40px;
    line-height: 55px;
    margin: 0 0 20px 0;
}

@media (max-width: 1200px) {
    h2 {
        font-size: 35px;
        line-height: 45px;
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 25px;
        line-height: 35px;
    }
}

@media (max-width: 992px) {
    h2 {
        font-size: 20px;
        line-height: 30px;
    }
}

h3 {
    font-size: 40px;
    line-height: 55px;
    font-weight: 400;
    margin: 80px 0 20px 0;
    color: #676764;
}

@media (max-width: 12000px) {
    h3 {
        font-size: 35px;
        line-height: 45px;
    }
}

@media (max-width: 992px) {
    h3 {
        font-size: 25px;
        line-height: 35px;
        margin: 40px 0 20px 0;
    }
}

@media (max-width: 992px) {
    h3 {
        font-size: 20px;
        line-height: 30px;
    }
}

h3:first-child {
    margin: 0 0 20px 0;
}

h5 {
    font-size: 14px;
    line-height: 24px;
    font-weight: 700;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;;
    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
}

body.menu-displayed {
    overflow: hidden;
}

#pagewrapper {
    min-width: 320px;
    border: 20px solid #FFFFFF;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    #pagewrapper {
        border: 10px solid #FFFFFF;
    }
}

.head {
    color: #BA0000;
    position: relative;
    padding-top: 10px;
    margin: 0 0 20px 0;
}

.head::before {
    content: '';
    display: block;
    height: 1px;
    max-width: 300px;
    background-color: #BA0000;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

.center {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

#logo {
    position: absolute;
    top: 0;
    left: 0;
    padding: 70px 70px 0 70px;
    z-index: 10;
}

@media (max-width: 992px) {
    #logo {
        padding: 40px 40px 0 40px
    }
}

@media (max-width: 767px) {
    #logo {
        padding: 30px 30px 0 30px;
    }
}

@media (max-width: 767px) {
    #logo img {
        width: 100px;
    }
}

#call-us {
    position: absolute;
    top: 130px;
    right: 70px;
    z-index: 10;
    width: 39px;
    height: 39px;
}

@media (max-width: 992px) {
    #call-us {
        top: 80px;
        right: 40px;
    }
}

@media (max-width: 767px) {
    #call-us {
        top: 60px;
        right: 30px;
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 300px) {
    #call-us {
        display: none;
    }
}

#call-us img {
    width: 100%;
}

.two-col-wrap .col {
    float: left;
    width: 50%;
    box-sizing: border-box;
}

@media (max-width: 960px) {
    .two-col-wrap .col {
        align-self: center;
        display: flex;
        flex-direction: column;
        width: 100%;
        margin-top: 40px;
    }

    .two-col-wrap .col .head {
        align-self: start;
    }
}

.two-col-wrap:before,
.two-col-wrap:after {
    content: '';
    display: table;
}

.two-col-wrap:after {
    clear: both;
}

.two-col-wrap:first-child {
    padding-right: 20px;
}

@media (max-width: 767px) {
    .two-col-wrap:first-child {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

.two-col-wrap:last-child {
    padding-left: 20px;
}

@media (max-width: 767px) {
    .two-col-wrap:last-child {
        padding-left: 0;
    }
}

.three-col-wrap {
    margin: 0 -20px 40px -20px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    width: 100%;
}

.three-col-wrap .col {
    width: 225px;
}

@media (max-width: 767px) {
    .three-col-wrap .col {
        width: calc(100% - 45px);
        margin-bottom: 10px;
    }
}

@media (max-width: 992px) {
    .three-col-wrap {
        margin: 0 -10px 20px -10px;
    }
}

@media (max-width: 767px) {
    .three-col-wrap {
        display: block;
        margin: 0 -10px 0 -10px;
    }
}

footer {
    padding-left: 50px;
    padding-right: 50px;
    font-size: 16px;
    line-height: 26px;
    padding-top: 150px;
    padding-bottom: 150px;
    margin: 100px 0 0 0;
    background-color: #F2F2F2;
}

footer .subline {
    font-size: 14px;
    line-height: 24px;
    border-top: 1px solid #bfbfbf;
    margin: 40px 0 0 0;
    padding: 20px 0 0 0;
}

h5 {
    margin: 0 0 40px 0;
}

@media (max-width: 767px) {
    h5 {
        margin: 0 0 20px 0;
    }
}

.contact a {
    color: #333332;
    text-decoration: underline;
}

.navigation a {
    color: #333332;
    display: block;
}

.footer-col-wrap .footer-col {
    float: left
}

footer .subline {
    font-size: 14px;
    line-height: 24px;
    border-top: 1px solid darken(#F2F2F2, 20);
    margin: 40px 0 0 0;
    padding: 20px 0 0 0;
}

footer .subline a {
    color: #333332;
    display: inline-block;
}

footer .subline .left {
    float: left;
}

footer .subline .right {
    float: right;
}

footer .subline .right a {
    margin: 0 0 0 10px;
}

@media (max-width: 767px) {
    footer .subline {
        font-size: 12px;
        line-height: 22px;
        margin: 20px 0 0 0;
    }
}

footer h5 {
    margin: 0 0 40px 0;
}

@media (max-width: 767px) {
    footer h5 {
        margin: 0 0 20px 0;
    }
}

@media (max-width: 992px) {
    footer {
        padding-top: 100px;
        padding-bottom: 100px;
    }
}

@media (max-width: 767px) {
    footer {
        padding-top: 40px;
        padding-bottom: 4;
    }
}

@media (max-width: 767px) {
    footer {
        font-size: 14px;
        line-height: 24px;
    }
}

.footer-col-wrap .footer-col:first-child {
    margin: 0 40px 0 0;
}

@media (max-width: 767px) {
    .footer-col-wrquoteap .footer-col:first-child {
        margin: 0 20px 0 0;
    }
}

footer .footer-col-wrap:before,
footer .footer-col-wrap:after {
    content: '';
    display: table;
}

footer .footer-col-wrap:after {
    clear: both
}

@media (max-width: 767px) {
    .hide-mobile {
        display: none;
    }
}

a.btn,
input[type="submit"],
button {
    align-self: center;
    font-weight: 600;
    color: #fff;
    background-color: #BA0000;
    border: 2px solid #BA0000;
    display: inline-block;
    text-decoration: none;
    padding: 14px 40px;
    border-radius: 54px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 20px 0 0 0;
    text-align: center;
    transition: all ease .3s;
    width: 320px;
}

@media (max-width: 767px) {
    a.btn,
    input[type="submit"],
    button {
        font-size: 14px;
        padding: 10px 15px;
        margin: 0;
        width: 250px;
    }
}

a.btn:hover {
    cursor: pointer;
    transform: translateY(-4px);
}

button.full {
    font-weight: 600;
    color: #ffffff;
    background-color: #BA0000;
}

.headline {
    color: #BA0000;
    text-align: center;
    position: relative;
    margin: 0 20px;
}

.headline span {
    display: inline-block;
    margin: 0 auto;
    background-color: #F2F2F2;
    padding: 0 20px;
    position: relative;
}

.headline::before {
    content: '';
    max-width: 740px;
    width: 100%;
    height: 1px;
    background-color: #BA0000;
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

ul.page-nav {
    transition: all 0.5s;
}

#menuToggle.menu-displayed~.menuOpen .open {
    background-color: transparent;
}

#menuToggle.menu-displayed~.menuOpen .open:before {
    content: "";
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

#menuToggle.menu-displayed~.menuOpen .open:after {
    content: "";
    transform: rotate(-45deg);
    position: relative;
    top: 0;
    right: 0;
    z-index: 1;
}

section.subpage-intro {
    background-color: #F2F2F2;
    padding-top: 300px;
    padding-bottom: 100px;
}

section.subpage-intro {
    background-color: #F2F2F2;
    padding-top: 300px;
    padding-bottom: 100px;
}

section.subpage-intro {
    background-color: #F2F2F2;
    padding-top: 300px;
    padding-bottom: 100px;
}

@media (max-width: 992px) {
    section.subpage-intro {
        padding-top: 200px;
        padding-bottom: 50px;
    }
}

@media (max-width: 767px) {
    section.subpage-intro {
        padding-top: 100px;
        padding-bottom: 20px;
    }
}

section.subpage-intro h1 {
    font-size: 32px;
}

section.subpage-intro .inner {
    max-width: 700px;
}

section.subpage-intro {
    background-color: #F2F2F2;
    padding-top: 300px;
    padding-bottom: 100px;
}

section.subpage-intro {
    padding-top: 200px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 767px) {
    section.subpage-intro {
        padding-top: 100px;
        padding-bottom: 20px;
    }
}

section.subpage-intro h1 {
    font-weight: 600;
    font-size: 40px;
    line-height: 55px;
    margin: 0 0 20px 0;
}

@media (max-width: 1200px) {
    section.subpage-intro h1 {
        font-size: 35px;
        line-height: 45px;
    }
}

@media (max-width: 992px) {
    section.subpage-intro h1 {
        font-size: 25px;
        line-height: 35px;
    }
}

@media (max-width: 767px) {
    section.subpage-intro h1 {
        font-size: 20px;
        line-height: 30px;
    }
}

section.subpage-intro .inner {
    max-width: 700px;
}

section.page-sidebar,
section.page h2 {
    font-weight: 400;
}

section.page-sidebar h2 {
    color: #BA0000;
    font-weight: 400;
}

section.page-sidebar,
section.page .zertifikat {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
    margin: 0 0 20px 0;
}

@media (max-width: 992px) {

    section.page-sidebar,
    section.page section.page-sidebar .zertifikat {
        padding: 20px;
    }
}

section.page-sidebar,
section.page section.page-sidebar img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

section.page {
    margin-top: 150px;
    margin-bottom: 150px;
}

section.page-sidebar {
    margin-top: 10px;
    margin-bottom: 100px;
}

section.page-sidebar .inner {
    display: flex;
    flex-wrap: wrap;
}

section.page-sidebar .inner .main {
    box-sizing: border-box;
    float: left;
    width: 65%;
    padding-right: 20px;
}

@media (max-width: 767px) {
    section.page-sidebar .inner .main {
        float: none;
        width: 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
}

section.page-sidebar .inner .sidebar {
    box-sizing: border-box;
    float: left;
    width: 35%;
    padding-left: 20px;
}

@media (max-width: 767px) {
    section.page-sidebar .inner .sidebar {
        float: none;
        width: 100%;
        padding-left: 0;
    }
}

section.page-sidebar .inner .sidebar .kontakt-partner {
    background-color: #F2F2F2;
}

section.page-sidebar .inner .sidebar .kontakt-partner .title {
    background-color: #333332;
    color: #ffffff;
    padding: 20px;
}

section.page-sidebar .inner .sidebar .kontakt-partner .content {
    padding: 20px;
}

section.page-sidebar .inner .sidebar .kontakt-partner .content a {
    text-decoration: underline;
}

section.page-sidebar .inner .sidebar .kontakt-partner img {
    width: 100%;
}

/* Section: portraits */
section.portraits {
    margin-top: 150px;
    margin-bottom: 150px;
}

section.portraits .inner {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;
}

section.portraits img {
    display: block;
    width: 100%;
}

section.portraits .slogan,
section.portraits .portrait,
section.portraits .contact {
    border: 5px solid #ffffff;
    box-sizing: border-box;
    flex: 0 1 24.99%;
}

@media (max-width: 767px) {

    section.portraits .slogan,
    section.portraits .portrait,
    section.portraits .contact {
        flex: 0 1 100%;
    }
}

section.portraits .portrait {
    background-color: #F2F2F2;
}

section.portraits .portrait .text {
    padding: 20px;
    text-align: center;
}

@media (max-width: 767px) {
    section.portraits .portrait .text {
        padding: 10px;
    }
}

section.portraits .slogan {
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 55px;
    padding: 20px;
    text-transform: uppercase;
}

@media (max-width: 1700px) {
    section.portraits .slogan {
        font-size: 26px;
        line-height: 36px;
    }
}

@media (max-width: var(--bp-large)) {
    section.portraits .slogan {
        font-size: 20px;
        line-height: 30px;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    section.portraits .slogan {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    section.portraits .slogan {
        display: none;
    }
}

section.portraits .slogan span {
    color: #BA0000;
}

section.portraits .contact {
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 55px;
    padding: 20px;
}

@media (max-width: 1700px) {
    section.portraits .contact {
        font-size: 26px;
        line-height: 36px;
    }
}

@media (max-width: var(--bp-large)) {
    section.portraits .contact {
        font-size: 20px;
        line-height: 30px;
        padding: 10px;
    }
}

@media (max-width: 992px) {
    section.portraits .contact {
        font-size: 16px;
        line-height: 26px;
    }
}

@media (max-width: 767px) {
    section.portraits .contact {
        display: none;
    }
}

section.portraits .contact h3 {
    font-size: 14px;
    line-height: 24px;
    margin: 0;
    text-transform: uppercase;
}

section.portraits .contact span {
    color: #BA0000;
}

.info {
    font-size: 16px;
    line-height: 26px;
    align-self: flex-end;
    margin: 0 auto 40px auto;
    text-align: center;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    .info {
        margin: 0 auto 20px auto;
    }
}

@media (max-width: 767px) {
    .info {
        font-size: 12px;
        line-height: 20px;
    }
}

.info p {
    margin: 0 0 10px 0;
}

@media (max-width: 767px) {
    .info p {
        margin: 0;
    }
}

.info span {
    margin: 0 10px;
}

@media (max-width: 767px) {
    .info span {
        margin: 0 5px;
    }
}

.info a.mail {
    color: #333332;
}

.hidden {
    display: none !important;
}

.red {
    color: #BA0000;
}

.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.fade-in.visible {
    opacity: 1;
    pointer-events: auto;
}

.referenzen {
    margin-top: 150px;
    margin-bottom: 150px;
}

@media (max-width: 992px) {
    .referenzen {
        margin-top: 100px;
        margin-bottom: 100px;
    }
}

@media (max-width: 767px) {
    .referenzen {
        margin-top: 80px;
        margin-bottom: 80px;
    }
}

.inner::after {
    clear: both;
}

section.referenzen {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: calc(100% - 40px);
}

section.referenzen img {
    background-color: #F2F2F2;
    width: 300px;
}

.adresse {
    font-size: 16px;
    line-height: 26px;
    background-color: #F2F2F2;
    padding: 20px;

    margin-bottom: 40px;
}

@media (max-width: 992px) {
    .adresse {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .adresse {
        margin-bottom: 10px;
    }
}

.adresse .ort,
.adresse .tel,
.adresse .fax,
.adresse .mail {
    padding-left: 40px;
}

@media (max-width: 992px) {

    .adresse .ort,
    .adresse .tel,
    .adresse .fax,
    .adresse .mail {
        padding-left: 30px;
    }
}

.adresse .ort {
    position: relative;
}

.adresse .ort::before {
    top: 6px;
    background-image: url('./../img/icon-ort.svg');
}

.adresse .tel {
    position: relative;
    padding-top: 20px;
    border-top: 1px solid #d9d9d9;
    margin: 20px 0 0 0;
}

.adresse .tel::before {
    top: 22px;
    background-image: url('./../img/icon-tel.svg');
}

.adresse .fax {
    position: relative;
    margin: 10px 0 0 0;
}

.adresse .fax::before {
    top: 2px;
    background-image: url('./../img/icon-fax.svg');
}

.adresse .mail {
    position: relative;
    margin: 10px 0 0 0;
}

.adresse .mail::before {
    top: 2px;
    background-image: url('./../img/icon-mail-small.svg');
}

.adresse .ort::before,
.adresse .tel::before,
.adresse .fax::before,
.adresse .mail::before {
    content: '';
    display: block;
    width: 25px;
    height: 25px;
    background-size: cover;
    position: absolute;
    left: 0;
}

@media (max-width: 992px) {

    .adresse .ort::before,
    .adresse .tel::before,
    .adresse .fax::before,
    .adresse .mail::before {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 992px) {
    footer .navigation {
        display: none;
    }
}