:root {
  --ink: #17211e;
  --ink-soft: #33413c;
  --paper: #f5f2ea;
  --paper-deep: #e9e3d8;
  --white: #fffdf8;
  --green: #70bd28;
  --green-dark: #427d1c;
  --green-pale: #dff0cf;
  --clay: #a2694d;
  --line: rgba(23, 33, 30, 0.17);
  --shadow: 0 28px 80px rgba(17, 30, 26, 0.14);
  --serif: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  --sans: "Avenir Next", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: min(1180px, calc(100vw - 48px));
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::after {
  position: fixed;
  z-index: 80;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), #a4d679);
  content: "";
  pointer-events: none;
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  transition: transform .08s linear;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .22em;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

::selection {
  color: var(--ink);
  background: var(--green-pale);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--white);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 14px;
  right: 0;
  left: 0;
  color: var(--ink);
  pointer-events: none;
  transition: transform .45s var(--ease);
}

.site-header.is-scrolled,
body:not(.home) .site-header {
  color: var(--ink);
  transform: translateY(-7px);
}

.header-inner {
  display: flex;
  width: var(--wrap);
  min-height: 90px;
  margin-inline: auto;
  padding: 8px 10px 8px 18px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border: 1px solid rgba(23, 33, 30, .11);
  background: rgba(248, 245, 237, .9);
  box-shadow: 0 16px 54px rgba(10, 21, 17, .13);
  backdrop-filter: blur(18px) saturate(1.15);
  pointer-events: auto;
  transition: background .35s ease, box-shadow .35s ease;
}

.site-header.is-scrolled .header-inner,
body:not(.home) .header-inner {
  background: rgba(248, 245, 237, .97);
  box-shadow: 0 12px 38px rgba(10, 21, 17, .1);
}

.brand {
  position: relative;
  display: inline-flex;
  min-width: max-content;
  padding: 4px 7px;
  align-items: center;
  background: transparent;
  text-decoration: none;
}

.brand-logo {
  width: 188px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.55vw, 24px);
}

.main-nav a {
  position: relative;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.main-nav a:not(.nav-call)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--green);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .28s var(--ease);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-call {
  padding: 12px 17px;
  color: var(--ink);
  border: 1px solid var(--green);
  background: var(--green);
  transition: color .2s ease, background .2s ease;
}

.nav-call:hover {
  color: var(--white);
  background: var(--green-dark);
}

.language-switcher {
  position: relative;
  flex: 0 0 auto;
}

.language-toggle {
  display: inline-flex;
  min-width: 56px;
  height: 42px;
  padding: 0 13px;
  color: var(--ink);
  border: 1px solid rgba(23, 33, 30, .2);
  background: rgba(255, 255, 255, .64);
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.language-toggle:hover,
.language-switcher.is-open .language-toggle {
  border-color: var(--green);
  background: var(--white);
  transform: translateY(-1px);
}

.language-chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}

.language-switcher.is-open .language-chevron {
  transform: translateY(2px) rotate(225deg);
}

