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

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

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

a {
  color: #8e1b2d;
  text-decoration: underline;
}

a:is(:hover, :focus) {
  color: #8e1b2d;
  text-decoration: none;
}

b,
strong {
  font-weight: 700;
}

.static {
  position: static;
}

/* ------------------------------------------- topbar ------------------------------------------- */

#topbar {
  background: #ffffff;
  padding: 11px 0 14px 0;
}

#topbar .tabSocial {
  font-size: 1rem;
  line-height: 1.2;
}
#topbar .tabSocial img {
  display: inline-block;
  margin-top: 10px;
}

@media (max-width: 991px) {
 .tabSocial {
   background-color: #fff;
      padding:15px;
   }
}
/* -------------------------------------------- logo -------------------------------------------- */

#logo {

  align-items: center;
  align-content: center;
  gap: 25px;
  text-decoration: none;
}


#logo .logoImg img {
  display: block;
}

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

#logo .logoTxt {
  line-height: 1.2;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  color: #0b0c1e;
  font-weight: 700;
}

@media (min-width: 1200px) {
   #logo {
  display: flex;
   }
  #logo .logoTxt {
    margin-top: -10px;
  }
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 13px;
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 2px;
    padding: 8px 0 0 0 !important;
    cursor: pointer;
    background: #0b0c1e;
    border: none !important;
    border-radius: 4px;
    color: #fff;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
    border: solid 2px #fff;
  }

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

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

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

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

  #burgerButton::before {
    top: 26px;
  }

  #burgerButton::after {
    top: 36px;
  }

  #burgerButton::before,
  #burgerButton::after {
    content: "";
    display: block;
    position: absolute;
    background: linear-gradient(323deg, rgba(222, 3, 49, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
    border-radius: 2px;
    width: 38px;
    height: 3px;
    left: 5px;
    font-size: 0;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #8e1b2d;
    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: 22px;
    right: 15px;
    z-index: 101;
  }

  .dropdown-toggle-button-wrapper {
    top: 9px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: rgba(142, 27, 45, 0.9);
  }

  .menu {
    position: absolute;
    margin: auto;
    left: 0;
    right: 0;
  }
  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

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

  /* Fade in Hover Start */
  .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.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;
  }

  /* Pseudo */

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

  /* 3rd */

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

  /* Fade in Hover End */
}

/* toplevel */

nav.horizontally .navbar-nav a[class*="toplevel"] {
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 12px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  nav.horizontally .navbar-nav li[class*="toplevel"] {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

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

@media (min-width: 992px) {
  nav.horizontally .navbar-nav a[class*="toplevel"] {
    padding: 28px 2px;
  }
}

.navbar-default .navbar-nav li[class*="toplevel"] > a::after {
  content: "";
  display: block;
  height: 4px;
  width: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  background: linear-gradient(90deg, rgba(222, 3, 49, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
  transition: width 200ms linear;
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  width: 100%;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  background-color: #8e1b2d;
  box-shadow: 0px 5px 15px 0px rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 12px;
  }

  .navbar-default .navbar-nav > li > .dropdown-menu,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    padding-top: 11px;
    padding-bottom: 11px;
  }

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

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

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

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    padding: 11px 25px 11px 15px;
  }
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a::after,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::after {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0px;
  bottom: 0px;
  width: 0px;
  height: 5px;
  max-width: 60px;
  background: linear-gradient(90deg, rgba(222, 3, 49, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
  transition: width 300ms linear;
}

/* ------------------------------------------ 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:hover > a,
.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 {
  color: #de0331;
  background-color: #ffffff;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  color: #de0331;
  background-color: #ffffff;
}

.navbar-nav > li > .dropdown-menu > li:hover > a::after,
.navbar-nav > li > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu > li[class$="_over"] > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:hover > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li.open > a:focus::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:hover::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li[class$="_over"] > a:focus::after {
  width: 100%;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a::after,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a::after {
  width: 100%;
}

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

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

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

@media (min-width: 576px) {
  body.index #slider {
    max-height: clamp(400px, 62vw, 639px);
  }
}

#bannerOverlay {
  padding-top: 25px;
  font-weight: 400;
  line-height: 1.45;
}

#bannerOverlay a {
  text-decoration: underline;
}

@media (min-width: 1200px) {
  #bannerOverlay {
    padding-top: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 120px;
    z-index: 60;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    font-size: clamp(1.5625rem, 4vw, 1.875rem);
  }

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

  #bannerOverlay :is(b, strong) {
    font-weight: 400;
    color: #fecf06;
  }
}

@media (min-width: 1200px) {
  #bannerOverlay {
    bottom: 160px;
  }
}

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

@media (min-width: 1200px) {
  #headerpic {
    background: #000000;
  }
}

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

.slider-mask {
  display: none;
}

@media (min-width: 576px) {
  .slider-mask {
    display: block;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65) 60%);
  }
}

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

/* ----------------------------------------- banner arrows -------------------------------------- */

#headerpic .nivo-directionNav {
  height: 40px;
  pointer-events: none;
  width: 100%;
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
}

@media (min-width: 1200px) {
  #headerpic .nivo-directionNav {
    max-width: 992px;
    bottom: 100px;
  }
}

@media (min-width: 1200px) {
  #headerpic .nivo-directionNav {
    max-width: 1200px;
  }
}

#headerpic .nivo-directionNav a {
  pointer-events: auto;
  background: #8e1b2d url("../img/banner-arrows.png") top 10px center / 18px auto no-repeat;
  width: 40px;
  height: 40px;
}

