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

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

body {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  color: #444444;
  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);
  position: relative;
  padding-bottom: clamp(200px, 40vw, 300px);
}

body::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  height: clamp(300px, 50vw, 500px);
  background-position:
    top left,
    center;
  background-color: #336667;
  background-size:
    100% clamp(30px, 10vw, 140px),
    cover;
  background-attachment: scroll, fixed;
  background-repeat: no-repeat;
}

a {
  color: #336667;
}

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

b,
strong {
  font-weight: 600;
}

@media (min-width: 1200px) {
  .row {
    width: 100%;
    max-width: 1430px;
  }
}

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

/* #region --------------------------------------- logo ----------------------------------------- */
#logoBereich {
  padding: 9px 0 0 0;
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

@media (min-width: 992px) {
  #logo {
    display: flex;
    align-items: center;
    align-content: center;
    gap: 5px;
    text-decoration: none;
  }
}

#logo .logoTxt {
  line-height: 1.1;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #444444;
  font-weight: 400;
}

#logo .logoTxt :is(b, strong) {
  color: #336667;
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}
/* #endregion ----------------------------------- logo ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    padding: 10px 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: #336667;
    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: #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: 7px;
    right: 0;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 5px;
    right: 0;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    position: sticky;
    top: 0;
    z-index: 1010;
    padding: 7px 0 4px 0;
    background-color: #ffffff;
    box-shadow: -1px 9px 10px 0px rgba(0, 0, 0, 0.08);
    -webkit-box-shadow: -1px 9px 10px 0px rgba(0, 0, 0, 0.08);
    -moz-box-shadow: -1px 9px 10px 0px rgba(0, 0, 0, 0.08);
  }

  nav.horizontally > .row {
    border-top: solid 1px rgba(51, 102, 103, 0.5);
    padding-top: 12px;
  }

  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;
    margin-top: 4px;
  }

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

nav.horizontally a[class*="toplevel"] {
  color: #444444;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
  padding: 12px 15px 12px 18px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"].dropdown-toggle {
    padding-right: 32px;
  }

  nav.horizontally a[class*="toplevel"] {
    font-size: 1rem;
    padding: 12px 15px 12px 14px;
  }

  nav.horizontally li[class*="toplevel"] + li {
    margin-top: 4px;
  }
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-left: clamp(5px, 0.4vw, 15px);
  }

  nav.horizontally a[class*="toplevel"] {
    padding-right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
  }

  /* Fix, damit man an das Subnav kommt, wenn MP umgebrochen sind */
  nav.horizontally li[class*="toplevel"].dropdownpr > a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: -60px;
    right: -60px;
    height: 0;
    transform: translateY(100%);
    z-index: 20;
  }
}

nav.horizontally a[class*="toplevel"]::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: calc(50% - 6px);
  width: 13px;
  height: 13px;
  background: #336667;
  pointer-events: none;
  transition:
    background 300ms linear,
    height 300ms linear;
}
@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"]::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    top: calc(50% - 6px);
    width: 8px;
    height: 8px;
    background: #336667;
    pointer-events: none;
    transition:
      background 300ms linear,
      height 300ms linear;
  }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  background: #336667;
  height: calc(50% + 6px);
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
  nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
  nav.horizontally li[class*="toplevel"].open > a::after,
  nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
  nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
  nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
    height: calc(50% + 11px);
  }

  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 {
    height: 200%;
  }
}

/* -------------------------------------- secondlevel + thirdlevel dropdown-box -------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu {
  background: #336667;
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background: #336667;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    padding: 10px;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu {
    left: 58%;
    -moz-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
  }

  .navbar-default .navbar-nav > li:hover > .dropdown-menu::after {
    top: 0;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -30px;
    margin-left: 10px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 10px;
    left: 0;
    right: 0;
    top: -10px;
  }
}

/* --------------------------------------------- secondlevel + thirdlevel -------------------------------------------- */

.navbar-default .navbar-nav > li > .dropdown-menu > li > a,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
  color: #ffffff;
  font-weight: 400;
  text-align: left;
  padding: 8px 25px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    padding: 13px 25px;
  }
}

/* ------------------------------------------ secondlevel + thirdlevel over ------------------------------------------ */

.navbar-nav > li > .dropdown-menu > li:hover > a,
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus {
  background: rgba(255, 255, 255, 0.4);
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  background: rgba(255, 255, 255, 0.4);
}

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

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

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

