@import url('https://fonts.verwaltungsportal.de/import/?family=Exo:400,400i,600,600i,800,800i');

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

body {
    font-family: "Exo", sans-serif;
    font-weight: 400;
    color: #1a1a1a;
    background: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
    box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
    color: #c70000;
}

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

b,
strong {
    font-weight: 600;
}

:is(#content-area, #headerpic, #news .tab, #events .tab, #topics, #footer) a {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
    outline: 3px solid #0066ff !important;
}

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

#bf-controls {
    color: #ffffff;
    background: #c70000;
    font-size: 1rem;
}

@media (max-width: 991px) {
    #bf-controls {
        padding: 0 15px;
    }
}

@media (min-width: 992px) {
    #bf-controls>.row>* {
        padding-left: 0;
    }

    .bf-controls-bg {
        background: #c70000;
    }
}

#search-button {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1) url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
}

#search-button:is(:hover, :focus) {
    background-color: rgba(0, 0, 0, 0.3);
}

/* contrast + font-size */

#contrast_style {
    padding-right: clamp(25px, 4vw, 40px);
}

#style {
    padding: 0 32px;
    position: relative;
}

#contrast_style+#style::after {
    content: "";
    display: block;
    position: absolute;
    top: 2px;
    bottom: 2px;
    left: 0;
    width: 1px;
    background: #ffffff;
    opacity: 0.2;
}

:is(#contrast_style, #style) h2 {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
    margin: 0 10px 0 0;
    width: unset;
}

:is(#contrast_style, #style) button {
    color: #ffffff;
    font-weight: 500;
    min-width: 24px;
    min-height: 24px;
    display: inline-block;
    border: none;
    padding: 0;
}

:is(#contrast_style, #style) button+button {
    margin-left: 4px;
}

#contrast_style button {
    font-size: 0;
    border-radius: 50%;
    background: #ffffff;
    position: relative;
}

#contrast_style button:first-of-type {
    margin-left: 5px;
}

#contrast_style button:is(:hover, :focus) {
    background: #fef31a;
}

#contrast_style button::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 1px solid #1a1a1a;
    background: linear-gradient(-45deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #1a1a1a 51%);
}

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

#contrast_style button:nth-of-type(3)::after {
    border-color: #c70000;
    background: #c70000;
}

#style button {
    color: #1a1a1a;
    border-radius: 50%;
    background: #ffffff;
}

#style button:is(:hover, :focus) {
    background: #fef31a;
}

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

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

#logo {
    display: inline-block;
}

@media (max-width: 991px) {
    #logo {
        padding-top: 20px;
    }
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: -40px;
        transition: top 300ms linear;
    }

    .is-sticky #logo {
        top: 0;
    }

    #logo img {
        transition: width 300ms linear;
    }

    .is-sticky #logo img {
        max-width: 210px;
    }
}

