@import url("https://fonts.verwaltungsportal.de/import/?family=Raleway:400,400i,500,500i");
@import url("https://fonts.verwaltungsportal.de/import/?family=Protest+Revolution:400");

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

body {
  font-family: "Raleway", sans-serif;
  font-weight: 400;
  color: #252525;
  background: #e4f2ff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  /* 1rem = 16px */
  line-height: 1.5;
}

a {
  color: #005028;
}

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

.linkUnderline a:not(.has-image, .shareButtonLink) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration 300ms;
}

.linkUnderline a:not(.has-image, .shareButtonLink):is(:hover, :focus) {
  text-decoration-color: transparent;
}

:not(.cc_banner-wrapper, [id^="search_input"], [id^="search_submit"]):focus-visible,
#vernetzt:focus-visible span {
  background-color: #f8d135 !important;
  color: #252525 !important;
  z-index: 100;
  text-decoration: none;
  outline: 2px solid #252525;
}

:is([id^="search_input"], [id^="search_submit"]):focus-visible {
  outline: 2px solid #000;
}

b,
strong {
  font-weight: 500;
}

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

.rowGap {
  row-gap: 30px;
}

@media (min-width: 1200px) {
  .rowWide {
    max-width: 1600px;
    width: 100% !important;
  }
}

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

#topbar {
  padding-block: 15px;
  background: #6699cc;
  color: #252525;
}

#topbar .template-page a {
  text-decoration: none;
  display: inline-block;
  color: #ffffff;
  font-size: 1.125rem;
  padding: 13px 26px;
  background: #f8d135;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.12);
  border-radius: 0 10px;
  color: #252525;
  font-family: "Protest Revolution", sans-serif;
  text-transform: uppercase;
}
@media (max-width: 1199px) {
  #topbar .template-page a {
    margin: 5px;
  }
}

@media (max-width: 991px) {
  #topbar .template-page a {
    font-size: 1rem;
    padding: 9px 16px;
  }
}

#topbar .template-page a:is(:hover, :focus) {
  background: #fff;
}

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    background-color: #fff;
  }

  #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: #252525;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 10px;
    transition:
      transform 200ms linear,
      opacity 200ms linear;
  }

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

  #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: #fff;
    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;
  }
}

/* menu desktop */
@media (min-width: 1200px) {
  nav.horizontally::before {
    content: "";
    border-top: rgba(82, 138, 193, 0.4) 2px solid;
    border-bottom: rgba(82, 138, 193, 0.4) 2px solid;
    position: absolute;
    top: 19px;
    right: 0;
    bottom: 19px;
    left: 0;
    pointer-events: none;
  }
}

@media (min-width: 992px) {
  nav.horizontally {
    background-color: rgba(255, 255, 255, 0.92);
    padding: 30px 0 25px 0;
  }

  #sticky-wrapper {
    position: absolute;
    width: 100%;
    left: 0;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  nav.horizontally .navbar-nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    display: block !important;
    pointer-events: none;
    opacity: 0;
    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: #252525;
  font-weight: 400;
  text-align: left;
  padding: 10px 15px 15px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Protest Revolution", sans-serif;
  text-transform: uppercase;
}

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

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

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

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

nav.horizontally li[class*="toplevel"]:is(:hover, :focus-within) > a::before,
nav.horizontally li[class*="toplevel"] > a::before:is(:hover, :focus),
nav.horizontally li[class*="toplevel"].open > a::before,
nav.horizontally li[class*="toplevel"].open > a::before:is(:hover, :focus),
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before,
nav.horizontally li[class*="toplevel"][class*="_over"] > a::before:is(:hover, :focus) {
  opacity: 1;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

  nav.horizontally [class*="toplevel"] > ul {
    left: 50%;
    transform: translate(-50%, 0);
  }

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

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

  nav.horizontally [class*="toplevel"] > ul::before {
    content: "";
    position: absolute;
    display: block;
    height: 25px;
    left: 0;
    right: 0;
    top: -25px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #252525;
  font-weight: 500;
  text-align: center;
  padding: 12px 25px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    text-align: left;
    padding: 8px 25px;
  }

  nav.horizontally a[class*="secondlevel"].dropdown-toggle2 {
    padding-right: 35px;
  }
}

/* secondlevel + thirdlevel over */

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

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

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

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

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

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

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

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

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

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

.slider-mask {
  display: block;
  background: linear-gradient(to top, rgba(228, 242, 255, 1) 0%, rgba(228, 242, 255, 0) 50%);
}

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

#scrollBottom {
  font-size: 0;
  border-radius: 50%;
  display: block;
  width: 40px;
  height: 40px;
  text-align: center;
  background-color: #f8d135;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.12);
  animation: bounceAni 2s infinite 2s;
  transition: all 0.2s ease-in;
  position: absolute;
  left: calc(50% - 20px);
  bottom: 20px;
  z-index: 50;
}

@media (min-width: 768px) {
  #scrollBottom {
    bottom: 45px;
  }
}

#scrollBottom:is(:hover, :focus) {
  animation-play-state: paused;
}

