.ainz-brand {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.ainz-brand img {
  width: min(13rem, 60%);
  height: auto;
}

.ainz-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ainz-nav a {
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.ainz-nav a:hover,
.ainz-nav a:focus-visible,
.ainz-nav a[aria-current="page"] {
  border-bottom-color: currentColor;
}

.ainz-actions.actions {
  margin-top: 1.5rem;
}

.ainz-kicker {
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.color0 .ainz-kicker,
.color2 .ainz-kicker,
.color4 .ainz-kicker {
  color: rgba(255, 255, 255, 0.82);
}

.ainz-list,
.ainz-links,
.ainz-meta {
  display: grid;
  gap: 1rem;
}

.ainz-list article,
.ainz-links li,
.ainz-meta article {
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.ainz-list h3,
.ainz-meta h3 {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.5;
}

.ainz-list p,
.ainz-meta p,
.ainz-links a {
  margin: 0.45rem 0 0;
  line-height: 1.8;
}

.ainz-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ainz-links a {
  display: inline-block;
  text-decoration: none;
}

.ainz-links a:hover,
.ainz-links a:focus-visible {
  text-decoration: underline;
}

.ainz-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ainz-accent {
  color: #ffe5d8;
  text-decoration: none;
}

.ainz-accent:hover,
.ainz-accent:focus-visible {
  text-decoration: underline;
}

.ainz-muted {
  opacity: 0.88;
}

.ainz-contact-card {
  display: grid;
  gap: 1.1rem;
}

.ainz-contact-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ainz-note {
  margin-top: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.86;
}

.ainz-compact {
  padding-top: 6.25rem;
  padding-bottom: 5.5rem;
}

.ainz-compact #main {
  padding: 0 4.5rem;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 11050;
  padding: 0.55rem 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(90, 39, 48, 0.12);
  backdrop-filter: blur(20px);
  color: #5a2730;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: 100%;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
}

.site-header__brand img {
  width: clamp(4.5rem, 8vw, 6.25rem);
  height: auto;
}

.site-header__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(90, 39, 48, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #5a2730;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  color: #5a2730;
  text-decoration: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav__group {
  position: relative;
}

.site-nav__group summary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #5a2730;
  cursor: pointer;
  list-style: none;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav__group summary::-webkit-details-marker {
  display: none;
}

.site-nav__group summary::after {
  content: "\25be";
  font-size: 0.68em;
}

.site-nav__dropdown {
  position: absolute;
  top: calc(100% + 0.55rem);
  right: 0;
  display: grid;
  gap: 0.15rem;
  min-width: 13.5rem;
  padding: 0.55rem;
  border: 1px solid rgba(90, 39, 48, 0.12);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1rem 2.5rem rgba(46, 27, 31, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.35rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(18px);
}

.site-nav__dropdown a {
  display: block;
  padding: 0.45rem 0.7rem;
  border-radius: 0.7rem;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.site-nav__group:hover .site-nav__dropdown,
.site-nav__group:focus-within .site-nav__dropdown,
.site-nav__group[open] .site-nav__dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.site-nav__group:hover summary,
.site-nav__group:focus-within summary,
.site-nav__group.is-current summary {
  color: #7a3540;
  opacity: 0.9;
}

.site-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 11040;
  padding: 0.55rem 1.5rem 0.7rem;
  background: rgba(34, 22, 26, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
}

.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 2rem;
  width: 100%;
}

.site-footer__block {
  display: grid;
  gap: 0.2rem;
  max-width: 24rem;
  font-size: 0.72rem;
  line-height: 1.5;
}

.site-footer__block strong {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__block a {
  text-decoration: none;
}

.site-footer__block a:hover,
.site-footer__block a:focus-visible {
  text-decoration: underline;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  font-size: 0.62rem;
  line-height: 1.5;
  opacity: 0.82;
}

.site-footer__legal a {
  text-decoration: none;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  text-decoration: underline;
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.site-modal.is-open {
  display: flex;
}

.site-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(22, 12, 15, 0.58);
  backdrop-filter: blur(10px);
}

.site-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 40rem);
  padding: 1.5rem 1.5rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(96, 45, 56, 0.96), rgba(69, 34, 42, 0.98));
  box-shadow: 0 1.5rem 3.5rem rgba(17, 10, 12, 0.38);
}

.site-modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.site-modal__panel .major {
  margin-bottom: 1rem;
}

.site-modal__panel .ainz-contact-card {
  gap: 0.9rem;
}

.site-modal__panel .ainz-contact-card p,
.site-modal__panel .ainz-contact-card span {
  line-height: 1.8;
}

body.is-modal-open {
  overflow: hidden;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.16);
  color: #25d366;
  font-size: 1rem;
  text-decoration: none;
  vertical-align: middle;
}

.whatsapp-link:hover,
.whatsapp-link:focus-visible {
  background: rgba(37, 211, 102, 0.24);
  text-decoration: none;
}

.scroll-arrow {
  position: fixed;
  top: 50%;
  z-index: 11060;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(47, 31, 35, 0.78);
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.scroll-arrow--left {
  left: 1rem;
}

.scroll-arrow--right {
  right: 1rem;
}

.scroll-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.hero-panel .image {
  min-width: 25rem;
}

.hero-panel--wide .image {
  min-width: 33rem;
}

.hero-panel--wide .image img {
  object-position: center center !important;
}

.ainz-compact h1.major,
.ainz-compact h2.major {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.015em;
}

.ainz-compact .content p,
.ainz-compact .intro p,
.ainz-compact .inner p {
  max-width: none;
}

.ainz-card-grid,
.ainz-value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ainz-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ainz-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ainz-card-grid--medical-inline {
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.ainz-icon-card,
.ainz-value-card {
  min-height: 100%;
  padding: 1.15rem 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ainz-icon-card .icon {
  display: inline-flex;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.ainz-icon-card h3,
.ainz-value-card h3 {
  margin: 0 0 0.55rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.ainz-icon-card p,
.ainz-value-card p {
  margin: 0;
  line-height: 1.75;
}

.ainz-checklist {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: grid;
  gap: 0.75rem;
}

.ainz-checklist li {
  position: relative;
  padding-left: 1.35rem;
  line-height: 1.7;
}

.ainz-checklist li::before {
  content: "";
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: #ffe5d8;
}

.ainz-image-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
  overflow: visible;
}

.ainz-image-grid article {
  display: block;
  height: auto !important;
  min-height: 0;
  max-height: none !important;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.ainz-image-grid img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none !important;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  position: static !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  pointer-events: none;
  user-select: none;
}

.ainz-gallery-panel {
  overflow-y: hidden !important;
}

.ainz-gallery-panel .inner {
  overflow: visible !important;
}

.ainz-slideshow {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  width: min(100%, 34rem);
  margin: 0 auto;
}

.ainz-slideshow__viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 0;
  height: clamp(16rem, 28vw, 21rem);
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

.ainz-slideshow__slide {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.ainz-slideshow__slide.is-active {
  display: flex;
  animation: ainz-slideshow-fade 0.55s ease;
}

.ainz-slideshow__slide img {
  display: block;
  width: min(100%, 26rem);
  height: auto;
  max-height: 100%;
  object-fit: contain;
  position: static !important;
}

.ainz-slideshow--medical {
  width: min(100%, 32rem);
}

.ainz-slideshow--medical .ainz-slideshow__viewport {
  background: rgba(255, 255, 255, 0.06);
}

.ainz-slideshow--medical .ainz-slideshow__slide img {
  width: min(100%, 24rem);
}

@keyframes ainz-slideshow-fade {
  from {
    opacity: 0.18;
  }

  to {
    opacity: 1;
  }
}

.ainz-slideshow__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(47, 31, 35, 0.78);
  color: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.ainz-contain.image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ainz-contain.image img {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

.ainz-timeline {
  display: grid;
  gap: 0.9rem;
}

.ainz-timeline article {
  padding: 1rem 1.1rem 1.05rem;
  border-left: 3px solid rgba(255, 229, 216, 0.65);
  background: rgba(255, 255, 255, 0.06);
}

.ainz-timeline h3,
.ainz-news-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
  line-height: 1.45;
}

.ainz-timeline p,
.ainz-news-card p {
  margin: 0;
  line-height: 1.75;
}

.ainz-quote-panel {
  padding: 1.4rem 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ainz-quote-panel blockquote {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.6;
}

.ainz-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.85rem;
  margin: 0.85rem 0 1rem;
}

.ainz-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ainz-search-shell {
  display: grid;
  gap: 0.6rem;
}

.ainz-search-shell label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ainz-search-shell input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
}

.ainz-search-shell input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.ainz-location-grid {
  display: grid;
  gap: 1rem;
}

.standorte-panel {
  align-items: stretch;
}

.standorte-panel > .intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 2rem;
  z-index: 1;
}

.standorte-panel__visual {
  display: grid;
  grid-template-columns: minmax(0, 20rem) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  min-height: 29rem;
  padding: 1.25rem;
}

.standorte-panel__photo {
  position: relative;
  min-height: 26rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
}

.standorte-panel__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(46, 43, 55, 0.04), rgba(46, 43, 55, 0.18));
  pointer-events: none;
}

.standorte-panel__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.ainz-location-card {
  min-height: 0;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
}

.ainz-location-card[hidden] {
  display: none;
}

.ainz-location-card h3 {
  margin: 0 0 0.45rem;
}

.ainz-location-card p {
  margin: 0.35rem 0 0;
  line-height: 1.8;
}

.ainz-location-meta {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.95rem;
}

.ainz-location-meta article {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.ainz-location-meta strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.74rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ainz-search-empty {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.82;
}

.ainz-search-empty[hidden] {
  display: none;
}

.ainz-share-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.ainz-share-list a {
  text-decoration: none;
}

.ainz-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ainz-news-card {
  padding: 1rem 1.05rem 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.ainz-news-card .ainz-tag {
  margin-bottom: 0.7rem;
}

@media screen and (max-width: 980px) {
  .ainz-compact {
    padding-top: 5.5rem;
    padding-bottom: 6rem;
  }

  .ainz-compact #main {
    padding: 0 1.25rem;
  }

  .site-header__inner {
    align-items: center;
    gap: 0.75rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-header__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0.7rem;
    padding: 1rem;
    border: 1px solid rgba(90, 39, 48, 0.12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1rem 2.5rem rgba(46, 27, 31, 0.16);
    backdrop-filter: blur(18px);
  }

  .site-header.is-menu-open .site-nav {
    display: flex;
  }

  .site-nav__group {
    width: 100%;
  }

  .site-nav a,
  .site-nav__group summary {
    width: 100%;
  }

  .site-nav__group summary {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav__dropdown {
    position: static;
    min-width: 0;
    margin-top: 0.45rem;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    display: none;
  }

  .site-nav__group[open] .site-nav__dropdown {
    display: grid;
  }

  .scroll-arrow {
    display: none;
  }

  .ainz-card-grid,
  .ainz-value-grid,
  .ainz-image-grid,
  .ainz-news-grid {
    grid-template-columns: 1fr;
  }

  .ainz-card-grid--three {
    grid-template-columns: 1fr;
  }

  .ainz-card-grid--four {
    grid-template-columns: 1fr;
  }

  .ainz-card-grid--medical-inline {
    grid-template-columns: 1fr;
  }

  .ainz-slideshow {
    grid-template-columns: 1fr;
  }

  .ainz-slideshow__nav {
    justify-self: center;
  }

  .standorte-panel > .intro,
  .standorte-panel__visual {
    width: 100%;
  }

  .standorte-panel > .intro {
    padding-right: 0;
  }

  .standorte-panel__visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .standorte-panel__photo {
    min-height: 22rem;
  }

  .site-modal {
    padding: 1rem;
  }

  .site-modal__panel {
    width: 100%;
  }
}

@media screen and (max-width: 736px) {
  html,
  body {
    width: 100%;
    height: auto;
  }

  body.ainz-compact {
    display: block;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .ainz-brand img {
    width: min(11rem, 68%);
  }

  .ainz-nav {
    gap: 0.55rem 0.85rem;
  }

  .site-header {
    padding: 0.65rem 1rem;
  }

  .site-footer {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    margin-left: 0;
    box-sizing: border-box;
  }

  .site-footer__legal {
    flex-direction: column;
  }

  .ainz-compact {
    padding-top: 5rem;
    padding-bottom: 0;
    width: 100%;
  }

  .ainz-compact #main {
    width: 100%;
    max-width: 100%;
    padding: 0 0 1rem;
  }

  .ainz-compact #page-wrapper {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .ainz-compact #wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .hero-panel .image {
    min-width: 0;
  }
}