#logo img {
    display: block;
    padding: 8px 35px;
    background: #ffffff;
    box-shadow: 0px 17px 12px 0px rgba(0, 0, 0, 0.1);
}

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #1a1a1a;
        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"]::before {
        opacity: 0;
    }

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

    #burgerButtonInner {
        top: 16px;
    }

    #burgerButton::before {
        top: 24px;
        content: "";
    }

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

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

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #ffffff;
        position: fixed;
        left: -100%;
        bottom: 0;
        z-index: 100;
        height: auto !important;
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        overflow-y: auto;
        transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
        box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        left: 0;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
    }

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: relative;
        z-index: 60;
    }

    nav.horizontally>.row::after {
        content: "";
        display: block;
        position: absolute;
        z-index: -1;
        top: 0;
        right: 45px;
        bottom: 0;
        left: 29%;
        background: #ffffff;
        box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
        transition: left 200ms linear;
    }

    .is-sticky nav.horizontally>.row::after {
        left: 15px;
    }

    nav.horizontally :is(.navbar, #myNavbar) {
        min-height: 100%;
        height: 100% !important;
    }

    nav.horizontally #myNavbar {
        background-color: #ffffff;
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    nav.horizontally .navbar-nav {
        width: 100%;
        position: relative;
        padding: 20px 15px 20px 0;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul {
        display: block !important;
    }

    nav.horizontally .navbar-nav li[class*="toplevel"]>ul {
        position: absolute;
        top: calc(100% + 20px);
        left: 0;
        z-index: 1000;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

    nav.horizontally .navbar-nav>li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav>li.open:focus-within>ul {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

    nav.horizontally .navbar-nav>li.open>ul {
        pointer-events: none !important;
        opacity: 0 !important;
        visibility: hidden;
    }

    nav.horizontally .navbar-nav>li:is(:hover, :focus)>ul {
        z-index: 1003;
    }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #1a1a1a;
    font-weight: 600;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 30px;
    transition: color 300ms linear, border 300ms linear;
}

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

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 11px 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

@media (min-width: 1200px) {
    nav.horizontally a[class*="toplevel"] {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (min-width: 992px) {

    nav.horizontally a[class*="toplevel"].dropdown-toggle::before,
    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        content: "";
        display: block;
        position: absolute;
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::before {
        width: 7px;
        height: 7px;
        left: calc(50% - 3px);
        bottom: -5px;
        background: #ffffff;
        border-bottom: 1px solid #1a1a1a;
        border-right: 1px solid #1a1a1a;
        transform: rotate(45deg);
    }

    nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
        left: calc(50% - 8px);
        bottom: -41px;
        width: 16px;
        height: 8px;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
        background: #ffffff;
        pointer-events: none;
        opacity: 0;
        transition: opacity 300ms linear;
    }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #1a1a1a;
    border-color: #1a1a1a;
}

@media (min-width: 992px) {

    nav.horizontally li[class*="toplevel"]:hover>a.dropdown-toggle::after,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle::after,
    nav.horizontally li[class*="toplevel"].open>a.dropdown-toggle:is(:hover, :focus)::after {
        opacity: 1;
    }
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"]>ul {
    background-color: #ffffff;
    padding: 10px 0;
    border-bottom: 4px solid #1a1a1a;
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 10px;
        border-radius: 30px 30px 0 0;
        overflow: hidden;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        min-width: 200px;
    }

    nav.horizontally [class*="toplevel"]>ul {
        background-color: #ffffff;
        column-count: 3;
        column-gap: 0;
        column-rule: 1px solid rgba(0, 0, 0, 0.3);
        padding: 40px 20px;
        left: 0;
        right: 0;
        border-bottom-width: 8px;
        box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.12);
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 45px;
        left: 0;
        right: 0;
        top: -45px;
    }

    nav.horizontally li[class*="secondlevel"] {
        padding: 0 30px 2px 30px;
        display: table;
        width: 100%;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #1a1a1a;
    text-align: left;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

nav.horizontally a[class*="secondlevel"] {
    font-weight: 400;
    padding: 8px 20px;
    margin-bottom: 2px;
}

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 400;
    padding: 6px 0 6px 45px;
}

nav.horizontally a[class*="thirdlevel"]::before {
    content: "";
    display: block;
    border-radius: 50%;
    background: #1a1a1a;
    height: 6px;
    width: 6px;
    position: absolute;
    left: 30px;
    top: 13px;
    opacity: 0;
    transition: opacity 300ms linear;
}

@media (max-width:991px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 35px;
    }
}

/* secondlevel + thirdlevel over */

nav.horizontally li[class*="secondlevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="secondlevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="secondlevel"].open>a,
nav.horizontally li[class*="secondlevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="secondlevel"][class*="_over"]>a,
nav.horizontally li[class*="secondlevel"][class*="_over"]>a:is(:hover, :focus) {
    background: #fef31a;
}

nav.horizontally li[class*="thirdlevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally li[class*="thirdlevel"]>a:is(:hover, :focus)::before,
nav.horizontally li[class*="thirdlevel"].open>a::before,
nav.horizontally li[class*="thirdlevel"].open>a:is(:hover, :focus)::before,
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a::before,
nav.horizontally li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus)::before {
    opacity: 1;
}

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

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

header {
    position: relative;
    z-index: 101;
}

header::after,
header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
}

header::after {
    right: 0;
    max-height: 590px;
    bottom: 0;
    left: calc(50% + 70px);
    background: #f3f3f3;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
    header::after {
        left: calc(50% - 200px);
    }
}

body:not(.index) header::after {
    bottom: 65px;
}

@media (min-width: 992px) {
    header::before {
        left: 0;
        max-width: 545px;
        width: 30vw;
        bottom: 170px;
        background: url('../img/deko-linien.jpg') center / cover no-repeat;
    }
}

#headerpic {
    overflow: hidden;
    padding-top: clamp(30px, 10vw, 50px);
}

