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

body {
   font-family: "Jost", sans-serif;
   font-weight: 400;
   color: #444444;
   background: #ffffff;
   font-size: 1rem;
   /* 1rem = 16px */
   line-height: 1.5;
}

@media (min-width: 992px) {
   body {
      font-size: 1.125rem;
   }
}

@media (min-width: 1200px) {
   body {
      font-size: 1.25rem;
   }
}

a {
   color: #c3551d;
}

#content a {
   text-decoration: underline;
}

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

b,
strong {
   font-weight: 600;
}

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

#logo {
   display: inline-block;
}

#logo img {
   display: block;
}

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

/* ------------------------------------------------ search ---------------------------------------------- */

form[id^="search"] label {
   text-transform: uppercase;
   font-weight: 400;
   margin-right: 10px;
}

@media (min-width: 1200px) {
   form[id^="search"] label {
      margin-right: 20px;
   }
}

form[id^="search"] {
   height: 36px;
   background: transparent;
   display: inline-block;
   position: relative;
}

form [id^="search_input"] {
   color: #ffffff;
   font-size: 14px;
   font-style: normal;
   font-weight: 300;
   background: transparent;
   padding: 0;
   border: 0;
   line-height: 36px;
   padding-left: 5px;
   padding-right: 30px;
   height: 36px;
   width: 100%;
   min-width: 170px;
}

@media (min-width: 1200px) {
   form [id^="search_input"] {
      max-width: 170px;
   }
}

form [id^="search_submit"] {
   width: 30px;
   height: 36px;
   border: none;
   background: url("../img/lupe-icon.png") center no-repeat;
   padding: 0;
   cursor: pointer;
   position: absolute;
   top: 0;
   right: 0;
   font-size: 0;
}

form [id^="search_submit"]:hover,
form [id^="search_submit"]:focus {
   background-color: #c3551d;
}

[id^="search_input"]::-ms-input-placeholder {
   color: #ffffff !important;
   font-style: italic;
}

[id^="search_input"]::-webkit-input-placeholder {
   color: #ffffff !important;
   font-style: italic;
}

[id^="search_input"]::-moz-placeholder {
   opacity: 1;
   font-style: italic;
}

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

/* burgermenu for tablet */

@media (max-width: 991px) {
   #menu {
      padding: 10px 0;
      background-color: #ffffff;
      -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
   }

   #burgerButton {
      font-size: 0;
      display: block;
      height: 50px;
      width: 60px;
      border-radius: 2px;
      padding: 6px 8px;
      cursor: pointer;
      background: #ffffff;
      border: none !important;
      -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);
   }

   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      background-color: #c3551d;
      border-radius: 2px;
      position: absolute;
      width: 40px;
      height: 3px;
      left: 10px;
      -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"] #burgerButtonInner2 {
      opacity: 0;
   }

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

   #burgerButtonInner {
      top: 16px;
   }

   #burgerButtonInner2 {
      top: 24px;
   }

   #burgerButton:after {
      top: 32px;
      content: "";
      display: block;
   }

   .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[aria-expanded="true"],
   .navbar-collapse.in {
      left: 0;
      opacity: 1;
      pointer-events: auto;
   }

   .navbar-header {
      position: fixed;
      top: 15px;
      right: 15px;
      z-index: 101;
   }

   .navbar-toggle::before {
      content: "";
      opacity: 0;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 0;
      z-index: -1;
      display: block;
      background-color: rgba(0, 0, 0, 0.5);
      -webkit-transition: width 300ms linear, opacity 300ms linear;
      -moz-transition: width 300ms linear, opacity 300ms linear;
      -ms-transition: width 300ms linear, opacity 300ms linear;
      -o-transition: width 300ms linear, opacity 300ms linear;
      transition: width 300ms linear, opacity 300ms linear;
   }

   .navbar-toggle[aria-expanded="true"]::before {
      opacity: 1;
      width: 90px;
   }

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

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

@media (min-width: 992px) {
   #menu {
      padding: 18px 0;
      background-color: #ffffff;
      -webkit-box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
      box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
   }

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

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

@media (min-width: 1200px) {
   #menu {
      padding: 25px 0;
      background-color: #ffffff;
   }
}

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

