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

body {
  font-family: "Calibri", sans-serif;
  font-weight: 400;
  color: #505050;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

a,
a:is(:hover, :focus) {
  color: #327b5c;
}

b,
strong {
  font-weight: 700;
}

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

/* #region ------------------------------------ topbar ------------------------------------------ */

#topbar {
  position: relative;
}

@media (min-width: 1200px) {
  #topbar {
    background: url('../img/deko-lotus-header-links.png') left bottom no-repeat,
      url('../img/deko-lotus-header-rechts.png') right bottom no-repeat;
  }
}

#topbar::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: #327b5c linear-gradient(to right, #43787A 50%, rgba(255, 255, 255, 0) 50%) top left / 40% 100%;
}

#topbar>.row {
  font-size: 1rem;
  padding: 20px 0 50px 0;
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

/* #endregion --------------------------------- topbar ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  .sticky-wrapper {
    height: auto !important;
  }

  .sticky-wrapper nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #327b5c;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #ffffff;
    border-radius: 4px;
    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: #347593;
    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: 10px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: rgba(52, 117, 147, 0.8);
    transition: background-color 300ms linear;
  }

  #stickyMenue {
    position: sticky;
    top: 0;
    background: rgba(52, 117, 147, 0.8);
  }

  nav.horizontally {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
  }

  nav.horizontally::before {
    content: "";
    background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    left: 0;
    pointer-events: none;
  }

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

  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.open>ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(: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)>ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 12px 15px 12px 20px;
  position: relative;
  font-size: 1.1875rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Calibri", sans-serif;
  text-transform: uppercase;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"]+li {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

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

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

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

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  width: 44px;
  height: 34px;
  display: block;
  position: absolute;
  left: 0;
  bottom: calc(50% - 10px);
  background: url(../img/hover.png) no-repeat;
  opacity: 0;
  transition: opacity 300ms linear;
}

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

  nav.horizontally a[class*="toplevel"]::before {
    content: "";
    width: 44px;
    height: 34px;
    display: block;
    position: absolute;
    left: 0px;
    bottom: calc(50% - 20px);
    background: url(../img/hover.png) no-repeat;
    opacity: 0;
    transition: opacity 300ms linear;
    scale: 50%;
  }
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::before {
    width: 44px;
    height: 34px;
    left: 50%;
    transform: translate(-50%);
    bottom: -10px;
  }
}

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #f4f4f4;
  box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.2);
}

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

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

  nav.horizontally [class*="toplevel"]>ul {
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    left: 50%;
    transform: translate(-50%, 0);
  }

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
  }

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

  nav.horizontally a:is([class*="secondlevel"]) {
    padding: 10px 30px 10px 55px;
  }

  nav.horizontally a:is([class*="thirdlevel"]) {
    padding: 10px 30px 10px 55px;
  }
}

/* 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: #327b5c;
  color: #fff;
}

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

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

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

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

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

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

#tabs {
  font-size: 1rem;
  background: #4d848b;
  position: relative;
  padding: 40px 0;
}

#tabs::before {
  content: "";
  display: block;
  position: absolute;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
  top: 0px;
  bottom: 0;
  left: 0;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (max-width: 767px) {

  #tabs .tabsBox>.row>*+*,
  #tabs>.row>*+* {
    margin-top: 30px;
  }
}

#tabs .fototab {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
  margin-bottom: -1px;
}

#tabs .fototab,
#tabs .tabsBox {
  color: #285a71;
  height: 100%;
  background: #ffffff;
}

#tabs .tabsBox {
  padding: 30px;
  color: #285a71;
  font-size: clamp(1rem, 2vw, 1.25rem);
  background: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

@media (min-width: 992px) {
  #tabs .tabsBox {
    padding: 35px 25px 35px 40px;
  }

  #tabs .fototab {
    padding: 20px 20px 20px 20px;
  }
}

@media (max-width: 991px) {
  #tabs .fototab {
    padding: 30px 15px 30px 15px;
  }
}

.fototab img {
  object-fit: cover;
  width: 100%;
}

#tabs .tabsBox h2 {
  font-size: clamp(1.75rem, 3.5vw, 2rem);
}

#tabs .fototab a {
  color: #347593;
}

#tabs .tabsBox a {
  color: #347593;
}

#tabs .tabsBox a:is(:hover, :focus) {
  color: #347593;
}

#tabs .tabBox .tabHeadline {
  font-size: clamp(1.75rem, 3.5vw, 1.875rem);
  color: #347593;
  font-weight: 700;
}


.pseudo,
.tabsBox {
  position: relative;
}

.pseudo::before,
.pseudo::after,
.tabsBox::before,
.tabsBox::after {
  content: '';
  display: block;
  position: absolute;
  height: 56px;
  width: 55px;
  z-index: 55;
  pointer-events: none;
}

.pseudo::before {
  top: -15px;
  left: 0;
  background: url('../img/deko-lotus-tab-links-oben.png') no-repeat;
}

.pseudo::after {
  top: -15px;
  right: 0;
  background: url('../img/deko-lotus-tab-rechts-oben.png') no-repeat;
}

.tabsBox::before {
  bottom: -15px;
  left: -15px;
  background: url('../img/deko-lotus-tab-links-unten.png') no-repeat;
}

.tabsBox::after {
  bottom: -15px;
  right: -15px;
  background: url('../img/deko-lotus-tab-rechts-unten.png') no-repeat;
}

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

#content {
  text-align: left;
  padding-top: 40px;
  padding-bottom: clamp(40px, 8vw, 120px);
}

@media (min-width: 1200px) {
  #content {
    position: relative;
  }

  #content>.row::before {
    content: '';
    position: absolute;
    pointer-events: none;
    left: -365px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 219px;
    height: 265px;
    background: url('../img/deko-lotus-main-links.png') center no-repeat;
  }

  #content>.row::after {
    content: '';
    position: absolute;
    pointer-events: none;
    right: -365px;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 218px;
    height: 265px;
    background: url('../img/deko-lotus-main-rechts.png') center no-repeat;
  }
}

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

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4,
#tabs :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.75rem, 3.5vw, 1.875rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.625rem, 3.5vw, 1.75rem);
}

h6,
.h6,
.legacy_h6,
#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.5rem, 3.5vw, 1.625rem);
}

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

footer {
  font-size: clamp(1rem, 2vw, 1.125rem);
  background-color: #43787A;
}

footer,
footer * {
  color: #ffffff;
}

#footer {
  position: relative;
  background: center / cover no-repeat;
  padding: 65px 0;
  box-shadow: inset 0 0 0 100vw rgba(0, 45, 85, 0);
}

@media (max-width: 991px) {
  #footer {
    background: #4b8688 !important;
  }
}

#footer::before {
  content: "";
  background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x, linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  pointer-events: none;
}

@media (min-width: 992px) {
  #footer::after {
    left: calc(50% - 20px);
  }
}

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

#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 5px;
}

.footerZitat {
  font-size: 1.25rem;
}

.footerZitat :is(b, strong) {
  font-size: 1.5625rem;
  font-weight: 400;
  line-height: 1.2;
}

.footerKontakt {
  font-size: clamp(1rem, 1vw, 1.125rem);
}

.footerKontakt .btgrid>.row {
  align-items: center;
  align-content: center;
}

.footerKontakt a {
  color: #ffffff !important;
}

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

#f5 {
  font-size: 1rem;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #43787A;
  position: relative;
}

@media (min-width: 1200px) {
  #f5::after {
    content: "";
    position: absolute;
    pointer-events: none;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px;
    width: 85px;
    height: 57px;
    background: url('../img/lotus-icon.png') center no-repeat;
    z-index: 1;
  }

  #f5>.row::after {
    content: '';
    position: absolute;
    pointer-events: none;
    left: -365px;
    bottom: -20px;
    width: 198px;
    height: 265px;
    background: url('../img/deko-lotus-footer-links.png') center no-repeat;
    z-index: 1;
  }

  #f5>.row::before {
    content: '';
    position: absolute;
    pointer-events: none;
    right: -365px;
    bottom: -20px;
    width: 198px;
    height: 265px;
    background: url('../img/deko-lotus-footer.png') center no-repeat;
    z-index: 1;
  }
}

#f5>.row {
  row-gap: 20px;
}

/*  innerfooter  */

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

