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

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

body {
    font-family: "Work Sans", sans-serif;
    color: #3c3c3c;
    background-attachment: scroll, fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fefefe;
    font-weight: 400;
    font-size: clamp(1rem, 2vw, 1.25rem);
    /* 1rem = 16px */
    line-height: 1.5;
}

a {
    color: #008000;
}

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

b,
strong {
    font-weight: 600;
}

.static {
    position: static;
}

#over {
    overflow: clip;
    position: relative;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

@media (min-width: 992px) {
    #topbar {
        column-gap: clamp(20px, 2vw, 40px);
    }
}


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

/* burgermenu for tablet */

#burgerButton {
    font-size: 13px;
    color: #3c3c3c;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    z-index: 1002;
    display: inline-block;
    width: 48px;
    height: 48px;
    cursor: pointer;
    padding: 8px 0 0 0;
    border-radius: 10px;
    float: none;
    border: none !important;
    background: #ffffff;
}

@media (max-width: 991px) {
    #burgerButton {
        position: fixed;
        top: 22px;
        right: 15px;
    }
}

#burgerButtonInner {
    margin-bottom: 26px;
    display: inline-block;
}

#burgerButton[aria-expanded="true"] #burgerButtonInner {
    opacity: 0;
}

#burgerButton[aria-expanded="true"]::before {
    transform: rotate(-45deg) translate(2px, -4px);
}

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

#burgerButton::before {
    top: 26px;
}

#burgerButton::after {
    top: 36px;
}

#burgerButton::before,
#burgerButton::after {
    content: "";
    display: block;
    position: absolute;
    background: #008000;
    border-radius: 2px;
    width: 38px;
    height: 3px;
    left: 5px;
    font-size: 0;
    transition: transform 200ms linear, opacity 200ms linear;
}

@media (prefers-contrast: more) {

    #burgerButton::before,
    #burgerButton::after {
        border: 2px solid #ffffff;
        box-sizing: border-box;
    }
}


/* burgermenu for tablet */

@media (max-width: 991px) {
    nav.megamenu {
        background: #ffffff;
        padding: 18px 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);
    }

    .dropdown-toggle-button-wrapper {
        top: 6px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.megamenu {
        padding: 14px 0 8px 0;
        z-index: 1005;
        box-shadow: 0 0 8px 0 rgba(84, 73, 73, 0.1);
    }

    .is-sticky nav.megamenu {
        left: unset !important;
        background: #ffffff;
    }

    nav.megamenu>.row,
    nav.megamenu>.row>div {
        position: static;
    }

    nav.megamenu .navbar-default {
        width: auto;
    }

    nav.megamenu .navbar-nav {
        width: 100%;
        margin: 0 auto;
        display: block;
        padding: 10px 25px;
        overflow-y: auto;
        position: relative;
        column-count: 4;
        column-gap: 30px;
        max-width: 992px;
    }

    nav.megamenu li[class*="toplevel"] {
        float: none;
        page-break-inside: avoid;
        break-inside: avoid;
        display: table !important;
    }

    #myNavbar {
        max-height: 70vh;
        overflow: hidden;
        padding: 20px 0;
        pointer-events: none;
        visibility: hidden;
        position: absolute;
        z-index: 1002;
        top: 50%;
        right: 0;
        opacity: 0;
        width: 100vw;
        max-width: 1930px;
        background: rgba(255, 255, 255, 0.96);
        height: auto !important;
        overflow-y: auto !important;
        box-shadow: 0 8px 8px 0 rgba(84, 73, 73, 0.1);
        visibility: hidden;
        transition: opacity 300ms linear, top 300ms linear;
    }

    #burgerButton[aria-expanded="true"]+#myNavbar,
    #myNavbar:focus-within {
        pointer-events: auto;
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    #mCSB_1_scrollbar_vertical {
        left: 50%;
        margin-left: calc(962px/2);
    }
}

@media (min-width: 1200px) {
    nav.megamenu .navbar-nav {
        max-width: 1200px;
        padding: 25px 25px 45px 25px;
    }

    #mCSB_1_scrollbar_vertical {
        margin-left: calc(1140px/2);
    }
}

/* toplevel */

nav.megamenu .navbar-nav a[class*="toplevel"] {
    color: #3c3c3c;
    font-weight: 700;
    text-align: left;
    padding: 12px 15px;
    position: relative;
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.megamenu .navbar-nav a[class*="toplevel"] {
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

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

@media (min-width: 992px) {
    nav.megamenu .navbar-nav a[class*="toplevel"] {
        padding: 20px 0 2px;
    }
}

/* toplevel-over */

nav.megamenu .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.megamenu .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus),
nav.megamenu .navbar-nav li[class*="toplevel"].open>a,
nav.megamenu .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus),
nav.megamenu .navbar-nav li[class*="toplevel"][class*="_over"]>a,
nav.megamenu .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
    color: #008000;
}

