#shiftnav-main {
  background: var(--gradient-colorful);
  padding-top: 0;
  padding-bottom: 0 !important;
  max-width: 100% !important;
  width: 100vw !important;
  top: 0;
  transition: all 0.7s ease 0s;
  /*clip-path: circle(0% at 50% 50%);*/
  transform: translateY(-100%);
  overflow: hidden;
}

#shiftnav-main .shiftnav-inner {
  padding-left: 11.25vw !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#shiftnav-main a {
  color: inherit;
  text-decoration: none;
}

#shiftnav-main strong {
  font-weight: 700 !important;
}

/*bug fix Safari sub navi wird nicht angezeigt*/
.shiftnav-sub-shift-active
  ul.shiftnav-menu
  li.menu-item.shiftnav-depth-0:not(.shiftnav-active) {
  opacity: 0;
}

div#shiftnav-main.shiftnav.shiftnav-open-target {
  transform: unset;
  /*clip-path: circle(70.7% at 50% 50%);*/
  transform: translateY(0);
}

.shiftnav-open .shiftnav-inner > nav.shiftnav-nav {
  transform: translateY(0);
  filter: opacity(1);
  transition-delay: 0.7s;
}

.shiftnav-inner > nav.shiftnav-nav {
  transform: translateY(-100%);
  transition: 0.5s ease 0s;
  transition-delay: unset;
  filter: opacity(0);
  top: 0;
  display: flex;
  justify-content: center;
}

/** nav icon 4 */

.shiftnav-toggle-button,
.shiftnav-toggle-button:hover {
  z-index: 1000001 !important;
  padding: 0;
  pointer-events: all;
  position: fixed;
  left: var(--nav-icon-padding-X);
  top: calc(var(--header-height) / 2);
  transform: translateY(-50%);
  background-color: transparent;
}

div#nav-icon4 {
  position: relative;
  z-index: 1000002 !important;
  display: flex;
  width: var(--nav-icon-height);
  height: var(--nav-icon-height);
  justify-content: center;
  align-items: center;
  transition: all 0.8s cubic-bezier(0.91, 0.02, 0.07, 0.98) 0s;
  pointer-events: all;
}

div#nav-icon4:hover {
  transform: rotate(180deg);
}

div#nav-icon4 > span {
  position: absolute;
  width: 25%;
  height: 25%;
  background-color: var(--color-rot);
  transition: all 0.5s ease 0s;
  transition-delay: 0.5s;
}

body.nav-icon-light #nav-icon4 > span {
  background-color: var(--color-weiss);
}

.impmenu-active #nav-icon4 > span {
  background-color: var(--color-rot);
  transition-delay: 0s;
}

/*Top **/
div#nav-icon4 > span:nth-child(1),
div#nav-icon4 > span:nth-child(2),
div#nav-icon4 > span:nth-child(3) {
  top: 0;
}

div#nav-icon4 > span:nth-child(1) {
  left: 0;
}

div#nav-icon4 > span:nth-child(3) {
  right: 0;
}

/*Middle*/

div#nav-icon4 > span:nth-child(4) {
  left: 0;
}

div#nav-icon4 > span:nth-child(6) {
  right: 0;
}

/*Bottom*/

div#nav-icon4 > span:nth-child(7),
div#nav-icon4 > span:nth-child(8),
div#nav-icon4 > span:nth-child(9) {
  bottom: 0;
}

div#nav-icon4 > span:nth-child(7) {
  left: 0;
}

div#nav-icon4 > span:nth-child(9) {
  right: 0;
}

/**nav open*/

.shiftnav-open #nav-icon4 > span {
  background-color: var(--color-weiss) !important;
}

/*Top*/

.shiftnav-open div#nav-icon4 > span:nth-child(1) {
  top: 50%;
  left: 50%;
  opacity: 0;
  transform: translateY(-50%) translateX(-50%);
}

.shiftnav-open div#nav-icon4 > span:nth-child(2) {
  top: 50%;
  opacity: 0;
  transform: translateY(-50%);
}

.shiftnav-open div#nav-icon4 > span:nth-child(3) {
  top: 50%;
  right: 50%;
  opacity: 0;
  transform: translateY(-50%) translateX(-50%);
}

/*Middle*/

