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

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

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

a {
    color: #2c7b7d;
}

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

b,
strong {
    font-weight: 600;
}

#overflow {
    overflow: hidden;
}

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

#logo {
    display: inline-block;
}

#logo img {
    display: block;
}

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

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

/* 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: #141414;
        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 {
        padding: 20px 10px;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 0;
        background: #141414;
        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: 11px;
    }

    .dropdown-toggle-button-wrapper2 {
        top: 1px;
        right: -10px
    }
}

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        position: absolute;
        z-index: 60;
        top: 0;
        left: 0;
        right: 0;
        transition: background 300ms linear, padding 300ms linear;
    }

    .is-sticky nav.horizontally {
        background: #141414;
        border-bottom: 1px solid #ffffff;
    }

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

    nav.horizontally .navbar-nav::after {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        bottom: 0;
        right: clamp(-380px, -18vw, -15px);
        height: 1px;
        opacity: 0.7;
        background: #ffffff;
    }

    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: 500;
    text-align: left;
    padding: 14px 15px;
    position: relative;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
}

@media (max-width: 991px) {
    nav.horizontally li[class*="toplevel"]+li {
        margin-top: 1px;
    }

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 41px 6px 40px 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        height: 100%;
    }
}

nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 0;
    height: 4px;
    width: 0;
    background: #f8aa48;
    transform: translateX(-50%);
    transition: 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) {
    color: #f8aa48;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background-color: #ffffff;
}

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

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

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

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

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

    nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
        background: #ffffff;
    }

    nav.horizontally [class*="toplevel"]>ul::before {
        left: 22px;
        top: -25px;
        width: 30px;
        height: 25px;
        clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    }

    nav.horizontally [class*="secondlevel"]>ul::before {
        left: -25px;
        top: 20px;
        width: 25px;
        height: 30px;
        clip-path: polygon(100% 0, 0 50%, 100% 100%);
    }

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #141414;
    font-weight: 400;
    text-align: left;
    padding: 7px 15px;
    font-size: 1rem;
    line-height: 1.2;
    text-decoration: none;
    position: relative;
}

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

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
        padding: 7px 20px 7px 40px;
    }
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "";
    display: block;
    position: absolute;
    top: 14px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 100%;
    background: #2c7b7d;
    transition: background 300ms linear;
}

@media (min-width: 992px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
        left: 25px;
    }
}

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

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 {
    background: #f8aa48;
}

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


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

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

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

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

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

    #headerpic {
        background-color: #141414;
    }

    .theme-nivo .nivo-controlNav .slick-dots li {
        color: #fff;
    }
}

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

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

.slider-mask {
    display: block;
    background: url('../img/banner-form.png') bottom -1px center no-repeat, linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.theme-nivo .nivo-controlNav {
    bottom: 30px;
}



@media (min-width: 992px) {
    #baneroverlay {
        position: absolute;
        bottom: 22%;
        width: 100%;
        z-index: 55;
    }

    #baneroverlay .tab {
        color: #fff;
        font-family: "Bangers", system-ui;
        font-size: clamp(1.75rem, 3vw, 2.375rem);
    }

    #baneroverlay .tabHeadline {
        color: #fff;
        font-family: "Bangers", system-ui;
        font-size: clamp(2.5rem, 5vw, 3.5rem);
    }
}

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

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
    color: #141414;
    font-weight: normal;
    line-height: 1.2;
    font-family: "Bangers", system-ui;
}

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

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.1875rem);
}

h3,
.h3,
.legacy_h3 {
    font-size: 1.75rem;
}

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

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

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

/* ------------------------------------------------ sight ----------------------------------------------- */

#sight {
    padding-top: 64px;
    padding-bottom: 72px;
}

#sight>.row {
    position: relative;
}

#sight>.row::before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -360px;
    width: 372px;
    height: 432px;
    background: url('../img/junger-links.png') no-repeat;
}

#sight>.row::after {
    content: '';
    display: block;
    position: absolute;
    bottom: -70px;
    right: -360px;
    width: 371px;
    height: 608px;
    background: url('../img/maedchen-rechts.png') no-repeat;
}

#sight>.row>div {
    margin-bottom: 30px;
}

#sight .tab {
    padding: 110px 35px 30px 40px;
    position: relative;
    font-size: 0.9375rem;
    text-transform: uppercase;
    font-weight: 600;
    height: 100%;
    overflow: hidden;
    background-color: #141414;
    color: #fff;
    transition: background 300ms;
    background-size: cover;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
    #sight .tab {
        padding: 70px 35px 30px 40px;
    }
}

