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

html {
    max-width: 1930px;
    margin-left: auto;
    margin-right: auto;
    background: #f5f5f5;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-color: #01357d #ffffff;
    scrollbar-width: thin;
}

body {
    font-family: "PT Sans", sans-serif;
    font-weight: 400;
    color: #333333;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #990100;
}

a:is(:hover, :focus) {
    color: #990100;
    text-decoration: underline;
}

#content a,
b,
strong {
    font-weight: 700;
}

@media (min-width: 1200px) {

    .row,
    #headerpic-overlay {
        width: 100%;
        max-width: 1600px
    }

    #quick-access {
        max-width: 1570px
    }
}

a:focus {
    outline: 3px solid #990100 !important;
}

button:focus {
    outline: 3px solid #990100 !important;
}

form:focus {
    outline: 3px solid #990100 !important;
}

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input:focus,
#search_submit:focus {
    outline: 3px solid #990100 !important;
}

.over {
    overflow: hidden;
    position: relative;
}

/* #region ----------------------------------- topbar ------------------------------------------- */

@media (min-width: 992px) {
    #topbar {
        font-size: 1rem;
        padding: 12px 0;
        background: #f0f6ff;
        position: sticky;
        top: 0;
        z-index: 101;
    }

    #topbar .controls-col {
        column-gap: 30px;
    }

    #topbar .controls-col {
        transition: padding 200ms linear;
    }

    body:has(.is-sticky, #burgerButton[aria-expanded="true"]) #topbar .controls-col {
        padding-right: 130px;
    }

    /* style + contrast */

    #style,
    #contrast_style {
        column-gap: 10px;
    }

    :is(#style, #contrast_style) h2 {
        font-family: inherit;
        font-size: inherit;
        font-weight: 700;
        color: inherit;
        margin: 0 5px 0 0;
    }

    :is(#style, #contrast_style) button {
        width: 35px;
        height: 35px;
        padding: 0;
        border: 2px solid #333333;
        background: #ffffff;
        font-weight: 700;
        flex-shrink: 0;
        transition: border 300ms linear;
        position: relative;
        line-height: 1;
    }

    :is(#style, #contrast_style) button::after {
        content: "";
        display: block;
        position: absolute;
        top: 3px;
        right: 3px;
        bottom: 3px;
        left: 3px;
        border: 2px solid #8d8d8d;
    }

    :is(#style, #contrast_style) button:is(:hover, :focus) {
        border-color: #fdc050;
    }

    /* contrast */

    #contrast_style button::after {
        background: linear-gradient(45deg, #333333, #333333 50%, #ffffff 50%);
    }

    #contrast_style button:nth-of-type(2)::after {
        transform: scale(-1);
    }

    #contrast_style button:nth-of-type(3)::after {
        background: #0149b1;
        border: none;
    }
}

/* #endregion -------------------------------- topbar ------------------------------------------- */

/* #region ------------------------------------ header ------------------------------------------ */

/* logo */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        position: absolute;
        top: 15px;
        left: 15px;
        z-index: 20;
    }

    #logo img {
        max-width: calc(100vw - 150px);
        width: 100%;
    }

    #headerpic-overlay,
    #headerpic-overlay>* {
        position: static;
    }
}

/* banner */

#slider {
    height: clamp(350px, 42vw, 400px);
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        height: clamp(400px, 65vw, 750px);
    }

    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

@media (min-width: 992px) and (max-width: 1199px) {
    #headerpic .nivo-directionNav a {
        top: unset;
        bottom: 30px;
    }
}

@media (min-width: 1200px) {
    .index #headerpic .nivo-controlNav {
        bottom: 140px;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #headerpic {
        background: #333333;
    }

    #headerpic * {
        color: #ffffff;
    }
}

.slider-wrapper {
    height: 100%;
}

.slider-mask {
    display: block;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3));
}

