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

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

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

a {
    color: #3a6d87;
}

#content a{
    font-weight: 500;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #3a6d87;
    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: 350px;
        width: 100%;
    }

    #logo .row {
        margin-left: -15px;
        margin-right: -15px;
    }
}

/* ----------------------------------------------- buttonStyle ----------------------------------------------- */

.buttonStyle a:not(.has-image):not([rel]) {
    background-color: #c2cee7;
    border-radius: 6px;
    color: #2c4858;
    padding: 10px 20px;
    display: block;
    font-size: clamp(0.85rem, 1.3vw, 1rem);
    text-align: center;
    font-weight: 500;
}

.buttonStyleAlt a:not(.has-image):not([rel]),
.buttonStyleAlt a:not(.has-image):not([rel]) {
    background-color: #407d9c;
    color: #fff;
}

.buttonStyle a:not(.has-image):not([rel]) {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

.buttonStyle a:not(.has-image):not([rel]):after {
    content: "»";
    position: absolute;
    opacity: 0;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
    transition: 0.5s;
}

.buttonStyle a:not(.has-image):not([rel]):focus,
.buttonStyle a:not(.has-image):not([rel]):hover {
    padding-right: 30px;
    text-decoration: none;
    background-color: #2c4858;
    color: #fff;
}

.buttonStyle a:not(.has-image):not([rel]):focus:after,
.buttonStyle a:not(.has-image):not([rel]):hover:after {
    opacity: 1;
    right: 15px;
}

/* -------------------------------------- topbar ---------------------------------------- */

#topbar {
    padding-top: 25px;
    font-size: 0.875rem;
    border-top: 6px solid #407d9c;
    border-bottom: 1px solid #cccccc;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
    #topbar {
        padding-top: 33px;
        padding-bottom: 28px;
    }
}

#phone-tab,
#location-tab {
    padding-top: 42px;
    display: block;
    min-width: 42px;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: auto 34px;
    position: relative;
    font-size: 0.9375rem;
    line-height: 1.4;
    font-weight: 300;
    color: #4c4c4c;
}

@media (max-width: 991px) {
    #phone-tab,
    #location-tab {
        width: 100%;
    }
}

@media (min-width: 768px) {

    #phone-tab,
    #location-tab {
        padding-top: 0;
        padding-left: 60px;
        background-position: center left;
    }
}

#phone-tab::before,
#location-tab::before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 7px;
    height: 39px;
    width: 39px;
    border-radius: 50%;
    background-color: #e2e8f5;
    z-index: 1;
    background-repeat: no-repeat;
    background-size: 23px auto;
    background-position: center;
}

#phone-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23407d9c" height="48" viewBox="0 -960 960 960" width="48"><path d="M795-120q-116 0-236.5-56T335-335Q232-438 176-558.5T120-795q0-19 13-32t32-13h140q14 0 24 10t14 25l27 126q2 14-.5 25.5T359-634L259-533q26 44 55 82t64 72q37 38 78 69.5t86 55.5l95-98q10-11 23-15t26-2l119 26q15 4 25 16t10 27v135q0 19-13 32t-32 13Z"/></svg>');
}

#location-tab::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23407d9c" height="48" viewBox="0 -960 960 960" width="48"><path d="M480.089-490Q509-490 529.5-510.589q20.5-20.588 20.5-49.5Q550-589 529.411-609.5q-20.588-20.5-49.5-20.5Q451-630 430.5-609.411q-20.5 20.588-20.5 49.5Q410-531 430.589-510.5q20.588 20.5 49.5 20.5ZM480-80Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80Z"/></svg>');
}

#location-tab {
    margin-left: clamp(20px, 4vw, 40px);
}

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

/* burgermenu for tablet */

#burgerButton {
   font-size: 0;
   border: none !important;
   position: relative;
   z-index: 1002;
   display: block;
   width: 48px;
   height: 48px;
   cursor: pointer;
   background: #407d9c;
   border-radius: 50%;
}

@media (max-width: 991px) {
   #burgerButton {
      position: fixed;
      right: 15px;
      top: 15px;
   }
}

@media (min-width: 992px) {
   #burgerButton {
      width: 48px;
      height: 48px;
      margin-left: auto;
      z-index: 1003;
   }
}

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

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

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

#burgerButtonInner2,
#burgerButton:after,
#burgerButtonInner {
   position: absolute;
   background: #fff;
   width: 24px;
   height: 2px;
   left: 12px;
   -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;
}