.navbar-default .navbar-nav>li>a {
   color: #21242a;
   font-weight: 300;
   text-align: left;
   padding: 12px 15px;
   position: relative;
   font-size: 1.5rem;
   line-height: 1.2;
   text-decoration: none;
}

@media (max-width: 991px) {
   .navbar-default .navbar-nav>li {
      border-bottom: 1px solid rgba(0, 0, 0, 0.15);
   }

   nav.horizontally .navbar-nav>li>a.dropdown-toggle {
      padding-right: 35px;
   }
}

@media (min-width: 992px) {
   .navbar-default .navbar-nav>li+li {
      margin-left: 15px;
   }

   .navbar-default .navbar-nav>li>a {
      padding: 5px 0;
      display: flex;
      align-content: center;
      align-items: center;
      justify-content: center;
      text-align: center;
      height: 100%;
   }

   .navbar-default .navbar-nav>li>a.dropdown-toggle {
      padding-right: 15px;
   }

   .navbar-default .navbar-nav>li>a.dropdown-toggle::after {
      content: "";
      position: absolute;
      display: block;
      right: 0;
      top: 50%;
      margin-top: -5px;
      width: 5px;
      height: 5px;
      border-left: 1px solid #21242a;
      border-bottom: 1px solid #21242a;
      -moz-transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
   }
}

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

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

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

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

.navbar-default .navbar-nav>li>.dropdown-menu,
.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
   background-color: #ffffff;
   border-left: 6px solid #c3551d;
   -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
   box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

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

@media (min-width: 992px) {

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

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

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

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

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

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

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

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

nav.horizontally .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2 {
   padding-right: 35px;
}

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

   .navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2::before {
      content: "";
      position: absolute;
      display: block;
      right: 20px;
      top: 50%;
      margin-top: -4px;
      width: 4px;
      height: 4px;
      border-radius: 1px;
      border-right: 1px solid #21242a;
      border-bottom: 1px solid #21242a;
      -moz-transform: rotate(-45deg);
      -webkit-transform: rotate(-45deg);
      -o-transform: rotate(-45deg);
      -ms-transform: rotate(-45deg);
      transform: rotate(-45deg);
      -webkit-transition: border 300ms linear;
      -moz-transition: border 300ms linear;
      -ms-transition: border 300ms linear;
      -o-transition: border 300ms linear;
      transition: border 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>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: #c3551d;
}

.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>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: calc(100% - 60px);
}

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2:focus::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li:hover>a.dropdown-toggle2::before,
.navbar-default .navbar-nav>li>.dropdown-menu>li>a.dropdown-toggle2:hover::before {
   border-right: 1px solid #c3551d;
   border-bottom: 1px solid #c3551d;
}

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

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

#slider {
   max-height: 300px;
   overflow: hidden;
   position: relative;
}

@media (min-width: 992px) {
   #slider {
      max-height: 400px;
   }

   body.index #slider {
      max-height: 800px;
   }

   #headerpic {
      background-color: #444444;
   }
}

#headerpic {
   margin: 0 auto;
   position: relative;
   width: 100%;
   overflow: hidden;
}

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

.slider-mask {
   display: none;
}

body.index .slider-mask {
   display: block;
}

body.index .slider-mask::after {
   content: "";
   position: absolute;
   top: -16vw;
   right: 54%;
   bottom: -11vw;
   left: 0px;
   display: block;
   background: rgba(15, 26, 53, 0.75);
   border-top-right-radius: 50%;
   border-bottom-right-radius: 50%;
}

@media (max-width: 991px) {
   body.index .slider-mask::after {
      right: 55%;
      bottom: 0;
   }
}

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

