@import url("https://fonts.verwaltungsportal.de/import/?family=Hanken+Grotesk:400,400i,600,600i%7CExo:400,400i,700,700i");

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

body {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 400;
  color: #222222;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.125rem);
  /* 1rem = 16px */
  line-height: 1.5;
  box-shadow: 0 0 100px 0 rgba(0, 0, 0, 0.1);
}

a {
  color: #00496b;
}

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

b,
strong {
  font-weight: 600;
}

:is(.contactCol, main, #quote, #footer) a {
  font-weight: 600;
  text-decoration: underline;
}

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

hr {
  opacity: 1;
  border-color: #ffdfa8;
  margin: clamp(20px, 4vw, 40px) 0 clamp(20px, 4vw, 36px) 0;
}

/* #region --------------------------------------- logo ----------------------------------------- */

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

#logo .logoImg img {
  display: block;
}

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

#logo .logoTxt {
  color: #ffbf52;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Exo", sans-serif;
  font-size: clamp(1.25rem, 5.5vw, 1.875rem);
}
@media (max-width: 767px) {
      #logo .logoImg img{
      max-width: 45px;
        
    }
}
/* #endregion ----------------------------------- logo ------------------------------------------ */

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

#topbar {
  padding-top: 25px;
  font-size: 0.875rem;
}

@media (min-width: 992px) {
  #topbar {
    padding: 15px 0;
  }
}

#topbar,
#topbar :is(h1, h2, h3, h4, h5, h6, a) {
  color: #ffffff;
}

#topbar :is(b, strong, a) {
  font-size: 1rem;
}

/* contact col */

#phone-tab,
#mail-tab {
  padding-top: 42px;
  display: block;
  min-height: 42px;
  min-width: 42px;
  background-position: top left;
  background-repeat: no-repeat;
  background-size: auto 34px;
}

@media (min-width: 576px) {
  #phone-tab,
  #mail-tab {
    padding-top: 0;
    padding-left: 48px;
    background-position: center left;
  }
}

#phone-tab {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.75 40.9q-5.6 0-11.25-2.875T17.3 30.6q-4.55-4.55-7.4-10.175Q7.05 14.8 7.05 9.2q0-.95.625-1.575T9.25 7h5.7q.8 0 1.35.5t.75 1.35l1.2 5.35q.1.75-.05 1.35-.15.6-.6 1l-4.7 4.6q2.85 4.8 6.375 8.275Q22.8 32.9 27.35 35.4l4.5-4.7q.5-.55 1.125-.775.625-.225 1.325-.075l4.85 1.1q.8.15 1.3.75t.5 1.45v5.5q0 .95-.625 1.6-.625.65-1.575.65Zm-27-21.8 4.1-4q.1-.1.125-.225.025-.125.025-.225L14.9 9.6q-.05-.2-.15-.275-.1-.075-.25-.075H9.6q-.15 0-.225.075Q9.3 9.4 9.3 9.55q-.05 1.95.6 4.325t1.85 5.225ZM29.5 36.45q2.05 1 4.475 1.55t4.425.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1ZM11.75 19.1ZM29.5 36.45Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

#mail-tab {
  margin-left: clamp(20px, 4vw, 60px);
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7.9 39q-1.2 0-2.05-.85Q5 37.3 5 36.1V11.9q0-1.2.85-2.05Q6.7 9 7.9 9h32.2q1.2 0 2.05.85.85.85.85 2.05v24.2q0 1.2-.85 2.05-.85.85-2.05.85ZM24 24.3 7.25 13.25V36.1q0 .3.175.475t.475.175h32.2q.3 0 .475-.175t.175-.475V13.25Zm0-2.4 16.3-10.65H7.75ZM7.25 13.25v-2V36.1q0 .3.175.475t.475.175h-.65V36.1Z' fill='%23ffffff'/%3E%3C/svg%3E");
}

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

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