@media (min-width: 992px) {

   #burgerButtonInner2,
   #burgerButton:after,
   #burgerButtonInner {
      left: 12px;
   }
}

#burgerButtonInner {
   top: 16px;
}

#burgerButtonInner2 {
   top: 23px;
}

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

@media (min-width: 992px) {
   #burgerButtonInner {
      top: 16px;
   }

   #burgerButtonInner2 {
      top: 23px;
   }

   #burgerButton:after {
      top: 30px;
   }
}

/* burgermenu for tablet */

@media (max-width: 991px) {
   .navbar-collapse {
      top: 0;
      background: #fff;
      position: fixed;
      left: -100%;
      bottom: 0;
      z-index: 100;
      height: auto !important;
      -webkit-box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
      box-shadow: 0 0 150px 0 rgba(0, 0, 0, 1);
      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-toggle::before {
      content: "";
      opacity: 0;
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 0;
      z-index: -1;
      display: block;
      -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;
   }
}

@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) {
   nav {
      padding-top: 0;
      padding-bottom: 0;
      position: relative;
      z-index: 1005;
   }

   nav>.row {
      padding-top: 27px;
      padding-bottom: 27px;
   }

   nav>.row,
   nav>.row>div {
      position: static;
   }

   .navbar-default {
      width: auto;
      margin-left: 35px;
   }

   .navbar-default .navbar-nav {
      width: 100%;
      margin: 0;
      display: block;
      padding: 30px;
      overflow-y: auto;
      position: relative;
      -webkit-column-count: 2;
      -moz-column-count: 2;
      column-count: 2;
      -webkit-column-gap: 30px;
      -moz-column-gap: 30px;
      column-gap: 30px;
      max-width: 992px;
      margin-left: auto;
      margin-right: auto;
   }

   .navbar-default li[class*="toplevel"] {
      float: none;
      -webkit-column-break-inside: avoid;
      page-break-inside: avoid;
      break-inside: avoid;
      display: list-item !important;
   }

   .navbar-nav::after,
   .navbar-nav::before {
      display: none;
   }

   #myNavbar {
      max-height: 70vh;
   }

   #myNavbar.navbar-collapse {
      pointer-events: none;
      position: absolute;
      z-index: 1002;
      top: 50%;
      right: -30%;
      opacity: 0;
      width: 600px;
      background: #ffffff;
      height: auto !important;
      -webkit-box-shadow: 0 0px 5px 0 rgba(84, 73, 73, 0.15);
      box-shadow: 0 0px 5px 0 rgba(84, 73, 73, 0.15);
      -webkit-transition: opacity 300ms linear, top 300ms linear;
      -moz-transition: opacity 300ms linear, top 300ms linear;
      -ms-transition: opacity 300ms linear, top 300ms linear;
      -o-transition: opacity 300ms linear, top 300ms linear;
      transition: opacity 300ms linear, top 300ms linear;
   }

   #burgerButton::before {
      content: "";
      display: block;
      position: absolute;
      pointer-events: none;
      right: 10px;
      bottom: 0;
      width: 0;
      height: 0;
      border-style: solid;
      border-width: 0 15px 25px 15px;
      border-color: transparent transparent #ffffff transparent;
      opacity: 0;
      -webkit-transition: opacity 300ms linear, bottom 300ms linear;
      -moz-transition: opacity 300ms linear, bottom 300ms linear;
      -ms-transition: opacity 300ms linear, bottom 300ms linear;
      -o-transition: opacity 300ms linear, bottom 300ms linear;
      transition: opacity 300ms linear, bottom 300ms linear;
   }

   #burgerButton[aria-expanded="true"]::before {
      opacity: 1;
      bottom: -47px;
   }

   #burgerButton[aria-expanded="true"]+#myNavbar {
      pointer-events: auto;
      opacity: 1;
      top: 120%;
   }

   #myNavbar:focus-within {
      pointer-events: auto;
      opacity: 1;
      top: 120%;
   }

   #myNavbar {
      max-height: 50vh;
      overflow: auto;
      scrollbar-color: #555555 #f1f1f1;
      scrollbar-width: thin;
   }
}

@media (min-width: 1200px) {
   .navbar-default {
      margin-left: 52px;
   }

   .navbar-default .navbar-nav {
      max-width: 1200px;
      padding-top: 30px;
      padding-bottom: 30px;
   }
}

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