@media (min-width: 1200px) {
    .index .slider-mask {
        background: linear-gradient(to top, rgba(255, 255, 255, 0) 30px, #ffffff 30px, #ffffff 32px, rgba(255, 255, 255, 0) 32px), linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.3));
    }
}

/* banner overlay */

#headerpic-overlay {
    padding: 30px 0;
    font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

@media (min-width: 992px) {
    #headerpic-overlay {
        padding: 0;
        position: absolute;
        top: 48px;
        bottom: 150px;
        left: 0;
        right: 0;
        z-index: 20;
        line-height: 1.2;
    }

    #headerpic-overlay>:first-child {
        margin-bottom: 30px;
    }

    #headerpic-overlay>:last-child {
        margin-top: auto;
    }

    #headerpic-overlay a {
        text-decoration: underline;
    }
}

@media (min-width: 1200px) {
    #headerpic-overlay {
        bottom: 280px;
    }
}

/* search */

#search {
    background: #ffffff;
    margin: clamp(25px, 3vw, 50px) 0 0 0;
    width: 100%;
    outline: 2px solid #0149b1;
}

@media (min-width: 992px) {
    #search {
        outline-color: #ffffff;
        outline-offset: 15px;
    }
}

#search_input {
    color: #333333;
    font-size: clamp(1rem, 3vw, 1.375rem);
    font-style: normal !important;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 20px clamp(15px, 3vw, 40px);
}

#search_submit {
    border: none;
    background: url('../img/icon-search.svg') center no-repeat;
    padding: 0;
    cursor: pointer;
    margin: 0;
    font-size: 0;
    min-width: clamp(60px, 10vw, 100px);
    flex-shrink: 0;
}

#search_submit:is(:hover, :focus) {
    background-color: #e8e8e8;
}

#search_input::placeholder {
    color: #696969 !important;
    opacity: 1 !important;
    font-style: italic !important;
}

/* #endregion --------------------------------- header ------------------------------------------ */

