@import url("https://fonts.verwaltungsportal.de/import/?family=Work+Sans:400,400i,600,600i%7CTeko:500,700");

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

body {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  color: #4c4c4c;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
  color: #836221;
}

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

main a,
b,
strong {
  font-weight: 600;
}

main a {
  text-decoration: underline;
}

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

/* #region --------------------------------------- logo ----------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo {
    margin: 25px 0;
  }

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

  #logo .row {
    margin-left: -30px;
    margin-right: -30px;
  }
}

@media (min-width: 992px) {
  #logo img {
    max-width: 100%;
    width: 100%;
    transition: max-width 300ms linear;
  }

  .is-sticky #logo img {
    max-width: 70%;
  }
}

/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    background: #f3e9d5;
    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: #000000;
    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: #f3e9d5;
    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;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    padding: 12px 0 0px 0;
    transition: background 300ms linear, padding 300ms linear;
  }

  .is-sticky nav.horizontally {
    padding: 20px 0;
    background: #f3e9d5;
    border-bottom: 2px solid #000000;
  }

  .sticky-wrapper {
    z-index: auto;
  }

  .is-sticky.sticky-wrapper {
    z-index: 101;
  }

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

  nav.horizontally [class*="toplevel"]>ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav.horizontally [class*="secondlevel"]>ul {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally .navbar-nav {
    padding-right: 20px;
    padding-left: 8px;
    margin-top: -12px;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  font-family: "Teko", sans-serif;
  color: #000000;
  font-weight: 500;
  text-align: left;
  padding: 13px 15px 11px 15px;
  position: relative;
  font-size: 1.25rem;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  border: 2px solid transparent;
  transition: border 300ms linear;
}

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

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

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

  nav.horizontally a[class*="toplevel"] {
    padding: 8px 10px 6px 10px;
    display: flex;
    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) {
  border-color: #000000;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #ffffff;
  border: 2px solid #17171a;
}

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

@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) {
  color: #836221;
}

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

/* #region -------------------------------------- search ---------------------------------------- */

#search {
  background: #ffffff;
  position: relative;
  color: #333333;
  line-height: 1;
  border: 2px solid #ffffff;
  overflow: hidden;
}

@media (min-width: 992px) {
  .is-sticky #search {
    background: #000;
    position: relative;
    color: #fff;
    line-height: 1;
    border: 2px solid #000;
    overflow: hidden;
  }
}

#search {
  z-index: 101;
  max-width: 260px;
  transition: margin 300ms linear, width 300ms linear;
  margin-top: -12px;
}

#search label {
  font-weight: 500;
  padding: 8px 15px 6px 13px;
  line-height: 1.2;
  font-family: "Teko", sans-serif;
  font-size: 1.25rem;
  text-transform: uppercase;
}

#search_input {
  color: #000000;
  background: #f3e9d5;
  font-style: normal;
  border: 0;
  padding: 11px 36px 12px 12px;
  width: 100%;
  font-size: 1rem;
}

#search_submit {
  width: 36px;
  background: #f3e9d5 url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M39.75 43.35 26.3 29.95q-1.45 1.15-3.425 1.8-1.975.65-4.275.65-5.75 0-9.75-4t-4-9.65q0-5.65 4-9.65t9.7-4q5.65 0 9.625 4 3.975 4 3.975 9.65 0 2.25-.625 4.175-.625 1.925-1.875 3.625l13.5 13.4ZM18.55 27.7q3.75 0 6.325-2.625t2.575-6.325q0-3.75-2.575-6.35Q22.3 9.8 18.55 9.8t-6.375 2.6Q9.55 15 9.55 18.75q0 3.7 2.625 6.325T18.55 27.7Z' fill='%23000000'/%3E%3C/svg%3E") center / 22px auto no-repeat;
  padding: 0;
  cursor: pointer;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  transition: background-color 300ms linear;
}

:is(#search_submit, #search_input):is(:hover, :focus) {
  background-color: #e0d5be;
}

