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

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

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

a {
  color: #c0151d;
}

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

#content a {
  text-decoration: underline;
}

#content a:is(:hover, :focus) {
  text-decoration: none;
}
b,
strong {
  font-weight: 500;
}

:is(#content-area, #headerpic, #news .tab, #events .tab, #topics, #footer, #contact-topbar) a {
  text-decoration: underline;
}

@media (min-width: 1200px) {
  .row {
    max-width: 1440px;
    width: 100%;
  }
 .rowWide,  #bilderBereich .rowWide .template-page > .row,   #bilderBereich .rowWide .template-page .row div .btgrid > .row.row-1{
  max-width: 1920px;
    width: 100%;
    left: 0;
    right: 0;
    margin: auto;
  }

}

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #08b81f !important;
}

#overflow {
  overflow: clip;
  position: relative;
}
/* #region --------------------------------------- logo ----------------------------------------- */

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

    padding: 0;
  }
  .is-sticky #logo img {
    max-width: 50%;
  }

  #logo {
position: absolute;
    top: -40px;
    background-color: #fff;
    padding: 18px 35px 5px 35px;
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
    display: block;
    transition: all 300ms linear;
    max-width: 360px;
    margin: auto 11% auto 0;
    max-width: 330px;
  }
  .is-sticky #logo {
    padding: 2px 20px;
    background-color: #fff;
  }
}

@media (max-width: 991px) {
  #logo {
    padding-top: 20px;
  }
}

#logo img {
  display: block;
}

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

/* #endregion ----------------------------------- logo ------------------------------------------ */
/* -------------------------------------------- @nav1 Navigation ------------------------------------------- */

/* --------------------------------------- navigation --------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  #menu {
    padding: 10px 0;
    position: static !important;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    position: relative;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
  }

  #burgerButton:before,
  #burgerButton:after,
  #burgerButtonInner {
    background-color: #33316b;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 2px;
    -webkit-transition:
      transform 200ms linear,
      opacity 200ms linear;
    -moz-transition:
      transform 200ms linear,
      opacity 200ms linear;
    -ms-transition:
      transform 200ms linear,
      opacity 200ms linear;
    -o-transition:
      transform 200ms linear,
      opacity 200ms linear;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

  #burgerButton[aria-expanded="true"] #burgerButtonInner {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
  }

  #burgerButton[aria-expanded="true"]:before {
    opacity: 0;
  }

  #burgerButton[aria-expanded="true"]:after {
    -webkit-transform: rotate(45deg) translate(-4px, -6px);
    transform: rotate(45deg) translate(-4px, -6px);
  }

  #burgerButtonInner {
    top: 10px;
  }

  #burgerButton:before {
    top: 18px;
  }

  #burgerButton:after {
    top: 26px;
  }

  #burgerButton:before,
  #burgerButton:after {
    content: "";
    display: block;
  }

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

  .navbar-collapse {
    top: 0;
    background: #33316b;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
    -webkit-transition:
      left 300ms linear,
      opacity 300ms linear;
    -moz-transition:
      left 300ms linear,
      opacity 300ms linear;
    -ms-transition:
      left 300ms linear,
      opacity 300ms linear;
    -o-transition:
      left 300ms linear,
      opacity 300ms linear;
    transition:
      left 300ms linear,
      opacity 300ms linear;
  }

  .navbar-collapse.collapse.in {
    left: 0;
    opacity: 1;
    pointer-events: auto;
  }

  .navbar-header {
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    background-color: #ffffff;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
    -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  .navbar-collapse.in:after {
    content: "";
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    display: block;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.5);
  }
}

@media (min-width: 575px) and (max-width: 991px) {
  .navbar-collapse {
    width: 60%;
  }

  .navbar-collapse.collapse.in:after {
    width: 40%;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  #menu {
    background-color: #33316b;
    padding: 13px 0;
  }

  .is-sticky #menu {
    -webkit-box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 40px 0 rgba(0, 0, 0, 0.15);
    left: 0;
    right: 0;
    margin: auto;
  }

  nav.horizontally .navbar-nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: end !important;
    -ms-flex-pack: end !important;
    justify-content: flex-end !important;
    -webkit-box-align: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    flex-wrap: wrap;
  }

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

  nav.horizontally .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav.horizontally .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav > li,
  nav.horizontally .navbar-nav > li > .dropdown-menu > li {
    position: relative;
  }

  .navbar-default .navbar-nav li[class*="toplevel"] > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"] > ul {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    -webkit-transition: opacity 300ms linear;
    -moz-transition: opacity 300ms linear;
    -ms-transition: opacity 300ms linear;
    -o-transition: opacity 300ms linear;
    transition: opacity 300ms linear;
  }

  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 ---------------------------------------------- */