/* burgermenu for tablet */

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

  #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: #2f77a7;
    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 {
    padding: 20px 10px;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #2f77a7;
    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: 8px;
    right: 0;
  }

  .dropdown-toggle-button-wrapper2 {
    top: 6px;
    right: 0;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    transition: background 300ms linear;
  }

  .is-sticky nav.horizontally {
    left: auto !important;
    background: #2f77a7;
  }

  nav.horizontally .navbar-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding: 20px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }

  .is-sticky nav.horizontally .navbar-nav {
    border-top-color: transparent;
  }

  nav.horizontally li[class*="toplevel"] {
    flex-grow: 1;
  }

  nav.horizontally [class*="toplevel"] > ul {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
  }

  nav.horizontally [class*="secondlevel"] > ul {
    position: absolute;
    left: 100%;
    top: 0;
  }

  nav.horizontally .navbar-nav li {
    position: relative;
  }

  nav.horizontally .navbar-nav li :is([class*="toplevel"] > ul, [class*="secondlevel"] > ul) {
    display: block !important;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms linear;
  }

  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: 600;
  text-transform: uppercase;
  text-align: left;
  padding: 14px 5px;
  position: relative;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  transition: border 300ms linear;
}

@media (max-width: 991px) {
  nav.horizontally li[class*="toplevel"] + li {
    margin-top: 2px;
  }

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

  nav.horizontally a[class*="toplevel"] {
    overflow-wrap: break-word;
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
  }
}

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

  nav.horizontally li[class*="toplevel"] + li {
    border-left: 1px solid rgba(255, 255, 255, 0.3);
  }
}

nav.horizontally a[class*="toplevel"]::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  height: 5px;
  width: 0;
  background: #ffbf52;
  transform: translateX(-50%);
  transition: width 300ms linear;
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"]::after {
    top: -23px;
    bottom: auto;
  }
}

/* toplevel-over */

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 {
  width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

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

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

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally li:is([class*="secondlevel"], [class*="thirdlevel"]):not(:nth-child(2)) {
  border-top: 1px solid rgba(255, 191, 82, 0.5);
}

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #222222;
  text-align: left;
  font-size: 1rem;
  font-weight: 400;
  padding: 11px 0;
  line-height: 1.2;
  text-decoration: none;
  position: relative;
}

@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) {
  color: #00496b;
}

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

/* #region ------------------------------------- resp-gaps -------------------------------------- */

#topbar .row {
  row-gap: 25px;
}

:is(#headerpic, #footer) > .row {
  row-gap: 40px;
}

/* #endregion ---------------------------------- resp-gaps -------------------------------------- */

/* #region -------------------------------------- header ---------------------------------------- */

#headerpic {
  background: #00496b;
  position: relative;
  min-height: 450px;
}

#headerpic > *:not(.slider-wrapper):not(.sticky-wrapper):not(nav.horizontally) {
  position: relative;
  z-index: 10;
}

/* header text */

#header-text {
  font-weight: 600;
  font-size: clamp(1.25rem, 2vw, 1.875rem);
  padding: clamp(60px, 12vw, 175px) 0 clamp(80px, 15vw, 266px) 0;
}

.theme-default .nivo-controlNav a,
#header-text,
#header-text :is(h1, h2, h3, h4, h5, h6) {
  color: #ffffff;
  text-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
  color: #ffbf52;
}

/* banner */

#slider {
  position: relative;
  height: 100%;
}

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

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

@media (max-width: 1199px) {
  #headerpic a:is(.nivo-prevNav, .nivo-nextNav) {
    top: auto;
    bottom: 8px;
    z-index: 51;
  }
}

.slider-wrapper {
  position: absolute !important;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.slider-mask {
  display: block;
  background: linear-gradient(to bottom, rgba(47, 119, 167, 0.75) 220px, rgba(47, 119, 167, 0));
}

#headerpic .nivo-main-image {
  min-height: 100% !important;
}

