@import url('https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,400i,500,500i,600,600i,700,700i');

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
}

body {
    font-family: "Work Sans", sans-serif;
    font-weight: 400;
    color: #444444;
    background: #ffffff;
    font-size: 1rem;
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    padding-bottom: clamp(200px, 40vw, 300px);
}

@media (min-width: 992px) {
    body {
        font-size: 1.125rem;
    }
}

body::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: clamp(300px, 50vw, 500px);
    background-position: top left, center;
    background-color: #ffffff;
    background-size: 100% clamp(30px, 10vw, 140px), cover;
    background-attachment: scroll, fixed;
    background-repeat: no-repeat;
}

a {
    color: #e2001a;
}

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

b,
strong {
    font-weight: 600;
}

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

@media (min-width: 992px) {
    #menu>.row {
        max-width: 1920px;
        padding: 0 34px;
    }
}

#overflow {
    overflow: clip;
}

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo img {
        max-width: 210px;
        width: 100%;
    }
}

#logo .row {
    margin-left: -15px;
    margin-right: -15px;
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

/* #region ------------------------------------ navigation -------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background: #fff;
        border: none !important;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    }

    #burgerButtonInner2,
    #burgerButton:after,
    #burgerButtonInner {
        background-color: #e2001a;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 10px;
        transition: transform 200ms linear, opacity 200ms linear;
    }

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

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

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButtonInner2 {
        top: 24px;
    }

    #burgerButton:after {
        top: 32px;
        content: "";
        display: block;
    }

    .navbar-nav {
        padding: 20px 10px;
    }

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

    .navbar-collapse[aria-expanded="true"],
    .navbar-collapse.in {
        left: 0;
        opacity: 1;
        pointer-events: auto;
    }

    .navbar-header {
        position: fixed;
        top: 15px;
        right: 15px;
        z-index: 101;
    }

    .navbar-toggle::before {
        content: "";
        opacity: 0;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 0;
        z-index: -1;
        display: block;
        background-color: rgba(0, 0, 0, 0.5);
        transition: width 300ms linear, opacity 300ms linear;
    }

    .navbar-toggle[aria-expanded="true"]::before {
        opacity: 1;
        width: 90px;
    }

    .dropdown-toggle-button-wrapper {
        top: 7px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 3px;
    }

    .dropdown-toggle-button-wrapper {
        right: 0;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 5px;
        right: 0;
    }
}

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

    .navbar-collapse.collapse.in:after,
    .navbar-toggle[aria-expanded="true"]::before {
        width: 40%;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        position: sticky;
        top: 0;
        left: 0;
        right: 0;
        z-index: 61;
        padding-top: 7px;
        padding-bottom: 4px;
        background-color: #fff;
        box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.12);
    }

    #menu .navbar,
    div#myNavbar,
    div#myNavbar>ul,
    li[class*="toplevel"],
    li[class*="toplevel"]>a {
        height: 100% !important;
        min-height: 100% !important;
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between !important;
        align-items: center !important;
    }

    nav.horizontally li[class*="toplevel"]>.dropdown-menu {
        position: absolute;
        top: calc(100% + 4px);
        left: 0 !important;
        right: clamp(-265px, -14vw, -15px) !important;
        z-index: 1000;
    }

    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        position: absolute;
        left: 365px !important;
        width: calc(100% - 365px);
        top: 0;
        min-height: 100%;
    }

    nav.horizontally :is(.navbar-nav, [class*="secondlevel"]>ul>li) {
        position: relative;
    }

    .navbar-default .navbar-nav li :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        display: block !important;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }

    .navbar-default :is(.open>.dropdown-menu, .navbar-nav li[class*="toplevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]:hover>ul, .navbar-nav li[class*="secondlevel"]>ul[style*="block"]) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:focus-within>ul, li[class*="secondlevel"]:focus-within>ul) {
        pointer-events: auto !important;
        opacity: 1 !important;
    }

    .navbar-default .nav .open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    .navbar-default .navbar-nav :is(li[class*="toplevel"]:hover>ul, li[class*="secondlevel"]:hover>ul) {
        z-index: 1003;
    }
}

@media (min-width: 1200px) {
    nav.horizontally li[class*="secondlevel"]>.dropdown-menu {
        left: 455px !important;
        width: calc(100% - 455px);
    }
}

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

.navbar-default li[class*="toplevel"]>a {
    color: #444444;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px 12px 16px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 4px;
    }

    nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
        padding-right: 32px;
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]+li {
        margin-left: 15px;
    }

    .navbar-default li[class*="toplevel"]>a {
        padding-right: 0;
        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 li[class*="toplevel"]>a {
        display: block;
    }
}

.navbar-default li[class*="toplevel"]>a::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 6px);
    width: 13px;
    height: 13px;
    background: #e2001a;
    pointer-events: none;
    transition: background 300ms linear, height 300ms linear;
}

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

.navbar-default li[class*="toplevel"]:hover>a::after,
.navbar-default li[class*="toplevel"]>a:hover::after,
.navbar-default li[class*="toplevel"]>a:focus::after,
.navbar-default li[class*="toplevel"].open>a::after,
.navbar-default li[class*="toplevel"].open>a:hover::after,
.navbar-default li[class*="toplevel"].open>a:focus::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
.navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
    background: #292323;
    height: calc(50% + 6px);
}

.navbar-default li[class*="toplevel"]:focus-within>a::after {
    background: #292323;
    height: calc(50% + 6px);
}

@media (min-width: 992px) {

    .navbar-default li[class*="toplevel"]:hover>a::after,
    .navbar-default li[class*="toplevel"]>a:hover::after,
    .navbar-default li[class*="toplevel"]>a:focus::after,
    .navbar-default li[class*="toplevel"].open>a::after,
    .navbar-default li[class*="toplevel"].open>a:hover::after,
    .navbar-default li[class*="toplevel"].open>a:focus::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:hover::after,
    .navbar-default li[class*="toplevel"][class*="_over"]>a:focus::after {
        height: calc(50% + 11px);
    }

    .navbar-default li[class*="toplevel"]:focus-within>a::after {
        height: calc(50% + 11px);
    }
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default [class*="toplevel"]>ul {
    background: rgba(41, 35, 35, 0.9);
}

.navbar-default [class*="secondlevel"]>ul {
    background: #e2001a;
}

@media (max-width: 991px) {
    .navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        padding: 15px 10px;
    }

    .navbar-default [class*="secondlevel"]>ul {
        margin-bottom: 15px;
    }
}

@media(min-width:992px) {
    .navbar-default :is([class*="toplevel"]>ul, [class*="secondlevel"]>ul) {
        padding: clamp(40px, 3vw, 60px) 30px;
    }

    .navbar-default [class*="toplevel"]>ul::before,
    .navbar-default [class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    .navbar-default [class*="toplevel"]>ul::before {
        height: 6px;
        left: 0;
        right: 0;
        top: -6px;
    }

    .navbar-default [class*="secondlevel"]>ul::before {
        width: 70px;
        left: -35px;
        bottom: 0;
        top: 0;
    }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
    color: #fff;
    text-align: left;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
    padding: 10px 20px;
    background-image: repeating-linear-gradient(to right, #ffffff, #ffffff 2px, transparent 2px, transparent 7px, #ffffff 7px);
    background-size: 100% 1px;
    background-position: top left;
    background-repeat: no-repeat;
}

.navbar-default :li[class*="secondlevel"]>a {
    font-size: 1.125rem;
    font-weight: 500;
}

.navbar-default :is(li[class*="secondlevel"]:nth-last-child(2)>a, li[class*="thirdlevel"]:nth-last-child(2)>a) {
    background-image: repeating-linear-gradient(to right, #ffffff, #ffffff 2px, transparent 2px, transparent 7px, #ffffff 7px), repeating-linear-gradient(to right, #ffffff, #ffffff 2px, transparent 2px, transparent 7px, #ffffff 7px);
    background-position: top left, bottom left;
}

@media (min-width: 992px) {
    .navbar-default :is(li[class*="secondlevel"]>a, li[class*="thirdlevel"]>a) {
        padding: 12px 30px;
        font-size: 1.125rem;
    }
}

.navbar-default li[class*="secondlevel"]>a {
    font-weight: 500;
    text-transform: uppercase;
}

.navbar-default li[class*="thirdlevel"]>a {
    font-weight: 400;
}

.navbar-default li[class*="secondlevel"]>a::before,
.navbar-default li[class*="thirdlevel"]>a::before {
    content: "";
    display: block;
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: translateX(-9px);
    transition: opacity 300ms linear, transform 300ms linear;
}

.navbar-default li[class*="secondlevel"]>a::before {
    left: 0;
    top: calc(50% - 6px);
    width: 13px;
    height: 13px;
    background: #fff;
}

.navbar-default li[class*="thirdlevel"]>a::before {
    left: -20px;
    top: calc(50% - 14px);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 0 14px 25px;
    border-color: transparent transparent transparent #fff;
}

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a::before {
        left: 7px;
    }

    .navbar-default li[class*="thirdlevel"]>a::before {
        left: -30px;
    }

    .navbar-default :is(li[class*="secondlevel"], li[class*="thirdlevel"]) {
        width: 305px;
    }
}

@media (min-width: 1200px) {
    .navbar-default :is(li[class*="secondlevel"], li[class*="thirdlevel"]) {
        width: 395px;
    }
}

@media (max-width: 991px) {
    .navbar-default li[class*="secondlevel"]>a.dropdown-toggle2 {
        padding-right: 32px;
    }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-default li[class*="secondlevel"]:hover>a::before,
.navbar-default li[class*="secondlevel"]>a:hover::before,
.navbar-default li[class*="secondlevel"]>a:focus::before,
.navbar-default li[class*="secondlevel"].open>a::before,
.navbar-default li[class*="secondlevel"].open>a:hover::before,
.navbar-default li[class*="secondlevel"].open>a:focus::before,
.navbar-default li[class*="secondlevel"][class*="_over"]>a::before,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:hover::before,
.navbar-default li[class*="secondlevel"][class*="_over"]>a:focus::before,
.navbar-default li[class*="thirdlevel"]>a:hover::before,
.navbar-default li[class*="thirdlevel"]>a:focus::before,
.navbar-default li[class*="thirdlevel"].open>a::before,
.navbar-default li[class*="thirdlevel"].open>a:hover::before,
.navbar-default li[class*="thirdlevel"].open>a:focus::before,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a::before,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:hover::before,
.navbar-default li[class*="thirdlevel"][class*="_over"]>a:focus::before {
    opacity: 1;
    transform: translateX(0);
}

.navbar-default li[class*="secondlevel"]:focus-within>a::before,
.navbar-default li[class*="thirdlevel"]:focus-within>a::before {
    opacity: 1;
    transform: translateX(0);
}

/* #endregion -------------------------------- navigation --------------------------------------- */

