@import url('https://fonts.verwaltungsportal.de/import/?family=Poppins:300,400,500,700,300i,400i,500i,700i%7CNational+Park:400,500,600,400i,500i,600i');

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

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

a {
    color: #206f01;
    text-decoration: underline;
}

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

#content a {
    font-weight: 400;
}

b,
strong {
    font-weight: 500;
}

@media (min-width: 1200px) {

    .horizontally>.row,
    #footer>.row,
    #f5>.row {
        max-width: 1440px;
        width: 100% !important;
    }
}

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

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

#topbar {
    padding: 25px 0;
}

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

nav {
    padding-top: clamp(10px, 2vw, 30px);
    padding-bottom: clamp(10px, 2vw, 30px);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
    #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: #0077b3;
        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 15px;
    }

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: sticky;
        top: 0;
        z-index: 100;
        background: #fff;
    }

    .is-sticky .horizontally {
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
    }

    nav.horizontally .navbar-nav {
        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, :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: #494949;
    font-weight: 500;
    text-align: left;
    padding: 12px 35px 12px 15px;
    font-family: "National Park", sans-serif;
    border: 1px solid #ffffff;
    border-radius: 3px;
    font-size: clamp(1.125rem, 2vw, 1.1875rem);
    line-height: 1.2;
    text-decoration: none;
    transition: border 300ms linear;
}

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

    nav.horizontally li[class*="toplevel"]+li {
        margin-left: 5px;
    }

    nav.horizontally a[class*="toplevel"]::before {
        content: "";
        width: 151px;
        height: 96px;
        display: block;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: -45px;
        background: url(../img/hover.png) no-repeat;
        opacity: 0;
        transition: opacity 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) {
    color: #0077b3;
}

@media (min-width: 992px) {

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

}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 18px;
    border-radius: 4px;
    background-color: #ffffff;
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.2);
}