#search_input::placeholder {
  color: #000000 !important;
  opacity: 1 !important;
  font-style: italic !important;
}

@media (max-width: 991px) {
  #search {
    background: #000;
    position: relative;
    color: #fff;
    line-height: 1;
    border: 2px solid #000;
    z-index: 0;
  }
}

/* #endregion ----------------------------------- search --------------------------------------- */

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

header::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  bottom: 0;
  background: #f3e9d5;
  pointer-events: none;
  width: 100%;
}

@media (min-width: 1200px) {
  header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    background: #f3e9d5 url("../img/banner-deko.png") bottom left 142px no-repeat;
    pointer-events: none;
    width: 100%;
  }
}

@media (min-width: 992px) {
  header::before {
    width: calc(50% + 414px);
  }
}

@media (min-width: 1200px) {
  header::before {
    width: calc(50% + 500px);
  }
}

:is(nav.horizontally, #headerpic)>.row>*:first-child {
  background: #f3e9d5;
}

nav.horizontally>.row>*:first-child>* {
  position: relative;
  z-index: 101;
}

#headerpic>.row>*:first-child>* {
  position: relative;
  z-index: 3;
}

header,
header :is(h1, h2, h3, h4, h5, h6, a) {
  color: #000000;
}

#social-media {
  font-size: 0.875rem;
  padding-top: clamp(30px, 6vw, 62px);
}

@media (min-width: 1200px) {
  #social-media {
    padding-right: 138px;
  }
}

#social-media a {
  text-decoration: underline;
}

#social-media :is(img + img, a.has-image + a.has-image) {
  margin-left: 8px;
}

/* header text */

#header-text :is(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
  line-height: 0.9;
  font-size: clamp(2.375rem, 9vw, 4.5625rem);
  margin-bottom: clamp(15px, 4vw, 25px);
  color: #836221;
}

#header-text :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  font-size: clamp(1.875rem, 7vw, 3.75rem);
  color: #1a1a1a;
  font-style: normal;
  text-transform: none;
}

body:not(.index) #header-text p {
  display: none;
}

#social-media img {
  vertical-align: middle;
}

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

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

#slider {
  height: 300px;
  overflow: hidden;
  position: relative;
}

@media (min-width: 768px) {
  body.index #slider {
    height: 500px;
  }
}

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

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

#headerpic {
  padding: 2px 0 clamp(30px, 6vw, 65px) 0;
  position: relative;
}

@media (max-width: 991px) {
  #headerpic {
    padding-top: clamp(50px, 6vw, 62px);
  }
}

.slider-mask {
  display: none;
}

.slider-wrapper,
.nivo-main-image,
#slider>a>div {
  height: 100% !important;
}

@media (min-width: 1200px) {
  .slider-wrapper {
    max-width: 567px;
    margin-left: auto;
    margin-right: -100px;
  }
}

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

/* #region ----------------------------------- news ------------------------------------ */

#news {
  background: linear-gradient(to top, #f0f0f0, #f0f0f0 60%, rgba(255, 255, 255, 0) 60%);
}

#news>.row {
  padding-bottom: clamp(30px, 10vw, 110px);
}

/* tab */

:is(#news) .tab-img {
  position: relative;
  z-index: 1;
}

:is(#news) .tab {
  font-size: 1rem;
  position: relative;
  z-index: 2;
  background: #f3e9d5;
  padding: clamp(15px, 3vw, 35px) clamp(15px, 3vw, 40px) clamp(15px, 3vw, 25px) clamp(15px, 3vw, 40px);
}

:is(#news) .tab,
:is(#news) .tab :is(h1, h2, h3, h4, h5, h6, a) {
  color: #000000;
}

:is(#news) .tab-img .banner img {
  display: block;
}

@media (min-width: 576px) {
  #news .tab {
    margin-right: -30px;
  }
}

:is(#news) .tab-img .banner {
  position: relative;
}

