/*
Theme Name: Zahn & Zähnchen Astra
Description: Astra-Child-Theme für die Familienpraxis am Bothehof.
Author: Marcheel Media
Template: astra
Version: 1.0.3
Text Domain: zahn-astra
*/

:root {
  --zab-lime: #c5d301;
  --zab-primary: #66543f;
  --zab-primary-dark: #4b3c2d;
  --zab-secondary: #6b4938;
  --zab-ink: #2d2d2d;
  --zab-text: #595550;
  --zab-muted: #595550;
  --zab-paper: #ffffff;
  --zab-soft: #f6f6f6;
  --zab-warm: #f4efe8;
  --dialog-card-control-element-color: #66543f;
  --dialog-card-control-element-color-hover: #4b3c2d;
  --dialog-card-separator-color: #8e7860;
  --dialog-checkbox-background-color-active: #66543f;
  --dialog-checkbox-border-color-active: #66543f;
  --dialog-control-element-color: #66543f;
  --dialog-control-element-color-hover: #4b3c2d;
  --dialog-link-primary-color: #66543f;
  --dialog-link-primary-color-hover: #4b3c2d;
  --dialog-list-item-control-element-color: #66543f;
  --dialog-list-item-control-element-color-hover: #4b3c2d;
  --dialog-list-item-separator-color: #8e7860;
  --dialog-search-bar-input-border-color-default: #66543f;
  --dialog-search-bar-input-border-color-focus: #4b3c2d;
  --dialog-separator-color: #8e7860;
  --dialog-switch-button-background-color-active: #66543f;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 166px;
  overflow-x: clip;
  overflow-y: scroll;
}

body.zab-site {
  margin: 0;
  color: var(--zab-text);
  background: var(--zab-warm);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  overflow-x: visible;
}

body.zab-site * {
  box-sizing: border-box;
}

.zab-skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 10000;
  padding: 10px 16px;
  color: #fff;
  background: #222;
}

.zab-skip-link:focus {
  top: 12px;
}

.zab-header {
  position: sticky;
  top: 34px;
  z-index: 999;
  min-height: 130px;
  background: #f7f7f7;
  box-shadow: 0 10px 10px -5px rgba(0, 0, 0, 0.5);
}

.zab-utility {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 34px;
  color: #fff;
  background: var(--zab-primary-dark);
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  line-height: 1.35;
}

.zab-utility__inner {
  width: min(1370px, calc(100% - 32px));
  min-height: 34px;
  margin: 0 auto;
  padding-block: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 24px;
  white-space: nowrap;
}

