/* navtest.css — Unified Navigation
   Desktop Mega Nav ab 1200px
   Unter 1200px: ein gemeinsames Foundation-Offcanvas-Menü
   hamburgers.css bleibt separat und unverändert geladen.
   ========================================================== */

/* ==========================================================
   Breakpoint-Logik
   ========================================================== */

.st-nav-desktop,
.st-compact-nav,
.st-mobile-bottom-nav {
  display: none !important;
}

/* Desktop-Mega-Nav ab 1200px */
@media (min-width: 75em) {
  .st-nav-desktop {
    display: block !important;
  }

  .st-compact-nav,
  .st-mobile-bottom-nav,
  #offCanvasMenuResponsive {
    display: none !important;
  }
}

/* Tablet / Compact: 451–1199px */
@media (min-width: 451px) and (max-width: 74.9375em) {
  .st-nav-desktop,
  .st-mobile-bottom-nav {
    display: none !important;
  }

  .st-compact-nav {
    display: block !important;
  }
}

/* Mobile Bottom-Bar: bis 450px */
@media (max-width: 450px) {
  .st-nav-desktop,
  .st-compact-nav {
    display: none !important;
  }

  .st-mobile-bottom-nav {
    display: block !important;
  }
}


/* ==========================================================
   Desktop Navigation
   ========================================================== */