.shiftnav-open div#nav-icon4 > span:nth-child(4) {
  left: 50%;
  transform: translateX(-50%) rotate(-45deg);
  width: 100%;
  border-radius: 13em;
  height: 3px;
}

.shiftnav-open div#nav-icon4 > span:nth-child(5) {
  opacity: 0;
}

.shiftnav-open div#nav-icon4 > span:nth-child(6) {
  right: 50%;
  transform: translateX(50%) rotate(45deg);
  width: 100%;
  border-radius: 13em;
  height: 3px;
}

/*Bottom*/
.shiftnav-open div#nav-icon4 > span:nth-child(7) {
  bottom: 50%;
  left: 50%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}

.shiftnav-open div#nav-icon4 > span:nth-child(8) {
  bottom: 50%;
  opacity: 0;
  transform: translateY(50%);
}

.shiftnav-open div#nav-icon4 > span:nth-child(9) {
  bottom: 50%;
  right: 50%;
  opacity: 0;
  transform: translateY(50%) translateX(-50%);
}

/** menü items */
.shiftnav #menu-hauptmenue {
  display: flex;
  width: 35vw;
  flex-wrap: wrap;
  gap: var(--gap-s);
}

.shiftnav #menu-hauptmenue li.menu-item {
  counter-increment: menu-counter;
}

.shiftnav #menu-hauptmenue li.menu-item a {
  text-align: left;
  font-size: 1.911rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-weiss);
  border: 1.5px solid var(--color-weiss);
  border-radius: 172.414px;
  transition: all 0.5s ease-in-out;
  display: flex;
  gap: 13px;
  padding: 15px 35px;
}

.shiftnav #menu-hauptmenue li.menu-item.current-menu-item a,
.shiftnav #menu-hauptmenue li.menu-item a:hover {
  background-color: var(--color-anthrazit);
}

.shiftnav #menu-hauptmenue li.menu-item a::before {
  content: counter(menu-counter, decimal-leading-zero);
  font-size: 0.438em;
  flex-shrink: 0;
  font-weight: 300;
}

/** kontakt*/

.shiftnav .nav-kontakt {
  position: absolute;
  bottom: calc(var(--gap-xl) * 0.8);
  max-width: 50%;
}

.shiftnav .nav-kontakt .textwidget {
  display: flex;
  gap: var(--gap-m);
  color: var(--color-weiss);
  display: flex;
  flex-wrap: wrap;
}
.shiftnav .nav-kontakt span {
  font-weight: 300;
}

/* weisse leiste rechts */
.shiftnav #nav-infos {
  background-color: var(--color-weiss);
  width: 27.6vw;
  height: 100%;
  display: flex;
  padding-top: calc(var(--cont-gap) * 1.5);
  /* padding-left: 6.04vw;*/
  justify-content: center;
}

.shiftnav #nav-infos .nav-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap-l);
}

.shiftnav #nav-infos .nav-info .info-icon ~ br,
.shiftnav .nav-kontakt .textwidget p br {
  display: none;
}

.shiftnav #nav-infos .nav-info a.info-icon {
  display: flex;
  line-height: 1.56;
  gap: 12px;
  transition: all 0.5s ease-in-out;
  align-items: center;
}

.shiftnav #nav-infos a {
  transition: all 0.5s ease-in-out;
}

.shiftnav #nav-infos a:hover {
  color: var(--color-rot);
}

.shiftnav #nav-infos .nav-info a.info-icon:hover::before {
  filter: brightness(0) saturate(100%) invert(27%) sepia(52%) saturate(800%)
    hue-rotate(305deg) brightness(90%);
}

.shiftnav #nav-infos .nav-info a.info-icon::before {
  content: "" !important;
  display: block !important;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  --my-size: 1.143em;
  width: var(--my-size);
  height: var(--my-size);
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-phone.svg);
  transition: all 0.5s ease-in-out;
}

.shiftnav #nav-infos .nav-info a.info-icon.mail::before {
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-mail.svg);
}

.shiftnav #nav-infos .nav-info a.info-icon.insta::before {
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-instagram.svg);
}
.shiftnav #nav-infos .nav-info a.info-icon.fb::before {
  background-image: url(/wp-content/themes/visual-composer-starter-theme-child/img/icon-facebook.svg);
}