.zab-utility a,
.zab-utility a:visited {
  color: #fff;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.zab-utility a:hover,
.zab-utility a:focus {
  color: #fff;
  text-decoration-thickness: 2px;
}

.zab-header__inner {
  width: max-content;
  max-width: 100%;
  min-height: 130px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20vw 60vw max-content;
  align-items: center;
  gap: 0;
  padding-top: 10px;
}

.zab-brand {
  display: inline-flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.zab-brand img {
  display: block;
  width: 100%;
  height: auto;
}

.zab-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 48px;
  align-content: flex-start;
  flex-wrap: wrap;
  gap: 0 30px;
}

.zab-nav a,
.zab-appointment {
  color: #171717;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 300;
  line-height: 24px;
  letter-spacing: -0.45px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.zab-nav a {
  padding: 0 10px;
  color: #000;
}

.zab-nav__appointment {
  display: none;
}

@media (min-width: 921px) {
  .zab-nav a:nth-child(-n+6) {
    transform: translateX(-7.5px);
  }

  .zab-nav a:nth-child(7) {
    transform: translateX(7.5px);
  }
}

.zab-nav a:hover,
.zab-nav a:focus,
.zab-nav a[aria-current="page"] {
  color: var(--zab-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.zab-appointment {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  color: #fff;
  background: var(--zab-primary);
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  letter-spacing: normal;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.zab-appointment:hover,
.zab-appointment:focus {
  border-color: var(--zab-primary-dark);
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 1px solid #d8d8d8;
  color: #222;
  background: #fff;
}

.zab-menu-toggle span,
.zab-menu-toggle::before,
.zab-menu-toggle::after {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px auto;
  content: "";
  background: currentColor;
}

#zab-main,
#zab-main > #content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

#zab-main {
  --e-global-color-primary: #2d2d2d;
  --e-global-color-secondary: #595550;
  --e-global-color-text: #595550;
  --e-global-color-accent: #66543f;
  --e-global-color-421a4df: #fff;
  --e-global-color-de92f77: #f6f6f6;
  --e-global-typography-primary-font-family: "PT Sans";
  --e-global-typography-primary-font-weight: 400;
  --e-global-typography-secondary-font-family: "PT Sans";
  --e-global-typography-secondary-font-weight: 400;
  --e-global-typography-text-font-family: "PT Sans";
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: Roboto;
  --e-global-typography-accent-font-weight: 500;
}

/* The imported page contained a frozen Jarallax render. Keep both section
 * images visible until the local Jarallax instance has rebuilt that markup. */
#zab-main .elementor-element-97ad8b4:not(.zab-parallax-ready) {
  background-image: url("/media/zab/behandlung-beratung.webp") !important;
  background-position: center;
  background-size: cover;
}

#zab-main .elementor-element-dbc9236:not(.zab-parallax-ready) {
  background-image: url("/media/zab/praxis-empfang.webp") !important;
  background-position: center;
  background-size: cover;
}

#zab-main .elementor-element-97ad8b4:not(.zab-parallax-ready) > [id^="jarallax-container-"],
#zab-main .elementor-element-dbc9236:not(.zab-parallax-ready) > [id^="jarallax-container-"] {
  display: none;
}

#zab-main .elementor {
  margin: 0;
}

/* Startbereich: Nach dem Umzug der Kontaktdaten in die Kopfleiste bleibt das
 * Praxisfoto als freie Bühne sichtbar und immer deutlich unter 100 vh. */
#zab-main .elementor-element-a0dfa3f {
  min-height: min(72svh, 720px) !important;
  max-height: 100svh;
  background-position: center center !important;
  background-attachment: fixed !important;
}

#zab-main a {
  color: inherit;
}

#zab-main .elementor-widget-text-editor a:not(.elementor-button),
#zab-main .elementor-icon-box-description a,
.zab-site:not(.home) .entry-content a {
  color: var(--zab-secondary);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}

#zab-main p {
  margin-bottom: 20px;
}

#zab-main h3:not(.elementor-heading-title):not(.elementor-icon-box-title) {
  margin: 0 0 20px;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

#zab-main .zab-hero-subtitle {
  margin: 0 0 20px;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

#zab-main .elementor-widget-heading .elementor-heading-title {
  margin: 0;
  color: #2d2d2d;
  font-family: sans-serif;
  font-weight: 400;
}

#zab-main h1.elementor-heading-title.elementor-size-large,
#zab-main h2.elementor-heading-title.elementor-size-large {
  font-size: 29px;
  line-height: 29px;
}

#zab-main h2.elementor-heading-title.elementor-size-default {
  font-size: 20px;
  line-height: 20px;
}

#zab-main h3.elementor-heading-title.elementor-size-default {
  font-size: 18px;
  line-height: 18px;
}

#zab-main .elementor-widget-text-editor,
#zab-main .elementor-icon-box-description {
  color: var(--zab-text);
  font-family: sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 25.2px;
}

#zab-main .elementor-icon-box-title,
#zab-main .elementor-icon-box-title a {
  margin: 0;
  color: #2d2d2d;
  font-family: sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 25.2px;
}

#zab-main .elementor-icon-box-description {
  margin: 0;
}

#zab-main .elementor-element-6aba0de .elementor-icon,
#zab-main .elementor-element-d88d9ef .elementor-icon,
#zab-main .elementor-element-4c050d9 .elementor-icon,
#zab-main .elementor-element-8da581f .elementor-icon,
#zab-main .elementor-icon i {
  color: var(--zab-primary);
  border-color: var(--zab-primary);
}

