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

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

body {
  font-family: "Roboto", sans-serif;
  color: #2b2b2b;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  /* 1rem = 16px */
  line-height: 1.5;
}

a {
  color: #c61a2c;
  text-decoration: underline;
}

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

b,
strong {
  font-weight: 700;
}

/* ------------------------------------------- logo --------------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo img {
    max-width: calc(100vw - 120px);
    max-height: 70px;
    width: 100%;
  }
}

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

nav.horizontally {
  position: relative;
  background: #fff;
  padding: 10px 0;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #c61a2c;
    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: #fff;
    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: 8px;
    right: 0;
  }

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

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

  .navbar-collapse.collapse.in:after,
  .navbar-toggle[aria-expanded="true"]::before {
    width: 40%;
  }
}

/* menu desktop */

nav.horizontally {
  -webkit-transition: all 0.5s 0s ease;
  -moz-transition: all 0.5s 0s ease;
  -o-transition: all 0.5s 0s ease;
  transition: all 0.5s 0s ease;
}

.is-sticky nav.horizontally {
  background: #fff;
  border-bottom: solid 1px #c61a2c;
}

@media (min-width: 992px) {
  nav.horizontally > .row {
    padding: 10px 0;
  }

  nav.horizontally {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 54;
  }

  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 .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

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

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

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

  .navbar-default .open > .dropdown-menu,
  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"] > ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
  }

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

  .navbar-default .nav .open > .dropdown-menu {
    pointer-events: none !important;
    opacity: 0 !important;
  }

  .navbar-default .navbar-nav li[class*="toplevel"]:hover > ul,
  .navbar-default .navbar-nav li[class*="secondlevel"]:hover > u {
    z-index: 1003;
  }
}

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

.navbar-default .navbar-nav > li > a {
  color: #2b2b2b;
  font-weight: 400;
  text-align: center;
  padding: 10px 35px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Roboto", sans-serif;
}
@media (max-width: 991px) {
  .navbar-default .navbar-nav > li > a {
    text-align: left;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a {
    padding: 10px 25px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
}

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

.navbar-default .navbar-nav > li > a::before,
.navbar-default .navbar-nav > li > a::after {
  content: "";
  width: 0;
  height: 1px;
  display: block;
  position: absolute;
  left: 50%;
  -moz-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -o-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #c61a2c;
  opacity: 0;
  -webkit-transition: opacity 300ms linear, width 300ms linear;
  -moz-transition: opacity 300ms linear, width 300ms linear;
  -ms-transition: opacity 300ms linear, width 300ms linear;
  -o-transition: opacity 300ms linear, width 300ms linear;
  transition: opacity 300ms linear, width 300ms linear;
}

.navbar-default .navbar-nav > li > a::before {
  top: 0;
}

.navbar-default .navbar-nav > li > a::after {
  bottom: 0;
}

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

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

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

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

.navbar-nav > li:focus-within > a::before,
.navbar-nav > li:focus-within > a::after {
  opacity: 1;
  width: 100%;
}

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

.navbar-default .navbar-nav > li > .dropdown-menu,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
  padding: 15px 0;
  background: #ffffff;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.1);
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu {
    margin-top: 20px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-top: -14px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu {
    margin-left: 15px;
  }
  .navbar-default .navbar-nav > li > .dropdown-menu::before {
    content: "";
    position: absolute;
    display: block;
    height: 20px;
    top: -20px;
    left: 0;
    right: 0;
  }

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

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

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

@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 {
    text-align: left;
  }
}

.navbar-default .navbar-nav > li > .dropdown-menu > li > a::after,
.navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a::after {
  content: "";
  width: 0;
  height: 1px;
  display: block;
  position: absolute;
  left: 0%;
  bottom: -1px;
  background-color: #c61a2c;
  opacity: 0;
  -webkit-transition: opacity 300ms linear, width 300ms linear;
  -moz-transition: opacity 300ms linear, width 300ms linear;
  -ms-transition: opacity 300ms linear, width 300ms linear;
  -o-transition: opacity 300ms linear, width 300ms linear;
  transition: opacity 300ms linear, width 300ms linear;
}

@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-left: 25px;
    padding-right: 25px;
    text-align: left;
  }
}

/* ------------------------------------------ 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 {
  color: #c61a2c;
}

.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 {
  opacity: 1;
  width: 70%;
}
.navbar-nav > li > .dropdown-menu > li:focus-within > a {
  color: #c61a2c;
}

.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: #c61a2c;
}

.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 {
  opacity: 1;
  width: 70%;
}

.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  color: #c61a2c;
}

/* #region ------------------------------------ banner ------------------------------------------ */
#slider {
  overflow: hidden;
  position: relative;
  /*1920px * 452px*/
  height: 23.5vw;
  max-height: 450px;
}

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

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

@media (max-width: 991px) {
  #slider-onebanner,
  #slider .nivo-box > div,
  #slider .nivo-slice > div,
  #slider .nivo-main-image,
  #slider div[style*="background-size"] {
    background-attachment: unset !important;
    background-size: 100% auto !important;
  }
}

.slider-mask {
  display: none;
}

@media (min-width: 768px) {
  .slider-mask {
    display: block;
    background: radial-gradient(circle, rgba(43, 43, 43, 0) 0%, rgba(95, 95, 95, 0.7) 75%);
  }
}

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

/* #region ------------------------------------- tab -------------------------------------------- */
#teaser {
  position: relative;
  margin: 45px 0;
}
#teaser > .row {
  row-gap: 15px;
}

#teaser .bereichHeadline {
  margin-bottom: 10px;
}
@media (min-width: 768px) {
  #teaser {
    position: relative;
    z-index: 53;
  }
}

