@import url("https://fonts.verwaltungsportal.de/import/?family=Raleway:400,500,600,700,400i,500i,600i,700i%7CPatrick+Hand:400");

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

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

a {
  color: #c12d1f;
  text-decoration: underline;
}

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

b,
strong {
  font-weight: 700;
}

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

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

.logo {
  display: inline-block;
}

.logo img {
  display: block;
}

@media (max-width: 991px) {
  #logoMobil img {
    max-width: calc(100vw - 120px);
    max-height: 50px;
    width: 100%;
  }
}

/* ------------------------------------- styler - mail - phone ---------------------------------- */

.contactRow {
  font-size: 1rem;
  padding: 30px 0 10px 0;
}

@media (min-width: 992px) {
  .contactRow {
    padding: 10px 0;
  }
}

.contactRow > .xs-flex {
  gap: 12px 0;
}

#c2a-text {
  width: 100%;
}

#style-container h2 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0 0 12px 0;
}

.mail,
.phone {
  display: inline-block;
  margin: 2px 10px;
}

@media (min-width: 992px) {
  .mail,
  .phone {
    margin: 12px 0 0 clamp(15px, 1.6vw, 30px);
  }
}
#style,
:is(.mail, .phone) a {
  background: #bd5800;
  color: #fff;
  padding: 4px 15px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

#style button {
  border: none;
  background: none;
  padding: 0 6px;
}

#style button,
:is(.mail, .phone) a {
  text-decoration: none;
}

:is(.mail, .phone) a {
  padding-left: 40px;
  transition: transform 0.3s 0s ease;
  background: #c12d1f url("../img/icon-mail-weiss.png") center left 14px no-repeat;
}

.phone a {
  background-color: #756e52;
  background-image: url("../img/icon-telefon-weiss.png");
}

:is(.mail, .phone) a:is(:focus, :hover) {
  transform: scale(1.2);
}

/* #region ---------------------------------- navigation ---------------------------------------- */
header {
  border-top: 10px solid #756e52;
}
/* burgermenu for tablet */

@media (max-width: 991px) {
  nav.horizontally {
    margin-top: 70px;
  }

  #burgerButton {
    font-size: 0;
    border: none !important;
    position: absolute;
    z-index: 1002;
    display: block;
    width: 46px;
    height: 40px;
    border-radius: 2px;
    cursor: pointer;
    background-color: #ffffff;
    padding: 3px;
    right: 12px;
    top: 50%;
    margin-top: -20px;
  }

  #burgerButton::before,
  #burgerButton::after,
  #burgerButtonInner {
    background-color: #c12d1f;
    border-radius: 2px;
    position: absolute;
    width: 40px;
    height: 3px;
    left: 2px;
    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: 11px;
  }

  #burgerButton::before {
    top: 19px;
    content: "";
  }

  #burgerButton::after {
    top: 27px;
    content: "";
  }

  .navbar-nav {
    margin: 20px 0;
  }

  .navbar-collapse {
    width: calc(100% - 90px);
    max-width: 300px;
    top: 70px;
    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 {
    height: 70px;
    line-height: 1;
    padding: 10px 15px;
    background-color: #ffffff;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 101;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.2);
  }

  .dropdown-toggle-button-wrapper,
  .dropdown-toggle-button-wrapper2 {
    z-index: 1;
  }

  .dropdown-toggle-button-wrapper {
    top: 7px;
  }

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

/* menu desktop */

@media (min-width: 992px) {
  nav.horizontally {
    position: relative;
    z-index: 60;
    background-color: #ffffff;
  }

  #menu {
    border-top: 3px solid #f3f3f3;
    background-color: #ffffff;
  }

  .is-sticky #menu {
    left: unset !important;
  }

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

  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:is(.open, :hover) > ul,
  nav.horizontally .navbar-nav li.open:focus-within > 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.open > ul {
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden;
  }

  nav.horizontally .navbar-nav li:is(:hover, :focus) > ul {
    z-index: 1003;
  }
}

