@import url("https://fonts.verwaltungsportal.de/import/?family=Nunito:400,400i,700,700i%7COswald:700");

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

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

a {
  color: #005f85;
}

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

#content a,
b,
strong {
  font-weight: 700;
}

@media (min-width: 1200px) {

  .row,
  #headerpic-overlay {
    width: 100%;
    max-width: 1600px;
  }

  #quick-access {
    max-width: 1570px;
  }
}

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

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

#topbar {
  font-size: 1rem;
  padding: 12px 0;
  background: #e5eff3;
  border-bottom: 4px solid #ffffff;
  position: sticky;
  top: 0;
  z-index: 101;
}

@media (max-width: 991px) {
  #topbar {
    position: static;
  }
}

#topbar .controls-col {
  column-gap: 30px;
}

#topbar .controls-col {
  transition: padding 200ms linear;
}

body:has(.is-sticky, #burgerButton[aria-expanded="true"]) #topbar .controls-col {
  padding-right: 130px;
}

/* style + contrast */

#style,
#contrast_style {
  column-gap: 10px;
}

:is(#style, #contrast_style) h2 {
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  color: inherit;
  margin: 0 5px 0 0;
}

:is(#style, #contrast_style) button {
  width: 35px;
  height: 35px;
  padding: 0;
  border: 2px solid #333333;
  background: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
  transition: border 300ms linear;
  position: relative;
  line-height: 1;
}

:is(#style, #contrast_style) button::after {
  content: "";
  display: block;
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  left: 3px;
  border: 2px solid #8d8d8d;
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
  border-color: #005f85;
}

/* contrast */

#contrast_style button::after {
  background: linear-gradient(45deg, #333333, #333333 50%, #ffffff 50%);
}

#contrast_style button:nth-of-type(2)::after {
  transform: scale(-1);
}

#contrast_style button:nth-of-type(3)::after {
  background: #ea5b0c;
  border: none;
}

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

#logo {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 30px;
  text-decoration: none;
}

#logo .logoImg img {
  display: block;
}

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

  #logo .logoImg img {
    max-width: 80px;
    width: 100%;
  }
}

#logo .logoTxt {
  line-height: 1.1;
  font-size: clamp(1.125rem, 5vw, 1.875rem);
  color: #333333;
  font-weight: 400;
}

#logo .logoTxt :is(b, strong) {
  color: #005f85;
  display: block;
  font-weight: 700;
  font-size: clamp(1.5rem, 2vw, 2.25rem);
  font-family: "Oswald", sans-serif;
}

@media (min-width: 1200px) {
  #logo {
    position: absolute;
    top: -51px;
    transition: top 300ms linear;
  }

  .is-sticky #logo {
    top: -40px;
  }

  #logo .logoImg img {
    max-width: 100%;
    transition: 300ms max-width linear;
    z-index: 1004;
    position: relative;
  }

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

  #logo .logoTxt {
    top: -50px;
    position: relative;
    transition: 300ms linear top, 300ms linear left;
    left: 0px;
  }

  .is-sticky #logo .logoTxt {
    top: -20px;
    left: -60px;
  }
}