.navbar-default li[class*="toplevel"]>a {
   color: #444444;
   font-weight: 600;
   text-align: left;
   padding: 9px 20px;
   position: relative;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
   background: #c5d1eb;
   margin-bottom: 2px;
   border: 2px solid #c5d1eb;
}

@media (max-width: 991px) {
   .navbar-default li[class*="toplevel"] {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   }

   nav.horizontally li[class*="toplevel"]>a.dropdown-toggle {
      padding-right: 35px;
   }
}

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

.navbar-default li[class*="toplevel"]:hover>a:after,
.navbar-default li[class*="toplevel"]>a:hover,
.navbar-default li[class*="toplevel"]>a:focus,
.navbar-default li[class*="toplevel"].open>a,
.navbar-default li[class*="toplevel"].open>a:hover,
.navbar-default li[class*="toplevel"].open>a:focus,
.navbar-default li[class*="toplevel"][class$="_over"]>a,
.navbar-default li[class*="toplevel"][class$="_over"]>a:hover,
.navbar-default li[class*="toplevel"][class$="_over"]>a:focus {
   color: #407d9c;
   border: 2px solid #407d9c;
   background: #fff;
}

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

@media (max-width: 991px) {

   .navbar-default li[class*="toplevel"]>.dropdown-menu,
   .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
      padding: 10px;
      background: rgba(255, 255, 255, 0.5);
   }
}

@media (min-width: 992px) {

   .navbar-default li[class*="toplevel"]>.dropdown-menu,
   .navbar-default li[class*="toplevel"]>.dropdown-menu>li>.dropdown-menu {
      display: block;
   }
}

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

.navbar-default li[class*="secondlevel"]>a,
.navbar-default li[class*="thirdlevel"]>a {
   color: #444444;
   font-weight: 400;
   text-align: left;
   padding: 8px 35px 8px 15px;
   font-size: 1rem;
   line-height: 1.2;
   text-decoration: none;
   position: relative;
}

@media (min-width: 992px) {
   .navbar-default li[class*="secondlevel"]>a {
      padding: 5px 15px 5px 30px;
   }

   .navbar-default li[class*="thirdlevel"]>a {
      padding: 5px 15px 5px 50px;
   }

   .navbar-default li[class*="secondlevel"]>a::before,
   .navbar-default li[class*="thirdlevel"]>a::before {
      content: "";
      position: absolute;
      left: 15px;
      top: 50%;
      background: #c5d1eb;
      width: 5px;
      height: 5px;
      margin-top: -2px;
      border-radius: 50%;
   }

   .navbar-default li[class*="thirdlevel"]>a::before {
      left: 35px;
   }
}

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

.navbar-nav li[class*="secondlevel"]:hover>a,
.navbar-nav li[class*="secondlevel"]>a:hover,
.navbar-nav li[class*="secondlevel"]>a:focus,
.navbar-nav li[class*="secondlevel"].open>a,
.navbar-nav li[class*="secondlevel"].open>a:hover,
.navbar-nav li[class*="secondlevel"].open>a:focus,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus,
.navbar-nav li[class*="thirdlevel"]>a:hover,
.navbar-nav li[class*="thirdlevel"]>a:focus,
.navbar-nav li[class*="thirdlevel"].open>a,
.navbar-nav li[class*="thirdlevel"].open>a:hover,
.navbar-nav li[class*="thirdlevel"].open>a:focus,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus {
   color: #407d9c;
}

.navbar-nav li[class*="secondlevel"]:hover>a::before,
.navbar-nav li[class*="secondlevel"]>a:hover::before,
.navbar-nav li[class*="secondlevel"]>a:focus::before,
.navbar-nav li[class*="secondlevel"].open>a::before,
.navbar-nav li[class*="secondlevel"].open>a:hover::before,
.navbar-nav li[class*="secondlevel"].open>a:focus::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="secondlevel"][class$="_over"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"]>a:focus::before,
.navbar-nav li[class*="thirdlevel"].open>a::before,
.navbar-nav li[class*="thirdlevel"].open>a:hover::before,
.navbar-nav li[class*="thirdlevel"].open>a:focus::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:hover::before,
.navbar-nav li[class*="thirdlevel"][class$="_over"]>a:focus::before {
   background: #407d9c;
}


/* ------------------------------------------------ headerpic ----------------------------------------------- */

@media (min-width: 768px) {
    #headerpic {
        width: 70%;
    }

    #openings {
        width: 30%;
    }
}

