@import url('https://fonts.verwaltungsportal.de/import/?family=Roboto:400,500,400i,500i%7CNeucha%7CSaira+Extra+Condensed:600,700');

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

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

a {
  color: #007cad;
}

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

#content a, b, strong {
  font-weight: 500;
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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


@media (min-width: 992px) {
  #style button {
    border: none;
    color: #2e3c48;
    display: inline-block;
    width: 20px;
    height: 20px;
    font-weight: 500;
    text-align: center;
    background-color: rgba(0, 0, 0, 0);
    position: relative;
    line-height: 1;
    -webkit-transition: transform 150ms linear;
    -moz-transition: transform 150ms linear;
    -ms-transition: transform 150ms linear;
    -o-transition: transform 150ms linear;
    transition: transform 150ms linear;
  }

  #style button+button {
    margin-left: 8px;
  }

}

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

#menu {
  position: relative;
  z-index: 100;
  background-color: #ffffff;
  -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);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  #menu {
    padding-top: 50px;
    padding-bottom: 10px;
  }

  #burgerButton {
    font-size: 0;
    display: block;
    height: 40px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #7ac463;
    width: 100%;
    border: none;
  }

  #burgerButtonInner2, #burgerButton:after, #burgerButtonInner {
    background-color: #ffffff;
    border-radius: 2px;
    position: absolute;
    width: 30px;
    height: 3px;
    left: 50%;
    margin-left: -15px;
    -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: 11px;
  }

  #burgerButtonInner2 {
    top: 19px;
  }

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

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

  .navbar-collapse {
    top: 40px;
    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: 0;
    right: 0;
    left: 0;
    z-index: 101;
  }

  .navbar-toggle::before {
    content: "";
    opacity: 0;
    position: fixed;
    top: 40px;
    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, .dropdown-toggle-button-wrapper2 {
    right: 2px;
  }

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

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

@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-top: 0;
    padding-bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 90;
  }

  #menu>.row {
    width: 100%;
    max-width: 1520px;
  }

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

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

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

.navbar-default .navbar-nav>li>a {
  color: #333333;
  font-weight: 700;
  text-align: left;
  padding: 15px 35px 15px 15px;
  position: relative;
  font-size: 1.5rem;
  font-family: "Saira Extra Condensed", sans-serif;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  .navbar-default .navbar-nav>li>a {
    padding: 30px 5px 24px 5px;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    font-size: 1.375rem;
  }

  .navbar-default .navbar-nav>li+li {
    margin-left: 20px;
  }
}

@media (min-width: 1200px) {
  .navbar-default .navbar-nav>li>a {
    padding: 30px 10px 24px 10px;
    font-size: 1.5rem;
  }

  .navbar-default .navbar-nav>li+li {
    margin-left: calc(15px + (60 - 15) * (100vw - 1200px) / (1920 - 1200));
  }
}

@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: #007cad;
  -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: #333333;
}

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

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

.navbar-default .navbar-nav>li>.dropdown-menu>li>.dropdown-menu {
  background: #3f792f;
}

@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% !important;
    -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: #ffffff 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;
  }
}

@media(min-width:992px) and (max-width:1300px) {
  .navbar-default .navbar-nav>li:last-child>.dropdown-menu {
    left: 0 !important;
  }
}

/* --------------------------------------------- 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(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: rgba(51, 51, 51, 0.4);
}

.navbar-nav>li>.dropdown-menu>li:focus-within>a,
.navbar-nav>li>.dropdown-menu>li>.dropdown-menu>li:focus-within>a {
  background: rgba(51, 51, 51, 0.4);
}

/* ----------------------------------------------- header ----------------------------------------------- */

header {
  background: linear-gradient(to bottom, #7ac463, #7ac463 30%, rgba(255, 255, 255, 0) 30%);
}

@media (min-width: 992px) {
  header {
    margin-top: 80px;
  }
}

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

#header>.row .row {
  margin-left: 0;
  margin-right: 0;
}

#header>.row>div {
  padding: 0;
}

#header {
  background: #ffffff;
  -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);
}

@media (min-width: 768px) {
  #header {
    margin-left: calc(15px + (200 - 15) * (100vw - 768px) / (1920 - 768));
    background: #ffffff url("../img/hintergrund-header.png") top right no-repeat;
  }
}