@media (min-width: 992px) {
   #headerpic .nivo-directionNav a {
      background: #ffffff;
      width: 60px;
      height: 48px;
      -moz-transform: skewX(-25deg);
      -webkit-transform: skewX(-25deg);
      -o-transform: skewX(-25deg);
      -ms-transform: skewX(-25deg);
      transform: skewX(-25deg);
      -webkit-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
      -moz-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
      -ms-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
      -o-transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
      transition: width 300ms linear, opacity 300ms linear, background 300ms linear;
   }

   #headerpic:hover .nivo-directionNav a,
   #headerpic:focus .nivo-directionNav a {
      width: 100px;
   }

   #headerpic .nivo-directionNav a:hover,
   #headerpic .nivo-directionNav a:focus {
      background: #21242a;
   }

   #headerpic .nivo-directionNav a::before,
   #headerpic .nivo-directionNav a::after {
      content: "";
      display: block;
      position: absolute;
   }

   #headerpic .nivo-directionNav a::before {
      height: 2px;
      width: 16px;
      top: 50%;
      margin-top: -1px;
      background: #21242a;
      -webkit-transition: background 300ms linear;
      -moz-transition: background 300ms linear;
      -ms-transition: background 300ms linear;
      -o-transition: background 300ms linear;
      transition: background 300ms linear;
   }

   #headerpic .nivo-directionNav a:hover::before,
   #headerpic .nivo-directionNav a:focus::before {
      background: #ffffff;
   }

   #headerpic .nivo-directionNav a::after {
      height: 8px;
      width: 8px;
      top: 50%;
      margin-top: -5px;
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      -o-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      -webkit-transition: border-color 300ms linear;
      -moz-transition: border-color 300ms linear;
      -ms-transition: border-color 300ms linear;
      -o-transition: border-color 300ms linear;
      transition: border-color 300ms linear;
   }

   #headerpic .nivo-directionNav a:hover::after,
   #headerpic .nivo-directionNav a:focus::after {
      border-color: #ffffff;
   }

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

   #headerpic a.nivo-prevNav::before {
      right: 16px;
   }

   #headerpic a.nivo-prevNav::after {
      right: 22px;
      border-left: 2px solid #21242a;
      border-bottom: 2px solid #21242a;
   }

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

   #headerpic a.nivo-nextNav::before {
      left: 16px;
   }

   #headerpic a.nivo-nextNav::after {
      left: 22px;
      border-right: 2px solid #21242a;
      border-top: 2px solid #21242a;
   }
}

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

@media (min-width: 992px) {
   #headerpic .nivo-controlNav {
      font-size: 0;
      max-width: 992px;
      text-align: right;
      left: 50%;
      bottom: 60px;
      -moz-transform: translateX(-50%);
      -webkit-transform: translateX(-50%);
      -o-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
      transform: translateX(-50%);
   }

   #headerpic .nivo-controlNav a {
      position: relative;
      background: #ffffff;
      opacity: 0.4;
      margin: 0;
      height: 5px;
      width: 30px;
      -webkit-transition: opacity 300ms linear;
      -moz-transition: opacity 300ms linear;
      -ms-transition: opacity 300ms linear;
      -o-transition: opacity 300ms linear;
      transition: opacity 300ms linear;
   }

   #headerpic .nivo-controlNav a::before {
      content: "";
      display: block;
      position: absolute;
      top: -15px;
      right: 0;
      bottom: -15px;
      left: 0;
   }

   #headerpic .nivo-controlNav a.active,
   #headerpic .nivo-controlNav a:hover,
   #headerpic .nivo-controlNav a:focus {
      opacity: 1;
   }
}

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

/* ----------------------------------------------- overlay ----------------------------------------------- */

#overlay {
   font-weight: 600;
   font-style: italic;
   font-size: calc(16px + (24 - 16) * (100vw - 320px) / (1920 - 320));
   pointer-events: none;
}

@media (max-width: 991px) {
   #overlay {
      padding-top: 25px;
      padding-bottom: 20px;
   }
}

@media (min-width: 992px) {
   #overlay {
      color: #ffffff;
      position: absolute;
      z-index: 60;
      right: 0;
      bottom: 100px;
      left: 0;
   }
}

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

#overlay>.row {
   pointer-events: all;
}

@media (min-width: 1200px) {
   #overlay>.row {
      max-width: 1390px;
      width: 100%;
   }
}

#overlay h1,
#overlay h2,
#overlay h3,
#overlay h4,
#overlay h5,
#overlay h6 {
   color: #fff;
}

