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

/*-------------------------------------------- Anfang: Grundlagen --------------------------------------------*/
html {
    width: 100%;
    max-width: 1930px;
    margin: 0 auto;
    font-size: 100%;
}

body {
    color: #444444;
    background: #ffffff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.5;
}

.index #content_footer {
    display: none;
}

#maindiv {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

#maindiv::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.96) 36%, rgba(255, 255, 255, 0.96) 64%, rgba(255, 255, 255, 0.66) 100%);
    content: '';
    pointer-events: none;
}

a {
    color: #8c1432;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid #8c1432;
    outline-offset: 4px;
}

b,
strong {
    font-weight: 600;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.legacy_h1, .legacy_h2, .legacy_h3, .legacy_h4, .legacy_h5, .legacy_h6,
.h4link a:is(:link, :hover, :focus, :visited) {
    color: #607538;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    line-height: 1.2;
}

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

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

h3, .h3, .legacy_h3 {
    font-size: clamp(1.375rem, 2vw, 1.625rem);
}

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

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

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

.tab {
    min-width: 0;
}

.tab .template-page .row {
    max-width: none;
}

@media (max-width: 767px) {
    body {
        font-size: 1.125rem;
    }
}

@media (hover: none), (prefers-reduced-motion: reduce) {
    #maindiv {
        background-attachment: scroll;
    }
}

/*-------------------------------------------- Ende: Grundlagen --------------------------------------------*/

/*-------------------------------------------- Anfang: Navigation --------------------------------------------*/
#menu-wrapper {
    border-top: 9px solid #d4ddbf;
    background: #fff;
}

#topbar {
    min-height: 153px;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}

#logo {
    display: inline-block;
    max-width: 257px;
}

#logo img {
    display: block;
    width: auto;
    max-height: 142px;
}

#menu {
    z-index: 1000;
    width: 100%;
    min-height: 60px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #8c1432;
}

.sticky-wrapper {
    position: relative;
    z-index: 1000;
}

#myNavbar {
    padding: 0;
    border: 0;
    box-shadow: none;
}

#menu .navbar-nav {
    width: 100%;
    margin: 0;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.25;
}

#menu .navbar-nav>li>a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 60px;
    padding: 17px 0;
    color: #ffffff;
    background: transparent;
    line-height: 1.25;
}

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

#menu .dropdown-menu {
    min-width: 190px;
    margin: 0;
    padding: 20px 0;
    border: 0;
    border-radius: 0 0 4px 4px;
    background: #ffffff;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.22);
    font-size: 1rem;
    font-weight: 400;
}

#menu .dropdown-menu>li>a {
    display: block;
    padding: 8px 25px;
    color: #2e3c48;
    line-height: 1.375;
    white-space: normal;
}

#menu .dropdown-menu>li:is(:hover, :focus-within, .open, [class*="_over"])>a,
#menu .dropdown-menu>li>a:is(:hover, :focus) {
    color: #2e3c48;
    background: #f1f7e5;
    text-decoration: none;
}

#menu [class*="_start"],
#menu [class*="_end"] {
    display: none;
}

#menu a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: -4px;
}

#burgerButton {
    display: none;
}

@media (min-width: 1200px) {
    .is-sticky #menu {
        max-width: 1930px;
        left: 50% !important;
        transform: translateX(-50%);
    }

    #myNavbar.collapse {
        display: block !important;
        height: auto !important;
        overflow: visible !important;
    }

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

    #menu .navbar-nav::before,
    #menu .navbar-nav::after {
        display: none;
    }

    #menu .navbar-nav>li {
        position: relative;
        float: none;
    }

    #menu .navbar-nav>li>a::before {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 20px;
        height: 9px;
        border-radius: 20px 20px 0 0;
        background: #ffffff;
        content: '';
        opacity: 0;
        transform: translateX(-50%);
        transition: opacity 180ms ease;
    }

    #menu .navbar-nav>li:is(:hover, :focus-within, .open, [class*="_over"])>a::before {
        opacity: 1;
    }

    #menu .navbar-nav>li>a[data-toggle="dropdown"] {
        padding-right: 18px;
    }

    #menu .navbar-nav>li>a[data-toggle="dropdown"]::after {
        position: absolute;
        right: 1px;
        width: 5px;
        height: 5px;
        border-right: 1px solid currentColor;
        border-bottom: 1px solid currentColor;
        content: '';
        transform: rotate(45deg);
    }

    #menu .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        display: block !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-50%);
        transition: opacity 180ms ease, visibility 0s linear 180ms;
    }

    #menu .dropdown-menu>li {
        position: relative;
    }

    #menu .dropdown-menu .dropdown-menu {
        top: -19px;
        left: 100%;
        margin-left: 10px;
        transform: none;
    }

    #menu .dropdown-menu .dropdown-menu::before {
        position: absolute;
        top: 0;
        bottom: 0;
        left: -10px;
        width: 10px;
        content: '';
    }

    #menu .navbar-nav>li:last-child>.dropdown-menu {
        right: 0;
        left: auto;
        transform: none;
    }

    #menu .navbar-nav li:is(.open:focus-within, :hover)>ul,
    #menu .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

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

    #menu .dropdown-toggle-button-wrapper,
    #menu .dropdown-toggle-button-wrapper2 {
        display: none;
    }
}