#headerpic .nivo-controlNav {
  bottom: clamp(20px, 5vw, 40px);
}

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

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

  #headerpic .nivo-controlNav {
    bottom: 54px;
  }

  body.index #headerpic .nivo-controlNav {
    bottom: 104px;
  }
}

@media (min-width: 1200px) {
  body.index #slider {
    max-height: 790px;
  }

  #headerpic .nivo-controlNav {
    bottom: 200px;
  }

  body.index #headerpic .nivo-controlNav {
    bottom: 245px;
  }
}

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

.slider-mask {
  display: block;
  background: linear-gradient(-4deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) calc(50% + 1px)) bottom left / 100% clamp(30px, 10vw, 140px) no-repeat;
}

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

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

#content-box {
  background: #ffffff;
}

#content-box > * {
  padding: 0;
}

@media (min-width: 992px) {
  #content-box {
    margin-top: -30px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  }

  #background {
    position: relative;
    z-index: 60;
    background-repeat: no-repeat;
    background-position:
      top 560px left,
      top 100px right;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='525px'%3E%3Cpath fill-rule='evenodd' fill='rgb(228, 242, 240)' d='M454.1000,262.492 L0.000,524.992 L0.000,-0.008 L454.1000,262.492 Z'/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='455px' height='526px'%3E%3Cpath fill-rule='evenodd' fill='rgb(228, 242, 240)' d='M-0.000,263.040 L454.1000,0.540 L454.1000,525.539 L-0.000,263.040 Z'/%3E%3C/svg%3E");
  }
}

@media (min-width: 1200px) {
  #content-box {
    margin-top: -175px;
  }
}

#content-box > * > *:not(.bf-controls-position):not(#innerfooter) {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 576px) {
  #content-box > * > *:not(.bf-controls-position):not(#innerfooter) {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (min-width: 992px) {
  #content-box > * > *:not(.bf-controls-position):not(#innerfooter) {
    padding-left: clamp(15px, 8vw, 135px);
    padding-right: clamp(15px, 8vw, 135px);
  }
}

#content > *:not(.bf-controls-position) {
  padding-top: clamp(30px, 8vw, 58px);
  padding-bottom: clamp(30px, 8vw, 68px);
}

#content #content-area {
  padding-top: clamp(30px, 10vw, 38px);
}

#content > *:not(.bf-controls-position):not(:last-child) {
  border-width: 0 0 1px 0;
  border-style: solid;
  border-image: linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.05)) 1;
}

#content :is(#content-area, #news) {
  border-image: linear-gradient(to right, #e4f2f0, #e4f2f0) 1;
}

#content-area {
  text-align: left;
}

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

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

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

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.5rem, 2.5vw, 1.875rem);
}

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

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

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

/* #region ------------------------------------ bf controls ------------------------------------- */

.bf-controls-position {
  color: #444444;
  position: fixed;
  z-index: 30;
  left: 0;
  bottom: 0;
  right: 0;
}

.bf-controls {
  column-gap: 30px;
}

@media (max-width: 991px) {
  .bf-controls-position {
    background: #e4f2f0;
    padding: 0 15px;
    border-top: 2px solid #444444;
  }
}

@media (min-width: 992px) {
  .bf-controls-position {
    position: absolute;
    z-index: 51;
    left: 0;
    right: unset;
    top: 0;
    width: 60px;
  }

  .bf-controls {
    position: sticky;
    top: 150px;
    left: 0;
    right: 0;
    gap: 4px;
  }
}

/* search + contact buttons */

#search-button,
#contact-tab summary {
  width: 60px;
  display: block;
  position: relative;
  height: clamp(54px, 3vw, 60px);
}

#search-button {
  background: #336667 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='%23fff'/%3E%3C/svg%3E") center / 28px auto no-repeat;
}

#contact-tab summary {
  cursor: pointer;
  background: #e4f2f0 url("data:image/svg+xml,%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='%23336667'/%3E%3C/svg%3E") center / 28px auto no-repeat;
  font-size: 0 !important;
  list-style: none;
}

:is(#search-button, #contact-tab summary)::after {
  content: "";
  display: block;
  position: absolute;
  top: 4px;
  right: 4px;
  bottom: 4px;
  left: 4px;
  border: 2px solid #336667;
  pointer-events: none;
  opacity: 0;
  transition: opacity 300ms linear;
}

@media (min-width: 992px) {
  :is(#search-button, #contact-tab summary)::after {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
  }
}

#contact-tab:is(:hover, :focus) summary::after {
  opacity: 1;
}