@media (max-width: 767px) {
    #headerpic {
        min-height: 85vw;
    }
}

.index header {
    padding-bottom: 30px;
    overflow: hidden;
}

#headerElement {
    padding-top: clamp(15px, 7vw, 80px);
    padding-bottom: clamp(30px, 7vw, 100px);
    margin: 0 auto;
    position: relative;
    width: 100%;
    z-index: 12;
}

#headerElement>.row::after {
    content: "";
    background: #c2cee7;
    height: 100%;
    width: 98%;
    display: inline-block;
    position: absolute;
    bottom: -100px;
    left: 120px;
    pointer-events: none;
    z-index: -1;
    border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
}

@media (max-width: 991px) {
    #headerElement>.row::after {
        opacity: 0.3;
    }
}

#slider {
    overflow: hidden;
    position: relative;
}

#bgSlider {
	overflow: hidden;
	position: relative;
	box-shadow: 40px 45px 40px rgba(0, 0, 0, 0.1);
	border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
}

@media (max-width: 991px) {
    #bgSlider {
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
    }
}

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

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

#headerpic .nivo-directionNav a {
    display: block;
    width: 40px;
    height: 40px;
    text-indent: -9999px;
    border: 0;
    opacity: 0;
    transition: all 200ms ease-in-out;
    z-index: 14;
    opacity: 1;
    background: #ffffff;
}

#headerpic .nivo-directionNav a {
    position: absolute;
    top: unset;
    bottom: 0px;
    left: 0px;
    z-index: 9;
    cursor: pointer;
}

#headerpic a.nivo-prevNav {
    bottom: 50px;
}

#headerpic a.nivo-prevNav::after,
#headerpic a.nivo-nextNav::after {
    content: "\203A";
    position: absolute;
    left: 40%;
    color: #2c4858;
    z-index: 15;
    font-size: 45px;
    text-indent: initial;
    line-height: 0px;
    top: 40%;
}

#headerpic a.nivo-prevNav::after {
    content: "\2039";
}

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

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



#headerpic #nivo-crtlbtn {
    margin-right: auto;
    margin-left: auto;
    background-color: #407d9c !important;
}

@media (max-width: 992px) {
    .slider-wrapper .nivo-controlNav {
        right: unset;
        left: 16px;
        bottom: 16px !important;
    }
}

#headerpic .slider-wrapper .nivo-controlNav {
    align-items: center;
    bottom: unset;
    display: flex;
    flex-wrap: wrap;
    height: auto;
    left: unset;
    margin: 0px auto;
    max-width: 80%;
    padding: 0px;
    position: absolute;
    right: 10px;
    text-align: center;
    top: 10px;
    width: auto;
    z-index: 50;
  }

#headerpic .slider-wrapper .nivo-controlNav a {
    all: unset;
    display: block;
    width: 15px;
    height: 15px;
    text-indent: -9999px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid #fff;
    border-radius: 50%;
    margin-left: 8px;
    color: #fff;
    cursor: pointer;
    transition: background 200ms linear;
}

#headerpic .slider-wrapper .nivo-controlNav a.active,
#headerpic .slider-wrapper .nivo-controlNav a:hover,
#headerpic .slider-wrapper .nivo-controlNav a:focus {
    background: #0c5c82;
}

@media (max-width: 767px) {
    .slider-wrapper .nivo-controlNav a {
        display: inline-block;
    }

    .slider-wrapper .nivo-controlNav a+a {
        margin-top: 0;
        margin-left: 7px;
    }
}

#headerpic .nivo-controlNav {
    text-align: left !important;
}

#nivo-crtlbtn.contrast_slider_dark.nivo-pauseNav {
    margin-bottom: 5px;
    margin-left: -6px;
}

/* ------------------------------------------------ BannerTab ----------------------------------------------- */

.bannerTab {
    margin-top: 185px;
}

@media (max-width: 991px) {
    .bannerTab {
        padding-top: 30px;
        margin-top: 0px;
    }
}

/* ------------------------------------------------ Sprechzeiten ----------------------------------------------- */

#openings {
    position: relative;
    z-index: 12;
    line-height: 1.4;
}

.hours {
    background-color: #fff;
    padding: clamp(30px, 7vw, 100px) 30px;
    font-size: 0.9375rem;
}

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