@media (max-width: 1199px) {
    #topbar {
        padding-right: 70px;
    }

    #menu,
    .is-sticky #menu {
        min-height: 0;
        height: 0;
    }

    #burgerButton {
        position: fixed;
        z-index: 1010;
        top: 22px;
        right: max(15px, calc((100vw - 1930px) / 2 + 15px));
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin: 0;
        padding: 12px;
        border: 0;
        border-radius: 4px;
        background: #8c1432;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    }

    #burgerButtonInner,
    #burgerButtonInner::before,
    #burgerButtonInner::after {
        position: absolute;
        display: block;
        width: 24px;
        height: 2px;
        background: #ffffff;
        content: '';
        transition: transform 180ms ease, background-color 180ms ease;
    }

    #burgerButtonInner::before {
        transform: translateY(-8px);
    }

    #burgerButtonInner::after {
        transform: translateY(8px);
    }

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

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

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

    #myNavbar.collapse,
    #myNavbar.collapsing {
        position: fixed;
        z-index: 1005;
        inset: 0;
        display: block !important;
        width: 100%;
        height: 100dvh !important;
        max-height: none;
        padding: 0;
        border: 0;
        overflow-y: auto !important;
        background: rgba(0, 0, 0, 0.42);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 180ms ease, visibility 0s linear 240ms;
    }

    #menu:has(#burgerButton[aria-expanded="true"]) #myNavbar {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    #menu .navbar-nav {
        float: none;
        width: 78%;
        min-height: 100dvh;
        padding: 90px 20px 30px;
        background: #8c1432;
        transform: translateX(-100%);
        transition: transform 240ms cubic-bezier(0.22, 0.61, 0.36, 1);
    }

    #menu:has(#burgerButton[aria-expanded="true"]) .navbar-nav {
        transform: translateX(0);
    }

    #menu .navbar-nav>li {
        position: relative;
        float: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    #menu .navbar-nav>li>a {
        min-height: 52px;
        padding: 14px 48px 14px 12px;
        font-size: 1.25rem;
    }

    #menu .navbar-nav>li:is(:hover, :focus-within, .open, [class*="_over"])>a {
        background: rgba(255, 255, 255, 0.12);
    }

    #menu .dropdown-menu,
    #menu .open>.dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        padding: 8px 0;
        border-radius: 0;
        box-shadow: none;
    }

    #menu .dropdown-menu .dropdown-menu {
        padding-left: 15px;
        background: #f1f7e5;
    }

    #menu .dropdown-menu>li {
        position: relative;
    }

    #menu .dropdown-menu>li>a {
        padding: 12px 48px 12px 16px;
    }

    #menu .dropdown-toggle-button-wrapper,
    #menu .dropdown-toggle-button-wrapper2 {
        display: block;
        position: absolute;
        z-index: 2;
        top: 0;
        right: 0;
        width: 44px;
        height: 50px;
    }

    #menu .dropdown-toggle-button {
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 0;
        background: transparent;
        cursor: pointer;
    }

    #menu .dropdown-toggle-button::before {
        content: none;
    }

    #menu .dropdown-toggle-button::after {
        position: absolute;
        top: 20px;
        left: 17px;
        width: 8px;
        height: 8px;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        color: #ffffff;
        content: '';
        transform: rotate(45deg);
    }

    #menu .dropdown-menu .dropdown-toggle-button::after {
        color: #8c1432;
    }
}