.language-menu {
  position: absolute;
  z-index: 5;
  top: calc(100% + 12px);
  right: 0;
  width: 172px;
  padding: 8px;
  border: 1px solid rgba(23, 33, 30, .13);
  background: var(--white);
  box-shadow: 0 20px 55px rgba(10, 21, 17, .18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity .2s ease, transform .2s var(--ease);
}

.language-switcher.is-open .language-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.language-menu button {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  border: 0;
  background: transparent;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.language-menu button:hover,
.language-menu button[aria-selected="true"] {
  background: var(--green-pale);
}

.language-menu button[aria-selected="true"]::after {
  margin-left: auto;
  color: var(--green-dark);
  content: "✓";
  font-weight: 800;
}

.translation-notice {
  margin: 0 0 34px;
  padding: 18px 20px;
  border-inline-start: 4px solid var(--green);
  background: var(--green-pale);
  color: var(--ink);
}

.phone-number {
  display: inline-block;
  direction: ltr;
  unicode-bidi: isolate;
  white-space: nowrap;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .hours-row,
html[dir="rtl"] .footer-bottom,
html[dir="rtl"] .language-switcher {
  direction: ltr;
}

html[dir="rtl"] .language-menu {
  right: auto;
  left: 0;
}

html[dir="rtl"] .language-menu button {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .language-menu button[aria-selected="true"]::after {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .legal {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] .legal .translation-notice {
  direction: rtl;
  text-align: right;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  color: currentColor;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease;
}

.hero {
  position: relative;
  display: grid;
  min-height: 760px;
  height: 100svh;
  color: var(--white);
  background: #17211e;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/hero.webp") center/cover no-repeat;
  content: "";
  animation: heroFocus 2.2s var(--ease) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 21, 17, .84) 0%, rgba(10, 21, 17, .62) 42%, rgba(10, 21, 17, .08) 75%),
    linear-gradient(0deg, rgba(10, 21, 17, .55), transparent 45%);
  content: "";
}

.hero-content {
  display: grid;
  width: var(--wrap);
  margin: auto;
  padding-top: 116px;
  grid-template-columns: minmax(0, 720px) 1fr;
  align-items: end;
}

.hero-copy {
  padding-bottom: 76px;
}

.hero-copy > *,
.page-hero .wrap > div > * {
  opacity: 0;
  transform: translateY(34px);
  animation: editorialRise .9s var(--ease) forwards;
}

.hero-copy > :nth-child(1),
.page-hero .wrap > div > :nth-child(1) {
  animation-delay: .42s;
}

.hero-copy > :nth-child(2),
.page-hero .wrap > div > :nth-child(2) {
  animation-delay: .56s;
}

.hero-copy > :nth-child(3),
.page-hero .wrap > div > :nth-child(3) {
  animation-delay: .7s;
}

.hero-copy > :nth-child(4) {
  animation-delay: .84s;
}

@keyframes heroFocus {
  from { transform: scale(1.08); filter: saturate(.78); }
  to { transform: scale(1); filter: saturate(1); }
}

@keyframes editorialRise {
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow,
.section-kicker {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 34px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero h1,
.page-hero h1,
.display-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(58px, 7.2vw, 108px);
  font-weight: 400;
  letter-spacing: -.045em;
  line-height: .94;
}

.hero h1 em {
  color: var(--green);
  font-style: italic;
  font-weight: 400;
}

.hero-lead {
  max-width: 610px;
  margin: 30px 0 35px;
  color: rgba(255, 253, 248, .85);
  font-size: clamp(18px, 1.65vw, 23px);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  padding: 14px 22px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--green);
  background: var(--green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
  overflow: hidden;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.button::after {
  position: absolute;
  top: -80%;
  bottom: -80%;
  left: -45%;
  width: 35%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent);
  content: "";
  transform: skewX(-18deg) translateX(-260%);
  transition: transform .75s var(--ease);
}

.button:hover::after {
  transform: skewX(-18deg) translateX(620%);
}

.button:hover {
  color: var(--white);
  border-color: var(--green-dark);
  background: var(--green-dark);
  transform: translateY(-2px);
}

.button.secondary {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.button.secondary:hover {
  color: var(--ink);
  border-color: var(--white);
  background: var(--white);
}

.button.dark {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.button.dark:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.hero-facts {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  display: grid;
  padding: 24px 30px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(10, 21, 17, .42);
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: editorialRise .9s 1s var(--ease) forwards;
}

.hero-facts span {
  display: block;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero-facts strong {
  display: block;
  margin-top: 4px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 400;
}

.section {
  padding: 130px 0;
}

.section.compact {
  padding: 88px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-green {
  color: var(--ink);
  background: var(--green-pale);
}

.intro-grid,
.split-grid,
.contact-grid,
.feature-grid {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 8vw, 112px);
}

.intro-image {
  position: relative;
}

.intro-image::after {
  position: absolute;
  z-index: -1;
  right: -24px;
  bottom: -24px;
  width: 42%;
  height: 42%;
  background: var(--green);
  content: "";
}

.intro-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section h2,
.section h1,
.card-heading {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.02;
}

.section h2 em {
  color: var(--green-dark);
  font-style: italic;
  font-weight: 400;
}

.section-dark h2 em {
  color: var(--green);
}

.lead {
  max-width: 700px;
  margin: 27px 0 0;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.5vw, 22px);
}

.section-dark .lead {
  color: rgba(255,255,255,.72);
}

.section p + p,
.feature-copy p + p,
.lab-banner-copy p + p {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  text-decoration: none;
  text-transform: uppercase;
}

.text-link::after {
  width: 28px;
  height: 1px;
  background: currentColor;
  content: "";
  transition: width .25s var(--ease);
}

.text-link:hover::after {
  width: 46px;
}

.section-dark .text-link {
  color: var(--green);
}

.service-head {
  display: flex;
  margin-bottom: 54px;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
}

.service-head p {
  max-width: 460px;
  margin: 0 0 7px;
  color: var(--ink-soft);
}

.service-grid {
  display: grid;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  min-height: 330px;
  padding: 34px;
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: color .35s ease, background .35s ease;
}

.service-card::before {
  position: absolute;
  inset: 100% 0 0;
  background: var(--ink);
  content: "";
  transition: inset .42s var(--ease);
}

.service-card:hover {
  color: var(--white);
}

.service-card:hover::before {
  inset: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card .number {
  display: block;
  margin-bottom: 70px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.service-card:hover .number {
  color: var(--green);
}

.service-card h3 {
  max-width: 260px;
  margin: 0 0 18px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.05;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  transition: color .35s ease;
}

.service-card:hover p {
  color: rgba(255,255,255,.7);
}

.image-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-image {
  min-height: 660px;
  background: url("assets/digitaler-scan.webp") center/cover no-repeat;
}

.parallax-panel {
  background-position: center calc(50% + var(--parallax-y, 0px));
  background-size: auto 112%;
  will-change: background-position;
}

.feature-copy {
  padding: 90px max(24px, calc((100vw - 1180px) / 2)) 90px clamp(48px, 7vw, 108px);
}

.feature-list {
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  padding: 19px 0;
  border-top: 1px solid rgba(255,255,255,.17);
  grid-template-columns: 34px 1fr;
  gap: 15px;
}

.feature-list li::before {
  color: var(--green);
  content: "—";
}

.process-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 14%, rgba(112,189,40,.14), transparent 31%),
    linear-gradient(145deg, var(--white), var(--paper));
}

.process-section::before {
  position: absolute;
  top: -145px;
  right: -55px;
  color: rgba(112,189,40,.06);
  content: "04";
  font-family: var(--serif);
  font-size: min(38vw, 520px);
  line-height: 1;
  pointer-events: none;
}

.story-grid {
  position: relative;
  display: grid;
  align-items: start;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(44px, 8vw, 112px);
}

.story-grid .lead {
  margin-top: 0;
}

.process-grid {
  position: relative;
  display: grid;
  margin: 76px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.process-card {
  min-height: 310px;
  padding: 31px 27px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,.36);
  transition: color .4s ease, background .4s ease, transform .4s var(--ease);
}

.process-card:hover {
  color: var(--white);
  background: var(--ink);
  transform: translateY(-8px);
}

.process-card > span {
  display: block;
  margin-bottom: 64px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
}

.process-card:hover > span {
  color: var(--green);
}

.process-card h3 {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.process-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  transition: color .4s ease;
}

.process-card:hover p {
  color: rgba(255,255,255,.7);
}

.care-grid {
  display: grid;
  margin-top: 58px;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
}

.care-card {
  position: relative;
  display: flex;
  min-height: 470px;
  padding: 46px;
  color: var(--white);
  overflow: hidden;
  align-items: end;
  isolation: isolate;
}

.care-card::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--care-image) center/cover no-repeat;
  content: "";
  transition: transform .7s var(--ease);
}

.care-card::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(9,18,15,.88), rgba(9,18,15,.08) 75%);
  content: "";
}

.care-card:hover::before {
  transform: scale(1.035);
}

.care-card h3 {
  margin: 0 0 13px;
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 400;
  line-height: 1;
}

.care-card p {
  max-width: 520px;
  margin: 0;
  color: rgba(255,255,255,.75);
}

.care-card .text-link {
  color: var(--green);
}

.gallery-teaser {
  display: grid;
  margin-top: 56px;
  grid-template-columns: 1.2fr .8fr .8fr;
  grid-template-rows: 320px 320px;
  gap: 15px;
}

.gallery-teaser figure,
.gallery-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper-deep);
}