/* -------------------------------------------- @nav2 Navigation ------------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
    #menu {
        position: static !important;
    }

    #burgerButton {
        font-size: 0;
        display: block;
        width: 48px;
        height: 48px;
        border-radius: 2px;
        padding: 8px 0 0 0 !important;
        cursor: pointer;
        background: #ffffff;
        border: none !important;
        border-radius: 4px;
        color: #444444;
        font-weight: 700;
        line-height: 1;
        text-transform: uppercase;
        text-align: center;
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }

    #burgerButton::before {
        content: 'Menü';
        font-size: 13px;
        left: 0;
        right: 0;
        top: 0;
        color: #444444;
        font-weight: 700;
        text-transform: uppercase;
    }

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

    #burgerButtonInner {
        margin-bottom: 26px;
        display: inline-block;
    }

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

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

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

    #burgerButtonInner2,
    #burgerButton:after {
        -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;
    }

    #burgerButtonInner2 {
        top: 26px;
    }

    #burgerButton:after {
        top: 36px;
    }

    #burgerButtonInner2,
    #burgerButton:after {
        content: "";
        display: block;
        position: absolute;
        background: #0c5c82;
        border-radius: 2px;
        width: 38px;
        height: 3px;
        left: 5px;
        font-size: 0;
    }

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

    .navbar-collapse {
        top: 0;
        background: #ffffff;
        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 {
        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: #ffffff;
        position: relative;
    }

    nav.horizontally .navbar-nav {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify !important;
        -ms-flex-pack: justify !important;
        justify-content: space-between !important;
        -webkit-box-align: center !important;
        -ms-flex-align: center !important;
        align-items: center !important;
        flex-wrap: wrap;
    }

    nav.horizontally li[class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        padding: 10px 0;
        padding-top: 20px;
        padding-bottom: 20px;
        max-height: 60vh;
        overflow: visible;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        -webkit-transition: opacity 300ms linear;
        -moz-transition: opacity 300ms linear;
        -ms-transition: opacity 300ms linear;
        -o-transition: opacity 300ms linear;
        transition: opacity 300ms linear;
    }

    nav.horizontally li[class*="toplevel"]>ul::after {
        content: "";
        display: block;
        position: absolute;
        width: 100vw;
        z-index: -1;
        -moz-transform: translateX(-50%);
        -webkit-transform: translateX(-50%);
        -o-transform: translateX(-50%);
        -ms-transform: translateX(-50%);
        transform: translateX(-50%);
        left: 50%;
        top: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
        -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    }

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        -webkit-column-count: 4;
        -moz-column-count: 4;
        column-count: 4;
        -webkit-column-gap: 30px;
        -moz-column-gap: 30px;
        column-gap: 30px;
        max-width: 992px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 15px;
        height: auto;
    }

    nav.horizontally li[class*="secondlevel"] {
        float: none;
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        top: auto;
        z-index: 1003;
    }

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

    .nav li[class*="toplevel"].open>.dropdown-menu {
        pointer-events: none !important;
        opacity: 0 !important;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }

    nav.horizontally .dropdown-menu {
        display: block !important;
    }
}

@media (min-width: 1200px) {

    nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
    nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
        max-width: 1200px;
        padding-top: 20px;
        padding-bottom: 45px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1170px/2);
    }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
    display: none;
}

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

.navbar-default .navbar-nav li[class*="toplevel"]>a {
    color: #191919;
    font-weight: 700;
    text-align: left;
    padding: 15px 35px 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    .navbar-default .navbar-nav li[class*="toplevel"] {
        border-bottom: 1px solid rgba(68, 68, 68, 0.2);
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>a {
        padding: 34px 10px 36px 10px;
        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;
    }
}

.navbar-default .navbar-nav li[class*="toplevel"]>a::after {
    content: "";
    position: absolute;
    display: block;
    width: 0;
    bottom: 0;
    height: 6px;
    left: 50%;
    -moz-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    background: #fdc050;
    -webkit-transition: width 300ms linear;
    -moz-transition: width 300ms linear;
    -ms-transition: width 300ms linear;
    -o-transition: width 300ms linear;
    transition: width 300ms linear;
}

@media (min-width: 992px) {
    .navbar-default .navbar-nav li[class*="toplevel"]>a::after {
        top: 0;
        bottom: auto;
    }

    .navbar-default .navbar-nav li[class*="toplevel"]>a::before {
        content: "";
        position: absolute;
        display: block;
        width: 1px;
        height: 40px;
        background-color: #80a4d8;
        left: -4px;
    }
}

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

.navbar-nav li[class*="toplevel"]:hover>a,
.navbar-nav li[class*="toplevel"]>a:hover,
.navbar-nav li[class*="toplevel"]>a:focus,
.navbar-nav li[class*="toplevel"].open>a,
.navbar-nav li[class*="toplevel"].open>a:hover,
.navbar-nav li[class*="toplevel"].open>a:focus,
.navbar-nav li[class*="toplevel"][class$="_over"]>a,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:focus {
    color: #0149b1;
}

.navbar-nav li[class*="toplevel"]:focus-within>a {
    color: #0149b1;
}

.navbar-nav li[class*="toplevel"]:hover>a::after,
.navbar-nav li[class*="toplevel"]>a:hover::after,
.navbar-nav li[class*="toplevel"]>a:focus::after,
.navbar-nav li[class*="toplevel"].open>a::after,
.navbar-nav li[class*="toplevel"].open>a:hover::after,
.navbar-nav li[class*="toplevel"].open>a:focus::after,
.navbar-nav li[class*="toplevel"][class$="_over"]>a::after,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:hover::after,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:focus::after {
    width: 100%;
}

.navbar-nav li[class*="toplevel"]:focus-within>a::after {
    width: 100%;
}

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

@media (max-width: 991px) {

    .navbar-default li[class*="toplevel"]>.dropdown-menu,
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        padding: 10px;
        background: rgba(255, 255, 255, 0.96);
    }
}

@media (min-width: 992px) {
    .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
        display: block;
    }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
    color: #191919;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

@media (min-width: 992px) {
    .navbar-default li[class*="secondlevel"]>a {
        padding: 20px 0 2px 0;
    }

    .navbar-default li[class*="thirdlevel"]>a {
        padding: 5px 0;
    }
}

@media (max-width: 991px) {

    .navbar-default li[class*="secondlevel"]>a,
    .navbar-default li[class*="thirdlevel"]>a {
        overflow-wrap: break-word;
        word-wrap: break-word;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
        -moz-hyphens: auto;
        hyphens: auto;
    }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus-within,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus-within {
    color: #0149b1;
}

/* #region --------------------------------- quick-access --------------------------------------- */