#search-button:is(:hover, :focus)::after,
#contact-tab[open] summary::after {
  opacity: 1;
}

/* contact tab */

#contact-tab {
  width: 60px;
}

#contact-content {
  position: fixed;
  left: 15px;
  right: 15px;
  bottom: 70px;
  max-width: unset;
  background: #336667;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
  color: #fff;
}

@media (max-width: 991px) {
  #contact-content {
    max-height: calc(100vh - 150px);
    overflow-y: auto;
  }

  #contact-content::before {
    content: "";
    display: block;
    position: fixed;
    z-index: -1;
    top: 0;
    right: 0;
    bottom: clamp(54px, 3vw, 60px);
    left: 0;
    background: rgba(0, 0, 0, 0.2);
  }
}

@media (min-width: 992px) {
  #contact-content {
    position: absolute;
    left: calc(100% + 15px);
    right: unset;
    bottom: unset;
    top: 6px;
    width: 332px;
  }

  #contact-content::after {
    content: "";
    display: block;
    position: absolute;
    top: 9px;
    left: -22px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 22px 12px 0;
    border-color: transparent #336667 transparent transparent;
  }
}

#contact-content > * {
  padding: clamp(24px, 3vw, 30px) 24px;
}

@media (min-width: 768px) {
  #contact-content > * {
    width: 50%;
    flex-grow: 1;
  }
}

:is(.contact-tab-1, .contact-tab-2) :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.contact-tab-1 :is(h1, h2, h3, h4, h5, h6, a) {
  color: inherit;
}

.contact-tab-1 a {
  text-decoration: underline;
}

/* contrast + font-size */

#style {
  padding: 10px 8px;
  width: 60px;
  line-height: 28px;
  font-size: 14px;
  writing-mode: sideways-lr;
}

#style {
  background: #a1c4c0;
}

:is(#contrast_style, #style) h2 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  width: unset;
}

:is(#contrast_style, #style) button {
  font-size: 15px;
  line-height: 15px;
  color: #336667;
  font-weight: 600;
  width: 20px;
  height: 20px;
  display: inline-block;
  border: none;
  padding: 0;
  margin: 1px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 1);
  position: relative;
  transition: border-radius 300ms linear;
}

#contrast_style button {
  font-size: 0;
  left: -5px;
}

#style button {
  transform: rotate(90deg);
}

:is(#contrast_style, #style) button:is(:hover, :focus) {
  border-radius: 0;
}

/* #endregion --------------------------------- bf controls ------------------------------------- */

/* #region ------------------------------------ quick links ------------------------------------- */

#quick-links {
  font-size: 1rem;
  padding-bottom: clamp(30px, 10vw, 58px);
}

@media (min-width: 992px) {
  #content-box #quick-links {
    padding-top: 0;
  }
}

#quick-links > .row {
  row-gap: 15px;
}

@media (min-width: 576px) {
  #quick-links > .row {
    row-gap: 30px;
  }
}

@media (min-width: 1200px) {
  #quick-links > .row > * {
    flex-shrink: 1;
  }
}

.quick-link {
  padding: 35px 20px 70px 20px;
  background: #e4f2f0 linear-gradient(to top, #234c4d, #387172 100%) top center no-repeat;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 100%;
  min-height: 100%;
  transition: background 300ms linear;
}

.quick-link::before {
  content: "";
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: #e4f2f0;
  opacity: 0;
  transition: opacity 300ms linear;
  z-index: -1;
}

@media (min-width: 992px) {
  .quick-link {
    margin-top: -50px;
    height: calc(100% + 18px);
    min-height: calc(100% + 50px);
  }
}

.quick-link:is(:hover, :focus-within)::before {
  opacity: 1;
}

.quick-link * {
  pointer-events: none;
}

.quick-link a {
  pointer-events: auto;
}