.index #headerpic {
    padding-top: clamp(30px, 10vw, 140px);
}

/* header text */

#header-text {
    padding-bottom: clamp(30px, 5vw, 62px);
}

@media (min-width: 576px) {
    #header-tab>.template-page {
        max-width: 370px;
    }
}

@media (min-width: 992px) {
    #header-text {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    body:not(.index) #header-text {
        margin-top: 40px;
    }
}

#header-tab h2 {
    font-size: clamp(1.875rem, 5vw, 3.75rem);
    margin-bottom: clamp(20px, 4vw, 40px);
    line-height: 1.15;
}

@media (min-width: 768px) {
    #header-tab h2 {
        margin-right: -40px;
        width: calc(100% + 40px);
    }
}

@media (min-width: 992px) {
    #header-tab h2 {
        margin-right: -80px;
        width: calc(100% + 80px);
    }
}

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

/* #region -------------------------------------- search ---------------------------------------- */

#search {
    background: #1a1a1a;
    border-radius: 4px;
    color: #ffffff;
    font-size: clamp(1rem, 2vw, 1.125rem);
    padding-left: clamp(10px, 4vw, 30px);
    overflow: hidden;
    margin-top: 25px;
}

#search+*,
#header-search>.template-page {
    margin-top: 25px;
}

#search label {
    font-weight: 400;
    padding: clamp(10px, 4vw, 18px) 10px clamp(10px, 4vw, 18px) 0;
}

#search_input {
    color: #ffffff;
    font-style: normal;
    font-weight: 400;
    background: transparent;
    border: 0;
    padding: clamp(10px, 4vw, 18px) 10px;
    width: 100%;
}

#search_input:is(:hover, :focus) {
    background-color: rgba(255, 255, 255, 0.1);
}

#search_submit {
    width: 64px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23fff'/%3E%3C/svg%3E") center / 34px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: background-color 300ms linear;
}

#search_submit:is(:hover, :focus) {
    background-color: rgba(255, 255, 255, 0.2)
}

#search_input::placeholder {
    color: #ffffff !important;
    opacity: 0.8 !important;
    font-style: italic !important;
}

/* #endregion ----------------------------------- search --------------------------------------- */

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

#slider {
    background: #1a1a1a;
    height: 90vw;
    overflow: hidden;
    position: relative;
    border-radius: 296px 296px 11px 296px;
}

@media (max-width: 767px) {
    body:not(.index) #headerpic .slider-wrapper {
        display: none;
    }
}

@media (max-width: 991px) {
    #slider {
        max-height: 370px;
    }

    #headerpic .slider-wrapper {
        max-width: 370px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    #slider {
        height: 370px;
    }

    body.index #slider {
        height: clamp(500px, 50vw, 600px);
    }

    .slider-wrapper {
        position: relative;
        z-index: 1;
    }

    #header-text+aside {
        margin-top: 44px;
    }
}

/* arrows */

#headerpic .nivo-directionNav a {
    width: 40px;
    height: 40px;
    background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='42'%3E%3Cpath d='m15.2 45.1-4-4.05L28.35 23.9 11.2 6.75l4-4.05 21.2 21.2Z' fill='%23191a19'/%3E%3C/svg%3E") center / 18px auto no-repeat;
    top: auto;
    bottom: calc(50% - 40px);
}

@media (min-width: 992px) {
    #headerpic .nivo-directionNav a {
        opacity: 1;
        bottom: 10px;
    }

    .index #headerpic .nivo-directionNav a {
        width: 50px;
        height: 50px;
        background-size: 22px auto;
    }
}

#headerpic .nivo-directionNav :is(a:hover, a:focus) {
    background-color: #fef31a;
}