#headerpic .nivo-directionNav a.nivo-nextNav {
  transform: scaleX(-1);
}

/* ------------------------------------------ banner dots --------------------------------------- */

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

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

#headerpic .nivo-controlNav button {
  background: transparent;
  border-radius: 50%;
  border: 1px solid #ffffff;
  width: 12px;
  height: 12px;
  padding: 0;
}

#headerpic .nivo-controlNav button:is(:hover, :focus),
#headerpic .nivo-controlNav .slick-active button {
  background: #ffffff !important;
}

#headerpic .nivo-controlNav {
  pointer-events: none;
}

#headerpic .nivo-controlNav button {
  pointer-events: auto;
}

.theme-nivo .nivo-controlNav .slick-dots li,
.nivo-directionNav a,
a.nivo-control,
a.nivo-control.active,
.nivo-controlNav span {
  color: #ffffff !important;
}
/* #region ------------------------------------ search ------------------------------------------ */

@media (min-width: 1200px) {
  body.index #searchArea {
    background: linear-gradient(to right, #8e1b2d, #8e1b2d 50%, rgba(255, 255, 255, 0) 50%);
  }
}

@media (max-width: 991px) {
  body:not(.index) #searchArea {
    display: none;
  }
}

#searchBox {
  background: #ffffff;
  padding: 25px 0;
  box-shadow: 0 47px 48px -36px rgba(0, 0, 0, 0.6);
  font-weight: 400;
}

@media (min-width: 1200px) {
  #searchBox {
    position: relative;
    z-index: 54;
    margin-top: -50px;
    padding-left: clamp(25px, 4vw, 40px);
    padding-right: clamp(25px, 4vw, 40px);
    box-shadow: 0 47px 48px -36px rgba(0, 0, 0, 0.6);
  }
}

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

#search {
  background: #8e1b2d;
  display: flex;
  width: 100%;
}

@media (min-width: 992px) {
  #search {
    max-width: 370px;
  }
}

#search_input {
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-style: 400;
  padding: 13px 10px 13px 20px;
  border: 0;
  width: 100%;
}

#search_submit {
  width: 50px;
  flex-shrink: 0;
  background: url("../img/lupe-icon.png") center / 18px auto no-repeat;
  padding: 0;
  cursor: pointer;
  border: none;
  font-size: 0;
  transition: background 200ms linear;
}

#search_submit:is(:hover, :focus) {
  background-size: 24px auto;
}

#search_input::placeholder {
  color: #fff !important;
  opacity: 1 !important;
  font-style: normal !important;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .importantLinks {
    font-size: 1.125rem;
  }
}

.importantLinks a {
  display: inline-block;
  color: #de0331;
  text-decoration: underline;
  padding: 2px 6px;
}
.importantLinks a:is(:hover, :focus) {
  text-decoration: none;
  color: #0b0c1e;
}

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

/* #region ------------------------------------ topInfo ----------------------------------------- */

#topInfo {
  padding-top: clamp(40px, 8vw, 100px);
  position: relative;
  z-index: 1;
}

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

