@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:400,400i,700,700i");

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

body {
    font-family: "Source Sans 3", sans-serif;
    font-weight: 400;
    color: #636363;
    background: #f4f8f2;
    font-size: clamp(1rem, 2vw, 1.125rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #e00000;
}

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

#contentCol a {
    text-decoration: underline;
}

#contentCol a:is(:hover, :focus) {
    text-decoration: none;
}

b,
strong {
    font-weight: 700;
}

/* ------------------------------------------------- compact ------------------------------------------------ */

.compact {
    background: #ffffff;
    box-shadow: 0px 20px 40px 0px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1200px) {

    .row.rowWide,
    .compact {
        max-width: 1440px;
        width: 100%;
    }
}

/* ------------------------------------------------- topbar ------------------------------------------------ */

#topbar {
    padding: 35px 15px;
}

#topbar>.row {
    row-gap: 35px;
}

@media (max-width: 991px) {
    #topbar {
        border-bottom: 10px solid #157e2c;
        padding: 15px 15px;
    }

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

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

#logo {
    display: flex;
    align-items: center;
    align-content: center;
    gap: clamp(15px, 3vw, 30px);
    text-decoration: none;
}

#logo .logoImg img {
    display: block;
}

@media (max-width: 991px) {
    #logo {
        flex-wrap: wrap;
    }

    #logo .logoImg img {
        max-width: 210px;
        width: 100%;
    }
}

#logo .logoTxt {
    color: #636363;
    line-height: 1.2;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

#logo .logoTxt :is(b, strong) {
    color: #157e2c;
    display: block;
    font-size: clamp(1.125rem, 2vw, 1.5625rem);
}

.specialHeadline h2 {
    font-size: clamp(1.75rem, 4vw, 2.375rem);
    margin: 0;
}

.specialHeadline h2 i {
    font-style: normal;
}

@media (min-width: 768px) {
    .specialHeadline h2 i {
        margin-left: clamp(0px, 7vw, 130px);
    }
}

/* -------------------------------------- buttonContactStyle ------------------------------------- */

.buttonContactStyle a {
    text-decoration: none;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: #0c551c;
    aspect-ratio: 1/1;
    padding: 4px;
    border-radius: 100%;
    background: #d4e2cb;
    transition: background 300ms linear, color 300ms linear;
}

.buttonContactStyle a:is(:hover, :focus) {
    color: #ffffff;
    background: #157e2c;
}

@media (min-width: 992px) {
    .buttonContactStyle a {
        width: 112px;
    }

    .buttonContactStyleDonate a {
        width: 88px;
    }
}

.buttonContactStyleDonate a {
    text-decoration: none;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    text-transform: uppercase;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    aspect-ratio: 1/1;
    padding: 4px;
    border-radius: 100%;
    background: #157e2c;
    transition: background 300ms linear, color 300ms linear;
    position: relative;
    margin-top: 10px;
    line-height: 1.1;
}

.buttonContactStyleDonate a:is(:hover, :focus) {
    color: #0c551c;
    background: #d4e2cb;
}

.buttonContactStyleDonate a::after {
    content: '';
    position: absolute;
    pointer-events: none;
    top: -30px;
    right: -22px;
    width: 87px;
    height: 38px;
    background: url('../img/spenden-button-hand-deko.png') center no-repeat;
}

/* -------------------------------------- newsletterTab ------------------------------------- */

.newsletterTab {
    color: #636363;
    font-size: 1rem;
    margin-top: 5px;
    padding-top: 15px;
    border-top: 1px solid #636363;
}

@media (min-width: 992px) {
    .newsletterTab {
        margin-left: 75px;
    }
}

#newsletter {
    margin-top: 10px;
}

#newsletterInputs {
    width: 100%;
    min-height: 36px;
    background: #d4e2cb;
    border-radius: 2px;
    overflow: hidden;
    display: inline-block;
    position: relative;
}

#newsletter_input {
    color: #0c551c;
    font-size: 1rem;
    font-style: normal;
    background: transparent;
    padding: 0;
    border: 0;
    padding-left: 15px;
    padding-right: 65px;
    min-height: 36px;
    width: 100%;
}

#newsletter_submit {
    width: 48px;
    background: #157e2c url('../img/icon-newsletter.png') center no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    font-size: 0;
    transition: background-color 300ms linear;
}

#newsletter_submit:hover {
    background-color: #0c551c;
}

#newsletter_input::-ms-input-placeholder {
    color: #0c551c !important;
}

#newsletter_input::-webkit-input-placeholder {
    color: #0c551c !important;
}

#newsletter_input::-moz-placeholder {
    opacity: 1;
}

#newsletter_input:-moz-placeholder {
    opacity: 1;
}

#newsletter_input::placeholder {
    color: #0c551c !important;
    opacity: 1 !important;
    font-style: normal !important;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #0c551c;
        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: #157e2c;
        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: 14px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 0 15px;
        background-color: #157e2c;
    }

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

    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: #ffffff;
    font-weight: 700;
    text-align: left;
    padding: 15px 15px;
    position: relative;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}

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

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

@media (min-width: 992px) {
    nav.horizontally a[class*="toplevel"] {
        padding: 38px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }

    nav.horizontally li[class*="toplevel"]+li {
        border-left: 1px solid #ffffff;
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 0;
    height: 4px;
    display: block;
    position: absolute;
    left: 50%;
    bottom: 0;
    background: #ffffff;
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 300ms linear, 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) {
    background: #0c551c;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    border-top: 4px solid #a5c699;
    background: #ffffff;
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #636363;
    font-weight: 400;
    text-align: left;
    padding: 8px 25px;
    font-size: 1.125rem;
    line-height: 1.2;
    text-decoration: none;
}

@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) {
    background: #d4e2cb;
    color: #0c551c;
}

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

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

