@import url('https://fonts.verwaltungsportal.de/import/?family=Merriweather+Sans:400,400i,700,700i%7CMerriweather:400,400i,700,700i');

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

body {
    font-family: "Merriweather Sans", sans-serif;
    font-weight: 400;
    color: #333333;
    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: #a71a55;
}

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

b,
strong {
    font-weight: 700;
}

:is(main, #footer) a {
    text-decoration: underline;
}

#overflow {
    overflow: clip;
}

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

#topbar {
    padding-top: 26px;
    padding-bottom: 26px;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

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

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

/* burgermenu for tablet */

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

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

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #a71a55;
        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: 30px;
        right: 15px;
        z-index: 101;
        transition: top 300ms linear;
    }

    .is-sticky .navbar-header {
        top: 15px;
    }

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

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

@media (min-width: 768px) and (max-width: 991px) {
    .navbar-header {
        top: 38px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        background: #ffffff;
        border-bottom: 6px solid #a71a55;
    }

    nav.horizontally .navbar-nav {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: -6px;
        padding: 0 25px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav.horizontally [class*="toplevel"]>ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        position: absolute;
        left: 100%;
        top: 0;
    }

    nav.horizontally .navbar-nav li {
        position: relative;
    }

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

    nav.horizontally .navbar-nav li:is(.open:focus-within, :hover)>ul,
    nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        pointer-events: auto !important;
        opacity: 1 !important;
        visibility: visible;
    }

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

/* toplevel */

nav.horizontally a[class*="toplevel"] {
    color: #333333;
    font-weight: 400;
    text-align: left;
    padding: 14px 5px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

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

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

@media (min-width: 992px) {
    nav.horizontally li[class*="toplevel"]+li {
        display: flex;
        align-content: center;
        align-items: center;
        flex-grow: 1;
    }

    nav.horizontally li[class*="toplevel"]+li::before {
        content: "";
        display: inline-block;
        height: 20px;
        width: 20px;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Ccircle cx='5' cy='5' r='5' fill='%23a79e9e'/%3E%3C/svg%3E%0A") center / 10px auto no-repeat;
        flex-grow: 1;
    }

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

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 6px;
    width: 0;
    background: #e0e3dd;
    transform: translateX(-50%);
    transition: width 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: #a71a55;
}

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a::after,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open>a::after,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a::after,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::after {
    width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    nav.horizontally [class*="toplevel"]>ul {
        padding: 10px 0;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin: 10px;
    }
}

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

    nav.horizontally [class*="toplevel"]>ul {
        border-radius: 0 0 6px 6px;
    }

    nav.horizontally [class*="secondlevel"]>ul {
        margin-top: -18px;
        margin-left: 10px;
        border-radius: 6px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        width: 12px;
        top: 0;
        bottom: 0;
        left: -12px;
    }
}

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

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

/* secondlevel + thirdlevel over */

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

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
    row-gap: 15px;
}

#news .tab_link_entries,
#about-1 .row,
:is(#news, #innerfooter)>.row {
    row-gap: 30px;
}

:is(#headerpic, #footer)>.row {
    row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

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

#headerpic {
    padding-top: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M0.000,-0.000 C0.000,-0.000 479.333,100.1000 958.1000,100.1000 C1439.333,100.1000 1920.1000,-0.000 1920.1000,-0.000 L1920.1000,100.1000 L0.000,100.1000 L0.000,-0.000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
        url('../img/header-hintergrund-v2.jpg') center / cover no-repeat,
        #e2e5df;
    position: relative;
    z-index: 1;
}

.index #headerpic {
    padding: clamp(50px, 10vw, 110px) 0 clamp(100px, 10vw, 144px) 0;
}

/* header text */

@media (min-width: 768px) {
    body:not(.index) #header-text {
        padding-bottom: clamp(30px, 3vw, 50px);
    }
}

@media (min-width: 992px) {
    #header-text {
        padding-right: clamp(30px, 5vw, 60px);
    }
}

#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-family: inherit;
}

#headerpic :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
    color: #333333;
    font-style: normal;
    font-family: inherit;
}

#headerpic p :is(i, em) {
    font-family: "Merriweather", sans-serif;
    background: #a71a55;
    color: #ffffff;
    padding: 5px 15px;
    border-radius: 6px;
    font-style: normal;
    display: inline-block;
    margin-bottom: 25px;
}