/* #endregion ----------------------------------- header ---------------------------------------- */

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

#content {
  text-align: left;
  padding: clamp(30px, 4vw, 50px) 0 clamp(40px, 8vw, 90px) 0;
}

/* #region -------------------------------------- service --------------------------------------- */

#service {
  z-index: 1;
  position: relative;
}

@media (min-width: 992px) {
  #service .image-col {
    position: relative;
    z-index: 1;
    transform: translateY(clamp(40px, 8vw, 80px));
  }

  #service .image-col::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    top: 0;
    right: 15px;
    bottom: 0;
    left: clamp(-465px, -24vw, -15px);
  }
}

#service .image-col::after {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

#service .background-tab {
  background-color: #ffffff;
  padding: clamp(40px, 8vw, 67px) clamp(15px, 4vw, 30px) clamp(40px, 8vw, 75px) clamp(15px, 4vw, 30px);
  box-shadow: -5px -5px 18px 5px rgba(0, 0, 0, 0.05);
}

@media (min-width: 992px) {
  #service .background-tab {
    padding-left: 160px;
    padding-right: clamp(15px, 24vw, 390px);
    margin-right: clamp(-390px, -24vw, -15px);
    margin-left: -15px;
  }
}

#service .tab {
  color: #222222;
  font-size: 1rem;
  padding: 40px clamp(15px, 4vw, 30px);
  background: #ffbf52;
}

#service .tab :is(h1, h2, h3, h4, h5, h6) {
  color: #222222;
}

@media (min-width: 992px) {
  #service .tab {
    margin-right: -115px;
  }

  #service .image-col::after {
    right: -100px;
  }
}

/* #endregion ----------------------------------- service --------------------------------------- */

/* #region -------------------------------------- gallery --------------------------------------- */

#gallery {
  padding: clamp(40px, 8vw, 140px) 0 clamp(40px, 8vw, 135px) 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 1200px) {
  #gallery::before {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 0;
    right: 0;
    width: 1260px;
    height: 841px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

#gallery .btgrid {
  margin-top: clamp(5px, 2vw, 15px);
}

#gallery img {
  box-shadow: 0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
  #gallery img {
    margin: 0 auto;
    display: block;
  }
}

/* #endregion ----------------------------------- gallery --------------------------------------- */

/* #region --------------------------------------- buttons -------------------------------------- */

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  display: inline-block;
  line-height: 1.2;
  color: #222222 !important;
  font-size: clamp(0.875rem,2vw,1rem);
  font-weight: 600;
  background: #ffbf52;
  padding: 12px 58px 11px 20px;
  position: relative;
  text-decoration: none !important;
  text-shadow: none !important;
}

.button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  color: #fff !important;
  background: #2f77a7;
}

#header-text.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  margin-top: clamp(20px, 2vw, 25px);
  margin-right: 20px;
}

#service .tab.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  margin-top: 10px;
}

.button-design 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='%23262626'/%3E%3C/svg%3E") center left / 26px auto repeat-x;
}

.button-design.button-design-2 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='%23fff'/%3E%3C/svg%3E");
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus)::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='%23fff'/%3E%3C/svg%3E");
  background-position-x: left 26px;
}

.button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  color: #ffffff !important;
  background: #2f77a7;
}

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

/* #endregion ------------------------------------ buttons -------------------------------------- */

/* #region ---------------------------------- h1 - h6, newslink --------------------------------- */

.h4link a:is(:link, :hover, :focus, :visited),
h6,
h5,
h4,
h3,
h2,
h1 {
  color: #2f77a7;
  font-weight: 700;
  line-height: 1.2;
  font-family: "Exo", sans-serif;
  margin-bottom: 15px;
}

:is(#service .background-tab) :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  font-weight: 400;
  color: #222222;
  font-size: 1.25rem;
  font-style: normal;
}

:is(#headerpic, #quote) :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 0;
}

