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

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

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

a {
  color: #9a181a;
}

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

b,
strong {
  font-weight: 700;
}

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

.overflow {
  overflow: clip;
  position: relative;
}
/* ------------------------------------------- topbar ------------------------------------------- */
#topbar {
  background-color: #7f1719;
}

@media (min-width: 992px) {
  #topbar {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: rgba(26, 26, 26, 0.01);
    z-index: 100;
  }
}
#topbar > .row {
  padding: 12px 0;
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

@media (min-width: 992px) {
  #logo {
    margin-top: 9px;
  }
}

/* #region ------------------------------- contrast + styler ------------------------------------ */
@media (min-width: 992px) {
  #stylerBox {
    margin-top: -12px;
  }
}

#contrast_style + #style {
  margin-left: clamp(20px, 2vw, 30px);
}

#style,
#contrast_style {
  line-height: 1;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #options {
    row-gap: 4px;
  }

  #style,
  #contrast_style {
    align-items: center;
    column-gap: 5px;
  }
}

:is(#contrast_style, #style) h2 {
  font-size: 1.25rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0px 21px 0px;
  font-family: "Lato", sans-serif;
}

:is(#style, #contrast_style) button {
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0;
  border: none;
  color: #1a1a1a;
  display: inline-block;
  min-width: 40px;
  min-height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  text-align: center;
  background: #fff;
  position: relative;
  line-height: 1;
}

:is(#style, #contrast_style) button:is(:hover, :focus) {
  background: #f2c94c;
}

:is(#style, #contrast_style) button + button {
  margin-left: 12px;
}

#contrast_style button::after {
  content: "";
  display: block;
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  bottom: 7px;
  border-radius: 50%;
  border: 1px solid #4b4b4b;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1) 50%, #444444 50%);
}

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

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

@media (max-width: 991px) {
  :is(#contrast_style, #style) h2 {
    text-align: left;
  }
  #stylerBox {
    margin-top: 10px;
  }

  :is(#style, #contrast_style) button {
    min-width: 30px;
    min-height: 30px;
  }
}

/* #endregion ---------------------------- contrast + styler ------------------------------------ */

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

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

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

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
}
@media (min-width: 992px) {
  #headerpic {
    background-color: #1a1a1a;
  }

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

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

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

/* banner overlay */

#headerpic-overlay {
  padding: 30px 0;
  font-size: clamp(1.5625rem, 3vw, 1.875rem);
  color: #1a1a1a;
  font-family: "Lato", sans-serif;
}

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

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

  #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: 90px;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* search */

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

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

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

#search_submit {
  border: none;
  background: url("../img/icon-search.png") 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: rgba(154, 24, 26, 0.2);
}

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

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

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

/* burgermenu for tablet */

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

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

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

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

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

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

  #burgerButtonInner {
    top: 10px;
  }

  #burgerButton:before {
    top: 18px;
  }

  #burgerButton:after {
    top: 26px;
  }

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

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

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

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

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

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

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

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

/* menu desktop */

@media (min-width: 992px) {
  #menu {
    background-color: #9a181a;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
  }

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

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

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

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

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

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

  nav.horizontally .navbar-nav li.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;
  }

  .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: #fff;
  font-weight: 400;
  text-align: left;
  padding: 15px 35px 15px 15px;
  position: relative;
  font-size: 1.0625rem;
  text-transform: uppercase;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
}

@media (max-width: 991px) {
  .navbar-default .navbar-nav > li {
    border-bottom: 1px solid rgba(68, 68, 68, 0.2);
  }
  .navbar-default .navbar-nav > li > a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

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

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

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > a::after {
    top: 0;
    bottom: auto;
  }
}