body:not(.index) #headerpic p {
    display: none;
}

body:not(.index) #headerpic :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
}

/* scroll to content button */

#scroll2Content {
    position: absolute;
    z-index: 2;
    display: block;
    width: 50px;
    height: 50px;
    bottom: -27px;
    left: calc(50% - 25px);
    background: #ffffff;
    border-radius: 6px;
    transform: rotate(45deg);
}

#scroll2Content::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    transform: rotate(-45deg);
    background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M24 39.4q-.25 0-.525-.1t-.525-.35l-13.9-13.9Q8.6 24.6 8.6 24q0-.6.45-1.05.45-.45 1.05-.45.6 0 1.05.45L22.5 34.3V9.5q0-.65.425-1.075Q23.35 8 24 8q.65 0 1.075.425.425.425.425 1.075v24.8l11.35-11.35q.45-.45 1.05-.45.6 0 1.05.45.45.45.45 1.05 0 .6-.45 1.05l-13.9 13.9q-.25.25-.5.35-.25.1-.55.1Z' fill='%23333333'/%3E%3C/svg%3E") center -2px / 34px auto;
    transition: background-position 300ms linear;
}

#scroll2Content:is(:hover, :focus)::after {
    background-position-y: 32px;
}

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

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

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

@media (min-width: 992px) {
    body.index #slider {
        height: 460px;
    }

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

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

#headerpic .slider-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(-50px, -2vw, -10px);
}

#slider,
#headerpic .slider-wrapper::after {
    border-radius: clamp(100px, 15vw, 200px) 50px;
}

#headerpic .slider-wrapper::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    right: -30px;
    bottom: -30px;
    left: 30px;
    top: 30px;
    border: 1px solid rgba(51, 51, 51, 0.3);
}

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

.slider-mask {
    display: none;
}

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

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

#content-area {
    text-align: left;
    padding: clamp(45px, 5vw, 60px) 0 clamp(40px, 10vw, 100px) 0;
}

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

#news {
    font-size: 1rem;
    padding-bottom: clamp(40px, 6vw, 80px);
    background: url('../img/news-hintergrund.jpg') center / 100% auto no-repeat;
}

#news>.row::before {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    border: 1px solid rgba(51, 51, 51, 1);
}

@media (min-width: 768px) {
    #news>.row::before {
        top: 145px;
        right: 200px;
        bottom: 20px;
        left: 15px;
    }
}

#news :is(.tab, .button-design) {
    margin-left: clamp(20px, 2vw, 30px);
    background: #ffffff;
}

@media (max-width: 767px) {
    #news :is(.tab, .button-design) {
        margin-right: clamp(20px, 2vw, 30px);
    }
}

#news .tab {
    padding: 0 clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px) clamp(20px, 2vw, 30px);
}

@media (min-width: 768px) {
    #news .tab {
        padding-top: 95px;
    }
}

#news .button-design {
    display: inline-block;
    padding: 0 clamp(20px, 4vw, 30px);
    width: max-content;
}

#news .tab_link_entries {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
}

#news>.row::before,
#news .tab_link_entry {
    border-radius: 50px;
}

#news .tab_link_entry {
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    background: #e2e5df url('../img/hintergrund-news-entry.png') top right no-repeat;
    padding: 276px clamp(20px, 3vw, 60px) 30px clamp(20px, 3vw, 60px);
    border: none !important;
}

#news .tab_link_entry::after {
    content: "";
    display: block;
    position: absolute;
    top: 204px;
    right: 35px;
    z-index: 1;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    pointer-events: none;
    background: #a79e9e url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M21.7 43.15q-2.9-2.1-6.125-3.4-3.225-1.3-6.625-1.7-1.25-.15-2.1-1.075Q6 36.05 6 34.9V19.35q0-1.3.9-2.125t2.05-.625q3.95.6 7.775 2.65T24 24.55q3.45-3.25 7.275-5.3t7.775-2.65q1.15-.2 2.05.625.9.825.9 2.125V34.9q0 1.15-.85 2.075-.85.925-2.1 1.075-3.4.4-6.625 1.7-3.225 1.3-6.125 3.4-1 .7-2.3.7-1.3 0-2.3-.7Zm2.45-25.75q-3.25 0-5.475-2.225Q16.45 12.95 16.45 9.7q0-3.25 2.225-5.475Q20.9 2 24.15 2q3.25 0 5.475 2.225Q31.85 6.45 31.85 9.7q0 3.25-2.225 5.475Q27.4 17.4 24.15 17.4Z' fill='%23333333'/%3E%3C/svg%3E") center / 25px auto no-repeat;
}

