@import url("https://fonts.verwaltungsportal.de/css/?family=Roboto:400,400i,500,500i,700,700i");
@import url("https://fonts.verwaltungsportal.de/css/?family=Caveat:400,400i");

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

body {
    font-family: 'Roboto', sans-serif;
    color: #333333;
    background: #f7f7f7;
    font-size: clamp(1rem, 1vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

@media (min-width: 992px) {
    body {
        padding-left: 250px;
    }
}

a {
    color: #966e08;
}

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

b,
strong {
    font-weight: 500;
}

.noPadding {
    padding-left: 0;
    padding-right: 0;
}

/* #region ----------------------------------- sidebar ------------------------------------------ */

#sidebar {
    font-size: 0.9375rem;
    background: #ffffff;
}

@media (min-width: 992px) {
    #sidebar {
        position: fixed;
        z-index: 100;
        overflow: auto;
        top: 0;
        left: 0;
        bottom: 0;
        width: 250px;
        box-shadow: 0 0 30px rgba(14, 24, 51, 0.2);
    }

    .sidebar-row {
        max-width: 250px;
        width: 100%;
    }

    .sidebar-row,
    .sidebar-row>* {
        height: 100%;
    }

    .sidebar-row>*>* {
        width: 100%;
    }
}

/* logo */

#logo {
    display: inline-block;
    padding: 15px;
    text-decoration: none;
}

@media (min-width: 992px) {
    #logo {
        display: block;
        padding: 40px 0 20px 0;
    }
}

#logo .logoImg img {
    display: block;
    margin: 0 auto;
}

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

.logoTxt {
    padding: 15px 15px 0 15px;
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 400;
    text-decoration: none;
    color: #966e08;
    line-height: 1.1;
}

/* contact */

.contact {
    padding: 0 15px;
    margin-bottom: 60px;
    line-height: 1.7;
}

@media (min-width: 992px) {
    #sidebar .contact {
        flex-grow: 1;
    }

    #sidebar .contact::before {
        content: "";
        display: block;
        min-height: 200px;
        width: 2px;
        margin: 60px auto 150px auto;
        background: #eae2ce;
    }

    .contact .tabHeadline {
        padding-top: 35px;
        position: relative;
    }

    .contact .tabHeadline::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        left: -15px;
        right: -15px;
        width: calc(100% + 30px);
        height: 2px;
        background: #eae2ce;
    }

    #sidebar .contact address {
        max-height: 35vh;
        overflow: auto;
        margin: auto;
    }
}

nav .contact {
    background: #ffffff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.contact .tabHeadline {
    font-size: 1rem;
    color: #333333;
    font-weight: 500;
    margin-bottom: 15px;
    hyphens: auto;
    font-family: 'Roboto', sans-serif;
}

.contact a {
    text-decoration: underline;
}

/* #endregion -------------------------------- sidebar ------------------------------------------ */

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

/* burger */

#burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 80px;
    width: 80px;
    border-bottom-left-radius: 80%;
    padding: 6px 8px;
    cursor: pointer;
    position: fixed;
    top: 0;
    right: -5px;
    z-index: 1002;
    background: none;
    box-shadow: 0 0 10px rgba(14, 24, 51, 0.2);
    background: #ffffff;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    #burgerButton {
        right: 0;
        top: 0;
        height: 126px;
        width: 126px;
        border-bottom-left-radius: 100%;
    }

    #burgerButton[aria-expanded="true"] {
        background: transparent;
        box-shadow: none;
    }
}

#burgerButton span:first-of-type {
    font-size: 12px;
    position: absolute;
    right: 25%;
    top: calc(50% - 34px);
    color: #966e08;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

@media (min-width: 992px) {
    #burgerButton[aria-expanded="true"] span:first-of-type {
        color: #ffffff;
    }
}