/* #region -------------------------------------- banner ---------------------------------------- */

#slider {
    max-height: 300px;
    overflow: hidden;
    position: relative;
}

#headerpic .nivo-controlNav {
    bottom: clamp(20px, 5vw, 40px);
}

@media (min-width: 576px) {
    #slider {
        max-height: 400px;
    }
}

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

    #headerpic a.nivo-nextNav {
        right: 65px;
    }

    #headerpic .nivo-controlNav {
        bottom: 54px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 104px;
    }
}

@media (min-width: 1200px) {
    body.index #slider {
        max-height: 812px;
    }

    #headerpic .nivo-controlNav {
        bottom: 200px;
    }

    body.index #headerpic .nivo-controlNav {
        bottom: 245px;
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-mask {
    display: block;
    background: linear-gradient(-4deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) calc(50% + 1px));
    background-size: 100% clamp(30px, 10vw, 140px);
    background-position: bottom left;
    background-repeat: no-repeat;
}

/* #endregion ------------------------------------ banner --------------------------------------- */

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

#content-box {
    background: #fff;
    padding: 0;
}

@media (min-width: 992px) {
    #content-box {
        margin-top: -30px;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    }

    #background {
        position: relative;
        z-index: 60;
        background-repeat: no-repeat;
        background-position: top 560px left, top 100px right;
        background-image: url("../img/schmuckelement-links.png"),
            url("../img/schmuckelement-rechts.png");
        ;
    }
}