#zab-main table {
  margin-bottom: 36.652px;
}

#zab-main .elementor-element-e017f11,
#zab-main .elementor-element-b65b4ee,
#zab-main .elementor-element-196461e {
  border-color: #fff;
}

#zab-main .elementor-button,
#zab-main a.elementor-button {
  padding: 12px 24px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
}

#zab-main .elementor-element-f0fdb73 .elementor-button,
#zab-main .elementor-element-b623d65 .elementor-button {
  color: var(--zab-primary-dark);
  fill: var(--zab-primary-dark);
}

#zab-main .elementor-element-f0fdb73 .elementor-button:hover,
#zab-main .elementor-element-f0fdb73 .elementor-button:focus,
#zab-main .elementor-element-b623d65 .elementor-button:hover,
#zab-main .elementor-element-b623d65 .elementor-button:focus {
  color: #fff;
  fill: #fff;
}

#zab-main .brlbs-cmpnt-cb-description {
  margin: 0;
}

#zab-main .brlbs-cmpnt-cb-thumbnail {
  background: #000 !important;
}

#zab-main .zab-map-is-open,
#zab-main .zab-map-is-open iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* Keep the live page's masonry coordinates on desktop. Narrow screens switch
 * to a deterministic Astra-friendly grid below. */
#zab-main .eael-filter-gallery-container.masonry {
  display: block !important;
  position: relative !important;
  height: 2144.92px !important;
}

#zab-main .eael-filterable-gallery-item-wrap {
  position: absolute !important;
  display: block !important;
  width: 20% !important;
  margin: 0 !important;
}

#zab-main .eael-filterable-gallery-item-wrap,
#zab-main .eael-gallery-grid-item,
#zab-main .eael-gallery-grid-item a,
#zab-main .gallery-item-thumbnail-wrap {
  opacity: 1 !important;
  visibility: visible !important;
}

#zab-main .gallery-item-thumbnail-wrap,
#zab-main .gallery-item-thumbnail-wrap img {
  display: block;
  width: 100%;
  height: auto;
}

#zab-main .eael-gallery-grid-item a {
  cursor: pointer;
}

/* The source page's Elementor container CSS deliberately overrides the
 * thumbnail plugin's generic stylesheet. Keep that cascade under Astra. */
#zab-main .mrchl_thumbnail-widget {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

#zab-main .mrchl_thumbnails {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
}

#zab-main .zab-team-choice {
  width: 100px;
  height: 100px;
  margin: 5px;
  padding: 0;
  overflow: hidden;
  border: 3px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

#zab-main .zab-team-choice:hover,
#zab-main .zab-team-choice.is-active {
  border-color: var(--zab-primary);
}

#zab-main .zab-team-choice img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  object-fit: cover;
}

#zab-main .mrchl-active-container {
  display: flex;
  width: 100%;
  margin-top: 20px;
  padding: 0;
  flex-direction: row;
  align-items: flex-start;
  text-align: left;
}

#zab-main .mrchl-active-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px;
  margin: 0 0 10px;
  border-radius: 0;
  align-self: flex-start;
  object-fit: cover;
}

#zab-main .mrchl-active-text {
  flex-grow: 1;
  margin-left: 20px;
  text-align: left;
}

#zab-main .mrchl-active-text h2 {
  margin: 0;
  color: #333;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 21px;
}

#zab-main .mrchl-active-text p {
  margin: 5px 0;
  color: #4a4a4a;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 25.2px;
}

/* Team und Praxisvideo bilden auf großen Bildschirmen eine gemeinsame Zeile.
 * Das Hochkantvideo bleibt bewusst deutlich schmaler als der Team-Inhalt. */
#zab-main .elementor-element-49e56fb > .e-con-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  column-gap: clamp(28px, 3.5vw, 52px);
  align-items: start;
}

#zab-main .elementor-element-49e56fb > .e-con-inner > :not(.elementor-element-52dc5ef):not(.zab-team-video-card) {
  grid-column: 1 / -1;
}