@media (min-width: 992px) {
  :is(#news) .tab-img .banner {
    position: absolute;
    left: 15px;
    right: 15px;
  }

  #news .tab-img .banner {
    top: 70px;
    bottom: 70px;
  }

  :is(#news) .tab-img .banner img {
    object-fit: cover;
    object-position: 50% 100%;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  :is(#news) .tab {
    display: inline-block;
  }

  #news .tab {
    margin: 100px -30px 0 30px;
  }
}

:is(#news) .tab :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(2rem, 5vw, 2.8125rem);
  text-transform: uppercase;
  margin-bottom: 0;
}

/* tabnews/tabevents */

:is(#news) .tab-container {
  font-size: 1rem;
  border: clamp(4px, 1vw, 10px) solid #333333;
  background-color: #ffffff;
  background-repeat: no-repeat;
  padding: clamp(10px, 5vw, 75px) 30px 30px 0;
  color: #4c4c4c;
}

@media (min-width: 768px) {
  :is(#news) .tab-container {
    margin-left: -115px;
    min-height: 400px;
  }

  #news .tab-container {
    padding-left: 115px;
  }
}

@media (min-width: 992px) {
  #news .tab-container {
    padding-left: 135px;
  }
}

@media (min-width: 1200px) {
  :is(#news) .tab-container {
    margin-left: -215px;
  }

  #news .tab-container {
    padding-left: 235px;
  }
}

:is(#news) .tab_link {
  padding-left: 30px;
}

:is(#news) .tab_link_entry {
  border-bottom: none !important;
  position: relative;
  padding: clamp(20px, 4vw, 30px) 0;
}

#news .tab_link_entry {
  padding-top: calc(100px + clamp(15px, 4vw, 30px));
}

:is(#news) .tab_link_entry+.tab_link_entry {
  border-top: 1px solid rgba(51, 51, 51, 0.35);
}

:is(#news) .tab_link_entry .tab_link_title a {
  font-size: 1.25rem;
  line-height: 1.2;
  display: block;
  color: #333333;
  font-weight: 600;
}

#news .tab_link_entry .tab_date {
  color: #4c4c4c;
}

#news .tab_link_entry .tab_link_title {
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  #news .tab_link_entry .tab_link_title {
    margin-left: 100px;
    margin-bottom: 25px;
  }

  #news .tab_link_entry:not(:has(.tab_date)) .tab_link_title {
    margin-top: -74px;
    margin-bottom: 35px;
  }

  #news .tab_link_entry .tab_date {
    margin-top: -84px;
    margin-left: 100px;
  }
}

:is(#news) .tab_link_entry .tab_link_title a:not(:hover):not(:focus) {
  text-decoration: none;
}

#news .tab_link_entry::before {
  content: "";
  background: #f0f0f0 center / cover no-repeat;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
  display: block;
  overflow: hidden;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  position: absolute;
  top: clamp(20px, 4vw, 30px);
  left: 0;
}

#news .tab_link_entry .tab_preview_picture img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  margin: 0;
}

:is(#news) .tab_link :is(.tab_spacer, .tab_link_mehr) {
  display: none;
}

@media (min-width: 992px) {
  :is(#news) .button-design {
    margin-top: 10px;
  }
}

/* #endregion -------------------------------- news ------------------------------------ */
/* #endregion ----------------------------------- about us -------------------------------------- */

/* #region ------------------------------------- sponsors --------------------------------------- */

#sponsors {
  padding: clamp(30px, 10vw, 100px) 0;
}

#sponsors :is(h1, h2, h3, h4, h5, h6) {
  color: #836221;
  margin-bottom: 5px;
}

/* #region ----------------------------------- deco stripes ------------------------------------- */

:is(#news, #footer, #headerpic)>.row::before,
#events .tab-img::before {
  content: "";
  display: block;
  width: 186px;
  height: 145px;
  position: absolute;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.35) 6%, rgba(255, 255, 255, 0) 6%, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.35) 50%, rgba(0, 0, 0, 0.35) 56%, rgba(255, 255, 255, 0) 56%, rgba(255, 255, 255, 0) 100%);
  background-size: 10px 10px;
  pointer-events: none;
}