@media (max-width: 991px) {

   #overlay h1,
   #overlay h2,
   #overlay h3,
   #overlay h4,
   #overlay h5,
   #overlay h6 {
      color: #0f1a35;
   }
}

#overlay h1,
#overlay h2 {
   font-size: calc(30px + (50 - 30) * (100vw - 320px) / (1920 - 320));
   line-height: 1.1;
   margin-bottom: 0;
}

#overlay h3,
#overlay h4 {
   font-size: calc(30px + (40 - 30) * (100vw - 320px) / (1920 - 320));
   line-height: 1.1;
   margin-bottom: 0px;
}

@media (min-width: 992px) {
   #overlay p:first-of-type {
      padding-left: 15px;
   }
}

/* --------------------------------------------- button design --------------------------------------------- */

#overlay a,
#team a {
   border: 2px solid #ffffff;
}

@media (max-width: 991px) {

   #overlay a,
   #team a {
      background: #21242a;
   }
}

.news .tab_link_mehr a,
#events .tab_link_mehr a,
.news .tab_link_entry>div:nth-last-child(2) a {
   background: #c3551d;
   border: 2px solid #c3551d;
}

#overlay a,
.news .tab_link_mehr a,
#events .tab_link_mehr a,
#team a,
.news .tab_link_entry>div:nth-last-child(2) a {
   color: #ffffff;
   font-style: normal;
   position: relative;
   z-index: 1;
   overflow: hidden;
   font-weight: 600;
   font-size: 1rem;
   display: inline-block;
   line-height: 1;
   padding: 8px 20px;
   text-decoration: none;
   -webkit-transition: background 300ms linear 300ms, border 300ms linear 300ms;
   -moz-transition: background 300ms linear 300ms, border 300ms linear 300ms;
   -ms-transition: background 300ms linear 300ms, border 300ms linear 300ms;
   -o-transition: background 300ms linear 300ms, border 300ms linear 300ms;
   transition: background 300ms linear 300ms, border 300ms linear 300ms;
}

#events .tab_link_mehr a,
.news .tab_link_entry>div:nth-last-child(2) a {
   font-size: 0;
}

#events .tab_link_mehr a::before,
.news .tab_link_entry>div:nth-last-child(2) a::before {
   font-size: 1rem;
}

@media (min-width: 992px) {

   #overlay a,
   .news .tab_link_mehr a,
   #events .tab_link_mehr a,
   #team a {
      padding: 10px 35px;
   }
}

#overlay a::after {
   background: #c3551d;
}

.news .tab_link_mehr a::after,
#events .tab_link_mehr a::after,
#team a::after,
.news .tab_link_entry>div:nth-last-child(2) a::after {
   background: #0f1a35;
}

#overlay a::after,
.tab_link_mehr a::after,
#team a::after,
.news .tab_link_entry>div:nth-last-child(2) a::after {
   content: "";
   display: block;
   position: absolute;
   z-index: -1;
   top: 0;
   bottom: 0;
   left: 0;
   width: 0;
   pointer-events: none;
   text-decoration: none;
   -webkit-transition: width 300ms linear;
   -moz-transition: width 300ms linear;
   -ms-transition: width 300ms linear;
   -o-transition: width 300ms linear;
   transition: width 300ms linear;
}

#overlay a:hover,
#overlay a:focus {
   background: #c3551d;
   border-color: #c3551d;
}

.news .tab_link_mehr a:hover,
.news .tab_link_mehr a:focus,
#team a:hover,
#team a:focus {
   background: #0f1a35;
   border-color: #0f1a35;
}

#events .tab_link_mehr a:hover,
#events .tab_link_mehr a:focus,
.news .tab_link_entry>div:nth-last-child(2) a:hover,
.news .tab_link_entry>div:nth-last-child(2) a:focus {
   background: rgba(0, 0, 0, 0.4);
   border-color: #ffffff;
}

#overlay a:hover::after,
#overlay a:focus::after,
.tab_link_mehr a:hover::after,
.tab_link_mehr a:focus::after,
#team a:hover::after,
#team a:focus::after,
.news .tab_link_entry:hover>div:nth-last-child(2) a::after,
.news .tab_link_entry:focus>div:nth-last-child(2) a::after {
   width: 100%;
}