#zab-main .elementor-element-52dc5ef {
  width: 100%;
  min-width: 0;
  grid-column: 1;
}

#zab-main .zab-team-video-card {
  width: 100%;
  max-width: 300px;
  margin-top: 20px;
  padding: 16px;
  grid-column: 2;
  border: 1px solid rgba(71, 90, 80, 0.3);
  border-radius: 2px;
  background: var(--zab-paper);
  box-shadow: 0 12px 32px rgba(51, 66, 58, 0.1);
}

#zab-main .zab-team-video-card h3 {
  margin: 0 0 12px;
  color: var(--zab-primary-dark);
  font-family: "PT Sans", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}

#zab-main .zab-team-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 475px;
  aspect-ratio: 9 / 16;
  border-radius: 2px;
  background: var(--zab-warm);
  object-fit: cover;
}

#zab-main .zab-team-video-card .zab-video-transcript {
  margin-top: 12px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.zab-section-kicker {
  margin: 0;
  color: var(--zab-primary-dark);
  font-family: sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
  text-transform: uppercase;
}

.zab-footer {
  color: #ededed;
  background: #2d2d2d;
}

.zab-footer__inner {
  width: min(1140px, 100%);
  min-height: 140.375px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 0;
  padding: 25px 0;
  font-family: sans-serif;
  font-size: 14px;
  line-height: 25.2px;
}

.zab-footer p {
  margin: 0;
}

.zab-footer__inner > p:first-child,
.zab-footer__social,
.zab-footer__legal {
  min-height: 90.375px;
  padding: 10px;
}

.zab-footer__inner > p:first-child {
  color: #fff;
}

.zab-footer__social {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.zab-footer__social a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10%;
  color: #2d2d2d;
  background: #f6f6f6;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
}

.zab-footer__social svg {
  width: 20px;
  height: 20px;
  fill: #2d2d2d;
}

.zab-footer__legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 6px 14px;
  text-align: right;
}

.zab-footer__legal > :not(:first-child) {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.42);
}

.zab-footer__legal .borlabs-cookie-open-dialog-preferences {
  display: inline-flex;
  align-items: center;
}

.zab-footer__legal .borlabs-cookie-open-dialog-preferences :is(a, button) {
  margin: 0;
  padding: 0;
  border: 0;
  color: #e2d4c4;
  background: transparent;
  font: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.zab-footer a {
  color: #e2d4c4;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.zab-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
}

.zab-lightbox.is-open {
  display: flex;
}

.zab-lightbox img {
  max-width: min(94vw, 1500px);
  max-height: 90vh;
  object-fit: contain;
}

.zab-lightbox button {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 38px;
  line-height: 1;
}

/* Anfahrt: Beschreibung und Grafik bilden auf großen Ansichten eine Zeile. */
#zab-main .elementor-element-e337e0a > .e-con-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 20px;
  align-items: start;
}

#zab-main .elementor-element-adae0e7,
#zab-main .elementor-element-7bc34f1 {
  grid-column: 1 / -1;
}

#zab-main .elementor-element-de82e09 {
  grid-column: 1;
}

#zab-main .elementor-element-cf95404 {
  width: 100%;
  grid-column: 2;
  --width: 100%;
}

#zab-main .elementor-element-cf95404 > .e-con-inner,
#zab-main .elementor-element-3d3db25,
#zab-main .elementor-element-3d3db25 > .e-con-inner,
#zab-main .elementor-element-59f20a3 {
  width: 100%;
  max-width: none;
  --width: 100%;
}

#zab-main .elementor-element-59f20a3 img {
  display: block;
  width: 100%;
  height: auto;
}

/* The copied Elementor toggle markup is kept, but its interaction and visible
 * states are provided by this Astra child theme. */
#zab-main .elementor-element-9543d99 .elementor-tab-title {
  cursor: pointer;
}

#zab-main .elementor-element-9543d99 .elementor-tab-title:focus-visible {
  outline: 3px solid var(--zab-primary);
  outline-offset: 3px;
}

