:root {
  --ink: #081e29;
  --ink-soft: #163641;
  --paper: #f7faf9;
  --white: #ffffff;
  --mist: #e8f0f1;
  --mist-2: #d4e3e5;
  --teal: #65c8c1;
  --teal-dark: #277b79;
  --blue: #3d7f99;
  --line: rgba(8, 30, 41, 0.13);
  --muted: #5b7077;
  --shadow: 0 24px 70px rgba(5, 28, 40, 0.13);
  --radius-sm: 14px;
  --radius: 24px;
  --radius-lg: 40px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  transform: translateY(-140%);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 750;
}

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

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.narrow {
  width: min(calc(100% - 40px), 820px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 2px;
  background: currentColor;
  content: "";
}

.eyebrow.light {
  color: var(--teal);
}

h1,
h2,
h3 {
  margin-top: 0;
  font-weight: 760;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 7.3vw, 6.7rem);
  text-wrap: balance;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  text-wrap: balance;
}

h3 {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
}

p {
  margin: 0 0 1.15em;
}

.lead {
  max-width: 690px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--teal);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  background: #7ed7d1;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: var(--white);
}

.button.secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

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

.button.ink:hover {
  background: var(--ink-soft);
}

.button.ghost {
  border-color: var(--line);
  background: transparent;
}

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

.button .arrow {
  font-size: 1.15em;
  transition: transform 180ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.site-header.inner {
  position: relative;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 220px;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
  font-weight: 850;
  letter-spacing: -0.08em;
}

.inner .brand-mark {
  border-color: var(--line);
  background: var(--mist);
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.brand-copy span {
  opacity: 0.7;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav > a:not(.button) {
  position: relative;
  padding-block: 7px;
  font-size: 0.93rem;
  font-weight: 670;
  text-decoration: none;
}

.main-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  background: var(--teal);
  content: "";
  transform-origin: right;
  transition: transform 180ms ease;
}

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

.main-nav .button {
  min-height: 44px;
  padding: 10px 17px;
  background: var(--white);
  color: var(--ink);
}

.inner .main-nav .button {
  background: var(--ink);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span {
  position: relative;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

.menu-toggle[aria-expanded="true"] span {
  background: transparent;
}

.menu-toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 158px 0 112px;
  background: var(--ink);
  color: var(--white);
}

.hero::before {
  position: absolute;
  top: -25%;
  right: -12%;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(101, 200, 193, 0.24);
  border-radius: 50%;
  content: "";
}

.hero::after {
  position: absolute;
  right: 4%;
  bottom: -35%;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: clamp(56px, 8vw, 110px);
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.72fr);
}

.hero-copy {
  max-width: 760px;
}

.hero h1 span {
  color: var(--teal);
}

.hero .lead {
  max-width: 650px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.74);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin: 34px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  content: "";
}

.hero-visual {
  position: relative;
  width: min(100%, 430px);
  justify-self: end;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.78;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px 34px 150px 34px;
  background: #fff;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.27);
}

.portrait-frame::after {
  position: absolute;
  right: -35%;
  bottom: -12%;
  width: 92%;
  height: 34%;
  transform: rotate(-13deg);
  background: rgba(101, 200, 193, 0.86);
  content: "";
  mix-blend-mode: multiply;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 39% center;
}

.visual-card {
  position: absolute;
  right: -28px;
  bottom: 52px;
  width: 210px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(8, 30, 41, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
}

.visual-card strong {
  display: block;
  color: var(--teal);
  font-size: 1.7rem;
  line-height: 1;
}

.visual-card span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.45;
}

.trust-strip {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  display: grid;
  min-height: 128px;
  align-content: center;
  gap: 4px;
  padding: 24px clamp(20px, 4vw, 48px);
  border-right: 1px solid var(--line);
}

.trust-item:first-child {
  padding-left: 0;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  font-size: 1.03rem;
}

.trust-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  padding: clamp(86px, 11vw, 138px) 0;
}