#sight .tab::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    left: 0;
    margin: auto;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5)100%);
    z-index: 1;
    transition: background 300ms;
}

#sight .tab:hover::before {
    background: linear-gradient(0deg, rgba(16, 60, 60, 0.5) 0%, rgba(16, 60, 60, 0.5)100%);
}

#sight .tab b,
#sight .tab strong {
    font-size: 1.875rem;
    text-transform: none;
    line-height: 1.2;
}

@media (max-width: 991px) {

    #sight .tab b,
    #sight .tab strong {
        font-size: 24px;
    }
}

#sight .tab .tiny_p:first-child {
    z-index: 2;
    position: relative;
    pointer-events: none;
    letter-spacing: 0.1rem;
}

#sight .tab a {
    position: relative;
    font-size: 0;
    display: inline-block;
    margin-top: 155px;
    width: 100%;
}

@media (max-width: 991px) {
    #sight .tab a {
        margin-top: 85px;
    }
}

#sight .tab a::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    background-image: url('../img/arrow-tab.png');
    background-position: center;
    background-repeat: no-repeat;
    width: 34px;
    height: 33px;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
    z-index: 2;
}

#sight .tab a::after {
    content: '';
    position: absolute;
    right: 0;
    top: -60vh;
    left: -40px;
    margin: auto;
    width: calc(100% + 80px);
    height: 70vh;
    z-index: 3;
}

#sight .tab a:hover::before {
    transform: translate(15px, 0px);
    -webkit-transform: translate(15px, 0px);
    -moz-transform: translate(15px, 0px);
}

@media (max-width: 991px) {
    #sight .tab a:hover::before {
        transform: translate(5px, 0px);
        -webkit-transform: translate(5px, 0px);
        -moz-transform: translate(5px, 0px);
    }
}

@media (min-width: 768px) and (max-width:1199px) {
    #sight .tab {
        padding: 55px 15px 30px 15px;
    }

    #sight .tab b {
        font-size: 1.5rem;
    }
}


/* ----------------------------------------------- Breaker ----------------------------------------------- */

#breaker {
    padding: 120px 0 90px 0;
    color: #fff;
    background: #141414;
    background-attachment: fixed;
    background-size: cover;
    position: relative;
}

#breaker::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 102px;
    background: url('../img/parallax-form.png') top center no-repeat;
}

#breaker .tab {
    font-size: clamp(1.125rem, 3vw, 1.5625rem);
}

#breaker .tabHeadline {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
}


/* ----------------------------------------------- button-style ----------------------------------------------- */

.button-style a {
    background-color: #f8aa48;
    outline: 1px solid #141414;
    color: #141414;
    font-family: "Bangers", system-ui;
    font-size: 1.5625rem;
    text-transform: uppercase;
    position: relative;
    box-shadow: 10px 10px 0 #599c3b;
    transition: box-shadow 300ms;
    padding: 10px 30px 10px 30px;
}

.button-style a::after {
    content: '\2192';
    display: inline-block;
    padding-left: 10px;
}

.button-style a:hover {
    text-decoration: none;
    box-shadow: 10px -10px 0 #599c3b;
}

.button-style a+a {
    margin-left: 30px;
}

/* ----------------------------------------------- @1f footer ----------------------------------------------- */

#f1 {
    color: #ffffff;
    font-size: 1rem;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #2c7b7d;
}

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

#f1 a,
#f1 a:hover,
#f1 a:focus {
    color: #ffffff;
}

#f1 .footerTab {
    font-size: 1rem;
}

#f1 .tabHeadline {
    font-size: 1.375rem;
    font-weight: 600;
    font-family: "Montserrat", sans-serif;
    color: #ffffff;
}

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

#innerfooter ul {
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    padding: 0;
}

#innerfooter li {
    border-top: 2px solid rgba(0, 0, 0, 0.1);
}

#innerfooter a {
    text-decoration: none;
    position: relative;
    display: block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 10px 6px 25px;
}

#innerfooter a::before {
    content: "";
    position: absolute;
    display: block;
    left: 10px;
    top: 16px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    transition: background 300ms linear;
}

#innerfooter a:hover::before,
#innerfooter a:focus::before {
    background: #ffffff;
}

#visitor-counter {
    background: #f8aa48;
    color: #141414;
    padding: 12px 20px;
    margin-bottom: 20px;
    border: 1px solid #000;
}

#visitor-counter span {
    font-weight: 600;
}

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

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

#vernetzt span span {
    display: block;
}