@media (min-width: 576px) {
    #news .tab_link_entries {
        flex-wrap: nowrap;
        margin-bottom: 80px;
    }

    #news .tab_link_entry {
        width: 50%;
    }
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry .tab_link_title a::before {
    height: 220px;
    top: clamp(20px, 3vw, 30px);
    left: clamp(20px, 3vw, 30px);
    right: clamp(20px, 3vw, 30px);
    display: block;
    overflow: hidden;
    position: absolute;
}

#news .tab_link_entry .tab_preview_picture {
    border-radius: 78px 38px;
}

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

#news .tab_link_entry .tab_link_title a::before {
    content: "";
    border-radius: 80px 40px;
    background: center / cover no-repeat;
}

#news .tab_link_title a {
    color: #a71a55;
    font-weight: 400;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.2;
}

#news .tab_link_title a:not(:hover):not(:focus) {
    text-decoration: none;
}

#news .tab_date {
    margin-bottom: 4px;
}

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

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

/* #region -------------------------------------- about 1 --------------------------------------- */

#about-1 {
    padding-bottom: clamp(60px, 10vw, 90px);
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='100px'%3E%3Cpath fill='%23fff' d='M618.1000,-0.000 L1919.1000,-0.000 L1919.1000,99.1000 C1919.1000,99.1000 1099.333,-0.000 618.1000,-0.000 ZM0.000,46.284 L0.000,-0.000 L618.1000,-0.000 C391.058,-0.000 169.633,22.582 0.000,46.284 Z'/%3E%3C/svg%3E") center top / 101% auto no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='76px'%3E%3Cpath fill='%23f1f2ef' d='M1919.1000,76.000 L0.000,76.000 L0.000,37.665 C48.871,26.378 180.263,12.266 519.1000,3.1000 C897.798,-5.193 1033.140,37.199 1264.1000,53.1000 C1599.485,78.237 1820.057,33.759 1919.1000,6.473 L1919.1000,76.000 Z'/%3E%3Cpath fill='%23e2e5df' d='M471.1000,67.1000 C276.432,67.790 135.810,37.423 82.065,23.653 C160.781,15.550 294.481,7.487 519.1000,1.1000 C668.991,-1.626 780.269,2.773 874.635,10.460 C785.538,30.863 647.602,68.188 471.1000,67.1000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
        #e2e5df;
}

@media (min-width: 768px) {
    #about-1 {
        margin-top: clamp(30px, 8vw, 60px);
    }
}

#about-1 .about-text {
    font-size: 1rem;
    padding-top: clamp(50px, 10vw, 100px);
}

#about-1 .about-text :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
}

#about-1 .about-text a {
    color: inherit;
    font-weight: 700;
}

#about-1 .about-text a::after {
    content: " \279C";
}

#about-1 .banner {
    margin-right: calc(100% / 6);
    max-width: 470px;
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    #about-1 .banner {
        margin-top: clamp(-60px, -10vw, -30px);
    }
}

#about-1 .banner::after,
#about-1 .banner img {
    display: block;
    border-radius: 50px;
}

#about-1 .banner::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -30px;
    bottom: -30px;
    left: 30px;
    top: 30px;
    border: 1px solid rgba(51, 51, 51, 1);
}

/* opening hours */

.banner+#opening-hours {
    margin-top: clamp(-170px, -10vw, -30px);
}

#opening-hours,
#opening-hours * {
    color: #ffffff;
}

#opening-hours {
    position: relative;
    z-index: 2;
    padding: 20px;
    background: #a71a55;
    border-radius: 50px;
    margin-left: 0;
}

@media (min-width: 576px) {
    #opening-hours {
        margin-left: calc(100% / 3);
    }
}

.opening-hours-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 80px 40px;
    padding: clamp(30px, 4vw, 40px) clamp(15px, 3vw, 30px);
}