#quick-access {
    font-size: 1rem;
    background: #0149b1;
}

@media (min-width: 1200px) {
    #quick-access {
        position: relative;
        z-index: 50;
        margin-top: -125px;
        border: 2px solid #ffffff;
    }
}

#quick-access * {
    color: #ffffff;
}

#quick-access .tab {
    padding: 30px 15px;
    position: relative;
    transition: background 200ms linear, margin 200ms linear, padding 200ms linear, height 200ms linear;
}

#quick-access .tab+.tab::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: -1px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.4);
    transition: opacity 200ms linear, margin 200ms linear;
}

@media (min-width: 1200px) {
    #quick-access .tab {
        padding: 75px clamp(15px, 1vw, 30px);
        height: 250px;
        overflow: hidden;
    }

    #quick-access .tab+.tab::after {
        top: 45px;
        bottom: 45px;
        width: 1px;
        height: unset;
    }

    #quick-access .tab:is(:hover, :focus-within)::after,
    #quick-access .tab:is(:hover, :focus-within)+.tab::after {
        opacity: 0;
    }

    #quick-access .tab:is(:hover, :focus-within) {
        background: #01357d;
        height: 360px;
        margin: -55px 0;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}

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

@media (min-width: 1200px) {
    #quick-access .tab .template-page {
        max-height: 0;
        opacity: 0;
        transition: opacity 200ms linear;
    }

    #quick-access .tab:is(:hover, :focus-within) .template-page {
        opacity: 1;
    }
}

#quick-access .tab a {
    font-weight: 700;
    text-decoration: underline;
}

#quick-access .tab a::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#quick-access .tab-heading {
    font-size: 1.25rem;
    padding-top: 65px;
    background: url("../img/quick-access/icon-1.png") center top no-repeat;
    transition: padding 200ms linear, transform 200ms linear;
}

@media (min-width: 1200px) {
    #quick-access .tab-heading {
        margin: 0;
    }

    #quick-access .tab:is(:hover, :focus-within) .tab-heading {
        padding: 75px 0 30px 0;
        transform: scale(1.2);
    }
}

#quick-access .tab-2 .tab-heading {
    background-image: url("../img/quick-access/icon-2.png");
}

#quick-access .tab-3 .tab-heading {
    background-image: url("../img/icon-gemeinde.png");
}

#quick-access .tab-4 .tab-heading {
    background-image: url("../img/quick-access/icon-4.png");
}

#quick-access .tab-5 .tab-heading {
    background-image: url("../img/quick-access/icon-5.png");
}

#quick-access .tab-6 .tab-heading {
    background-image: url("../img/quick-access/icon-6.png");
}

/* #endregion ------------------------------ quick-access --------------------------------------- */

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

#content {
    text-align: left;
    padding: 40px 0 clamp(40px, 5vw, 70px) 0;
}

#tickerWrapper {
    padding-top: 90px;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0149b1;
    font-weight: 700;
    line-height: 1.2;
    font-family: "PT Sans", sans-serif;
}

:is(h1, h2) :is(i, em) {
    font-style: normal;
    color: #333333;
    font-size: 1.375rem;
    display: block;
    text-transform: uppercase;
    margin-bottom: 15px;
}

#footer :is(h1, h2) :is(i, em) {
    font-size: 1.25rem;
    margin-bottom: 8px;
}

h1,
.h1,
.legacy_h1,
#headerpic-overlay .tab-headline {
    font-size: clamp(2rem, 4vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
    font-size: 1.875rem;
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4,
#tabs .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.625rem;
}

h5,
.h5,
.legacy_h5,
:is(#newsletter, #footer) :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.5rem;
}

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

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

