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

html {
  max-width: 1930px;
  margin-left: auto;
  margin-right: auto;
  background: #f0f0f0;
  scroll-behavior: smooth;
  scroll-padding-top: clamp(100px, 12vw, 180px);
  scrollbar-color: #be3c41 #ffffff;
  scrollbar-width: thin;
}

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

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

a:is(:hover, :focus),
:is(#content, #flip-tabs, #push-tabs, footer .template-page) a {
  text-decoration: underline;
}

#content a {
  font-style: italic;
}

b,
strong {
  font-weight: 600;
}

@media (min-width: 1200px) {
  .row,
  .compact,
  ._op-container .container {
    max-width: 1440px;
    width: 100%;
  }
}

a:focus {
  outline: 3px solid #2a4a9a !important;
}

button:focus {
  outline: 3px solid #2a4a9a !important;
}

form:focus {
  outline: 3px solid #2a4a9a !important;
}

#newsletter_input:focus,
#newsletter_submit:focus,
#search_input1:focus,
#search_submit1:focus {
  outline: 3px solid #2a4a9a !important;
}


#overflow {
    overflow: clip;
    position: relative;
}
/* -------------------------------------------- logo -------------------------------------------- */

#logo {
  display: inline-block;
}

@media (min-width: 992px) {
  #logo {
    position: absolute;
    top: -60px;
    z-index: 55;
  }

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

#logo img {
  display: block;
}

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

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

/* burgermenu for tablet */

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

.is-sticky   nav.horizontally {
    border-bottom: solid 1px #be3c41;
}

  #myNavbar {
    display: flex;
    flex-direction: column;
  }

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

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #ffffff;
    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 auto 0;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 0;
    background: #ffffff;
    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 {
    z-index: 1010;
    background: #ffffff;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    padding: 35px 0px;
  }

  nav.horizontally .navbar-nav {
    padding: 0 clamp(20px, 2.5vw, 40px);
    flex: 1 0 0;
    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;
    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: #222222;
  font-weight: 400;
  text-align: left;
  padding: 13px 17px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

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

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

  nav.horizontally li[class*="toplevel"] > ul::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: -20px;
    left: 15px;
    width: 2px;
    height: 58px;
    margin: auto;
    background: #be3c41;
    transition: height 300ms linear;
  }
}

@media (max-width: 991px) {
nav.horizontally a[class*="toplevel"] {
  overflow-wrap: break-word;
  word-wrap: break-word;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  -moz-hyphens: auto;
  hyphens: auto;
  padding-right: 35px;
}
}

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #fbfafa;
  box-shadow: 0 0 10px 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: 14px 0;
  }

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

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

  nav.horizontally [class*="toplevel"] 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: 15px;
    top: 0;
    bottom: 0;
    left: -15px;
  }
}

/* secondlevel + thirdlevel */

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

@media (min-width: 992px) {
  nav.horizontally li[class*="secondlevel"] > ul::after {
    content: "";
    position: absolute;
    pointer-events: none;
    top: 15px;
    left: -10px;
    width: 50px;
    height: 2px;
    margin: auto;
    background: #be3c41;
    transition: width 300ms linear;
  }
}
@media (max-width: 991px) {
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: #be3c41;
}

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

/* #region ------------------------------------ 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: 991px) {
   #slider {
    height: 300px;   
    }
}

#headerpic {
  padding: 0;
  position: relative;
  background: #222222;
  min-height: 300px;
}

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


@media (min-width: 992px) {
.slider-wrapper {
  position: absolute !important;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
}


#headerpic .nivo-controlNav button {
  color: #ffffff !important;
}


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

/* region ---------------------------------- button-design -------------------------------------- */

.button-design a {
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 14px;
  font-weight: 500;
  text-shadow: none;
  display: inline-block;
  font-size: 1rem;
  position: relative;
  color: #ffffff;
  background: #be3c41;
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: outline 300ms linear;
  margin-top: 20px;
}

/* hover */

.button-design a:is(:hover, :focus) {
  outline-color: #ffffff;
}

/* button with arrow */

.button-design.button-arrow a {
  padding-right: 45px;
}

.button-design.button-arrow a::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45px;
  background: url("../img/pfeil-icon.svg") center no-repeat;
}

/* buttons in specific tabs */

#bannerOverlay .button-design a {
  margin-top: clamp(20px, 4vw, 40px);
}

#bannerOverlay .button-design a:nth-of-type(2n + 2) {
  color: #222222;
  background: #ffffff;
}

#bannerOverlay .button-design.button-arrow a:nth-of-type(2n + 1)::after {
  filter: brightness(10);
}

#bannerOverlay .button-design a:not(:last-of-type) {
  margin-right: 20px;
}

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

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

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

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

h1,
.h1,
.legacy_h1,
#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
  font-size: clamp(32px, 4vw, 40px);
}

h2,
.h2,
.legacy_h2 {
  font-size: clamp(31px, 3.5vw, 35px);
}

