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

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

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

a {
    color: #5f713d;
}

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

#content a,
b,
strong {
    font-weight: 500;
}

@media (min-width: 1200px) {
    .rowWide {
        max-width: 1440px;
        width: 100%;
    }
}

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

/* burgermenu for tablet */

nav.horizontally {
    border-top: 6px solid #7e8d6c;
}

@media (max-width: 991px) {
    nav.horizontally {
        position: static !important;
    }

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

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

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

/* menu desktop */

@media (min-width: 992px) {
    nav.horizontally {
        padding: 30px 0;
        transition: padding 300ms linear;
        background: #ffffff;
        box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.1);
    }

    .is-sticky nav.horizontally {
        padding: 20px 0;
        left: unset !important;
    }

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

    nav.horizontally .navbar-nav>li {
        flex-grow: 1;
    }

    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: #161616;
    font-weight: 300;
    text-align: left;
    padding: 10px 35px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.2;
    border-radius: 4px;
    background: #a3c0d9;
    text-decoration: none;
}

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

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

    nav.horizontally a[class*="toplevel"] {
        padding: 40px 0 4px 0;
        min-height: 62px;
        text-align: center;
    }
}

nav.horizontally a[class*="toplevel"]::before {
    content: '';
    position: absolute;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/icon-home.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+2)>a::before {
    background: url('../img/icon-about-me.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+3)>a::before {
    background: url('../img/icon-learning.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+4)>a::before {
    background: url('../img/icon-coaching.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+5)>a::before {
    background: url('../img/icon-supervision.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+6)>a::before {
    background: url('../img/icon-organisation.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+7)>a::before {
    background: url('../img/icon-download.png') top 6px center no-repeat;
}

nav.horizontally li[class*="toplevel"]:nth-child(8n+8)>a::before {
    background: url('../img/icon-contact.png') top 6px center no-repeat;
}

@media (max-width: 991px) {
    nav.horizontally a[class*="toplevel"]::before {
        background-position: left 6px center !important;
        background-size: 20px auto !important;
    }
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        padding: 15px;
    }
}

@media (min-width: 992px) {
    nav.horizontally [class*="toplevel"] ul {
        border-radius: 4px;
    }

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    color: #161616;
    font-weight: 300;
    text-align: left;
    padding: 9px 15px;
    font-size: 0.875rem;
    line-height: 1.2;
    text-decoration: none;
    border-radius: 4px;
}

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

/* 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: #b7c3a1;
    color: #161616;
}

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

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

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

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

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

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

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

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

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

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

.slider-mask {
    display: none;
}

@media (max-width: 767px) {
    .slider-mask {
        display: block;
        background: url('../img/banner-welle.png') right bottom / 100% auto no-repeat;
    }
}

@media (min-width: 768px) {
    #headerpic::before {
        content: '';
        position: absolute;
        pointer-events: none;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 12;
        background: url('../img/banner-welle.png') right bottom / 100% auto no-repeat;
    }

    .slider-mask {
        display: block;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: linear-gradient(to left, #ffffff 0%, transparent 50%, #ffffff 100%);
    }
}

#bannerOverlay {
    color: #161616;
    font-weight: 300;
    font-size: clamp(1.125rem, 2vw, 1.4375rem);
    padding-top: 25px;
    padding-bottom: 35px;
    background: #ffffff;
}

#bannerOverlay :is(b, strong) {
    font-weight: 400;
    font-size: clamp(1.25rem, 3vw, 1.8125rem);
}

#bannerOverlay :is(h1, h2, h3) {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 3rem);
}

#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: right;
        padding-right: clamp(20px, 5vw, 56px);
        font-size: 0;
        bottom: 10px;
    }
}

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

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

/* ------------------------------------------- buttons ------------------------------------------ */

#bannerOverlay a,
.button-style a {
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
    text-align: center;
    font-size: 0.9375rem;
    text-decoration: none;
    min-width: 110px;
    color: #161616;
    padding: 6px clamp(10px, 2vw, 20px);
    margin-top: 22px;
    border-radius: 4px;
    background: #fffbf1;
    transition: background-color 300ms linear, color 300ms linear, border 100ms linear;
}

#bannerOverlay a {
    text-transform: unset;
    font-size: 1rem;
    padding: 10px clamp(10px, 2vw, 25px);
    background: #b7c3a1;
}

#bannerOverlay a:is(:hover, :focus) {
    background: #a3c0d9;
}

#bannerOverlay a+a,
.button-style a+a {
    margin-left: 20px;
}

.button-style a:is(:hover, :focus) {
    background: #a3b08b;
}

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

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

/* -------------------------------------------- breaker ----------------------------------------- */

#breaker {
    padding: 70px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#teaser {
    pointer-events: auto;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0px 10px 20px 0px rgba(37, 37, 37, 0.1);
    padding: clamp(30px, 4vw, 60px);
    position: relative;
}

#teaser::before {
    content: "";
    position: absolute;
    display: block;
    top: 20px;
    right: 20px;
    bottom: 20px;
    left: 20px;
    border-radius: 4px;
    border: 2px solid #1a1a1a;
    pointer-events: none;
}