@media (min-width: 1200px) {
    #content-box {
        margin-top: -175px;
    }
}

#content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
    padding-left: 15px;
    padding-right: 15px;
}

@media (min-width: 576px) {
    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 992px) {
    #background #content-box>*>*:not(.bf-controls-position) {
        padding-left: clamp(15px, 8vw, 135px);
    }

    #content-box>*>*:not(.bf-controls-position):not(#innerfooter) {
        padding-right: clamp(15px, 8vw, 135px);
    }
}

#content>*:not(.bf-controls-position) {
    padding-top: clamp(30px, 8vw, 58px);
    padding-bottom: clamp(30px, 8vw, 58px);
}

#content #content-area {
    padding-top: clamp(30px, 10vw, 38px);
}

#content>*:not(.bf-controls-position):not(:last-child) {
    border-width: 0 0 1px 0;
    border-style: solid;
    border-image: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.05)) 1;
}

#content :is(#content-area, #news) {
    border-image: linear-gradient(to right, #7bb8cd, #e2f1f6) 1;
}

#content-area {
    text-align: left;
}

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
    color: #e2001a;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Work Sans", sans-serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(1.875rem, 4vw, 2.8125rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 4vw, 2.1875rem);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.375rem, 4vw, 1.625rem);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(1.25rem, 4vw, 1.375rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