#headerpic a.nivo-prevNav {
    left: 10px;
    right: 60px;
    transform: scaleX(-1);
}

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

    .index #headerpic a.nivo-prevNav {
        right: 70px;
    }
}

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

/* dots */

#headerpic .nivo-controlNav {
    right: 10px;
    width: auto;
    left: 25%;
    font-size: 0;
    bottom: 10px;
    text-align: right;
}

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        right: 115px;
    }

    .index #headerpic .nivo-controlNav {
        right: 135px;
        bottom: 16px;
    }
}

#headerpic .nivo-controlNav a {
    position: relative;
    background: transparent;
    width: 25px;
    height: 30px;
    margin: 0;
}

#headerpic .nivo-controlNav a::after {
    content: "";
    display: block;
    position: absolute;
    left: calc(50% - 7px);
    top: calc(50% - 7px);
    background: #ffffff;
    border-radius: 50%;
    border: 2px solid #1a1a1a;
    width: 14px;
    height: 14px;
    box-sizing: border-box;
    transition: background 300ms linear, border 300ms linear;
}

#headerpic .nivo-controlNav a:is(:hover, :focus, .active)::after {
    border-color: #ffffff;
    background: #1a1a1a;
}

#headerpic .slider-wrapper {
    height: auto;
}

.nivo-main-image,
#slider>a>div {
    height: 100% !important;
}

.slider-mask {
    display: none;
}

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

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

#quick-links {
    position: relative;
    z-index: 2;
    margin-top: clamp(15px, 4vw, 30px);
}

#quick-links-bg {
    background: #ededed;
    border-radius: 4px;
    box-shadow: 0 50px 20px -30px rgba(0, 0, 0, 0.1);
}

#quick-links-bg :is(b, strong, a) {
    font-size: 1.125rem;
}

#quick-links-bg>.row {
    margin: 0;
}

#quick-links-bg>.row>* {
    padding: 15px;
}

@media (min-width: 576px) {
    #quick-links-bg>.row>* {
        padding: 25px 30px;
        flex-grow: 1;
        max-width: none;
    }
}

#quick-links-bg>.row>* {
    transition: background 300ms linear;
}

#quick-links-bg>.row>*:is(:hover, :focus) {
    background: #ffffff;
}

@media (max-width: 575px) {
    #quick-links-bg>.row>*+* {
        border-top: 1px solid rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 576px) {
    #quick-links-bg>.row>*+* {
        border-left: 1px solid rgba(0, 0, 0, 0.3);
    }
}

@media (min-width: 576px) and (max-width: 991px) {
    #quick-links-bg>.row>*+*:nth-child(3) {
        border-left: none;
    }
}

@media (min-width: 992px) {
    #quick-links-bg>.row>*+*:nth-child(5) {
        border-left: none;
    }
}

#quick-links-bg a {
    color: inherit;
    font-weight: 600;
}

#quick-links-bg img {
    margin-bottom: 2px;
}

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

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

#news,
#events {
    padding: clamp(30px, 10vw, 80px) 0;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#news {
    padding-top: clamp(30px, 4vw, 50px);
}

#events {
    padding-bottom: clamp(60px, 10vw, 170px);
}

:is(#news, #events)::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    max-height: 75%;
    background: #ededed;
}

#news::after {
    left: 0;
    top: 75px;
    height: 100%;
    right: 50%;
}

@media (min-width: 992px) {
    #news::after {
        max-height: 363px;
        right: calc(20% + 200px);
    }
}

@media (min-width: 1200px) {
    #news::after {
        right: calc(20% + 200px);
    }
}

#events::after {
    right: 50%;
    bottom: 75px;
    height: 100%;
    left: 0;
}

@media (min-width: 992px) {
    #events::after {
        max-height: 363px;
        right: calc(50% - 345px);
    }
}

@media (min-width: 1200px) {
    #events::after {
        right: calc(50% - 415px);
    }
}

:is(#news, #events)>.row>*+* {
    margin-top: 35px;
}

/* tab image */

:is(#news, #events) .tab-image {
    position: relative;
    z-index: 1;
    min-height: 80px;
    margin-bottom: -108px;
    overflow: hidden;
}

:is(#news, #events) .tab-image::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -28px;
    right: -15px;
    top: 50%;
    bottom: -28px;
    background: #ffffff;
    border-bottom-left-radius: 200px;
}

