@import url("https://fonts.verwaltungsportal.de/import/?family=Merriweather+Sans:400,600,400,600i%7CPatua+One:400");

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

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

a {
  color: #6e382b;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration 300ms;
}

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
  text-decoration-color: transparent;
}

b,
strong {
  font-weight: 600;
}

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

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #ff0000 !important;
}
/* ------------------------------------------- logo --------------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

@media (min-width: 992px) and (max-width: 1199px) {
  #logo {
    padding: 10px 0;
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    background: #3d7a1f;
    padding: 15px 0;
  }

  #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: #3d7a1f;
    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 0;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    right: 0;
    top: 0;
    max-width: 1930px;
    width: 100%;
    z-index: 101;
    background: rgba(61, 122, 31, 0.85);
    transition:
      150ms linear background,
      150ms linear box-shadow;
  }

  .is-sticky nav.horizontally {
    background: #3d7a1f;
    box-shadow: 0 7px 12px 0 rgba(0, 0, 0, 0.08);
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    position: relative;
    flex-wrap: wrap;
    margin-left: 42px;
  }

  nav.horizontally .navbar-nav::before {
    content: "";
    transform: skewX(-26deg);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: -100vw;
    z-index: -1;
    background: #fff;
  }

  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: #757575;
  font-weight: 400;
  text-align: left;
  padding: 12px 15px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  hyphens: auto;
  font-family: "Merriweather Sans", sans-serif;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"] {
    margin-bottom: 2px;
  }
  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

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

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

  nav.horizontally a[class*="toplevel"] {
    font-size: 1.125rem;
  }
}

.navbar-default .navbar-nav > li > a::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -0;
  z-index: -1;
  background: #ffffff;
  transition: background 300ms linear;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a::before {
    transform: skewX(-26deg);
  }
}

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

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

  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: #3d7a1f;
  }

  nav.horizontally [class*="toplevel"] > ul::before {
    left: 45px;
    top: -10px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
  }

  nav.horizontally [class*="secondlevel"] > ul::before {
    left: -10px;
    top: 10px;
    width: 20px;
    height: 20px;
    transform: rotate(45deg);
  }

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

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

/* secondlevel + thirdlevel */

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

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

@media (min-width: 1200px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    font-size: 1.125rem;
  }
}

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* 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: #2a2a2a;
  background-color: #c4d784;
}

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

/* -------------------------------------------- infobar ----------------------------------------- */

#infobar {
  background: #edf1dd;
  padding: 13px 0;
}

@media (min-width: 992px) {
  #infobar {
    position: relative;
    width: 100%;
    z-index: 21;
    top: 0px;
    padding: 13px 0;

    border: none;
  }
}

#infobar > .row {
  row-gap: 8px;
}

/* -------------------------------------------- suche ------------------------------------------- */

#search {
  background: transparent;
  display: inline-flex;
  border-radius: 2px;
  width: 100%;
}

@media (min-width: 768px) {
  #search {
    max-width: 246px;
    justify-content: end;
  }
}

#search_input {
  color: #2a2a2a;
  font-size: 0.875rem;
  font-style: normal;
  background: transparent;
  border: 0;
  width: 100%;
  border-radius: 2px;
  padding: 3px 14px;
  max-width: 246px;
  background-color: #ffffff;
}

#search_submit {
  border: none;
  background: #c4d784 url("../img/lupe-icon.png") center / 14px auto no-repeat;
  padding: 0;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0;
  width: 37px;
  height: 37px;
  flex-shrink: 0;
  transition: transform 150ms linear;
}

#search_submit:is(:hover, :focus) {
  transform: scale(1.2);
}

#search_input::placeholder {
  color: #2a2a2a !important;
  opacity: 1 !important;
  font-style: normal !important;
}

[id^="search_input"]::-ms-input-placeholder {
  color: #2a2a2a !important;
  opacity: 1;
}
[id^="search_input"]::-webkit-input-placeholder {
  color: #2a2a2a !important;
  opacity: 1;
}
[id^="search_input"]::-moz-placeholder {
  color: #2a2a2a !important;
  opacity: 1;
}
[id^="search_input"]:-moz-placeholder {
  color: #2a2a2a !important;
  opacity: 1;
}