/* #region ------------------------------------ bf controls ------------------------------------- */

.bf-controls-position {
    color: #fff;
    position: fixed;
    z-index: 30;
    left: 0;
    bottom: 0;
    right: 0;
}

@media (max-width: 991px) {
    .bf-controls-position {
        background: #e2001a;
        padding: 0 15px;
        border-top: 2px solid #fff;
    }
}

@media (min-width: 992px) {
    .bf-controls-position {
        position: absolute;
        z-index: 51;
        left: 0;
        right: unset;
        top: 0;
        width: 60px;
    }

    .bf-controls {
        position: sticky;
        top: 150px;
        left: 0;
        right: 0;
    }

    .bf-controls>*+* {
        margin-top: 4px;
    }
}

/* search + contact buttons */
#search-button,
#mail-button a,
#contact-tab summary {
    width: 100%;
    max-width: 70px;
    display: block;
    position: relative;
    height: clamp(54px, 3vw, 60px);
}

#mail-button{
    font-size: 0;
    width: 60px;
    height: 57.6px;
}

#mail-button a{
    background: #e2001a url("../img/icon-mail.png") center / 24px auto no-repeat;
}

#search-button {
    background: #e2001a url("../img/icon-suche.png") center / 24px auto no-repeat;
}

#contact-tab summary {
    cursor: pointer;
    background: #e2001a url("../img/icon-kontakt.png") top 18px left 14px / 28px auto no-repeat;
    font-size: 0;
    list-style: none;
}
#mail-button a::after,
#search-button::after,
#contact-tab summary::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    left: 4px;
    border: 2px solid #ffffff;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear;
}

@media (min-width: 992px) {

    #mail-button a::after,
    #search-button::after,
    #contact-tab summary::after {
        top: 8px;
        right: 8px;
        bottom: 8px;
        left: 8px;
    }
}

#contact-tab:hover summary::after,
#contact-tab:focus summary::after {
    opacity: 0.5;
}

#mail-button a:hover::after,
#mail-button a:focus::after,
#search-button:hover::after,
#search-button:focus::after,
#contact-tab[open] summary::after {
    opacity: 1;
}

/* contact tab */

#contact-tab {
    width: 100%;
    max-width: 70px;
}

#contact-content {
    position: fixed;
    left: 15px;
    right: 15px;
    bottom: 70px;
    max-width: unset;
    background: #e2001a;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    #contact-content {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
    }

    #contact-content::before {
        content: "";
        display: block;
        position: fixed;
        z-index: -1;
        top: 0;
        right: 0;
        bottom: clamp(54px, 3vw, 60px);
        left: 0;
        background: rgba(0, 0, 0, 0.2);
    }
}

@media (min-width: 992px) {
    #contact-content {
        position: absolute;
        left: calc(100% + 15px);
        right: unset;
        bottom: unset;
        top: 10px;
        width: 920px;
    }

    #contact-content::after {
        content: "";
        display: block;
        position: absolute;
        top: 9px;
        left: -22px;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 12px 22px 12px 0;
        border-color: transparent #e2001a transparent transparent;
    }
}

