@import url("https://fonts.verwaltungsportal.de/import/?family=Red+Hat+Text:400,400i,600,600i%7CPatrick+Hand:400");

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

body {
  font-family: "Red Hat Text", sans-serif;
  font-weight: 400;
  color: #444444;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  /* 1rem = 16px */
  line-height: 1.5;
}
a:focus-visible,
button:focus-visible,
form:focus-visible,
input:focus-visible {
  outline: 3px solid #ff0000 !important;
}

a {
  color: #004484;
  text-decoration: underline;
}

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

b,
strong {
  font-weight: 600;
}

#overflow {
  overflow: clip;
}

/* #region ------------------------------------ topbar ------------------------------------------ */

#topbar {
  position: relative;
}

#topbar::before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  background: #e9c46a linear-gradient(to right, #f4a261 50%, rgba(255, 255, 255, 0) 50%) top left / 40% 100%;
}

#topbar > .row {
  font-size: 1rem;
  padding: 30px 0;
}

.logo-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

#logo {
  display: block;
  position: absolute;
  z-index: 10;
  top: -120px;
  padding: 20px 27px;
  background-color: #ffffff;
  border-radius: 0 0 4px 4px;
  box-shadow: 0px 5px 12px 0px rgba(0, 0, 0, 0.1);
  transition: all 300ms linear;
}

.is-sticky #logo {
  top: 0;
  padding: 12px 17px;
}

.is-sticky #logo img {
  max-width: 100px;
  width: 100%;
}

#logo img {
  display: block;
}

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

  #logo {
    position: relative;
    top: 0px;
    box-shadow: none;
    padding: 16px;
  }

  #topbar > .row {
    font-size: 1rem;
    padding: 16px 0;
  }
}

#contact-col {
  column-gap: 30px;
}

@media (max-width: 575px) {
  #contact-col {
    font-size: 0.875rem;
  }
}

@media (max-width: 992px) {
  #topbar {
    display: none;
  }
}

.contact-tab {
  padding-top: 55px;
  background: center top / auto no-repeat;
  min-height: 30px;
  display: grid;
  place-content: center;
}

@media (min-width: 992px) {
  .contact-tab {
    padding: 0 0 0 70px;
    background: center left / auto no-repeat;
    min-height: 53px;
  }
}

.contact-tab.contact-phone {
  background-image: url("../img/icon-kontakt.png");
}

.contact-tab.contact-phone :is(b, strong) {
  text-transform: uppercase;
}

.contact-tab.contact-address {
  background-image: url("../img/icon-adresse.png");
}

@media (max-width: 991px) {
 .contact-tab {
    color: #fff;
  }

  .contact-tab.contact-phone,
  .contact-tab.contact-address {
    margin-bottom: 30px;
  filter: brightness(0) saturate(100%) invert(100%) sepia(16%) saturate(0%) hue-rotate(58deg) brightness(101%) contrast(101%);
  }

}

/* #endregion --------------------------------- topbar ------------------------------------------ */

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

/* burgermenu for tablet */

@media (max-width: 991px) {
  .sticky-wrapper {
    height: auto !important;
  }

  .sticky-wrapper nav.horizontally {
    position: static !important;
  }

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

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #ffffff;
    border-radius: 4px;
    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: #004484;
    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: 10px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    background: rgba(0, 68, 132, 0.8);
    transition: background-color 300ms linear;
  }

  .is-sticky nav.horizontally {
    background: rgb(0, 68, 132);
  }

  nav.horizontally::before {
    content: "";
    background:
      linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x,
      linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    left: 0;
    pointer-events: none;
  }

  .sticky-wrapper,
  nav.horizontally {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 99;
  }

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

  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: #ffffff;
  font-weight: 400;
  text-align: left;
  padding: 12px 15px 12px 20px;
  position: relative;
  font-size: 1.4375rem;
  line-height: 1.2;
  text-decoration: none;
  font-family: "Patrick Hand", sans-serif;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] + li {
    border-top: 1px solid rgba(255, 255, 255, 0.4);
  }

  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: 26px 0;
  }
}

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  width: 12px;
  height: 20px;
  display: block;
  position: absolute;
  left: 0;
  bottom: calc(50% - 10px);
  border-radius: 0 10px 10px 0;
  background-color: #e9c46a;
  opacity: 0;
  transition: opacity 300ms linear;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::before {
    width: 20px;
    height: 12px;
    left: calc(50% - 10px);
    bottom: 0;
    border-radius: 10px 10px 0 0;
  }
}

/* toplevel-over */

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

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #2e3c48;
  font-weight: 400;
  text-align: center;
  padding: 10px 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;
  }

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

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

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

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

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

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

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