.section.soft {
  background: var(--mist);
}

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

.section-heading {
  display: grid;
  margin-bottom: 54px;
  align-items: end;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
}

.section-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.section-heading .lead {
  margin-bottom: 3px;
}

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

.focus-card {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  padding: clamp(30px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
}

.focus-card::before {
  position: absolute;
  top: -110px;
  right: -90px;
  width: 260px;
  height: 260px;
  border: 1px solid var(--mist-2);
  border-radius: 50%;
  content: "";
}

.focus-card:nth-child(2) {
  background: var(--ink);
  color: var(--white);
}

.focus-card:nth-child(2)::before {
  border-color: rgba(101, 200, 193, 0.25);
}

.focus-index {
  display: block;
  margin-bottom: 78px;
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.focus-card:nth-child(2) .focus-index {
  color: var(--teal);
}

.focus-card h3 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.focus-card p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.focus-card:nth-child(2) p {
  color: rgba(255, 255, 255, 0.7);
}

.services-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 275px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(45, 141, 139, 0.4);
  box-shadow: 0 18px 40px rgba(8, 30, 41, 0.08);
}

.service-number {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
}

.service-card h3 {
  min-height: 2.2em;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.section-action {
  display: flex;
  margin-top: 34px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.section-action p {
  margin: 0;
  color: var(--muted);
}

.process-wrap {
  display: grid;
  overflow: hidden;
  min-height: 610px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  grid-template-columns: 0.9fr 1.1fr;
}

.process-image {
  position: relative;
  min-height: 460px;
}

.process-image::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 30, 41, 0.48));
  content: "";
}

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

.process-content {
  padding: clamp(40px, 7vw, 82px);
  background: var(--white);
}