/* secondlevel + thirdlevel dropdown-box */

@media (max-width: 991px) {
    nav.megamenu [class*="toplevel"] ul {
        padding: 10px;
        background: rgba(248, 229, 229, 0.5);
    }
}

@media (min-width: 992px) {
    nav.megamenu [class*="toplevel"] ul {
        display: block;
    }
}

/* secondlevel + thirdlevel */

nav.megamenu a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #3c3c3c;
    font-weight: 400;
    text-align: left;
    padding: 8px 35px 8px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (min-width: 992px) {
    nav.megamenu a[class*="secondlevel"] {
        padding: 5px 0 5px 20px;
    }

    nav.megamenu a[class*="thirdlevel"] {
        padding: 5px 0 5px 40px;
    }
}

/* secondlevel + thirdlevel over */

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

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

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

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

@media (min-width: 576px) {
    body.index #slider {
        max-height: clamp(400px, 62vw, 630px);
    }
}

#bannerOverlay {
    padding-top: 25px;
    font-size: clamp(1.375rem, 4vw, 1.875rem);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(30px, 4vw, 60px);
}

#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
    font-weight: 700;
    font-size: clamp(30px, 4vw, 60px);
    display: block;
}

#bannerOverlay a {
    text-decoration: underline;
}

@media (min-width: 576px) {
    #bannerOverlay {
        padding-top: 0;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 120px;
        z-index: 60;
        color: #ffffff;
        text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
        font-weight: 600;
    }

    #bannerOverlay :is(h1, h2, h3, h4, h5, h6, a) {
        color: #ffffff;
    }

    #bannerOverlay :is(b, strong) {
        font-weight: 700;
    }
}

@media (min-width: 992px) {
    #bannerOverlay {
        bottom: 160px;
    }
}

#headerpic {
    padding: 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 992px) {
    #headerpic {
        background: #3c3c3c;
    }
}

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

.slider-mask {
    display: none;
}

@media (min-width: 576px) {
    .slider-mask {
        display: block;
        background: linear-gradient(to top, rgba(60, 60, 60, 0.8), rgba(255, 255, 255, 0) 60%);
    }
}

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

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

#headerpic .nivo-directionNav {
    height: 40px;
    pointer-events: none;
    width: 100%;
    position: absolute;
    z-index: 7;
    left: 50%;
    bottom: 80px;
    transform: translateX(-50%);
}

@media (min-width: 992px) {
    #headerpic .nivo-directionNav {
        max-width: 992px;
        bottom: 100px;
    }
}

@media (min-width: 1200px) {
    #headerpic .nivo-directionNav {
        max-width: 1200px;
    }
}

#headerpic .nivo-directionNav a {
    pointer-events: auto;
    background: #008000 url('../img/banner-arrows.png') top 10px center / 18px auto no-repeat;
    width: 40px;
    height: 40px;
    outline: 1px solid #fff;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
    transform: scaleX(-1)
}

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

@media (min-width: 576px) {
    #headerpic .nivo-controlNav {
        bottom: 65px;
    }
}

@media (min-width: 992px) {
    #headerpic .nivo-controlNav {
        bottom: 78px;
    }
}

#headerpic .nivo-controlNav button {
    background: transparent;
    border-radius: 50%;
    border: 1px solid #ffffff;
    width: 12px;
    height: 12px;
    padding: 0;
    color: #fff;
}

#headerpic .nivo-controlNav button:is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
    background: #ffffff !important;
    color: #212121;
}

#headerpic .nivo-controlNav {
    pointer-events: none;
}

#headerpic .nivo-controlNav button {
    pointer-events: auto;
}

/* #region ------------------------------------ search ------------------------------------------ */

@media (min-width: 576px) {
    body.index #searchArea {
        background: linear-gradient(to right, #212121, #212121 50%, rgba(255, 255, 255, 0) 50%);
    }
}

@media (max-width: 991px) {
    body:not(.index) #searchArea {
        display: none;
    }
}

#searchBox {
    background: #3c3c3c;
    outline: 1px solid #fff;
    padding: 25px 10px;
    box-shadow: 0 80px 40px -60px rgba(60, 60, 60, 0.3);
}