.gallery-teaser figure:first-child {
  grid-row: 1 / 3;
}

.gallery-teaser figure:nth-child(2) {
  grid-column: 2 / 4;
}

.gallery-teaser img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}

.gallery-teaser figure:hover img,
.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.visit-strip {
  display: grid;
  min-height: 640px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(12,24,20,.92) 0%, rgba(12,24,20,.78) 47%, rgba(12,24,20,.15) 76%),
    url("assets/empfang.webp") center/cover no-repeat;
  align-items: center;
}

.visit-copy {
  max-width: 650px;
}

.visit-copy p:not(.section-kicker) {
  max-width: 530px;
  margin: 28px 0 34px;
  color: rgba(255,255,255,.75);
  font-size: 20px;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: 170px 0 90px;
  color: var(--white);
  background: var(--ink);
  align-items: end;
  isolation: isolate;
}

.page-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--page-image, url("assets/behandlung-weit.webp")) center/cover no-repeat;
  content: "";
  animation: heroFocus 1.8s var(--ease) both;
}

.page-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(10,21,17,.9), rgba(10,21,17,.5) 58%, rgba(10,21,17,.15));
  content: "";
}

.page-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 800px) 1fr;
}

.page-hero h1 {
  font-size: clamp(55px, 7vw, 95px);
}