#topInfo .tab-text {
  font-weight: 400;
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  #topInfo .tab-text {
padding-top: 40px;
    padding-right: 30px;
    padding-bottom: 200px;
    line-height: 1.3;
  }
}

#topInfo .tab-text > * {
  background: #8e1b2d;
}

#topInfo .tab-text,
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
}

#topInfo .tab-text a {
  text-decoration: underline;
}

#topInfo .tab-text a:is(:hover, :focus) {
  color: #fecf06;
}

#topInfo .tab-text h2::after {
  content: "";
  display: block;
  width: 15px;
  height: 4px;
  background: #ffffff;
  margin: 5px auto 30px auto;
}
#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  line-height: 1;
}

#topInfo .tab-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  font-size: clamp(2.8125rem, 4vw, 3.5rem);
}

@media (min-width: 992px) {
  #topInfo .tab-text h2::after {
    margin-right: 0;
    font-weight: 400;
  }
}

#topInfo::after {
  content: "";
  position: absolute;
  z-index: -2;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 60px;
  background: #8e1b2d;
  border-bottom-right-radius: 500px;
}

@media (min-width: 992px) {
  #topInfo::after {
    right: 50%;
  }
}

#topInfo .tab {
  background: #f1f1f1;
  padding: clamp(30px, 3vw, 40px);
  min-height: 100%;
  height: 100%;
  position: relative;
  hyphens: auto;
}
#topInfo .tab::after {
  content: "";
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  bottom: -15px;
  left: -15px;
  border: 5px solid;
  pointer-events: none;
  border-image-slice: 1;
  border-width: 5px;
  z-index: -1;
  border-image-source: linear-gradient(0deg, rgba(142, 27, 45, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
}

@media (min-width: 768px) {
  #topInfo .tab {
    font-size: 1.125rem;
  }

  .tab_spacer {
    height: 16px;
  }
}

@media (min-width: 992px) {
  #topInfo .tab {
    padding-bottom: 70px;
  }
}

#topInfo .tabHeadline {
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  margin-bottom: 20px;
  padding-top: 75px;
  background-position: top left;
  background-repeat: no-repeat;
  color: #0b0c1e;
  line-height: 1.2;
}

#topInfo #tab-1 .tabHeadline::before {
  content: "";
  position: absolute;
  background: #0b0c1e url(../img/icon-kalender.png) center no-repeat;
  width: 45px;
  height: 40px;
  top: 40px;
  z-index: 0;
  pointer-events: none;
  left: 40px;
  display: block;
  padding: 7px;
}

#topInfo #tab-2 .tabHeadline::before {
  content: "";
  position: absolute;
  background: #0b0c1e url(../img/icon-nachrichten.png) center no-repeat;
  width: 45px;
  height: 40px;
  top: 40px;
  z-index: 0;
  pointer-events: none;
  left: 40px;
  display: block;
  padding: 7px;
}

#topInfo .tab_link_mehr {
  color: transparent;
  font-size: 0;
}

.teaserText a,
#topInfo .tab_link_mehr a {
  background: #8e1b2d;
  display: inline-block;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 15px;
  text-decoration: none;
  font-size: 1rem;
}

#topInfo .tab_link_mehr a {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 1rem;
}

@media (min-width: 992px) {
  #topInfo .tab_link_mehr a {
    padding: 15px 34px;
  }
}

.teaserText a:is(:hover, :focus),
#topInfo .tab_link_mehr a:is(:hover, :focus) {
  color: #fecf06;
}

.teaserText a::after,
#topInfo .tab_link_mehr a::after {
  content: "\279C";
  font-weight: 400;
  position: relative;
  left: 0;
  margin-left: 4px;
  transition: left 200ms linear;
  font-family: "Montserrat", sans-serif;
}

.teaserText a:is(:hover, :focus)::after,
#topInfo .tab_link_mehr a:is(:hover, :focus):after {
  left: 6px;
}

.tab_link_title a {
  font-weight: 700;
  text-decoration: none;
}

.tab_link_title a:is(:hover, :focus) {
  text-decoration: underline;
}

:is(.tab_link_title, .tab_link_mandat) a {
  color: inherit;
  text-decoration: none;
}
:is(.tab_link_title, .tab_link_mandat):is(:hover, :focus) {
  text-decoration: underline;
}
/* #endregion --------------------------------- topInfo ----------------------------------------- */

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