.quick-link::after {
  content: "";
  pointer-events: none;
  display: block;
  width: 30px;
  height: 30px;
  position: absolute;
  bottom: 24px;
  right: 20px;
  transition: background 300ms linear;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12.961' viewBox='0 0 13 12.961'%3E%3Cpath d='M6.992-12.225l1.23-1.015a30.816,30.816,0,0,0,1.854,2.694,17.239,17.239,0,0,0,1.854,2.04,22.812,22.812,0,0,0,2.05,1.688V-6.7a19.828,19.828,0,0,0-2.05,1.679,18.329,18.329,0,0,0-1.854,2.04,28.346,28.346,0,0,0-1.854,2.7L6.992-1.294A24.77,24.77,0,0,1,8.6-3.51a17.506,17.506,0,0,1,1.61-1.727,10.158,10.158,0,0,1,1.562-1.21,5.249,5.249,0,0,1,1.464-.644v.664a5.249,5.249,0,0,1-1.464-.644,10.158,10.158,0,0,1-1.562-1.21A17.506,17.506,0,0,1,8.6-10.01,24.77,24.77,0,0,1,6.992-12.225ZM.98-7.54H7.909q1.23,0,2.157.059t1.649.137l1.171.586-1.171.586q-.722.078-1.649.137t-2.157.059H.98Z' transform='translate(-0.98 13.24)' fill='%23fff'/%3E%3C/svg%3E%0A") center / 28px auto no-repeat;
}
.quick-link:is(:hover, :focus)::after {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='12.961' viewBox='0 0 13 12.961'%3E%3Cpath d='M6.992-12.225l1.23-1.015a30.816,30.816,0,0,0,1.854,2.694,17.239,17.239,0,0,0,1.854,2.04,22.812,22.812,0,0,0,2.05,1.688V-6.7a19.828,19.828,0,0,0-2.05,1.679,18.329,18.329,0,0,0-1.854,2.04,28.346,28.346,0,0,0-1.854,2.7L6.992-1.294A24.77,24.77,0,0,1,8.6-3.51a17.506,17.506,0,0,1,1.61-1.727,10.158,10.158,0,0,1,1.562-1.21,5.249,5.249,0,0,1,1.464-.644v.664a5.249,5.249,0,0,1-1.464-.644,10.158,10.158,0,0,1-1.562-1.21A17.506,17.506,0,0,1,8.6-10.01,24.77,24.77,0,0,1,6.992-12.225ZM.98-7.54H7.909q1.23,0,2.157.059t1.649.137l1.171.586-1.171.586q-.722.078-1.649.137t-2.157.059H.98Z' transform='translate(-0.98 13.24)' fill='%23444444'/%3E%3C/svg%3E%0A") center / 28px auto no-repeat;
}
.quick-link,
.quick-link :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
  transition: all 300ms linear;
}

.quick-link:is(:hover, :focus) {
  color: #444444;
}
.quick-link:is(:hover, :focus) :is(h1, h2, h3, h4, h5, h6, a) {
  color: #336667;
}

.quick-link a {
  text-decoration: underline;
}

.quick-link :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
  margin-bottom: 4px;
}

.quick-link-text :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.375rem, 4vw, 2.5rem);
  margin-bottom: 28px;
  text-transform: uppercase;
}

.quick-link .template-page :is(.row, .row > *) {
  position: static;
}

.quick-link :is(img, a.has-image) {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.quick-link img {
  z-index: -1;
  opacity: 0.1;
  transition: opacity 300ms linear;
}

.quick-link:is(:hover, :focus) img {
  opacity: 0;
}

/* #endregion ---------------------------------- quick links ------------------------------------ */

/* #region ----------------------------------- news + events ------------------------------------ */

#news {
  background: #e4f2f0;
}

:is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
  color: rgba(51, 102, 103, 0.5);
  text-transform: uppercase;
  font-size: clamp(1.875rem, 7vw, 3.4375rem);
  line-height: 1;
  -moz-hyphens: none;
  hyphens: auto;
}

@media (min-width: 992px) {
  :is(#events, #news) .tab-headline :is(h1, h2, h3, h4, h5, h6) {
    margin-bottom: 0;
  }
}

:is(#events, #news) .tab-content a {
  display: inline-block;
  padding-right: 25px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 1.5625rem);
  line-height: 1.2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13.488' viewBox='0 0 13 13.488'%3E%3Cpath d='M5.863-11.8,8.342-13.52Q9.279-12,10.177-10.778A18.4,18.4,0,0,0,12.041-8.6,18.238,18.238,0,0,0,14.1-6.844v.117a17.676,17.676,0,0,0-2.059,1.767,19.51,19.51,0,0,0-1.864,2.176q-.9,1.21-1.835,2.752L5.863-1.75a14.8,14.8,0,0,1,1.747-2.2A12.538,12.538,0,0,1,9.454-5.517,11.4,11.4,0,0,1,11.27-6.552a9.33,9.33,0,0,1,1.62-.566v.664a9.8,9.8,0,0,1-1.62-.556A10.832,10.832,0,0,1,9.454-8.035,12.243,12.243,0,0,1,7.61-9.616,15.778,15.778,0,0,1,5.863-11.8ZM1.1-8.445H5.687a23.7,23.7,0,0,1,3.035.185,24.8,24.8,0,0,1,2.645.478l1.64,1-1.64,1a24.794,24.794,0,0,1-2.645.478,23.7,23.7,0,0,1-3.035.185H1.1Z' transform='translate(-1.1 13.52)' fill='%23336667'/%3E%3C/svg%3E%0A") center right / 16px auto no-repeat;
}