.st-nav-prototype {
  position: relative;
  z-index: 10000;
  min-height: 5.75rem;
  transition: min-height .24s ease;

  --st-nav-bg: var(--st-color-white, #fff);
  --st-nav-fg: var(--st-color-green, #00978D);
  --st-nav-line: var(--st-color-green, #00978D);
}

.st-nav-prototype:has(.st-nav-sticky.is-stuck) {
  min-height: 4.65rem;
}

.st-nav-prototype .st-nav-sticky,
.st-nav-prototype .sticky {
  width: 100%;
  z-index: 10000;
  background-color: var(--st-nav-bg) !important;
}

.st-nav-prototype .st-nav-sticky.is-stuck,
.st-nav-prototype .sticky.is-stuck {
  z-index: 10000;
  --st-nav-bg: var(--st-color-green, #00978D);
  --st-nav-fg: var(--st-color-white, #fff);
  --st-nav-line: var(--st-color-white, #fff);
}

.st-nav-prototype .top-bar,
.st-nav-prototype .top-bar ul,
.st-nav-prototype .topbar-sticky-shrink,
.st-nav-prototype .st-nav-bar,
.st-nav-prototype .st-nav-frame {
  background-color: var(--st-nav-bg) !important;
}

.st-nav-prototype .st-nav-bar {
  padding: 0;
  border: 0;
}

.st-nav-prototype .st-nav-frame {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: clamp(2rem, 4vw, 4rem);
  padding-left: clamp(2rem, 4vw, 4rem);
  margin-left: auto;
  margin-right: auto;
}

.st-nav-prototype .st-nav-row {
  min-height: 5.75rem;
  flex-wrap: nowrap;
}

.st-nav-prototype .st-nav-logo-cell {
  display: flex;
  align-items: center;
}

.st-nav-prototype .st-nav-logo-link {
  display: block;
  position: relative;
}

.st-nav-prototype .st-nav-logo {
  display: block;
  width: 11.5rem;
  height: auto;
  max-width: none;
  transition: width .24s ease, opacity .22s ease;
}

.st-nav-prototype .st-nav-logo--green { opacity: 1; }

.st-nav-prototype .st-nav-logo--white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-logo--green { opacity: 0; }
.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-logo--white { opacity: 1; }

.st-nav-prototype .st-nav-menu-cell { min-width: 0; }
.st-nav-prototype .st-nav-main { width: 100%; }

.st-nav-prototype .st-nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent !important;
  flex-wrap: nowrap;
}

.st-nav-prototype .st-nav-menu > li { position: static; }

.st-nav-prototype .st-nav-menu > li > a.st-nav-link {
  display: inline-block !important;
  position: relative;
  padding: 2.25rem 0 2rem 0 !important;
  color: var(--st-nav-fg) !important;
  font-family: "EuclidMedium", Helvetica, Arial, Roboto, sans-serif;
  font-size: 1.063rem;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.st-nav-prototype .st-nav-menu > li > a.st-nav-link--has-pane {
  padding-right: 1.05rem !important;
}

.st-nav-prototype .is-dropdown-submenu-parent > a::after { display: none !important; }

/* Gleiche Pfeilkonstruktion wie bei .link-arrow, hier nach unten ausgerichtet. */
.st-nav-prototype .st-nav-menu > li > a.st-nav-link--has-pane::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: .52em;
  height: .52em;
  border: 0 !important;
  border-top: 2px solid var(--st-nav-fg) !important;
  border-right: 2px solid var(--st-nav-fg) !important;
  background: transparent;
  translate: 0 -50%;
  scale: 1 1;
  transform: rotate(135deg);
  transform-origin: 50% 50%;
  transition: translate .25s ease, scale .25s ease, border-color .25s ease;
}

.st-nav-prototype .st-nav-menu > li:hover > a.st-nav-link--has-pane::before,
.st-nav-prototype .st-nav-menu > li > a.st-nav-link--has-pane:focus::before {
  translate: 0 calc(-50% + .31em);
  scale: 1 -1;
  border-color: var(--st-nav-line) !important;
}

.st-nav-prototype .st-nav-menu > li > a.st-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.55rem;
  width: auto;
  height: 2px;
  background: var(--st-nav-line);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease, background-color .25s ease, bottom .25s ease;
}

.st-nav-prototype .st-nav-menu > li:hover > a.st-nav-link::after,
.st-nav-prototype .st-nav-menu > li > a.st-nav-link:focus::after {
  transform: scaleX(1);
}

/* Aktiver Desktop-Menüpunkt bleibt markiert, solange Mega-Menü offen ist. */
.st-nav-prototype .st-nav-frame:has(#st-mega-leistungen.is-open) .st-nav-menu > li > a[data-toggle="st-mega-leistungen"]::after,
.st-nav-prototype .st-nav-frame:has(#st-mega-angehoerige.is-open) .st-nav-menu > li > a[data-toggle="st-mega-angehoerige"]::after,
.st-nav-prototype .st-nav-frame:has(#st-mega-ueber-uns.is-open) .st-nav-menu > li > a[data-toggle="st-mega-ueber-uns"]::after {
  transform: scaleX(1);
}

.st-nav-prototype .st-nav-frame:has(#st-mega-leistungen.is-open) .st-nav-menu > li > a[data-toggle="st-mega-leistungen"]::before,
.st-nav-prototype .st-nav-frame:has(#st-mega-angehoerige.is-open) .st-nav-menu > li > a[data-toggle="st-mega-angehoerige"]::before,
.st-nav-prototype .st-nav-frame:has(#st-mega-ueber-uns.is-open) .st-nav-menu > li > a[data-toggle="st-mega-ueber-uns"]::before {
  translate: 0 calc(-50% + .31em);
  scale: 1 -1;
  border-color: var(--st-nav-line) !important;
}

.st-nav-prototype .st-nav-menu > li > a.st-nav-link:hover,
.st-nav-prototype .st-nav-menu > li > a.st-nav-link:focus {
  color: var(--st-nav-fg) !important;
}

.st-nav-prototype .st-nav-cta-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .75rem;
  padding-left: 1.5rem;
}

.st-nav-prototype .st-nav-cta,
.st-nav-prototype .st-nav-jobs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  top: .125rem;
  height: 3rem;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  font-family: "EuclidMedium", Helvetica, Arial, Roboto, sans-serif !important;
  font-size: 1.063rem;
  line-height: 1;
}

.st-nav-prototype .st-nav-cta:hover,
.st-nav-prototype .st-nav-cta:focus,
.st-nav-prototype .st-nav-jobs:hover,
.st-nav-prototype .st-nav-jobs:focus {
  font-family: "EuclidMedium", Helvetica, Arial, Roboto, sans-serif !important;
  text-shadow: none;
  transform: none;
}

.st-nav-prototype .st-nav-cta {
  margin: 0;
  white-space: nowrap;
  min-width: 10.75rem;
  text-align: center;
}

.st-nav-prototype .st-nav-sticky:not(.is-stuck) .st-nav-cta {
  border-color: var(--st-color-green, #00978D) !important;
  color: var(--st-color-green, #00978D) !important;
}

.st-nav-prototype .st-nav-sticky:not(.is-stuck) .st-nav-cta:hover,
.st-nav-prototype .st-nav-sticky:not(.is-stuck) .st-nav-cta:focus {
  background: var(--st-color-green, #00978D) !important;
  border-color: var(--st-color-green, #00978D) !important;
  color: #fff !important;
}

.st-nav-prototype .st-nav-jobs {
  min-width: 5.75rem;
  margin: 0;
  white-space: nowrap;
}

.st-nav-prototype .st-nav-sticky:not(.is-stuck) .st-nav-jobs {
  background: var(--st-color-green, #00978D) !important;
  border-color: var(--st-color-green, #00978D) !important;
  color: #fff !important;
}

.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-jobs {
  border-color: #fff !important;
  background: #fff !important;
  color: #00978D !important;
}

.st-nav-prototype .st-nav-sticky,
.st-nav-prototype .st-nav-bar,
.st-nav-prototype .st-nav-frame,
.st-nav-prototype .top-bar,
.st-nav-prototype .top-bar ul,
.st-nav-prototype .topbar-sticky-shrink,
.st-nav-prototype .st-nav-row,
.st-nav-prototype .st-nav-menu > li > a.st-nav-link {
  transition: background-color .22s ease, min-height .24s ease, width .24s ease, padding .24s ease, color .22s ease, border-color .22s ease;
}

.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-row { min-height: 4.65rem; }
.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-logo { width: 10rem; }

.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-menu > li > a.st-nav-link {
  padding-top: 1.75rem !important;
  padding-bottom: 1.65rem !important;
}

.st-nav-prototype .st-nav-sticky.is-stuck .st-nav-menu > li > a.st-nav-link::after { bottom: 1.2rem; }


/* ==========================================================
   Desktop Mega Menu
   ========================================================== */

.st-nav-prototype .dropdown-pane.st-mega-pane,
.st-nav-prototype .top-bar .dropdown-pane.st-mega-pane {
  position: absolute !important;
  top: calc(100% - 1px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 1px solid #fff !important;
  background: #fff !important;
  z-index: 10001 !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .06);
}

.st-nav-prototype .dropdown-pane.st-mega-pane.is-open {
  top: calc(100% - 1px) !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.st-nav-prototype .st-mega-inner {
  padding-top: 3rem;
  padding-right: 1.2rem;
  padding-bottom: 3.5rem;
  padding-left: 1.2rem;
}

.st-nav-prototype .st-mega-pane,
.st-nav-prototype .st-mega-pane * { white-space: normal; }

.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane,
.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane ul { background: #fff !important; }

.st-nav-prototype .st-mega-intro .mediumsmall-title {
  color: #00978D;
  margin-bottom: 1rem;
}

.st-nav-prototype .st-mega-intro p { max-width: 24rem; }

.st-nav-prototype .st-mega-intro .button {
  margin-top: .4rem;
  margin-bottom: 0;
}

.st-nav-prototype .st-mega-group-title,
.st-responsive-offcanvas .st-mega-group-title {
  margin-top: 0;
  margin-bottom: .85rem;
  color: #00978D;
  font-family: "TiemposHeadline", serif;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: normal;
}

.st-nav-prototype .st-mega-links .grid-x {
  margin-left: -0.8125rem;
  margin-right: -0.8125rem;
}

.st-nav-prototype .dropdown-pane.st-mega-pane ul,
.st-nav-prototype .top-bar .dropdown-pane.st-mega-pane ul,
.st-nav-prototype .st-mega-links-list {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  list-style: none;
}

.st-nav-prototype .dropdown-pane.st-mega-pane li a,
.st-nav-prototype .top-bar .dropdown-pane.st-mega-pane li a,
.st-nav-prototype .st-mega-links-list li a {
  display: inline-block !important;
  padding: .28rem 0 .32rem 0 !important;
  color: #333 !important;
  border-bottom: 2px solid #00978D !important;
  font-family: "EuclidLight", Helvetica, Arial, Roboto, sans-serif;
  font-size: 1.063rem;
  line-height: 1.35;
  text-decoration: none;
  transform: translateX(0);
  transition: transform .2s ease-in, color .2s ease-in, border-color .2s ease-in;
}

.st-nav-prototype .dropdown-pane.st-mega-pane li a:hover,
.st-nav-prototype .dropdown-pane.st-mega-pane li a:focus {
  color: #00978D !important;
  font-family: "EuclidRegular", Helvetica, Arial, Roboto, sans-serif;
  transform: translateX(10px) !important;
}

.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane a:not(.button) { color: #333 !important; }

.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane a:not(.button):hover,
.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane a:not(.button):focus { color: #00978D !important; }


.st-nav-prototype .st-mega-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-right: 1rem;
}

.st-nav-prototype .st-mega-feature-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 14.5rem);
  aspect-ratio: 84 / 113;
  margin-top: -1.25rem;
  padding: 1.25rem;
  overflow: hidden;
  background: var(--st-color-light-glaucous-blue, #A5C8D1);
  color: var(--st-color-white, #fff);
}

.st-nav-prototype .st-mega-feature-tile--spezialpflege {
  background: var(--st-color-lavender, #B5B1D8);
}

.st-nav-prototype .st-mega-feature-tile--angehoerige {
  background: var(--st-color-ivory-buff, #E8D69A);
}

.st-nav-prototype .st-mega-feature-title {
  position: relative;
  z-index: 2;
  margin-bottom: 0;
  color: inherit;
}

.st-nav-prototype .st-mega-feature-subtitle {
  display: block;
  color: inherit;
}

.st-nav-prototype .st-mega-feature-media {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-height: 0;
}

.st-nav-prototype .st-mega-feature-media img {
  display: block;
  width: 84%;
  max-height: 100%;
  object-fit: contain;
}

.st-nav-prototype .st-mega-feature-tile--kosten .st-mega-feature-media img {
  width: 100%;
}

.st-nav-prototype .st-mega-pane .st-mega-feature-tile a.link-arrow,
.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane .st-mega-feature-tile a.link-arrow,
.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane .st-mega-feature-tile a.link-arrow:hover,
.st-nav-prototype .st-nav-sticky.is-stuck .st-mega-pane .st-mega-feature-tile a.link-arrow:focus {
  position: static;
  z-index: 2;
  align-self: flex-start;
  margin-top: auto;
  color: var(--st-color-white, #fff) !important;
  font-family: "EuclidRegular", Helvetica, Arial, Roboto, sans-serif;
}

.st-nav-prototype .st-mega-feature-tile a.link-arrow::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
}

.st-nav-prototype .dropdown-pane.is-open { display: block; }


/* ==========================================================
   Compact Trigger-Bar 451–1199px
   ========================================================== */

.st-compact-nav {
  position: relative;
  z-index: 12080;
  --st-compact-height: 5.2rem;
  --st-compact-bg: #fff;
  --st-compact-fg: #00978D;
}

.st-compact-sticky,
.st-compact-nav .sticky {
  width: 100%;
  z-index: 12080;
}

.st-compact-bar {
  background: var(--st-compact-bg);
  border: 0;
  transition: background-color .22s ease;
}

.st-compact-row {
  min-height: var(--st-compact-height);
  transition: min-height .24s ease;
}

.st-compact-logo-cell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.st-compact-menu-cell {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.st-compact-logo-link {
  display: block;
  position: relative;
}

.st-compact-logo {
  display: block;
  width: clamp(12rem, 26vw, 1rem);
  height: auto;
  max-width: none;
  transition: width .24s ease, opacity .22s ease;
}

.st-compact-logo--green { opacity: 1; }

.st-compact-logo--white {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.st-compact-toggle { padding-right: 0; }

.st-compact-toggle .hamburger-inner,
.st-compact-toggle .hamburger-inner::before,
.st-compact-toggle .hamburger-inner::after,
.st-mobile-bottom-nav .hamburger-inner,
.st-mobile-bottom-nav .hamburger-inner::before,
.st-mobile-bottom-nav .hamburger-inner::after {
  height: 2px !important;
  background-color: #00978D !important;
}

.st-compact-sticky.is-stuck {
  --st-compact-bg: #00978D;
  --st-compact-fg: #fff;
}

.st-compact-sticky.is-stuck .st-compact-row { min-height: 4.65rem; }
.st-compact-sticky.is-stuck .st-compact-logo { width: clamp(10.5rem, 22vw, 12.5rem); }
.st-compact-sticky.is-stuck .st-compact-logo--green { opacity: 0; }
.st-compact-sticky.is-stuck .st-compact-logo--white { opacity: 1; }

.st-compact-sticky.is-stuck .st-compact-toggle .hamburger-inner,
.st-compact-sticky.is-stuck .st-compact-toggle .hamburger-inner::before,
.st-compact-sticky.is-stuck .st-compact-toggle .hamburger-inner::after {
  background-color: #fff !important;
}

/* Hamburger-Zustand ohne zusätzliches JS: Foundation setzt .is-open am Offcanvas. */
body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger .hamburger-inner {
  transform: rotate(225deg);
  transition-delay: .12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
}

body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner::before,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger .hamburger-inner::before {
  top: 0;
  opacity: 0;
  transition: top .1s ease-out, opacity .1s .12s ease-out;
}

body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner::after,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
  transition: bottom .1s ease-out, transform .22s .12s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* Beim offenen Menü bleiben Tablet- und Mobile-Trigger Teil der grünen Fläche. */
body:has(#offCanvasMenuResponsive.is-open) .st-compact-sticky {
  --st-compact-bg: #00978D;
  --st-compact-fg: #fff;
}

body:has(#offCanvasMenuResponsive.is-open) .st-compact-logo--green {
  opacity: 0;
}

body:has(#offCanvasMenuResponsive.is-open) .st-compact-logo--white {
  opacity: 1;
}

body:has(#offCanvasMenuResponsive.is-open) .st-mobile-logo--green {
  opacity: 1;
  filter: brightness(0) invert(1);
}

body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner,
body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner::before,
body:has(#offCanvasMenuResponsive.is-open) .st-compact-toggle .hamburger-inner::after,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger-inner,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger-inner::before,
body:has(#offCanvasMenuResponsive.is-open) .st-mobile-bottom-nav .hamburger-inner::after {
  background-color: #fff !important;
}


/* ==========================================================
   Gemeinsames Foundation-Offcanvas unter 1200px
   ========================================================== */

#offCanvasMenuResponsive.st-responsive-offcanvas {
  --st-offcanvas-link-size: 2rem;
  background: #00978D;
  color: #fff;
  z-index: 12050;
  height: 100vh;
  height: 100svh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-top: 0 !important;
  padding-bottom: 5.8rem;
}

#offCanvasMenuResponsive.st-responsive-offcanvas a { color: #fff; }

#offCanvasMenuResponsive.position-bottom,
#offCanvasMenuResponsive.off-canvas.position-bottom {
  transform: translateY(100%);
  transition: transform .42s cubic-bezier(.22, .61, .36, 1);
}

#offCanvasMenuResponsive.position-bottom.is-open,
#offCanvasMenuResponsive.position-bottom.is-transition-overlap.is-open,
#offCanvasMenuResponsive.off-canvas.position-bottom.is-open,
#offCanvasMenuResponsive.off-canvas.position-bottom.is-transition-overlap.is-open {
  transform: translateY(0);
}

.st-responsive-offcanvas .st-mobile-offcanvas-inner {
  background: #00978D;
  margin-top: 0 !important;
  padding-top: .75rem !important;
  padding-bottom: 6rem !important;
}

@media (min-width: 451px) and (max-width: 74.9375em) {
  .st-responsive-offcanvas .st-mobile-offcanvas-inner {
    padding-top: 5.95rem !important;
  }
}

@media (max-width: 450px) {
  .st-responsive-offcanvas .st-mobile-offcanvas-inner {
    padding-top: 1.25rem !important;
    padding-bottom: 6rem !important;
  }
}

.st-responsive-offcanvas .mg-tp-40 { margin-top: 0 !important; }
.st-responsive-offcanvas .pd-tp-30 { padding-top: .75rem !important; }

/* Der grüne Adress-Offcanvas darf unter der fixen Mobile-Bar liegen. */
#offCanvasAddress {
  z-index: 12050 !important;
}

#offCanvasAddress.off-canvas.is-open,
#offCanvasAddress.off-canvas.is-transition-overlap.is-open {
  z-index: 12050 !important;
}


/* ==========================================================
   Accordion-Menü im gemeinsamen Offcanvas
   ========================================================== */

.st-hamburger-accordion {
  margin: 0;
  padding: 0;
  background: transparent;
  list-style: none;
  text-align: left;
}

.st-hamburger-accordion,
.st-hamburger-accordion ul,
.st-hamburger-accordion li {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.st-hamburger-accordion > li {
  border-bottom: 0;
}

.st-hamburger-accordion > li > a {
  position: relative;
  display: block;
  padding: .25rem 2.4rem .32rem 0;
  color: #fff;
  font-family: "TiemposHeadline", serif;
  font-size: var(--st-offcanvas-link-size);
  line-height: 1.08;
  text-decoration: none;
}

.st-hamburger-accordion > li.st-hamburger-direct > a {
  padding-right: 0;
}

.st-hamburger-accordion > li.st-hamburger-direct > a::before {
  display: none;
}

.st-hamburger-accordion .is-accordion-submenu-parent > a::after {
  display: none !important;
}

.st-hamburger-accordion > li > a::before {
  content: "";
  position: absolute;
  right: 1.375rem;
  top: 50%;
  width: .55rem;
  height: .55rem;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  background: transparent;
  translate: 0 -50%;
  scale: 1 1;
  transform: rotate(135deg);
  transform-origin: 50% 50%;
  transition: scale .25s ease, border-color .25s ease;
}

.st-hamburger-accordion > li[aria-expanded="true"] > a::before,
.st-hamburger-accordion > li.is-accordion-submenu-parent[aria-expanded="true"] > a::before {
  scale: 1 -1;
}

@media (min-width: 451px) and (max-width: 74.9375em) {
  .st-responsive-offcanvas .st-mobile-offcanvas-inner {
    padding-left: 3.15rem !important;
  }
}

@media (max-width: 450px) {
  .st-hamburger-accordion > li > a::before {
    right: .125rem;
  }
}

.st-hamburger-accordion > li[aria-expanded="true"] > a,
.st-hamburger-accordion > li.is-accordion-submenu-parent[aria-expanded="true"] > a {
  text-decoration: underline;
  text-decoration-color: #fff;
  text-decoration-thickness: 2px;
  text-underline-offset: .28em;
}

.st-hamburger-submenu {
  margin: 0 0 1.35rem 0 !important;
  padding: .15rem 0 .45rem 0 !important;
  background: transparent;
}

.st-hamburger-intro {
  display: none;
  margin: 0;
  padding: .1rem 0 .95rem 0 !important;
}

.st-hamburger-intro-title {
  color: #00978D;
  margin-bottom: 0;
}

.st-hamburger-group-title {
  margin: 0;
  padding: 0 !important;
}

.st-hamburger-group-title .st-mega-group-title {
  margin-top: 0;
  margin-bottom: .45rem;
  color: #fff;
  font-family: "EuclidMedium", Helvetica, Arial, Roboto, sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
}

.st-hamburger-submenu > li:not(.st-hamburger-intro):not(.st-hamburger-group-title) a {
  display: block;
  padding: .25rem 0 .32rem 0 !important;
  margin-bottom: 0;
  color: #fff;
  border-bottom: 0;
  font-family: "TiemposHeadline", serif;
  font-size: var(--st-offcanvas-link-size);
  line-height: 1.08;
  text-decoration: none;
  transform: translateX(0);
  transition: transform .2s ease-in, opacity .2s ease-in;
}

.st-hamburger-submenu > li:not(.st-hamburger-intro):not(.st-hamburger-group-title) a:hover,
.st-hamburger-submenu > li:not(.st-hamburger-intro):not(.st-hamburger-group-title) a:focus {
  color: #fff;
  font-family: "TiemposHeadline", serif;
  opacity: .72;
  transform: translateX(8px);
}

.st-hamburger-group-title:not(:first-child) { margin-top: 1.35rem; }

.st-hamburger-submenu > .st-hamburger-intro + .st-hamburger-group-title {
  margin-top: 1.35rem;
}


/* ==========================================================
   CTA-Bereich im Offcanvas
   Visuelle Buttonlogik liegt zentral in sanateamapp.css
   ========================================================== */

.st-hamburger-cta-row {
  padding: 1.35rem 0 1.5rem;
  margin-bottom: 4.8rem;
}

.st-hamburger-cta-row .button.st-hamburger-cta-button.hollow {
  color: #fff !important;
  border-color: #fff !important;
  background: transparent !important;
}

.st-hamburger-cta-row .button.st-hamburger-cta-button.hollow:hover,
.st-hamburger-cta-row .button.st-hamburger-cta-button.hollow:focus {
  color: #00978D !important;
  border-color: #fff !important;
  background: #fff !important;
}

.st-hamburger-cta-row .button.st-hamburger-cta-button:not(.hollow) {
  color: #00978D !important;
  border-color: #fff !important;
  background: #fff !important;
}


/* ==========================================================
   Mobile Bottom-Bar bis 450px
   ========================================================== */

@media (max-width: 450px) {
  body {
    padding-bottom: 4.5rem;
  }

  .st-mobile-bottom-nav,
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 12080;
    padding: 0;
  }

  .mobile-bottom-nav .title-bar {
    background: #fff;
    border-top: 1px solid #f2f2f2;
    transition: background-color .22s ease, border-color .22s ease;
  }

  .st-mobile-logo-link {
    position: relative;
    display: block;
  }

  .mobile-bottom-nav .logomobile {
    width: 90px;
    max-width: none;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(1.55);
    transform-origin: center;
    transition: filter .22s ease, opacity .22s ease;
  }

  .st-mobile-logo--green { opacity: 1; }

  body:has(#offCanvasMenuResponsive.is-open) .mobile-bottom-nav .title-bar {
    background: #00978D;
    border-color: #00978D;
  }

  body:has(#offCanvasMenuResponsive.is-open) .mobile-bottom-nav .info-button {
    background-image: url(../img/sanateam_icon_phone_weiss.svg);
    filter: none;
  }
}