#content {
  text-align: left;
  padding-top: clamp(50px, 5vw, 70px);
  padding-bottom: clamp(40px, 8vw, 100px);
}

/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.375rem, 4.5vw, 2.8125rem);
}

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

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

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

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

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

/* --------------------------------------------- facts ------------------------------------------ */

#facts {
  padding: 56px 0;
  background: #f1f1f1;
  color: #0b0c1e;
  font-size: 1.25rem;
}

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

#facts a {
  text-decoration: underline;
}

#facts :is(b, strong) {
  color: #0b0c1e;
  font-size: clamp(2.125rem, 5vw, 3.5rem);
  display: block;
  font-weight: 700;
  line-height: 1.1;
}

#facts > .row > div:last-child a {
  color: #0b0c1e;
  font-size: 1.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

#facts > .row > div:last-child a::after {
  content: "\279C";
  display: block;
  font-weight: 400;
  color: #8e1b2d;
  font-size: 3.5rem;
}

#facts > .row > div:last-child a:is(:hover, :focus) {
  color: #8e1b2d;
}

/* #region ------------------------------------- teaser ----------------------------------------- */

/* #region ------------------------------------ topInfo ----------------------------------------- */

#tabWeitereInfos {
  padding-top: clamp(40px, 8vw, 100px);
  position: relative;
  z-index: 1;
  padding-bottom: 110px;
  background-attachment: fixed;
  background-size: cover;
}

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

#tabWeitereInfos .tab-text {
  font-weight: 400;
  font-size: 1.25rem;
}

@media (min-width: 992px) {
  #tabWeitereInfos .tab-text {
    padding-top: 50px;
    padding-right: 30px;
    padding-bottom: 110px;
  }
}

#tabWeitereInfos .tab-text > * {
  background: #8e1b2d;
}

#tabWeitereInfos .tab-text,
#tabWeitereInfos .tab-text :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
}

#tabWeitereInfos .tab-text a {
  text-decoration: underline;
}

#tabWeitereInfos .tab-text a:is(:hover, :focus) {
  color: #fecf06;
}

#tabWeitereInfos .tab-text h2::after {
  content: "";
  display: block;
  width: 20px;
  height: 4px;
  background: #ffffff;
  margin: 20px auto;
}
#tabWeitereInfos .tab-text :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

#tabWeitereInfos .tab-text :is(h1, h2, h3, h4, h5, h6) :is(b, strong) {
  font-size: clamp(2.8125rem, 4vw, 3.5rem);
}

@media (min-width: 992px) {
  #tabWeitereInfos .tab-text h2::after {
    margin-right: 0;
  }
}

#tabWeitereInfos::after {
  content: "";
  position: absolute;
  z-index: -2;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 60px;
  background: #8e1b2d;
  border-bottom-left-radius: 500px;
}

@media (min-width: 992px) {
  #tabWeitereInfos::after {
    left: 50%;
  }
}

#tabWeitereInfos .tab {
  background: #f1f1f1;
  padding: clamp(30px, 3vw, 40px);
  min-height: 100%;
  height: 100%;
  position: relative;
}
#tabWeitereInfos .tab::after {
  content: "";
  position: absolute;
  display: block;
  top: 15px;
  right: 15px;
  bottom: -15px;
  left: -15px;
  border: 5px solid;
  pointer-events: none;
  border-image-slice: 1;
  border-width: 5px;
  z-index: -1;
  border-image-source: linear-gradient(0deg, rgba(142, 27, 45, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
}

@media (min-width: 768px) {
  #tabWeitereInfos .tab {
    font-size: 1.125rem;
  }

  .tab_spacer {
    height: 16px;
  }
}

@media (min-width: 992px) {
  #tabWeitereInfos .tab {
    padding-bottom: 70px;
  }
}

#tabWeitereInfos .tabHeadline {
  text-transform: uppercase;
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  margin-bottom: 20px;
  background-position: top left;
  background-repeat: no-repeat;
  color: #0b0c1e;
}

#tabWeitereInfos a {
  color: #0b0c1e;
}
/* #endregion ---------------------------------- teaser ----------------------------------------- */

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

#footer {
  background: #8e1b2d;