.hours .tabHeadline {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

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

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

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

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

h1,
.h1,
.legacy_h1 {
    font-size: clamp(2.1rem, 3vw, 2.75rem);
}

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

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

h4,
.h4,
.h4link a:link,
.h4link a:hover,
.h4link a:focus,
.h4link a:visited,
.legacy_h4 {
    font-size: 1.6rem;
}

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

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

.specialHeadline :is(h1, h2, h3) {
    font-size: clamp(2.1rem, 4vw, 3.125rem);
}

.specialHeadline :is(h4, h5, h6) {
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    background-color: #407d9c;
    border-radius: 19px;
    padding: 9px 20px;
    display: inline-block;
    width: auto;
    margin-bottom: 10px;
}

#leistung .specialHeadline {
    margin-bottom: 30px;
}

.bannerTab .specialHeadline h2 {
    font-size: clamp(1.475rem, 4vw, 2.25rem);
    margin-bottom: 20px;
}

footer .specialHeadline :is(h1, h2, h3),
#tabs .specialHeadline :is(h1, h2, h3) {
    color: #fff;
    margin-bottom: clamp(20px, 4vw, 50px);
}

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

#tabs {
    padding-top: clamp(30px, 6vw, 90px);
    padding-bottom: 50px;
    color: #fff;
    position: relative;
    background-size: cover;
    background-attachment: fixed;
}

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

    #tabs::after {
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        height: 80px;
        background: #fff;
        display: block;
        content: "";
        pointer-events: none;
        z-index: 0;
    }

    #tabs>.row {
        max-width: 1170px;
        width: 100%;
        z-index: 12;
    }
}

#tabs .tabHeadline {
    color: #fff;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

#tabs .firsttab .tabHeadline {
    color: #2c4858;
    hyphens: auto;
}

#tabs .tab {
    padding: 40px 40px 25px 40px;
    font-size: 1rem;
    background-color: #2c4858;
    transition: all, 400ms ease-in-out;
    position: relative;
    min-height: 100%;
}

@media (max-width: 1199px) {
    #tabs .tab {
        padding: 20px 20px 40px 20px;
        font-size: 1rem;
    }
}

#tabs .tab a {
    color: #fff;
}

#tabs .firsttab a {
    color: #2c4858;
}

#tabs .firsttab {
    background: #c2cee7;
    color: #2c4858;
}

#tabs .secondtab {
    background: #407d9c;
}

#tabs .thirdtab {
    background: #3a6d87;
}

#tabs>.row>.col-xs-12 {
    padding: 0px;
}

@media (min-width: 768px) {
    #tabs>.row>div.col-xs-12:nth-of-type(1)>.tab {
        border-top-left-radius: 60px;
    }

    #tabs>.row>div.col-xs-12:nth-last-of-type(1)>.tab {
        border-bottom-right-radius: 60px;
    }
}

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

    #tabs>.row {
        overflow: hidden;
    }
}

#tabs .tabHeadline::before {
    content: "";
    background-position: center;
    background-repeat: no-repeat;
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin: auto;
    margin-bottom: 22px;
    background-color: rgba(255, 255, 5255, 0.25);
    border-radius: 50%;
}

#tabs .firsttab .tabHeadline::before {
    background-image: url(../img/icon-list.png);
}

#tabs .secondtab .tabHeadline::before {
    background-image: url(../img/icon-ausbildung.png);
}

#tabs .thirdtab .tabHeadline::before {
    background-image: url(../img/icon-daumen-hoch.png);
}

#tabs .fourthtab .tabHeadline::before {
    background-image: url(../img/icon-location.png);
}

/* ------------------------------------------------ Leistungen ----------------------------------------------- */

#leistung {
    padding: clamp(30px, 4vw, 60px) 0 clamp(5px, 4vw, 60px) 0;
    position: relative;
    overflow: hidden;
}

#leistung :is(.banner, .nivoSlider) {
    border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
    overflow: hidden;
    max-height: 260px;
    margin-bottom: 10px;
}

@media (min-width: 992px) {
    #leistung :is(.banner, .nivoSlider) {
        margin-right: 30px;
    }
    
    #leistung :is(.banner, .nivoSlider) {
        max-height: 560px;
        margin-bottom: 0px;
    }
}

#leistung :is(.banner img, .nivoSlider img) {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

#leistung .tabDescription {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

#leistung .tabBox a {
    font-size: 0px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12;
    color: #fff;
}

