@import url("https://fonts.verwaltungsportal.de/css/?family=Open+Sans:300,300i,400,400i,500,500i,700,700i");

body {
    font-family: "Open Sans", sans-serif;
    color: #484848;
    background: #ffffff;
    font-size: 0.875rem;
}

a {
    color: #337ab7;
}

a:hover,
a:focus {
    color: #337ab7;
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

    .row,
    .compact,
    ._op-container .container {
        max-width: 1160px;
        width: 100%;
    }
}

/* ------------------------------------------------- logo ------------------------------------------------ */

#logo {
    display: block;
}

@media (min-width: 992px) {
    #logo {
        padding-top: 2px;
    }
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        margin-left: -5px;
    }

    #logo img {
        max-width: 123px;
        width: 100%;
    }
}

/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding: 17px 0;
        background-color: rgba(129, 129, 129, 0.9);
    }

    #burgerButton {
        font-size: 0;
        position: relative;
        z-index: 1002;
        display: block;
        width: 55px;
        height: 48px;
        border-radius: 2px;
        padding: 0;
        cursor: pointer;
        background-color: transparent;
        border: 1px solid #ffffff;
    }

    #burgerButton:before,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #ffffff;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 7px;
        -webkit-transition: transform 200ms linear, opacity 200ms linear;
        -moz-transition: transform 200ms linear, opacity 200ms linear;
        -ms-transition: transform 200ms linear, opacity 200ms linear;
        -o-transition: transform 200ms linear, opacity 200ms linear;
        transition: transform 200ms linear, opacity 200ms linear;
    }

    #burgerButton[aria-expanded="true"] #burgerButtonInner {
        -webkit-transform: rotate(-45deg) translate(-6px, 6px);
        transform: rotate(-45deg) translate(-6px, 6px);
    }

    #burgerButton[aria-expanded="true"]:before {
        opacity: 0;
    }

    #burgerButton[aria-expanded="true"]:after {
        -webkit-transform: rotate(45deg) translate(-4px, -6px);
        transform: rotate(45deg) translate(-4px, -6px);
    }

    #burgerButtonInner {
        top: 14px;
    }

    #burgerButton:before {
        top: 22px;
    }

    #burgerButton:after {
        top: 30px;
    }

    #burgerButton:before,
    #burgerButton:after {
        content: "";
        display: block;
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        top: 0;
        background: #6b6b6b;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
        opacity: 0;
        pointer-events: none;
        overflow-y: auto;
        -webkit-transition: left 300ms linear, opacity 300ms linear;
        -moz-transition: left 300ms linear, opacity 300ms linear;
        -ms-transition: left 300ms linear, opacity 300ms linear;
        -o-transition: left 300ms linear, opacity 300ms linear;
        transition: left 300ms linear, opacity 300ms linear;
    }

    .navbar-collapse.collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        height: 50px;
        width: 60px;
        border-radius: 4px;
        padding: 0;
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-collapse.in:after {
        content: "";
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        display: block;
        width: 90px;
        background-color: rgba(0, 0, 0, 0.5);
    }
}

@media (min-width: 575px) and (max-width: 991px) {
    .navbar-collapse {
        width: 60%;
    }

    .navbar-collapse.collapse.in:after {
        width: 40%;
    }
}


/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background-color: rgba(129, 129, 129, 0.9);
    }

    #menu-sticky-wrapper {
        position: absolute;
        left: 0px;
        right: 0px;
        top: 0px;
    }

    #menu>.row {
        width: 100%;
        max-width: 1900px;
    }

    nav.horizontally .navbar-nav {
        margin-right: -23px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
    }
}

/* ---------------------------------------------- toplevel ---------------------------------------------- */

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.1875rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav>li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        padding: 19px 15px;
        display: flex;
        align-content: center;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) and (min-width: 992px) {
    .navbar-default .navbar-nav>li>a {
        display: block;
    }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav>li>a:focus,
.navbar-nav>li.open>a,
.navbar-nav>li.open>a:focus,
.navbar-nav>li[class$="_over"]>a,
.navbar-nav>li[class$="_over"]>a:focus {
    font-weight: 700;
}

.navbar-nav>li:focus-within>a {
    font-weight: 700;
}

/* ----------------------------------------------- bannerBox ----------------------------------------------- */

#bannerBox {
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    height: 31vw;
    min-height: 31vw;
    display: block;
}

@media (max-width: 991px) {
    #bannerBox {
        background-position: center top 79px;
    }
}

/* ------------------------------------------------ content ----------------------------------------------- */

body:not(.index) #content {
    text-align: left;
    padding-top: 30px;
    padding-bottom: 30px;
}

@media (min-width: 992px) {
    body:not(.index) #content {
        padding-top: 60px;
        padding-bottom: 80px;
    }
}

/* ------------------------------------------------ tabSpecialHeadline ----------------------------------------------- */

.tabSpecialHeadline {
    margin-bottom: 30px;
}

/* ------------------------------------------------ aboutBox ----------------------------------------------- */

#wir {
    padding: 33px 0 90px;
}

#hrBox hr {
    height: 1px;
    opacity: 1;
    background: #eeeeee;
    margin-top: 70px;
    margin-bottom: 62px;
}