padding: clamp(40px, 8vw, 50px) 0;
  font-size: 1rem;
  color: #fff;
}

@media (max-width: 991px) {
  #footer > .row > * + * {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    padding-top: 20px;
  }
}

@media (min-width: 768px) {
  #footer > .row > *:nth-child(2) {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
}

#footer > .row > *:last-child > * + * {
  margin-top: 30px;
}


#footer a {
  color: #fecf06;
  text-decoration: underline;
}

#footer a:is(:hover, :focus) {
  text-decoration: none;
}

#footer .footerHeadline {
  margin: 0 0 20px 0;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: #fff;
  font-weight: 700;
}

#footer .footerHeadline.gap {
  margin-top: clamp(30px, 4vw, 40px);
}

#footer iframe,
#footer .iframe-wrapper-manual-enabling {
  width: 100% !important;
  display: block !important;
  min-width: 100% !important;
}

#footer .shadow {
  box-shadow: 0 30px 50px -30px rgba(153, 67, 67, 0.3);
}

#footer .anfahrt a {
  background: #fff;
  display: inline-block;
  color: #0b0c1e;
  font-weight: 700;
  text-transform: uppercase;
padding: 12px 18px;
  text-decoration: none;
  font-size: 1rem;
}

#footer .anfahrt a:is(:hover, :focus) {
  color: #8e1b2d;
}
#footer .anfahrt a::after {
  content: "\279C";
  font-weight: 400;
  position: relative;
  left: 0;
  margin-left: 4px;
  transition: left 200ms linear;
  font-family: "Montserrat", sans-serif;
}
/* ---------------------------------------------- counter --------------------------------------- */

#counter {
  width: 100%;
  max-width: 260px;
  text-align: justify;
  text-align-last: justify;
  margin: 0 auto;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

@media (min-width: 992px) {
  #counter {
    margin-right: 0;
  }
}

#counter span {
  padding-left: 30px;
  position: relative;
  font-weight: 700;
  background: url("../img/icon-besucher.png") center left no-repeat;
}

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

#footer #vernetzt {
  gap: 12px;
  text-align: right;
  color: #fff;
  line-height: 1.2;
  font-weight: 400;
  text-decoration: none;
  font-size: 0.9375rem;
}

#vernetzt strong {
  color: #fecf06;
}

#vernetzt span span {
  display: block;
}


@media (max-width: 991px) {
   #footer #vernetzt{
margin-top:25px;
      
   }
}
/* ----------------------------------------- innerfooter ---------------------------------------- */

#innerfooter {
  font-size: 1rem;
padding: clamp(30px, 3vw, 40px) 0;
  color: #0b0c1e;
}

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

.footer_list ul {
  padding: 0;
  text-transform: uppercase;
}

.footer_list :is(li, p) {
  display: inline-block;
}

#innerfooter a {
  text-decoration: none;
  display: inline-block;
  font-weight: 400;
  text-transform: uppercase;
}

#innerfooter ul a {
  color: inherit;
}

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

#innerfooter li + li {
  margin-left: clamp(15px, 2vw, 25px);
}

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

#scrollTop {
  color: #ffffff;
  display: block !important;
  font-size: 0;
  opacity: 1 !important;
  background: linear-gradient(0deg, rgba(222, 3, 49, 1) 0%, rgba(242, 153, 33, 1) 50%, rgba(254, 207, 6, 1) 100%);
  width: 50px;
  height: 50px;
  position: relative;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}

@media (min-width: 992px) {
  #scrollTop {
    position: fixed;
    bottom: 80px;
    right: 38px;
    z-index: 55;
  }
}

#scrollTop:is(:hover, :focus) {
  background: #fecf06;
}

#scrollTop::after,
#scrollTop::before {
  content: "";
  position: absolute;
  border-radius: 1px;
}

#scrollTop::after {
  left: 20px;
  width: 8px;
  height: 8px;
  top: 5px;
  margin-top: 10px;
  display: inline-block;
  border-right: 2px solid #0b0c1e;
  border-top: 2px solid #0b0c1e;
  transform: rotate(-45deg);
}

#scrollTop::before {
  left: 50%;
  width: 2px;
  height: 20px;
  top: 50%;
  background-color: #0b0c1e;
  margin-left: -1px;
  margin-top: -10px;
}