.page-hero p:last-child {
  max-width: 600px;
  margin: 27px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 21px;
}

.subnav {
  position: sticky;
  z-index: 30;
  top: 96px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(245,242,234,.96);
  backdrop-filter: blur(12px);
}

.subnav .wrap {
  display: flex;
  gap: 28px;
}

.subnav a {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  white-space: nowrap;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-decoration: none;
  text-transform: uppercase;
}

.subnav a:hover {
  color: var(--green-dark);
}

.treatment-list {
  border-top: 1px solid var(--line);
}

.treatment-row {
  display: grid;
  padding: 74px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 80px minmax(250px, .85fr) 1.15fr;
  gap: clamp(22px, 5vw, 70px);
  scroll-margin-top: 160px;
}

.treatment-row .number {
  padding-top: 10px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
}

.treatment-row h2 {
  font-size: clamp(35px, 4.2vw, 56px);
}

.treatment-row p {
  max-width: 620px;
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.treatment-row ul {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.treatment-row li {
  position: relative;
  margin: 8px 0;
  padding-left: 20px;
}

.treatment-row li::before {
  position: absolute;
  left: 0;
  color: var(--green-dark);
  content: "—";
}

.lab-banner {
  display: grid;
  min-height: 620px;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: 1fr 1fr;
}

.lab-banner img {
  height: 100%;
  object-fit: cover;
}

.lab-banner-copy {
  display: flex;
  padding: clamp(50px, 7vw, 110px);
  flex-direction: column;
  justify-content: center;
}

.lab-banner-copy h2 {
  font-family: var(--serif);
  font-size: clamp(44px, 5vw, 70px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1;
}

.lab-banner-copy p:not(.section-kicker) {
  max-width: 570px;
  color: rgba(255,255,255,.73);
}

.faq-list {
  margin-top: 54px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: flex;
  padding: 26px 4px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 25px;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  flex: 0 0 auto;
  color: var(--green-dark);
  content: "+";
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 300;
  transition: transform .25s ease;
}

.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 800px;
  margin: -4px 0 28px;
  color: var(--ink-soft);
}

.gallery-grid {
  display: grid;
  grid-auto-rows: 270px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-grid .wide {
  grid-column: span 2;
}

.gallery-grid .tall {
  grid-row: span 2;
}

.gallery-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 28px 18px 14px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(9,18,15,.78), transparent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.contact-card {
  padding: 48px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-card h2 {
  font-size: clamp(40px, 4vw, 58px);
}

.contact-card address {
  margin: 30px 0;
  font-style: normal;
}

.contact-card .phone-large {
  display: inline-block;
  margin: 10px 0 24px;
  color: var(--green-dark);
  font-family: var(--serif);
  font-size: clamp(31px, 4vw, 49px);
  text-decoration: none;
}

.hours {
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.hours-row {
  display: grid;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 120px 1fr;
  gap: 18px;
}

.hours-row span:first-child {
  font-weight: 700;
}

.arrival-list {
  display: grid;
  margin-top: 40px;
  gap: 25px;
}

.arrival-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px;
}

.arrival-item .symbol {
  color: var(--green-dark);
  font-weight: 800;
}

.arrival-item h3 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.arrival-item p {
  margin: 0;
  color: var(--ink-soft);
}

.legal {
  max-width: 900px;
}

.legal h1 {
  margin-bottom: 50px;
}

.legal h2 {
  margin: 54px 0 18px;
  font-size: clamp(29px, 3vw, 42px);
}

.legal h3 {
  margin: 32px 0 10px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.legal p,
.legal li {
  color: var(--ink-soft);
}

.legal a {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 72px 0 34px;
  color: rgba(255,255,255,.75);
  background: #101916;
}

.footer-grid {
  display: grid;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255,255,255,.15);
  grid-template-columns: 1.3fr .75fr .75fr;
  gap: 50px;
}

.footer-brand {
  color: var(--white);
}

.footer-brand .brand {
  padding: 7px 10px;
  background: transparent;
  box-shadow: none;
}

.footer-brand .brand-logo {
  width: 218px;
  opacity: 0;
}

.footer-brand .brand::after {
  position: absolute;
  inset: 7px 10px;
  background: url("assets/logo-dr-mendel-transparent-dark.png") center / contain no-repeat;
  content: "";
  pointer-events: none;
}

.footer-brand p {
  max-width: 430px;
  margin-top: 23px;
  color: rgba(255,255,255,.57);
}

.footer-column h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.footer-column address,
.footer-column p {
  margin: 0;
  font-style: normal;
}

.footer-column a {
  display: block;
  margin: 7px 0;
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  padding-top: 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255,255,255,.45);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  text-decoration: none;
}

.mobile-call {
  display: none;
}

.reveal {
  opacity: 0;
  filter: blur(7px);
  transform: translateY(46px);
  transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-left {
  transform: translateX(-52px);
}

.reveal-right {
  transform: translateX(52px);
}

.reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  will-change: auto;
}

.reveal-left.is-visible,
.reveal-right.is-visible {
  transform: translateX(0);
}

.intro-image.reveal {
  clip-path: inset(0 100% 0 0);
}

.intro-image.reveal-right {
  clip-path: inset(0 0 0 100%);
}

.intro-image.reveal.is-visible {
  clip-path: inset(0);
}

.intro-image[data-parallax] {
  overflow: hidden;
}

.intro-image[data-parallax] img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.08);
  will-change: transform;
}

.service-grid.reveal .service-card,
.process-grid.reveal .process-card,
.gallery-teaser.reveal figure,
.gallery-grid.reveal figure {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--item-index, 0) * 75ms + 120ms);
}