#leistung .tabBox>.template-page,
#leistung .tabBox>.template-page>.row,
#leistung .tabBox>.template-page>.row>.col-xs-12,
#leistung .tabBox>.template-page>.row>.col-xs-12>p {
    position: static;
}

#leistung .tabBox {
    border-radius: 6px;
    min-height: 100%;
    padding: 25px 20px 25px 20px;
    transition: all, 300ms;
    background-color: #407d9c;
    z-index: 12;
    position: relative;
    color: #fff;
    display: block;
    overflow: hidden;
    transition: 1s all ease;
    hyphens: auto;
    font-size: 1rem;
}

#leistung .iconBox>.row>div:nth-child(2n + 1) .tabBox {
    background: #2c4858;
}

#leistung .tabBox::before {
    background: rgba(0, 0, 0, 0.25);
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    transition: all 0.6s ease;
    pointer-events: none;
}

#leistung .tabBox::before {
    width: 0%;
    height: 100%;
}

#leistung .tabBox:hover::before {
    width: 100%;
}

#leistung .iconBox>.row>div {
    margin-bottom: 30px;
}

@media (max-width: 991px) {

    #leistung .iconBox{
        padding: 0 25px;
    }

    #leistung .iconBox > .row > .col-xs-12{
        padding: 0 5px;
    }
    #leistung .iconBox>.row>div {
        margin-bottom: 10px;
    }
}
#leistung .tabBox img {
    margin-bottom: 10px;
}

#leistung>.row::before {
    content: "";
    width: 29vw;
    max-width: 555px;
    height: 36vw;
    max-height: 690px;
    display: inline-block;
    pointer-events: none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    left: -80px;
    top: -55px;
    z-index: 0;
    background-color: #c2cee7;
    border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
}

@media (min-width: 992px) {
    #leistung>.row::after {
        content: "";
        width: 20vw;
        max-width: 396px;
        height: 21vw;
        max-height: 415px;
        display: inline-block;
        pointer-events: none;
        position: absolute;
        right: -100px;
        bottom: 100px;
        z-index: -1;
        background: #fff;
        border: 6px solid #e5e5e5;
        border-radius: clamp(30px, 7vw, 100px) 0 clamp(30px, 7vw, 100px) 0;
    }
}

.moreLink a {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 500;
    padding: 6px 0px;
    position: relative;
    text-decoration: none;
    color: #3a6d87;
    margin-top: 10px;
}

.moreLink a:hover {
    color: #3a6d87;
}

.moreLink a::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
}

.moreLink a::before {
    background-color: #3a6d87;
    height: 1px;
    bottom: 4px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

.moreLink a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

.moreLink a:hover span {
    transform: translate3d(-200%, 0, 0);
}

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

#news {
    padding: clamp(30px, 4vw, 40px) 0 clamp(30px, 7vw, 100px) 0;
}

#news .tab1 .tabHeadline {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 600;
}

.bgNews {
    position: relative;
    box-shadow: 30px 30px 30px rgba(0, 0, 0, 0.1);
    border-radius: clamp(30px, 4vw, 60px)  0 clamp(30px, 4vw, 60px)  0;
}

.tab2 {
    background: #c2cee7;
    border-top-left-radius: clamp(30px, 4vw, 60px) ;
    color: #2c4858;
    padding: 30px;
    position: relative;
    font-size: 1rem;
}

.tab2::before {
    content: "";
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin-bottom: 25px;
    border-radius: 50%;
    background-image: url(../img/icon-info.png);
    background-color: rgba(255, 255, 255, 0.25);
    background-position: top 18px center;
    background-repeat: no-repeat;
}

.tab2 h2 {
    font-size: 1.25rem;
    margin: 0px;
}

.tab2 :is(strong, b) {
    font-size: 1.875rem;
    color: #2c4858;
    margin-bottom: 10px;
    font-weight: 600;
}

.tab2 a {
    color: #2c4858;
}

.tab3 {
    background: #fff;
    border-bottom-right-radius: 60px;
    font-size: 1rem;
    padding: 30px;
}

.tab3 .tab_spacer {
    display: none;
}

.tab3 .tabHeadline {
    font-size: 1.875rem;
}

.tab3 .tab_link_entry {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
    flex-direction: column;
}

.tab3 .tab_link_title a {
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: underline;
}

.tab3 .tab_link_date {
    order: -1;
    font-size: 1rem;
}

.tab3 .tab_link_mehr {
    display: none;
}