#contact-content>* {
    padding: clamp(24px, 3vw, 30px) 24px;
}

@media (min-width: 768px) {
    #contact-content>* {
        width: 50%;
        flex-grow: 1;
    }
}

:is(.contact-tab-1, .contact-tab-2) :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.contact-tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit;
}

.contact-tab-1 a {
    text-decoration: underline;
}

.contact-tab-2 {
    background: #ffffff;
    color: #444444;
}

/* #endregion --------------------------------- bf controls ------------------------------------- */

/* #region ------------------------------------ quick links ------------------------------------- */

#quick-links {
    font-size: 1rem;
    padding-bottom: clamp(30px, 10vw, 58px);
}

@media (min-width: 992px) {
    #content-box #quick-links {
        padding-top: 0;
    }
}

#quick-links>.row {
    row-gap: 15px;
}

@media (min-width: 576px) {
    #quick-links>.row {
        row-gap: 30px;
    }
}

@media (min-width: 1200px) {
    #quick-links>.row {
        flex-wrap: nowrap;
    }

    #quick-links>.row>* {
        flex-shrink: 1;
    }
}

.quick-link {
    padding: 35px 18px 70px 20px;
    background: #e2001a;
    position: relative;
    z-index: 1;
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    .quick-link {
        margin-top: -50px;
        height: calc(100% + 50px);
        min-height: calc(100% + 50px);
    }
}

.quick-link:hover,
.quick-link:focus {
    background-color: #5c1019;
}

.quick-link * {
    pointer-events: none;
}

.quick-link a {
    pointer-events: all;
}

.quick-link::after {
    content: "";
    pointer-events: none;
    display: block;
    width: 30px;
    height: 30px;
    position: absolute;
    bottom: 24px;
    right: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12.961' viewBox='0 0 13 12.961'%3E%3Cpath d='M6.992-12.225l1.23-1.015a30.816,30.816,0,0,0,1.854,2.694,17.239,17.239,0,0,0,1.854,2.04,22.812,22.812,0,0,0,2.05,1.688V-6.7a19.828,19.828,0,0,0-2.05,1.679,18.329,18.329,0,0,0-1.854,2.04,28.346,28.346,0,0,0-1.854,2.7L6.992-1.294A24.77,24.77,0,0,1,8.6-3.51a17.506,17.506,0,0,1,1.61-1.727,10.158,10.158,0,0,1,1.562-1.21,5.249,5.249,0,0,1,1.464-.644v.664a5.249,5.249,0,0,1-1.464-.644,10.158,10.158,0,0,1-1.562-1.21A17.506,17.506,0,0,1,8.6-10.01,24.77,24.77,0,0,1,6.992-12.225ZM.98-7.54H7.909q1.23,0,2.157.059t1.649.137l1.171.586-1.171.586q-.722.078-1.649.137t-2.157.059H.98Z' transform='translate(-0.98 13.24)' fill='%23fff'/%3E%3C/svg%3E%0A") center / 28px auto no-repeat;
}

.quick-link,
.quick-link :is(h1, h2, h3, h4, h5, h6, a) {
    color: #fff;
}

.quick-link :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    margin-bottom: 4px;
    font-weight: 700;
}

.quick-link-text :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.375rem, 4vw, 1.875rem);
    margin-bottom: 0;
    text-transform: uppercase;
}

.quick-link :is(.row, .row > *) {
    position: static;
}

.quick-link :is(img, a.has-image) {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.quick-link img {
    z-index: -1;
    opacity: 0.1;
    transition: opacity 300ms linear;
}

:is(.quick-link:hover, .quick-link:focus) img {
    opacity: 0;
}

/* #endregion ---------------------------------- quick links ------------------------------------ */

/* #region ----------------------------------- news + events ------------------------------------ */

#news {
    background: #dff5fb;
}

:is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
    color: #292323;
    text-transform: uppercase;
    font-size: clamp(1.875rem, 6vw, 4.0625rem);
    line-height: 1;
    -moz-hyphens: none;
    hyphens: none;
}

@media (min-width: 992px) {
    :is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
        margin-bottom: 0;
    }
}