/* toplevel */

nav.horizontally a[class*="toplevel"] {
  color: #c12d1f;
  font-family: "Patrick Hand", sans-serif;
  text-align: left;
  padding: 10px 15px;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  font-size: 1.25rem;
  line-height: 1.2;
  text-decoration: none;
}

@media (max-width: 991px) {
  nav.horizontally a[class*="toplevel"].dropdown-toggle {
    padding-right: 35px;
  }
}

@media (min-width: 992px) {
  nav.horizontally a[class*="toplevel"] {
    padding: 22px 10px;
    text-align: center;
  }
}

nav.horizontally a[class*="toplevel"]::before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 3px;
  z-index: -1;
  background: #c12d1f;
  transition: height 200ms linear;
}

nav.horizontally li[class*="toplevel"]:nth-child(2n + 1):not([class*="_over"]):is(:not(:hover), :not(:focus)) > a {
  color: #756e52;
}

nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) > a::before {
  background: #756e52;
}
/* toplevel-over */

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

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

/* secondlevel + thirdlevel dropdown-box */

nav.horizontally [class*="toplevel"] ul {
  background-color: rgba(255, 255, 255, 0.95);
}

@media (max-width: 991px) {
  nav.horizontally [class*="secondlevel"] > ul {
    padding-left: 15px;
    background-color: #fff8f2;
  }
}

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

  nav.horizontally [class*="toplevel"] > ul {
    margin-top: 10px;
    left: 50%;
    transform: translate(-50%, 0);
  }

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

  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: 12px;
    top: 0;
    bottom: 0;
    left: -12px;
  }
}

/* secondlevel + thirdlevel */

nav.horizontally a:is([class*="secondlevel"], [class*="thirdlevel"]) {
  color: #191919;
  font-family: "Patrick Hand", sans-serif;
  text-align: center;
  padding: 8px 25px;
  font-size: 1.125rem;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}

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

  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: transparent;
  color: #c12d1f;
}

nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"]):is(:hover, :focus-within) > a,
nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"]) > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a,
nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"]).open > a:is(:hover, :focus),
nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a,
nav.horizontally li[class*="toplevel"]:nth-child(2n + 1) li:is([class*="secondlevel"], [class*="thirdlevel"])[class*="_over"] > a:is(:hover, :focus) {
  color: #756e52;
}

@media (min-width: 1200px) {
  #menu > .row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-vogel-menu.png) no-repeat;
    width: 1189px;
    height: 1646px;
    bottom: 10px;
    z-index: 0;
    pointer-events: none;
    right: 0;
    display: block;
    right: -1260px;
    top: -30px;
  }
}

.is-sticky #menu > .row::after {
  display: none;
}
/* #endregion ------------------------------- navigation ---------------------------------------- */

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

#slider {
  max-height: clamp(300px, 52vw, 500px);
  position: relative;
}

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

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

  #headerpic .nivo-directionNav a {
    top: auto;
    bottom: 345px;
  }

  #headerpic .nivo-controlNav {
    pointer-events: none;
  }

  #headerpic .nivo-controlNav a {
    pointer-events: auto;
  }

  body.index #slider {
    max-height: clamp(500px, 78vw, 660px);
  }
}

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

@media (min-width: 992px) {
  #bannerOverlay {
    position: absolute;
    right: 0;
    bottom: 54px;
    left: 0;
    z-index: 53;
    pointer-events: none;
  }
}

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

.slider-mask {
  display: block;
  background: url("../img/overlay-bogen.png") no-repeat bottom -1px right / 102% auto;
}

.theme-nivo .nivo-controlNav {
  bottom: clamp(10px, 3vw, 70px) !important;
}

@media (min-width: 1200px) {
  #headerpic > .row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-vogel-banner.png) no-repeat;
    width: 211px;
    height: 205px;
    bottom: -60px;
    z-index: 0;
    pointer-events: none;
    left: -204px;
    display: block;
  }
}
/* #endregion --------------------------------- banner ------------------------------------------ */