:is(#news, #events) .tab-image .banner {
    overflow: hidden;
    border-radius: 200px 200px 0 200px;
    margin-bottom: 28px;
}

:is(#news, #events) .tab-image .banner img {
    display: block;
    aspect-ratio: 1/1;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* tab */

:is(#news, #events) .tab {
    border: 8px solid #1a1a1a;
    background: #ffffff;
    padding: 105px clamp(15px, 2vw, 30px) clamp(30px, 3vw, 36px) clamp(15px, 2vw, 30px);
}

:is(#news, #events) .tab>h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    margin-bottom: clamp(15px, 4vw, 25px);
}

:is(#news, #events) .button-design {
    margin-top: clamp(20px, 4vw, 40px);
}

/* tabnews/tabevents */

#news .tab_link_entries {
    margin-top: clamp(10px, 3vw, 70px);
}

#events .tab_link_entries {
    margin-top: clamp(10px, 1vw, 30px);
}

:is(#news, #events) .tab_link_entries {
    display: grid;
    gap: 30px 30px;
}

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

:is(#news, #events) .tab_link_entry {
    font-size: 1rem;
    border-bottom: none !important;
    position: relative;
    border-radius: 4px;
    padding: 140px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
    box-shadow: 0 15px 15px 0 rgba(0, 0, 0, 0.1);
}

#news .tab_link_entry {
    background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7 42q-1.25 0-2.125-.875T4 39V6l3.35 3.35L10.65 6 14 9.35 17.35 6l3.3 3.35L24 6l3.35 3.35L30.65 6 34 9.35 37.35 6l3.3 3.35L44 6v33q0 1.25-.875 2.125T41 42Zm0-3h15.5V25H7v14Zm18.5 0H41v-5.5H25.5Zm0-8.5H41V25H25.5ZM7 22h34v-6H7Z' fill='%23e6e6e6'/%3E%3C/svg%3E") top -12px right 6px / 96px auto no-repeat;
}

#events .tab_link_entry {
    display: flex;
    flex-direction: column;
    background: #ffffff url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5ZM24 28q-.85 0-1.425-.575Q22 26.85 22 26q0-.85.575-1.425Q23.15 24 24 24q.85 0 1.425.575Q26 25.15 26 26q0 .85-.575 1.425Q24.85 28 24 28Zm-8 0q-.85 0-1.425-.575Q14 26.85 14 26q0-.85.575-1.425Q15.15 24 16 24q.85 0 1.425.575Q18 25.15 18 26q0 .85-.575 1.425Q16.85 28 16 28Zm16 0q-.85 0-1.425-.575Q30 26.85 30 26q0-.85.575-1.425Q31.15 24 32 24q.85 0 1.425.575Q34 25.15 34 26q0 .85-.575 1.425Q32.85 28 32 28Zm-8 8q-.85 0-1.425-.575Q22 34.85 22 34q0-.85.575-1.425Q23.15 32 24 32q.85 0 1.425.575Q26 33.15 26 34q0 .85-.575 1.425Q24.85 36 24 36Zm-8 0q-.85 0-1.425-.575Q14 34.85 14 34q0-.85.575-1.425Q15.15 32 16 32q.85 0 1.425.575Q18 33.15 18 34q0 .85-.575 1.425Q16.85 36 16 36Zm16 0q-.85 0-1.425-.575Q30 34.85 30 34q0-.85.575-1.425Q31.15 32 32 32q.85 0 1.425.575Q34 33.15 34 34q0 .85-.575 1.425Q32.85 36 32 36Z' fill='%23e6e6e6'/%3E%3C/svg%3E") top -6px right 6px / 96px auto no-repeat;
}