/* -------------------------------------------- @nav2 Navigation ------------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  #menu {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    padding: 8px 0 0 0 !important;
    cursor: pointer;
    background: #ffffff;
    border: none !important;
    border-radius: 4px;
    color: #333333;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  }

  #burgerButton::before {
    content: "Menü";
    font-size: 13px;
    left: 0;
    right: 0;
    top: 0;
    color: #333333;
    font-weight: 700;
    text-transform: uppercase;
  }

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

  #burgerButtonInner {
    margin-bottom: 26px;
    display: inline-block;
  }

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

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

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

  #burgerButtonInner2,
  #burgerButton:after {
    -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;
  }

  #burgerButtonInner2 {
    top: 26px;
  }

  #burgerButton:after {
    top: 36px;
  }

  #burgerButtonInner2,
  #burgerButton:after {
    content: "";
    display: block;
    position: absolute;
    background: #005f85;
    border-radius: 2px;
    width: 38px;
    height: 3px;
    left: 5px;
    font-size: 0;
  }

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

  .navbar-collapse {
    top: 0;
    background: #ffffff;
    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 {
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 101;
  }

  .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: #ffffff;
    position: relative;
  }

  .is-sticky #menu {
    border-bottom: solid 2px #e5eff3;
  }

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

  nav.horizontally li[class*="toplevel"]>ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1000;
    margin: 0;
    padding: 10px 0;
    padding-top: 20px;
    padding-bottom: 20px;
    max-height: 60vh;
    overflow: visible;
    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;
    max-width: 1200px;
    width: 1200px;
    transform: translateX(-50%);
  }

  nav.horizontally li[class*="toplevel"]>ul::after {
    content: "";
    display: block;
    position: absolute;
    width: 100vw;
    z-index: -1;
    left: -30%;
    top: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
  }

  nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
  nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
    -webkit-column-count: 4;
    -moz-column-count: 4;
    column-count: 4;
    -webkit-column-gap: 30px;
    -moz-column-gap: 30px;
    column-gap: 30px;
    max-width: 992px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    height: auto;
  }

  nav.horizontally li[class*="secondlevel"] {
    float: none;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    break-inside: avoid;
    display: table !important;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:hover>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: auto;
    z-index: 1003;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:focus-within>ul {
    pointer-events: auto !important;
    opacity: 1 !important;
    top: auto;
  }

  .nav li[class*="toplevel"].open>.dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  #mCSB_1_scrollbar_vertical {
    left: 50%;
    margin-left: calc(962px / 2);
  }

  nav.horizontally .dropdown-menu {
    display: block !important;
  }
}

@media (min-width: 1200px) {

  nav.horizontally li[class*="toplevel"]>ul:not(.mCustomScrollbar),
  nav.horizontally li[class*="toplevel"]>ul .mCSB_container {
    max-width: 1200px;
    padding-top: 20px;
    padding-bottom: 45px;
  }

  #mCSB_1_scrollbar_vertical {
    margin-left: calc(1170px / 2);
  }
}

nav.horizontally li[class$="_end"],
nav.horizontally li[class$="_start"] {
  display: none;
}

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

.navbar-default .navbar-nav li[class*="toplevel"]>a {
  color: #333333;
  font-weight: 700;
  text-align: center;
  padding: 15px 35px 15px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav li[class*="toplevel"] {
    border-bottom: 1px solid rgba(68, 68, 68, 0.2);
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav li[class*="toplevel"]>a {
    padding: 31px 42px 38px 42px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    font-size: 1.5rem;
  }
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav li[class*="toplevel"]>a::after {
    top: 0;
    bottom: auto;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]>a::before {
    content: "";
    position: absolute;
    display: block;
    width: 1px;
    height: 40px;
    background-color: rgba(51, 51, 51, 0.2);
    left: -8px;
  }
}

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

.navbar-nav li[class*="toplevel"]:hover>a,
.navbar-nav li[class*="toplevel"]>a:hover,
.navbar-nav li[class*="toplevel"]>a:focus,
.navbar-nav li[class*="toplevel"].open>a,
.navbar-nav li[class*="toplevel"].open>a:hover,
.navbar-nav li[class*="toplevel"].open>a:focus,
.navbar-nav li[class*="toplevel"][class$="_over"]>a,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="toplevel"][class$="_over"]>a:focus {
  color: #005f85;
}

.navbar-nav li[class*="toplevel"]:focus-within>a {
  color: #005f85;
}

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

@media (max-width: 991px) {

  .navbar-default li[class*="toplevel"]>.dropdown-menu,
  .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
  }
}

@media (min-width: 992px) {
  .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
    display: block;
  }
}

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

.navbar-default li[class*="secondlevel"]>a {
  color: #333333;
  text-align: left;
  padding: 8px 35px 8px 15px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

.navbar-default li[class*="thirdlevel"]>a {
  color: #333333;
  text-align: left;
  padding: 8px 35px 8px 15px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

.navbar-default li[class*="secondlevel"]>a {
  font-weight: 700;
  text-transform: uppercase;
}

.navbar-default li[class*="thirdlevel"]>a {
  font-weight: 400;
}

@media (min-width: 992px) {
  .navbar-default li[class*="secondlevel"]>a {
    padding: 20px 0 2px 0;
  }

  .navbar-default li[class*="thirdlevel"]>a {
    padding: 5px 0;
  }

  .navbar-default li[class*="secondlevel"]>a,
  .navbar-default li[class*="thirdlevel"]>a {
    font-size: 1.25rem;
  }
}

@media (max-width: 991px) {

  .navbar-default li[class*="secondlevel"]>a,
  .navbar-default li[class*="thirdlevel"]>a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus-within,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus-within {
  color: #005f85;
}

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

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

@media (max-width: 991px) {

  #headerpic-overlay,
  #headerpic-overlay>* {
    position: static;
  }
}

/* banner */

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

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

  #headerpic a.nivo-prevNav {
    left: 65px;
  }

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

