@import url('https://fonts.verwaltungsportal.de/import/?family=Rubik:300,300i,400,400i,500,500i,600,600i,700,700i,800,800i');
@import url("https://fonts.verwaltungsportal.de/import/?family=Alegreya:400,400i,500,500i,600,600i,700,700i,800,800i");

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

body {
    font-family: "Rubik", sans-serif;
    font-weight: 300;
    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: #9a0000;
}

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

:is(main, footer, #headerpic) a,
b,
strong {
    font-weight: 500;
}

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

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

#logo {
    display: inline-block;
}

@media (min-width: 992px) {
    #logo {
        position: absolute;
        top: 0;
    }

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

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

#logo img {
    display: block;
}

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

    #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: #011466;
        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;
        padding-top: 40px;
    }

    .is-sticky nav.horizontally {
        padding-top: 0;
    }

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

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

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

    nav.horizontally #myNavbar {
        background: rgba(255, 255, 255, 0.85);
        border-bottom-left-radius: 4px;
        border-bottom-right-radius: 4px;
    }

    .is-sticky nav.horizontally #myNavbar {
        background: #ffffff;
    }

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

    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: 500;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: 21px;
    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: 12px;
        height: 6px;
        left: calc(50% - 3px);
        bottom: -6px;
        background: #1a1a1a;
        clip-path: polygon(50% 100%, 0 0, 100% 0);
    }
}

/* 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: #011466;
    border-color: #b49a04;
}

@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 #9a0000;
}

@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: rgba(255, 255, 255, 0.95);
        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: 500;
    padding: 8px 20px;
    margin-bottom: 2px;
    border: 2px solid transparent;
    border-radius: 18px;
}

nav.horizontally a[class*="thirdlevel"] {
    font-weight: 300;
    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) {
    color: #011466;
    border-color: #b49a04;
}

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

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 {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: 286px;
    left: calc(50% + 70px);
    background: #ffca4c;
    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);
    }
}

@media (min-width: 1200px) {
    header {
        background: url('../img/bild-heder-links.jpg') top left no-repeat;
    }
}

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

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

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

/* 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, 3rem);
    margin-bottom: clamp(20px, 4vw, 40px);
    line-height: 1.15;
    text-transform: uppercase;
}

@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: #f6f6f6;
    border-radius: 4px;
    color: #1a1a1a;
    font-size: clamp(1rem, 2vw, 1.125rem);
    padding-left: clamp(10px, 4vw, 30px);
    overflow: hidden;
    margin-top: 25px;
    margin-bottom: clamp(40px, 8vw, 140px);
}

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

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

#search_input {
    color: #1a1a1a;
    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(0, 0, 0, 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='%239a0000'/%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(0, 0, 0, 0.2)
}

#search_input::placeholder {
    color: #1a1a1a !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

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

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

@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, 570px);
    }

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

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

    .slider-wrapper::after {
        content: "";
        pointer-events: none;
        display: block;
        position: absolute;
        z-index: -1;
        top: -35px;
        left: -35px;
        right: -35px;
        bottom: -35px;
        border-radius: 50%;
        border: 12px solid transparent;
        border-top-color: #9a0000;
        border-left-color: #9a0000;
    }
}

/* 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='%239a0000'/%3E%3C/svg%3E") center / 18px auto no-repeat;
    top: auto;
    bottom: calc(50% - 40px);
}

#headerpic .nivo-directionNav :is(a:hover, a:focus) {
    background: #9a0000 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='%23fff'/%3E%3C/svg%3E") center / 18px auto no-repeat;
}

@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 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 ----------------------------------- news  ------------------------------------ */

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

#news {
    background: linear-gradient(to bottom, #f7f2e4, #f7f2e4 200px, rgba(255, 255, 255, 0) 200px);
}

@media (min-width: 1200px) {
    #news {
        background: url('../img/deko-muenster-grau-aktuelles.png') top 20px right no-repeat,
            linear-gradient(to bottom, #f7f2e4, #f7f2e4 200px, rgba(255, 255, 255, 0) 200px);
    }
}

#news::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    max-height: 75%;
    background: url('../img/bild-links-aktuelles.jpg') center no-repeat;
}

#news::after {
    left: 0;
    bottom: 0;
    height: 100%;
    right: 50%;
}

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

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

#news>.row>*+* {
    margin-top: 35px;
}

/* tab image */

@media (max-width: 991px) {
    .tab-narrow>* {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 992px) {
    #news .tab-narrow {
        padding-right: clamp(30px, 4vw, 45px);
    }
}

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

#news .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;
}

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

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

/* tab */

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

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

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

/* tabnews/tabevents */

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


#news .tab_link_entries {
    display: grid;
    gap: 30px 30px;
}

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

#news .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='%23ece6c0'/%3E%3C/svg%3E") top -12px right 6px / 96px auto no-repeat;
}

#news .tab_link_entry .tab_date {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 500;
    background: #011466 url('../img/icon-kalender.png') center left 10px 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;
}

#news .tab_link_entry .tab_link_title::after {
    content: "-";
    display: block;
    margin: 3px 0;
    font-weight: 500;
    line-height: 1;
}

#news .tab_link_entry .tab_link_title a {
    font-size: 1.3125rem;
    line-height: 1.2;
    display: block;
    color: #1a1a1a;
    font-weight: 500;
    font-family: "Alegreya", sans-serif;
}

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

#news .tab_link_entry .tab_preview_picture,
#news .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);
}

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

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

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

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

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

.button-design a::after {
    content: "";
    display: block;
    position: absolute;
    top: 4px;
    right: 4px;
    bottom: 4px;
    width: 34px;
    background: rgba(0, 0, 0, 0.2) 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='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
    border-radius: 50%;
    transition: background 300ms linear;
}

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

.button-design a:is(:hover, :focus)::after {
    background-color: rgba(0, 0, 0, 0.9);
}

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

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

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

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

/* #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: #9a0000;
}

.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: 600;
    line-height: 1.2;
    font-family: "Alegreya", sans-serif;
    margin-bottom: 15px;
}

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

#news :is(h1, .h1, h2, .h2) :is(i, em) {
    font-style: normal;
    font-weight: 500;
    font-family: "Rubik", sans-serif;
    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 --------------------------------------- footer --------------------------------------- */

footer {
    background: #f7f2e4;
}

@media (min-width: 1200px) {
    footer {
        background: url('../img/deko-muenster-grau-footer.png') bottom left no-repeat, #f7f2e4;
    }
}

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

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

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

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

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

@media (min-width: 1200px) {
    .footerTab::before {
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        left: -18px;
        width: 8px;
        background: #9a0000;
    }
}

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

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

#innerfooter ul {
    padding: 0;
}

#innerfooter ul a {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
}

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

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

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

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

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

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

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

#innerfooter #vernetzt strong {
    color: #011466;
}

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