.tab {
  color: #2b2b2b;
  position: relative;
}

.tab a {
  color: #c61a2c;
  text-decoration: none;
}

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

#bg-right .tab {
  padding: 30px 25px;
  font-size: 1rem;
}

#bg-right .tabHeadline {
  margin: 0 0 8px 0;
  color: #ffffff;
  font-size: 1.125rem;
}

#teaser .tab {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  padding-left: 30px;
}

#teaser .tabContent {
  background-color: #2b2b2b;
  line-height: 0;
  font-size: 0;
  position: relative;
}

#teaser .tabContent a:not(.has-image)::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  top: 30px;
  right: 5px;
  width: 26px;
  transition: 300ms background linear;
  z-index: 10;
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%232b2b2b'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

#teaser .tabContent a:not(.has-image) {
  position: absolute;
  z-index: 10;
  bottom: 0;
  right: 15px;
  width: 70px;
  height: 70px;
  clip-path: polygon(100% 0, 0% 100%, 100% 100%);
  background: #c6c6c6;
}
#teaser .tabContent a:not(.has-image):is(:hover, :focus) {
  background-color: #2b2b2b;
}

#teaser .tabContent a:not(.has-image):is(:hover, :focus)::after {
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

#teaser .tab img {
  display: block;
  width: 100%;
  transition: opacity 300ms linear;
}

#teaser .tab img:hover,
#teaser .tab img:focus {
  opacity: 0.6;
}

#teaser .tabHeadline {
  margin: 0;
  color: #ffffff;
  position: absolute;
  left: 0;
  top: 26px;
  background: #c61a2c;
  padding: 10px 20px;
  pointer-events: none;
  z-index: 1;
  font-size: 1.125rem;
  display: inline-block;
  line-height: 1.2;
  font-weight: 700;
  font-family: "Roboto", sans-serif;
  width: 300px;
  text-align: center;
  height: 60px;
  align-content: center;
  hyphens: inherit;
  word-wrap: break-word;
}

/* #endregion ------------------------------------- tab -------------------------------------------- */

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

#content {
  text-align: left;
  padding-bottom: clamp(30px, 4vw, 60px);
  padding-top: 30px;
}

main > .row {
  row-gap: 30px;
}

#breaker {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  padding: 175px 0;
}

.breakerHeadline {
  margin: 0 0 8px 0;
  font-size: clamp(2rem, 5vw, 2.5rem);
  color: #ffffff;
}

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

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  display: inline-block;
  line-height: 1.2;
  color: #2b2b2b !important;
  font-size: 1.125rem;
  font-weight: 600;
  background: #c6c6c6;
  padding: 12px 58px 11px 20px;
  position: relative;
  text-decoration: none !important;
  text-shadow: none !important;
  margin-top: 20px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  top: 1px;
  right: 16px;
  width: 26px;
  transition: 300ms background linear;
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%232b2b2b'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
  background-position-x: left 26px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  background: #c61a2c;
}
.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%23fff'/%3E%3C/svg%3E");
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  color: #fff !important;
}

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

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

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

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

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

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

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

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

/* ----------------------------------------------- @2f footer ----------------------------------------------- */

#footer {
  color: #2b2b2b;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #f5f5f5;
}

@media (min-width: 992px) {
  #footer {
    padding-top: 48px;
    padding-bottom: 35px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #footer > .row > * + * {
    margin-top: 30px;
  }
}

@media (max-width: 767px) {
  #footer .row > .col-xs-12:not(:first-child)::before {
    background: #000000;
    content: " ";
    display: block;
    height: 1px;
    margin: 25px 0;
    opacity: 0.2;
    width: 100%;
  }

  #footer .row > .col-xs-12.hidden-xs ~ .col-xs-12::before,
  #footer .row > .col-xs-12.hidden-sm ~ .col-xs-12::before {
    display: none;
  }
}

/* --------------------------------------------- logoFooter -------------------------------------------- */

#logoFooter {
  display: inline-block;
}

#logoFooter img {
  display: block;
}

/* --------------------------------------------- footerTab -------------------------------------------- */

#footerTab {
  font-size: 1.125rem;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 2px solid #cdcdcd;
}

#footerTab a {
  color: #2b2b2b;
  text-decoration: underline;
}
/* ----------------------------------------------- scrollTop ----------------------------------------------- */

#scrollTop {
  text-decoration: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 400;
  opacity: 1 !important;
  max-width: 170px;
  padding: 6px 20px;
  margin: 0 auto 25px auto;
  background-color: #c61a2c;
}

@media (min-width: 768px) {
  #scrollTop {
    margin: auto 0 45px auto;
  }
}

#scrollTop:hover,
#scrollTop:focus {
  background-color: #2b2b2b;
}

#scrollTop span {
  position: relative;
  display: inline-block;
  font-size: 0;
  height: 35px;
  width: 18px;
  margin-right: 4px;
  transition: border-radius 300ms linear;
}

#scrollTop span::after {
  content: "";
  position: absolute;
  display: inline-block;
  margin-top: -1px;
  left: 0;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 1px;
  border-right: 2px solid #ffffff;
  border-top: 2px solid #ffffff;
  transform: rotate(-45deg);
}

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

#vernetzt {
  gap: 12px;
  text-align: right;
  font-size: 0.9375rem;
  color: #2b2b2b;
  line-height: 1.3;
  text-decoration: none;
  margin-top: 10px;
}

#vernetzt span span {
  display: block;
}

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

#innerfooter {
  font-size: 1rem;
  color: #ffffff;
  padding-top: 22px;
  padding-bottom: 22px;
  background-color: #c61a2c;
}

#innerfooter ul {
  padding: 0 !important;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
}

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

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

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

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

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