#burgerButton::before,
#burgerButton::after,
#burgerButtonInner {
    background: #966e08;
    position: absolute;
    height: 4px;
    right: 25%;
    transition: transform 200ms linear, opacity 200ms linear;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        border: 2px solid #ffffff;
        box-sizing: border-box;
    }
}

@media (min-width: 992px) {

    #burgerButton[aria-expanded="true"] #burgerButtonInner,
    #burgerButton[aria-expanded="true"]::after {
        background: #ffffff;
    }
}

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

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

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

#burgerButtonInner {
    top: calc(50% - 12px);
    width: 40px;
}

#burgerButton::before {
    content: "";
    top: calc(50% - 2px);
    width: 30px;
}

#burgerButton::after {
    content: "";
    top: calc(50% + 8px);
    width: 20px;
}

/* navbar container */

.navbar-nav {
    margin: 80px 20px 40px 20px;
}

@media (min-width: 992px) {
    .navbar-nav {
        margin: 0 60px 40px calc(33.33% + 30px);
        max-width: 560px;
    }

    #myNavbar .mCSB_scrollTools {
        right: 43px;
    }
}

@media (min-width: 1200px) {
    .navbar-nav {
        margin-left: calc(50% + 30px);
    }
}

.navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #10375c;
    position: fixed;
    right: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: right 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) {
    right: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: -250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
}

@media (min-width: 992px) {
    .navbar-collapse {
        width: calc(100% - 250px);
        max-width: unset;
        right: 0;
        left: 250px;
        padding-top: 100px;
        box-shadow: none;
    }

    .navbar-collapse:is([aria-expanded="true"], .in) {
        box-shadow: none;
    }

    .navbar-collapse::after {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        height: 100%;
        width: 33.33%;
        margin: 0 auto;
        pointer-events: none;
        background: center / cover no-repeat;
    }
}

@media (min-width: 1200px) {
    .navbar-collapse::after {
        width: 50%;
    }
}

/* toplevel */

nav.burger a[class*="toplevel"] {
    color: #ffffff;
    font-weight: 500;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    transition: background-color 300ms linear, color 300ms linear, border 300ms linear;
}

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

@media (min-width: 992px) {
    nav.burger a[class*="toplevel"] {
        font-size: 1.625rem;
        padding-right: 70px;
    }
}

/* toplevel-over */

nav.burger li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="toplevel"]>a:is(:hover, :focus),
nav.burger li[class*="toplevel"].open>a,
nav.burger li[class*="toplevel"].open>a:is(:hover, :focus),
nav.burger li[class*="toplevel"][class*="_over"]>a,
nav.burger li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

/* secondlevel + thirdlevel dropdown-box */

nav.burger [class*="toplevel"]>ul {
    padding: 15px 0;
}

nav.burger [class*="secondlevel"]>ul {
    padding: 5px 15px 5px 35px;
}

@media (min-width: 992px) {
    nav.burger [class*="toplevel"]>ul {
        padding: 15px;
    }

    nav.burger [class*="secondlevel"]>ul {
        padding: 5px 15px 0 50px;
    }
}

/* secondlevel + thirdlevel */

nav.burger a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #ffffff;
    font-weight: 400;
    text-align: left;
    position: relative;
    line-height: 1.2;
    text-decoration: none;
    display: inline-block;
}

nav.burger a[class*="secondlevel"] {
    padding: 8px 22px;
    font-size: 1.125rem;
}

nav.burger a[class*="thirdlevel"] {
    padding: 8px 0 8px 0;
    font-size: 1rem;
}

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

nav.burger a[class*="thirdlevel"]::before {
    content: '»';
    left: -10px;
    position: absolute;
}

nav.burger a[class*="thirdlevel"]::after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    width: 100%;
    background: #0d2c4a;
    opacity: 0;
    transition: opacity 300ms linear;
}

/* secondlevel + thirdlevel over */

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

