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

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

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

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

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

b,
strong {
  font-weight: 700;
}

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

#logo {
  display: inline-block;
  margin: 32px 0;
  transition: margin 200ms;
}

.is-sticky #logo {
  margin: 13px 0;
}

#logo img {
  display: block;
}

.logo-titel :is(h1, h2, h3, h4, h5, h6) {
  color: #2f333f;
  font-size: clamp(1rem, 5vw, 1.125rem);
  font-weight: 400;
  text-decoration: none;
  margin-left: 10px;
  margin-bottom: 0;
}

#logo:hover {
  text-decoration: none;
}

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

/* -------------------------------------------- Sprache------------------------------------------ */

.tabSprache {
  padding: 30px 15px 33px 15px;
  position: relative;
}

.tabSprache::before {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 20px;
  left: 0;
  bottom: 40%;
  transform: translateX(-40%);
  background-color: #2f333f;
}

.tabSprache a {
  color: #3f4545;
  font-weight: 700;
  text-align: left;
  padding: 12px 0 16px 10px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
}

.tabSprache a:hover {
  color: #40725f;
}

@media (max-width: 767px) {
  #language {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #logo {
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }

  .tabSprache::before {
    display: none;
  }

  .tabSprache {
    padding: 10px 15px;
  }
}

/* ---------------------------------------- adresszeile ----------------------------------------- */

.adresszeile {
  background: #f5f5f5;
  padding: 10px 0;
  font-size: 0.875rem;
}

.adresszeile a {
  color: #40725f;
}

@media (min-width: 991px) {
  #addresszeile {
    position: static !important;
  }
}

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

nav.horizontally {
  border-bottom: 5px solid #c0ddd2;
  background-color: #ffffff;
}

/* 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 !important;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.08);
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #40725f;
    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: 3px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  nav.horizontally .navbar-nav>li {
    flex-grow: 1;
  }

  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: #3f4545;
  font-weight: 700;
  text-align: left;
  padding: 12px 15px 16px 15px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Nunito", sans-serif;
}

nav.horizontally a[class*="toplevel"]::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  bottom: 0px;
  transition: all 300ms ease;
  background: #40725f;
  left: 0;
  margin: auto;
  right: 0;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"].dropdown-toggle {
    padding-right: 35px;
  }
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 30px 6px 33px 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    height: 100%;
  }

  .navbar-default .navbar-nav>li>a::after {
    bottom: -5px;
  }
}

/* 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: #40725f;
  background-color: transparent;
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px 0;
  background-color: #c0ddd2;
}

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

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

  nav.horizontally [class*="secondlevel"]>ul {
    margin: -40px 0 0 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"]) {
  background-color: transparent;
  color: #3f4545;
  font-weight: 400;
  text-align: left;
  padding: 8px 30px;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"])+li:not(:nth-child(2)) {
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

/* 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) {
  color: #fff;
  background-color: #40725f;
}

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

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

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

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

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

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

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

.slider-mask {
  display: none;
}

.theme-nivo .nivo-controlNav {
  bottom: auto !important;
  top: 0 !important;
}






/* ------------------------------------------ tab buttons --------------------------------------- */

.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])),
#tabs .tab_link_mehr a {
  color: #ffffff;
  background: #40725f;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 400;
  border-radius: 4px;
  padding: 9px 12px;
  text-decoration: none;
  display: inline-block;
  font-family: "Nunito", sans-serif;
  margin-top: 30px;
}

.buttonStyle a:not(:is([href*="mailto"], [href*="tel"])):is(:hover, :focus),
#tabs .tab_link_mehr a:is(:hover, :focus) {
  background: #ffffff;
  color: #40725f;
}

/* #region ------------------------------------- teaser ----------------------------------------- */

#teaser {
  background: #99c7b8;
  color: #3f4545;
}

#teaser a:is([href*="mailto"], [href*="tel"]) {
  color: inherit;
  text-decoration: underline;
}

#teaser .tabHeadline {
  color: #3f4545;
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 20px;
}

#teaser>.row>* {
  padding: 25px 15px;
}

#teaser>.row>*:nth-child(3) {
  font-size: 1.375rem;
  line-height: 1;
}

#teaser>.row>*:nth-child(3) :is(i, em) {
  font-size: 1.125rem;
  line-height: 1;
}

