@import url("https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,600,400i,600i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Oswald:400,400i,500,500i,600,600i,700,700i");

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

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

@media (min-width: 1200px) {
    body.index {
        background-image: url('../img/konfetti-l.png');
        background-position: top 255px left;
        background-repeat: no-repeat;
    }
}

a {
    color: #326F2F;
}

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

b,
strong {
    font-weight: 600;
}

/* ------------------------------------------- logo --------------------------------------------- */

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

    .is-sticky #logo {
        top: -30px;
    }

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.horizontally {
        padding: 10px 0;
        position: static !important;
        background: #ffffff;
    }

    #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: #367d34;
        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 {
        margin: 20px 0;
    }

    .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: 4px;
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 40px 0;
        transition: padding 300ms linear;
    }

    nav.horizontally>.row {
        background: #ffffff;
    }

    .is-sticky nav.horizontally {
        padding: 10px 0;
        background: #ffffff;
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    }

    nav.horizontally .navbar-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        visibility: hidden;
        transition: opacity 300ms linear;
    }

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

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

    nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
    nav.horizontally .navbar-nav li.open:focus-within>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.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: #2b2b2b;
    font-weight: 400;
    text-align: left;
    padding: 10px 35px 15px 35px;
    position: relative;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 16px 0;
        text-align: center;
    }
}

/* 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: #367d34;
    background-color: transparent;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px;
    background-color: #ffffff;
}

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

    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 14px;
    }

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        content: "";
        position: absolute;
        display: block;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        height: 14px;
        left: 0;
        right: 0;
        top: -14px;
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        width: 10px;
        top: 0;
        bottom: 0;
        left: -10px;
    }
}

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
        content: "\00BB";
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -12px;
        font-size: 24px;
        line-height: 1;
        font-family: "Work Sans";
    }
}

/* 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) {
    background: #ebf2ea;
    color: #282828;
}

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

/* -------------------------------------------- banner ------------------------------------------ */

@media (min-width: 768px) {
    .slider-wrapper {
        outline: 15px solid #fff;
        border: 15px solid #fff;
    }
}

@media (max-width: 767px) {
    .slider-wrapper {
        box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
    }
}

body:not(.index) .slider-wrapper {
    border-left: unset;
    border-bottom: unset;
}

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

@media (min-width: 992px) {
    .index #slider {
        max-height: clamp(400px, 53vw, 650px);
    }
}

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
}

body:not(.index) #headerpic {
    padding: 0;
}

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

.slider-mask {
    display: none;
}

header>.row {
    row-gap: 30px;
}

@media (min-width: 576px) {
    header {
        position: relative;
        z-index: 101;
    }

    header::after {
        content: "";
        position: absolute;
        z-index: -1;
        right: 0;
        bottom: 0;
        top: 0;
        width: 40vw;
        max-width: 960px;
        pointer-events: none;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.index header::after {
        bottom: 60px;
    }
}

@media (min-width: 992px) {
    header::after {
        width: 60vw;
    }
}

/* ------------------------------------------- headertab ---------------------------------------- */

#headertab {
    position: relative;
    padding: 0 0 clamp(20px, 3vw, 35px) clamp(20px, 3vw, 35px);
}

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

#headertab::before {
    content: "";
    position: absolute;
    top: 36px;
    bottom: 0;
    left: 0;
    right: 40%;
    pointer-events: none;
    border-left: 8px solid #367d34;
    border-bottom: 8px solid #367d34;
}

#headertab :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
    margin: 0;
    line-height: 1;
}

/* #region ------------------------------------- tabs ------------------------------------------- */

#tabs {
    font-size: 1rem;
    margin-top: clamp(30px, 6vw, 100px);
    background: linear-gradient(to top, #ececec 50%, rgba(255, 255, 255, 0) 50%);
}

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

#tabs .tab {
    height: 100%;
}

#tabs .tab1 {
    padding: clamp(50px, 8vw, 90px) clamp(15px, 2.5vw, 50px);
    background-color: #5fd45b;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#tabs .tab1 a {
    color: inherit;
    text-decoration: underline;
}

#tabs .tab1 :is(h1, h2, h3, h4, h5, h6) {
    color: inherit;
    font-size: clamp(1.875rem, 5vw, 3.4375rem);
    margin: 8px 0 15px 0;
}

#tabs .tab2 {
    padding: clamp(20px, 4vw, 45px) clamp(15px, 2.5vw, 40px);
    background-color: #ffffff;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.15);
}

#tabs .tab2 .tabHeadline {
    color: inherit;
    padding-top: clamp(55px, 8vw, 80px);
    margin-bottom: clamp(10px, 2vw, 25px);
    background: url('../img/icon-veranstaltungen.png') top left no-repeat;
}

#tabs .tab2 .tabHeadline2 {
    background-image: url('../img/icon-anmeldung.png');
}

/* events */

#events .tab_link a {
    color: inherit;
}

#events .tab_link_title a {
    font-weight: 600;
    font-family: "Oswald", sans-serif;
}

#events .tab_link_mehr {
    margin-top: clamp(10px, 3vw, 40px);
    font-size: 0;
}

#tabs .tab3 a,
#events .tab_link_mehr a {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #367d34;
    display: inline-block;
    padding-right: 30px;
    text-decoration: none;
    background: url('data:image/svg+xml;utf-8,<svg xmlns="http://www.w3.org/2000/svg" height="15px" viewBox="0 -960 960 960" width="15px" fill="%23367d34"><path d="M615.91-427H140.78v-106h475.13L404.35-744.57 480-819.22 819.22-480 480-140.78l-75.65-74.65L615.91-427Z"/></svg>') center right 15px no-repeat;
    transition: background 200ms linear;
}