.navbar-default .navbar-nav > li > a {
  color: #ffffff;
  font-weight: 400;
  text-align: left;
  padding: 15px 35px 15px 15px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    border-bottom: 1px solid rgba(68, 68, 68, 0.2);
  }
  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) {
  .navbar-default .navbar-nav > li > a {
    padding: 16px 5px 16px 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    display: block;
  }
}

/* -------------------------------------------- toplevel-over ------------------------------------------- */

.navbar-nav > li:hover > a,
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > li.open > a,
.navbar-nav > li.open > a:hover,
.navbar-nav > li.open > a:focus,
.navbar-nav > li[class$="_over"] > a,
.navbar-nav > li[class$="_over"] > a:hover,
.navbar-nav > li[class$="_over"] > a:focus {
  color: #333333;
  background-color: #e59e04;
}

.navbar-nav > li:focus-within > a {
  color: #333333;
  background-color: #e59e04;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #ffffff;
  box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.12);
  -webkit-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.12);
  -moz-box-shadow: 0px 10px 20px 0px rgba(0, 0, 0, 0.12);
}

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    padding-left: 35px;
    padding-right: 15px;
  }
  nav.horizontally a:is([class*="thirdlevel"]) {
    padding-left: 40px;
  }
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
  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) {
  background: #e59e04;
  color: #333333;
}

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

header {
  position: relative;
  z-index: 101;
}

header::after,
header::before {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  top: 0;
}

header::after {
  right: 0;
  bottom: 288px;
  left: calc(50% + 70px);
  background: #f4e7c5;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom-left-radius: 150px;
  z-index: 1;
}

@media (min-width: 992px) {
  header::after {
    left: calc(50% - -135px);
  }
}

body:not(.index) header::after {
  bottom: 65px;
}

@media (min-width: 992px) {
  #headerpic::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 810px;
    height: 506px;
    background: url("../img/muster-rechts.png") center right / 100% auto no-repeat;
  }
  #headerpic::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 810px;
    height: 506px;
    background: url("../img/muster-links.png") center left / 100% auto no-repeat;
  }
}

#headerpic {
  overflow: clip;
  position: relative;
}
#headerpic > .row {
  background-color: #fff;
  height: 100%;
  max-width: 1410px;
  position: relative;
}

/* header text */

#header-text,
#headerTextaside {
  padding-bottom: clamp(30px, 5vw, 82px);
  padding-top: clamp(30px, 10vw, 91px);
  hyphens: auto;
}

@media (min-width: 1200px) {
  #header-text,
  #headerTextaside {
    padding-bottom: clamp(30px, 5vw, 82px);
    padding-top: clamp(30px, 10vw, 91px);
  }
}
@media (min-width: 1200px) {
  #header-text::before {
    content: "";
    position: absolute;
    background: url(../img/deko-orange.png) no-repeat;
    width: 1135px;
    height: 336px;
    top: -2px;
    z-index: 0;
    pointer-events: none;
    left: -80px;
    display: block;
  }
}

@media (min-width: 576px) {
  .header-tab > .template-page {
    max-width: 370px;
  }
}

@media (min-width: 992px) {
  body:not(.index) #header-text {
    margin-top: 40px;
  }
}

.header-tab :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.875rem, 5vw, 3.125rem);
  margin-bottom: clamp(20px, 4vw, 30px);
  line-height: 1.15;
  font-family: "Merriweather", serif;
  color: #c0151d;
  font-weight: 700;
  hyphens: auto;
}
.header-tab :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  font-size: clamp(1.25rem, 5vw, 2.5rem);
  font-style: normal;
}

@media (min-width: 768px) {
  .header-tab h2 {
    margin-right: -40px;
    width: calc(100% + 40px);
  }
}

@media (min-width: 992px) {
  .header-tab h2 {
    margin-right: -80px;
    width: calc(100% + 80px);
  }
}

.header-tab {
  z-index: 3;
  position: relative;
  color: #333333;
  font-size: 1.125rem;
  position: relative;
}
.header-tab :is(b, strong) {
  font-weight: 600;
}

#headerTextaside .headerZitat {
  color: #33316b;
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: clamp(60px, 9vw, 140px);
  font-weight: 700;
  margin-top: 20px;
}
@media (max-width: 767px) {
  #headerTextaside .headerZitat {
    text-align: left;
  }
}