#content {
    text-align: left;
    padding: clamp(30px, 4vw, 60px) 15px;
    position: relative;
}

@media (min-width: 992px) {
    .index #contentCol {
        padding-top: 30px;
    }
}

#content>.row {
    row-gap: 40px;
}

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

@media (max-width: 991px) {

    #tabsLeft,
    #tabsLeft1,
    #tabsLeft2,
    #tabsRight {
        display: grid;
        gap: 30px;
    }
}

@media (min-width: 576px) and (max-width: 991px) {

    #tabsLeft,
    #tabsLeft1,
    #tabsLeft2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    #tabsRight {
        display: grid;
        gap: 30px;
    }

    #tabsLeft,
    #tabsLeft1,
    #tabsLeft2,
    #tabsRight {
        align-items: start;
        align-content: start;
    }
}

#content .tab {
    width: 100%;
    max-width: 360px;
    margin: 32px auto 0 auto;
    position: relative;
    padding: 45px 20px 20px 20px;
    background: #ffffff;
    font-size: 0.9375rem;
    border-top: 4px solid #a5c699;
    box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.1);
}

#content #tab1 {
    font-size: 1rem;
}

#content #tab2 {
    color: #636363;
    background-color: #d4e2cb;
}

#content .tab::before {
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    position: absolute;
    top: -32px;
    left: 50%;
    margin-left: -30px;
    border-radius: 50%;
    background: #d4e2cb url('../img/icon-sg-tab.png') center no-repeat;
}

#content #tab2::before {
    background-image: url('../img/icon-veranstaltungen.png');
    background-color: #0c551c;
}

#content #tab3::before {
    background-image: url('../img/icon-phone.png');
}

#content .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
    font-size: 1.625rem;
    text-transform: uppercase;
    margin: 0 0 clamp(15px, 3vw, 30px) 0;
    text-align: center;
}

#content #tab2 :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
    color: #0c551c;
}

#content .tab .tab_link_title a {
    color: #252525;
    font-weight: 700;
}

#content .tab .tab_link_mandat a {
    color: inherit;
}

#content .tab .tab_link_mehr {
    font-size: 0;
}

#tab1 a,
#tab3 a[href^="mailto:"] {
    text-decoration: underline;
}

#tab3 a:not([href^="mailto:"]),
#content .tab .tab_link_mehr a {
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #ffffff;
    padding: 4px 15px;
    border-radius: 2px;
    background: #157e2c;
}

#tab3 a:not([href^="mailto:"]):not(.has-image):is(:hover, :focus),
#content .tab .tab_link_mehr a:is(:hover, :focus) {
    color: #ffffff;
    background: #0c551c;
}

#content .tab .eventclndr-tab {
    margin-bottom: 22px;
}

#content .tab #clr-events-hide>p:first-child {
    margin-bottom: 15px;
}

#content .tab .tab_spacer {
    height: 15px;
}

#content .tab hr {
    height: 4px;
    opacity: 1;
    background: #157e2c;
    max-width: 200px;
    width: 100%;
    margin: clamp(15px, 3vw, 35px) auto 15px auto;
    display: block;
}

#counter {
    color: #252525;
    padding: 11px 20px;
    background: #d4e2cb;
}

@media (max-width: 991px) {
    #counter {
        width: 100%;
        max-width: 360px;
        margin: 32px auto 0 auto;
    }
}

#counter span {
    color: #0c551c;
    margin-right: 10px;
    text-transform: uppercase;
    font-weight: 700;
}

.tabButton a {
    text-decoration: none;
    display: block;
    text-align: center;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 2px;
    background: #157e2c;
}

.tabButton a:is(:hover, :focus) {
    background: #0c551c;
}

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

/* ------------------------------------------------ tabQuality ----------------------------------------------- */

#tabQuality {
    padding-top: 35px;
    padding-bottom: clamp(30px, 4vw, 60px);
    position: relative;
}

#tabQuality .tabHeadline {
    font-size: 1.5rem;
}

#tabQuality :is(b, strong) {
    color: #252525;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #157e2c;
    font-weight: 700;
    line-height: 1.2;
    font-family: "Source Sans 3", sans-serif;
}

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

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

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.625rem, 2vw, 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;
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
    padding-left: 15px;
    padding-right: 15px;
    background-color: #157e2c;
}

@media (max-width: 991px) {
    #f5 {
        padding-top: 12px;
        padding-bottom: 12px;
    }
}

#f5>.row {
    row-gap: 12px;
}

.tabSigelFooter .btgrid>.row {
    align-items: center;
    align-content: center;
}

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

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
    padding: 31px 5px;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #ffffff;
    text-decoration: underline;
    background: #0c551c;
}

@media (max-width: 767px) {
    #innerfooter li {
        display: block;
        text-align: center;
        padding: 5px;
        margin: 0;
    }

    #innerfooter a {
        padding: 5px 5px;
    }

    #innerfooter li+li::before {
        display: none;
    }
}

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

#vernetzt {
    gap: 12px;
    text-align: right;
    font-size: 0.9375rem;
    color: #ffffff;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span span {
    display: block;
}