@media (min-width: 992px) and (max-width: 1199px) {
  #headerpic .nivo-directionNav a {
    top: unset;
    bottom: 30px;
  }
}

@media (min-width: 1200px) {
  .index #headerpic .nivo-controlNav {
    bottom: 140px;
  }
}

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

@media (min-width: 992px) {
  #headerpic {
    background: #333333;
  }

  #headerpic * {
    color: #ffffff;
  }
}

.slider-wrapper {
  height: 100%;
}

.slider-mask {
  display: block;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1));
}

@media (min-width: 1200px) {
  .index .slider-mask::after {
    background: url(../img/schmucklinie.png);
    content: "";
    left: 0;
    right: 0;
    width: 100%;
    height: 11px;
    bottom: 30px;
    background-repeat: no-repeat;
    pointer-events: none;
    position: absolute;
  }
}

/* banner overlay */

#headerpic-overlay {
  padding: 30px 0;
  font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

@media (min-width: 992px) {
  #headerpic-overlay {
    padding: 0;
    position: absolute;
    top: 48px;
    bottom: 150px;
    left: 0;
    right: 0;
    z-index: 20;
    line-height: 1.2;
  }

  #headerpic-overlay> :first-child {
    margin-bottom: 30px;
  }

  #headerpic-overlay> :last-child {
    margin-top: auto;
  }

  #headerpic-overlay a {
    text-decoration: underline;
  }
}

@media (min-width: 1200px) {
  #headerpic-overlay {
    bottom: 280px;
  }
}

/* search */

#search {
  background: #ffffff;
  margin: clamp(25px, 3vw, 50px) 0 0 0;
  width: 100%;
  outline: 2px solid #005f85;
}

@media (min-width: 992px) {
  #search {
    outline-color: #ffffff;
    outline-offset: 15px;
  }
}

#search_input {
  color: #696969;
  font-size: clamp(1rem, 3vw, 1.375rem);
  font-style: normal !important;
  background: transparent;
  border: 0;
  width: 100%;
  padding: 20px clamp(15px, 3vw, 40px);
}

#search_submit {
  border: none;
  background: url("../img/icon-search.svg") center no-repeat;
  padding: 0;
  cursor: pointer;
  margin: 0;
  font-size: 0;
  min-width: clamp(60px, 10vw, 100px);
  flex-shrink: 0;
}

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

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

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

/* #region --------------------------------- quick-access --------------------------------------- */

#quick-access {
  font-size: 1rem;
  background: #005f85;
}

@media (min-width: 1200px) {
  #quick-access {
    position: relative;
    z-index: 50;
    margin-top: -125px;
    border: 2px solid #ffffff;
  }
}

#quick-access * {
  color: #ffffff;
}

#quick-access .tab {
  padding: 30px 15px;
  position: relative;
  transition: background 200ms linear, margin 200ms linear, padding 200ms linear, height 200ms linear;
}

#quick-access .tab+.tab::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: -1px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  transition: opacity 200ms linear, margin 200ms linear;
}

@media (min-width: 1200px) {
  #quick-access>.col-xl-2 {
    flex: 0 0 16.666667% !important;
    max-width: 16.666667% !important;
  }

  #quick-access .tab {
    padding: 75px clamp(15px, 1vw, 30px);
    height: 250px;
    overflow: scroll;
  }

  #quick-access .tab+.tab::after {
    top: 45px;
    bottom: 45px;
    width: 1px;
    height: unset;
  }

  #quick-access .tab:is(:hover, :focus-within)::after,
  #quick-access .tab:is(:hover, :focus-within)+.tab::after {
    opacity: 0;
  }

  #quick-access .tab:is(:hover, :focus-within) {
    background: #014f6e;
    height: 360px;
    margin: -55px 0;
    padding-top: 30px;
    padding-bottom: 30px;
  }
}

#quick-access .tab :is(.row, .row > *) {
  position: static;
}

@media (min-width: 1200px) {
  #quick-access .tab .template-page {
    max-height: 0;
    opacity: 0;
    transition: opacity 200ms linear;
  }

  #quick-access .tab:is(:hover, :focus-within) .template-page {
    opacity: 1;
  }
}

#quick-access .tab a {
  font-weight: 700;
  text-decoration: underline;
}

