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

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

body {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  color: #444444;
  background: #ffffff;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.5;
}

a {
  color: #934457;
}

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

b,
strong {
  font-weight: 500;
}

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

#topbar {
  font-size: 0.9375rem;
  font-weight: 300;
}

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

#topbar a {
  color: #666666;
  text-transform: uppercase;
  text-decoration: none;
}

#topbar :is(a, button):is(:hover, :focus) {
  color: #944457;
}

#topbar .innerfooter ul {
  padding: 0;
}

@media (min-width: 992px) {
  #topbar .innerfooter li {
    display: inline-block;
  }

  #topbar .innerfooter li+li {
    margin-left: 20px;
  }
}

@media (max-width: 991px) {
  #topbar {
    padding-top: 15px;
    padding-left: 15px;
  }
}

/* ------------------------------------------- styler ------------------------------------------- */

@media (min-width: 992px) {
  #style {
    margin: 0 -15px 0 30px;
    padding-left: 30px;
  }

  #style h2 {
    color: #666666;
    font-size: 0.9375rem;
    font-weight: 300;
    font-family: "Roboto", sans-serif;
    margin: 0;
    width: auto;
    line-height: 1;
  }

  #style button {
    color: #666666;
    font-weight: 300;
    background: transparent;
    border: none;
    line-height: 1;
    padding: 0 15px;
  }

  #style,
  #style button+button {
    border-left: 1px solid #666666;
  }
}

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

#logo {
  display: inline-block;
}

#logo img {
  display: block;
}

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

@media (min-width: 992px) {
  #logo {
    margin-bottom: -55px;
    margin-top: 24px;
    transition: all 300ms linear;
  }

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

  #logo img {
    transition: all 300ms linear;
  }

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

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

nav.horizontally {
  border-top: 4px solid #944457;
  background: #ffffff;
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
}

/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    padding: 10px 0;
  }

  #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: #944457;
    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: #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: 2px;
  }
}

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally :is(.navbar, #myNavbar) {
    height: 100% !important;
  }

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

  nav.horizontally .navbar-nav>li {
    flex-grow: 1;
  }

  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 .navbar-nav a[class*="toplevel"] {
  color: #944457;
  font-weight: 500;
  text-align: left;
  padding: 10px 35px 15px 15px;
  position: relative;
  font-family: "Roboto", sans-serif;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

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

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

  nav.horizontally .navbar-nav 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 .navbar-nav a[class*="toplevel"] {
    padding: 20px 8px;
    text-align: center;
  }
}

nav.horizontally .navbar-nav a[class*="toplevel"]::before {
  content: "";
  width: 0;
  height: 3px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  background-color: #944457;
  opacity: 0;
  transition: opacity 300ms linear, width 300ms linear;
  transform: translateX(-50%);
}

/* toplevel-over */

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"].open>a,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus),
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus) {
  color: #944457;
  background-color: #ede2cf;
}

nav.horizontally .navbar-nav li[class*="toplevel"]:is(:hover, :focus-within)>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"]>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"].open>a:is(:hover, :focus)::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a::before,
nav.horizontally .navbar-nav li[class*="toplevel"][class*="_over"]>a:is(:hover, :focus)::before {
  opacity: 1;
  width: 100%;
}

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: #ffffff;
  box-shadow: 0 2px 2px 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-top: 18px;
    padding-bottom: 18px;
  }

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

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

  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"]) {
  color: #444444;
  font-weight: 300;
  text-align: left;
  padding: 6px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
}

@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;
    font-size: 1rem;
  }

  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) {
  background: #fff;
  color: #944457;
}

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

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

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

@media (min-width: 768px) {
  #headerpic .nivo-directionNav a {
    top: auto;
    bottom: 16px;
  }

  #headerpic .nivo-controlNav {
    width: calc(100% - 100px);
    left: 50px;
    bottom: 10px;
  }
}

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

#headerpic {
  padding: 0;
  overflow: hidden;
  position: relative;
  background: #944457;
  color: #ffffff;
}

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

.slider-mask {
  display: none;
}

@media (min-width: 992px) {
  body.index .slider-mask {
    display: block;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.9));
  }
}

#bannerOverlay {
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.25);
  font-weight: 400;
  pointer-events: none;
}

@media (max-width: 991px) {
  #bannerOverlay {
    background: #944457;
    padding: 25px 0;
  }
}

@media (min-width: 992px) {
  #bannerOverlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 104px;
    z-index: 50;
  }
}

#slogan {
  pointer-events: auto;
}

#slogan :is(h1, h2, h3, h4, h5, h6) {
  font-weight: 700;
  margin: 0 0 14px 0;
  line-height: 1.1;
  pointer-events: auto;
  font-size: clamp(1.75rem, 3vw, 2.8125rem);
  color: #ffffff;
}

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

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

.button-style a {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  margin-top: 20px;
  display: inline-block;
  transition: transform 150ms linear, background 300ms linear, color 300ms linear;
  backface-visibility: hidden;
  padding: 8px clamp(15px, 2vw, 23px);
  color: #ffffff;
  font-size: 1rem;
  text-shadow: none;
  text-decoration: none;
  background-color: #944457;
}

.button-style a:is(:hover, :focus) {
  transform: scale(1.1);
  background: #ffffff;
  color: #944457;
}

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

#breaker .button-style a {
  padding: 8px clamp(15px, 2vw, 35px);
}