#content {
  text-align: left;
  padding-top: 40px;
  padding-bottom: clamp(40px, 8vw, 120px);
}

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

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4,
#tabs :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.875rem;
}

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

h6,
.h6,
.legacy_h6,
#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.625rem;
}

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

footer {
  font-size: clamp(1rem, 2vw, 1.125rem);
  background: #004484;
}

#footer {
  color: #ffffff;
  position: relative;
  background: center / cover no-repeat;
  padding: 70px 0;
  box-shadow: inset 0 0 0 100vw rgba(0, 68, 132, 0.8);
}

@media (max-width: 991px) {
  #footer {
    padding-top: 40px;
    padding-bottom: 270px;
  }
}

#footer::before {
  content: "";
  background:
    linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) top left / 9px 1px repeat-x,
    linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0) 50%) bottom left / 9px 1px repeat-x;
  position: absolute;
  top: 10px;
  right: 0;
  bottom: 10px;
  left: 0;
  pointer-events: none;
}

#footer::after {
  content: "";
  display: block;
  background: url("../img/deko-schulsachen.png") center / 100% auto no-repeat;
  width: 384px;
  height: 236px;
  position: absolute;
  left: calc(50% - 180px);
  bottom: 0;
}

@media (min-width: 992px) {
  #footer::after {
    background: url("../img/deko-schulsachen.png") center / 80% auto no-repeat;
    left: calc(50% - 120px);
    bottom: -24px;
  }
}

@media (min-width: 1199px) {
  #footer::after {
    background: url("../img/deko-schulsachen.png") center / 100% auto no-repeat;
    bottom: 0;
  }
}

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

#footer .template-page :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 5px;
}

.footer-tab {
  font-family: "Patrick Hand", sans-serif;
  font-size: 1.5625rem;
  padding-top: 100px;
  background: url("../img/heart.png") center top no-repeat;
}

.footer-tab a {
  color: #e9c46a;
}

.footer-tab a:hover {
  color: #ffe49f;
}

@media (min-width: 768px) {
  .footer-tab {
    min-height: 80px;
    padding: 0 0 0 115px;
    background-position: left 15px center;
  }
}

#innerfooter {
  padding-top: 17px;
  padding-bottom: 17px;
  font-size: 1rem;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: block;
}

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

@media (max-width: 575px) {
  #innerfooter a {
    padding: 6px;
    display: inline-block;
  }
}

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

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

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

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

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

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

#vernetzt span span {
  display: block;
}

#vernetzt strong {
  font-weight: inherit;
  color: #e9c46a;
}

/* ----------------------------------------------- @3f footer ----------------------------------------------- */

/* ----------------------------------------- maps_contact -------------------------------------- */

#maps_contact {
  color: #444444;
  font-size: 1rem;
  background-color: #ffffff;
  overflow: hidden;
}

#maps_contact .tab {
  padding: 35px 0;
}

#maps_contact .tabHeadline {
  color: #004484;
  font-size: 1.625rem;
}

#maps_contact .tab a {
  color: #004484;
}

#maps_contact .tab a:is(:hover, :focus) {
  text-decoration: underline;
  color: #002242;
}

#maps_contact .tab a[href^="mailto:"] {
  text-decoration: underline;
}

#maps_contact > .row {
  max-width: 100%;
  width: 100%;
}

#maps_contact .noPadding {
  padding: 0px;
}

#maps_contact .iframeMapsTab {
  height: 100%;
}

#maps_contact .iframeMapsTab .cleaner {
  height: 0;
}

#maps_contact .iframeMapsTab .row {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
  max-height: 100% !important;
  min-height: 100% !important;
  height: 100% !important;
}
#maps_contact .iframeMapsTab .row div {
  padding: 0;
}

#maps_contact .iframeMapsTab iframe,
#maps_contact .template-page,
#maps_contact .iframeMapsTab .iframe-wrapper-manual-enabling {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

@media (min-width: 768px) {
  #maps_contact .colMaps {
    padding-left: 0;
    max-width: 1060px;
  }

  #maps_contact .iframeMapsTab iframe,
  #maps_contact .template-page,
  #maps_contact .iframeMapsTab .iframe-wrapper-manual-enabling {
    max-height: 100% !important;
    min-height: 200px;
    height: 100% !important;
  }

  #maps_contact .colContact {
    max-width: 506px;
  }
}

@media (max-width: 767px) {
  #maps_contact .colMaps {
    padding: 0px;
  }

  #maps_contact .colContact {
    max-width: 576px;
    margin: auto;
  }
}