#news .tab_link_entry .tab_date,
#events .tab_link_entry .tab_link_date {
    font-size: 0.875rem;
    font-weight: 400;
    background: #fef31a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M9 44q-1.2 0-2.1-.9Q6 42.2 6 41V10q0-1.2.9-2.1Q7.8 7 9 7h3.25V4h3.25v3h17V4h3.25v3H39q1.2 0 2.1.9.9.9.9 2.1v31q0 1.2-.9 2.1-.9.9-2.1.9Zm0-3h30V19.5H9V41Zm0-24.5h30V10H9Zm0 0V10v6.5Z' fill='1a1a1a'/%3E%3C/svg%3E") center left 10px / 18px auto no-repeat;
    line-height: 1.2;
    padding: 8px 10px 6px 35px;
    border-radius: 30px;
    position: absolute;
    top: 50px;
    right: clamp(15px, 4vw, 30px);
    max-width: calc(100% - 170px);
    min-width: 130px;
}

:is(#news, #events) .tab_link_entry .tab_link_title::after {
    content: "-";
    display: block;
    margin: 3px 0;
    font-weight: 600;
    line-height: 1;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
    font-size: 1.25rem;
    line-height: 1.2;
    display: block;
    font-weight: 600;
    color: #1a1a1a;
}

:is(#news, #events) .tab_link_entry .tab_link_title a::before {
    content: "";
    background: url('../img/meldungen-platzhalter.jpg') center / cover no-repeat;
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
:is(#news, #events) .tab_link_entry .tab_link_title a::before {
    display: block;
    overflow: hidden;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    position: absolute;
    top: 20px;
    left: clamp(15px, 4vw, 30px);
}

: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_entry .tab_link_mandat {
    order: 100;
    line-height: 1.2;
    text-align: right;
    margin-top: clamp(15px, 4vw, 26px);
    margin-bottom: clamp(-5px, 4vw, -20px);
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.3);
}

#events .tab_link_entry .tab_link_mandat :is(a, span) {
    color: #1a1a1a;
    font-size: 0.875rem;
    padding-left: 20px;
    min-height: 18px;
    display: inline-block;
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 23.5q1.45 0 2.475-1.025Q27.5 21.45 27.5 20q0-1.45-1.025-2.475Q25.45 16.5 24 16.5q-1.45 0-2.475 1.025Q20.5 18.55 20.5 20q0 1.45 1.025 2.475Q22.55 23.5 24 23.5Zm0 16.55q6.65-6.05 9.825-10.975Q37 24.15 37 20.4q0-5.9-3.775-9.65T24 7q-5.45 0-9.225 3.75Q11 14.5 11 20.4q0 3.75 3.25 8.675Q17.5 34 24 40.05ZM24 44q-8.05-6.85-12.025-12.725Q8 25.4 8 20.4q0-7.5 4.825-11.95Q17.65 4 24 4q6.35 0 11.175 4.45Q40 12.9 40 20.4q0 5-3.975 10.875T24 44Zm0-23.6Z' fill='%23333333'/%3E%3C/svg%3E") center left / 18px auto no-repeat;
}

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

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a {
    display: inline-block;
    color: #1a1a1a;
    font-size: 1rem;
    font-weight: 600;
    background: #fef31a;
    padding: 9px 60px 9px 20px;
    border-radius: 30px;
    position: relative;
    text-transform: uppercase;
    text-decoration: none !important;
}

.button-design a::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 34px;
    background: #ede316 url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M27 34.85q-.45-.45-.45-1.075t.4-1.025l7.35-7.35H9.5q-.65 0-1.075-.425Q8 24.55 8 23.9q0-.65.425-1.075Q8.85 22.4 9.5 22.4h24.8L26.9 15q-.45-.45-.425-1.05.025-.6.475-1.05.45-.4 1.075-.4t1.025.4L39 22.85q.25.25.35.5.1.25.1.55 0 .3-.1.55-.1.25-.35.5l-9.9 9.9q-.45.45-1.05.45-.6 0-1.05-.45Z' fill='%231a1a1a'/%3E%3C/svg%3E") center / 24px auto no-repeat;
    border-radius: 50%;
    transition: background 300ms linear;
}

.button-design a:is(:hover, :focus) {
    color: #1a1a1a;
    background-color: #ede316;
}

.button-design a:is(:hover, :focus)::after {
    background-color: #fef31a;
}

.button-design a+a {
    margin-left: 10px;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

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

#content-area {
    text-align: left;
    padding-top: clamp(30px, 10vw, 75px);
    padding-bottom: clamp(30px, 10vw, 50px);
}

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