/* --------------------------------------------- header text --------------------------------------------- */

#headerText {
  padding: 30px 0;
  width: 100%;
}

@media (min-width: 992px) {
  #headerText {
    padding-left: 20px;
    padding-right: 60px;
  }

  body.index #headerText {
    padding-bottom: 60px;
  }
}

@media (min-width: 1200px) {
  #headerText {
    padding-left: 45px;
    padding-right: 100px;
  }
}

#header h1,
#header h2 {
  margin-bottom: 0;
}

#header h1 *,
#header h2 * {
  display: block;
  line-height: 1.08;
}

#header h1 b,
#header h2 b {
  font-weight: 700;
  font-family: "Saira Extra Condensed", sans-serif;
  font-size: calc(30px + (70 - 30) * (100vw - 320px) / (1920 - 320));
}

body.index #header h1 b,
body.index #header h2 b {
  font-size: calc(30px + (110 - 30) * (100vw - 320px) / (1920 - 320));
}

#header h1 i,
#header h2 i {
  font-family: "Neucha", serif;
  font-weight: 400;
  font-style: normal;
  font-size: calc(22px + (40 - 22) * (100vw - 320px) / (1920 - 320));
  color: #666666;
  margin-top: 10px;
}

@media (min-width: 992px) {

  #header h1 i,
  #header h2 i {
    margin-top: 18px;
  }
}

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

#headerContact {
  background: #ffffff linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0) 80px);
  width: 100%;
  font-size: 0.9375rem;
  position: relative;
  font-style: normal;
}

#header>.row #contactTab .row {
  margin-left: -15px;
  margin-right: -15px;
}

#contactButton .row>div {
  padding: 0;
}

@media (min-width: 992px) {

  #contactButton div,
  #contactButton div>p {
    height: 100%;
    min-height: 100%;
  }

  #contactTab {
    padding: 36px 30px 36px 35px;
  }

}

@media (min-width: 1200px) {
  #contactTab {
    padding-left: 60px;
  }

  #headerContact::after {
    right: 65px;
  }
}

#contactTab a {
  color: #007cad;
}

#contactTab b,
#contactTab strong {
  font-size: 1.125rem;
  font-weight: 500;
}

@media (max-width: 991px) {
  #contactTab {
    padding: 20px;
  }
}

#contactButton {
  overflow: hidden;
}

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

@media (min-width: 1200px) {
  #contactButton {
    padding: 0 0 0 30px;
  }
}

#contactButton a {
  display: block;
  text-align: center;
  background: #7ac463 linear-gradient(to bottom, rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0) 80px);
  color: #333333;
  font-size: calc(26px + (50 - 26) * (100vw - 320px) / (1920 - 320));
  font-weight: 600;
  font-family: "Saira Extra Condensed", sans-serif;
  padding: 10px 15px;
  line-height: 1.1;
  text-decoration: none;
}

@media (max-width: 991px) {
  #contactButton a {
    margin-bottom: 15px;
  }
}

@media (min-width: 992px) {
  #contactButton a {
    padding: 30px 20px 20px 20px;
    height: 100%;
    min-height: 100%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
  }
}

#contactButton a:hover,
#contactButton a:focus {
  background-color: #376b27;
  color: #fff;
}

#contactButton a::after {
  content: "\00BB";
  margin-left: 6px;
}

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

#slider {
  height: 250px;
  overflow: hidden;
  position: relative;
}

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

  body.index #slider {
    height: 600px;
  }
}

@media (min-width: 992px) {
  body.index #slider {
    height: 650px;
  }
}

.slider-wrapper {
  height: 100%;
}

.slider-mask {
  display: none;
}

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

#content {
  text-align: left;
  padding-top: calc(40px + (60 - 40) * (100vw - 320px) / (1920 - 320));
}

#content>.row>div:first-child {
  padding-bottom: calc(40px + (60 - 40) * (100vw - 320px) / (1920 - 320));
}

@media (min-width: 992px) {
  #content>.row>div:last-child {
    margin-bottom: -50px;
    z-index: 3;
    position: relative;
  }
}

#news {
  background-color: #fff;
  color: #333;
  border: 20px solid #66b0ce;
}

