@charset "UTF-8";

.sitemap-brand-logo-wrap {
  display: flex;
  align-items: flex-end;
  height: 37px;
  margin-bottom: .5rem;
}

.sitemap-brand-logo {
  display: block;
  max-width: 117px;
  max-height: 27px;
  width: auto;
  height: auto;
  opacity: .9;
}

.sitemap-brand-logo--sm {
  max-width: 77px;
  max-height: 33px;
}

.sitemap-brand-logo--lg {
  max-width: 142px;
  max-height: 33px;
}

.sitemap-brand-logo--xl {
  max-width: 165px;
  max-height: 38px;
}

/* A location's own logo, large and clickable (e.g. WH Care's Casa
   Cencerro/Casa Bavaria) — unlike .sitemap-brand-logo-wrap's small fixed-
   height badges, this fits within a bounding box at its natural aspect
   ratio rather than being cropped. A fixed width alone isn't enough here:
   these two logos have very different proportions (one tall/narrow, one
   roughly square), so a shared width made the square one render much
   taller than the other — max-height keeps both visually balanced. */
.sitemap-house-logo-link {
  display: block;
  max-width: 230px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: .75rem;
  transition: transform .25s ease, filter .25s ease;
}

a:hover > .sitemap-house-logo-link,
a:focus-visible > .sitemap-house-logo-link {
  transform: translateY(-4px) scale(1.04);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .18));
}

@media (prefers-reduced-motion: reduce) {
  .sitemap-house-logo-link {
    transition: none;
  }
  a:hover > .sitemap-house-logo-link,
  a:focus-visible > .sitemap-house-logo-link {
    transform: none;
  }
}

/* A "house" link that carries its own per-location logo (e.g. WH Care's
   Standorte) alongside the usual plain-text .nav2-link entries. */
.sitemap-house-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.sitemap-house-logo {
  display: block;
  max-height: 20px;
  width: auto;
}

.nav2_headline {
  font-weight: 400;
  font-size: 1.2rem;
  font-style: italic;
  margin-bottom: .5rem;
}

.nav2-list {
  display: flex;
  flex-direction: column;
}

.nav2-link {
  position: relative;
  font-size: .875rem;
  padding: .25rem .5rem;
  margin-right: 1.5rem;
  color: inherit;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.nav2-link:hover {
  transform: translateX(4px);
}

.nav2-link:focus-visible {
  outline: none;
}

.nav2-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(0,0,0,.08);
  transform: scaleX(1);
  transform-origin: left;
}

.nav2-link::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-hover);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 520ms ease;
}

.nav2-link:hover::before,
.nav2-link:focus-visible::before {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  .nav2-link {
    transition: none !important;
  }
  .nav2-link:hover {
    transform: none !important;
  }
  .nav2-link::before {
    transition: none !important;
  }
}