/* #region --------------------------------- button-style --------------------------------------- */

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    display: inline-block;
    position: relative;
    background: #0149b1;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 11px 50px 11px 28px;
    outline: 1px solid #fdc050;
    outline-offset: 6px;
    margin: 12px;
    transition: outline-color 200ms linear, outline-offset 200ms linear;
}

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel])::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    background: #01357d url("../img/icon-arrow.svg") center no-repeat;
}

.scrollTop.button-style a:not([href^="mailto:"]):not(.has-image):not([rel])::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 34px;
    background: #01357d url("../img/icon-arrow-up.svg") center no-repeat;
}

/* hover */

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus) {
    outline-color: #333333;
    outline-offset: 3px;
}

/* #endregion ------------------------------ button-style --------------------------------------- */

/* #region ------------------------------------- news ------------------------------------------- */

#news {
    padding-bottom: clamp(40px, 6vw, 80px);
}

#news>.row {
    row-gap: 30px;
}

#news .specialHeadline :is(h1, h2, h3, h4, h5, h6) {
    position: relative;
    color: #0149b1;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    hyphens: auto;
}

#news .specialHeadline :is(h1, h2, h3, h4, h5, h6)::after {
    content: '';
    position: absolute;
    pointer-events: none;
    display: block;
    left: 0;
    bottom: -20px;
    width: 80px;
    height: 2px;
    background: #fdc050;
}

#news .tab_link_entries {
    display: grid;
    gap: 30px;
    margin-top: -20px;
}

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

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

#news .tab_link_entry {
    font-size: 1rem;
    position: relative;
    background: #ffffff;
    padding: 225px 26px 30px 26px;
    border: 4px solid #e8e8e8 !important;
}

#news .tab_link_entry .tab_link_title a::before,
#news .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 200px;
    max-width: 100%;
    overflow: hidden;
}

@media (min-width: 1200px) {

    #news .tab_link_entry .tab_link_title a::before,
    #news .tab_link_entry .tab_preview_picture {
        max-width: 360px;
    }
}

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#news .tab_link_entry .tab_preview_picture {
    z-index: 1;
}

#news .tab_link_entry .tab_preview_picture img {
    margin: 0 !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#news .tab_link_entry .tab_date {
    font-weight: 400;
    font-size: 1.3125rem;
}

#news .tab_link_entry .tab_link_title a {
    font-weight: 700;
    font-size: 1.375rem;
    line-height: 1.4;
    display: block;
    margin-bottom: 25px;
}

#news .tab_link_entry .tab_link_title a:not(:is(:hover, :focus)) {
    color: #333333;
}

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

/* #endregion ---------------------------------- news ------------------------------------------- */



/* ----------------------------------------------- @13f footer ----------------------------------------------- */

/* ----------------------------------------------- contactFooter ----------------------------------------------- */

#contactFooter {
    color: #191919;
    font-size: 1rem;
    padding-top: 40px;
    padding-bottom: 40px;
    background: #f0f6ff;
    hyphens: auto;
}

@media (min-width: 992px) {
    #contactFooter {
        padding-top: 65px;
        padding-bottom: 65px;
    }
}

@media (max-width: 991px) {
    #contactFooter>.row>*+* {
        margin-top: 30px;
    }
}

#contactFooter .tabHeadline {
    position: relative;
    color: #0149b1;
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
}

#contactFooter .tabHeadline::before {
    content: '';
    position: absolute;
    pointer-events: none;
    display: block;
    left: 0;
    bottom: -20px;
    width: 80px;
    height: 2px;
    background: #fdc050;
}

#contactFooter a {
    color: #990100;
}

.quicklinks a {
    color: #191919 !important;
}

.quicklinks a:hover {
    color: #990100 !important;
}

#contactFooter ul {
    margin: 10px 0;
    list-style: none;
    line-height: 1.8;
}

#contactFooter ul>li {
    position: relative;
    padding-left: 8px;
    min-height: 11px;
    transition: color 300ms linear;
}

#contactFooter ul>li+li {
    margin-top: 8px;
}

#contactFooter ul>li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 13px;
    line-height: 1.7;
}