#overlay a+a,
#team a+a {
   margin-left: 15px;
}

@media (min-width: 768px) {

   #overlay a+a,
   #team a+a {
      margin-left: 30px;
   }
}

/* ------------------------------------------------ news ----------------------------------------------- */

#news {
   margin-top: 2px;
}

#news>.row {
   max-width: 100%;
   width: 100%;
}

#news>.row,
#news>.row>* {
   margin: 0;
   padding: 0;
}

@media (min-width: 576px) {
   #news .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
   }
}

@media (min-width: 576px) and (max-width: 991px) {
   #news .tab_link_entry {
      width: calc(50% - 2px);
      margin-top: 2px;
   }

   #news .tab_link_entry:nth-child(2n + 2) {
      width: 50%;
      margin-left: 2px;
   }
}

@media (min-width: 992px) {
   #news .tab_link_entry {
      width: calc(25% - 2px);
   }

   #news .tab_link_entry:last-child {
      width: 25%;
   }

   #news .tab_link_entry+.tab_link_entry {
      margin-left: 2px;
   }
}

.news .tab_link_entry {
   overflow: hidden;
   position: relative;
   background: rgba(0, 0, 0, 0.4);
   min-height: 150px;
   padding: 45px 50px 45px 20px;
   border-bottom: none !important;
}

@media (min-width: 992px) {
   .news .tab_link_entry {
      min-height: 250px;
      padding-right: calc(50px + (170 - 50) * (100vw - 992px) / (1920 - 992));
   }
}

.news .tab_link_entry::before {
   content: "";
   pointer-events: none;
   position: absolute;
   z-index: 1;
   top: -50px;
   left: -150px;
   bottom: -50px;
   right: 50px;
   background: rgba(34, 35, 38, 0.75);
   -webkit-transition: right 300ms linear;
   -moz-transition: right 300ms linear;
   -ms-transition: right 300ms linear;
   -o-transition: right 300ms linear;
   transition: right 300ms linear;
   border-top-right-radius: 50%;
   border-bottom-right-radius: 50%;
}

@media (min-width: 992px) {
   .news .tab_link_entry::before {
      right: calc(50px + (90 - 50) * (100vw - 992px) / (1920 - 992));
      left: -5vw;
   }
}

.news .tab_link_entry:hover .tab_date,
.news .tab_link_entry:focus .tab_date,
.news .tab_link_entry:hover .tab_link_title,
.news .tab_link_entry:focus .tab_link_title {
   opacity: 0;
}

.news .tab_link_entry:hover::before,
.news .tab_link_entry:focus::before {
   right: 120%;
}

.news .tab_link_entry::after {
   content: "";
   display: block;
   position: absolute;
   z-index: -1;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   background: url("../img/news-placeholder.png") center / cover no-repeat;
}

.news .tab_link_title,
.news .tab_date {
   position: relative;
   z-index: 2;
   -webkit-transition: opacity 300ms linear;
   -moz-transition: opacity 300ms linear;
   -ms-transition: opacity 300ms linear;
   -o-transition: opacity 300ms linear;
   transition: opacity 300ms linear;
}

.news .tab_link_title a {
   color: #ffffff;
   font-size: 1.25rem;
   font-weight: 600;
   line-height: 1.2;
   display: block;
}

.news .tab_date {
   color: #ffffff;
   font-size: 1rem;
   pointer-events: none;
}

.news .tab_preview_picture {
   display: block;
   position: absolute;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   overflow: hidden;
}

.news .tab_preview_picture img {
   position: absolute;
   margin: 0 !important;
   left: 50%;
   top: 50%;
   max-width: none;
   min-width: 100%;
   min-height: 100%;
   max-width: 35vw;
   width: auto;
   height: auto;
   -ms-interpolation-mode: bicubic;
   -moz-transform: translateX(-50%) translateY(-50%);
   -webkit-transform: translateX(-50%) translateY(-50%);
   -o-transform: translateX(-50%) translateY(-50%);
   -ms-transform: translateX(-50%) translateY(-50%);
   transform: translateX(-50%) translateY(-50%);
}

.news .vorschau,
.news .tab_spacer {
   display: none;
}

