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

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

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

a {
  color: #d8c384;
}

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

#content a {
  text-decoration: underline;
}
#content a:is(:hover, :focus) {
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 2px;
}

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

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

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

#logo .logoTxt {
  line-height: 1.4;
  font-size: .8125rem;
  color: #fff;
    letter-spacing: 1.4px;
  font-weight: 400;
}

#logo .logoTxt :is(b, strong) {
color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: .875rem;
  border-bottom: solid 1px #cdbb81;
  letter-spacing: 1.4px;
  padding-bottom: 4px;
  line-height: 2.3;
}
@media (max-width: 991px) {
  #logo .logoTxt  {
   margin-bottom: 30px;
    
  }
}

a#logo:is(:hover, :focus) {
  text-decoration: none;
}
/* ------------------------------------------ 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: #001b30;
    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: #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: 4px;
  }

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

/* menu desktop */

nav.horizontally {
  padding: clamp(13px, 2vw, 25px) 0;
  transition: all 0.3s 0s ease;
}

.is-sticky nav.horizontally {
  background: #001b30;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
  border-bottom: solid 1px #d1bf87;
}

@media (min-width: 992px) {
  nav.horizontally,
  .sticky-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 54;
  }

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

  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.open > ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(: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) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #fff;
  font-weight: 400;
  text-align: center;
  padding: 10px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 20px;
  border-bottom-left-radius: unset;
}

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

  nav.horizontally a[class*="toplevel"] {
    padding: 10px 20px;
  }
}
@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"] {
  text-align: left;
    
  }
}

/* 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: #001b30;
  background-color: #c7b67f;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 20px 20px;
  background-color: #d3c088;
  box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.12);
  border-radius: 20px;
  border-top-left-radius: unset;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #001b30;
  font-weight: 400;
  text-align: left;
  padding: 9px 35px;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 20px;
}

@media (min-width: 992px) {
  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
    padding: 9px 25px;
  }
}

/* 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: #001b30;
  color: #fff;
}

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

#headerpic {
  margin: 0 auto;
  position: relative;
  width: 100%;
}

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

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

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

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

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

  body:not(.index) #headerpic {
    min-height: 500px;
  }

  .index #bannerOverlay {
padding: 14% 0 4% 0;
  }

  #slogan {
    margin-bottom: 20px;
  }
}

@media (max-width: 991px) {
  #slider-onebanner,
  #slider .nivo-box > div,
  #slider .nivo-slice > div,
  #slider .nivo-main-image {
    background-attachment: unset !important;
    background-size: 100% auto !important;
  }

  #slider {
    height: 600px;
  }

  body:not(.index) #slider {
    height: 400px;
  }
}

#bannerOverlay {
  position: relative;
  pointer-events: none;
  z-index: 53;
  padding: 30px 0 20px 0;
  border-bottom: 2px solid #001b30;
}

@media (min-width: 992px) {
  #headerpic {
    position: relative;
    background-color: #001b30;
  }

  #headerpic .slick-sr-only {
    color: #ffffff;
  }

  #bannerOverlay {
    padding: 0;
    border-bottom: none;
     hyphens: auto;
  }
}

#slogan {
  font-size: clamp(1rem, 3vw, 1.125rem);
  color: #fff;
    hyphens: auto;
}

#slogan :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(1.6875rem, 4vw, 2.0625rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.5;
   hyphens: auto;
}
#slogan :is(h1, h2, h3, h4, h5, h6) :is(i, em) {
  font-style: normal;
  color: #d8c384;
}

@media (min-width: 992px) {
  #slogan {
    color: #ffffff;
  }

  #slogan :is(h1, h2, h3, h4, h5, h6, p) {
    color: #fff;
  }
}

@media (min-width: 991px) {
  #slogan {
    position: relative;
padding: clamp(30px, 6vw, 70px) clamp(50px, 8vw, 60px) clamp(30px, 6vw, 70px) 0;
    pointer-events: auto;
  }
  #slogan::after,
  #slogan::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: -1;
  }
  #slogan::after {
    top: 0;
    left: -25vw;
    background-color: rgba(0, 27, 48, 0.8);
    border-top-right-radius: 120px;
    border-bottom-right-radius: 120px;
  }
}

.slider-mask {
  display: block;
  background: linear-gradient(180deg, rgba(0, 27, 48, 1) 0%, rgba(234, 248, 251, 0) 30%);
}

/* ----------------------------------------- scroll bottom -------------------------------------- */

#scrollBottom a {
  position: relative;
  font-size: 0;
  display: block;
  width: 40px;
  height: 40px;
  margin: clamp(10px, 6vw, 160px) auto 10px auto;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  border: none;
  pointer-events: auto;
  animation: bounceAni 2s infinite 2s;
  transition: all 0.2s ease-in;
}

#scrollBottom a:is(:hover, :focus) {
  background-color: rgba(255, 255, 255, 1);
  animation-play-state: paused;
}

#scrollBottom a::after {
  position: absolute;
  content: "";
}

#scrollBottom a::after {
  left: 12px;
  top: 17px;
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url(../img/nach-unten.png) no-repeat;
  border-radius: 2px;
  transition: border 300ms linear;
}

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

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

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

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

#content {
  text-align: left;
  padding-bottom: 30px;
  padding-top: 30px;
}

