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

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

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

a {
  color: #003d5f;
}

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

#content a {
  text-decoration: underline;
}

#content a:is(:hover, :focus) {
  text-decoration: none;
}

b,
strong {
  font-weight: 700;
}

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

a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #ff0000 !important;
}


@media (min-width: 1200px) {

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

@media (max-width: 991px) {
  #opc-13323 {
  padding-left: 0% !important;
  padding-right: 0% !important;
}
}
/* --------------------------------------------- logo ------------------------------------------- */

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

/* #region ----------------------------------- options ------------------------------------------ */

#options {
  font-size: 0.875rem;
  line-height: 1.2;
  gap: 20px;
}

.buttonStyle a {
  color: #003d5f;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 19px;
  border-radius: 20px;
  border: solid 2px #2ab9d4;
  background-color: #2ab9d4;
  transition: all 300ms linear;
  display: inline-block;
}

.buttonStyle a:is(:hover, :focus) {
  text-decoration: none;
  background-color: #fff;
  border: solid 2px #003d5f;
}

#bannerOverlay .buttonStyle a {
  font-size: 1.125rem;
  margin-top: 5px;
}

#bilderTabs .buttonStyle a {
  padding: 6px 19px;
  font-size: 1rem;
}
/* #endregion -------------------------------- options ------------------------------------------ */

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

nav.horizontally {
  padding: 20px 0;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

nav.horizontally > .row {
  row-gap: 20px;
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    position: static !important;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    display: block;
    height: 50px;
    width: 60px;
    border-radius: 8px;
    padding: 6px 8px;
    cursor: pointer;
    background-color: #003d5f;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #ffffff;
    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;
    right: 15px;
    top: 15px;
    z-index: 101;
  }

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

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    padding: 15px 0 13px 0;
    transition: padding 200ms linear;
  }

  .is-sticky nav.horizontally {
    padding: 10px 0 10px 0;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 2px;
    margin-top: 0;
    transition: margin-top 200ms linear;
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin-top: 12px;
  }

  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:focus-within, :hover) > 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:is(:hover, :focus-within) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #444444;
  font-weight: normal;
  padding: 12px 15px;
  position: relative;
  text-align: left;
  border-radius: 8px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 9px 12px;
  }

  nav.horizontally li[class*="toplevel"] + li {
    margin-left: 5px;
  }

  nav.horizontally a[class*="toplevel"].dropdown-toggle::after {
    content: "";
    border-bottom: 1px solid #444444;
    border-left: 1px solid #444444;
    border-radius: 1px;
    display: block;
    position: absolute;
    right: 13px;
    top: calc(50% - 5px);
    transform: rotate(-45deg);
    height: 6px;
    width: 6px;
    transition: border 300ms linear;
  }
}
@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}
/* 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) {
  background: #e9f8fb;
  color: #003d5f;
}
nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"].open > a::after,
nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  border-bottom: 1px solid #003d5f;
  border-left: 1px solid #003d5f;
}
/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 15px;
  border-radius: 10px;
}

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

  nav.horizontally [class*="secondlevel"] > ul {
    padding: 15px;
  }
}

@media (min-width: 992px) {
  nav.horizontally [class*="toplevel"] ul {
    border-radius: 20px;
  }

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 40px;
  }

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #444444;
  font-weight: normal;
  text-align: left;
  padding: 9px 15px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 8px;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

/* 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) {
  background: #e9f8fb;
  color: #003d5f;
}

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

/* #region ------------------------------------ banner ------------------------------------------ */

#slider {
  max-height: 180px;
  position: relative;
}

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

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

#slider > * {
  height: 100% !important;
}

@media (min-width: 992px) {
  #slider {
    height: 100% !important;
    max-height: 100%;
  }

  #headerpic .slider-wrapper {
    height: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  #headerpic .nivo-directionNav a {
    z-index: 61;
  }

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

@media (min-width: 992px) {
  #headerpic a.nivo-nextNav {
    right: 65px;
  }
 }

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

.slider-mask {
  display: none;
}

@media (min-width: 768px) {
  .slider-mask {
    display: block;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to right, #f6f7f8 0%, transparent 100%);
  }
}

#bannerOverlay {
  background: #f6f7f8;
  color: #444444;
  padding-top: 25px;
  padding-bottom: 35px;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.2;
}

#bannerOverlay > .row > div {
  position: relative;
  z-index: 61;
}

