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

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

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

a {
  color: #901c18;
}

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

#content a,
b,
strong {
  font-weight: 600;
}

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

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

/* ------------------------------------------- topbar --------------------------------------------- */

#topbar {
  padding: 10px 0 5px 0;
}

@media (max-width: 991px) {
  #topbar {
    padding: 10px 0;
  }
}

#topbar>.row {
  row-gap: 50px;
}

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

#logo {
  display: flex;
  align-items: center;
  align-content: center;
  gap: 20px;
  text-decoration: none;
}

#logo .logoImg img {
  display: block;
}

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

#logo .logoTxt {
  color: #212121;
  line-height: 1.2;
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 500;
  margin-top: -15px;
  margin-left: 10px;
}

#logo .logoTxt :is(b, strong) {
  color: #212121;
  display: block;
  font-size: clamp(1.875rem, 4vw, 2.375rem);
  font-weight: 700;
}

/* ------------------------------------------- tabBox1 + tabBox2 --------------------------------------------- */

.tabBox1,
.tabBox2 {
  gap: clamp(15px, 3vw, 40px);
  flex-wrap: wrap;
}

.tabBox1 {
  font-size: 1rem;
}

.tabBox1+.tabBox2 {
  margin-top: 25px;
}

/* ----------------------------------------------- search ----------------------------------------------- */

#search {
  background: #ffffff;
  display: inline-flex;
  width: 100%;
  box-shadow: 1px 1px 0 0 rgba(0, 0, 0, 0.2), 0 0 10px 0 rgba(0, 0, 0, 0.1);
  position: relative;
}

@media (min-width: 992px) {
  #search {
    max-width: 347px;
    width: 119%;
  }
}

#search_input {
  color: #191919;
  font-size: 1rem;
  font-style: normal;
  background: transparent;
  padding: 6px 14px;
  border: 0;
  width: 100%;
  margin-left: -2px;
}

#search_submit {
  min-width: 48px;
  flex-shrink: 0;
  background: url("../img/lupe-icon.png") center top 5px no-repeat;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
}

#search_submit:is(:hover, :focus) {
  background-color: #ffd000;
}

#search_input::placeholder {
  color: #191919 !important;
  opacity: 1 !important;
}

/* ----------------------------------------------- contactSocial ----------------------------------------------- */

.contactSocial {
  position: relative;
}

.contactSocial p {
  line-height: 1;
  padding: 8px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: #050505;
}

.contactSocial p+p,
.contactSocial a+a {
  margin-left: 15px;
}

.contactSocial p:hover,
.contactSocial p:focus {
  background: #ffd000;
}

.contactSocial p img {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7472%) hue-rotate(51deg) brightness(110%) contrast(107%);
}

.contactSocial p:is(:hover, :focus) img {
  filter: brightness(0) saturate(100%) invert(1%) sepia(100%) saturate(2%) hue-rotate(0deg) brightness(101%) contrast(98%);
}

/* #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: #3db4e7;
    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: #3db4e7;
    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: 992px) {
  nav.horizontally {
    background-color: #3db4e7;
    border-bottom: solid 6px #f1bd1c;
  }

  nav.horizontally::before {
    content: "";
    position: absolute;
    background: url(../img/nav-hintergrund.png) no-repeat;
    width: 100%;
    height: 100%;
    bottom: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
    left: 0;
    right: 0;
    display: block;
  }

  nav.horizontally .navbar-nav {
    display: flex;
    justify-content: space-between;
    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;
    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: #050505;
  font-weight: 400;
  text-align: left;
  padding: 10px 15px;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 18px 20px;
    text-align: center;
  }
}

/* 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-color: #ffd000;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px 0;
  background-color: #ffffff;
  box-shadow: 0px 6px 0px 0px rgba(241, 189, 28, 0.68);
  -webkit-box-shadow: 0px 6px 0px 0px rgba(241, 189, 28, 0.68);
  -moz-box-shadow: 0px 6px 0px 0px rgba(241, 189, 28, 0.68);
  border-radius: 10px;
}

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

  nav.horizontally [class*="secondlevel"]>ul {
    margin: -10px 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: #2d3133;
  font-weight: 400;
  text-align: left;
  padding: 8px 30px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@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: #901c18;
  background-color: rgba(0, 0, 0, 0.06);
}

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

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

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

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

  #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: clamp(30px, 4vw, 60px);
  padding-bottom: clamp(30px, 4vw, 60px);
}

/* ------------------------------------------------ @1tab ----------------------------------------------- */

#tab1 {
  padding: 60px 0;
  z-index: 1;
  position: relative;
  hyphens: auto;
}

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

#tab1::after {
  content: "";
  background-color: rgba(255, 255, 255, 0.54);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
  display: block;
  z-index: 0;
}

@media (max-width: 991px) {
  #tab1 {
    padding: 30px 0;
  }

  #tab1>.row>* {
    margin-bottom: 30px;
  }
}

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

#tab1 .tab {
  padding: 20px;
  font-size: 1rem;
  min-height: 100%;
  background-color: #ffffff;
  box-shadow: 0px 10px 51px 0px rgba(43, 43, 43, 0.1);
  -webkit-box-shadow: 0px 10px 51px 0px rgba(43, 43, 43, 0.1);
  -moz-box-shadow: 0px 10px 51px 0px rgba(43, 43, 43, 0.1);
  text-align: center;
  border-radius: 20px;
  z-index: 1;
  position: relative;
}

#tab1 .tabLogoBereich {
  z-index: 1;
  bottom: 0;
}