:is(#events, #news) .tab-content a {
    display: inline-block;
    padding-right: 25px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1.25rem, 3vw, 1.5625rem);
    line-height: 1.2;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13.488' viewBox='0 0 13 13.488'%3E%3Cpath d='M5.863-11.8,8.342-13.52Q9.279-12,10.177-10.778A18.4,18.4,0,0,0,12.041-8.6,18.238,18.238,0,0,0,14.1-6.844v.117a17.676,17.676,0,0,0-2.059,1.767,19.51,19.51,0,0,0-1.864,2.176q-.9,1.21-1.835,2.752L5.863-1.75a14.8,14.8,0,0,1,1.747-2.2A12.538,12.538,0,0,1,9.454-5.517,11.4,11.4,0,0,1,11.27-6.552a9.33,9.33,0,0,1,1.62-.566v.664a9.8,9.8,0,0,1-1.62-.556A10.832,10.832,0,0,1,9.454-8.035,12.243,12.243,0,0,1,7.61-9.616,15.778,15.778,0,0,1,5.863-11.8ZM1.1-8.445H5.687a23.7,23.7,0,0,1,3.035.185,24.8,24.8,0,0,1,2.645.478l1.64,1-1.64,1a24.794,24.794,0,0,1-2.645.478,23.7,23.7,0,0,1-3.035.185H1.1Z' transform='translate(-1.1 13.52)' fill='%23e2001a'/%3E%3C/svg%3E%0A") center right / 16px auto no-repeat;
}

@media (max-width: 991px) {
    :is(#events, #news) :is(.tab-headline + .tab-content, .tab-content + .tab-headline) {
        margin-top: 20px;
    }
}

/* tabnews/tabevents */

:is(#news, #events) .tab_link_entries {
    display: grid;
    gap: 30px 30px;
    margin-top: clamp(15px, 4vw, 30px);
}

@media (min-width: 576px) {

    :is(#news, #events) .tab_link_entries {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 992px) {
    #news .tab_link_entries {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (min-width: 992px) {
    #events .tab_link_entries {
        grid-template-columns: 330px 330px;
    }
}

@media (min-width: 1200px) {
    #news .tab_link_entries {
        padding-left: clamp(10px, 10vw, 120px);
    }

}

:is(#news, #events) .tab_link_entry {
    font-size: 1rem;
    color: #fff;
    border-bottom: none !important;
    position: relative;
    z-index: 1;
}

@media (min-width: 576px) and (max-width: 991px) {

    :is(#news) .tab_link_entry:nth-child(3) {
        grid-column-start: 1;
        grid-column-end: 3;
    }
}

#news .tab_link_entry {
    margin-left: 15px;
    margin-top: 114px;
    background: #e2001a;
    padding: 80px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 0;
    top: -114px;
    right: 15px;
    height: 114px;
    border: 4px solid rgba(226, 0, 26, 0.5);
    transition: border 300ms linear;
}

#news .tab_link_entry:hover::after {
    border-color: #e2001a;
}

#news .tab_link_entry:focus-within::after {
    border-color: #e2001a;
}

#events .tab_link_entry {
    padding: 80px clamp(15px, 4vw, 40px) clamp(15px, 4vw, 50px) clamp(15px, 4vw, 40px);
    background: #e2001a;
}

#events .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: 27px;
    right: -14px;
    height: 205px;
    bottom: -13px;
    border: 4px solid rgba(226, 0, 26, 0.5);
    transition: border 300ms linear;
}

#events .tab_link_entry:hover::after {
    border-color: #e2001a;
}

#events .tab_link_entry:focus-within::after {
    border-color: #e2001a;
}

:is(#news, #events) .tab_link_entry a {
    color: #fff;
}

:is(#news, #events) .tab_link_mandat a {
    display: block;
    margin: 10px 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_date, .tab_link_date) {
    font-size: 0.875rem;
    font-weight: 400;
    color: #444444;
    background: #fff;
    line-height: 1.2;
    padding: 8px 10px;
    position: absolute;
    top: 0;
    z-index: 1;
    right: 0;
    max-width: calc(100% - 15px);
    min-width: 100px;
    text-align: center;
}