.news .tab_link_mehr {
   padding-top: 2px;
}

.news .tab_link_entry>div:nth-last-child(2) a {
   position: absolute;
   right: 20px;
   bottom: 20px;
   opacity: 0;
   -webkit-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
   -moz-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
   -ms-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
   -o-transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
   transition: background 300ms linear 300ms, border 300ms linear 300ms, opacity linear 300ms;
}

.news .tab_link_entry>div:nth-last-child(2) {
   font-size: 0;
}

.news .tab_link_entry:hover>div:nth-last-child(2) a,
.news .tab_link_entry:focus>div:nth-last-child(2) a {
   opacity: 1;
}

.news .tab_link_entry>div:nth-last-child(2) a::before {
   content: "Artikel lesen";
}

@media (max-width: 991px) {
   #news .tab_link_entry+.tab_link_entry {
      margin-top: 2px;
   }
}

/* ------------------------------------------------ slogan ----------------------------------------------- */

#slogan {
   color: #c3551d;
   font-size: calc(26px + (60 - 26) * (100vw - 320px) / (1920 - 320));
   font-weight: 600;
   font-style: italic;
   line-height: 1;
}

#slogan>.row {
   padding-top: 50px;
   padding-bottom: 10px;
   position: relative;
}

@media (max-width: 575px) {
   #slogan>.row {
      padding-top: 50px;
      padding-bottom: 30px;
   }
}

@media (max-width: 991px) {
   #slogan>.row {
      background-size: auto 100%;
   }
}

@media (min-width: 992px) {
   #slogan>.row {
      padding-top: 80px;
      padding-bottom: 100px;
      min-height: 342px;
      margin-top: -40px;
   }
}

@media (min-width: 1200px) {
   #slogan>.row {
      padding-top: 110px;
      padding-bottom: 90px;
   }
}

#slogan>.row::before {
   content: "";
   position: absolute;
   z-index: -1;
   top: 0;
   right: 0;
   bottom: 0;
   left: 0;
   background: url("../img/slogan-hintergrund.png") center right 130px / contain no-repeat;
   max-height: 400px;
}

#slogan b,
#slogan strong {
   color: #0f1a35;
   font-size: calc(50px + (100 - 50) * (100vw - 320px) / (1920 - 320));
   margin: 0;
}

#slogan a {
   text-decoration: underline;
   font-style: normal;
}

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

#content {
   text-align: left;
   padding-bottom: 40px;
   background: url(../img/bg-main.png) no-repeat bottom 20px center / 95% auto;
}

body:not(.index) #content {
   padding-top: 30px;
}

@media (min-width: 768px) {
   #content {
      padding-bottom: 60px;
   }

   body:not(.index) #content {
      padding-top: 40px;
   }
}

@media (min-width: 992px) {
   #content {
      padding-bottom: 90px;
   }
}

@media (min-width: 1200px) {
   #content {
      padding-bottom: 115px;
   }
}

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

.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
H6,
H5,
H4,
H3,
H2,
H1 {
   color: #21242a;
   font-weight: 600;
   line-height: 1.2;
   font-style: italic;
   font-family: "Jost", sans-serif;
}

h1,
.h1,
.legacy_h1,
.tabsHeadline h2 {
   font-size: calc(30px + (55 - 30) * (100vw - 320px) / (1920 - 320));
   margin-bottom: 20px;
}

@media (min-width: 992px) {

   #content h1,
   .h1,
   #content .legacy_h1,
   #tabs .tabsHeadline h2 {
      margin-bottom: 30px;
   }
}

@media (min-width: 1200px) {

   #content h1,
   .h1,
   #content .legacy_h1,
   #tabs .tabsHeadline h2 {
      margin-bottom: 40px;
   }

   #tabs .tabsHeadline h2 {
      font-size: calc(60px + (80 - 60) * (100vw - 1200px) / (1920 - 1200));
   }
}

h1 i,
h1 em,
.h1 i,
.h1 em,
#team h2 i,
#team h2 em,
#tabs .tabsHeadline h2 i,
#tabs .tabsHeadline h2 em {
   font-size: 66%;
   display: block;
}