nav.burger li[class*="thirdlevel"]:is(:hover, :focus-within)>a,
nav.burger li[class*="thirdlevel"]>a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"].open>a,
nav.burger li[class*="thirdlevel"].open>a:is(:hover, :focus),
nav.burger li[class*="thirdlevel"][class*="_over"]>a,
nav.burger li[class*="thirdlevel"][class*="_over"]>a:is(:hover, :focus) {
    background: transparent;
    color: #ffffff;
}

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

/* dropdown-toggle-button */

nav.burger :is(.dropdown-toggle-button-wrapper, .dropdown-toggle-button-wrapper2) {
    position: absolute;
}

nav.burger .dropdown-toggle-button-wrapper {
    display: block !important;
    top: 10px;
}

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button-wrapper {
        right: 15px;
    }
}

nav.burger .dropdown-toggle-button-wrapper2 {
    top: 4px;
}

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button-wrapper2 {
        display: none;
    }
}

nav.burger .dropdownpr {
    position: relative !important;
}

nav.burger .dropdown-toggle-button {
    border-radius: 50%;
    background: transparent;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    nav.burger .dropdown-toggle-button {
        width: 40px;
        height: 40px;
    }
}

nav.burger .dropdown-toggle-button-open,
nav.burger li.dropdownpr:is(:hover, :focus-within) .dropdown-toggle-button,
nav.burger li.dropdownpr.open .dropdown-toggle-button,
nav.burger li.dropdownpr[class*="_over"] .dropdown-toggle-button {
    background: rgba(0, 0, 0, 0.2);
}

nav.burger .dropdown-toggle-button::before {
    content: "+";
    color: #ffffff;
    position: absolute;
    right: 50%;
    top: 50%;
    font-size: 30px;
    font-weight: 500;
    background: transparent;
    -moz-transform: rotate(0deg) translateX(45%);
    -webkit-transform: rotate(0deg) translateX(45%);
    -o-transform: rotate(0deg) translateX(45%);
    -ms-transform: rotate(0deg) translateX(45%);
    transform: rotate(0deg) translateX(45%);
    text-align: center;
    font-family: inherit;
    width: unset;
    height: unset;
    line-height: 0;
}

nav.burger .dropdown-toggle-button::after {
    content: unset;
}

nav.burger .dropdown-toggle-button-open::before {
    content: "-";
}

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

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

header {
    overflow: clip;
    background-color: #10375c;
}

/* banner */

#slider {
    max-height: clamp(300px, 60vw, 600px);
    position: relative;
}

@media (min-width: 992px) {
    body.index #slider {
        max-height: clamp(600px, 70vw, 845px);
    }
}

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

.slider-wrapper,
#slider {
    height: 100%;
}

.slider-mask {
    display: block;
    background: linear-gradient(to top, #10375c, rgba(255, 255, 255, 0) 30%);
}

/* banner arrows */

#headerpic .nivo-directionNav a {
    background: #ffffff;
    font-size: 0;
    width: 40px;
    height: 40px;
    text-indent: unset;
    z-index: 61;
}

#headerpic .nivo-directionNav a::after {
    content: "\2039";
    font-size: 40px;
    font-weight: 400;
    position: absolute;
    right: 50%;
    top: 50%;
    transform: translate(30%, -60%);
    color: #966e08 !important;
    line-height: 1;
    transform-origin: center top;
}

#headerpic .nivo-directionNav a:is(:hover, :focus) {
    box-shadow: inset 0 -5px 0 #d59c0b;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
    transform: scaleX(-1);
}

@media (min-width: 1200px) {
    #headerpic a:is(.nivo-nextNav, .nivo-prevNav) {
        bottom: 5px;
        top: unset;
        opacity: 1;
    }

    #headerpic a.nivo-prevNav {
        left: unset !important;
        right: 65px !important;
    }

    #headerpic a.nivo-nextNav {
        right: 15px !important;
    }

    #headerpic .nivo-directionNav {
        max-width: 1200px;
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 0;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
    }
}