#quick-access .tab a::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

#quick-access .tab-heading {
  font-size: 1.25rem;
  padding-top: 75px;
  background: url("../img/quick-access/folder-icon.png") center top / 52px auto no-repeat;
  transition: padding 200ms linear, transform 200ms linear;
}

@media (min-width: 1200px) {
  #quick-access .tab-heading {
    margin: 0;
  }

  #quick-access .tab:is(:hover, :focus-within) .tab-heading {
    padding: 75px 0 30px 0;
    transform: scale(1.2);
  }
}

#quick-access .tab-1 .tab-heading {
  background-image: url("../img/quick-access/icon-meldungen.png");
}

#quick-access .tab-2 .tab-heading {
  background-image: url("../img/quick-access/calendar-day-icon.png");
}

#quick-access .tab-3 .tab-heading {
  background-image: url("../img/quick-access/calendar-icon.png");
}

#quick-access .tab-4 .tab-heading {
  background-image: url("../img/quick-access/document-icon.png");
}

#quick-access .tab-5 .tab-heading {
  background-image: url("../img/quick-access/book-icon.png");
}

#quick-access .tab-6 .tab-heading {
  background-image: url("../img/quick-access/paper-icon.png");
}

/* #endregion ------------------------------ quick-access --------------------------------------- */

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

#content {
  text-align: left;
  padding: clamp(40px, 4vw, 60px) 0 clamp(40px, 4vw, 55px) 0;
}

.newsticker {
  font-size: 1.125rem;
  font-style: italic;
  color: #005f85;
}

#tickerWrapper {
  padding: 60px 0 0px 0;
}

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

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

:is(h1, h2) :is(i, em) {
  font-style: normal;
  color: #333333;
  font-size: 1.375rem;
  display: block;
  text-transform: uppercase;
  margin-bottom: 15px;
}

#footer :is(h1, h2) :is(i, em) {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

h1,
.h1,
.legacy_h1,
#headerpic-overlay .tab-headline {
  font-size: clamp(2rem, 4vw, 2.8125rem);
}

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

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

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

h5,
.h5,
.legacy_h5,
:is(#newsletter, #footer) :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.5rem;
}

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

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

/* #region --------------------------------- button-style --------------------------------------- */

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]),
#nw23 .tab_link_mehr a {
  display: inline-block;
  background: #005f85;
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  font-size: 1.125rem;
  padding: 11px 28px;
  outline: 2px solid #005f85;
  outline-offset: 10px;
  margin: 12px;
  transition: outline-color 200ms linear, outline-offset 200ms linear;
}

/* small */

.button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]),
#nw23 .tab_link_mehr a {
  padding: 7px 15px;
  outline-color: transparent;
  margin: 0;
}

/* large */

.button-style.button-large a:not([href^="mailto:"]):not(.has-image):not([rel]) {
  display: block;
  text-align: center;
  font-weight: 700;
  font-size: 1.375rem;
  padding: 14px 36px;
  outline: 1px solid #005f85;
}

/* hover */

.button-style a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus),
#nw23 .tab_link_mehr a:is(:hover, :focus) {
  outline-color: #333333;
  outline-offset: 3px;
}

.button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus) {
  background-color: #014f6e;
  outline-color: transparent;
}

/* #endregion ------------------------------ button-style --------------------------------------- */

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

#news {
  padding-top: clamp(40px, 3vw, 45px);
  z-index: 1;
  position: relative;
}

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

#news .tab_link_entries {
  display: grid;
  gap: 30px;
}

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

@media (min-width: 1200px) {
  #news .tab_link_entries {
    grid-template-columns: repeat(4, 1fr);
  }
}

#news .tab_link_entry {
  font-size: 1rem;
  position: relative;
  background: #ffffff;
  padding: 225px 26px 30px 26px;
  border: 4px solid #e8e8e8 !important;
}

#news .tab_link_entry::before,
#news .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: 26px;
  left: 26px;
  right: 26px;
  height: 170px;
  max-width: 320px;
  overflow: hidden;
}

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

#news .tab_link_entry .tab_preview_picture {
  z-index: 1;
}

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

#news .tab_link_entry .tab_date {
  font-weight: 700;
  font-size: 1.3125rem;
}

#news .tab_link_entry .tab_link_title a {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  display: block;
  margin-bottom: 25px;
}

#news .tab_link_entry .tab_link_title a:not(:is(:hover, :focus)) {
  color: #333333;
}

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