#scrollBottom::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 1px;
  margin-top: 13px;
  display: inline-block;
  border-left: 2px solid #252525;
  border-bottom: 2px solid #252525;
  transform: rotate(-45deg);
  transition: border 300ms linear;
}

@keyframes bounceAni {
  0%,
  100%,
  20%,
  50%,
  80% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

#scrollBottom:is(:hover, :focus) {
  background-color: #fff;
}

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

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

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

@media (min-width: 992px) {
  .rightContent {
    margin-bottom: -115px;
    margin-top: clamp(30px, 4vw, 60px);
  }
}

@media (max-width: 991px) {
  .rightContent {
    margin-bottom: 30px;
  }
}

.contentButton a {
  text-decoration: none;
  display: inline-block;
  color: #252525;
  font-size: clamp(1rem, 2vw, 1.5625rem);
  padding: 13px 26px;
  background: #f8d135;
  text-transform: uppercase;
  border-radius: 0 20px;
  margin-top: 20px;
}

.contentButton a:is(:hover, :focus) {
  background: #fff;
}
@media (max-width: 991px) {
  .contentButton a {
    padding: 11px 14px;
  }
}
/* ----------------------------------- Tabs ------------------------------------------- */

.tab {
  border-top-right-radius: 74px;
  margin-bottom: 30px;
  position: relative;
  color: #252525;
  font-size: 1rem;
  padding: 40px 30px 65px 30px;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.12);
  hyphens: auto;
  z-index: 20;
  height: 100%;
}
@media (max-width: 991px) {
  .tab {
    padding: 30px 30px;
  }
}

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

.tab :is(b, strong) {
  font-weight: 500;
}

.tab1 {
  background-color: #f8d135;
}

.tab2 {
  background-color: #a9c5df;
}

@media (min-width: 992px) {
  .tab {
    margin-left: -15px;
  }
  .tab1::after {
    content: "";
    position: absolute;
    right: 80px;
    top: 70px;
    transform: translate(100%, -100%);
    background: url(../img/deko-wolke-kontakt.png);
    width: 352px;
    height: 182px;
    z-index: 20;
    pointer-events: none;
  }
  .tab2::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 10px;
    transform: translate(100%, 0);
    background: url(../img/deko-wolke-aktuelles.png);
    width: 300px;
    height: 167px;
    z-index: 20;
    pointer-events: none;
  }
}

.tab a {
  color: #252525;
}

#news {
  font-size: 1rem;
  position: relative;
}

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

#news .tab_link_title a {
  font-size: 1.125rem;
  font-weight: 500;
}
@media (max-width: 575px) {
  #news .tab_link_title a {
    font-size: 1rem;
  }
}

#news .tab_link_mehr {
  font-size: 0;
}

#news .tab_link_mehr a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
}

.tabHeadline {
  font-size: 1.625rem;
  color: #252525;
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

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

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

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

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.75rem, 5vw, 2.8125rem);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(1.625rem, 4.5vw, 2.5rem);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.5rem, 4vw, 2.1875rem);
}

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

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

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

#footer {
  background-color: #6699cc;
  padding: 50px;
  color: #252525;
  position: relative;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.5vw, 2.1875rem);
}
#footer::after {
  content: "";
  position: absolute;
  inset: 25px 0;
  border-top: 2px dashed #cde0ff;
  border-bottom: 2px dashed #cde0ff;
  opacity: 0.4;
  pointer-events: none;
}

@media (min-width: 992px) {
  #footer > .row::before {
    content: "";
    position: absolute;
    top: -90px;
    left: -30px;
    transform: translateX(-100%);
    background: url(../img/deko-wolke-footer.png);
    width: 296px;
    height: 153px;
    z-index: 2;
  }
  #footer > .row::after {
    content: "";
    position: absolute;
    bottom: -75px;
    right: -15px;
    transform: translateX(100%);
    background: url(../img/deko-kinder.png);
    width: 333px;
    height: 193px;
    z-index: 2;
  }
}

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

#footer .footerSlogan {
  font-family: "Protest Revolution", sans-serif;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
}

#footer .logoDeko {
  position: relative;
}

#innerfooter {
  background-color: #d4e2ef;
  padding-top: 15px;
  padding-bottom: 15px;
  font-size: 1rem;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

#innerfooter a {
  color: #252525;
  text-decoration: none;
  font-weight: 400;
}

@media (max-width: 575px) {
  #innerfooter ul {
    border-bottom: solid 1px #6699cc;
    padding-bottom: 15px;
  }
  #innerfooter a {
    line-height: 1.7;
  }
}

#innerfooter a:is(:hover, :focus):not(#vernetzt) {
  text-decoration: underline;
  color: #005028;
}

@media (min-width: 500px) {
  #innerfooter li + li::before {
    content: "•";
    margin: 0 clamp(15px, 2vw, 25px);
    color: #252525;
  }

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

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

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

#vernetzt {
  gap: 18px;
  text-align: right;
  font-size: 0.875rem;
  color: #fff;
  line-height: 1.3;
  font-weight: 400;
  text-decoration: none;
}

#vernetzt strong {
  font-weight: 500;
}

#vernetzt span span {
  display: block;
}

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