#innerfooter a {
  color: #fff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
}

@media (max-width: 575px) {
  #innerfooter a {
    padding: 6px;
    display: inline-block;
  }
}

#innerfooter a:is(:hover, :focus) {
  color: #fff;
}

@media (min-width: 576px) {
  #innerfooter li+li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 25px);
    color: #fff;
  }

  #innerfooter li {
    display: inline-block;
  }
}

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

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

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

#vernetzt span span {
  display: block;
}

#vernetzt strong {
  font-weight: 700;
  color: #fff;
}

.tp-image-wrapper {
  text-align: left;
}

#newsletter label {
  font-size: 1.5625rem;
  margin-bottom: 4px;
}

#newsletterInputs {
  height: 33px;
  background: #467678;
  outline: 1px solid #fff;
  display: block;
  position: relative;
  max-width: 340px;
  margin-top: 5px;
}

#newsletter_input {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
}

#newsletter_submit {
  width: 33px;
  background: url('../img/e-mail-icon.png') center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  transition: background-color 300ms linear;
}

#newsletter_input::-ms-input-placeholder {
  color: #fff !important;
}

#newsletter_input::-webkit-input-placeholder {
  color: #fff !important;
}

#newsletter_input::-moz-placeholder {
  opacity: 1;
}

#newsletter_input:-moz-placeholder {
  opacity: 1;
}