.headline-border,
:is(.tab-content, .tab-headline) h2 {
    padding-left: clamp(20px, 3vw, 30px);
    position: relative;
}

.headline-border::before,
:is(.tab-content, .tab-headline) h2::before {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    bottom: clamp(7px, 1vw, 11px);
    left: 0;
    width: 8px;
    background: #c70000;
}

.tab-headline h2::before {
    top: clamp(7px, 1vw, 11px);
}

#header-tab h2::before {
    top: clamp(5px, 1vw, 13px);
    bottom: clamp(5px, 1vw, 13px);
}

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #1a1a1a;
    font-weight: 800;
    line-height: 1.2;
    font-family: "Exo", sans-serif;
    margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1,
:is(.tab-content, .tab-headline) h2 {
    font-size: clamp(1.875rem, 4vw, 3.125rem);
    margin-bottom: clamp(20px, 4vw, 30px);
}

:is(h1, .h1, h2, .h2) :is(i, em) {
    font-style: normal;
    font-weight: 600;
    font-size: 1.125rem;
    display: block;
}

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

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

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

h5,
.h5,
.legacy_h5 {
    font-size: 1.5rem;
}

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

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

/* #region --------------------------------------- topics --------------------------------------- */

#topics {
    position: relative;
    z-index: 1;
    padding-top: clamp(30px, 10vw, 80px);
    font-size: 1rem;
}

#topics :is(a) {
    font-size: 1.125rem;
}

#topics::after,
#topics::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
}

#topics::after {
    right: 0;
    bottom: 125px;
    left: calc(50% - 200px);
    background: #f1f1f1;
    border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
    #topics::before {
        left: 0;
        max-width: 545px;
        width: 30vw;
        top: 260px;
        bottom: 0;
        background: url('../img/deko-linien.jpg') top left / cover no-repeat;
    }
}

.topic-tabs :is(h2, h3) {
    font-size: clamp(1.5rem, 4vw, 1.875rem);
    margin-bottom: clamp(15px, 4vw, 22px);
}

@media (min-width: 992px) {
    .topic-tab-1 {
        margin-top: clamp(-20px, 4vw, -30px);
    }
}

.topic-tab-2 {
    margin-top: clamp(30px, 5vw, 100px);
}

.topic-tabs .row {
    display: flex;
    align-content: end;
    align-items: end;
}

.topic-tabs .row+.row {
    padding-top: clamp(20px, 4vw, 55px);
}

.topic-tabs img {
    display: block;
    border-radius: 200px 200px 0 200px;
}

/* #endregion ------------------------------------ topics --------------------------------------- */

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

footer {
    color: #ffffff;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #c70000;
}

footer :is(h1, h2, h3, h4, h5, h6, a) {
    color: inherit !important;
}

footer :is(.iframe-wrapper-manual-enabling, iframe) {
    display: block;
    min-width: 100% !important;
    width: 100% !important;
}

footer hr {
    margin: 0;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

#footer {
    font-size: 1rem;
    padding: clamp(30px, 10vw, 80px) 0;
}

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

#footer .footer-headline {
    margin-bottom: 20px;
    font-size: 1.625rem;
}


#innerfooter {
    padding: 28px 0;
    font-size: 0.9375rem;
}

#innerfooter>.row {
    row-gap: 10px;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: #ffffff;
    text-decoration: none;
}

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

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

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

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

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

#innerfooter #vernetzt {
    gap: 15px;
    text-align: left;
    font-size: 0.8125rem;
    color: #ffffff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

@media (min-width: 1200px) {
    #innerfooter #vernetzt {
        padding-right: 40px;
    }
}

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

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

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

.contrast_dark .tab_link_entry,
.contrast_dark .tab_link_entry :is(.tab_date, .tab_link_date) {
    background: #000 !important;
}

.contrast_light .tab_link_entry,
.contrast_light .tab_link_entry :is(.tab_date, .tab_link_date) {
    background: #ffffff !important;
}

:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab-image::after,
:is(.contrast_dark, .contrast_light) :is(#news, #events) .tab_link_entry .tab_link_title a::before {
    display: none !important;
}

.contrast_light #search :is(label, input) {
    color: #ffffff !important;
}

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