@media (min-width: 992px) {
  #news {
    height: 100%;
    min-height: 100%;
  }
}

@media (max-width: 767px) {
  #news {
    margin-bottom: 40px;
  }
}

#news .tab_link_entry {
  border: none !important;
}

#news .tab_link_entry + .tab_link_entry {
  margin-top: 20px;
}

#news .tabContent {
  border: 4px solid #007cad;
  padding: 30px 20px;
  height: 100%;
  min-height: 100%;
  font-size: 1.125rem;
}

#news .tabHeadline {
  color: #333333;
  font-size: 2.5rem;
}

#news .tab_link_mehr {
  font-size: 0;
  text-align: center !important;
  margin-top: 30px;
}

#news .tab_link_mehr a {
  color: #333;
  font-weight: 600;
  font-family: "Saira Extra Condensed", sans-serif;
  font-size: 1.25rem;
  background-color: #7ac463;
  padding: 10px 20px;
}

#news .tab_link_mehr a::after {
  content: 'erfahren \00BB';
}

#news a {
  color: #333;
  text-decoration: none;
}

#news .tab_preview_picture {
  display: none;
}

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

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

h1, .h1, .legacy_h1 {
  font-weight: 700;
  font-size: calc(30px + (60 - 30) * (100vw - 320px) / (1920 - 320));
}

#content h1, #content .h1, #content .legacy_h1 {
  padding: 10px 0;
  position: relative;
  text-align: center;
}

@media (min-width: 992px) {
  #content h1, #content .h1, #content .legacy_h1 {
    padding: 20px 0;
  }
}

@media (min-width: 1200px) {
  #content h1, #content .h1, #content .legacy_h1 {
    padding: 30px 0;
  }
}

#content h1::after, #content .h1::after, #content .legacy_h1::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;
  bottom: 0;
  height: 100%;
  max-height: 190px;
  background: url("../img/headline-deko.png") center / contain no-repeat;
  z-index: -1;
  -moz-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

H6 em, H5 em, H4 em, H3 em, H2 em, H1 em {
  font-family: "Neucha", serif;
  color: #666666;
  font-style: normal;
  font-weight: 400;
  display: block;
  font-size: 80%;
  margin-top: 4px;
}

@media (min-width: 768px) {
  H6 em, H5 em, H4 em, H3 em, H2 em, H1 em {
    font-size: 60%;
  }
}

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

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

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

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

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

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

/* ----------------------------------------------- tabwide ----------------------------------------------- */

#tabWide {
  background: #3c4c40 url("../img/hintergrund1.png") center left no-repeat;
  margin-bottom: calc(40px + (150 - 40) * (100vw - 320px) / (1920 - 320));
  position: relative;
}

@media (min-width: 992px) {

  #tabWide,
  #tabWide>div {
    min-height: 380px;
  }

  #tabWide::after {
    content: "";
    display: block;
    position: absolute;
    bottom: -260px;
    left: calc(-400px + (0 + 400) * (100vw - 992px) / (1920 - 992));
    width: 563px;
    height: 479px;
    background: url("../img/freisteller2.png") center no-repeat;
    pointer-events: none;
  }
}

#tabWide,
#tabWide h1,
#tabWide h2,
#tabWide h3,
#tabWide h4,
#tabWide h5,
#tabWide h6,
#tabWide h1 em,
#tabWide h2 em,
#tabWide h3 em,
#tabWide h4 em,
#tabWide h5 em,
#tabWide h6 em {
  color: #ffffff;
}

#tabWide a {
  display: inline-block;
  background: #faca4b;
  color: #4c3c3c;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Saira Extra Condensed", sans-serif;
  padding: 10px 22px;
  text-decoration: none;
}

#tabWide a:hover,
#tabWide a:focus {
  background-color: #28332b;
  color: #faca4b;
}

#tabWide a::after {
  content: "\00BB";
  margin-left: 4px;
}

#tabText {
  padding-top: calc(40px + (120 - 40) * (100vw - 320px) / (1920 - 320));
  padding-bottom: 40px;
}

#tabImages>div>div {
  overflow: hidden;
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 250px;
}

@media (max-width: 767px) {
  #tabImages>div {
    margin-bottom: -70px;
  }
}