#contactFooter ul>li:hover,
#contactFooter ul>li:focus {
    color: #01357d;
}

body:not(.noListStyle) #contactFooter ul {
    padding-left: 0px;
}

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

#footer1 {
    color: #191919;
    font-size: 0.9375rem;
    padding-top: 30px;
    padding-bottom: 30px;
    background-color: #fffef3;
}

#footer1>.row {
    row-gap: 25px;
}

#footer2 {
    color: #191919;
    font-size: 0.9375rem;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: #f0f6ff;
}

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

@media (min-width: 992px) {
    #footer {
        padding-top: 50px;
        padding-bottom: 12px;
    }
}

@media (max-width: 767px) {
    #footer .row>.col-xs-12:not(:first-child)::before {
        background: #ffffff;
        content: " ";
        height: 1px;
        width: 100%;
        display: block;
        margin: 18px 0;
        opacity: 0.08;
    }

    #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
    #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width:991px) {
    #footer>.row:first-child>*+*:last-child {
        margin-top: 20px;
    }
}

/* ----------------------------------------------- contactTEL ----------------------------------------------- */

.contactTEL {
    color: #191919;
    font-weight: 700;
    font-size: 1.5625rem;
    position: relative;
    display: inline-block;
}

@media (min-width: 1200px) {
    .contactTEL {
        font-size: 1.875rem;
    }
}

.contactTEL::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    margin: auto;
    left: -40px;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="34px" viewBox="0 -960 960 960" width="34px" fill="%23191919"><path d="M798-120q-125 0-247-54.5T329-329Q229-429 174.5-551T120-798q0-18 12-30t30-12h162q14 0 25 9.5t13 22.5l26 140q2 16-1 27t-11 19l-97 98q20 37 47.5 71.5T387-386q31 31 65 57.5t72 48.5l94-94q9-9 23.5-13.5T670-390l138 28q14 4 23 14.5t9 23.5v162q0 18-12 30t-30 12Z"/></svg>') center no-repeat;
}

/* --------------------------------------------- innerfooter -------------------------------------------- */

#innerfooter ul {
    padding: 0;
}

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

#innerfooter ul a {
    color: inherit;
    text-decoration: none;
    display: inline-block;
    padding: 6px 10px;
    outline: 2px solid transparent;
    outline-offset: 10px;
    transition: outline-color 200ms linear, outline-offset 200ms linear;
}

#innerfooter ul a:is(:hover, :focus) {
    outline-color: #fdc050;
    outline-offset: 0;
    color: #01357d;
}

@media (min-width: 576px) {
    #innerfooter li {
        display: inline-block;
    }

    #innerfooter li+li::before {
        content: "";
        display: inline-block;
        height: 1px;
        width: 15px;
        margin: 0 15px;
        background: #191919;
        vertical-align: middle;
    }
}

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

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

/* --------------------------------------------- vernetzt -------------------------------------------- */

#vernetzt {
    gap: 16px;
    text-align: right;
    font-size: 0.8125rem;
    color: #191919;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

#vernetzt b {
    color: #191919;
}


/* #region ----------------------------------- contrast ----------------------------------------- */

:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab_link_entry .tab_link_title a::before {
    display: none;
}

.contrast_dark #burgerButton,
.contrast_dark #events .slick-button,
.contrast_dark #events .slick-dots .slick-active button,
.contrast_dark #events .slick-dots button:is(:hover, :focus) {
    background-color: #ffffff !important;
}

.contrast_light #burgerButton::before,
.contrast_light #burgerButton::after,
.contrast_light #burgerButtonInner {
    background: #333333 !important;
}

.contrast_light nav.burger .dropdown-toggle-button::before {
    color: #000000;
}

@media (min-width: 1200px) {
    .contrast_light #quick-access .tab:is(:hover, :focus-within) {
        background: #ffffff;
    }
}

.contrast_light #events .slick-dots .slick-active button,
.contrast_light #events .slick-dots button:is(:hover, :focus) {
    background-color: #000000 !important;
}

/* #endregion -------------------------------- contrast ----------------------------------------- */