@import url('https://fonts.verwaltungsportal.de/import/?family=Jost:300,300i,400,400i,500,500i,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: #227aa1;
}

#content a {
  text-decoration: underline;
}

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

b, strong {
  font-weight: 600;
}

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

#menu>.row {
  position: relative;
}

#logo img {
  display: block;
}

@media (max-width: 991px) {
  #logo {
    margin: 15px 0;
  }

  #logo img {
    max-width: 160px;
    width: 100%;
  }
}

@media (min-width: 992px) {
  #logo img {
    -webkit-transition: max-width 300ms linear;
    -moz-transition: max-width 300ms linear;
    -ms-transition: max-width 300ms linear;
    -o-transition: max-width 300ms linear;
    transition: max-width 300ms linear;
  }

  .is-sticky #logo img {
    max-width: 450px;
  }
}

/* ----------------------------------------------- contact ----------------------------------------------- */

.contact {
  color: #2b2b2b;
  background: #c4ebf1;
  font-size: 0.875rem;
  font-weight: 300;
}

@media (max-width: 991px) {
  #menu .contact {
    padding: 15px;
  }
}

@media (min-width: 992px) {

  .contact div[class*="contact"] {
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .contactMail+.contactPhone {
    margin-left: 30px;
  }
}

.contact a {
  color: #2b2b2b;
}

.contactMail,
.contactPhone {
  padding-left: 20px;
  background-position: center left;
  background-repeat: no-repeat;
}

.contactMail {
  background-image: url('../img/mail-icon.png');
}

.contactMail a[href*="@"] {
  color: #00558e;
}

.contactPhone {
  background-image: url('../img/phone-icon.png');
}

.contact div[class*="contact"]+form[id^="search"] {
  padding-left: 40px;
  margin-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.3);
}

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

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

@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: #2b2b2b;
  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: #ffffff;
}

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

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

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  #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: #00704d;
    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 */

#menu {
  box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0px 0px 5px 5px rgba(0, 0, 0, 0.1);
}

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

  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: 10px 0 30px 0;
    background-color: #ffffff;
  }
}

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

.navbar-default .navbar-nav>li>a {
  color: #2b2b2b;
  font-weight: 500;
  text-align: left;
  padding: 12px 15px;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

@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 #227aa1;
    border-bottom: 1px solid #227aa1;
    -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: #227aa1;
}

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

/* -------------------------------------- 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-right: 6px solid #ffda5a;
  -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: 60px;
  }

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

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

  .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: #2b2b2b;
  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: #ffda5a;
  -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 #2b2b2b;
    border-bottom: 1px solid #2b2b2b;
    -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: #227aa1;
}

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

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

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

#overlay a {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid #ffffff;
}

@media (max-width: 991px) {

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

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

#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: #2b2b2b;
  font-style: normal;
  position: relative;
  z-index: 1;
  overflow: hidden;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  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: #0d71b4;
}

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

#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: #0d71b4;
  border-color: #0d71b4;
}

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

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

/* ------------------------------------------------ tabs ----------------------------------------------- */

#tabs {
  padding-top: 40px;
  padding-bottom: 40px;
  background: url('../img/phoenix-content-unten.png') bottom -10px left no-repeat;
  position: relative;
}

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

@media (min-width: 992px) {
  #tabs {
    padding-bottom: 90px;
    margin-top: -40px;
  }
}

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

  #tabs::before {
    content: '';
    display: block;
    width: 482px;
    height: 603px;
    position: absolute;
    right: 0;
    top: -200px;
    background: url('../img/phoenix-content-oben.png') center no-repeat;
    z-index: -1;
  }
}

#tabs .tabsRow {
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 992px) {
  #tabs .tabsRow>*:nth-child(2) {
    margin-top: 90px;
  }

  #tabs .tabsRow>*:nth-child(10),
  #tabs .tabsRow>*:nth-child(12),
  #tabs .tabsRow>*:nth-child(13),
  #tabs .tabsRow>*:nth-child(15),
  #tabs .tabsRow>*:nth-child(4),
  #tabs .tabsRow>*:nth-child(6),
  #tabs .tabsRow>*:nth-child(7),
  #tabs .tabsRow>*:nth-child(9) {
    margin-top: -90px;
  }
}

#tabs .tab {
  padding: 20px 20px 0 20px;
  font-size: 1rem;
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: 340px;
  display: flex;
  align-items: flex-end;
  align-content: flex-end;
  flex-wrap: wrap;
  background-size: 100% 400%;
  -webkit-transition: background linear 300ms;
  -moz-transition: background linear 300ms;
  -ms-transition: background linear 300ms;
  -o-transition: background linear 300ms;
  transition: background linear 300ms;
}