@media (max-width: 991px) {
  :is(#events, #news) :is(.tab-headline + .tab-content, .tab-content + .tab-headline) {
    margin-top: 20px;
  }
}

/* tabnews/tabevents */

:is(#news, #events) .tab_link_entries {
  display: grid;
  gap: 30px 30px;
  margin-top: clamp(15px, 4vw, 30px);
}

@media (min-width: 576px) {
  :is(#news, #events) .tab_link_entries {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 992px) {
  :is(#news, #events) .tab_link_entries {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1200px) {
  #news .tab_link_entries {
    padding-left: clamp(10px, 10vw, 120px);
  }

  #events .tab_link_entries {
    padding-right: clamp(10px, 10vw, 120px);
  }
}

#news .tab_link_mehr {
  display: none;
}
:is(#news, #events) .tab_link_entry {
  font-size: 1rem;
  color: #ffffff;
  border-bottom: none !important;
  position: relative;
  z-index: 1;
}

@media (min-width: 576px) and (max-width: 991px) {
  :is(#news, #events) .tab_link_entry:nth-child(3) {
    grid-column-start: 1;
    grid-column-end: 3;
  }
}

#news .tab_link_entry {
  margin-left: 15px;
  margin-top: 114px;
  background: #336667;
  padding: 80px clamp(15px, 4vw, 30px) clamp(15px, 4vw, 26px) clamp(15px, 4vw, 30px);
}

#news .tab_link_entry::after {
  content: "";
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  top: -118px;
  right: 15px;
  height: 114px;
  border: 4px solid #b3d1cc;
  transition: border 300ms linear;
  border-bottom: unset;
}

#news .tab_link_entry:is(:hover, :focus-within)::after {
  border-color: #336667;
}

:is(#news, #events) .tab_link_entry a {
  color: #ffffff;
}

:is(#news, #events) .tab_link_mandat a {
  text-decoration: none;
  display: block;
  margin: 10px 0;
}

#events .tab_link_entry .tab_link_date {
  top: 30px;
}

:is(#news, #events) .tab_link_entry .tab_link_title a {
  font-size: clamp(1.25rem, 3vw, 1.375rem);
  margin-bottom: 4px;
  font-weight: 600;
  line-height: 1.2;
  display: block;
}

#news .tab_link_entry::before {
  content: "";
  background: center / cover no-repeat;
  box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.15);
}

:is(#news, #events) .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
  display: block;
  overflow: hidden;
  position: absolute;
}

#news .tab_link_entry .tab_preview_picture,
#news .tab_link_entry::before {
  height: 150px;
  top: -95px;
  left: -15px;
  width: calc(100% - 18px);
}

#events .tab_link_entry .tab_preview_picture {
  height: 100%;
  opacity: 0.1;
  top: 0;
  left: 0;
  width: 100%;
}

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

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

/* #endregion -------------------------------- news + events ------------------------------------ */

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

footer {
  color: #ffffff;
  background: #004c7e;
  position: relative;
  z-index: 1;
}

footer :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.125rem;
  color: #ffffff;
  margin-bottom: 0;
}

footer a {
  color: #ffffff;
}

#innerfooter {
  padding: 20px;
  background: #336667;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter ul a {
  color: #ffffff;
}

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

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

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

@media (max-width: 575px) {
  #innerfooter ul {
    line-height: 2;
  }
}
/* #endregion ------------------------------------ footer --------------------------------------- */

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

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

#innerfooter #vernetzt span span {
  display: block;
}

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

/* #region -------------------------------------- contrast -------------------------------------- */

.contrast_dark :is(.quick-link, #footer) {
  background: #000 !important;
}

.contrast_light :is(.quick-link, #footer) {
  background: #fff !important;
}

:is(.contrast_dark, .contrast_light) #news .tab_link_entry .tab_link_title a::before {
  display: none !important;
}

/* #endregion ----------------------------------- contrast -------------------------------------- */