.process-list {
  display: grid;
  margin: 42px 0 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  gap: 17px;
  grid-template-columns: 36px 1fr;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list .step {
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.process-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.05rem;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-grid {
  display: grid;
  align-items: start;
  gap: clamp(50px, 9vw, 120px);
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
}

.about-portrait {
  position: sticky;
  top: 28px;
  overflow: hidden;
  aspect-ratio: 0.82;
  border-radius: 28px 28px 110px 28px;
  background: var(--white);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

.about-copy .lead {
  margin-bottom: 34px;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 42px;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.credentials li {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  padding: 19px 0;
  border-top: 1px solid var(--line);
  gap: 24px;
  grid-template-columns: 100px 1fr;
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline time {
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline span {
  font-weight: 650;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: start;
  gap: clamp(50px, 8vw, 100px);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.contact-copy h2 {
  margin-bottom: 24px;
}

.contact-copy .lead {
  margin-bottom: 38px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.contact-list li {
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.contact-list span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-list a,
.contact-list address {
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 670;
  text-decoration: none;
}

.contact-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 670;
  line-height: 1.55;
}

.contact-note {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.contact-list a:hover {
  color: var(--teal);
}

.contact-form {
  padding: clamp(30px, 5vw, 50px);
  border-radius: 28px;
  background: var(--white);
  color: var(--ink);
}

.contact-form h3 {
  margin-bottom: 8px;
  font-size: 1.75rem;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 0.91rem;
}

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

.field {
  display: grid;
  margin-bottom: 18px;
  gap: 7px;
}

.field label,
.field legend {
  font-size: 0.82rem;
  font-weight: 780;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  outline: none;
}

.field textarea {
  min-height: 112px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal-dark);
  box-shadow: 0 0 0 3px rgba(101, 200, 193, 0.2);
}

.checkbox {
  display: grid;
  margin: 2px 0 24px;
  align-items: start;
  gap: 10px;
  grid-template-columns: 18px 1fr;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--teal-dark);
}

.checkbox span {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.55;
}

.contact-form .button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: var(--teal-dark);
  font-size: 0.84rem;
  font-weight: 700;
}

.inner-hero {
  padding: clamp(84px, 11vw, 136px) 0 clamp(72px, 9vw, 112px);
  background: var(--mist);
}

.inner-hero-grid {
  display: grid;
  align-items: end;
  gap: 54px;
  grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.55fr);
}

.inner-hero h1 {
  max-width: 860px;
  margin-bottom: 26px;
  font-size: clamp(3rem, 7vw, 6rem);
}

.inner-hero .lead {
  margin: 0;
}

.inner-note {
  padding: 26px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--white);
}

.inner-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 1.05rem;
}

.inner-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

.therapy-list {
  display: grid;
  gap: 14px;
}

.therapy-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.therapy-item summary {
  position: relative;
  display: grid;
  min-height: 96px;
  padding: 24px 68px 24px 26px;
  align-items: center;
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 780;
  list-style: none;
}

.therapy-item summary::-webkit-details-marker {
  display: none;
}

.therapy-item summary::after {
  position: absolute;
  right: 26px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--mist);
  color: var(--teal-dark);
  content: "+";
  font-size: 1.3rem;
  font-weight: 500;
  transition: transform 180ms ease;
}

.therapy-item[open] summary::after {
  transform: rotate(45deg);
}

.therapy-item[open] summary {
  border-bottom: 1px solid var(--line);
}

.therapy-body {
  max-width: 850px;
  padding: 26px;
  color: var(--muted);
}

.therapy-body p:last-child,
.therapy-body ul:last-child {
  margin-bottom: 0;
}

.therapy-body ul {
  padding-left: 1.2em;
}

.therapy-meta {
  display: flex;
  flex-wrap: wrap;
  margin: 26px 0 0;
  padding: 0;
  gap: 9px;
  list-style: none;
}

.therapy-meta li {
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--mist);
  color: var(--ink-soft);
  font-size: 0.77rem;
  font-weight: 740;
}

.digital-care {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: clamp(36px, 6vw, 72px);
  gap: clamp(38px, 7vw, 82px);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #0d2b37 0%, var(--ink) 62%, #123f49 100%);
  box-shadow: var(--shadow);
  color: var(--white);
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
}

.digital-care-copy {
  position: relative;
  z-index: 1;
}

.digital-care-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}

.digital-care-copy > p:not(.eyebrow) {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}

.digital-care-points {
  position: relative;
  z-index: 1;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.digital-care-points > div {
  display: grid;
  padding: 24px 26px;
  gap: 5px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  grid-template-columns: 34px 1fr;
}

.digital-care-points > div:last-child {
  border-bottom: 0;
}

.digital-care-points span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.digital-care-points strong {
  font-size: 1.03rem;
}

.digital-care-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.9rem;
  grid-column: 2;
}

.download-intro {
  max-width: 860px;
  margin-bottom: 46px;
}

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

.download-card {
  display: grid;
  min-height: 330px;
  padding: 30px;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  grid-template-rows: auto 1fr auto;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(39, 123, 121, 0.35);
  box-shadow: 0 18px 42px rgba(8, 30, 41, 0.08);
}

.download-card.featured {
  min-height: 290px;
  grid-column: 1 / -1;
}