#headerTextaside .header-tab .button-design {
  margin-top: 30px;
}
/* #endregion ----------------------------------- header ---------------------------------------- */

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

.button-design a {
  display: inline-block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  background: #c0151d;
  padding: 9px 50px 9px 20px;
  border-radius: 30px;
  position: relative;
  text-decoration: none !important;
}

.button-design a::after {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  width: 34px;
  background: rgba(0, 0, 0, 0.2) url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M27 34.85q-.45-.45-.45-1.075t.4-1.025l7.35-7.35H9.5q-.65 0-1.075-.425Q8 24.55 8 23.9q0-.65.425-1.075Q8.85 22.4 9.5 22.4h24.8L26.9 15q-.45-.45-.425-1.05.025-.6.475-1.05.45-.4 1.075-.4t1.025.4L39 22.85q.25.25.35.5.1.25.1.55 0 .3-.1.55-.1.25-.35.5l-9.9 9.9q-.45.45-1.05.45-.6 0-1.05-.45Z' fill='%23fff'/%3E%3C/svg%3E") center / 24px auto no-repeat;
  border-radius: 50%;
  transition: background 300ms linear;
}

.button-design a:is(:hover, :focus) {
  color: #1a1a1a;
  background-color: #e59e04;
}

.button-design a:is(:hover, :focus)::after {
  background-color: #33316b;
}

.button-design a + a {
  margin-left: 10px;
}

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

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

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

#content {
  position: relative;
}

@media (min-width: 1200px) {
  #bilderBereich > .row::before {
    content: "";
    position: absolute;
    background: url(../img/deko-orange-2.png) no-repeat;
    width: 821px;
    height: 260px;
    bottom: -250px;
    z-index: 0;
    pointer-events: none;
    right: 231px;
    display: block;
  }
}

#bilderBereich {
  position: relative;
  background-color: #f4e7c5;
 padding: 30px 0px;
  z-index: 2;

  
}

#bilderBereich > .row {
   max-width: 1890px;
   left:0;
   right:0;
   margin:auto;
     z-index: 2;
}


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

.headline-border :is(h1, h2, h3, h4, h5, h6) {
  padding-left: clamp(20px, 3vw, 30px);
  position: relative;
}

.headline-border :is(h1, h2, h3, h4, h5, h6)::before {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  bottom: clamp(7px, 1vw, 11px);
  left: 0;
  width: 8px;
  background: #e59e04;
}

.headline-border :is(h1, h2, h3, h4, h5, h6)::before {
  top: clamp(7px, 1vw, 11px);
}

.headline-border :is(h1, h2, h3, h4, h5, h6)::before {
  top: clamp(0px, 1vw, 2px);
  bottom: clamp(0px, 1vw, 3px);
}

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

h1,
.h1,
.legacy_h1,
:is(.tab-content, .tab-headline) h2 {
  font-size: clamp(2.1875rem, 3.5vw, 2.5rem);
  margin-bottom: clamp(20px, 4vw, 30px);
}

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

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

h4,
.h4,
.legacy_h4 {
  font-size: clamp(1.5rem, 3.5vw, 1.75rem);
}

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

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

/* #endregion ---------------------------------- h1 - h6, newslink ------------------------------ */
/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #33316b;
}

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

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #ffffff;
  text-decoration: underline;
}

#innerfooter li + li::before {
  content: "";
  margin: 0 6px;
}

@media (min-width: 992px) {
  #innerfooter li + li::before {
    margin: 0 15px;
  }
}

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li + li::before {
    display: none;
  }
}

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

#vernetzt {
  gap: 12px;
  text-align: right;
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 400;
}
#vernetzt :is(b, strong) {
  font-weight: 600;
}

#vernetzt span span {
  display: block;
}

/* --------------------------------------------- kontrast -------------------------------------------- */

.contrast_light #burgerButton::before,
.contrast_light #burgerButton::after,
.contrast_light #burgerButtonInner {
  background-color: #000 !important;
}

.contrast_light .button-design {
  border: solid 1px #000 !important;
}

.contrast_dark #burgerButton::before,
.contrast_dark #burgerButton::after,
.contrast_dark #burgerButtonInner {
  background-color: #fff !important;
}
.contrast_dark .dropdown-toggle-button {
  background-color: #000 !important;
}

.contrast_dark .button-design {
  border: solid 1px #fff !important;
}