#zab-main .elementor-element-9543d99 .elementor-tab-content[hidden] {
  display: none !important;
}

#zab-main .elementor-element-9543d99 .elementor-tab-content.elementor-active {
  display: block;
}

#zab-main .elementor-element-9543d99 .zab-solo-title {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
}

#zab-main .elementor-element-9543d99 .zab-solo-title .elementor-toggle-icon {
  width: 14px;
  margin: 0 20px 0 0;
  float: none;
  grid-column: 1;
  grid-row: 1;
}

#zab-main .elementor-element-9543d99 .zab-solo-title .elementor-toggle-title {
  grid-column: 2;
  grid-row: 1;
}

#zab-main .elementor-element-9543d99 .zab-solo-panel.elementor-active {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  grid-template-rows: 110px auto;
  gap: 28px;
  align-items: start;
  align-content: start;
}

#zab-main .elementor-element-9543d99 .zab-solo-logos {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

#zab-main .elementor-element-9543d99 .zab-solo-brand {
  display: block;
  width: min(240px, calc(100% - 128px));
  height: auto;
}

#zab-main .elementor-element-9543d99 .zab-solo-certification {
  display: block;
  width: 110px;
  height: auto;
  flex: 0 0 110px;
}

#zab-main .elementor-element-9543d99 .zab-solo-panel > p {
  margin: 0;
  grid-column: 1;
  grid-row: 2;
}

#zab-main .elementor-element-9543d99 .zab-solo-photo {
  display: block;
  width: 100%;
  height: auto;
  grid-column: 2;
  grid-row: 1 / span 2;
}

@media (max-width: 1180px) {
	.zab-utility__address {
		display: none;
	}

  .zab-header__inner {
    width: max-content;
    grid-template-columns: 20vw 60vw max-content;
    gap: 0;
  }

  .zab-brand {
    width: 100%;
  }

  .zab-nav {
    gap: 0 30px;
  }

  .zab-nav a,
  .zab-appointment {
    font-size: inherit;
  }

}

@media (max-width: 920px) {
  html {
    scroll-padding-top: 56px;
  }

  .zab-header {
    top: 0;
    min-height: 56px;
    height: 56px;
  }

  .zab-utility {
    position: static;
    min-height: 77px;
    font-size: 11px;
  }

  .zab-utility__inner {
    width: calc(100% - 20px);
    min-height: 77px;
    padding-block: 7px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: space-between;
    gap: 4px 10px;
  }

  .zab-utility__hours {
    display: block;
    grid-column: 1 / -1;
    white-space: normal;
    text-align: center;
  }

  .zab-header__inner {
    position: relative;
    width: 100%;
    min-height: 56px;
    height: 56px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .zab-brand {
    display: inline-flex;
    width: auto;
    max-width: calc(100% - 56px);
    height: 44px;
    flex: 0 1 auto;
    align-items: center;
    margin-right: auto;
  }

  .zab-brand img {
    width: auto;
    max-width: 100%;
    height: 34px;
    object-fit: contain;
    object-position: left center;
  }

  .zab-menu-toggle {
    display: block;
    width: 44px;
    height: 44px;
    padding: 10px 8px;
    margin-left: auto;
    transform: none;
  }

  .zab-menu-toggle span,
  .zab-menu-toggle::before,
  .zab-menu-toggle::after {
    width: 24px;
  }

  .zab-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    height: auto;
    padding: 0;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  }

  .zab-nav.is-open {
    display: flex;
  }

  .zab-nav a {
    width: 100%;
    padding: 10px 20px;
    color: var(--zab-primary-dark);
    font-size: 14px;
    line-height: 24px;
    letter-spacing: 1.53px;
    text-align: left;
  }

  .zab-nav .zab-nav__appointment {
    display: block;
    color: #fff;
    background: var(--zab-primary);
    font-weight: 600;
  }

  .zab-nav .zab-nav__appointment:hover,
  .zab-nav .zab-nav__appointment:focus {
    background: var(--zab-primary-dark);
  }

  .zab-nav a:hover,
  .zab-nav a:focus,
  .zab-nav a[aria-current="page"] {
    color: #fff;
    background: var(--zab-primary-dark);
  }

  #zab-main .elementor-element-e337e0a > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }

  #zab-main .elementor-element-a0dfa3f {
    width: 100%;
    min-height: 0 !important;
    height: auto !important;
    max-height: none;
    aspect-ratio: 2048 / 1401;
    background-color: var(--zab-warm);
    background-attachment: scroll !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  #zab-main .elementor-element-49e56fb > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 24px;
  }

  #zab-main .elementor-element-52dc5ef,
  #zab-main .zab-team-video-card {
    grid-column: 1;
  }

  #zab-main .zab-team-video-card {
    width: min(100%, 360px);
    max-width: 360px;
    margin: 0 auto;
  }

  #zab-main .elementor-element-de82e09,
  #zab-main .elementor-element-cf95404 {
    grid-column: 1;
  }

  #zab-main .elementor-element-9543d99 .zab-solo-panel.elementor-active {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  #zab-main .elementor-element-9543d99 .zab-solo-photo {
    order: 2;
  }

  .zab-appointment {
    display: none;
  }

  #zab-main .eael-filter-gallery-container.masonry {
    display: block !important;
    height: auto !important;
  }

  #zab-main .eael-filterable-gallery-item-wrap {
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
  }
}

