@import url("https://fonts.verwaltungsportal.de/import/?family=Source+Sans+3:300,400,500,600,700,800,300i,400i,500i,600i,700i,800i");

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

body {
  font-family: "Source Sans 3", sans-serif;
  color: #333333;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  line-height: 1.5;
}

a {
  color: #065B6B;
}

#content a,
#contactFooter a {
  text-decoration: underline;
}

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

b,
strong {
  font-weight: 600;
}

body {
  padding-left: clamp(25px, 4vw, 30px);
  padding-right: clamp(25px, 4vw, 30px);
}

@media (min-width: 1200px) {

  ._op-container .container,
  .compact,
  .row {
    max-width: 1440px !important;
    width: 100%;
  }
}

.overflow {
  overflow: clip;
  position: relative;
}

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

#logo {
  display: inline-block;
}

@media (min-width: 992px) {
  .logobox {
    padding: 0;
  }
}

#logo img {
  display: block;
}

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

/* #region ---------------------------------- navigation ---------------------------------------- */

/* burgermenu for tablet */

@media (max-width: 991px) {
  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 2px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

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

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

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

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

  #burgerButtonInner {
    top: 16px;
  }

  #burgerButton:before {
    top: 24px;
    content: "";
  }

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

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

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    position: fixed;
    left: -100%;
    bottom: 0;
    z-index: 100;
    height: auto !important;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    overflow-y: auto;
    transition: left 300ms linear, opacity 300ms linear, box-shadow 600ms linear;
    box-shadow: 250px 0 50vw 50vw rgba(255, 255, 255, 0);
  }

  .navbar-collapse:is([aria-expanded="true"], .in) {
    left: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    box-shadow: 250px 0 50vw 50vw rgba(0, 0, 0, 0.6);
  }

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

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

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

  .is-sticky nav.horizontally {
    background-color: #fff;
    border-bottom: solid 2px #065B6B;
    padding: 10px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    background-color: #fff;
    max-width: 750px;
    margin: 0 auto;
  }

  nav.horizontally {
    padding: 0 0px;
    background: rgb(255, 255, 255);
  }

  .is-sticky nav.horizontally {
    background-color: #fff;
    border-bottom: solid 2px #065B6B;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms linear;
  }

  nav.horizontally .navbar-nav [class*="secondlevel"]>ul {
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li:is(.open, :hover)>ul,
  nav.horizontally .navbar-nav li.open:focus-within>ul,
  nav.horizontally .navbar-nav li[class*="secondlevel"]>ul[style*="block"] {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible;
  }

  nav.horizontally .navbar-nav li.open>ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus)>ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #065B6B;
  font-weight: 400;
  text-align: left;
  padding: 10px 35px 15px 35px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] {
    border-bottom: 1px solid rgba(46, 60, 72, 0.2);
  }
}

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"]+li {
    margin-left: 20px;
  }

  nav.horizontally a[class*="toplevel"] {
    padding: 12px 0;
    text-align: center;
  }
}

@media (min-width: 1200px) {
  nav.horizontally>.row {
    max-width: 1860px !important;
    width: 100%;
  }
}

/* toplevel-over */

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open>a,
nav.horizontally li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"]>a,
nav.horizontally li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
  color: #065B6B;
  background-color: transparent;
  text-decoration: underline;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #065B6B;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
  nav.horizontally [class*="toplevel"]>ul {
    padding: 15px;
  }
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  nav.horizontally [class*="secondlevel"]>ul {
    margin-top: -18px;
    margin-left: 10px;
  }

  nav.horizontally :is([class*="toplevel"], [class*="secondlevel"])>ul::before {
    content: "";
    position: absolute;
    display: block;
  }

  nav.horizontally [class*="toplevel"]>ul::before {
    height: 10px;
    left: 0;
    right: 0;
    top: -10px;
  }

  nav.horizontally [class*="secondlevel"]>ul::before {
    width: 10px;
    top: 0;
    bottom: 0;
    left: -10px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #fff;
  font-weight: 400;
  text-align: left;
  padding: 9px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

/* secondlevel + thirdlevel over */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within)>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]).open>a:is(:hover, :focus),
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a,
nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"]>a:is(:hover, :focus) {
  text-decoration: underline;
  color: #fff;
}

#buttonTab {
  text-align: end;
}

#buttonTab a,
#buttonTabMobil a {
  padding: 10px 25px;
  background-color: #065B6B;
  color: #fff;
  border-radius: 8px;
}

#buttonTab a:is(:hover, :focus),
#buttonTabMobil a:is(:hover, :focus) {
  background: #9ce9f2;
  color: #333333;
  text-decoration: none;
}

@media (max-width: 991px) {
  #buttonTabMobil {
    text-align: center;
    margin: 20px 0;
  }
}

/* #endregion ------------------------------- navigation ---------------------------------------- */

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

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

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

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

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
}

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

.slider-mask {
  display: none;
}

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

#content {
  text-align: left;
  padding-top: 20px;
  padding-bottom: clamp(30px, 4vw, 60px);
}

/* #region ------------------------------------- Slogan ------------------------------------------- */

#sloganTab .slogan .tabHeadline {
  color: #065B6B;
  font-weight: 400;
  font-size: clamp(2rem, 10vw, 4.375rem);
}

#sloganTab {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

.slogan {
  padding: 40px 0;
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: #333333;
}

@media (max-width: 575px) {
  .slogan {
    padding: 30px 15px;
  }
}

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

#tabs {
  padding: clamp(45px, 11vw, 60px) 0;
  background: #065B6B;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

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