#teaser :is(h1, h2, h3) {
    margin-top: 0;
    font-size: clamp(2rem, 3vw, 2.625rem);
}

#teaser :is(h1, h2, h3) :is(em, i) {
    font-style: normal;
    display: block;
    font-size: 69%;
}

#teaser :is(b, strong) {
    font-weight: 400;
}

#teaser a {
    color: #5f713d;
    font-weight: 500;
    text-decoration: underline;
}

/* ---------------------------------------------- tabs ------------------------------------------ */

#tabs {
    padding: clamp(30px, 4vw, 70px) 0;
}

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

#tabs .tabHead .tabHeadline {
    font-size: clamp(2rem, 3vw, 2.625rem);
}

#tabs .tab {
    font-size: clamp(1.125rem, 2vw, 1.4375rem);
    height: 100%;
    min-height: 100%;
    overflow: hidden;
    text-align: center;
    hyphens: auto;
    padding: 20px;
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0px 10px 20px 0px rgba(37, 37, 37, 0.1);
}

#tabs .tab img {
    display: block;
    margin: -20px -20px 20px -20px;
    width: calc(100% + 40px);
    max-width: calc(100% + 40px);
}

#tabs .tab a {
    color: #161616;
    font-weight: 500;
}

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

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

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

h2,
.h2,
.legacy_h2 {
    font-size: clamp(1.875rem, 43vw, 2rem);

}

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

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;
}

/* -------------------------------------------- footer ------------------------------------------ */

#footer {
    color: #161616;
    font-size: 1rem;
    padding: clamp(30px, 4vw, 60px) 0 30px 0;
    background: #b7c3a1;
}

@media (max-width: 991px) {
    :is(#footer, #innerfooter)>.row>.col-xs-12+* {
        border-top: 3px solid #ffffff;
        margin-top: 20px;
        padding-top: 20px;
    }
}

@media (min-width: 768px) {
    #innerfooter>.row>.col-xs-12+:nth-child(2) {
        border: none;
        margin-top: 0;
        padding-top: 0;
    }
}

#footer a {
    color: #161616;
}

#footer .footerTab a {
    font-weight: 500;
    text-decoration: underline;
}

#footer .footerHeadline {
    color: #161616;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-size: 1.3125rem;
}

#footer .logoFooter {
    text-decoration: none !important;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.2;
    font-size: clamp(1.25rem, 4vw, 2.5rem);
    font-family: "Cinzel", serif;
}

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

#innerfooter {
    color: #161616;
    font-size: 1rem;
    padding: 20px 0;
    border-top: 3px solid #ffffff;
    background-color: #b7c3a1;
}

#innerfooter ul {
    padding: 0;
}

#innerfooter li {
    display: inline-block;
}

.innerfooter a {
    color: #161616;
    text-decoration: none;
    display: inline-block;
    padding: 10px 12px;
    border-radius: 4px;
}

.innerfooter a:is(:hover, :focus) {
    color: #161616;
    background: #a3b08b;
}

.innerfooter li+li {
    margin-left: 10px;
}

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

#scroll-top {
    font-size: 0;
    width: 33px;
    height: 33px;
    display: block;
    position: relative;
    margin: 0 auto;
    border-radius: 4px;
    background: #ffffff;
}

#scroll-top:is(:hover, :focus) {
    background: #a3b08b;
}

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

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

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

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

#vernetzt {
    gap: 14px;
    text-align: right;
    color: #161616;
    line-height: 1.3;
    font-weight: 300;
    text-decoration: none;
    font-size: 0.8125rem;
}

#vernetzt span span {
    display: block;
}