/* #region -------------------------------------- header ---------------------------------------- */

@media (min-width: 576px) {
    #headerpic {
        z-index: 1;
        position: relative;
        background-color: #f6f9eb;
        
    }

    #headerpic::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 32%;
        max-width: 600px;
        height: 410px;
        clip-path: polygon(0 0, 100% 0%, 69% 100%, 0% 100%);
        z-index: -1;
        background-color: #fdfff6;
    }

    #headerpic::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 49%;
        clip-path: polygon(31% 0%, 100% 0%, 100% 100%, 0% 100%);
        z-index: -1;
        box-shadow: inset 0 0 0 100vw rgba(89, 141, 61, 0.8);
    }
}

#headerpic>.row {
    row-gap: 30px;
    position: relative;
}

#headerpic>.row::before {
  content: '';
    display: block;
    position: absolute;
    top: -70px;
    left: -360px;
    width: 651px;
    height: 526px;
    background: url('../img/schmuckelement-header.png') top left no-repeat;
}

.bannerSideTab {
  padding-right: 30px;
}

.bannerSideTab h2 {
    font-size: clamp(1.875rem, 4vw, 3.125rem);
    line-height: 1.1;
    margin-bottom: clamp(15px, 2vw, 30px);
}

.bannerSideTab h2 :is(i, em) {
    color: #3d7a1f;
    margin-bottom: 5px;
    font-style: normal;
    display: block;
}

/* banner */


@media (max-width: 767px) {
    .slider-wrapper {
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.2);
    }
}

body:not(.index) .slider-wrapper {
    border-left: unset;
    border-bottom: unset;
}

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

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

#headerpic {
    margin: 0 auto;
    position: relative;
    width: 100%;
    padding: 70px 0;
}



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

.slider-mask {
    display: none;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

#content {
  text-align: left;
  padding-bottom: 30px;
  padding-top: 30px;
}

@media (min-width: 992px) {
  #content {
    padding-bottom: 60px;
    padding-top: 30px;
  }
}

@media (min-width: 1200px) {
  #content > .row::before {
    content: "";
    position: absolute;
    background: url(../img/schmuck-links.png) no-repeat;
    width: 223px;
    height: 194px;
    bottom: -60px;
    z-index: 0;
    pointer-events: none;
    left: -364px;
    display: block;
  }
  #content > .row::after {
    content: "";
    position: absolute;
    background: url(../img/schmuck-rechts.png) no-repeat;
    width: 208px;
    height: 195px;
    bottom: -60px;
    z-index: 0;
    pointer-events: none;
    right: -364px;
    display: block;
  }
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

h2,
.h2,
.legacy_h2 {
  font-size: 1.75rem;
}

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

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

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

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

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

/* @1f footer */

#f1 {
  color: #ffffff;
  font-size: 1rem;
  padding: 40px 0 28px 0;
  background-color: #2f5d18;
  hyphens: auto;
}

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

#f1 a,
#f1 a:is(:hover, :focus) {
  color: #f1fdb9;
}

#f1 .tabHeadline {
  font-size: 1.625rem;
  color: #ffffff;
  margin-bottom: 20px;
}

/* 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 {
  color: #fff;
  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:is(:hover, :focus) {
  color: #f1fdb9;
  text-decoration: underline;
}

#innerfooter a:is(:hover, :focus)::before {
  background: #f1fdb9;
}

/* vernetzt */

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

#vernetzt span span {
  display: block;
}

/* #endregion -------------------------------- footer ------------------------------------------- */
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner,
.contrast_light_font .dropdown-toggle-button {
  background-color: #000 !important;
}
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
  background-color: #fff !important;
}

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

.contrast_light_font .is-sticky nav.horizontally {
  border-bottom: solid 1px #fff !important;
}

.contrast_dark_font #logo img {
  background-color: #000;
}
.contrast_dark_font .is-sticky nav.horizontally {
  border-bottom: solid 1px #000 !important;
}