@media (max-width: 767px) {
    #topbar {
        min-height: 0;
        row-gap: 22px;
        padding-top: 16px;
        padding-bottom: 24px;
        padding-right: 0;
    }

    .logo-column {
        padding-right: 80px;
    }

    #logo {
        max-width: 235px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #menu *,
    #menu *::before,
    #menu *::after {
        transition: none !important;
    }
}

/*-------------------------------------------- Ende: Navigation --------------------------------------------*/

/*-------------------------------------------- Anfang: Suche --------------------------------------------*/
#col-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

#search {
    position: relative;
    width: 250px;
    max-width: 100%;
    height: 40px;
    border-radius: 30px;
    background: #f0e3e7;
}

#search_input {
    width: 100%;
    height: 40px;
    padding: 0 51px 0 25px;
    border: 0;
    border-radius: 30px;
    background: transparent;
    color: #595959;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
}

#search_input::placeholder {
    opacity: 1;
    color: #595959;
}

#search_submit {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 4px solid #ffffff;
    border-radius: 50%;
    background: #8c1432 url('../img/lupe-icon.png') center / 14px 14px no-repeat;
    cursor: pointer;
}

#search_submit:is(:hover, :focus-visible) {
    background-color: #5e0d21;
}

#facebook p {
    margin: 0;
}

#facebook a,
#facebook img {
    display: block;
}

#facebook img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

@media (max-width: 767px) {
    #col-search {
        justify-content: flex-start;
    }

    #search {
        width: 100%;
        max-width: 360px;
    }
}

/*-------------------------------------------- Ende: Suche --------------------------------------------*/

/*-------------------------------------------- Anfang: Kacheln --------------------------------------------*/
#kacheln {
    padding: 59px 0;
}

.tile-row {
    row-gap: 30px;
}

.tile-row+.tile-row {
    margin-top: 30px;
}

.tile-column,
.two {
    display: flex;
    flex-direction: column;
}

.two {
    gap: 30px;
}

#kacheln .button {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 162.5px;
    padding: 28px 25px 65px;
    color: #ffffff;
    transition: padding-left 180ms ease, padding-right 180ms ease;
}

#kacheln .button.green {
    background: #5c7a24;
}

#kacheln .button.red1 {
    background: #bf2e52;
}

#kacheln .button.red2 {
    background: #8c1432;
}

#kacheln .button.tall {
    min-height: 355px;
}

#kacheln .button .tabHeadline,
#kacheln .button a {
    margin: 0;
    color: #ffffff;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: clamp(1.375rem, 2.167vw, 1.625rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
    hyphens: auto;
}

#kacheln .button :is(.template-page, .row, [class*="col-"], .tabHeadline, p) {
    position: static;
}

#kacheln .button p {
    margin: 0;
}

#kacheln .button a {
    position: static;
    text-decoration: none;
}

#kacheln .button a::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    content: '';
}

#kacheln .button::after {
    position: absolute;
    bottom: 30px;
    left: 25px;
    width: 24px;
    height: 20px;
    background: url('../img/pfeil.png') left center / contain no-repeat;
    content: '';
    pointer-events: none;
    transition: transform 180ms ease;
}

#kacheln .button:has(a:hover),
#kacheln .button:focus-within {
    padding-left: 31px;
    padding-right: 19px;
}

#kacheln .button:has(a:hover)::after,
#kacheln .button:focus-within::after {
    transform: translateX(6px);
}

#kacheln .button a:focus-visible {
    outline: none;
}

#kacheln .button a:focus-visible::after {
    outline: 3px solid #ffffff;
    outline-offset: -7px;
}

#kacheln .image {
    background-color: #e5e5df;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#kacheln .portrait {
    min-height: 355px;
    height: 100%;
}

#kacheln .landscape {
    min-height: 162.5px;
}

@media (max-width: 1199px) {
    #kacheln {
        padding: 35px 0;
    }
}

@media (max-width: 767px) {

    .tile-row,
    .two {
        row-gap: 18px;
    }

    .tile-row+.tile-row {
        margin-top: 18px;
    }

    #kacheln .button,
    #kacheln .button.tall {
        min-height: 160px;
    }

    #kacheln .portrait {
        min-height: 260px;
    }
}

@media (prefers-reduced-motion: reduce) {

    #kacheln .button,
    #kacheln .button::after {
        transition: none;
    }
}

/*-------------------------------------------- Ende: Kacheln --------------------------------------------*/

/*-------------------------------------------- Anfang: Bildtab --------------------------------------------*/
#headerpic {
    position: relative;
    height: 355px;
    overflow: hidden;
    background: #e5e5df;
}