/* #endregion ----------------------------------- about 1 --------------------------------------- */

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

#events {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='1920px' height='110px'%3E%3Cpath fill='%23fff' d='M1.004,292.0000 L1920.999,292.0000 L1921.031,39.1000 C1921.031,39.1000 1893.545,21.881 1394.284,11.1000 C1028.489,2.807 897.447,45.199 672.954,61.1000 C278.716,91.504 0.971,-0.000 0.971,-0.000 L1.004,292.0000 Z'/%3E%3C/svg%3E") center bottom / 101% auto no-repeat,
        url('../img/events-hintergrund.jpg') center top 30px / 100% auto no-repeat,
        #f1f2ef;
}

@media (min-width: 576px) and (mAx-width: 767px) {
    #events .col-sm-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

#events>.row {
    padding: clamp(50px, 8vw, 60px) 0 clamp(40px, 10vw, 80px) 0;
}

#events img {
    border: 6px solid #ffffff;
}

#ev2 .tab_link {
    margin-top: 20px;
}

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

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

@media (min-width: 768px) {
    #ev2 .tab_link_entries {
        grid-template-columns: repeat(3, 1fr);
    }
}

#ev2 .tab_link_entry {
    overflow: hidden;
    position: relative;
    padding: 40px 30px;
    background: #ffffff;
    border-radius: 50px;
}

#ev2 .tab_link_title {
    margin-bottom: 6px;
}

#ev2 .tab_link_title a {
    display: block;
    color: #a71a55;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

#ev2 .tab_link_date {
    font-size: 1rem;
}

#ev2 .tab_link_mehr {
    color: transparent;
    font-size: 0;
}

#ev2 .tab_spacer {
    display: none;
}

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

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

.button-design a:not(.has-image),
#ev2 .tab_link_mehr a {
    display: inline-block;
    line-height: 1.2;
    color: #ffffff;
    border-radius: 40px;
    font-size: 1.125rem;
    font-weight: 400;
    background: #a71a55;
    padding: 12px 20px 10px 48px;
    position: relative;
    text-decoration: none !important;
}

#header-text.button-design a:not(.has-image) {
    margin-top: clamp(1px, 1vw, 15px);
}

.button-design a:not(.has-image)::after,
#header-text.button-design a:not(.has-image)::before,
#ev2 .tab_link_mehr a::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
}

.button-design a:not(.has-image)::after,
#ev2 .tab_link_mehr a::after {
    bottom: unset;
    top: calc(50% - 10px);
    left: 8px;
    width: 30px;
    height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24px' viewBox='0 -960 960 960' width='24px' fill='%23ffffff'%3E%3Cpath d='M647-440H200q-17 0-28.5-11.5T160-480q0-17 11.5-28.5T200-520h447L451-716q-12-12-11.5-28t12.5-28q12-11 28-11.5t28 11.5l264 264q6 6 8.5 13t2.5 15q0 8-2.5 15t-8.5 13L508-188q-11 11-27.5 11T452-188q-12-12-12-28.5t12-28.5l195-195Z'/%3E%3C/svg%3E") center left 2px / 28px auto;
    transition: background-position 300ms linear;
}

.button-design a:not(.has-image):is(:hover, :focus)::after,
#ev2 .tab_link_mehr a:is(:hover, :focus)::after {
    background-position-x: 30px;
}

#header-text.button-design a:not(.has-image)::before {
    top: 0;
    right: 0;
    left: 0;
    z-index: -1;
    border-radius: 40px;
    border: 1px solid rgba(51, 51, 51, 0.3);
    transition: transform 200ms linear;
}

.button-design a:not(.has-image):is(:hover, :focus)::before {
    transform: translateX(10px) translateY(10px);
}

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

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

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

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

#news .tab :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: clamp(15px, 4vw, 34px);
}

#news .tab :is(h1, h2, h3, h4, h5, h6),
#events :is(h1, h2) {
    font-weight: 400;
}

#news .tab :is(h1, h2, h3, h4, h5, h6) :is(b, strong),
#events :is(h1, h2) :is(b, strong) {
    font-weight: 700;
}

h1,
.h1,
.legacy_h1,
#headerpic :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(36px, 6vw, 45px);
    margin-bottom: clamp(15px, 4vw, 38px);
}