@media (max-width: 600px) {
  #zab-main .zab-team-choice {
    width: 64px;
    height: 64px;
    margin: 2px;
  }

  #zab-main .mrchl-active-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    padding: 10px;
  }

  #zab-main .mrchl-active-image {
    width: auto;
    max-width: 100%;
    max-height: 300px;
    margin: 0 0 10px;
  }

  #zab-main .mrchl-active-text {
    margin: 10px 0;
    padding: 10px;
  }

  .zab-footer__inner {
    width: 100%;
    min-height: 235.5625px;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 0;
    text-align: center;
  }

  .zab-footer__inner > p:first-child {
    order: 3;
    min-height: 90.375px;
    padding: 10px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    color: #fff;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 25.2px;
  }

  .zab-footer__social {
    order: 2;
    min-height: 60px;
    padding: 10px;
    justify-content: center;
    gap: 5px;
  }

  .zab-footer__social a {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 10%;
    color: #2d2d2d;
    background: #f6f6f6;
  }

  .zab-footer__social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
  }

  .zab-footer__legal {
    order: 1;
    min-height: 65.1875px;
    padding: 10px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 10px;
    font-family: sans-serif;
    font-size: 14px;
    line-height: 25.2px;
    text-align: center;
    justify-self: auto;
  }

  .zab-footer__legal > :not(:first-child) {
    padding-left: 10px;
  }
}

/* Shared WCAG 2.2 AA interaction and contrast treatment. */
body.zab-site :where(a, button, [role="button"], input, textarea, select, summary, [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--zab-primary) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 2px #fff !important;
}

body.zab-site :where(button, [role="button"], summary) {
  touch-action: manipulation;
}

body.zab-site #ast-scroll-top {
  color: #fff;
  background: var(--zab-primary);
  bottom: 86px;
}

body.zab-site #ast-scroll-top:hover,
body.zab-site #ast-scroll-top:focus {
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-ora-launcher {
  position: fixed;
  right: 24px;
  bottom: 20px;
  z-index: 2147482900;
  min-width: 220px;
  min-height: 48px;
  padding: 11px 20px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--zab-primary);
  box-shadow: 0 4px 18px rgba(45, 45, 45, 0.32);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 700 15px/1.35 "Open Sans", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.zab-ora-launcher:hover,
.zab-ora-launcher:focus-visible {
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-ora-launcher:disabled {
  cursor: wait;
  opacity: 0.9;
}

.zab-ora-launcher__icon {
  font-size: 19px;
  line-height: 1;
}

.zab-ora-consent[hidden] {
  display: none !important;
}

.zab-ora-consent {
  position: fixed;
  inset: 0;
  z-index: 2147482990;
  display: grid;
  place-items: center;
  padding: 24px;
}

.zab-ora-consent__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(45, 45, 45, 0.72);
}

