@import url('https://fonts.verwaltungsportal.de/import/?family=Plus+Jakarta+Sans:400,400i,700,700i');

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

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

a {
    color: #008000;
}

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

main a {
    text-decoration: underline;
}

b,
strong {
    font-weight: 700;
}

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

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

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

@media (min-width: 992px) {
    #headerpic a.nivo-prevNav {
        left: 65px;
    }

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

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

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

.slider-mask {
    display: none;
}

@media (max-width: 767px) {
    #headerpic{
      background-color: #efdfbe;
        
    }
}
/* logo */

#logo {
    display: inline-block;
    pointer-events: auto;
}

#logo img {
    display: block;
}

@media (min-width: 768px) and (max-width: 991px){
    #logo{
   margin-right: 80px;
        
    }
}
@media (max-width: 767px) {
    #logo img {
   max-width: 90px;
    width: 100%;
    padding: 10px 0;
    }
}

@media (min-width: 768px) {
    #headerpic-overlay {
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 20;
    }
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    #burgerButton {
        font-size: 0;
        border: solid 2px #252525 !important;
        display: block;
        height: 50px;
        width: 60px;
        border-radius: 2px;
        padding: 6px 8px;
        cursor: pointer;
        background-color: #efdfbe;
        box-shadow: none;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #252525;
        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: #efdfbe;
        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 {
        position: sticky;
        top: 0;
        left: 0;
        z-index: 101;
        background-color: #efdfbe;
    }

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

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

@media (max-width: 991px) {
    nav.horizontally a[class*="toplevel"].dropdown-toggle {
        padding-right: 35px;
    }
    nav.horizontally a[class*="toplevel"]  {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
}

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

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

    nav.horizontally a[class*="toplevel"].dropdown-toggle {
        padding-right: 40px;
        background-image: url('../img/mehr-pfeil.png');
        background-position: top calc(50% + 2px) right 20px;
        background-repeat: no-repeat;
    }
}

/* 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-color: rgba(255, 255, 255, 0.5);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
    box-shadow: 0 10px 20px 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: 20px;
    }

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

    nav.horizontally [class*="toplevel"]>ul::before {
        content: "";
        position: absolute;
        display: block;
        height: 10px;
        left: 0;
        right: 0;
        top: -10px;
    }

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-right: 35px;
    }
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
}
}

/* 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: #efdfbe;
}

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

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

:is(main, footer)::before {
    content: "";
    display: block;
    height: 10px;
    width: 100%;
    background: linear-gradient(to right,
            #fe0000, #fe0000 14.3%,
            #ff6502 14.3%, #ff6502 28.6%,
            #ffff00 28.6%, #ffff00 42.9%,
            #01cc00 42.9%, #01cc00 57.2%,
            #32ccfe 57.2%, #32ccfe 71.5%,
            #0000cc 71.5%, #0000cc 85.8%,
            #670099 85.8%, #670099);
}

main::after {
    content: "";
    display: block;
   height: clamp(200px,21vw,400px);
    width: 100%;
    background: #252525 center / cover no-repeat fixed;
    box-shadow: inset 0 0 0 100vw rgba(0, 0, 0, 0.65);
}

#content {
    text-align: left;
    padding-top: clamp(40px, 4vw, 50px);
    padding-bottom: clamp(40px, 6vw, 80px);
}

#counter {
    padding-bottom: 40px;
}

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

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

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

h2,
.h2,
.legacy_h2 {
     font-size: clamp(1.875rem,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: clamp(1.5rem,2vw, 1.625rem);
}

h5,
.h5,
.legacy_h5 {
      font-size: clamp(1.25rem,2vw,1.5rem);
}

h6,
.h6,
.legacy_h6 {
       font-size: clamp(1.125rem,2vw,1.375rem);
}

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

:is(#tabs-1, #tabs-2) .tabs-header {
    position: relative;
    padding-top: 150px;
    padding-bottom: 200px;
    background: #252525 center / cover no-repeat fixed;
    box-shadow: inset 0 0 0 100vw rgba(0, 0, 0, 0.65);
}

@media (min-width: 1200px) {
    :is(#tabs-1, #tabs-2) .tabs-header::after {
        content: "";
        display: block;
        position: absolute;
    }

    #tabs-1 .tabs-header::after {
        background: url('../img/deko-wandern.png');
        width: 369px;
        height: 205px;
        top: -180px;
        left: calc(50% + 600px);
    }

    #tabs-2 .tabs-header::after {
        background: url('../img/deko-wandern-2.png');
        width: 284px;
        height: 193px;
        bottom: -20px;
        right: calc(50% + 680px);
    }
}

:is(#tabs-1, #tabs-2) :is(.tabs-header, .tabs-header *) {
    color: #ffffff;
}

#tabs-1:has(img)+* {
    margin-top: -60px;
}

:is(#tabs-1, #tabs-2) .tabs-content {
    margin-top: -175px;
}

:is(#tabs-1, #tabs-2, #tabs-3) .tabs-content img {
    display: block;
    border: 10px solid #ffffff;
    width: 100%;
}

:is(#tabs-1, #tabs-2, #tabs-3) .banner {
    background: #ffffff;
}

#tabs-3 .tabs-header {
    padding-top: clamp(40px, 4vw, 60px);
    padding-bottom: 40px;
    font-size: clamp(1rem, 2vw, 1.375rem);
}

#tabs-3 .tabs-header :is(h1, h2, h3, h4, h5, h6) {
    font-size: clamp(1.5rem, 4.5vw, 2.8125rem);
}

#tabs-3 .tabs-content {
    margin-bottom: calc(clamp(180px, 20vw, 245px) * -1);
}

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

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

footer {
    background-color: #efdfbe;
    font-size: 1rem;
    position: relative;
}

@media (min-width: 1200px) {
    footer::after {
        content: "";
        display: block;
        position: absolute;
        background: url('../img/deko-wandern-3.png');
        width: 369px;
        height: 262px;
        top: -180px;
        left: calc(50% + 600px);
    }
}

footer>.row {
    padding-top: 20px;
    padding-bottom: 20px;
    row-gap: 20px;
}

@media (max-width: 991px) {
    #innerfooter{
    border-bottom: solid 1px rgba(37, 37, 37,0.4);
    padding-bottom: 20px;; 
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: block;
}

#innerfooter a {
    color: inherit;
    text-decoration: none;
    padding: 10px;
}

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

@media (min-width: 576px) {
    #innerfooter li+li {
        margin-left: 10px;
    }

    #innerfooter li {
        display: inline-block;
    }
}
@media (max-width: 575px) {
    #innerfooter a{
      color: inherit;
  text-decoration: none;
  padding: 5px;
  line-height: 2;
        
    }
}
/* vernetzt */

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

#vernetzt span span {
    display: block;
}

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