/* -------------------------------------------- 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: #fff;
}

.navbar-nav > li:focus-within > a {
  color: #fff;
}

.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 {
  width: 55%;
}

.navbar-nav > li:focus-within > a::after {
  width: 55%;
}

@media (max-width: 991px) {
  .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 {
    width: 100%;
  }

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

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

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

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

@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: 50%;
    -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 > .dropdown-menu::after {
    content: "";
    display: block;
    position: absolute;
    left: 50%;
    top: -20px;
    margin-left: -20px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 20px 20px 0 20px;
    border-color: #f2c94c transparent transparent transparent;
    -webkit-transition: top 150ms linear;
    -moz-transition: top 150ms linear;
    -ms-transition: top 150ms linear;
    -o-transition: top 150ms linear;
    transition: top 150ms linear;
  }

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

/* --------------------------------------------- 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 (max-width: 991px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

@media (min-width: 992px) {
  .navbar-default .navbar-nav > li > .dropdown-menu > li > a,
  .navbar-default .navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li > a {
    text-align: center;
    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: #7f1719;
}

.navbar-nav > li > .dropdown-menu > li:focus-within > a,
.navbar-nav > li > .dropdown-menu > li > .dropdown-menu > li:focus-within > a {
  background: #7f1719;
}

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

#content {
  text-align: left;
  background-color: #ffffff;
  padding-bottom: clamp(40px, 6vw, 95px);
  padding-top: clamp(30px, 4vw, 65px);
}

@media (min-width: 992px) {
  #content {
    background: #ffffff center bottom / 100% auto no-repeat;
  }

  #contentCol {
    padding-top: 30px;
  }
}

#content > .row {
  row-gap: 40px;
}

/* #region -------------------------------------- tabs ------------------------------------------ */

#tabsLeft,
#tabsRight {
  display: grid;
  gap: 30px;
  padding-top: clamp(30px, 4vw, 65px);
}

@media (min-width: 992px) {
  #tabsLeft,
  #tabsRight {
    align-items: start;
    align-content: start;
  }

  #tabsLeft {
    padding-right: clamp(20px, 2vw, 38px);
  }

  #tabsRight {
    padding-left: clamp(20px, 2vw, 38px);
  }
}

.tab {
  width: 100%;
  max-width: 360px;
  margin: 32px auto 0 auto;
  position: relative;
  padding: 45px 20px 20px 20px;
  background: #ffffff;
  font-size: 0.9375rem;
  border: solid 1px #d1d1d1;
  font-family: "Lato", sans-serif;
}
.tab .clr-events-tab-h3 {
  font-size: 1.125rem !important;
}

#tabsLeft .tab::before,
#tabsRight .tab::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  position: absolute;
  top: -32px;
  left: 50%;
  margin-left: -30px;
  border-radius: 50%;
  background: #9a181a url("../img/kalendeer.png") center no-repeat;
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tabsRight #tab2::before {
  background-image: url("../img/nachrichten.png");
}

.tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
  color: #1a1a1a;
  font-size: 1.625rem;
  text-transform: uppercase;
  margin: 0 0 16px 0;
  text-align: center;
  font-weight: 600;
  font-family: "Khand", sans-serif;
  hyphens: auto;
}

.tab .tab_link_title a {
  color: #1a1a1a;
  font-weight: 700;
}

.tab .tab_link_mandat a {
  color: #1a1a1a;
}

.tab .tab_link_mehr {
  font-size: 0;
}

.tab .tab_link_mehr a {
  text-decoration: none;
  padding: 4px 15px 3px 15px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  background: #fafafa;
  color: #9a181a;
  font-weight: 600;
  font-family: "Khand", sans-serif;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

:is(#tab3, .tab .tab_link_mehr, #teaser) a:is(:hover, :focus) {
  background: #9a181a;
  color: #ffffff;
}

.tab .eventclndr-tab {
  margin-bottom: 22px;
}

.tab #clr-events-hide > p:first-child {
  margin-bottom: 15px;
}

.tab .tab_spacer {
  height: 15px;
}

/* #endregion ----------------------------------- tabs ------------------------------------------ */

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

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

h1,
.h1,
.legacy_h1 {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
}

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

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

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

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

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

/* --------------------------------------------- teaser ----------------------------------------- */

#teaser {
  margin: 80px 0 0 0;
  padding: 100px 0 0 0;
  min-height: 345px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

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