/* #endregion ---------------------------------- news ------------------------------------------- */

/* #region ------------------------------- events + newsletter ---------------------------------- */

#events-newsletter {
  padding-top: 30px;
  background: #fff;
  margin-bottom: 30px;
  position: relative;
  z-index: 0;
}

@media (min-width: 992px) {
  #events-newsletter {
    padding-top: 45px;
    background: linear-gradient(180deg, rgb(0, 95, 133) 0%, rgb(0, 95, 133) 70%, rgb(255, 255, 255) 70%, rgb(255, 255, 255) 100%);
    margin-bottom: 80px;
    position: relative;
    z-index: 0;
  }
}

@media (min-width: 992px) {
  #events-newsletter :is(h1, h2, h3, h4, h5, h6) {
    color: #fff;
  }

  #events-newsletter :is(h1, h2) :is(i, em) {
    color: #fff;
  }
}

@media (min-width: 1200px) {
  #events-newsletter::after {
    background: url(../img/schmucklinie-blau.png);
    content: "";
    left: 0;
    right: 0;
    width: 100%;
    height: 11px;
    bottom: 170px;
    background-repeat: no-repeat;
    pointer-events: none;
    position: absolute;
    z-index: -1;
  }
}

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

#events-newsletter .slick-slide {
  font-size: 1rem;
  background: #ffffff;
  padding: 26px;
  border: 4px solid #e8e8e8;
  margin-top: 15px;
  margin-right: 30px;
}

/* events */

#nw23 {
  margin-bottom: 15px;
}

#nw23 .slick-track {
  display: flex;
}

#nw23 .slick-slide {
  height: auto;
}

#nw23 .slick-slide>div {
  height: 100%;
}

#nw23 .tab_link_entry {
  min-height: 222px;
  position: relative;
  height: 100%;
  padding-top: 200px;
  border: none !important;
}

@media (min-width: 576px) {
  #nw23 .tab_link_entry {
    padding: 0 0 0 238px;
  }
}

#nw23:not(:has(.slick-track)) .tab_link_entry:nth-child(1n + 2) {
  display: none;
  visibility: hidden;
}

#nw23 .tab_link_entry::before,
#nw23 .tab_link_entry .tab_preview_picture {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  height: 170px;
  overflow: hidden;
  width: 208px;
}

@media (min-width: 576px) {

  #nw23 .tab_link_entry::before,
  #nw23 .tab_link_entry .tab_preview_picture {
    bottom: 0;
    height: unset;
  }
}

#nw23 .tab_link_entry::before {
  content: "";
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

#nw23 .tab_link_entry .tab_preview_picture {
  z-index: 1;
}

#nw23 .tab_link_entry .tab_preview_picture img {
  margin: 0 !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#nw23 .tab_link_entry .tab_date {
  font-weight: 700;
  font-size: 1.3125rem;
}

#nw23 .tab_link_entry .tab_link_title a {
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.4;
  display: block;
  margin-bottom: 25px;
}

#nw23 .tab_link_entry .tab_link_title a:not(:is(:hover, :focus)) {
  color: #333333;
}

#nw23 .tab_link_mehr {
  font-size: 0;
  text-align: left !important;
  margin: 20px 0 10px 0;
}

#nw23 .tab_link_entry .tab_spacer {
  display: none;
}

/* controls */

#events button {
  border: none;
  padding: 0;
  font-size: 0;
  display: inline-block;
}

#events .slick-button {
  width: 30px;
  height: 30px;
  background: url("../img/arrow-nw23.svg") center / 20px auto no-repeat;
}

#events .slick-button.slick-prev {
  transform: scaleX(-1);
  margin-left: -10px;
}

#events .slick-dots {
  padding: 0 20px;
  display: inline-flex !important;
  gap: 10px;
}

@media (max-width: 767px) {
  #events .slick-dots {
    display: none;
  }
}

#events .slick-dots button {
  width: 12px;
  height: 12px;
  border: 1px solid #333333;
  background: #ffffff;
}

#events .slick-dots .slick-active button,
#events .slick-dots button:is(:hover, :focus) {
  background: #005f85;
}

/* stop/play button for accessibility */

#events .slick-animate-control {
  margin-left: 10px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  width: 30px;
  height: 30px;
  background: #000000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E") center / 16px auto no-repeat;
}

#events .slick-animate-control.slick-pause {
  background-size: 20px 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

/* #endregion ---------------------------- events + newsletter ---------------------------------- */

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