/* banner dots */

#headerpic .nivo-controlNav.has-banner-control {
    line-height: 18px;
}

#headerpic .nivo-controlNav.has-banner-control .slick-dots {
    max-width: calc(100% - 38px);
}

#headerpic .nivo-controlNav li {
    width: 20px;
    height: 24px;
}

#headerpic .nivo-controlNav :is(a, button:not(#nivo-crtlbtn)) {
    background: transparent;
    border: 1px solid #ffffff;
    width: 10px;
    height: 10px;
    padding: 0;
}

#headerpic .nivo-controlNav button:not(#nivo-crtlbtn):is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
    background: #ffffff !important;
}

#headerpic .nivo-controlNav {
    z-index: 60;
    font-size: 0;
    bottom: 10px;
    width: 100%;
}

@media (min-width: 1200px) {
    #headerpic .nivo-controlNav {
        text-align: right;
        padding-right: 125px;
        max-width: 1200px;
        width: 100%;
        position: absolute;
        right: 0;
        bottom: 5px;
        margin: 0 auto;
        left: 50%;
        transform: translateX(-50%);
        z-index: 30;
        pointer-events: none;
    }

    #headerpic .nivo-controlNav .slick-dots {
        max-width: clamp(80px, 7vw, 140px);
    }

    #headerpic .nivo-controlNav * {
        pointer-events: auto;
    }
}

/* welcome */

#welcome {
    padding: 30px 0;
}

.index #welcome {
    padding-bottom: clamp(30px, 4vw, 80px);
}

@media (min-width: 1200px) {
    #welcome {
        padding-top: 0;
        margin-top: -54px;
    }

    .index #welcome {
        margin-top: -150px;
    }
}

#welcome>* {
    z-index: 12;
    position: relative;
}

#welcome,
#welcome :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

#welcome :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 400;
    font-size: clamp(1.875rem, 5vw, 2.875rem);
    margin: 0;
}

#welcome a {
    text-decoration: underline;
}

.welcomtxt,
.welcomtxt :is(h1, h2, h3, h4, h5, h6, a) {
    color: #d59c0b !important;
}

.welcomtxt :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.875rem, 4vw, 2.875rem);
}

.welcomtxt :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
}

/* bannerOverlay */

#bannerOverlay {
    margin-bottom: clamp(20px, 4vw, 42px);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 600;
}

.bigLetter {
    font-size: clamp(160px, 21vw, 280px);
    opacity: 0.08;
    position: absolute;
    bottom: -70px;
    left: 0;
    font-family: 'Caveat', cursive;
    line-height: 1;
    pointer-events: none;
}

@media (min-width: 1400px) {
    .bigLetter {
        left: -110px;
    }
}

/* search */

#search .tabHeadline {
    font-size: 1.375rem;
    font-weight: 500;
}

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

#searchbar {
    background: #ffffff;
}

#search_input {
    color: #333333;
    font-size: 1.125rem;
    font-style: normal !important;
    background: transparent;
    border: 0;
    width: 100%;
    padding: 15px 20px;
}

#search_submit {
    min-width: 61px;
    flex-shrink: 0;
    background: url('../img/search.svg') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: all 200ms linear;
    transform: scale(0.8);
}

#search_submit:is(:hover, :focus) {
    transform: scale(1);
}

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

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

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

main {
    text-align: left;
}

#content {
    padding-bottom: clamp(40px, 6vw, 90px);
    padding-top: clamp(40px, 4vw, 65px);
}

/* #region ----------------------------------  events ------------------------------------- */

#events {
    overflow: hidden;
    position: relative;
    font-size: 0.9375rem;
}

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

#events>.row+.row {
    margin-top: 30px;
}

#events :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

#events .tabHeadline {
    font-size: clamp(2.375rem, 3vw, 2.75rem);
    color: #966e08;
    padding-left: 14px;
    border-left: 4px solid #10375c;
}