/* #region -------------------------------- scroll bottom --------------------------------------- */

#scrollBottom {
  font-size: 0;
  border-radius: 100%;
  display: block;
  width: 36px;
  height: 36px;
  margin: 60px auto 0 auto;
  text-align: center;
  background-color: #ffffff;
  pointer-events: auto;
  animation: bounceAni 2s infinite 2s;
  animation-play-state: running;
  transition: all 0.2s ease-in;
  bottom: -50px;
  position: relative;
}

#scrollBottom:is(:hover, :focus) {
  animation-play-state: paused;
}

#scrollBottom::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 1px;
  margin-top: 10px;
  display: inline-block;
  border-left: 2px solid #c12d1f;
  border-bottom: 2px solid #c12d1f;
  transform: rotate(-45deg);
  transition: border 300ms linear;
}

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

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

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

#scrollBottom:is(:hover, :focus)::after {
  border-color: #756e52;
}

/* #endregion ----------------------------- scroll bottom --------------------------------------- */

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

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

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

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

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

h2,
.h2,
.legacy_h2 {
  font-size: 1.75rem;
}

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

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

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

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

/* ---------------------------------------------- tab ------------------------------------------- */

#breaker {
  padding: clamp(50px, 8vw, 90px) 0 clamp(50px, 8vw, 50px) 0;
  background-color: #756e52;
  font-weight: 400;
  color: #ffffff;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  font-family: "Patrick Hand", sans-serif;
  font-size: 1.875rem;
  position: relative;
}

#breaker::before {
  background: url("../img/overlay-bogen-1.png") no-repeat top -1px right / 102% auto;
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.breakerText {
  position: relative;
  text-align: left;
  line-height: 1.3;
  font-size: 1.875rem;
}

@media (min-width: 1200px) {
  .breakerText::before {
    background: url("../img/zitat-deko-oben.png") no-repeat top -1px right;
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .breakerText::after {
    background: url("../img/zitat-deko-unten.png") no-repeat bottom -1px right;
    content: "";
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  .breakerText {
    padding: 20px 40px 20px 130px;
  }
}

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

#breaker :is(i, em) {
  font-size: 1rem;
  font-family: "Raleway", sans-serif;
  font-style: normal;
}

#breaker a {
  color: #ffffff;
  text-transform: uppercase;
  font-size: 0.9375rem;
  text-decoration: none;
  border-radius: 2px;
  padding: 3px 8px;
}

#breaker a:is(:hover, :focus) {
  background: #756e52;
}

#breaker a::after {
  content: "\0203A";
  margin-left: 4px;
  position: relative;
  bottom: 1px;
}

@media (min-width: 1200px) {
  #breaker > .row::after {
    content: "";
    position: absolute;
    background: url(../img/deko-vogel-breaker.png) no-repeat;
    width: 248px;
    height: 202px;
    bottom: -128px;
    z-index: 0;
    pointer-events: none;
    right: -24px;
    display: block;
  }
}
/* --------------------------------------------- footer ----------------------------------------- */

#footer {
  padding-top: 26px;
  padding-bottom: 26px;
}

.contactFooter {
  padding: clamp(30px, 3vw, 45px) 0;
  font-size: 1rem;
  border-top: 1px solid #756e52;
}

.contactFooter :is(h1, h2, h3, h4, h5, h6) {
  font-size: 1.875rem;
}

/* ----------------------------------------------- @5f footer ----------------------------------------------- */

#f5 {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: #756e52;
}

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

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

#innerfooter ul {
  padding: 0;
}

#innerfooter li {
  display: inline-block;
}

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

#innerfooter a:hover,
#innerfooter a:focus {
  color: #ffffff;
  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;
  }
}

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

#vernetzt {
  gap: 12px;
  text-align: right;
  font-size: 0.875rem;
  color: #ffffff;
  line-height: 1.3;
  text-decoration: none;
  font-weight: 600;
}

#vernetzt span span {
  display: block;
}