@media (max-width: 991px) {
  #bannerOverlay .button-style a {
    background: #ffffff;
    color: #944457;
  }

  #bannerOverlay .button-style a:is(:hover, :focus) {
    transform: scale(1.1);
    background: #f3e4e8;
    color: #944457;
  }
}

/* #region ------------------------------- search + newsletter ---------------------------------- */

#newsletter {
  background: #ffffff;
  display: flex;
  width: 100%;
  margin-top: clamp(15px, 2vw, 25px);
  border: 1px solid #d1d1d1;
  max-width: 318px;
}

.newsletter {
  color: #666666;
  line-height: 1.2;
  font-size: 1rem;
}

.newsletter .tabHeadline {
  color: #96386d;
  margin-bottom: 25px;
}

.newsletter :is(b, strong) {
  font-weight: 500;
}

#newsletter_input {
  color: #666666;
  font-size: 0.9375rem;
  font-style: 300;
  background: transparent;
  padding: 12px 14px;
  border: 0;
  width: 100%;
}

:is(#newsletter_input):is(:hover, :focus) {
  background: rgba(0, 0, 0, 0.1);
}

#newsletter_submit {
  width: 44px;
  flex-shrink: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  margin: -1px -1px -1px 0;
  font-size: 0;
  transition: transform 150ms linear;
}

#newsletter_submit {
  background: #944457 url("../img/pfeil-icon.png") center / auto 18px no-repeat;
}

:is(#newsletter_submit):is(:hover, :focus) {
  transform: scale(1.2);
}

:is(#newsletter_input)::placeholder {
  color: #666666 !important;
  opacity: 1 !important;
  font-style: normal !important;
}

/* #endregion ---------------------------- search + newsletter ---------------------------------- */

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

main {
  text-align: left;
  padding-bottom: clamp(40px, 6vw, 72px);
  padding-top: clamp(40px, 4vw, 60px);
}

@media (max-width: 991px) {
  body.index #content {
    margin-bottom: 60px;
  }

  main {
    padding-bottom: 0;
  }
}

/* ------------------------------------------- aside Tab ------------------------------------------ */

#tabsRight {
  display: grid;
  gap: 30px;
}

@media (min-width: 992px) {
  #tabsRight {
    align-items: start;
    align-content: start;
  }
}

#tabsRight .tab {
  width: 100%;
  margin: 0 auto;
  position: relative;
  padding: 45px 30px 30px 30px;
  background: #ffffff;
  font-size: 1rem;
  border-top: 4px solid #944457;
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.15);
}

#tabsRight .tab a {
  text-decoration: underline;
}

#tabsRight .tab::before {
  content: "";
  display: block;
  width: 60px;
  height: 60px;
  position: absolute;
  top: -32px;
  left: 50%;
  margin-left: -30px;
  border-radius: 50%;
  background: url("../img/icon-pferd.png") center no-repeat, linear-gradient(0deg, rgba(238, 211, 183, 1) 0%, rgba(246, 235, 222, 1) 62%);
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.15);
}

#tabsRight .tab :is(h1, h2, h3, h4, h5, h6, .tabHeadline) {
  color: #944457;
  font-size: 1.5rem;
  margin: 0 0 25px 0;
  text-align: center;
}

#tabsRight .contactSocial p {
  line-height: 1;
  padding: 10px;
  text-align: center;
  border-radius: 50%;
  display: inline-block;
  width: 50px;
  height: 50px;
  background: #934457;
  transition: background 300ms linear;
}

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

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

/* ------------------------------------------- Breaker ------------------------------------------ */

#breaker {
  background-color: #642f3b;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 38px 0;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 300;
  margin-top: 60px;
}

.breakerHeadline {
  margin: 0 0 4px 0;
  font-size: clamp(1.75rem, 3vw, 2.8125rem);
  color: #ffffff;
  font-weight: 700;
}

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

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

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

h2,
.h2,
.legacy_h2 {
  font-size: clamp(1.75rem, 2vw, 1.9rem);
}

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

h4,
.h4,
.h4link a:is(:link, :hover, :focus, :visited) .legacy_h4 {
  font-size: clamp(1.5rem, 2vw, 1.7rem);
}

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

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

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

footer {
  background-color: #fcfcfc;
  padding: 30px 0 40px 0;
  font-size: 1.125rem;
  hyphens: auto;
}

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

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

footer .tabHeadline {
  margin: 0 0 4px 0;
  font-size: 1.5rem;
}

.imgFooter {
  max-height: 293px;
}

@media (max-width: 767px) {
  .imgFooter {
    max-width: 180px;
    margin: auto;
  }
}

@media (min-width: 1200px) {
  .imgFooter {
    margin-right: -11px;
    margin-bottom: -35px;
  }
}

#innerfooter ul {
  padding: 0;
}

#innerfooter a {
  color: #666666;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  text-decoration: none;
  line-height: 2;
}

#innerfooter a:is(:hover, .focus) {
  color: #944457;
}

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

#vernetzt {
  text-align: right;
  display: inline-block;
  font-size: 1rem;
  color: #666666;
  line-height: 1.1;
  text-decoration: none;
  hyphens: auto;
}

#vernetzt img {
  margin-left: 15px;
}

#vernetzt strong {
  color: #96386d;
}

#vernetzt span {
  display: block;
}