.download-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 16px;
  background: var(--mist);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.download-kicker {
  margin-bottom: 10px;
  color: var(--teal-dark);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.download-copy h3 {
  max-width: 620px;
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.download-copy > p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
}

.download-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.download-footer > span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.download-footer .button {
  min-height: 48px;
  padding: 11px 18px;
}

.download-note {
  max-width: 850px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.gallery-empty {
  display: grid;
  overflow: hidden;
  min-height: 470px;
  padding: clamp(36px, 7vw, 78px);
  align-items: center;
  gap: clamp(34px, 7vw, 78px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--white);
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
}

.gallery-empty-copy h2 {
  font-size: clamp(2.5rem, 5.4vw, 5rem);
}

.gallery-placeholders {
  display: grid;
  min-height: 310px;
  gap: 12px;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: repeat(2, 1fr);
}

.gallery-placeholders span {
  border: 1px dashed rgba(8, 30, 41, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--mist), rgba(212, 227, 229, 0.35));
}

.gallery-placeholders span:first-child {
  grid-row: 1 / -1;
}

.practice-info-grid {
  display: grid;
  margin-top: 20px;
  gap: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.practice-info-card {
  min-height: 245px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.practice-info-card > span {
  display: block;
  margin-bottom: 32px;
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.practice-info-card h3 {
  max-width: 540px;
  margin-bottom: 24px;
  font-size: clamp(1.65rem, 3.5vw, 2.7rem);
}

.practice-info-card a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: none;
}

.practice-info-card.dark-card {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.practice-info-card.dark-card > span,
.practice-info-card.dark-card a {
  color: var(--teal);
}

.cta-panel {
  position: relative;
  display: grid;
  overflow: hidden;
  padding: clamp(38px, 7vw, 78px);
  align-items: center;
  gap: 32px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
  grid-template-columns: 1fr auto;
}

.cta-panel::after {
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(101, 200, 193, 0.25);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
}

.cta-panel .button {
  position: relative;
  z-index: 1;
}

.contact-page-grid {
  display: grid;
  align-items: start;
  gap: clamp(42px, 8vw, 92px);
  grid-template-columns: minmax(0, 0.72fr) minmax(360px, 1.1fr);
}

.contact-page-grid .contact-list {
  color: var(--ink);
}

.contact-page-grid .contact-list li {
  border-color: var(--line);
}

.contact-page-grid .contact-list span {
  color: var(--muted);
}

.contact-page-grid .contact-note {
  color: var(--muted);
}

.contact-page-grid .contact-form {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.legal {
  padding: 86px 0 120px;
}

.legal h1 {
  margin-bottom: 48px;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
}

.legal h2 {
  margin-top: 48px;
  margin-bottom: 16px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.legal h3 {
  margin-top: 30px;
  font-size: 1.16rem;
}

.legal p,
.legal li {
  color: #405b64;
}

.legal address {
  font-style: normal;
}

.legal-note {
  margin: 0 0 42px;
  padding: 20px 22px;
  border-left: 4px solid var(--teal-dark);
  background: var(--mist);
  color: var(--ink-soft);
}

.site-footer {
  padding: 52px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--ink);
  color: var(--white);
}

.footer-grid {
  display: grid;
  padding-bottom: 42px;
  gap: 42px;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
}

.footer-brand p {
  max-width: 370px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  padding-top: 25px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}

.mobile-actionbar {
  display: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1000px) {
  .main-nav {
    position: fixed;
    z-index: 99;
    top: 0;
    right: 0;
    bottom: 0;
    display: grid;
    width: min(86vw, 390px);
    padding: 104px 32px 40px;
    align-content: start;
    gap: 6px;
    transform: translateX(105%);
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(8, 30, 41, 0.24);
    color: var(--ink);
    transition: transform 220ms ease;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav > a:not(.button) {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
  }

  .main-nav .button {
    margin-top: 18px;
    background: var(--ink);
    color: var(--white);
  }

  .menu-toggle {
    position: relative;
    z-index: 101;
    display: inline-flex;
  }

  .menu-toggle[aria-expanded="true"] {
    color: var(--ink);
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.72fr);
  }

  .visual-card {
    right: -8px;
  }

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

  .digital-care,
  .gallery-empty {
    grid-template-columns: 1fr;
  }

  .process-wrap {
    grid-template-columns: 0.8fr 1.2fr;
  }

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

@media (max-width: 780px) {
  .container,
  .narrow {
    width: min(calc(100% - 30px), var(--container));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand-copy span {
    display: none;
  }

  .hero {
    padding: 124px 0 84px;
  }

  .hero-grid {
    gap: 58px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .hero-visual {
    width: min(90%, 430px);
    justify-self: center;
  }

  .visual-card {
    right: -18px;
  }

  .trust-grid,
  .focus-grid,
  .section-heading,
  .process-wrap,
  .about-grid,
  .contact-grid,
  .inner-hero-grid,
  .contact-page-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    padding: 14px 0;
  }

  .trust-item,
  .trust-item:first-child {
    min-height: auto;
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-heading {
    margin-bottom: 38px;
    gap: 16px;
  }

  .focus-card {
    min-height: 330px;
  }

  .focus-index {
    margin-bottom: 54px;
  }

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

  .download-grid,
  .practice-info-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .download-card.featured {
    grid-column: auto;
  }

  .service-number {
    margin-bottom: 30px;
  }

  .section-action {
    align-items: flex-start;
    flex-direction: column;
  }

  .process-image {
    min-height: 340px;
  }

  .about-portrait {
    position: relative;
    top: auto;
    width: min(92%, 460px);
  }

  .contact-grid,
  .contact-page-grid {
    gap: 48px;
  }

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

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .cta-panel .button {
    justify-self: start;
  }

  .footer-grid {
    gap: 30px;
  }

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

  body {
    padding-bottom: 66px;
  }

  .mobile-actionbar {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    padding: 8px 10px max(8px, env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(247, 250, 249, 0.96);
    box-shadow: 0 -8px 30px rgba(8, 30, 41, 0.12);
    gap: 8px;
    grid-template-columns: 0.82fr 1.18fr;
    backdrop-filter: blur(14px);
  }

  .mobile-actionbar a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
  }

  .mobile-actionbar a:last-child {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }
}

@media (max-width: 470px) {
  .brand {
    min-width: 0;
  }

  .brand-copy strong {
    max-width: 150px;
    font-size: 0.86rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    display: grid;
    gap: 10px;
  }

  .visual-card {
    right: -3px;
    bottom: 30px;
    width: 174px;
    padding: 15px;
  }

  .timeline li {
    gap: 6px;
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .download-card {
    min-height: auto;
    padding: 24px 20px;
  }

  .download-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .download-footer .button {
    width: 100%;
  }

  .gallery-empty {
    padding: 30px 22px;
  }

  .gallery-placeholders {
    min-height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Doctolib Schnellzugriff */
.doctolib-widget {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: block;
  text-align: center;
  background: #00264c !important;
  color: #00264c !important;
  text-decoration: none !important;
  font-size: 16px !important;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  width: auto;
  border-radius: 4px 0 0 4px;
  padding: 5px;
  z-index: 999;
  opacity: .8;
  box-shadow: 1px 2px 4px rgba(0,0,0,.2);
  line-height: 1.4;
}
.doctolib-widget a {
  display: block;
  color: #00264c;
  text-decoration: none;
  padding: 6px;
  margin-top: 5px;
  background: #fff;
  border-radius: 4px;
  font-weight: 700;
  transition: .2s;
}
.doctolib-widget a:hover,
.doctolib-widget a:focus {
  opacity: .9;
  outline: 2px solid #f5f5f5;
  outline-offset: 2px;
}
.doctolib-widget img {
  display: inline-block;
  height: 18px;
  margin: 3px 0;
  vertical-align: middle;
  width: auto;
}
.doctolib-widget .skip-link:focus {
  left: auto !important;
  right: 100%;
  top: 0 !important;
  width: max-content !important;
  height: auto !important;
  overflow: visible !important;
}
@media (max-width: 600px) {
  .doctolib-widget {
    right: 0;
    width: auto !important;
    padding: 4px;
  }
  .doctolib-widget a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    padding: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .doctolib-widget * {
    transition: none !important;
  }
}

.doctolib-widget a.doctolib-call {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .45);
  font-weight: 400;
}

/* Praxisfotos */
.practice-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.practice-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.practice-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.practice-gallery figcaption {
  padding: 16px 20px;
  color: var(--ink-soft);
  font-weight: 700;
}
.about-portrait-photo {
  aspect-ratio: 1;
}
.about-portrait-photo img {
  object-fit: contain;
  object-position: center;
}
@media (max-width: 780px) {
  .practice-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Terminbuchung und Einstieg */
.booking-hero {
  padding-block: 136px 76px;
}
.booking-hero .hero-grid {
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 1.48fr) minmax(270px, 0.8fr);
}
.booking-hero h1 {
  font-size: clamp(2.5rem, 4.5vw, 4.55rem);
  margin-bottom: 20px;
}
.booking-hero .eyebrow {
  line-height: 1.5;
  margin-bottom: 14px;
}
.booking-hero .lead {
  margin-bottom: 22px;
}
.booking-hero .hero-proof {
  margin: 22px 0 0;
  gap: 8px 20px;
}
.booking-hero .hero-intro {
  margin: 18px 0 0;
  max-width: 65ch;
  color: rgba(255, 255, 255, 0.76);
}
.booking-benefits {
  background: var(--white);
}
.booking-benefits-heading {
  max-width: 800px;
  margin-bottom: 28px;
}
.booking-benefits-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
}
.booking-benefits-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.booking-benefits-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 30px);
  background: var(--paper);
}
.booking-benefits-grid h3 {
  margin: 0 0 8px;
}
.booking-benefits-grid p {
  margin: 0;
  color: var(--ink-soft);
}
.booking-section-action {
  margin-top: 24px;
}
.booking-contact-action {
  margin-bottom: 22px;
}
.mobile-actionbar a:last-child {
  background: var(--teal);
  color: var(--ink);
}
@media (max-width: 780px) {
  .booking-hero {
    padding-block: 94px 56px;
  }
  .booking-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .booking-hero h1 {
    font-size: clamp(2rem, 7.9vw, 3.65rem);
    margin-bottom: 14px;
  }
  .booking-hero .eyebrow {
    margin-bottom: 10px;
  }
  .booking-hero .lead {
    margin-bottom: 16px;
  }
  .booking-hero .hero-actions .hero-call {
    width: auto;
    min-height: 44px;
  }
  .booking-hero .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 16px;
    line-height: 1.35;
  }
  .booking-hero .hero-proof li::before {
    flex: 0 0 7px;
  }
  .booking-benefits-grid {
    grid-template-columns: 1fr;
  }
  /* Das schwebende Doctolib-Widget übernimmt den mobilen Schnellzugriff. */
  body:has(.doctolib-widget) {
    padding-bottom: 0;
  }
  body:has(.doctolib-widget) .mobile-actionbar {
    display: none;
  }
}

/* Schwerpunkte auf der Startseite */
.specialty-hero {
  padding-bottom: clamp(34px, 5vw, 68px);
}
.specialty-hero .hero-grid {
  row-gap: clamp(22px, 3.2vw, 42px);
}
.specialty-hero h1 {
  font-size: clamp(2.3rem, 4.1vw, 4.3rem);
}
.specialty-hero .hero-visual {
  grid-column: 2;
  grid-row: 1;
}
.specialty-overview {
  grid-column: 1 / -1;
}
.specialty-overview h2 {
  margin: 0 0 14px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}
.specialty-overview-grid,
.specialty-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 22px);
}
.specialty-tile {
  display: block;
  padding: clamp(14px, 2vw, 23px);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: var(--radius);
  background: var(--ink-soft);
  color: var(--white);
  text-decoration: none;
}
.specialty-tile:hover,
.specialty-tile:focus-visible {
  border-color: var(--teal);
}
.specialty-tile h3 {
  margin: 0 0 7px;
  color: var(--teal);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
}
.specialty-tile p {
  margin: 0;
  line-height: 1.48;
}
.specialty-tile p + p {
  margin-top: 7px;
  color: rgba(255, 255, 255, .78);
  font-size: .9rem;
}
.specialty-detail {
  padding: clamp(17px, 2.1vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  scroll-margin-top: 24px;
}
.specialty-detail h3 {
  margin: 0 0 10px;
}
.specialty-detail p {
  margin: 0;
  color: var(--ink-soft);
}
.specialty-detail a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
}
@media (max-width: 780px) {
  .specialty-hero h1 {
    font-size: clamp(1.95rem, 7.9vw, 3.3rem);
  }
  .specialty-hero .hero-visual {
    grid-column: 1;
    grid-row: auto;
  }
  .specialty-overview-grid,
  .specialty-details-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Persönlicher Einstieg der Startseite */
.personal-hero .hero-grid {
  grid-template-areas:
    "heading portrait"
    "info portrait"
    "specialties specialties";
  grid-template-rows: auto 1fr auto;
  align-items: start;
  row-gap: 0;
}
.personal-hero-heading { grid-area: heading; }
.personal-hero-info { grid-area: info; }
.personal-hero .personal-hero-portrait {
  grid-area: portrait;
  align-self: center;
  width: min(100%, 365px);
  margin: 0;
}
.personal-hero .portrait-frame {
  aspect-ratio: 1100 / 1556;
}
.personal-hero .portrait-frame::after {
  display: none;
}
.personal-hero .visual-card {
  right: 0;
  bottom: 12px;
  width: auto;
  max-width: 100%;
}
.personal-hero .visual-card strong {
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
}
.personal-hero .specialty-overview {
  grid-area: specialties;
  margin-top: clamp(26px, 3.5vw, 44px);
}
.personal-hero .lead {
  margin-bottom: 8px;
}
.personal-hero-specialties {
  margin: 0 0 18px;
  color: var(--teal);
  font-size: .96rem;
  font-weight: 700;
  line-height: 1.45;
}
.personal-hero .hero-call {
  align-self: center;
  min-height: 44px;
  padding-block: 8px;
  font-size: .9rem;
}
.personal-hero .hero-proof {
  margin-top: 18px;
  line-height: 1.4;
}
@media (max-width: 780px) {
  .personal-hero {
    padding-top: 86px;
  }
  .personal-hero .hero-grid {
    grid-template-areas:
      "heading"
      "portrait"
      "info"
      "specialties";
    grid-template-rows: auto;
  }
  .personal-hero h1 {
    font-size: clamp(1.85rem, 7.5vw, 3.25rem);
  }
  .personal-hero .personal-hero-portrait {
    display: grid;
    grid-template-columns: minmax(100px, min(41%, 178px)) minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 4vw, 24px);
    justify-self: start;
    width: 100%;
    margin: 0 0 16px;
  }
  .personal-hero .portrait-frame {
    border-radius: 20px 20px 38px 20px;
  }
  .personal-hero .visual-card {
    position: static;
    background: none;
    border: 0;
    padding: 0;
    backdrop-filter: none;
    box-shadow: none;
  }
  .personal-hero .visual-card span {
    font-size: .9rem;
  }
  .personal-hero .hero-actions {
    gap: 8px;
  }
  .personal-hero .hero-call {
    width: auto;
  }
}

/* Doctolib als Buchungsanbieter sichtbar kennzeichnen */
.booking-doctolib {
  flex-direction: column;
  gap: 2px;
  text-align: center;
  line-height: 1.2;
}
.booking-provider {
  font-size: .76rem;
  font-weight: 700;
}
.personal-hero .booking-doctolib {
  padding-block: 9px;
}
@media (max-width: 780px) {
  .mobile-actionbar .booking-doctolib {
    padding: 4px 6px;
    font-size: clamp(.74rem, 3.2vw, .86rem);
  }
}