@media(min-width:992px) {
    nav.horizontally [class*="toplevel"]>ul {
        margin-top: 35px;
        left: 50%;
        transform: translate(-50%, 0);
    }

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

    nav.horizontally [class*="toplevel"] ul::before {
        content: "";
        position: absolute;
        display: block;
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #6f6f6f;
    font-weight: 400;
    text-align: center;
    padding: 8px 6px;
    font-family: 'National Park', sans-serif;
    background-color: #ffffff;
    position: relative;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width:991px) {
    nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
        padding-left: 35px;
        padding-right: 35px;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before,
nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "";
    display: block;
    position: absolute;
    background-color: #0077b3;
    height: 1px;
    top: 50%;
    width: 0;
    transition: width 200ms linear;
}

@media (min-width: 992px) {

    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before,
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
        z-index: -1;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    left: -18px;
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    right: -18px;
}

/* 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) {
    color: #0077b3;
    background-color: #ffffff;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::before,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus)::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a::after,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus)::after {
    width: 25px;
}

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

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

#slider {
    height: 350px;
    position: relative;
}

#slider>* {
    height: 100% !important;
}

@media (min-width: 768px) {
    #slider {
        height: 100% !important;
    }

    #headerpic .slider-wrapper {
        height: auto;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 50%;
    }

    #headerpic .nivo-directionNav a {
        z-index: 61;
    }

    #headerpic a.nivo-prevNav {
        left: 100px;
    }
}

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

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

@media (max-width: 991px) {
    #slider-onebanner,
    #slider .nivo-box>div,
    #slider .nivo-slice>div,
    #slider .nivo-main-image,
    #slider div[style*='background-size'] {
        background-attachment: unset !important;
        background-size: 100% auto !important;
    }
}

.slider-mask {
    display: none;
}

@media (min-width: 768px) {
    .slider-mask {
        display: block;
        top: 0;
        left: 0;
        bottom: 0;
        width: 40%;
        background: linear-gradient(to right, #0077b3 0%, transparent 100%);
    }
}

#bannerOverlay {
    background: #0077b3;
    color: #ffffff;
    padding-top: 25px;
    padding-bottom: 35px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
    font-weight: 400;
    font-size: clamp(1.125rem, 3vw, 1.5rem);
}

#bannerOverlay>.row>div {
    position: relative;
    z-index: 61;
}

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

@media (min-width: 768px) {
    #bannerOverlay {
        padding-top: clamp(50px, 8vw, 80px);
        padding-bottom: clamp(50px, 8vw, 80px);
    }

    #headerpic .nivo-controlNav {
        text-align: center;
        padding-right: clamp(20px, 5vw, 56px);
        font-size: 0;
        bottom: 10px;
    }
}

@media (min-width: 1200px) {
    #bannerOverlay {
        height: 580px;
    }
}

#bannerOverlay>.row::before,
#bannerOverlay>.row::after {
    position: absolute;
    pointer-events: none;
    display: block;
    content: '';
}

@media (min-width: 1200px) {
    #bannerOverlay>.row::before {
        width: 192px;
        height: 111px;
        bottom: -204px;
        left: 0;
        background: url(../img/flieger-banner.png) no-repeat;
        background-size: contain;
    }

    #bannerOverlay>.row::after {
        width: 137px;
        height: 89px;
        bottom: -185px;
        right: 0;
        z-index: 20;
        background: url(../img/papierflieger-blau.png) no-repeat;
        background-size: contain;
    }
}

@media (min-width: 1550px) {
    #bannerOverlay>.row::before {
        width: 344px;
        height: 194px;
        bottom: -230px;
        left: -350px;
        background: url(../img/flieger-banner.png) no-repeat;
    }

    #bannerOverlay>.row::after {
        width: 225px;
        height: 154px;
        bottom: -205px;
        right: -350px;
        z-index: 20;
        pointer-events: none;
        background: url(../img/papierflieger-blau.png) no-repeat;
    }
}

#bannerOverlay a {
    text-decoration: none;
    text-transform: uppercase;
    padding: 7px clamp(10px, 2vw, 30px) 6px clamp(10px, 2vw, 30px);
    border: 1px solid #ffffff;
    font-weight: 700;
    border-radius: 3px;
    text-shadow: none;
    display: inline-block;
    font-size: 1rem;
    margin-top: clamp(20px, 4vw, 45px);
    backface-visibility: hidden;
    transition: transform 150ms linear;
}

#bannerOverlay a:is(:hover, :focus) {
    transform: scale(1.1);
}

#bannerOverlay a:nth-of-type(2n+1) {
    color: #ffffff;
    background: transparent;
}

#bannerOverlay a:nth-of-type(2n+2) {
    color: #0077b3;
    background: #ffffff;
}

#bannerOverlay a+a {
    margin-left: 15px;
}

#bannerOverlay a::before {
    content: "";
    display: inline-block;
    margin-right: 8px;
    width: 15px;
    height: 15px;
    background: url('../img/kontakt-icon.png') center / contain no-repeat;
    position: relative;
    bottom: -1px;
}

#bannerOverlay a:nth-of-type(2n+2)::before {
    background: url('../img/mehr-erfahren-icon.png') center / contain no-repeat;
}

#bannerOverlay .tabHeadline {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffffff;
    font-weight: 500;
}

#bannerOverlay .tabHeadline::after {
    content: "";
    display: block;
    height: 1px;
    width: 50px;
    background-color: #ffffff;
    margin: 16px 0;
}

@media (min-width: 768px) {
    #bannerOverlay .tabHeadline::after {
        margin: 10px 0 24px 0;
    }
}

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

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

body #content:not(:has(#welcomepage-wrapper)) {
    text-align: left;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(40px, 4vw, 60px);
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #0077b3;
    font-weight: 600;
    line-height: 1.2;
    font-family: "National Park", sans-serif;
}

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.9375rem, 4vw, 2.25rem);
}

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

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

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

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

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

#footer {
    padding: clamp(25px, 4vw, 50px) 0;
    color: #ffffff;
    position: relative;
    background-color: #0077b3;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#footer a {
    color: #ffffff;
}

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

#footer>.row::before,
#footer>.row::after {
    position: absolute;
    display: block;
    content: '';
}

@media (min-width: 1200px) {
    #footer>.row::before {
        width: 50px;
        height: 60px;
        left: 0;
        top: -81px;
        background: url(../img/flieger-gruen.png) no-repeat;
        background-size: contain;
    }

    #footer>.row::after {
        width: 80px;
        height: 48px;
        top: -63px;
        right: 0;
        background: url(../img/flieger-rot.png) no-repeat;
        background-size: contain;
    }
}

@media (min-width: 1440px) {
    #footer>.row::before {
        width: 97px;
        height: 121px;
        left: -55px;
        top: -110px;
    }
}

@media (min-width: 1550px) {
    #footer>.row::before {
        width: 221px;
        height: 275px;
        left: -245px;
        top: -190px;
        background: url(../img/flieger-gruen.png) no-repeat;
    }

    #footer>.row::after {
        width: 265px;
        height: 159px;
        top: -90px;
        right: -240px;
        background: url(../img/flieger-rot.png) no-repeat;
    }
}

/* ------------------------------------------- kontakt ------------------------------------------ */

#kontakt {
    font-size: 1rem;
}

#kontakt .tabHeadline {
    color: #ffffff;
    margin: 0 0 20px 0;
}

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

#socialMedia .tiny_p {
    text-align: center;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

#socialMedia .tiny_p a+a {
    margin-left: 20px;
}

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

#scroll-top {
    font-size: 0;
    border: 1px solid #ffffff;
    border-radius: 3px;
    width: 40px;
    height: 40px;
    display: block !important;
    position: relative;
    margin: 0 auto;
}

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

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

#scroll-top:is(:hover, :focus) {
    background: rgba(0, 0, 0, 0.2);
}

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

#f5 {
    padding-top: 12px;
    padding-bottom: 12px;
    background-color: #ffffff;
}

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

@media (max-width: 767px) {
    #innerfooter {
        border-bottom: 1px solid rgba(26, 26, 26, 0.1);
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

#innerfooter a {
    color: #494949;
    text-decoration: none;
    display: inline-block;
    font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
    color: #494949;
    text-decoration: underline;
}

#innerfooter li+li::before {
    content: "";
    margin: 0 6px;
}

@media (min-width: 992px) {
    #innerfooter li+li::before {
        margin: 0 15px;
    }
}

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

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

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

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

#vernetzt span span {
    display: block;
}