h2,
.h2,
.legacy_h2,
#news .tab :is(h1, h2, h3, h4, h5, h6),
#events :is(h1, h2)  {
    font-size: clamp(33px, 5.5vw, 40px);
}

h3,
.h3,
.legacy_h3 {
    font-size: clamp(30px, 5vw, 35px);
}

h4,
.h4,
.legacy_h4 {
    font-size: clamp(27px, 4.5vw, 30px);
}

h5,
.h5,
.legacy_h5,
#events :is(h3, h4, h5, h6),
#about-1 .about-text :is(h1, h2, h3, h4, h5, h6),
#footer :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(25px, 4vw, 25px);
}

h6,
.h6,
.legacy_h6 {
    font-size: clamp(23px, 3.5vw, 22px);
}

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

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

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

#footer {
    padding: clamp(20px, 3vw, 30px) 0 clamp(40px, 4vw, 50px) 0;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
    font-weight: 400;
}

.footer-tab {
    font-size: 1rem;
    border-radius: 50px;
    background: #e2e5df;
    padding: 40px clamp(20px, 2vw, 40px) 34px calc(clamp(20px, 2vw, 40px) + 20px);
    position: relative;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    min-height: 100%;
}

.footer-tab::after {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: -10px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #a79e9e;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30px auto;
}

.footer-tab-1::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M795 936q-122 0-242.5-60T336 720q-96-96-156-216.5T120 261q0-19.286 12.857-32.143T165 216h140q13.611 0 24.306 9.5Q340 235 343 251l27 126q2 14-.5 25.5T359 422L259 523q56 93 125.5 162T542 802l95-98q10-11 23-15.5t26-1.5l119 26q15.312 3.375 25.156 15.188Q840 740 840 756v135q0 19.286-12.857 32.143T795 936ZM229 468l81-82-23-110H180q0 39 12 85.5T229 468Zm369 363q41 19 89 31t93 14V769l-103-21-79 83ZM229 468Zm369 363Z' fill='%23333333'/%3E%3C/svg%3E");
}

.footer-tab-2::after {
    background-size: 32px auto;
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M18.5 25.5v-9.25L24 12.6l5.5 3.65v9.25h-3v-6h-5v6ZM24 40.05q6.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 44Z' fill='%23333333'/%3E%3C/svg%3E");
}

.footer-tab-3::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' viewBox='0 96 960 960' width='48'%3E%3Cpath d='M140 896q-24 0-42-18t-18-42V316q0-24 18-42t42-18h680q24 0 42 18t18 42v520q0 24-18 42t-42 18H140Zm340-302L140 371v465h680V371L480 594Zm0-60 336-218H145l335 218ZM140 371v-55 520-465Z' fill='%23333333'/%3E%3C/svg%3E");
}

#innerfooter {
    padding: 30px 0;
    background: #a79e9e;
}

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

#innerfooter ul {
    padding: 0;
}

@media (min-width: 576px) {
    #innerfooter li+li::before {
        content: "•";
        margin: 0 clamp(15px, 2vw, 22px);
        color: #333333;
    }

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

#innerfooter li a {
    color: inherit;
}

@media (max-width: 575px) {
    #innerfooter li a {
        padding: 4px;
        display: inline-block;
    }
}

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

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

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

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

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

/* #region ------------------------------------ deco figures ------------------------------------ */

:is(#news>.row, #about-1>.row)::after {
    content: "";
    display: block;
    position: absolute;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
}

#news>.row::after {
    animation: float2 6s ease-in-out infinite;
}

#about-1>.row::after {
    animation: float1 6s ease-in-out infinite;
}

#news>.row::after {
    background-image: url('../img/news.png');
    width: 227px;
    height: 240px;
    left: -175px;
    bottom: 80px;
}

#about-1>.row::after {
    background-image: url('../img/buch.png');
    width: 169px;
    height: 131px;
    right: -93px;
    top: 35px;
    z-index: 3;
}

@keyframes float1 {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(-20px) translateX(10px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

@keyframes float2 {
    0% {
        transform: translateY(0px) translateX(0px);
    }

    50% {
        transform: translateY(20px) translateX(-10px);
    }

    100% {
        transform: translateY(0px) translateX(0px);
    }
}

/* #endregion --------------------------------- deco figures ------------------------------------ */