#events .tabSchulungen {
    color: #0a2137;
    height: 100%;
    padding: 60px 25px;
    font-size: clamp(1rem, 1vw, 1.125rem);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #f6fdff;
}

@media (min-width: 768px) {
    #events .tabSchulungen {
        margin-right: -30px;
    }
}

#events .tabSchulungen .tabHeadline {
    color: #966e08;
    border: unset;
    padding: 0;
    margin-bottom: clamp(15px, 3vw, 25px);
    font-size: clamp(1.75rem, 3vw, 2.1875rem);
}

#events .more_link a {
    color: #10375c;
    font-weight: 500;
}

#events .tab_link {
    position: relative;
    height: 100%;
}

#events .tab_link_entries {
    display: grid;
    height: 100%;
    background: #0a2137;
}

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

@media (min-width: 576px) and (max-width: 767px) {
    #events .tab_link_entry:nth-child(odd):last-child {
        grid-column: 1/3;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    #events .tab_link_entries {
        grid-template-columns: 1fr;
        row-gap: 2px;
    }
}

#events .tab_link_entry {
    color: #ffffff;
    background: #0a2137 center / cover no-repeat;
    position: relative;
    z-index: 1;
    border: none !important;
    overflow: hidden;
}

#events .tab_link_entry a {
    color: inherit;
}

#events .tab_link_title a {
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 1.4;
    display: block;
    margin-bottom: 15px;
}

#events :is(.vorschau, .tab_spacer) {
    display: none;
}

#events .tab_link_entry:not(:has(.tab_preview_picture)):nth-child(2)::before,
#events .tab_link_entry .tab_preview_picture {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0.15;
    z-index: -1;
    transition: opacity 200ms linear;
}

@media (max-width: 767px) {

    #events .tab_link_entry:is(:hover, :focus-within):not(:has(.tab_preview_picture)):nth-child(2)::before,
    #events .tab_link_entry:is(:hover, :focus-within) .tab_preview_picture {
        opacity: 0.02;
    }
}

#events .tab_link_entry:not(:has(.tab_preview_picture)):nth-child(2)::before {
    content: "";
    background: center / cover no-repeat, #10375c;
}

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

#events .tab_link_date {
    text-align: right;
    font-weight: 500;
    position: absolute;
    top: 25px;
    right: 25px;
    padding-left: 24px;
    background: url(../img/icon-date.png) center left no-repeat;
}

#events .tab_link_mehr {
    font-size: 0;
}

/* events */

#events {
    padding-top: clamp(40px, 4vw, 80px);
    background: #f7f7f7;
}

#events .tab_link_entry {
    padding: clamp(70px, 8vw, 130px) 25px clamp(80px, 8vw, 100px) 25px;
}

@media (min-width: 992px) {
    #events .tab_link_entry:nth-child(2) {
        padding-left: calc(32% + 25px);
    }

    #events .tab_link_entry:not(:has(.tab_preview_picture)):nth-child(2)::before,
    #events .tab_link_entry .tab_preview_picture {
        opacity: 1;
        right: 68%;
    }
}

@media (min-width: 1200px) {
    #events .tab_link_entry:nth-child(2) {
        padding-left: calc(48% + 25px);
    }

    #events .tab_link_entry:not(:has(.tab_preview_picture)):nth-child(2)::before,
    #events .tab_link_entry .tab_preview_picture {
        right: 52%;
    }

    #events .col-xs-12:has(.tab_link) {
        padding-right: 0;
    }

    #events .tab_link::after {
        content: "";
        display: block;
        position: absolute;
        bottom: 0;
        top: 0;
        left: 75%;
        width: 33vw;
        max-width: 540px;
        background: #10375c;
    }

    #events::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 60px;
        left: 0;
        right: calc(50% + clamp(200px, 25%, 300px));
        box-shadow: inset 0 0 0 100vw rgba(255, 255, 255, 0.8);
        background: center / cover no-repeat;
    }
}