@media (max-width: 991px) {

  :is(#news, #footer, #headerpic)>.row::before,
  #events .tab-img::before {
    display: none;
  }
}

#headerpic>.row::before {
  right: -15px;
  bottom: -115px;
}

#news>.row::before {
  left: -125px;
  bottom: 60%;
}

#events .tab-img::before {
  right: 15px;
  top: -50px;
}

#footer>.row::before {
  right: -15px;
  top: -60px;
}

/* #endregion -------------------------------- deco stripes ------------------------------------- */

/* #region ------------------------------------ deco words -------------------------------------- */

footer,
header {
  position: relative;
}

/* #endregion --------------------------------- deco words -------------------------------------- */

/* #region ------------------------------------- resp gaps -------------------------------------- */

:is(#footer-bg, #footer2-bg, #news, #events)>.row {
  row-gap: 30px;
}

#headerpic>.row> :first-child>.row {
  row-gap: clamp(50px, 6vw, 62px);
}

/* #endregion ---------------------------------- resp gaps -------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image) {
  font-family: "Teko", sans-serif;
  display: inline-block;
  color: #000000;
  font-size: 1.25rem;
  font-weight: 500;
  background: #dbbd7b;
  padding: 8px 25px 4px 25px;
  text-decoration: none;
}

#header-text.button-design a:not(.has-image) {
  color: #000000;
  background: #dbbd7b;
  margin-top: clamp(5px, 2vw, 25px);
}

@media (min-width: 1200px) {
  #header-text.button-design a:not(.has-image) {
    padding-left: 28px;
    padding-right: 28px;
  }
}

:is(.button-design, #header-text.button-design) :is(a:not(.has-image):hover, a:not(.has-image):focus) {
  color: #f3e9d5;
  background: #000000;
}

.button-design a:not(.has-image)+a:not(.has-image) {
  margin-left: clamp(10px, 2vw, 30px);
}

/* #endregion ------------------------------------ buttons -------------------------------------- */

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

#content-area {
  text-align: left;
  padding-top: clamp(40px, 6vw, 60px);
  padding-bottom: clamp(40px, 10vw, 100px);
}

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #836221;
  font-weight: 700;
  line-height: 1.1;
  font-family: "Teko", sans-serif;
  margin-bottom: 15px;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.375rem, 5vw, 3.75rem);
  margin-bottom: clamp(15px, 4vw, 25px);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2.125rem, 4.5vw, 3.125rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.6875rem, 3.5vw, 2.375rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.5625rem, 3vw, 2rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.4375rem, 2.5vw, 1.625rem);
}

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */

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

footer {
  font-size: 1rem;
}

#footer-bg,
#footer2-bg {
  color: #000000;
  position: relative;
  z-index: 1;
}

:is(#footer-bg, #footer2-bg)::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
}

@media (min-width: 576px) {
  :is(#footer-bg, #footer2-bg)::after {
    left: clamp(-365px, -19vw, -15px);
  }
}

#footer-bg,
#footer-bg::after {
  background: #f3e9d5;
}

#footer2-bg,
#footer2-bg::after {
  background: #836221;
}

#footer-bg {
  padding-top: clamp(30px, 6vw, 55px);
  padding-bottom: 30px;
}

@media (min-width: 1200px) {
  #footer-bg>.row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-logo.png) no-repeat;
    width: 243px;
    height: 179px;
    bottom: -31px;
    z-index: 0;
    pointer-events: none;
    right: 40px;
    display: block;
  }
}

#footer2-bg {
  padding-top: 20px;
  padding-bottom: 10px;
}

@media (min-width: 992px) {
  :is(#footer-bg, #footer2-bg)>.row>*:last-child {
    padding-right: 60px;
  }
}

:is(#footer-bg, #footer2-bg) :is(h1, h2, h3, h4, h5, h6) {
  color: #000000;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  text-transform: uppercase;
  font-weight: 500;
}

.footer-headline {
  padding-top: clamp(55px, 8vw, 70px);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 48px auto;
}