h3,
.h3,
.legacy_h3 {
  font-size: clamp(30px, 3vw, 30px);
}

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited),
.legacy_h4 {
  font-size: 25px;
}

h5,
.h5,
.legacy_h5 {
  font-size: 22px;
}

h6,
.h6,
.legacy_h6 {
  font-size: 20px;
}

.uppercase-heading :is(h1, h2, h3, h4, h5, h6) {
  text-transform: uppercase;
}

@media (max-width: 767px) {
#bannerOverlay :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.5625rem;
}
}

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

/* ----------------------------------------------- @4nw news -------------------------------------------- */

#nw4 {
  font-size: 1rem;
  padding: clamp(30px, 4vw, 70px) 0 clamp(30px, 3vw, 45px) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #000;
  position: relative;
  overflow: hidden;
}

#nw4::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 1799px;
  height: 934px;
  background: url("../img/filmrolle.png") no-repeat;
  z-index: 1;
}

#nw4 > .row {
  row-gap: clamp(30px, 3.5vw, 70px);
  position: relative;
  z-index: 2;
}

#nw4 .tab {
  color: #ffffff;
}

#nw4 .tab a {
  color: #eed64e;
  text-decoration: none;
}

#nw4 .tabHeadline :is(h1,h2,h3,h4,h5,h6) {
  text-transform: uppercase;
  font-weight: 600;
  color: #eed64e;
  font-size: clamp(1.8125rem, 3vw, 2.5rem);
  margin-bottom: 0;
text-decoration: none !important;
}

#nw4 .tabHeadline :is(h1,h2,h3,h4,h5,h6)::before {
  content: "";
  display: block;
  width: 150px;
  height: 2px;
  background: #be3c41;
  margin: 0 0 12px -20px;
}

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

footer {
  font-size: 1rem;
  padding: 50px 0 clamp(40px, 5vw, 65px) 0;
  background: #fff;
}



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

footer .tabHeadline {
  font-size: inherit;
  color: #222222;
}

footer .col-maps :is(.iframe-wrapper-manual-enabling, iframe) {
  min-width: 100% !important;
  width: 100% !important;
  display: block;
}

/* innerfooter */

#innerfooter ul {
  padding: 0;
}

#innerfooter a {
  color: #222222;
  text-decoration: none;
  position: relative;
  left: -30px;
  display: block;
  text-transform: uppercase;
  padding: 8px 0 8px 30px;
  transition:
    left 300ms linear,
    background-position 300ms linear;
  background: url("../img/pfeil-icon.svg") center left -22px no-repeat;
}

@media (max-width: 767px) {
  #innerfooter a {
    padding-left: 60px;
  }
}

#innerfooter a:is(:hover, :focus) {
  color: #be3c41;
  left: 0;
  background-position-x: 0;
}

/* vernetzt */

#vernetzt {
  display: inline-block;
  color: inherit;
  line-height: 1.4;
  font-size: 0.875rem;
  text-decoration: none;
}

#vernetzt span {
  display: block;
}

#vernetzt img {
  margin-bottom: 8px;
}

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

.social {
  margin-bottom: 30px;
}


@media (max-width: 575px) {
    .footerkontaktBereich{
         border-bottom: solid 1px rgba(0, 0, 0,0.1); 
          padding-bottom:20px;
        
    }
}
/* ----------------------------------- Newsletter ---------------------------------------- */

#newsletterInputs {
  height: 33px;
  background: #fff;
  display: block;
  position: relative;
  border-bottom: 1px solid #b2b2b2;
}
#newsletter_input {
  color: #be3c41;
  font-size: 16px;
  font-style: normal;
  background: transparent;
  padding: 0;
  border: 0;
  line-height: 33px;
  padding-left: 10px;
  padding-right: 43px;
  height: 33px;
  width: 100%;
}
#newsletter_submit {
  width: 33px;
  background: url("../img/icon-newsletter.png") center no-repeat;
  padding: 0;
  cursor: pointer;
  line-height: 33px;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  font-size: 0;
  -webkit-transition: background-color 300ms linear;
  -moz-transition: background-color 300ms linear;
  -ms-transition: background-color 300ms linear;
  -o-transition: background-color 300ms linear;
  transition: background-color 300ms linear;
}

#newsletter_input::-ms-input-placeholder {
  color: #be3c41 !important;
}
#newsletter_input::-webkit-input-placeholder {
  color: #be3c41 !important;
}
#newsletter_input::-moz-placeholder {
  opacity: 1;
}
#newsletter_input:-moz-placeholder {
  opacity: 1;
}



@media (max-width: 767px) {
    .newsletterBereich{
      border-top: solid 1px rgba(0, 0, 0,0.1);
         border-bottom: solid 1px rgba(0, 0, 0,0.1); 
         padding-top:20px;
          padding-bottom:20px;
    }
}
/* #endregion ----------------------------------- footer ---------------------------------------- */