@media (min-width: 992px) {
  #content {
    padding-bottom: 60px;
    padding-top: 60px;
  }
}

/* ------------------------------------------------ buttonStyle ----------------------------------------------- */
.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
display: inline-block;
  background: #d8c384;
  color: #001b30;
  text-decoration: none;
  font-weight: 700;
font-size: clamp(.875rem,1vw, 1rem);
  border-radius: 24px;
  padding: 9px 21px;
  white-space: nowrap;
  border: solid 2px #d8c384;
  hyphens: auto;
}
#bannerOverlay .buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
  margin-top: 15px;
    border: solid 2px transparent;
}
@media (max-width: 1199px) {
  nav.horizontally .buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]) {
    padding-left: 10px;
    padding-right: 10px;
  }
}

.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]):is(:hover, :focus) {
  background-color: #001b30;
  color: #fff;
}


@media (max-width: 991px) {
.buttonStyle a:not([href^="mailto:"]):not(.has-image):not([rel]){
padding: 7px 23px;
    
  }
}
/* -------------------------------------- h1 - h6, newslink ------------------------------------- */

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

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

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

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.625rem, 5vw, 1.875rem);
}

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

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

#tabSocial {
  padding: 120px 0 60px 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
    hyphens: auto;
word-break: break-all;
}
#tabSocial  > .row {
  row-gap: 60px;;
}
@media (max-width: 765px) {
  #tabSocial  > .row{
      row-gap: 90px;;
    
  }
}
#tabSocial .socialInhalt {
  color: #fff;
  font-size: 1rem;
  padding-left: 15px;
  transition: all 300ms linear;
}
#tabSocial .socialInhalt:is(:hover, :Focus) :is(h1, h2, h3, h4, h5, h6) {
 transform: scale(1.1);
 color:#eaf8fb;
}


#tabSocial .socialInhalt::before {
  content: "#";
  font-size: 118px;
  position: absolute;
  color: #001b30;
  font-style: italic;
bottom: -50px;
  z-index: 0;
  pointer-events: none;
  left: 0;
  display: block;
  font-weight: 700;
}

#tabSocial .socialInhalt :is(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
  font-weight: 700;
  font-size: clamp(1.75rem, 5vw, 2.0625rem);
  color:#fff;
  margin:0;
  padding:0;
  line-height: 1;
    transition: all 300ms linear;
}
/* ----------------------------------------------- footer ----------------------------------------------- */

#footerKontakt {
  margin: 60px 0 30px 0;
  hyphens: auto;
}
#footerKontakt .banner {
  max-height: 72px;
  max-width: 72px;
  padding-right: 15px;
}

@media (max-width: 767px) {
  #footerKontakt .banner {
left:0;
right:0;
margin:auto;
    justify-content: center;
    display: flex;  
  }
}

#footerKontakt .banner img {
  border-radius: 50%;
  object-position: center;
  object-fit: cover;
  aspect-ratio: 1 /1;
}

#footerKontakt .tabHeadline {
  color: #d8c384;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 30px;
}

#footerKontakt a:is([href*="mailto:"], a[href*="tel:"]) {
  position: relative;
  display: inline-block;
  padding-left: 30px;
  margin-top: 5px;

}
#footerKontakt a:is( a[href*="tel:"]) {
  color:#d8c384;

}
#footerKontakt a:is([href*="mailto:"], a[href*="tel:"])::before {
  content: "";
  display: block;
  position: absolute;
  height: 22px;
  width: 22px;
  background:
    url("../img/mail-icon2.png") center no-repeat;
 top: 50%;
  left: 0;
  border-radius: 50%;
  transform: translateY(-50%);
}
@media (min-width: 1200px) {
#footerKontakt .tabKontakt2 {
padding-left: 60px;
}

}
#footerKontakt a[href*="tel:"]::before {
  background:
    url("../img/phone-icon2.png") center no-repeat !important;
}


@media (min-width: 992px) {
  .tabKontakt2{
  border-right: solid 1px rgba(68, 124, 153,0.2);
    
  }
}
@media (max-width: 991px) {
  #footerKontakt .tabKontakt2{
margin-top:30px;
    
  }
}

@media (max-width: 767px) {
.footerContactTab {
    border-bottom: solid 1px rgba(68, 124, 153,0.2);
    padding-bottom:25px;
      margin-bottom:25px;
}
}
/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #001b30;
  color: #fff;
}

#f5 > .row {
    border-top: solid 1px rgba(68, 124, 153,0.2);
    padding-top:25px;
}


#f5 .tabSocialFooter img{
vertical-align: middle;
line-height: 0;
}
@media (max-width: 767px) {
  #f5 .tabSocialFooter img{
   margin:15px 0;
    
  }
}
/* --------------------------------------------- innerfooter -------------------------------------------- */

@media (max-width: 767px) {
  #innerfooter {
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    padding-bottom: 15px;
    margin-bottom: 15px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

#innerfooter a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 1rem;
}

#innerfooter a:hover,
#innerfooter a:focus {
  color: #d8c384;
  text-decoration: underline;
}

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

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

@media (max-width: 767px) {
  #innerfooter li {
    display: block;
    text-align: center;
    padding: 5px;
    margin: 0;
  }

  #innerfooter li + li::before {
    display: none;
  }
}