.tab {
  background-color: #ffffff;
  padding: 40px 30px;
  position: relative;
  height: 100%;
  min-height: 100%;
  text-align: left;
  overflow: hidden;
}

.tabmini {
  padding: 40px 30px 100px 30px;
}

#tabs .tab :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-weight: 400;
  color: #065B6B;
  text-align: center;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  margin-bottom: 20px;
}

#tabs .tab :is(h1, h2, h3, h4, h5, h6) :is(em, i) {
  font-style: normal;
  font-size: clamp(1.5625rem, 3vw, 2.1875rem);
}

.tab a {
  background: #065B6B;
  color: #fff;
  padding: 10px 25px;
  border-radius: 8px;
  font-weight: 400;
  margin-top: 20px;
  display: inline-block;
  font-size: clamp(1rem, 1vw, 1.25rem);
  text-decoration: none;
  text-align: center;
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
}

.tab:is(:hover, :focus) a:is(:hover, :focus) {
  background: #9ce9f2;
  color: #333333;
}

.tab .template-page .row,
.tab .template-page .row>div {
  position: static;
}

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

.index #content {
    padding-bottom: 0;
    padding-top: 0;
}

@media (min-width: 992px) {
    .index #content {
        padding-bottom: 0;
        padding-top: 0;
    }
}

.index #contenttop_right,
.index #breadcrumbincontent,
.index #content_footer {
    display: none;
}

.index #aboveContent {
    margin: 0;
    height: 0;
}

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #065B6B;
  font-weight: 400;
  line-height: 1.2;
  font-family: "Source Sans 3", sans-serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2rem, 6vw, 3.125rem);
}

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

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

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

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

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

body.index #content :is(h1) {
  text-align: center;
}

/* ----------------------------------------------- @13f footer ----------------------------------------------- */

/* ----------------------------------------------- contactFooter ----------------------------------------------- */

#contactFooter {
  color: #333333;
  font-size: 1.25rem;
  padding-top: 85px;
  padding-bottom: 85px;
  background: #fff;
}

@media (min-width: 992px) {
  #contactFooter {
    padding-top: 65px;
    padding-bottom: 65px;
  }
}

@media (max-width: 991px) {
  #contactFooter>.row>*+* {
    margin-top: 30px;
  }
}

#contactFooter .tabHeadline {
  position: relative;
  color: #065B6B;
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 30px;
}

#contactFooter .tabHeadline::before {
  content: "";
  position: absolute;
  pointer-events: none;
  display: block;
  left: 0;
  bottom: -20px;
  width: 20px;
  height: 1px;
  background: #065B6B;
}

#contactFooter a {
  color: #065B6B;
}

#contactFooter .links a {
  color: #333333;
}

#contactFooter .links a:is(:hover, :focus) {
  color: #065B6B;
}

#contactFooter ul {
  margin: 10px 0;
  list-style: none;
  line-height: 1.8;
  text-decoration: underline;
}

#contactFooter ul>li {
  position: relative;
  padding-left: 8px;
  min-height: 11px;
  transition: color 300ms linear;
}

#contactFooter ul>li+li {
  margin-top: 8px;
}

#contactFooter ul>li::before {
  content: "\203A";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 13px;
  line-height: 1.7;
}

#contactFooter ul>li:hover,
#contactFooter ul>li:focus {
  color: #065B6B;
}

body:not(.noListStyle) #contactFooter ul {
  padding-left: 0px;
}

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

footer {
  padding-bottom: 30px;
}

#footer {
  color: #333333;
  font-size: 1.125rem;
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #e8faeb;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 992px) {
  #footer {
    padding-top: 35px;
    padding-bottom: 12px;
  }
}

@media (max-width: 991px) {
  #footer .row>.col-xs-12:not(:first-child)::before {
    background: #ffffff;
    content: " ";
    height: 1px;
    width: 100%;
    display: block;
    margin: 18px 0;
    opacity: 0.08;
  }

  #footer .row>.col-xs-12.hidden-xs~.col-xs-12::before,
  #footer .row>.col-xs-12.hidden-sm~.col-xs-12::before {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  #footer>.row:first-child>*+*:last-child {
    margin-top: 20px;
  }
}

#footer hr {
  height: 1px;
  opacity: 0.3;
  margin-top: clamp(20px, 3vw, 40px);
  margin-bottom: clamp(7px, 3vw, 6px);
  background: #000000;
  border: unset !important;
}

/* ----------------------------------------------- contactTEL ----------------------------------------------- */

.contactTEL {
  color: #065B6B;
  font-weight: 600;
  font-size: 1.5625rem;
  position: relative;
  display: inline-block;
}

@media (min-width: 1200px) {
  .contactTEL {
    font-size: 1.875rem;
  }
}

.contactTEL::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -40px;
  width: 28px;
  height: 28px;
  background: url("../img/icon-phone.png") center no-repeat;
}

/* ----------------------------------------------- contactMAIL ----------------------------------------------- */
.contactMAIL {
  color: #065B6B;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  position: relative;
  display: inline-block;
  text-decoration: underline;
}

.contactMAIL::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  margin: auto;
  left: -40px;
  width: 28px;
  height: 28px;
  background: url("../img/icon-mail.png") center no-repeat;
}

.contactTITEL {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 400;
  color: #065B6B;
  line-height: 1.2;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
  color: #333333;
}

#innerfooter a {
  color: #333333;
  font-size: 1.125rem;
  text-decoration: none;
}

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

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

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

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li+li::before {
    display: none;
  }
}

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

#vernetzt {
  gap: 16px;
  text-align: right;
  font-size: 0.875rem;
  color: #333333;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

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