@media (max-width: 767px) {
  body:not(.index) #bannerOverlay {
    display: none;
  }
}

@media (min-width: 768px) {
  #bannerOverlay {
    padding-top: clamp(50px, 8vw, 50px);
    padding-bottom: clamp(50px, 8vw, 80px);
  }

  #headerpic .nivo-controlNav {
    text-align: right;
    padding-right: clamp(20px, 5vw, 56px);
    font-size: 0;
    bottom: 10px;
  }
}

@media (min-width: 1200px) {
  #bannerOverlay {
    min-height: 580px;
    overflow: hidden;
  }
}

#bannerOverlay a + a {
  margin-left: 15px;
}
#bannerOverlay :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  text-transform: uppercase;
  color: #003d5f;
  font-weight: 400;
  letter-spacing: 1px;
  font-size: 1rem;
  margin-bottom: 10px;
  font-style: normal;
  font-family: "Lato", sans-serif;
}
#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.8125rem);
  color: #003d5f;
  margin-bottom: 15px;
}

#bannerOverlay .tabHeadline::after {
  content: "";
  display: block;
  height: 1px;
  width: 50px;
  background-color: #ffffff;
  margin: 16px 0;
}

@media (min-width: 768px) {
  #bannerOverlay .tabHeadline::after {
    margin: 10px 0 24px 0;
  }
}

.slick-slider,
.slick-slider > .slick-list,
.slick-slider > .slick-list > .slick-track,
.slick-slider > .slick-list > .slick-track > .slick-slide,
.slick-slider > .slick-list > .slick-track > .slick-slide > div,
.slick-slider > .slick-list > .slick-track > .slick-slide > div > img {
  height: 100%;
}

/* #endregion --------------------------------- banner ------------------------------------------ */

/* #region --------------------------------- scroll bottom -------------------------------------- */

#scrollBottom a {
position: absolute;
  font-size: .875rem;
  display: block;
  margin: -60px auto 0px auto;
  text-align: center;
  pointer-events: auto;
  left: 0;
  right: 0;
  z-index: 12;
  width: fit-content;
  color:#444444;
  text-transform: uppercase;
}



#scrollBottom a::after{
    position: absolute;
    content: ""
    ;
}

#scrollBottom a::after {
    left: 0px;
    right:0;
    margin:auto;
    top: 25px;
  width: 16px;
  height: 10px;
    display: inline-block;
    background:url(../img/scroll-bottom.png);
    transition: border 300ms linear;
      animation: bounceAni 2s infinite 2s;
  transition: all .2s ease-in;
}



@keyframes bounceAni {

    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
    
    100% {
        transform: translateY(0);
    }
}

/* #endregion ------------------------------ scroll bottom -------------------------------------- */
/* ------------------------------------------------ content ----------------------------------------------- */

body #content:not(:has(#welcomepage-wrapper)) {
    text-align: left;
    padding-top: clamp(30px, 4vw, 60px);
    padding-bottom: clamp(40px, 4vw, 60px);
}
body #aboveContent:not(:has(#welcomepage-wrapper)) {
    text-align: left;
    padding-top: 0;
    padding-bottom: 0;
    margin-bottom: -1px;
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #2e3c48;
  font-weight: normal;
  line-height: 1.2;
  font-family: "Akaya Kanadaka", cursive;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.5rem, 5.5vw, 2.8125rem);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(2.3125rem, 5.5vw, 2.625rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(2.125rem, 5.5vw, 2.375rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.875rem, 5.5vw, 2.125rem);
}

h5,
.h5,
.legacy_h5 {
  font-size: clamp(1.625rem, 5.5vw, 1.875rem);
}

h6,
.h6,
.legacy_h6 {
  font-size: clamp(1.375rem, 5.5vw, 1.625rem);
}

/* #region ----------------------------------- contactRow --------------------------------------- */
#kontaktBereich {
  background-color: #003d5f;
  padding: 40px 0 60px 0;
  color: #fff;
  font-size: 1.125rem;
  position: relative;
}

@media (min-width: 1200px) {
  #kontaktBereich > .row::before {
    content: "";
    position: absolute;
    background: url(../img/deko-telefonierende-person.png) no-repeat;
    width: 245px;
    height: 286px;
    bottom: -61px;
    z-index: 0;
    pointer-events: none;
 left: -163px;
    display: block;
  }
}