#tabs .tab3 a:is(:hover, :focus),
#events .tab_link_mehr a:is(:hover, :focus) {
    background-position: center right 0;
}

/* #endregion ---------------------------------- tabs ------------------------------------------- */

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

#content {
    text-align: left;
    padding-top: clamp(40px, 8vw, 70px);
    padding-bottom: clamp(40px, 8vw, 90px);
    background-color: #ececec;
}

/* #region ------------------------------------- sight ------------------------------------------ */

#sight {
    padding: clamp(30px, 8vw, 65px) 0 clamp(30px, 8vw, 70px) 0;
}

@media (min-width: 1200px) {
    #sight {
        background: url('../img/konfetti.png') top right no-repeat;
        position: relative;
        overflow: clip;
    }

    #sight>.row::before {
        content: '';
        position: absolute;
        pointer-events: none;
        bottom: clamp(-70px, -8vw, -30px);
        left: -60px;
        width: 310px;
        height: 432px;
        background: url('../img/clown.png') center no-repeat;
    }
}

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

#sight .tabSpecial {
    font-size: clamp(1.25rem, 2vw, 1.375rem);
}

@media (min-width: 992px) {
    #sight .tabSpecial {
        margin-bottom: 20px;
    }
}

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

#sight .tab {
    padding: clamp(30px, 8vw, 110px) 20px 30px clamp(15px, 2.5vw, 40px);
    position: relative;
    z-index: 1;
    font-size: 1rem;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #5fd45b, #95d492);
}

#sight .tab :is(.row, .row>div) {
    position: static;
}

#sight .tab :is(h1, h2, h3, h4, h5) {
    color: inherit;
    margin: 4px 0;
}

#sight .tab a {
    color: inherit;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: clamp(30px, 10vw, 155px);
    min-height: 34px;
    background: url('../img/arrow-tab.png') center right 15px no-repeat;
    transition: background 200ms linear;
}

#sight .tab a:is(:hover, :focus) {
    background-position: center right 0;
}

#sight .tab img {
    position: absolute;
    opacity: 0.08;
    z-index: 0;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    max-width: unset;
    display: block;
}

/* #endregion ---------------------------------- sight ------------------------------------------ */

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

#sight .tab :is(h1, h2, h3) {
    font-size: clamp(1.75rem, 2vw, 1.875rem);
}

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #326F2F;
    font-weight: 600;
    line-height: 1.2;
    font-family: "Oswald", sans-serif;
    letter-spacing: 1px;
}

h1,
.h1,
.legacy_h1,
.tabSpecial :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.875rem, 4vw, 2.8125rem);
}

#headertab :is(h1, h2, h3, h4, h5, h6) {
    color: #2b2b2b;
    font-weight: 700;
    font-size: clamp(1.875rem, 4vw, 5.75rem);
}

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

h3,
.h3,
.legacy_h3,
#tabs .tab2 .tabHeadline,
#sight .tab :is(h1, h2, h3, h4, h5) {
    font-size: clamp(1.625rem, 3vw, 1.875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: 1.5rem;
}

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

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

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

#footer {
    background: #367d34;
    padding: 40px 0;
    color: #ffffff;
    font-size: 1rem;
}

@media (max-width: 991px) {
    :is(#footer, #innerfooter)>.row>.col-xs-12+* {
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (min-width: 768px) {
    #innerfooter>.row>.col-xs-12+:nth-child(2) {
        border: none;
        margin-top: 0;
        padding-top: 0;
    }
}

#footer a {
    color: #ffffff;
    text-decoration: underline;
}

#footer .footerHeadline {
    color: #ffffff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 1.5625rem;
}

#footer .buttonStyle a {
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Oswald", sans-serif;
    text-transform: uppercase;
    color: #367d34;
    padding: 7px 21px;
    background: #ffffff;
}

#footer .buttonStyle a:is(:hover, :focus) {
    color: #2b2b2b;
}

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

#innerfooter {
    color: #2b2b2b;
    background-color: #ffffff;
    padding: 24px 0;
    font-size: 1rem;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

.innerfooter a {
    color: #2b2b2b;
    text-decoration: none;
    display: inline-block;
    padding: 10px 12px;
}

.innerfooter a:is(:hover, :focus) {
    color: #367d34;
    text-decoration: underline;
}

.innerfooter li+li {
    margin-left: 10px;
}

/* ------------------------------------------- scroll top --------------------------------------- */

#scroll-top {
    font-size: 0;
    width: 33px;
    height: 33px;
    display: block;
    position: relative;
    margin: 0 auto;
    background: #2b2b2b;
}

#scroll-top:is(:hover, :focus) {
    background: #367d34;
}

@media (min-width: 768px) {
    #scroll-top {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    #scroll-top {
        margin: 0;
    }
}

#scroll-top::after {
    content: "";
    position: absolute;
    left: 10px;
    top: 3px;
    width: 10px;
    height: 10px;
    border-radius: 2px;
    margin-top: 10px;
    display: inline-block;
    border-right: 3px solid #ffffff;
    border-top: 3px solid #ffffff;
    transform: rotate(-45deg);
    transition: border 300ms linear;
}

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

#vernetzt {
    gap: 14px;
    text-align: right;
    color: #2b2b2b;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.8125rem;
}

#vernetzt span span {
    display: block;
}