@media (min-width: 1200px) {
  #teaser>.row>*:nth-child(1) {
    background: url("../img/icon-informationen.png") bottom right no-repeat no-repeat;
    padding: 50px 30px 40px 60px;
    flex: 0 0 30%;
    max-width: 30%;
  }

  #teaser>.row>*:nth-child(2) {
    background: url("../img/icon-notfall-v2.png") bottom right 20px no-repeat #add1c5;
    padding: 50px 30px 40px 60px;
    flex: 0 0 30%;
    max-width: 30%;
  }

  #teaser>.row>*:nth-child(3) {
    background: url("../img/icon-telefonzeiten.png") bottom -20px right -10px no-repeat #c0ddd2;
    padding: 50px 140px 40px 60px;
    flex: 0 0 40%;
    max-width: 40%;
  }
}

/* #endregion ---------------------------------- teaser ----------------------------------------- */

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

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

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

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #40725f;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Nunito", sans-serif;
}

h1,
.h1,
.legacy_h1 {
  font-size: clamp(2.125rem, 4vw, 2.375rem);
}

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

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

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

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

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

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

#tab1 {
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  line-height: normal;
  padding: 30px 0;
}

/* ------------------------------------------------ @26tab ----------------------------------------------- */

#tab26 {
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

#tab26 .tab {
    font-size: 1.375rem;
    color: #3f4545;
    line-height: 1.3;
}

#tab26 .tab :is(b, strong) {
    font-size: 1.125rem;
    font-weight: 400;
}

#tab26 .tab :is(h1, h2, h3, h4, h5, h6) {
    font-size: 1.25rem;
    font-weight: 700;
    color: inherit;
}

/* ----------------------- @26tab slider tabs same height ------------------------------------------ */

#tab26 .slick-track {
    display: flex;
}

#tab26 .slick-slide {
    padding: 15px;
    height: auto !important;
}

#tab26 .slick-slide>div,
#tab26 .slick-slide .tab {
    height: 100%;
}

/* ----------------------- @26tab slider arrows + dots ------- DO NOT DELETE ----------------------- */

#tab26 .slick-slide {
    padding: 15px;
}

#tab26 :is(.slick-dots button, .slick-button) {
    background: transparent;
    border: none;
    padding: 5px;
}

#tab26 .slick-button {
    font-size: 0px;
    position: relative;
    top: 4px;
    display: inline-block !important;
}

#tab26 .slick-prev {
    margin-left: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
   left: -20px;
}

#tab26 .slick-next {
    margin-left: 14px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: -20px;
}

@media (max-width: 767px) {
    #tab26 .slick-next {
        margin-left: 14px;
    }
}

#tab26 .slick-button::before {
    display: block;
    line-height: 9px;
    height: 20px;
    font-size: 40px;
    color: #000000;
}

#tab26 .slick-dots {
    padding: 0 15px;
    list-style: none;
    display: inline-flex;
    gap: 10px;
}

#tab26 .slick-dots>li {
    display: inline-block;
    position: relative;
    top: 50%;
    font-size: 0px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid #000000;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    #tab26 .slick-dots {
        display: none !important;
    }
}

#tab26 .slick-dots>li.slick-active {
    background: #000000;
    transition: background 200ms linear;
}

#tab26 .slick-prev::before {
    content: "\2039";
}

#tab26 .slick-next::before {
    content: "\203A";
}

/* ------------ @26tab slider 1 stop/play button for accessibility ------- DO NOT DELETE ------------ */

#tab26 .slick-animate-control {
    position: relative;
    z-index: 2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    left: 10px;
    border: 1px solid #ffffff;
    background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M12 36V12h24v24Z' fill='%23fff'/%3E%3C/svg%3E") center / 16px 16px no-repeat
}

#tab26 .slick-animate-control.slick-pause {
    background-size: 20px 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M16 37.85v-28l22 14Z' fill='%23fff'/%3E%3C/svg%3E");
}

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

footer {
  padding: 32px 0;
  background: #ffffff;
  color: #33433b;
}

footer>.row {
  row-gap: 25px;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter a {
  color: #33433b;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9375rem;
  border-radius: 2px;
  padding: 2px 4px;
}

#innerfooter ul a:is(:hover, :focus) {
  color: #40725f;
}

@media (min-width: 576px) {
  #innerfooter ul li {
    display: inline-block;
  }

  #innerfooter ul li+li::before {
    content: "•";
    margin: 0 clamp(10px, 2vw, 20px);
    color: #33433b;
  }
}

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

#vernetzt {
  gap: 15px;
  text-align: left;
  font-size: 0.875rem;
  color: #33433b;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}