:is(#footer, #service .image-col) :is(h1, h2, h3, h4, h5, h6),
:is(#service .background-tab) :is(h3, h4, h5, h6) {
  font-size: 1.25rem;
}

:is(#footer, #service .image-col):is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 12px;
}

#service .background-tab :is(h1, h2, h3, h4, h5, h6) {
  margin-bottom: 7px;
}

#header-text :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

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

h2,
.h2,
.legacy_h2,
#quote :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.75rem, 5.5vw, 1.875rem);
}

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

h4,
.h4,
.legacy_h4 {
  font-size: 1.625rem;
}

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

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

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

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

#quote {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #222222;
  background-color: #e1e7eb;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  padding-top: clamp(40px, 4vw, 65px);
  padding-bottom: clamp(40px, 4vw, 60px);
}

#quote :is(h1, h2, h3, h4, h5, h6) {
  color: #2f77a7;
}

footer {
  font-size: 1rem;
}

#footer {
  padding: clamp(40px, 8vw, 80px) 0;
  background: #2f77a7;
}

@media (min-width: 1200px) {
  #footer {
    background:
      url("../img/logo-wasserzeichen.png") top left no-repeat,
      #2f77a7;
  }
}

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

  #footer > .row > *:nth-child(1) {
    padding-right: 60px;
  }

  #footer > .row > *:nth-child(2) {
    padding-left: 60px;
    padding-top: clamp(30px, 5vw, 90px);
    padding-bottom: clamp(30px, 5vw, 90px);
  }
}

#footer,
#footer a,
#footer a:is(:hover, :focus) {
  color: #ffffff;
}

#footer :is(h1, h2, h3, h4, h5, h6) {
  color: #ffffff;
  margin-bottom: 20px;
}

#map-tab {
  z-index: 1;
}

#map-tab :is(.iframe-wrapper-manual-enabling, iframe) {
  width: 100% !important;
  min-width: 100% !important;
}
@media (max-width: 1199px) {
  #map-tab :is(.iframe-wrapper-manual-enabling, iframe) {
    max-height: 300px;
  }
  #map-tab {
    border-top: solid 1px rgba(255, 255, 255,0.5);
    padding-top: 30px;
  }
}

@media (min-width: 1200px) {
  #map-tab :is(.iframe-wrapper-manual-enabling, iframe) {
    position: absolute;
    top: clamp(-160px, -15vw, -40px);
    right: 0;
    bottom: calc(clamp(-80px, -8vw, -40px) - 92px);
    left: 0;
    display: block;
    height: calc(100% + clamp(40px, 15vw, 160px) + calc(clamp(40px, 8vw, 80px) + 92px)) !important;
    max-height: unset;
  }
}

@media (min-width: 1200px) {
  #map-tab:has(:is(.iframe-wrapper-manual-enabling, iframe))::after {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    left: -20px;
    top: calc(clamp(-160px, -15vw, -40px) - 20px);
    width: 100px;
    height: 100px;
    background: #ffffff;
  }
}

@media (min-width: 1200px) {
  #map-tab :is(.iframe-wrapper-manual-enabling, iframe) {
    right: calc((clamp(1200px, 100vw, 1930px) - 1190px) / -2);
    width: calc(100% + (clamp(1200px, 100vw, 1930px) - 1190px) / 2) !important;
  }
}

#map-tab .template-page :is(.row, .row > *) {
  position: static !important;
}

#innerfooter {
  font-size: 0.9375rem;
  padding: 35px 0;
}

#innerfooter ul {
  padding: 0;
}

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

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

#innerfooter li a {
  color: #222222;
  text-decoration: none;
}

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

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

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

/* #region -------------------------------------- vernetzt -------------------------------------- */

#footer #vernetzt {
  text-align: left;
  font-size: 0.875rem;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 575px) {
  #footer .vernetztBereich {
    border-top: solid 1px rgba(255, 255, 255,0.5);
    padding-top: 30px;
  }
  #footer #vernetzt {
    text-align: center;
  }
}