#wir .tab2 {
    font-size: 1.0625rem;
}

#wir .tabHeadline {
    text-transform: uppercase;
    font-size: clamp(1.3rem, 2vw, 1.6563rem);
    margin-bottom: 0;
    hyphens: auto;
    color: #262525;
    margin-bottom: 5px;
}

@media (max-width: 767px) {
    #wir {
        padding: 20px 0 60px 0;
    }

    #hrBox hr {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    #wir>.row>*:not(:first-child, #hrBox)+*:not(#hrBox) {
        margin-top: 30px;
    }
}

/* ------------------------------------------------ karriere ----------------------------------------------- */

#karriere {
    background: #646464;
    padding: 45px 0 72px 0;
}

#karriere>.row>*:not(:first-child, :nth-child(2))+* {
    margin-top: 30px;
}

@media (max-width: 767px) {
    #karriere {
        padding: 20px 0 60px 0;
    }

    #karriere>.row>*:not(:first-child)+* {
        margin-top: 30px;
    }
}

#karriere .tabSpecialHeadline {
    color: #ffffff;
}

#karriere .tab {
    background: #ffffff;
    padding-bottom: 10px;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden;
    height: 100%;
    hyphens: auto;
}

#karriere .tab.tab-ihk {
    display: flex;
    align-content: center;
    align-items: center;
    background: linear-gradient(45deg, #ffce00, #362765, #0491cf);
}

#karriere .tab img {
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
    position: relative;
    max-width: unset;
}

#karriere .tab a {
    position: relative;
    color: #b12025;
    display: inline-block;
}

/* ------------------------------------------------ produkte ----------------------------------------------- */

#produkte {
    background: #ededed;
    padding: 40px 0 90px 0;
}

@media (max-width: 767px) {
    #produkte {
        padding: 20px 0 60px 0;
    }

    #produkte>.row>*:not(:first-child)+* {
        margin-top: 30px;
    }
}

#produkte .tab {
    background: #ffffff;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    overflow: hidden;
    hyphens: auto;
    min-height: 100%;
}

#produkte .tab img {
    background: #a4adc1;
    width: calc(100% + 10px);
    object-fit: scale-down;
    max-height: 260px;
    left: -5px;
    right: -5px;
    position: relative;
    max-width: unset;
}

#produkte .tab a {
    position: relative;
    color: #b12025;
    display: inline-block;
}

/* ------------------------------------------------ kontakt ----------------------------------------------- */

#kontakt {
    padding: 20px 0 40px 0;
    background: #646464;
    font-size: 1rem;
}

@media (max-width: 767px) {
    #kontakt {
        padding: 40px 0;
    }
}

#kontakt * {
    color: #ffffff;
}

#kontakt .tabHeadline {
    font-size: 1.25rem;
    font-weight: 700;
    font-style: normal;
    margin-bottom: 25px;
}

#kontakt a {
    font-weight: 700;
    font-style: italic;
}

/* ------------------------------------------ h1 - h6, newslink ----------------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #484848;
    font-weight: 300;
    line-height: 1.2;
    font-family: "Open Sans", sans-serif;
    font-style: italic;
}

.tabSpecialHeadline,
h1,
.h1,
.legacy_h1 {
    font-size: 2.5rem;
    color: #262525;
    font-weight: 700;
    padding-top: 20px;
    text-transform: uppercase;
    font-style: normal;
    hyphens: auto;
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.6rem, 3vw, 2.3125rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.5rem, 2vw, 1.875rem);
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: clamp(1.5rem, 2vw, 1.875rem);
}

.index h4,
.index .h4,
.index .h4link a:link,
.index .h4link a:hover,
.index .h4link a:focus,
.index .h4link a:visited,
.index .legacy_h4 {
    font-size: 1.125rem;
    color: #b12025;
    text-transform: uppercase;
    font-weight: 700;
    font-style: normal;
}


h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.3rem, 2vw, 1.5rem);
    color: #b12025;
    font-weight: 700;
    font-style: normal;
}

h6,
.h6,
.legacy_h6 {
    font-size: 1.25rem;
}

#newslinks,
#newsmandate {
    color: #484848;
}

/* ----------------------------------------------- footer ----------------------------------------------- */

#footer {
    background: #b12025;
    padding-top: 24px;
    padding-bottom: 26px;
    color: #ffffff;
    border-top: 1px solid #ffffff;
}

#footer>.row {
    max-width: 100%;
    width: 100%;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    font-weight: 700;
}

#innerfooter li+li::before {
    content: "|";
    margin: 0 15px;
    color: #ffffff;
}

@media (min-width: 1200px) {
    #innerfooter li+li::before {
        margin: 0 30px;
    }
}

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

/* ----------------------------------------------- scrollTopBtn ----------------------------------------------- */

#scrollTopBtn {
    font-size: 0;
    width: 41px;
    height: 31px;
    position: relative;
    display: flex;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: #ffffff;
    margin: 20px auto 0 auto;
}

@media (min-width: 768px) {
    #scrollTopBtn {
        margin: 0 10px 0 auto;
    }
}

#scrollTopBtn::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 8px;
    left: 8px;
    right: 0;
    bottom: 0;
    width: 25px;
    height: 19px;
    display: inline-block;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    background: #b12025;
}