@media (min-width: 576px) {
    #searchBox {
        position: relative;
        z-index: 54;
        margin-top: -50px;
        padding-left: clamp(25px, 4vw, 40px);
        padding-right: clamp(25px, 4vw, 40px);
    }
}

#searchBox>.row {
    row-gap: 20px;
}

#search {
    outline: 1px solid #008000;
    background: rgba(255, 255, 255, 1);
    display: flex;
    width: 100%;
}

@media (min-width: 992px) {
    #search {
        max-width: 370px;
    }
}

#search_input {
    background: transparent;
    color: #3c3c3c;
    font-size: 1rem;
    font-style: normal;
    padding: 13px 10px;
    border: 0;
    width: 100%;
}

#search_submit {
    width: 50px;
    flex-shrink: 0;
    background: url('../img/lupe-icon.png') center / 18px auto no-repeat;
    padding: 0;
    cursor: pointer;
    border: none;
    font-size: 0;
    transition: background 200ms linear;
}

#search_submit:is(:hover, :focus) {
    background-size: 24px auto;
    background-color: #f7f0ed;
}

#search_input::placeholder {
    color: #3c3c3c !important;
    opacity: 1 !important;
    font-style: normal !important;
    text-transform: uppercase;
}


.importantLinks {
    font-size: clamp(1.25rem, 3vw, 2.0625rem);
    color: #fff;
}

.importantLinks a {
    display: inline-block;
    color: #fff;
}


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

/* #region ------------------------------------ topInfo ----------------------------------------- */

#topInfo {
    padding-top: clamp(40px, 8vw, 100px);
    position: relative;
    z-index: 1;
}

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

#topInfo .tab-text {
    font-weight: 300;
}

@media (min-width: 992px) {
    #topInfo .tab-text {
        padding-top: 50px;
        padding-right: 30px;
        padding-bottom: 110px;
    }
}

#topInfo .tab-text>* {
    background: #212121;
}

#topInfo .tab-text,
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
    color: #ffffff;
}

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

#topInfo .tab-text a:is(:hover, :focus) {
    color: #fff;
}

#topInfo .tab-text h2::after {
    content: "";
    display: block;
    width: 20px;
    height: 8px;
    background: #ffeee8;
    margin: 20px auto;
}

@media (min-width: 992px) {
    #topInfo .tab-text h2::after {
        margin-right: 0;
    }
}

#topInfo::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    top: -50px;
    left: -10px;
    right: 0;
    bottom: 60px;
    background: url('../img/deko-oben-links.png') bottom left no-repeat, #212121;
    border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
    #topInfo::after {
        right: 50%;
    }
}

#topInfo .tab {
    background: url('../img/dekotab.png') bottom left -100px no-repeat, #3c3c3c;
    padding: 40px 30px;
    min-height: 100%;
    height: 100%;
    position: relative;
    outline: 4px solid #fff;
    color: #fff;
}

@media (min-width: 768px) {
    #topInfo .tab {
        font-size: 1.125rem;
    }

    .tab_spacer {
        height: 16px;
    }
}

@media (min-width: 992px) {
    #topInfo .tab {
        padding-bottom: 70px;
    }
}

#topInfo .tabHeadline {
    text-transform: uppercase;
    font-size: clamp(1.25rem, 3vw, 1.625rem);
    margin-bottom: 20px;
    padding-top: 75px;
    background-position: top left;
    background-repeat: no-repeat;
    color: #ffd700;
}

#tab1 .tabHeadline {
    background-image: url('../img/kalender-icon.png');
}

#tab2 .tabHeadline {
    background-image: url('../img/zeitung-icon.png');
}

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

.teaserText a,
#topInfo .tab_link_mehr a {
    background: #008000;
    display: inline-block;
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 15px;
    text-decoration: none;
    outline: 1px solid #fff;
}

#topInfo .tab_link_mehr a {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 1rem;
}

@media (min-width: 992px) {
    #topInfo .tab_link_mehr a {
        padding: 15px 34px;
    }
}

.teaserText a:is(:hover, :focus),
#topInfo .tab_link_mehr a:is(:hover, :focus) {
    background: #006700;
}

.teaserText a::after,
#topInfo .tab_link_mehr a::after {
    content: "\2192";
    font-weight: 400;
    position: relative;
    left: 0;
    margin-left: 4px;
    transition: left 200ms linear;
}

.teaserText a:is(:hover, :focus)::after,
#topInfo .tab_link_mehr a:is(:hover, :focus):after {
    left: 6px;
}