#headerpic :is(.template-page, .row, [class*="col-"], p, a, picture) {
    height: 100%;
}

#headerpic p {
    margin: 0;
}

#headerpic :is(a, picture) {
    display: block;
}

#headerpic img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    object-fit: cover;
}

@media (max-width: 767px) {
    #headerpic {
        height: clamp(230px, 62vw, 355px);
    }
}

/*-------------------------------------------- Ende: Bildtab --------------------------------------------*/

/*-------------------------------------------- Anfang: Hauptinhalt --------------------------------------------*/
.subpage #content {
    padding-top: 60px;
    padding-bottom: 60px;
    min-height: 500px;
}

#content a {
    font-weight: 500;
}

#content_footer {
    font-size: 1rem;
}

.index #content:has(#content_footer) {
    padding-bottom: 20px;
}

@media (max-width: 767px) {
    .subpage #content {
        padding-top: 30px;
        padding-bottom: 35px;
    }
}

/*-------------------------------------------- Ende: Hauptinhalt --------------------------------------------*/

/*-------------------------------------------- Anfang: Fußzeile --------------------------------------------*/
#footer {
    padding: 30px 0;
    background: #607538;
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.5;
}

#footer .tab img {
    background: #fff;
    padding: 15px;
}

#footer .footer-column {
    padding-top: 25px;
    padding-bottom: 25px;
}

#footer .tabHeadline {
    margin: 0 0 12px;
    color: #ffffff;
    font-family: 'Source Sans 3', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
}

#footer .address-copy {
    font-style: normal;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}


#footer .opening-hours {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.5;
}

#footer .opening-hours strong {
    font-size: 1.125rem;
}

#footer :is(a, a:visited) {
    color: #ffffff;
}

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

#footer .tab a{
    text-decoration: underline;
}

#footer a:focus-visible {
    outline-color: #ffffff;
}

#footer .tabContent ul {
    margin: 0;
    padding-left: 23px;
    list-style: disc;
}

#footer .tabContent li {
    padding: 0;
    margin: 0;
    list-style: disc;
}

#footer .tabContent li::before {
    content: none;
}

#footer .tabContent li p {
    margin: 0;
    line-height: 1.6667;
}

#footer .network-column {
    display: flex;
    align-items: center;
    justify-content: center;
}

#footer #vernetzt-helper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.2143;
}

#footer #vernetzt-helper img {
    max-width: 65px;
    max-height: 75px;
    object-fit: contain;
}

#footer #vernetzt-helper span span {
    display: block;
}

#innerfooter {
    padding: 16px 0;
    background: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.625;
}

#innerfooter a {
    display: inline-block;
    color: #696969;
    text-decoration: none;
}

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

#innerfooter a+a::before {
    display: inline-block;
    margin: 0 22px;
    color: #696969;
    content: '\2022';
}

@media (min-width: 1200px) {
    #footer .footer-column {
        min-height: 247px;
    }

    #footer .footer-column+.footer-column {
        border-left: 1px solid #7f935b;
        padding-left: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    #footer .footer-column:nth-child(even) {
        border-left: 1px solid #7f935b;
    }
}

@media (max-width: 767px) {
    #footer {
        padding: 10px 0;
    }

    #footer .footer-column+.footer-column {
        border-top: 1px solid #7f935b;
    }

    #innerfooter a+a::before {
        margin: 0 10px;
    }
}

#innerfooter .counter-column {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

#visitor-counter {
    display: inline-block;
    margin: -3px 0 0;
    padding: 8px 20px;
    background: #607538;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.375;
    white-space: nowrap;
}

#visitor-counter span {
    margin-left: 8px;
}

@media (max-width: 1199px) {

    #footer,
    #innerfooter {
        text-align: center;
    }

    #footer .tabContent ul {
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    #innerfooter .counter-column {
        justify-content: center;
        margin-top: 16px;
    }
}

/*-------------------------------------------- Ende: Fußzeile --------------------------------------------*/
/*-------------------------------------------- Anfang: Werkzeugleiste --------------------------------------------*/
@media (min-width: 992px) and (max-width: 1319px) {
    #content_buttons_div {
        position: static;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
        transform: none;
    }

    #content_buttons_div .content_button {
        right: 0;
        margin-top: 0;
        font-size: 0.9rem;
        line-height: 2.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    #content_buttons_div .content_button {
        transition: none;
    }
}

/*-------------------------------------------- Ende: Werkzeugleiste --------------------------------------------*/