@media (max-width: 991px) {
    #news .tab1{
        padding-bottom: 30px;        
    }

    .bgNews{
        box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);        
    }
}

@media (min-width: 575px) {
    .tab2,
    .tab3{
        width: 50%;
    }

    .tab3{
        padding: 40px;
    }
}

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

#footerTop {
    background-color: #2c4858;
    background-attachment: fixed;
    background-size: cover;
    color: #ffffff;
    font-size: 1rem;
    padding-bottom: clamp(30px, 7vw, 90px);
    padding-top: clamp(30px, 7vw, 110px);
}

footer a {
    color: #ffffff;
}

@media (min-width: 991px) {
    .footerMenu {
        padding-left: 60px;
    }
}

@media (max-width: 992px) {
    .footerMenu {
        margin-top: 30px;
    }
}

@media (min-width: 576px) and (max-width: 992px){
    .footerMenu>* {
        max-width: 50%;
        width: 50%;
    }
}

#innerfooter ul {
    padding: 0;
    margin-bottom: 50px;
}

#innerfooter a {
    display: inline-block;
    font-size: 1rem;
    font-weight: 400;
    padding: 6px 0px;
    position: relative;
    text-decoration: none;
}

#innerfooter a:hover {
    color: #fff;
}

#innerfooter a::before {
    content: "";
    position: absolute;
    width: 100%;
    left: 0;
}

#innerfooter a::before {
    background-color: #fff;
    height: 1px;
    bottom: 2px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#innerfooter a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

#innerfooter a:hover span {
    transform: translate3d(-200%, 0, 0);
}

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

#vernetzt {
    color: #ffffff;
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.3;
    text-decoration: none;
}

#vernetzt span {
    display: block;
}

#vernetzt img {
    margin-bottom: 8px;
}

/* --------------------------------------------- Footer Tabs -------------------------------------------- */

footer .tabHeadline {
    color: #ffffff;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
}

footer .firsttab .tabHeadline {
    color: #2c4858;
}

footer .tab {
    padding: 40px 45px 30px 45px;
    font-size: 1rem;
    background-color: #3a6d87;
    position: relative;
    min-height: 100%;
    display: block;
    overflow: hidden;
}

@media (max-width: 1199px) {
    footer .tab {
        padding: 20px 20px 40px 20px;
    }
}

footer .tab a {
    color: #fff;
    text-decoration: underline;
}

footer .firsttab a {
    color: #2c4858;
}

footer .firsttab {
    background: #c2cee7;
    color: #2c4858;
}

footer .secondtab {
    background: #407d9c;
}

footer .thirdtab {
    background: #2c4858;
}

footer .tabArea>.row>div {
    padding: 0px;
}

footer .tabArea>.row {
    margin: 0px;
}

@media (min-width: 768px) {
    footer .tabArea>.row>div.col-xs-12:nth-of-type(1)>.tab {
        border-top-left-radius: 60px;
    }
}

footer .tabHeadline::before {
    content: "";
    width: 70px;
    height: 70px;
    display: block;
    pointer-events: none;
    margin: auto;
    margin-bottom: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 40px auto;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
}

footer .firsttab .tabHeadline::before {
    background-image: url('../img/logo-dunkel.png');
}

footer .secondtab .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" height="48" viewBox="0 -960 960 960" width="48"><path d="M480-170.305q130.174-117.608 192.543-210.739 62.37-93.13 62.37-172.652 0-114.946-73.899-188.081-73.898-73.136-181.034-73.136t-181.014 73.136q-73.879 73.135-73.879 188.081 0 79.522 63.87 172.37Q352.826-288.479 480-170.305Zm-.385 82.175q-11.745 0-23.992-4.065-12.246-4.065-21.275-12.631-45.392-39.13-96.088-89.195-50.695-50.066-93.543-107.913-42.848-57.848-70.848-121.827-28-63.978-28-129.935 0-155.494 100.882-248.247Q347.634-894.696 480-894.696q132.366 0 233.531 92.753 101.165 92.753 101.165 248.247 0 65.957-28.282 129.935-28.283 63.979-71.131 121.827-42.848 57.847-93.543 107.913-50.696 50.065-95.522 89.195-9.671 8.566-22.264 12.63-12.593 4.066-24.339 4.066ZM480-560Zm.089 73.957q31.172 0 52.802-21.437 21.631-21.436 21.631-52.609 0-31.172-21.719-52.802-21.719-21.631-52.892-21.631-31.172 0-52.52 21.719-21.348 21.719-21.348 52.892 0 31.172 21.437 52.52 21.436 21.348 52.609 21.348Z"/></svg>');
}