@media (min-width: 768px) {
  #tabImages>div {
    position: absolute;
    left: 15px;
    top: 0;
    right: 15px;
    bottom: -70px;
    z-index: 5;
  }

  #tabImages>div::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    width: 50vw;
    left: 0;
    background: linear-gradient(to bottom, #4c3c3c, #4c3c3c 50%, #3c4c40 50%);
    z-index: -1;
  }
}

@media (min-width: 992px) {
  #tabImages>div {
    bottom: -100px;
  }
}

#tabImages img {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  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%);
}

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

#tabs {
  padding-bottom: calc(40px + (100 - 40) * (100vw - 320px) / (1920 - 320));
  padding-top: 70px;
}

@media (max-width: 991px) {
  #tabs>.row>div+div {
    margin-top: 40px;
  }
}

@media (min-width: 768px) {
  #tabs>.row>div+div:nth-child(2) {
    margin-top: 0;
  }
}

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

#tabs .tab {
  padding: calc(40px + (50 - 40) * (100vw - 320px) / (1920 - 320)) 20px;
  height: 100%;
  min-height: 100%;
  border-width: 10px;
  border-style: solid;
  background: #ffffff url("../img/hintergrund-tab.jpg") center right / cover no-repeat;
  color: #666666;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  #tabs .tab {
    margin-left: 0;
    margin-right: 0;
  }
}

#tabs .tab b,
#tabs .tab strong {
  font-family: "Neucha", serif;
  font-weight: 400;
  font-size: calc(22px + (30 - 22) * (100vw - 320px) / (1920 - 320));
}

#tabs .tab1 {
  border-color: #3c4c40;
}

#tabs .tab2 {
  border-color: #4c3c3c;
}

#tabs .tabHeadline,
#tabs .tabHeadline2 {
  font-weight: 600;
  margin-bottom: 20px;
}

@media (min-width: 1200px) {

  #tabs .tabHeadline,
  #tabs .tabHeadline2 {
    margin-bottom: 35px;
  }
}


#tabs .tabHeadline {
  font-size: calc(30px + (70 - 30) * (100vw - 320px) / (1920 - 320));
}

#tabs .tabHeadline2 {
  font-size: calc(30px + (38 - 30) * (100vw - 320px) / (1920 - 320));
}

#tabs a::after {
  content: "\00BB";
  margin-left: 4px;
}

#tabs a {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  font-family: "Saira Extra Condensed", sans-serif;
  padding: 10px 22px;
  background-color: #faca4b;
  color: #4c3c3c;
  text-decoration: none;
}

#tabs a:hover,
#tabs a:focus {
  background-color: #3c4c40;
  color: #faca4b;
}

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

#footer {
  background: #007cad url("../img/hintergrund2.png") center right no-repeat;
  color: #ffffff;
  position: relative;
  z-index: 2;
}

@media (min-width: 768px) {
  #footer {
    padding-left: 15px;
  }

  #footer::after {
    content: "";
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    width: 15px;
    left: 0;
    background: linear-gradient(to bottom, #ffffff, #ffffff 50%, #7ac463 50%);
    z-index: -1;
  }
}

@media (min-width: 1200px) {
  #footer::after {
    width: calc(15px + (200 - 15) * (100vw - 1200px) / (1920 - 1200));
  }
}

#footer>.row>div:first-child {
  padding-top: calc(40px + (85 - 40) * (100vw - 320px) / (1920 - 320));
  padding-bottom: 40px;
}

#footer,
#footer a,
#footer h1,
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6,
#footer h1 em,
#footer h2 em,
#footer h3 em,
#footer h4 em,
#footer h5 em,
#footer h6 em {
  color: #ffffff;
}

#footer a {
  text-decoration: underline;
}

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

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

#footer #vernetzt {
  text-align: left;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  margin: 0 auto;
  font-weight: 400;
  text-decoration: none;
}

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

#vernetzt b {
  color: #ffffff;
  font-weight: 400;
}

#vernetzt span {
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

#vernetzt img {
  margin-right: 15px;
}

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

#innerfooter {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 0.875rem;
}

@media (max-width: 767px) {
  #innerfooter {
    padding-top: 30px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
  color: #65806b;
}

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

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