#events .tab_link_entry .tab_link_date {
    top: 30px;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
    font-size: clamp(1.25rem, 3vw, 1.375rem);
    margin-bottom: 4px;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background: url('../img/platzhalter.png') center / cover no-repeat;
    box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    height: 150px;
    top: -95px;
    left: -15px;
    width: calc(100% - 18px);
}

#events .tab_link_entry .tab_preview_picture {
    height: 100%;
    opacity: 0.1;
    top: 0;
    left: 0;
    width: 100%;
}

:is(#news, #events) .tab_link_entry .tab_preview_picture img {
    display: block;
    object-fit: cover;
    width: 100%;
    height: 100%;
    margin: 0;
}

:is(#news, #events) .tab_link_entry :is(.tab_spacer, .tab_link_mehr) {
    display: none;
}

#events .tab_link_mehr {
    display: none;
}

@media (min-width: 992px) {
    .eventCalender {
        background-color: #e2001a;
        padding: 14px 0 14px 40px;
        position: relative;
        margin-left: -82px;
    }
    .eventCalender::after {
        content: "";
        display: block;
        position: absolute;
        z-index: 0;
        left: 27px;
        right: -14px;
        height: 205px;
        bottom: -13px;
        border: 4px solid rgba(226, 0, 26, 0.5);
        transition: border 300ms linear;
    }
    
    .eventCalender:hover::after {
        border-color: #e2001a;
    }
    
    .eventCalender:focus-within::after {
        border-color: #e2001a;
    }
}

.eventCalender #clr-events-hide {
    display: none;
}

.eventCalender .tab_link_mehr {
    display: none;
}

.eventCalender .eventclndr-tab {
    max-width: 270px;
    margin-bottom: 0;
    z-index: 2;
    position: relative;
}


/* #endregion -------------------------------- news + events ------------------------------------ */

/* #region --------------------------------------- footer --------------------------------------- */

footer {
    color: #fff;
    background: #e2001a;
    position: relative;
    z-index: 1;
}

footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 0;
}

footer a {
    color: #fff;
}

footer :is(.iframe-wrapper-manual-enabling, iframe) {
    display: block;
    min-width: 100% !important;
    width: 100% !important;
    height: 306px;
    margin-bottom: -1px;
}

@media (min-width: 992px) {
    footer :is(.iframe-wrapper-manual-enabling, iframe) {
        display: block;
        min-width: calc(100% + clamp(15px, 8vw, 135px)) !important;
        width: calc(100% + clamp(15px, 8vw, 135px)) !important;
        margin-right: calc(-1 * clamp(15px, 8vw, 135px));
    }
}

@media (min-width: 1200px) {
    .map-tab {
        padding-left: 35px;
    }
}

#footer {
    font-size: 1rem;
}

.footer-tab {
    padding-top: clamp(30px, 10vw, 50px);
    padding-bottom: clamp(30px, 10vw, 40px);
}

@media (max-width: 991px) {
    #footer {
        padding-bottom: 30px;
    }
}

#footer ul {
    padding-left: 0;
    list-style: none;
}

#footer ul li {
    padding: 6px 0 6px 18px;
    position: relative;
}

#footer ul li::before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: 14px;
    width: 7px;
    height: 7px;
    border: 1px solid #fff;
    transition: background-color 300ms linear;
}

#footer ul li:hover::before,
#footer ul li:focus::before {
    background: #fff;
}

#innerfooter {
    padding: 20px;
    background: #fff;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter ul a {
    color: #444444;
}

#innerfooter ul :is(a:hover, a:focus) {
    color: #e2001a;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #444444;
    }

    #innerfooter li {
        display: inline-block;
    }
}

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

/* #endregion ------------------------------------ footer --------------------------------------- */

/* #region -------------------------------------- vernetzt -------------------------------------- */

#innerfooter #vernetzt {
    text-align: right;
    font-size: 0.875rem;
    color: #444444;
    line-height: 1.3;
    margin: 20px auto 0 auto;
    text-decoration: none;
}

@media (min-width: 992px) {
    #innerfooter #vernetzt {
        margin: 0;
    }
}

#innerfooter #vernetzt span span {
    display: block;
}

#innerfooter #vernetzt img {
    margin-left: 18px;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */