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

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

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

a {
    color: #434918;
}

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

b,
strong {
    font-weight: 600;
}

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

/* ------------------------------------------- header ------------------------------------------- */

#logoMobil img {
    max-width: calc(100vw - 120px);
    width: 100%;
    max-height: 50px;
}

.logo {
    display: inline-block;
}

.logo img {
    display: block;
}

#logo {
    display: flex;
    text-decoration: none !important;
}

.logoText {
    line-height: 1.2;
    color: #191919;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-decoration: none !important;
    padding-top: 20px;
    padding-left: clamp(15px, 3vw, 35px);
}

.logoText :is(b, strong) {
    display: block;
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: #434918;
}

.logoText :is(h1, h2, h3, h4, h5, h6) {
    margin: 0;
    font-size: clamp(1.625rem, 2vw, 1.875rem);
    color: #434918;
}

/* ------------------------------------------- contactTab ------------------------------------------- */

.contactTab {
    position: relative;
    padding-left: 40px;
    font-size: 1rem;
}

.contactTab a {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .contactTab {
        margin-top: 15px;
    }
}

.contactTab::before {
    content: "";
    position: absolute;
    top: 0;
    width: 26px;
    height: 26px;
    border: 2px solid #434918;
    border-radius: 50%;
    display: block;
    background: url('../img/icon-telefon.png') center no-repeat;
    left: 0;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
    .navbar-collapse>.row {
        padding-top: 15px;
        padding-bottom: 10px;
    }

    nav.horizontally {
        margin-top: 70px;
    }

    #burgerButton {
        font-size: 0;
        border: none !important;
        position: absolute;
        z-index: 1002;
        display: block;
        width: 46px;
        height: 40px;
        border-radius: 2px;
        cursor: pointer;
        background-color: #ffffff;
        padding: 3px;
        right: 12px;
        top: 50%;
        margin-top: -20px;
    }

    #burgerButton::before,
    #burgerButton::after,
    #burgerButtonInner {
        background-color: #434918;
        border-radius: 2px;
        position: absolute;
        width: 40px;
        height: 3px;
        left: 2px;
        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: 11px;
    }

    #burgerButton::before {
        top: 19px;
        content: "";
    }

    #burgerButton::after {
        top: 27px;
        content: "";
    }

    .navbar-nav {
        margin: 20px 0;
    }

    .navbar-collapse {
        width: calc(100% - 90px);
        max-width: 300px;
        top: 70px;
        background: #fdfae7;
        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 {
        height: 70px;
        line-height: 1;
        padding: 10px 15px;
        background-color: #ffffff;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 101;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
    }

    .dropdown-toggle-button-wrapper,
    .dropdown-toggle-button-wrapper2 {
        z-index: 1;
    }

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

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

/* menu desktop */

@media (min-width: 992px) {
    #menu {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.08), transparent 6px), #fdfae7;
        box-shadow: 0 0 7px 0 rgba(0, 0, 0, 0.15);
    }

    .is-sticky #menu {
        left: unset !important;
    }

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

    nav.horizontally .navbar-nav ul {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        display: block !important;
        pointer-events: none;
        opacity: 0;
        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: #2a2a2a;
    font-weight: 600;
    text-align: left;
    padding: 10px 15px;
    position: relative;
    z-index: 1;
    font-size: clamp(1.125rem, 4vw, 1.25rem);
    line-height: 1.2;
    text-decoration: none;
}

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

/* 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: #434918;
    background: #dee8b4;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
    padding: 10px 0;
    background-color: rgba(253, 250, 231, 0.95);
    box-shadow: 0px 0px 5px 0px rgba(29, 29, 29, 0.2);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(29, 29, 29, 0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(29, 29, 29, 0.2);
}

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

    nav.horizontally [class*="secondlevel"]>ul {
        margin: -10px 0 0 4px;
    }

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

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

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

/* secondlevel + thirdlevel */

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

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

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 10px;
    width: 28px;
    height: 29px;
    background: url('../img/icon-sonenblume-subnav-hover.png') center no-repeat;
    transition: opacity 300ms linear;
    opacity: 0;
}

@media (max-width: 991px) {
    nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::before {
        background-size: contain;
        width: 16px;
        height: 16px;
    }
}

/* 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: #434918;
    background-color: transparent;
}

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 {
    opacity: 1;
}

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

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

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

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

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

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

@media (max-width: 767px) {
    #bannerOverlay {
        padding: 30px 0;
        background: #434918;
    }
}

@media (min-width: 576px) and (max-width: 767px) {
    #bannerOverlay {
        margin-top: 30px;
    }
}

@media (min-width: 768px) {
    #bannerOverlay {
        margin-top: 0;
        margin-bottom: 0;
        position: absolute;
        left: 0;
        right: 0;
        z-index: 51;
        pointer-events: none;
        bottom: clamp(60px, 5vw, 90px);
    }

    #headerpic {
        background: #434918;
    }

    #headerpic .theme-nivo .nivo-controlNav .slick-dots li,
    #headerpic .nivo-directionNav a,
    #headerpic a.nivo-control,
    #headerpic a.nivo-control.active {
        color: #ffffff !important;
    }
}

#slogan {
    color: #ffffff;
    pointer-events: auto;
    font-size: clamp(1.125rem, 3vw, 1.375rem);
    line-height: 1.2;
    font-weight: 600;
    width: 100%;
}

#slogan a {
    color: #ffffff;
}

#slogan :is(b, strong) {
    display: block;
    font-size: clamp(1.625rem, 3vw, 2.8125rem);
}

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

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

.slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(67, 73, 24, 0.9), rgba(67, 73, 24, 0));
}

@media (min-width: 768px) {
    .slider-mask {
        display: block;
        background: url('../img/banner-bogen.png') center bottom / 100% auto no-repeat,
            linear-gradient(to top, rgba(67, 73, 24, 0.9), rgba(67, 73, 24, 0));
    }
}

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

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

/* ------------------------------------------------ @17ev ----------------------------------------------- */

#ev17 {
    padding-top: 30px;
    padding-bottom: clamp(30px, 5vw, 60px);
}

#ev17 .specialHeadline {
    background: #dee8b4;
    padding: 0 0 0 50px;
    width: calc(100% - 30px);
    max-width: 1170px;
    margin: 0 auto clamp(30px, 2vw, 40px) auto;
}

#ev17 .tabHeadline {
    color: #434918;
    font-size: 1.75rem;
    margin: 0px;
}

#ev17 .tab_link_mehr a,
#ev17 .specialHeadline a:not(.has-image):not([rel]) {
    position: relative;
    background: #434918;
    color: #dee8b4;
    display: inline-block;
    padding: 15px 12px 15px 35px;
    width: 100%;
    font-weight: 600;
    max-width: 200px;
    font-size: 0.875rem;
    text-decoration: none;
    text-align: left;
}

#ev17 .tab_link_mehr a {
    background: #dee8b4;
    color: #434918;
    max-width: unset;
    width: auto;
    padding: 12px 12px 12px 35px;
    margin-top: 20px;
}

#ev17 .tab_link_mehr {
    font-size: 0px;
    text-align: left !important;
}

#ev17 .tab_link_mehr a::before,
#ev17 .specialHeadline a::before {
    content: '';
    display: block;
    width: 18px;
    height: 18px;
    background-image: url('../img/icon-sonenblume-buttons.png');
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

#ev17 .tab_link_mehr a::before {
    background-image: url('../img/icon-sonenblume-mehr-erfahren-hover.png');
}

#ev17 .tab_link_mehr a:hover,
#ev17 .tab_link_mehr a:focus {
    background: #434918;
    color: #dee8b4;
}

#ev17 .specialHeadline a:not(.has-image):not([rel]):hover,
#ev17 .specialHeadline a:not(.has-image):not([rel]):focus {
    background: #fdfae7;
    color: #434918;
}