footer {
  overflow: hidden;
  border-top: solid 4px #e5eff3;
  hyphens: auto;
}

body:not(.index) footer {
  border-top: 4px solid #e8e8e8;
}

.footerKontakt {
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

#footer {
  padding: clamp(40px, 5vw, 70px) 0;
  row-gap: 30px;
}

#footer .sprechzeiten :is(h1, h2, h3, h4, h5, h6) {
  margin-top: 30px;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 30px;
}

#footer a {
  font-weight: 700;
}

#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel]) {
  display: block;
  text-align: center;
}

#footer .button-style.button-small p+p,
#footer .button-style.button-small a:not([href^="mailto:"]):not(.has-image):not([rel])+* {
  margin-top: 15px;
}

/* scroll-top-button */

#scroll-top-button {
  width: 50px;
  height: 50px;
  padding: 0;
  background-image: url("../img/arrow-top.svg");
  background-position: center;
  background-size: 28px auto;
  background-repeat: no-repeat;
}

/* innerfooter */

#innerfooter {
  font-size: 1rem;
  background: #005f85;
  padding: 15px 0;
  color: #fff;
}

@media (max-width: 767px) {
  #innerfooter {
    padding: 30px 0;
  }
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter ul a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  padding: 6px 10px;
  outline: 2px solid transparent;
  outline-offset: 10px;
  transition: outline-color 200ms linear, outline-offset 200ms linear;
}

#innerfooter ul a:is(:hover, :focus) {
  outline-color: #fff;
  outline-offset: 0;
}

@media (min-width: 576px) {
  #innerfooter li {
    display: inline-block;
  }

  #innerfooter li+li::before {
    content: "|";
    display: inline-block;
    height: 1px;
    width: 15px;
    margin: 0 15px;
  }
}

/* logos */

#logos {
  padding: 40px 0;
}

#logos .row {
  row-gap: 15px;
}

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

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

#vernetzt {
  gap: 15px;
  text-align: right;
  font-size: 1rem;
  color: inherit;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

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

/* #region ---------------------------------- decoration ---------------------------------------- */

:is(#news, #contact, #events) h2 :is(i, em),
#scroll-top-button {
  position: relative;
}

/* news */

#news h2 :is(i, em)::before {
  top: -5px;
  bottom: -240px;
  left: -32px;
  width: 2px;
}

#news h2 :is(i, em)::after {
  bottom: -10px;
  left: -180px;
  right: calc(100% - 100px);
  height: 2px;
}

/* contact */

#contact h2 :is(i, em)::after {
  bottom: -10px;
  left: -180px;
  right: calc(100% - 145px);
  height: 2px;
}

/* events */

#events h2 :is(i, em)::after {
  bottom: -10px;
  left: -313px;
  right: calc(100% - 75px);
  height: 2px;
}

/* scroll-top-button */

#scroll-top-button::before {
  top: 5px;
  bottom: -240px;
  right: -45px;
  width: 2px;
}

#scroll-top-button::after {
  top: 50%;
  width: 180px;
  right: -192px;
  height: 2px;
}

/* #endregion ------------------------------- decoration ---------------------------------------- */

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

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

.contrast_dark #burgerButton,
.contrast_dark #events .slick-button,
.contrast_dark #events .slick-dots .slick-active button,
.contrast_dark #events .slick-dots button:is(:hover, :focus) {
  background-color: #ffffff !important;
}

.contrast_light #burgerButton::before,
.contrast_light #burgerButton::after,
.contrast_light #burgerButtonInner {
  background: #333333 !important;
}

.contrast_light nav.burger .dropdown-toggle-button::before {
  color: #000000;
}

@media (min-width: 1200px) {
  .contrast_light #quick-access .tab:is(:hover, :focus-within) {
    background: #ffffff;
  }
}

.contrast_light #events .slick-dots .slick-active button,
.contrast_light #events .slick-dots button:is(:hover, :focus) {
  background-color: #000000 !important;
}

.contrast_light #quick-access .tab-1 .tab-heading,
.contrast_light #quick-access .tab-2 .tab-heading,
.contrast_light #quick-access .tab-3 .tab-heading,
.contrast_light #quick-access .tab-4 .tab-heading,
.contrast_light #quick-access .tab-5 .tab-heading,
.contrast_light #quick-access .tab-6 .tab-heading,
.contrast_light #quick-access .tab-7 .tab-heading {
  filter: brightness(0) !important;
}

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