.zab-ora-consent__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 34px;
  border: 1px solid #8e7860;
  border-radius: 18px;
  color: var(--zab-ink);
  background: var(--zab-paper);
  box-shadow: 0 18px 60px rgba(45, 45, 45, 0.38);
}

.zab-ora-consent__dialog h2 {
  margin: 0 38px 15px 0;
  color: var(--zab-primary-dark);
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.2;
}

.zab-ora-consent__dialog p {
  margin: 0 0 13px;
  color: var(--zab-text);
  font-size: 15px;
  line-height: 1.65;
}

.zab-ora-consent__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--zab-primary-dark);
  background: var(--zab-warm);
  font: 400 31px/1 Arial, sans-serif;
  cursor: pointer;
}

.zab-ora-consent__close:hover,
.zab-ora-consent__close:focus-visible {
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-ora-consent__actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.zab-ora-consent__accept,
.zab-ora-consent__cancel {
  min-height: 48px;
  padding: 11px 19px;
  border: 2px solid var(--zab-primary);
  border-radius: 8px;
  font: 700 14px/1.4 "Open Sans", "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
}

.zab-ora-consent__accept {
  color: #fff;
  background: var(--zab-primary);
}

.zab-ora-consent__accept:hover,
.zab-ora-consent__accept:focus-visible {
  border-color: var(--zab-primary-dark);
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-ora-consent__accept:disabled {
  cursor: wait;
  opacity: 0.75;
}

.zab-ora-consent__cancel {
  color: var(--zab-primary-dark);
  background: #fff;
}

.zab-ora-consent__cancel:hover,
.zab-ora-consent__cancel:focus-visible {
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-ora-consent__privacy {
  margin-top: 18px;
  display: inline-block;
  color: var(--zab-primary-dark);
  font-weight: 700;
}

.zab-ora-consent__status {
  min-height: 1.65em;
  margin-top: 10px !important;
  font-weight: 700;
}

body.zab-ora-consent-open {
  overflow: hidden;
}

@media (max-width: 600px) {
  body.zab-site #ast-scroll-top {
    bottom: 154px;
  }

  .zab-ora-launcher {
    right: 30px;
    bottom: 96px;
    width: min(220px, calc(100vw - 60px));
    min-width: 0;
  }

  .zab-ora-consent {
    align-items: end;
    padding: 14px;
  }

  .zab-ora-consent__dialog {
    max-height: calc(100vh - 28px);
    padding: 30px 22px 22px;
    border-radius: 16px;
  }

  .zab-ora-consent__actions {
    display: grid;
  }

  .zab-ora-consent__accept,
  .zab-ora-consent__cancel {
    width: 100%;
  }
}

body.zab-site .brlbs-cmpnt-container .brlbs-cmpnt-cb-btn,
body.zab-site div.brlbs-cmpnt-container .brlbs-cmpnt-cb-btn {
  color: #fff !important;
  background: var(--zab-primary) !important;
}

body.zab-site .brlbs-cmpnt-container .brlbs-cmpnt-cb-btn:hover,
body.zab-site .brlbs-cmpnt-container .brlbs-cmpnt-cb-btn:focus {
  color: #fff !important;
  background: var(--zab-primary-dark) !important;
}

body.zab-site .brlbs-cmpnt-cb-provider-toggle {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

#zab-main .vlif-feed__profile,
#zab-main .vlif-feed__profile:visited {
  color: #fff;
  background: var(--zab-primary);
}

#zab-main .vlif-feed__profile:hover,
#zab-main .vlif-feed__profile:focus {
  color: #fff;
  background: var(--zab-primary-dark);
}

.zab-video-transcript {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid #b8b0a8;
  background: var(--zab-warm);
}

.zab-video-transcript summary {
  color: var(--zab-secondary);
  font-weight: 700;
  cursor: pointer;
}

.zab-video-transcript p:last-child {
  margin-bottom: 0 !important;
}

/* Rechtstexte und barrierefreie Formularfassungen erhalten einen ruhigen,
 * responsiven Lesebereich statt direkt am Viewportrand zu beginnen. */
.zab-site:not(.home) #primary {
  width: 100%;
  max-width: 1180px;
  margin: clamp(24px, 5vw, 64px) auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

.zab-site:not(.home) .ast-article-single {
  padding: clamp(24px, 5vw, 56px);
  background: var(--zab-paper);
  box-shadow: 0 12px 32px rgba(107, 73, 56, 0.09);
}

.zab-site:not(.home) .entry-content {
  color: var(--zab-text);
  overflow-wrap: anywhere;
}

.zab-anamnesis-page .entry-header {
  display: none;
}

.zab-site:not(.home) .entry-content > h1:first-child {
  margin-top: 0;
  color: var(--zab-ink);
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.15;
}

.zab-site:not(.home) .entry-content h2,
.zab-site:not(.home) .entry-content h3 {
  color: var(--zab-ink);
  line-height: 1.3;
}

.zab-site:not(.home) .entry-content h2 {
  font-size: clamp(23px, 5.5vw, 30px);
}

.zab-site:not(.home) .entry-content section + section {
  margin-top: 34px;
}

.zab-accessible-version-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 700;
}

