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

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

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

a {
  color: #283f8b;
}

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

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

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

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

#logo {
  display: inline-block;
  position: relative;
  z-index: 51;
}

#logo img {
  display: block;
  transition: max-height 300ms linear;
  max-height: 150px;
}

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

  #logo img {
    max-width: calc(100vw - 120px);
  }
}

@media (min-width: 992px) {
  #logo {
    position: absolute;
    top: 21px;
    left: 15px;
    transition: top 300ms linear;
  }

  #logo img {
    max-height: 250px;
  }

  .is-sticky #logo {
    top: 5px;
  }

  .is-sticky #logo img {
    max-height: 150px;
  }
}

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

nav.horizontally {
  background: #fff;
}

/* burgermenu for tablet */

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

  #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: #283f8b;
    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: 4px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally .navbar-nav {
    margin: 35px 0;
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    transition: margin 300ms linear;
  }

  .is-sticky nav.horizontally {
    left: unset !important;
    border-bottom: solid 1px #283f8b;
    box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
    -webkit-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
  }

  .is-sticky nav.horizontally .navbar-nav {
    margin-top: 30px;
    margin-bottom: 30px;
  }

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

@media (min-width: 1200px) {
  nav.horizontally .navbar-nav {
    margin: 55px 0 55px 30px;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #171717;
  font-weight: 400;
  text-align: left;
  padding: 10px 35px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

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

@media (min-width: 992px) {
  nav.horizontally li[class*="toplevel"]+li {
    margin-left: clamp(10px, 2vw, 20px);
  }

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

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 2px;
  background: #283f8b;
  width: 0;
  transition: width 300ms linear;
  transform: translate(-50%);
}

/* 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 {
  width: calc(100% + 30px);
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  padding: 10px;
  background-color: #283f8b;
}

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

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

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

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

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

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

/* secondlevel + thirdlevel */

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

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

  nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"])::after {
    content: "\00BB";
    position: absolute;
    right: 20px;
    top: 50%;
    margin-top: -12px;
    font-size: 24px;
    line-height: 1;
    font-family: "Merriweather", serif;
  }
}

/* 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: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

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

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

#slider {
  max-height: clamp(300px, 46vw, 450px);
  overflow: hidden;
  position: relative;
}

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
}

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

.slider-mask {
  display: none;
}

#bannerOverlay {
  margin-top: 30px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

@media (min-width: 1200px) {
  #bannerOverlay {
    position: absolute;
    left: 0;
    right: 0px;
    bottom: 72px;
    z-index: 51;
    pointer-events: none;
    padding-right: 20px;
    padding-left: 16px;
  }

  #headerpic .nivo-controlNav {
    bottom: 15px;
  }
}

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

/* ---------------------------------------- tab with border ------------------------------------- */

#slogan {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(30px, 4vw, 49px) clamp(30px, 4vw, 65px);
  position: relative;
  font-weight: 300;
}

#teaser {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.9);
  padding: clamp(30px, 4vw, 60px) clamp(30px, 4vw, 80px);
  position: relative;
  font-weight: 300;
}

.sloganHeadline,
.teaserHeadline {
  margin: 0 0 14px 0;
}

.sloganHeadline {
  font-family: "Nunito", sans-serif;
  color: #283f8b;
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin-bottom: 0;
  font-weight: 700;
  font-style: italic;
}

:is(#slogan, #teaser)::before {
  content: "";
  position: absolute;
  display: block;
  top: 25px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 2px solid #b6c1e5;
  pointer-events: none;
}

/* ------------------------------------------- buttons ------------------------------------------ */

.button-style a {
  color: #8c1251;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
  text-align: center;
  font-size: 0.9375rem;
  text-decoration: none;
  min-width: 110px;
  padding: 4px clamp(10px, 2vw, 20px);
  margin-top: 35px;
  border: 2px solid transparent;
  transition: background-color 300ms linear, color 300ms linear, border 100ms linear;
}

#bannerOverlay .button-style a,
#teaser.button-style a {
  background-color: #283f8b;
  color: #fff;
}

#teaser.button-style a {
  margin-top: 15px;
}

#bannerOverlay .button-style a:is(:hover, :focus),
#teaser.button-style a:is(:hover, :focus) {
  color: #ffffff;
  background: #9c1818;
}

#footer .button-style a {
  color: #8c1251;
  background: #ffffff;
  text-decoration: none;
}

.button-style a+a {
  margin-left: 20px;
}

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

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

@media (min-width: 1200px) {
  #content>.row::before {
    content: "";
    position: absolute;
    background: url(../img/wine-bottle-glass.png) no-repeat;
    width: 233px;
    height: 316px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    right: -250px;
    display: block;
  }
}

/* -------------------------------------------- breaker ----------------------------------------- */

#breaker {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0;
}

#teaser :is(h1, h2, h3) {
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-family: "Nunito", sans-serif;
  color: #283f8b;
  margin-bottom: 0;
  font-weight: 700;
  font-style: italic;
}

#teaser :is(h4, h5, h6) {
  font-size: clamp(1.25rem, 5vw, 1.5rem);
  font-weight: 300;
  color: #171717;
  margin-bottom: 45px;
}