footer {
  color: #ffffff;
  background: #9a181a;
  font-size: 0.9375rem;
}

footer a,
footer a:is(:hover, :focus) {
  color: #ffffff;
}

footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #ffffff;
  font-size: 1.375rem;
  text-transform: uppercase;
  margin: 0;
  font-weight: 600;
  hyphens: initial;
  margin-bottom: 5px;
  line-height: 1.4;
}

#footer {
  padding: 40px 0 40px 0;
}

@media (min-width: 992px) {
  #footer {
    padding: 40px 0;
  }
}

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

:is(.footerTab, .socialTab) a {
  text-decoration: underline;
}

.footerTab :is(iframe, .iframe-wrapper-manual-enabling) {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

#innerfooter ul {
  padding: 0;
  line-height: 1.7;
}

@media (min-width: 992px) {
  #innerfooter ul {
    margin-bottom: -10px;
  }
}

#innerfooter a {
  font-size: 1.25rem;
  font-family: "Khand", sans-serif;
  text-transform: uppercase;
}

#innerfooter li::before {
  content: "\0007C";
  color: #ffffff;
  position: relative;
  bottom: 2px;
  margin-right: 4px;
}

.socialTab p {
  display: inline-block;
  padding: 0 5px;
}

.socialTab img {
  max-height: 25px;
  vertical-align: middle;
}

.socialTab a img {
  transition: all 0.3s 0s ease;
}

.socialTab a:is(:focus, :hover) img {
  transform: scale(1.3);
}

@media (min-width: 1200px) {
  .socialTab {
    margin-left: -5px;
  }
}

/* #endregion -------------------------------- footer ------------------------------------------- */
#counter {
  position: relative;
  text-decoration: none;
  padding: 4px 15px;
  display: inline-block;
  border-radius: 2px;
  font-size: 1rem;
  color: #ffffff;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#counter {
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  font-weight: 400;
}

#counter-l {
  margin-right: 20px;
}
.lastOne {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  align-content: center;
  gap: 45px;
}

@media (max-width: 767px) {
  .lastOne {
    align-items: center;
  }
}
/* ------------------------------------------ vernetzt ------------------------------------------ */

#vernetzt {
  gap: 10px;
  text-align: right;
  font-size: 0.8125rem;
  color: #ffffff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

/* ------------------------------------------- footer2 ------------------------------------------ */

#footer2 {
  padding: 17px 0 12px 0;
  background: #7f1719;
}

#scrollTopBtn {
  position: relative;
  text-decoration: none;
  padding: 4px 15px 3px 15px;
  display: inline-block;
  border-radius: 2px;
  font-size: 0.9375rem;
  color: #ffffff;
  font-weight: 600;
  font-family: "Khand", sans-serif;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

#scrollTopBtn:is(:hover, :focus) {
  background: rgba(0, 0, 0, 0.2);
}

#scrollTopBtn::after {
  content: "\00BB";
  position: relative;
  bottom: 1px;
  display: inline-block;
  margin-left: 21px;
  transform: rotate(-90deg);
}

/* ------------------------------------------- contrast ----------------------------------------- */

.contrast_light_font :is(form[id^="search"], #search_input1, #footer2) {
  background-color: #fff !important;
}

.contrast_dark_font :is(form[id^="search"], #search_input1, #scrollTopBtn) {
  background-color: #ffffff !important;
}

.contrast_dark #headerpic-overlay {
  background-color: transparent !important;
}
.contrast_dark_font #headerpic-overlay .template-page {
  background-color: #fff !important;
}
.contrast_dark_font #topbar {
  background-color: #fff !important;
}
.contrast_dark #style button {
  border: solid 1px #fff;
}

.contrast_dark_font #style button {
  border: solid 1px #000;
}

.contrast_dark_font.socialTab img {
  background-color: #000 !important;
}
.contrast_dark_font #logo {
  background-color: #000 !important;
}

:is(.contrast_light_font, .contrast_dark_font) #content,
.contrast_light_font #teaser > .row,
.contrast_light_font #teaser > .row > * {
  background: none !important;
}