@media (min-width: 768px) {
  .footer-headline {
    background-position-x: -4px;
  }
}

.contact-headline {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.8 23.65q-.25-6.05-4.45-10.25T24.1 8.95v-3q3.6.1 6.775 1.525Q34.05 8.9 36.45 11.3q2.4 2.4 3.825 5.575Q41.7 20.05 41.8 23.65Zm-8.45 0q-.25-2.5-2-4.225Q26.6 17.7 24.1 17.45v-3q3.75.25 6.375 2.85t2.875 6.35ZM39.75 42q-6.1 0-12.125-3T16.8 31.2Q12 26.4 9 20.375 6 14.35 6 8.25q0-.95.65-1.6Q7.3 6 8.25 6h7q.7 0 1.225.475.525.475.675 1.275l1.35 6.3q.1.7-.025 1.275t-.525.975l-5 5.05q2.8 4.65 6.275 8.1Q22.7 32.9 27.1 35.3l4.75-4.9q.5-.55 1.15-.775.65-.225 1.3-.075l5.95 1.3q.75.15 1.25.75T42 33v6.75q0 .95-.65 1.6-.65.65-1.6.65Zm-28.3-23.4 4.05-4.1L14.35 9H9q0 1.95.6 4.275t1.85 5.325ZM29.9 36.75q2.05.95 4.45 1.55 2.4.6 4.65.7v-5.35l-5.15-1.05ZM11.45 18.6ZM29.9 36.75Z' fill='%231a1a1a'/%3E%3C/svg%3E");
}

.link-headline {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M23.4 36q-4.8-.25-8.1-3.7T12 24q0-5 3.5-8.5T24 12q4.85 0 8.3 3.3 3.45 3.3 3.7 8.15l-3.15-1q-.55-3.2-3-5.325T24 15q-3.75 0-6.375 2.625T15 24q0 3.35 2.125 5.825t5.325 3.025Zm2.4 7.9q-.45.05-.9.075-.45.025-.9.025-4.15 0-7.8-1.575-3.65-1.575-6.35-4.275-2.7-2.7-4.275-6.35Q4 28.15 4 24t1.575-7.8Q7.15 12.55 9.85 9.85q2.7-2.7 6.35-4.275Q19.85 4 24 4t7.8 1.575q3.65 1.575 6.35 4.275 2.7 2.7 4.275 6.35Q44 19.85 44 24q0 .45-.025.9t-.075.9l-2.9-.9V24q0-7.1-4.95-12.05Q31.1 7 24 7q-7.1 0-12.05 4.95Q7 16.9 7 24q0 7.1 4.95 12.05Q16.9 41 24 41h.9ZM41.05 45l-8.55-8.55L30 44l-6-20 20 6-7.55 2.5L45 41.05Z' fill='%231a1a1a'/%3E%3C/svg%3E");
}

:is(#footer-bg, #footer2-bg) a {
  color: #000000;
}

#footer-bg a {
  padding: 2px 6px;
  text-decoration: underline;
  margin: 0 -6px;
}

#footer-bg a:is(:hover, :focus) {
  background: #836221;
  text-decoration: none;
  color: #fff;
}

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

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#vernetzt {
  gap: 5px;
  text-align: left;
  font-size: 0.875rem;
  line-height: 1.3;
  margin: 0;
  font-weight: 400;
  text-decoration: none;
  color: #ececec !important;
}

#vernetzt span {
  display: block;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* #region ------------------------------------- scroll top ------------------------------------- */

#scroll-top-btn {
  display: inline-block;
  background: #f3e9d5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M14.15 30.75 12 28.6l12-12 12 11.95-2.15 2.15L24 20.85Z' fill='%23000000'/%3E%3C/svg%3E") center right 9px / 24px auto no-repeat;
  font-size: 0.875rem;
  padding: 5px 38px 7px 20px;
  text-decoration: none;
  color: #000000;
}

#scroll-top-btn:is(:hover, :focus) {
  background-color: #fff;
}

/* #endregion ------------------------------- scroll top ---------------------------------------- */