#teaser {
  font-size: 1.125rem;
  font-weight: 300;
  color: #171717;
}

/* ----------------------------------------------- @11ev events -------------------------------------------- */

#ev11 {
  padding-top: clamp(35px, 5vw, 90px);
  padding-bottom: 60px;
  background-color: #fff;
  position: relative;
}

#ev11>.row {
  row-gap: clamp(30px, 4vw, 50px);
}

#ev11 .button-style a {
  background-color: #283f8b;
  color: #fff;
  padding: 4px clamp(10px, 2vw, 34px);
  margin-top: 0;
}

#ev11 .button-style a:is(:hover, :focus) {
  color: #ffffff;
  background: #9c1818;
}

#ev11 .tabHeadline {
  color: #283f8b;
  font-size: clamp(2rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 0;
  font-family: "Nunito", sans-serif;
}

#ev11 .tab a {
  color: #283f8b;
  text-decoration: underline;
}

#ev11 .tab :is(b, strong) {
  color: #171717;
  font-weight: 700;
  font-size: 1.125rem;
}

#ev11 .tab_link {
  display: grid;
  gap: 35px;
}

#ev11 .tab_link_entries {
  display: grid;
  gap: 30px;
}

@media (min-width: 576px) {
  #ev11 .tab_link_entries {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  #ev11 .tab_link_entries {
    grid-template-columns: repeat(3, 1fr);
  }
}

#ev11 .tab_link_entry {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  hyphens: auto;
  color: #171717;
  font-size: 1rem;
  padding: 40px 30px 45px 30px;
  background: url("../img/icon-kalender.png") top 30px right 30px no-repeat, #ffffff;
  /*Replace url with ("../img/YOUR-IMAGE.png")*/
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  transition: background-color 300ms linear;
}

@media (min-width: 992px) {
  #ev11 .tab_link_entry::after {
    top: 30px;
    width: 37px;
  }

  #ev11 .tab_link_entry:is(:hover, :focus) {
    background-color: #e9ecf7;
  }
}

#ev11 .tab_link_date {
  order: 1;
  color: #283f8b;
  font-weight: 700;
  font-size: 2.5rem;
  font-style: italic;
  margin-bottom: 10px;
  font-family: "Nunito", sans-serif;
}

#ev11 .tab_link_title {
  order: 2;
}

#ev11 .tab_link_title a {
  font-weight: 700;
  font-size: 1.25rem;
  color: #171717;
}

#ev11 .tab_link_mandat {
  order: 3;
}

#ev11 .tab_link_mandat a {
  color: #171717;
  font-size: 1rem;
}

#ev11 .tab_link_mehr {
  text-align: center;
  display: block;
  font-size: 0;
}

@media (min-width: 1200px) {
  #ev11>.row::before {
    content: "";
    position: absolute;
    background: url(../img/cocktaildrink.png) no-repeat;
    width: 230px;
    height: 170px;
    bottom: -60px;
    z-index: 2;
    pointer-events: none;
    left: -180px;
    display: block;
  }
}

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

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

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

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.875rem, 4.5vw, 2.1875rem);
}

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

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

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

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

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

#footer {
  background: #e9ecf7;
  padding: 50px 0 33px 0;
  color: #171717;
  font-size: 1rem;
  z-index: 0;
}

#footer>.row {
  z-index: 0;
}

@media (max-width: 991px) {
  :is(#footer, #innerfooter)>.row>.col-xs-12+* {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    padding-top: 20px;
  }

  :is(#innerfooter)>.row>.col-xs-12+* {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }
}

@media (min-width: 992px) {
  #innerfooter>.row>.col-xs-12+ :nth-child(2) {
    border: none;
    margin-top: 0;
    padding-top: 0;
  }
}

#footer a {
  color: #171717;
  text-decoration: underline;
}

.footerHeadline {
  color: #171717;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  font-size: 1.5625rem;
}

@media (min-width: 1200px) {
  #footer>.row::after {
    content: "";
    position: absolute;
    background: url(../img/handgezeichnete-crepe.png) no-repeat;
    width: 813px;
    height: 148px;
    bottom: -42px;
    z-index: -1;
    pointer-events: none;
    right: -364px;
    display: block;
  }
}

/* ------------------------------------------------- counter ------------------------------------------------- */

#counter {
  color: #171717;
  font-size: 1rem;
  padding: 8px 16px;
  margin: 0 auto;
  max-width: 235px;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: space-between;
  background-color: #d5d8e2;
  margin-top: 30px;
  z-index: 1;
  position: relative;
}

@media (min-width: 992px) {
  #counter {
    margin-left: auto;
    margin-right: 0;
  }
}

#counter span {
  font-weight: 600;
  padding-right: 5px;
}

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

#innerfooter {
  color: #ffffff;
  background-color: #283f8b;
  padding: 20px 0;
  font-family: "Nunito", serif;
  font-size: 1rem;
  font-weight: 300;
}

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

.innerfooter a {
  color: #ffffff;
  text-decoration: none;
  display: inline-block;
  padding: 10px 12px;
}

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

.innerfooter li+li {
  margin-left: 10px;
}

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

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

#vernetzt :is(b, strong) {
  font-weight: 700;
}

#vernetzt span span {
  display: block;
}