h2,
.h2,
.legacy_h2 {
   font-size: calc(28px + (50 - 28) * (100vw - 320px) / (1920 - 320));
}

h3,
.h3,
.legacy_h3 {
   font-size: calc(26px + (43 - 26) * (100vw - 320px) / (1920 - 320));
}

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
   font-size: calc(24px + (36 - 24) * (100vw - 320px) / (1920 - 320));
}

h5,
.h5,
.legacy_h5 {
   font-size: calc(22px + (29 - 22) * (100vw - 320px) / (1920 - 320));
}

h6,
.h6,
.legacy_h6 {
   font-size: calc(20px + (22 - 20) * (100vw - 320px) / (1920 - 320));
}

#newslinks,
#newsmandate {
   border: 1px solid #21242a;
}

/* ----------------------------------------------- events ----------------------------------------------- */

#events {
   padding-bottom: 40px;
   padding-top: 40px;
   background-color: #222326;
   background-position: center;
   background-repeat: no-repeat;
   background-attachment: fixed;
   background-size: cover;
}

@media (min-width: 768px) {
   #events {
      padding-bottom: 60px;
      padding-top: 60px;
   }
}

@media (min-width: 992px) {
   #events {
      padding-bottom: 90px;
      padding-top: 75px;
   }
}

@media (min-width: 1200px) {
   #events {
      padding-bottom: 120px;
      padding-top: 105px;
   }
}

.eventsHeadline {
   color: #ffffff;
}

@media (min-width: 576px) {
   #events .tab_link_entries {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -ms-flex-wrap: wrap;
      flex-wrap: wrap;
   }
}

@media (min-width: 576px) and (max-width: 767px) {
   #events .tab_link_entry {
      width: calc(50% - 15px);
   }

   #events .tab_link_entry:nth-child(2n + 1) {
      margin-right: 15px;
   }

   #events .tab_link_entry:nth-child(2n + 2) {
      margin-left: 15px;
   }
}

@media (min-width: 768px) {
   #events .tab_link_entry {
      width: calc(33.33% - 20px);
   }

   #events .tab_link_entry:not(:nth-child(3n + 1)) {
      margin-left: 30px;
   }
}

#events .tab_link_entries {
   counter-reset: section;
}

#events .tab_link_entry {
   background: #ffffff;
   margin-bottom: 30px;
   padding: 45px 20px;
   overflow: hidden;
   position: relative;
}

#events .tab_link_entry::before {
   counter-increment: section;
   content: "0"counter(section);
   font-size: 180px;
   font-style: italic;
   font-weight: 600;
   opacity: 0.1;
   pointer-events: none;
   position: absolute;
   right: 15px;
   bottom: -50px;
   color: #00704d;
   line-height: 1;
}

#events .tab_link_title {
   margin-bottom: 6px;
}

#events .tab_link_title a {
   color: #21242a;
   font-size: 1.25rem;
   font-weight: 600;
   line-height: 1.2;
   display: block;
}

#events .tab_link_date {
   font-size: 1rem;
}

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

#events .tab_link_mehr a::before {
   content: "Alle Veranstaltungen";
}

/* ------------------------------------------------ team ----------------------------------------------- */

#team {
   padding-bottom: 40px;
   padding-top: 40px;
   background-color: #21242a;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
   color: #ffffff;
   overflow: hidden;
   position: relative;
}

@media (min-width: 768px) {
   #team {
      padding-bottom: 60px;
      padding-top: 60px;
   }

   #team .btgrid>.row {
      display: flex;
      align-items: flex-end;
      align-content: flex-end;
   }
}

@media (min-width: 992px) {
   #team {
      padding-bottom: 90px;
      padding-top: 75px;
   }
}

@media (min-width: 1200px) {
   #team {
      padding-bottom: 120px;
      padding-top: 105px;
   }
}

#team>.row {
   position: relative;
   z-index: 2;
}

#team::after {
   content: "";
   position: absolute;
   z-index: 1;
   top: -29vw;
   left: -8vw;
   bottom: -9vw;
   width: 63.8vw;
   background: #0f1a35;
   border-top-right-radius: 50%;
   border-bottom-right-radius: 50%;
}