#tabs .tab:hover,
#tabs .tab:focus {
  background-size: 100% 100%;
}

#tabs .tab:focus-within {
  background-size: 100% 100%;
}

#tabs .tab,
#tabs .tab h1,
#tabs .tab h2,
#tabs .tab h3,
#tabs .tab h4,
#tabs .tab h5,
#tabs .tab h6 {
  color: #2b2b2b;
  font-size: 1.875rem;
  font-style: italic;
}

#tabs .tab a {
  color: #2b2b2b;
  text-decoration: underline;
}

#tabs .tabHeadline {
  color: #ffffff;
  font-size: 1.875rem;
  line-height: 1.7;
  white-space: pre-wrap;
  position: relative;
  z-index: 3;
  text-align: right;
  margin: 0 10px 25px 0;
  pointer-events: none;
}

#tabs .tabHeadline span {
  box-shadow: 0 0 0 6px #ffffff;
  background: #ffffff;
  box-decoration-break: clone;
}

#tabs .tabContent {
  padding-bottom: 20px;
  font-size: 1.125rem;
}

@media (min-width: 992px) {
  #tabs .tabContent {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height linear 500ms;
    -moz-transition: max-height linear 500ms;
    -ms-transition: max-height linear 500ms;
    -o-transition: max-height linear 500ms;
    transition: max-height linear 500ms;
  }

  #tabs .tab:hover .tabContent,
  #tabs .tab:focus .tabContent {
    max-height: 100%;
  }

  #tabs .tab:focus-within .tabContent {
    max-height: 100%;
  }
}

@media (min-width: 1200px) {
  #tabs .tabContent {
    padding: 0 40px;
  }
}

#tabs .tabContent .row,
#tabs .tabContent .row>* {
  position: static;
}

#tabs .tab1 {
  background-color: #227aa1;
  background-image: linear-gradient(to bottom, rgba(34, 122, 161, 0.6), rgba(34, 122, 161, 0.7));
}

#tabs .tab2 {
  background-color: #ffda5a;
  background-image: linear-gradient(to bottom, rgba(255, 218, 90, 0.67), rgba(255, 218, 90, 0.77));
}

#tabs .tab3 {
  background-color: #89c7e7;
  background-image: linear-gradient(to bottom, rgba(137, 199, 231, 0.6), rgba(137, 199, 231, 0.7));
}

#tabs .tab img {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  opacity: 0.3;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  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%);
  -webkit-transition: opacity linear 300ms;
  -moz-transition: opacity linear 300ms;
  -ms-transition: opacity linear 300ms;
  -o-transition: opacity linear 300ms;
  transition: opacity linear 300ms;
}

#tabs .tab:hover img,
#tabs .tab:focus img {
  opacity: 0.1;
}

#tabs .tab:focus-within img {
  opacity: 0.1;
}

#tabs .tab:focus,
#tabs .tab:hover {
  background-color: #fff;
}

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

#content {
  text-align: left;
  padding-bottom: 40px;
}

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

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

#team h1,
#team h2,
#team h3,
#team h4,
#team h5,
#team h6 {
  text-transform: uppercase;
}

#team {
  padding-bottom: 40px;
  padding-top: 40px;
  background-color: #89c7e7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #2b2b2b;
  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 h1,
#team h2,
#team h3,
#team h4,
#team h5,
#team h6 {
  color: #227aa1;
  font-style: italic;
  margin-bottom: 0;
  line-height: 1;
}

#team h1,
#team h2,
#team h3 {
  font-size: 5rem;
}

#team h4,
#team h5,
#team h6 {
  font-size: 2.8125rem;
}

#team a {
  padding: 20px 35px;
  font-size: 1.25rem;
  font-weight: 600;
  background: #ffda5a;
}

#team a::after {
  background: #fff;
}

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

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

h1, .h1, .legacy_h1, #team h2, #tabs .tabsHeadline h2 {
  font-size: calc(30px + (60 - 30) * (100vw - 320px) / (1920 - 320));
  margin-bottom: 20px;
  text-align: center;
}

@media (min-width: 992px) {
  #content h1, .h1, #content .legacy_h1, #tabs .tabsHeadline h2 {
    margin-bottom: 30px;
    font-size: 3.75rem;
    font-style: italic;
  }
}

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





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

#innerfooter {
  background-color: #227aa1;
  padding-top: 26px;
  padding-bottom: 26px;
  font-size: 0.875rem;
  text-transform: uppercase;
}

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

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

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

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

#vernetzt span span {
  display: block;
}

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