.service-grid.reveal.is-visible .service-card,
.process-grid.reveal.is-visible .process-card,
.gallery-teaser.reveal.is-visible figure,
.gallery-grid.reveal.is-visible figure {
  opacity: 1;
  transform: translateY(0);
}

.page-transition {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  background: radial-gradient(circle at 50% 48%, rgba(112,189,40,.13), transparent 32%), var(--paper);
  place-items: center;
  pointer-events: none;
  transform: translate3d(0, -102%, 0);
  transition: transform .68s var(--ease);
  backface-visibility: hidden;
  will-change: transform;
}

.page-transition::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 5px;
  background: var(--green);
  content: "";
}

.page-transition.is-covering {
  pointer-events: all;
  transform: translate3d(0, 0, 0);
}

.page-transition img {
  width: min(330px, 62vw);
  height: auto;
  opacity: 0;
  transform: translateY(18px) scale(.96);
  transition: opacity .35s .16s ease, transform .48s .16s var(--ease);
}

.page-transition.is-covering img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (max-width: 980px) {
  :root {
    --wrap: min(100% - 36px, 760px);
  }

  /*
   * WebKit treats fixed descendants of a backdrop-filtered element as if
   * they were fixed to that element. On iOS this reduced the navigation to
   * the header's height and left its links floating over the hero image.
   * Use an opaque mobile header so the drawer remains viewport-fixed.
   */
  .header-inner {
    position: relative;
    background: rgba(248, 245, 237, .98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  body.nav-open .site-header {
    top: 0;
    transform: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    display: flex;
    width: min(440px, 100vw);
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    padding: calc(112px + env(safe-area-inset-top, 0px)) 30px calc(36px + env(safe-area-inset-bottom, 0px));
    color: var(--ink);
    background: var(--paper);
    box-shadow: -24px 0 80px rgba(10,21,17,.22);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateX(110%);
    transition: transform .4s var(--ease), opacity .25s ease, visibility 0s .4s;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 13px 0;
    border-bottom: 1px solid rgba(23, 33, 30, .12);
    font-family: var(--serif);
    font-size: clamp(27px, 7.6vw, 36px);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.02em;
    text-transform: none;
  }

  .main-nav a:not(.nav-call)::after {
    display: none;
  }

  .main-nav .nav-call {
    margin-top: 22px;
    padding: 15px 18px;
    border: 1px solid var(--green);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-align: center;
    text-transform: uppercase;
  }

  .main-nav .language-switcher {
    order: 6;
    width: 100%;
    margin-top: 22px;
  }

  .main-nav .nav-call {
    order: 7;
  }

  .language-toggle {
    min-width: 74px;
  }

  .language-menu {
    position: static;
    width: 100%;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: hidden;
    transform: none;
    transition: max-height .28s var(--ease), margin .28s var(--ease), padding .28s var(--ease), opacity .2s ease;
  }

  .language-switcher.is-open .language-menu {
    max-height: 240px;
    margin-top: 10px;
    padding: 8px;
    border: 1px solid rgba(23, 33, 30, .13);
    transform: none;
  }

  .nav-open .main-nav {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition-delay: 0s;
  }

  .nav-open .menu-toggle {
    position: relative;
    z-index: 3;
    color: var(--ink);
  }

  .nav-open .brand {
    z-index: 3;
  }

  .nav-open .mobile-call {
    opacity: 0;
    pointer-events: none;
  }

  .nav-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-content {
    width: var(--wrap);
    grid-template-columns: 1fr;
  }

  .hero-facts {
    right: 18px;
    left: 18px;
    justify-content: space-between;
  }

  .intro-grid,
  .split-grid,
  .contact-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-image {
    min-height: 500px;
  }

  .feature-copy {
    padding: 78px max(24px, calc((100vw - 760px) / 2));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-grid {
    grid-template-columns: 1fr;
  }

  .gallery-teaser {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-teaser figure:first-child {
    grid-column: 1 / 2;
  }

  .gallery-teaser figure:nth-child(2) {
    grid-column: 2 / 3;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .treatment-row {
    grid-template-columns: 48px 1fr;
  }

  .treatment-row > div:last-child {
    grid-column: 2;
  }

  .lab-banner {
    grid-template-columns: 1fr;
  }

  .lab-banner img {
    min-height: 460px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / 3;
  }
}

@media (max-width: 640px) {
  :root {
    --wrap: calc(100vw - 32px);
  }

  body {
    padding-bottom: 65px;
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
    padding: 7px 8px 7px 12px;
  }

  .brand-logo {
    width: 150px;
  }

  .hero {
    min-height: 720px;
  }

  .hero::before {
    background-position: 62% center;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(10,21,17,.88), rgba(10,21,17,.46));
  }

  .hero-copy {
    padding-bottom: 82px;
  }

  .hero h1 {
    font-size: clamp(52px, 17vw, 78px);
  }

  .hero-lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .hero-facts {
    bottom: 82px;
    padding: 18px;
    gap: 12px;
  }

  .hero-facts strong {
    font-size: 15px;
  }

  .hero-facts span {
    font-size: 8px;
  }

  .button-row .button {
    width: 100%;
  }

  .section {
    padding: 86px 0;
  }

  .section.compact {
    padding: 68px 0;
  }

  .section h2,
  .section h1 {
    font-size: clamp(39px, 12.5vw, 58px);
  }

  .service-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    margin-top: 52px;
    grid-template-columns: 1fr;
  }

  .process-card {
    min-height: 250px;
  }

  .process-card > span {
    margin-bottom: 38px;
  }

  .service-card {
    min-height: 270px;
  }

  .service-card .number {
    margin-bottom: 45px;
  }

  .feature-image {
    min-height: 390px;
  }

  .care-card {
    min-height: 430px;
    padding: 30px;
  }

  .gallery-teaser {
    grid-auto-rows: 230px;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .gallery-teaser figure,
  .gallery-teaser figure:first-child,
  .gallery-teaser figure:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }

  .visit-strip {
    min-height: 650px;
    background-position: 62% center;
  }

  .page-hero {
    min-height: 570px;
    padding-top: 145px;
  }

  .page-hero h1 {
    font-size: clamp(49px, 15vw, 70px);
  }

  .subnav {
    top: 80px;
  }

  .treatment-row {
    padding: 54px 0;
    grid-template-columns: 1fr;
  }

  .treatment-row > div:last-child {
    grid-column: 1;
  }

  .treatment-row .number {
    padding: 0;
  }

  .lab-banner img {
    min-height: 330px;
  }

  .lab-banner-copy {
    padding: 66px 24px;
  }

  .gallery-grid {
    grid-auto-rows: 240px;
    grid-template-columns: 1fr;
  }

  .gallery-grid .wide,
  .gallery-grid .tall {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-card {
    padding: 30px 24px;
  }

  .hours-row {
    grid-template-columns: 95px 1fr;
    gap: 10px;
    font-size: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-call {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    min-height: 65px;
    color: var(--ink);
    background: var(--green);
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .1em;
    text-decoration: none;
    text-transform: uppercase;
  }
}

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

  .hero::before,
  .hero-copy > *,
  .hero-facts,
  .page-hero::before,
  .page-hero .wrap > div > * {
    animation: none !important;
  }

  .hero-copy > *,
  .hero-facts,
  .page-hero .wrap > div > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .reveal {
    opacity: 0;
    filter: none;
    transform: none !important;
    clip-path: inset(0) !important;
    transition: opacity .34s ease;
  }

  .reveal.is-visible {
    opacity: 1;
  }

  .service-grid.reveal .service-card,
  .process-grid.reveal .process-card,
  .gallery-teaser.reveal figure,
  .gallery-grid.reveal figure {
    transform: none;
    transition: opacity .28s ease;
  }

  .intro-image[data-parallax] img {
    transform: scale(1.04);
  }

  .page-transition {
    visibility: hidden;
    opacity: 0;
    transform: none;
    transition: opacity .3s ease, visibility 0s linear .3s;
  }

  .page-transition.is-covering {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition-delay: 0s;
  }

  .page-transition img,
  .page-transition.is-covering img {
    transform: none;
    transition: opacity .22s ease;
  }
}