.specialHeadline,
.specialHeadline h1,
.specialHeadline h2,
.specialHeadline h3,
.specialHeadline h4,
.specialHeadline h5,
.specialHeadline h6 {
   color: #fff;
}

.specialHeadline h2 {
   font-size: calc(30px + (65 - 30) * (100vw - 320px) / (1920 - 320));
   margin-bottom: 10px;
}

.specialHeadline h3 {
   font-size: calc(30px + (50 - 30) * (100vw - 320px) / (1920 - 320));
   margin-bottom: 10px;
}

.eventHeadline,
.eventHeadline h1,
.eventHeadline h2,
.eventHeadline h3,
.eventHeadline h4,
.eventHeadline h5,
.eventHeadline h6 {
   color: #fff;
}

.eventHeadline {
   margin-bottom: 45px;
}

.eventHeadline h2 {
   font-size: calc(30px + (60 - 30) * (100vw - 320px) / (1920 - 320));
   margin-bottom: 0;
}

.eventHeadline h3 {
   font-size: calc(30px + (40 - 30) * (100vw - 320px) / (1920 - 320));
   margin-bottom: 10px;
}

/* ----------------------------------------------- partner ----------------------------------------------- */

#partner {
   padding-bottom: 20px;
   padding-top: 40px;
   font-size: 1rem;
}

@media (min-width: 768px) {
   #partner {
      padding-top: 60px;
   }
}

#partner hr {
   margin: 40px 0 20px 0;
   background: #21242a;
   opacity: 0.2;
}

@media (min-width: 768px) {
   #partner hr {
      margin-top: 60px;
   }
}

/* ----------------------------------------------- footer ----------------------------------------------- */

#footer {
   background-color: #21242a;
   padding-top: 40px;
   padding-bottom: 40px;
   color: #ffffff;
   font-size: 1rem;
   background-position: center;
   background-repeat: no-repeat;
   background-size: cover;
}

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

@media (min-width: 768px) {
   #footer {
      padding-bottom: 60px;
      padding-top: 60px;
   }
}

@media (min-width: 1200px) {
   #footer {
      padding-bottom: 100px;
      padding-top: 100px;
   }
}

.footerTab a {
   color: #ffffff;
   text-decoration: underline;
}

.footerTab h1,
.footerTab h2,
.footerTab h3,
.footerTab h4,
.footerTab h5,
.footerTab h6 {
   color: #ffffff;
   font-size: 1.5rem;
   font-style: normal;
}

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

#vernetzt {
   text-align: right;
   font-size: 0.875rem;
   color: #ffffff;
   line-height: 1.3;
   margin: 30px auto 0 auto;
   text-decoration: none;
}

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

#vernetzt span span {
   display: block;
}

#vernetzt img {
   margin-left: 18px;
}

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

#counter {
   border: 1px solid rgba(255, 255, 255, 0.1);
   margin-top: 30px;
   display: block;
   width: 100%;
   padding: 9px 15px;
   text-align: justify;
   text-align-last: justify;
}

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

#innerfooter {
   background-color: #181a1f;
   padding-top: 26px;
   padding-bottom: 26px;
   font-size: 0.875rem;
}

#innerfooter ul {
   padding: 0;
}

#innerfooter li {
   display: inline-block;
}

#innerfooter a {
   color: #ffffff;
}

#innerfooter li+li::before {
   content: "•";
   margin: 0 15px;
   color: #ffffff;
}

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

/* --------------------------------------------- scroll top -------------------------------------------- */

#scrollTopBtn {
   font-weight: 600;
   display: inline-block;
}

@media (max-width: 767px) {
   #scrollTopBtn {
      margin-top: 20px;
   }
}

#scrollTopBtn::after {
   content: "";
   margin-left: 15px;
   position: relative;
   bottom: -2px;
   display: inline-block;
   width: 8px;
   height: 8px;
   border-radius: 1px;
   border-left: 2px solid #ffffff;
   border-bottom: 2px solid #ffffff;
   -moz-transform: rotate(135deg);
   -webkit-transform: rotate(135deg);
   -o-transform: rotate(135deg);
   -ms-transform: rotate(135deg);
   transform: rotate(135deg);
}