.tab_link_title a {
    font-weight: 600;
}

:is(.tab_link_title, .tab_link_mandat) a {
    color: inherit;
}

/* #endregion --------------------------------- topInfo ----------------------------------------- */

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

#content {
    text-align: left;
    padding-top: clamp(50px, 5vw, 70px);
    padding-bottom: clamp(40px, 8vw, 100px);
}

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.125rem, 5vw, 3.5rem);
}

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

h3,
.h3,
.legacy_h3 {
    font-size: clamp(1.875rem, 4vw, 2.1875rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
    font-size: clamp(1.75rem, 3.5vw, 1.875rem);
}

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

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


/* #region ------------------------------------- teaser ----------------------------------------- */

#teaser {
    padding: clamp(40px, 8vw, 100px) 0;
    position: relative;
    z-index: 10;
}

#teaser::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 80px;
    background: url('../img/deko-unten-rechts.png') center right no-repeat, #212121;
    border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
    #teaser::after {
        top: -55px;
        left: 50%;
        bottom: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 500px;
    }
}

#teaser .tabHeadline {
    text-transform: uppercase;
    color: #ffd700;
}

#teaser .teaserInfo a {
    text-decoration: underline;
}

.teaserText .tabHeadline {
    font-size: 1.625rem;
}

@media (max-width: 991px) {

    #teaser .teaserInfo,
    #teaser .teaserInfo :is(.tabHeadline, a) {
        color: #ffffff;
    }

    #teaser .teaserInfo>* {
        background: #3c3c3c;
    }
}

#teaserBox .teaserText {
    padding: clamp(30px, 4vw, 55px) 25px;
    font-weight: 300;
    background: #3c3c3c;
    box-shadow: 0 80px 40px -60px rgba(60, 60, 60, 0.3);
    outline: 4px solid #fff;
    color: #fff;
}

@media (min-width: 768px) {
    #teaserBox .teaserText {
        font-size: 1.125rem;
    }
}

#teaserBox .teaserText a {
    margin-top: 15px;
    font-size: 0.875rem;
}

/* #endregion ---------------------------------- teaser ----------------------------------------- */

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

#footer {
    background: #3c3c3c;
    padding: clamp(40px, 8vw, 90px) 0;
    font-size: 1rem;
    color: #fff;
    overflow: hidden;
}

#footer>.row {
    position: relative;
}

@media (min-width: 992px) {
    #footer>.row::before {
        content: '';
        display: block;
        position: absolute;
        bottom: -270px;
        left: -360px;
        width: 506px;
        height: 1025px;
        background: url('../img/deko-unten-links-footer.png') no-repeat;
    }
}


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

@media (min-width: 768px) {
    #footer>.row>*:nth-child(2) {
        border-top: none;
        margin-top: 0;
        padding-top: 0;
    }
}

#footer>.row>*:last-child>*+* {
    margin-top: 30px;
}

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

#footer a:is(:hover, :focus) {
    color: #ffd700;
}

#footer .footerHeadline {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #ffd700;
}

#footer .footerHeadline.gap {
    margin-top: clamp(30px, 4vw, 40px);
}

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

/* ---------------------------------------------- counter --------------------------------------- */

#counter {
    width: 100%;
    max-width: 260px;
    text-align: justify;
    text-align-last: justify;
    margin: 0 auto;
    font-size: clamp(1rem, 2vw, 1.25rem);
}

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

#counter span {
    padding-left: 26px;
    position: relative;
    font-weight: 700;
    color: #ffd700;
    background: url('../img/besucher-icon.png') center left no-repeat;
}

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

#footer #vernetzt {
    gap: 12px;
    text-align: right;
    color: #fff;
    line-height: 1.3;
    font-weight: 400;
    text-decoration: none;
    font-size: 0.875rem;
}

#vernetzt b {
    color: #fff;
}

#vernetzt span span {
    display: block;
}

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

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

#innerfooter>.row {
    row-gap: 20px;
    position: relative;
}


#innerfooter>.row::before {
    content: '';
    display: block;
    position: absolute;
    bottom: -30px;
    left: -360px;
    width: 328px;
    height: 376px;
    background: url('../img/deko-feuerwehrmann.png') no-repeat;
}

.footer_list ul {
    padding: 0;
    text-transform: uppercase;
}

.footer_list :is(li, p) {
    display: inline-block;
}

#innerfooter a {
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    text-transform: uppercase;
}

#innerfooter ul a {
    color: inherit;
}

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

#innerfooter li+li {
    margin-left: clamp(15px, 2vw, 25px);
}