#footer #vernetzt span {
  display: block;
}
@media (min-width: 576px) {
  #footer #vernetzt img {
    display: block;
  }
}
#footer #vernetzt img {
  margin-bottom: 8px;
}

/* #endregion -------------------------------- vernetzt ----------------------------------------- */

/* --------------------------------------------- kontraste -------------------------------------------- */

.contrast_dark_font #logo .logoImg img,
.contrast_light_font #header-text > *,
.contrast_light_font .dropdown-toggle-button,
.contrast_dark_font #burgerButton::before,
.contrast_dark_font #burgerButton::after,
.contrast_dark_font #burgerButtonInner {
  background-color: #000 !important;
}

.contrast_dark_font #header-text > *,
.contrast_dark_font #topbar,
.contrast_light_font #burgerButton::before,
.contrast_light_font #burgerButton::after,
.contrast_light_font #burgerButtonInner {
  background-color: #fff !important;
}

.contrast_light_font .button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  color: #fff !important;
  border: 1px solid #fff !important;
}

.contrast_light_font .button-design 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='%23fff'/%3E%3C/svg%3E") !important;
}

.contrast_dark_font #footer {
  background: #fff !important;
}

.contrast_dark_font .button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]) {
  border: 1px solid #000 !important;
}

.contrast_dark_font .button-design.button-design-2 a:not(.has-image):not([href*="mailto"]):not([href*="tel"]),
.contrast_dark_font .button-design a:not(.has-image):not([href*="mailto"]):not([href*="tel"]):is(:hover, :focus) {
  color: #000 !important;
}

.contrast_dark_font .button-design 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='%23262626'/%3E%3C/svg%3E") !important;
}

.contrast_dark_font #phone-tab {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M38.75 40.9q-5.6 0-11.25-2.875T17.3 30.6q-4.55-4.55-7.4-10.175Q7.05 14.8 7.05 9.2q0-.95.625-1.575T9.25 7h5.7q.8 0 1.35.5t.75 1.35l1.2 5.35q.1.75-.05 1.35-.15.6-.6 1l-4.7 4.6q2.85 4.8 6.375 8.275Q22.8 32.9 27.35 35.4l4.5-4.7q.5-.55 1.125-.775.625-.225 1.325-.075l4.85 1.1q.8.15 1.3.75t.5 1.45v5.5q0 .95-.625 1.6-.625.65-1.575.65Zm-27-21.8 4.1-4q.1-.1.125-.225.025-.125.025-.225L14.9 9.6q-.05-.2-.15-.275-.1-.075-.25-.075H9.6q-.15 0-.225.075Q9.3 9.4 9.3 9.55q-.05 1.95.6 4.325t1.85 5.225ZM29.5 36.45q2.05 1 4.475 1.55t4.425.65q.15 0 .225-.075.075-.075.075-.225v-4.9q0-.15-.075-.25t-.225-.15l-4.55-.9q-.1-.05-.2 0l-.2.1ZM11.75 19.1ZM29.5 36.45Z' fill='%23000'/%3E%3C/svg%3E");
}

.contrast_dark_font #mail-tab {
  background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='48' width='48'%3E%3Cpath d='M7.9 39q-1.2 0-2.05-.85Q5 37.3 5 36.1V11.9q0-1.2.85-2.05Q6.7 9 7.9 9h32.2q1.2 0 2.05.85.85.85.85 2.05v24.2q0 1.2-.85 2.05-.85.85-2.05.85ZM24 24.3 7.25 13.25V36.1q0 .3.175.475t.475.175h32.2q.3 0 .475-.175t.175-.475V13.25Zm0-2.4 16.3-10.65H7.75ZM7.25 13.25v-2V36.1q0 .3.175.475t.475.175h-.65V36.1Z' fill='%23000'/%3E%3C/svg%3E");
}