@media (min-width: 1200px) {
  #tab1 .tabLogoBereich {
    position: absolute;
    z-index: 1;
    bottom: 0;
    margin-left: -140px;
    margin-bottom: 90px;
  }
}

#tab1 .tab :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.125rem;
  font-weight: 600;
  color: #252525;
  text-transform: uppercase;
}

#tab1 .tab a:not(.has-image):not([rel]):not(.has-image) {
  text-decoration: none;
  display: inline-block;
  color: #050505;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 10px 34px;
  margin-top: 15px;
  background-color: #3db4e7;
  transition: background 300ms linear;
  border-radius: 20px;
  text-transform: uppercase;
}

#tab1 .tab a:not(.has-image):not([rel]):not(.has-image):hover,
#tab1 .tab a:not(.has-image):not([rel]):not(.has-image):focus {
  background: #ffd000;
}

#tab1 .tab img {
  margin: -20px -20px 10px -20px;
  display: block;
  width: calc(100% + 40px) !important;
  min-width: calc(100% + 40px) !important;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  max-height: 222px;
  object-fit: cover;
  object-position: center;
}

#tab .tabLogo {
  display: flex;
  justify-content: end;
}

#breaker {
  padding-top: 300px;
  margin-top: -190px;
  padding-bottom: 120px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#breaker .tab :is(h1, h2, h3) {
  font-size: 4.125rem;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0px;
}

#breaker .tab :is(h4, h5, h6) {
  color: rgb(255, 255, 255);
  margin-bottom: 0px;
  font-weight: 700;
}

#breaker .tab {
  font-size: 22px;
  color: #fff;
  margin-right: 230px;
}

/* #region --------------------------------------- buttons -------------------------------------- */
.buttonStyle {
  color: #fff;
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  display: inline-block;
  line-height: 1.2;
  color: #262626 !important;
  font-size: 1rem;
  font-weight: 400;
  background: #ffd000;
  padding: 20px 60px 20px 25px;
  position: relative;
  text-decoration: none !important;
  text-shadow: none !important;
  border-radius: 33.5px;
  font-size: 22px;
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  top: 1px;
  right: 16px;
  width: 26px;
  transition: 300ms background linear;
  background: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%230a0a0a'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"])::after {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='m28.15 35.25-1.65-1.6 8.6-8.6H8.6V22.8h26.5l-8.65-8.65 1.65-1.55 11.35 11.3Z' fill='%230a0a0a'/%3E%3C/svg%3E");
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::after {
  background-position-x: left 26px;
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  background: #ffffff;
}

.buttonStyle a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  background: #3db4e7;
}

/* #endregion ------------------------------------ buttons -------------------------------------- */
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

/* ----------------------------------------------- @11f footer ----------------------------------------------- */

/* --------------------------------------------- order -------------------------------------------- */

@media (max-width: 991px) {
  .order1 {
    order: 1;
  }

  .order2 {
    order: 3;
  }

  .order3 {
    order: 2;
  }
}

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

#footer {
  color: #ffffff;
  font-size: 1rem;
  padding-top: 40px;
  padding-bottom: 45px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #0079ad;
  border-top: #ffd000 solid 11px;
  position: relative;
}

@media (max-width: 991px) {
  #footer {
    margin-top: 0px;
    padding-top: 50px;
  }
}

#footer :is(h1, h2, h3, h4, h5, h6, .footerHeadline) {
  color: #fff;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 15px;
  text-transform: uppercase;
}

#footer a {
  color: #ffffff;
}

#footer .footerTab a {
  color: #ffffff;
  text-decoration: none;
  line-height: 2;
  font-size: 1rem;
}

#footer .footerTab {
  hyphens: auto;
}

#footer .footerTab a:hover,
#footer .footerTab a:focus {
  text-decoration: underline;
}

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

#footer .footerTab ul {
  padding: 0 !important;
}

#footer .footerTab ul li {
  list-style-type: none !important;
}

#footer .footerTab ul li {
  padding-left: 12px;
  position: relative;
  color: #ffffff;
  transition: color 300ms linear;
}

#footer .footerTab ul li::before {
  content: "\2010";
  position: absolute;
  pointer-events: none;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  transition: color 300ms linear;
}

@media (max-width: 575px) {
  #footer>.row:nth-child(2)>*+* {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 576px) {
  #footer>.row:nth-child(2)>*+*:not(:nth-child(2)) {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

@media (min-width: 992px) {
  #footer>.row:nth-child(2)>*+* {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }

  #footer::before {
    content: "";
    position: absolute;
    background: url(../img/footer-hintergrund.png) no-repeat;
    width: 100%;
    height: 341px;
    bottom: 0;
    top: 0;
    z-index: 0;
    pointer-events: none;
    left: 0;
    right: 0;
    display: block;
  }
}


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

/* --------------------------------------------- iframeMapsTab -------------------------------------------- */

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

#footer .iframeMapsTab {
  max-height: 246px;
  overflow: hidden;
}

@media (min-width: 576px) and (max-width: 991px) {
  #footer .iframeMapsTab {
    margin-top: 30px;
  }
}

/* --------------------------------------------- footer2 -------------------------------------------- */

#footer2 {
  padding: 16px 0;
  color: #131313;
  background: #fff;
}

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

#innerfooter {
  font-size: 1rem;
}

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #131313;
  padding: 24px 0px;
  text-decoration: none;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #901c18;
}

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

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

@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.8125rem;
  color: #131313;
  line-height: 1.3;
  text-decoration: none;
}

#vernetzt span span {
  display: block;
}

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