.zab-form-notice {
  padding: 16px 18px;
  border-left: 5px solid var(--zab-primary);
  background: var(--zab-warm);
}

.zab-anamnesis-form {
  margin-top: 30px;
}

.zab-anamnesis-form fieldset {
  min-width: 0;
  margin: 0 0 30px;
  padding: clamp(16px, 3vw, 26px);
  border: 2px solid #b8b0a8;
}

.zab-anamnesis-form legend {
  max-width: 100%;
  padding: 0 8px;
  color: var(--zab-ink);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
}

.zab-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}

.zab-form-field,
.zab-question {
  display: grid;
  gap: 7px;
  margin: 0;
}

.zab-form-field--wide {
  grid-column: 1 / -1;
}

.zab-form-field > span,
.zab-question > span:first-child {
  color: var(--zab-ink);
  font-weight: 700;
}

.zab-anamnesis-form input[type="text"],
.zab-anamnesis-form input[type="email"],
.zab-anamnesis-form input[type="tel"],
.zab-anamnesis-form input[type="date"],
.zab-anamnesis-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 2px solid #746e68;
  border-radius: 2px;
  color: var(--zab-ink);
  background: #fff;
  font: inherit;
}

.zab-anamnesis-form textarea {
  min-height: 96px;
  resize: vertical;
}

.zab-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.zab-choice-row label {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 8px;
}

.zab-choice-row input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  accent-color: var(--zab-primary);
}

.zab-health-list {
  display: grid;
  gap: 16px;
}

.zab-question {
  padding-bottom: 16px;
  border-bottom: 1px solid #d4cec8;
}

.zab-question:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.zab-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.zab-print-form {
  min-height: 44px;
  padding: 11px 20px;
  border: 2px solid var(--zab-primary-dark);
  color: #fff;
  background: var(--zab-primary);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 520px) {
  .zab-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .zab-form-field--wide {
    grid-column: 1;
  }

  .zab-site:not(.home) .ast-article-single {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.zab-site *,
  body.zab-site *::before,
  body.zab-site *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .zab-utility,
  .zab-header,
  .zab-footer,
  .zab-skip-link,
  .zab-ora-entry,
  #ast-scroll-top,
  .zab-form-actions,
  #BorlabsCookieBox {
    display: none !important;
  }

  body.zab-site,
  .zab-site:not(.home) .ast-article-single {
    color: #000;
    background: #fff;
    box-shadow: none;
  }

  .zab-site:not(.home) #primary,
  .zab-site:not(.home) .ast-article-single {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .zab-anamnesis-form fieldset {
    break-inside: avoid;
  }
}