@media (max-width: 768px) {
    #ev17 .specialHeadline {
        padding: 0px;
    }

    #ev17 .specialHeadline .tabHeadline {
        margin-bottom: 10px;
        margin-top: 10px;
    }

    #ev17 .specialHeadline a:not(.has-image):not([rel]) {
        max-width: unset;
    }
}

#ev17 .tab_link_entries {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

#ev17 .tab_link_entry {
    width: 100%;
    color: #191919;
    font-size: 1rem;
    padding: 35px 30px 30px 30px;
    background: #fdfae7;
    box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.05);
}

@media (min-width: 575px) and (max-width: 767px) {
    #ev17 .tab_link_entry {
        max-width: calc(50% - 15px);
    }

    #ev17 .tab_link_entry:last-child {
        max-width: 100%;
    }
}

@media (min-width: 768px) {
    #ev17 .tab_link_entry {
        max-width: calc(33.3333333% - 20px);
    }
}

#ev17 .tab_link_title a {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 600;
    color: #434918;
    margin-bottom: 15px;
    display: inline-block;
}

#ev17 .tab_link_date {
    color: #191919;
    font-size: 1rem;
}

#ev17 .tab_link_mandat {
    display: none;
}

#ev17 .tab_spacer,
#ev17 .vorschau {
    display: none;
}

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

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

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

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

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

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

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

h6,
.h6,
.legacy_h6 {
    font-size: 22px;
}

/* -------------------------------------------- performance ------------------------------------------ */

#performance {
    color: #ffffff;
    padding: 30px 0;
    font-size: 1rem;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #434918;
}

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

#performance :is(b, strong) {
    font-size: 1.125rem;
}

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

@media (min-width: 992px) {
    #performance {
        padding: 0;
    }
}

#performance .footerHeadline {
    margin: 0;
    font-size: 1.75rem;
    color: #ffffff;
}

#performance .footerHeadline::after {
    content: "";
    display: block;
    margin: 6px 0 25px 0;
    height: 1px;
    width: 140px;
    background: #ffffff;
}

#performance>.row>*:first-child img {
    vertical-align: middle;
}

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

#innerfooter {
    min-height: 100%;
    height: 100%;
    font-size: 1rem;
    padding: 25px 15px;
    background: rgba(222, 232, 180, 0.7);
}

@media (min-width: 992px) {

    #performance>.row>*:not(:last-child),
    #innerfooter {
        padding-top: 60px;
        padding-bottom: 50px;
    }

    #performance>.row>*:nth-child(2) {
        padding-top: 85px;
    }

    #innerfooter {
        padding-left: 25px;
        padding-right: 25px;
    }
}

#innerfooter .footerHeadline {
    margin: 0;
    color: #434918;
}

#innerfooter .footerHeadline::after {
    background: #434918;
}

#innerfooter ul {
    padding: 0;
    line-height: 2;
}

#innerfooter a {
    font-size: 1rem;
    color: #191919;
    padding-left: 22px;
    position: relative;
    display: block;
    text-decoration: none;
}

#innerfooter a::before {
    content: "";
    position: absolute;
    display: block;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #191919;
}

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

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

#footer {
    color: #191919;
    padding-top: 20px;
    padding-bottom: 18px;
    background: #fdfae7;
}

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

#vernetzt {
    gap: 12px;
    text-decoration: none;
    text-align: left;
    font-size: 0.9375rem;
    color: #191919;
    line-height: 1.4;
    margin-bottom: 25px;
}

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

#vernetzt span span {
    display: block;
}

#vernetzt b {
    color: #434918;
}

/* ------------------------------------------ scrollTopBtn ------------------------------------------ */

#scrollTopBtn {
    position: relative;
    text-decoration: none;
    padding: 4px 15px 3px 15px;
    display: inline-block;
    border-radius: 2px;
    font-size: 0.9375rem;
    color: #434918;
    font-weight: 600;
    border: 1px solid #434918;
}

#scrollTopBtn:is(:hover, :focus) {
    background: #dee8b4;
}

#scrollTopBtn::after {
    content: "\00BB";
    position: relative;
    bottom: 1px;
    display: inline-block;
    margin-left: 15px;
    transform: rotate(-90deg);
}