footer .thirdtab .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" height="48" viewBox="0 -960 960 960" width="48"><path d="M796.13-105.869q-119.446 0-242.462-57.13-123.016-57.131-227.995-162.109Q220.695-430.087 163.282-553.39q-57.413-123.303-57.413-242.175 0-25.019 16.894-42.075 16.895-17.056 41.672-17.056h140q23.609 0 38.979 13.674 15.37 13.674 21.065 37.718l26.929 116.597q3.202 21.142-.994 37.446-4.196 16.305-16.946 27.923l-102.033 97.382q23.739 39.478 50.478 74.086 26.739 34.609 60.044 66.348 34.739 36.304 71.499 64.695 36.761 28.392 76.109 49l97.826-99.696q13.957-14.956 31.63-20.087 17.673-5.13 36.588-.869l107.695 24.304q24.044 6.826 37.718 23.392 13.674 16.566 13.674 39.957v138.391q0 25.1-17.096 41.833-17.097 16.733-41.47 16.733ZM231.826-594.783l80.435-78.043-22.435-102.087H186.218q1.434 38.609 11.78 82.249 10.345 43.641 33.828 97.881Zm370.696 365.261q38.174 17.87 83.63 29.304 45.457 11.435 88.761 14v-104.638l-94.522-19.97-77.869 81.304ZM231.826-594.783Zm370.696 365.261Z"/></svg>');
}

footer .fourthtab .tabHeadline::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" height="48" viewBox="0 -960 960 960" width="48"><path d="M145.087-145.869q-32.507 0-55.862-23.356-23.356-23.355-23.356-55.862v-509.826q0-32.74 23.356-56.262 23.355-23.521 55.862-23.521h669.826q32.74 0 56.262 23.521 23.521 23.522 23.521 56.262v509.826q0 32.507-23.521 55.862-23.522 23.356-56.262 23.356H145.087Zm669.826-521.043L501.708-458.887q-5.645 3.149-10.611 4.931-4.967 1.783-11.097 1.783t-11.097-1.783q-4.966-1.782-10.611-4.931L145.087-666.912v441.825h669.826v-441.825ZM480-516.913l330.913-218H150.087l329.913 218ZM145.087-666.912v8.696-48.081.92-29.536 29.218-1.478 48.957-8.696 441.825-441.825Z"/></svg>');
}


/* --------------------------------------------- GoogleMaps -------------------------------------------- */

.iframeMapsTab,
.iframeMapsTab .template-page,
.iframeMapsTab .row,
.iframeMapsTab .row p {
    height: 100%;
}

.iframeMapsTab iframe,
.iframeMapsTab .iframe-wrapper-manual-enabling {
    min-width: 100%;
    width: 100%;
    display: block;
    max-height: 100%;
    min-height: 100%;
    height: 100%;
}

@media (min-width: 992px) {
    .frameMobileView {
        padding-left: 0;
        margin-left: -15px;
        padding-right: 0;
    }
}

/* --------------------------------------------- scrollTop -------------------------------------------- */

#scrollTop {
    background: #2c4858;
    padding: 19px 0;
    text-align: center;
}

#scrollTop a {
    color: #fff;
    position: relative;
    padding-left: 32px;
    font-size: 1rem;
    font-weight: 500;
}

#scrollTop a:focus,
#scrollTop a:hover {
    color: #fff;
    text-decoration: none;
}

#scrollTop a::before {
    content: "";
    position: absolute;
    width: calc(100% - 4px);
    left: 5px;
}

#scrollTop a::before {
    background-color: #fff;
    height: 1px;
    bottom: -7px;
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform 0.3s cubic-bezier(0.76, 0, 0.24, 1);
}

#scrollTop a:focus::before,
#scrollTop a:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

#scrollTop a:focus span,
#scrollTop a:hover span {
    transform: translate3d(-200%, 0, 0);
}

#scrollTop a::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: 23px;
    width: 23px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23fff" height="48" viewBox="0 -960 960 960" width="48"><path d="M450-160v-526L202-438l-42-42 320-320 320 320-42 42-248-248v526h-60Z"/></svg>');
    background-repeat: no-repeat;
    background-size: 24px auto;
    background-position: center;
}