#kontaktBereich .tab :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  text-transform: uppercase;
  color: #fff;
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 1rem;
  margin-bottom: 20px;
  font-style: normal;
  font-family: "Lato", sans-serif;
}

#kontaktBereich .tab {
  line-height: 1.3;
}
#kontaktBereich .tab :is(h1, h2, h3, h4, h5, h6) {
  margin: 0;
  font-size: clamp(1.5625rem, 5vw, 2.1875rem);
  color: #fff;
  margin-bottom: 15px;
}
.contactElement {
  padding-left: 35px;
  font-size: 1rem;
  margin-top: 25px;
  min-height: 30px;
  line-height: 1.6;
}

.contactElement a {
  text-decoration: underline;
  color: #2ab9d4;
}
.contactElement a:is(:hover, :focus) {
  text-decoration: none;
}

.location {
  background: url("../img/icon-standort.png") no-repeat left center / 24px auto;
}

.phone {
  background: url("../img/icon-telefon.png") no-repeat left center / 25px auto;
}

.mail {
  background: url("../img/icon-mail.png") no-repeat left center / 24px auto;
}

/* --------------------------------------------- formular --------------------------------------------- */

#kontakt {
  color: #003d5e;
  font-style: normal;
  background-color: #fff;
  border-radius: 30px;
  padding: 30px;
}

@media (min-width: 768px) {
  #kontakt > .row {
    position: relative;
  }

  #kontakt > .row::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    display: block;
    background: rgba(255, 255, 255, 0.1);
  }
}

@media (min-width: 992px) {
  #kontakt > .row::after {
    left: 42%;
  }
}

#kontakt .formtab p {
  margin: 0;
}

#kontakt .formgen_element,
#kontakt input[id$="_input"],
#kontakt input[name="captcha"],
#kontakt input[type="text"],
#kontakt textarea {
  color: #2b2b2b !important;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ffffff;
  padding: 3px 10px;
}

#kontakt input[type="submit"] {
  color: #003d5f;
  font-size: 1rem;
  font-weight: 700;
  padding: 7px 15px;
  border-radius: 20px;
  border: solid 2px #2ab9d4;
  background-color: #2ab9d4;
  transition: all 300ms linear;
}

#kontakt input[type="submit"]:is(:hover, :focus) {
  text-decoration: none;
  background-color: #fff;
  border: solid 2px #003d5f;
}
#kontakt .ascii-captcha-refresh {
  color: #232323 !important;
}
@media (max-width: 767px) {
  #kontakt > .row > div + div {
    margin-top: 30px;
  }
}

#kontakt h1,
#kontakt h2,
#kontakt h3,
#kontakt p {
  color: #003d5e;
}

#kontakt h4,
#kontakt h5,
#kontakt h6,
#kontakt a,
#kontakt a:hover,
#kontakt a:focus {
  color: #003d5e;
  font-weight: 400;
  text-decoration: underline;
}

#kontakt .formgen {
  margin: 0;
}
/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #2b353a;
}

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

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

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

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

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

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

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

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

#vernetzt {
  gap: 15px;
  text-align: right;
  font-size: 0.9375rem;
  color: #ffffff;
  line-height: 1.2;
  text-decoration: none;
}

#vernetzt :is(b, strong) {
  font-weight: 700;
  color: #ffffff;
}

#vernetzt span span {
  display: block;
}

/* --------------------------------------------- Kontrast -------------------------------------------- */
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
  background-color: #000 !important;
}
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
  background-color: #fff !important;
}

.contrast_light_font .dropdown-toggle-button {
  background-color: #000 !important;
}

.contrast_light_font #bilderTabs .tab {
  border: solid 1px #fff;
}

.contrast_dark_font #bilderTabs .tab {
  border: solid 1px #000;
}

.contrast_dark_font nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::after,
.contrast_dark_font nav.horizontally li[class*="toplevel"] > a:is(:hover, :focus)::after,
.contrast_dark_font nav.horizontally li[class*="toplevel"].open > a::after,
.contrast_dark_font nav.horizontally li[class*="toplevel"].open > a:is(:hover, :focus)::after,
.contrast_dark_font nav.horizontally li[class*="toplevel"][class*="_over"] > a::after,
.contrast_dark_font nav.horizontally li[class*="toplevel"][class*="_over"] > a:is(:hover, :focus)::after {
  border-color: #fff !important;
}