#events .tab_link_mandat {
    font-weight: inherit;
}

/* #endregion ------------------------------- events ------------------------------------- */

/* ------------------------------------------ tabs ---------------------------------------- */

#tabs {
    padding: clamp(30px, 4vw, 60px) 0;
}

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

/* ------------------------------------------ countrBx ---------------------------------------- */

#countrBx {
    padding: 15px 0;
}

/* ------------------------------------------ buttonStyle --------------------------------------- */

:is(#events) .tab_link_mehr a {
    padding: 10px 15px;
    color: #ffffff;
    background: #966e08;
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: outline 50ms linear;
}

:is(#events) .tab_link_mehr a:is(:hover, :focus) {
    outline: 2px solid #ffffff;
    text-decoration: none;
}

:is(#events) .tab_link_mehr a::before {
    content: '\203A \00a0';
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #966e08;
    font-weight: 400;
    line-height: 1.2;
    font-family: 'Caveat', cursive;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 3vw, 3.4375rem);
}

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.625rem, 3vw, 2.5rem);
}

h5,
.h5,
.legacy_h5 {
    font-size: clamp(1.5rem, 2vw, 2.1875rem);
}

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

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

.footerwrapper {
    background: #10375c;
    font-size: 0.9375rem;
}

@media (min-width: 576px) {
    .footerwrapper>.row>*:first-child {
        background: #0a2137;
    }
}

@media (max-width: 991px) {
    .footerwrapper>.row>*:last-child {
        border-top: 2px solid #ffffff;
    }
}

@media (min-width: 992px) {
    .footerwrapper {
        background: #10375c linear-gradient(to right, #0a2137, #0a2137 calc(50% - 60px), rgba(255, 255, 255, 0) calc(50% - 60px));
    }

    .footerwrapper :is(.tab1, .tab2) {
        padding-left: 30px;
    }
}

@media (min-width: 1200px) {
    .footerwrapper {
        background: #10375c linear-gradient(to right, #0a2137, #0a2137 25%, rgba(255, 255, 255, 0) 25%);
    }
}

.footerwrapper,
.footerwrapper :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

.footerwrapper .tabHeadline {
    font-size: 1.875rem;
    margin-bottom: 20px;
}

.footerwrapper>.row>* {
    padding-top: clamp(30px, 4vw, 50px);
    padding-bottom: clamp(30px, 4vw, 55px);
}

.footerwrapper a {
    text-decoration: underline;
}

/* scroll top */

#scrollTopBtn {
    text-decoration: none;
    position: relative;
    padding: 8px 48px 8px 0;
    display: block;
    font-weight: 500;
}

#scrollTopBtn::after,
#scrollTopBtn::before {
    content: "";
    display: block;
    position: absolute;
    top: 18px;
}

#scrollTopBtn::after {
    width: 34px;
    height: 34px;
    border: 2px solid #405f7d;
    right: 0;
    top: 0;
    transition: border 300ms linear;
}

#scrollTopBtn:is(:hover, :focus)::after {
    border-color: #ffffff;
}

#scrollTopBtn::before {
    margin-top: -3px;
    right: 12px;
    width: 12px;
    height: 12px;
    border-right: 2px solid #ffffff;
    border-top: 2px solid #ffffff;
    transform: rotate(-45deg);
    transition: border 300ms linear;
}

/* footer */

.footer {
    padding: 30px 0;
}

.footer>.row {
    row-gap: 20px;
}

#innerfooter ul {
    padding: 0;
}

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

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

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

    #innerfooter li+li::before {
        content: "•";
        margin: 0 15px;
        color: #1a1a1a;
    }
}

/* vernetzt */

#vernetzt {
    gap: 18px;
    text-align: right;
    font-size: 0.875rem;
    color: #333333;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}

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