.shiftnav #nav-infos .nav-info:last-child h2 {
  margin-top: calc(var(--gap-xl) - var(--gap-l));
}

.shiftnav #nav-infos .nav-info:last-child h2 {
  font-size: 1.422rem;
  font-weight: 400;
  line-height: 1.29;
}

/* Remove plugin shadow/glow on the opened off-canvas navigation */
#shiftnav-main,
#shiftnav-main::before,
#shiftnav-main::after,
#shiftnav-main .shiftnav-inner,
#shiftnav-main .shiftnav-panel-content,
#shiftnav-main #nav-infos {
  box-shadow: none !important;
  filter: none !important;
}

@media (max-height: 1050px) {
  .shiftnav #nav-infos .nav-info-wrapper {
    gap: var(--gap-m);
  }

  .shiftnav #nav-infos .nav-info:last-child {
    margin-top: unset !important;
  }

  .shiftnav #nav-infos .nav-info:last-child h2 {
    margin-top: var(--gap-m);
  }
}

@media (max-height: 600px) {
  .shiftnav #nav-infos .nav-info:last-child h2 {
    display: none;
  }
}

@media (min-width: 768px) {
  .shiftnav #nav-infos .nav-info:nth-child(1) p .hide-me,
  #header-icons-mobile {
    display: none;
  }
}
@media (max-width: 1300px) {
  .shiftnav #nav-infos {
    padding: calc(var(--cont-gap) * 1.5) calc(var(--gap-m) * 1.3)
      calc(var(--gap-xl) * 0.8) calc(var(--gap-m) * 1.3);
    width: 35vw;
  }
  .shiftnav #nav-infos .nav-info:last-child {
    margin-top: auto;
  }
  .shiftnav #nav-infos .nav-info:last-child h2 {
    font-size: 0.9rem;
  }
  .shiftnav .nav-kontakt span {
    font-size: 0.8rem;
  }
}

@media (max-width: 1024px) {
  .shiftnav #menu-hauptmenue li.menu-item a {
    font-size: 1.5rem;
    padding: 10px 20px !important;
    gap: 10px;
  }
}

@media (max-height: 800px) {
  .shiftnav #menu-hauptmenue li.menu-item a {
    font-size: 1.5rem;
    padding: 10px 20px !important;
    gap: 10px;
  }
}

@media (max-width: 768px) {
  #shiftnav-main .shiftnav-inner {
    flex-direction: column;
    padding-top: 25vw;
    padding-bottom: 70px;
    align-items: flex-start;
  }

  .shiftnav-inner > nav.shiftnav-nav {
    justify-content: flex-start;
  }

  .shiftnav #menu-hauptmenue li.menu-item a {
    font-size: 1.286rem;
    padding: 8px 18px !important;
    gap: 6px;
    border: 0.8px solid var(--color-weiss);
  }
  .shiftnav #nav-infos {
    padding: 0 !important;
    background-color: transparent;
    height: unset !important;
  }
  .shiftnav #nav-infos * {
    color: var(--color-weiss);
  }

  .shiftnav #nav-infos .nav-info:nth-child(1) p br:last-child {
    display: none;
  }

  .shiftnav #nav-infos .nav-info:has(.tel),
  .shiftnav #nav-infos .nav-info:has(h2),
  .shiftnav-inner .nav-kontakt {
    display: none;
  }

  #header-icons-mobile {
    position: absolute;
    display: flex;
    gap: 18px;
    top: var(--nav-icon-padding-Y);
    right: var(--nav-icon-padding-X);
  }

  #header-icons-mobile .icon {
    width: 19px;
    height: 19px;
  }

  html:has(body.shiftnav-open),
  body.shiftnav-open {
    overflow: hidden;
  }

  .shiftnav #nav-infos {
    justify-content: flex-start;
  }
}
@media (max-width: 768px) {
  #shiftnav-main .shiftnav-inner {
    padding-top: 42.67vw;
  }
  .shiftnav #menu-hauptmenue,
  #nav-infos {
    width: 67.73vw !important;
  }
}

.single-r3d .shiftnav-toggle {
  display: none !important;
}

@media (min-width: 768px) and (max-height: 850px) {
  .shiftnav #nav-infos {
    padding: 0;
  }
  .shiftnav #nav-infos .nav-info-wrapper {
    justify-content: center;
  }
}
