:root {
  --color-bg: #FCFBF9;
  --color-surface: #EAE6DC;
  --color-surface-dark: #C9B896;
  --color-accent-surface: #9CA8AF;
  --color-text: #201E1B;
  --color-text-muted: #6E6759;
  --color-accent: #201E1B;
  --color-accent-text: #FCFBF9;
  --color-border: rgba(32, 30, 27, 0.12);

  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-padding: clamp(24px, 6vw, 96px);
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 22px var(--container-padding);
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg);
}

.logo {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}

.main-nav a:hover {
  color: var(--color-text);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lang-switch {
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

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

.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.btn-primary:hover {
  background: #3A3833;
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-accent-text);
}

.btn-inverse {
  background: var(--color-bg);
  color: var(--color-text);
}

.btn-inverse:hover {
  background: #FFFFFF;
}

/* Shared section layout */

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  letter-spacing: -0.01em;
  margin: 0;
}

.section {
  padding: clamp(72px, 10vw, 132px) var(--container-padding);
  border-top: 1px solid var(--color-border);
}

.section-band {
  background: var(--color-surface);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-title-standalone {
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-intro {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 46ch;
  margin: -24px 0 40px;
}

/* Card grid (treatments / doctors / feedback) */

.card-grid {
  display: grid;
  gap: 24px;
}

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

.card-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.card-carousel::-webkit-scrollbar {
  display: none;
}

.card-carousel .card {
  flex: 0 0 clamp(240px, 27vw, 320px);
  scroll-snap-align: start;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .card-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    overflow: visible;
  }

  .card-carousel .card {
    flex: initial;
  }

  .carousel-dots {
    display: none;
  }
}

.carousel-dot {
  width: 4px;
  height: 4px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.carousel-dot:hover {
  background: rgba(32, 30, 27, 0.25);
}

.carousel-dot.is-active {
  background: rgba(32, 30, 27, 0.4);
}

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.card-outline {
  border: 1px solid var(--color-text);
  border-radius: 2px;
  padding: 24px;
  justify-content: center;
}

.card-outline .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.card-image-link {
  display: block;
}

.card-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  margin-bottom: 8px;
  object-fit: cover;
  display: block;
  background: var(--color-surface);
}

.card-image--placeholder {
  background: var(--color-accent-surface);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0;
}

.card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
  flex-grow: 1;
}

.text-link {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 4px;
}

/* Service steps */

.step-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin: 0;
  padding: 0;
}

.step-number {
  display: block;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.step-icon {
  display: block;
  width: 34px;
  height: 34px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.step-icon svg {
  width: 100%;
  height: 100%;
}

.step h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 10px;
}

.step p {
  font-size: 16px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Teaser section (Mission / Ärzte on the homepage) */

.page-teaser {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.page-teaser--wide {
  max-width: 900px;
}

.page-teaser--wide h2 {
  white-space: nowrap;
}

@media (max-width: 700px) {
  .page-teaser--wide h2 {
    white-space: normal;
  }
}

.page-teaser p {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.page-teaser .text-link {
  display: inline-block;
}

.page-teaser-icon {
  margin: 0 auto 20px;
}

.cta-band h2.cta-band-oneline {
  max-width: none;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .cta-band h2.cta-band-oneline {
    white-space: normal;
  }
}

/* Editorial image band */

.image-band {
  position: relative;
  height: 75vh;
  min-height: 480px;
  max-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-top: 1px solid var(--color-border);
}

.image-band-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-band-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 17, 14, 0.32) 0%, rgba(20, 17, 14, 0.42) 50%, rgba(20, 17, 14, 0.32) 100%);
}

.image-band--hero {
  border-top: none;
  height: auto;
  min-height: 62vh;
  min-height: 62dvh;
  max-height: none;
}

.image-band--plain {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.image-band--plain .treatment-hero-title {
  color: var(--color-text);
}

.image-band--plain .btn-inverse {
  background: var(--color-accent);
  color: var(--color-accent-text);
}

.image-band--plain .btn-inverse:hover {
  background: #3A3833;
}

.section--stage-intro {
  border-top: none;
  padding-top: clamp(48px, 7vw, 88px);
}

.section--compact {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}

.treatment-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 var(--container-padding);
}

.treatment-hero-title {
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5.5vw, 60px);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--color-bg);
}

.page-intro--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.image-band-quote {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 720px;
  padding: 0 var(--container-padding);
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(26px, 4vw, 44px);
  line-height: 1.3;
  color: var(--color-bg);
}

/* Mission */

.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.mission--compact {
  grid-template-columns: 1.3fr 0.8fr;
}

.mission--compact .mission-image-placeholder {
  max-width: 440px;
  margin: 0 auto;
}

.mission--portrait .mission-image-placeholder {
  max-width: 340px;
  aspect-ratio: 3 / 4;
}

.mission-text {
  max-width: 480px;
}

.mission-text h2 {
  margin-bottom: 24px;
}

.doctor-detail-title {
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: -8px 0 20px !important;
  max-width: none !important;
}

.mission-text p {
  font-size: 17px;
  color: var(--color-text-muted);
  margin: 0 0 20px;
  max-width: 42ch;
}

.mission-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 2px;
  object-fit: cover;
  display: block;
  background: linear-gradient(155deg, #DCD3C4 0%, #B8AC98 100%);
}

/* Trust grid */

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.trust-icon {
  display: block;
  width: 30px;
  height: 30px;
  color: var(--color-text);
  margin-bottom: 20px;
}

.trust-icon svg {
  width: 100%;
  height: 100%;
}

.trust-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.trust-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Promise row (subpages): icon promises in a row, divided by vertical lines */

.promise-row-heading {
  text-align: center;
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.promise-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.promise-row-item {
  flex: 1 1 200px;
  max-width: 260px;
  padding: 0 28px;
  text-align: center;
  border-left: 1px solid var(--color-border);
}

.promise-row-item:first-child {
  border-left: none;
}

.promise-row-item .trust-icon {
  margin: 0 auto 20px;
}

.promise-row-item h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 8px;
}

.promise-row-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 700px) {
  .promise-row-item {
    flex: 1 1 45%;
    border-left: none;
    border-top: 1px solid var(--color-border);
    padding: 24px 12px 0;
    margin-top: 24px;
  }

  .promise-row-item:nth-child(-n+2) {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }
}

/* Trust combo (Ärzte-Vorschau + Versprechen, homepage) */

.trust-combo {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.trust-combo-doctors h3,
.trust-combo-promises h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 20px;
}

.doctor-avatars {
  display: flex;
  margin-bottom: 20px;
}

.doctor-avatars img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-bg);
  margin-right: -16px;
  background: var(--color-surface);
}

.trust-combo-doctors p {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 40ch;
  margin: 0 0 20px;
}

.promise-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.promise-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.promise-item .trust-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 0;
  flex-shrink: 0;
  margin-top: 2px;
}

.promise-item p {
  margin: 0;
  font-size: 15px;
}

.promise-item strong {
  font-weight: 600;
}

@media (max-width: 860px) {
  .trust-combo {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Doctors */

.doctor-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doctor-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 2px;
  margin-bottom: 12px;
  object-fit: cover;
  display: block;
  background: var(--color-surface);
}

.doctor-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  margin: 0;
}

.doctor-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

/* Feedback quotes */

.quote-card {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--color-text);
  border-radius: 2px;
  padding: 24px;
}

.quote-card blockquote {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

.quote-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
}

.quote-name {
  font-weight: 500;
}

.quote-role {
  color: var(--color-text-muted);
}

/* FAQ */

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 64px;
}

.faq-item {
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
}

.faq-item:last-child,
.faq-grid > .faq-item:nth-last-child(2) {
  border-bottom: 1px solid var(--color-border);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  font-size: 15px;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-ui);
  font-size: 18px;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "+";
  transform: rotate(45deg);
}

.faq-item p {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 52ch;
}

/* CTA band */

.cta-band {
  background: var(--color-accent-surface);
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  text-align: center;
  padding: clamp(96px, 14vw, 176px) var(--container-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.cta-band--white {
  background: var(--color-bg);
  color: var(--color-text);
}

.cta-band h2 {
  max-width: 18ch;
}

.cta-band h2.cta-band-question {
  max-width: 50ch;
  font-size: clamp(24px, 3vw, 32px);
}

.cta-band-mark {
  height: 40px;
  width: auto;
  margin-bottom: -12px;
}

.cta-band-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.cta-band-subline {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(15px, 1.6vw, 18px);
  color: inherit;
  opacity: 0.75;
}

/* Footer */

.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: clamp(48px, 6vw, 72px) var(--container-padding) 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: clamp(64px, 10vw, 140px);
  border-bottom: 1px solid var(--color-border);
}

.footer-heading {
  font-weight: 500;
  margin: 0 0 12px;
}

.footer-brand p,
.footer-socials p {
  margin: 0;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-mission-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-socials a {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer-mission-link:hover,
.footer-socials a:hover {
  color: var(--color-text);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  font-size: 13px;
  color: var(--color-text-muted);
  flex-wrap: wrap;
}

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

.footer-legal a:hover {
  color: var(--color-text);
}

/* Hero */

.hero-shell {
  position: relative;
}

.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: transparent;
}

.site-header--overlay .logo,
.site-header--overlay .main-nav,
.site-header--overlay .lang-switch {
  color: var(--color-bg);
}

.site-header--overlay .main-nav a:hover,
.site-header--overlay .lang-switch:hover {
  color: var(--color-bg);
  opacity: 0.7;
}

.site-header--overlay .nav-toggle span {
  background: var(--color-bg);
}

.site-header--overlay.is-scrolled {
  background: var(--color-bg);
  transition: background-color 0.2s ease;
}

.site-header--overlay.is-scrolled .logo,
.site-header--overlay.is-scrolled .main-nav,
.site-header--overlay.is-scrolled .lang-switch {
  color: var(--color-text-muted);
}

.site-header--overlay.is-scrolled .logo {
  color: var(--color-text);
}

.site-header--overlay.is-scrolled .main-nav a:hover,
.site-header--overlay.is-scrolled .lang-switch:hover {
  color: var(--color-text);
  opacity: 1;
}

.site-header--overlay.is-scrolled .nav-toggle span {
  background: var(--color-text);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  /* Keep the headline clear of the fixed overlay header on short viewports */
  padding-top: 110px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  display: block;
  background: linear-gradient(155deg, #C9AD8F 0%, #8C6A50 100%);
  animation: hero-drift 24s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media-image {
    animation: none;
  }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 17, 14, 0) 0%,
    rgba(20, 17, 14, 0.4) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 var(--container-padding) clamp(48px, 8vw, 96px);
  max-width: 1200px;
  color: var(--color-bg);
  text-align: left;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 28px;
  color: inherit;
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .header-actions {
    order: 2;
  }

  .nav-toggle {
    display: flex;
    order: 3;
  }

  .main-nav {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--color-border);
  }

  .main-nav.is-open {
    display: flex;
    background: var(--color-bg);
    padding: 16px;
    border-radius: 4px;
    margin-top: 12px;
    box-shadow: 0 8px 24px rgba(32, 30, 27, 0.08);
  }

  h2 {
    font-size: clamp(24px, 6vw, 28px);
  }

  .site-header--overlay .main-nav {
    border-top-color: rgba(252, 251, 249, 0.25);
  }

  .site-header--overlay .main-nav.is-open {
    background: rgba(20, 17, 14, 0.92);
    padding: 16px;
    border-radius: 4px;
    margin-top: 12px;
    box-shadow: none;
  }

  .section-header {
    flex-wrap: wrap;
  }

  .card-grid-4,
  .step-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission,
  .mission--compact {
    grid-template-columns: 1fr;
  }

  .mission-image {
    order: -1;
  }

  .mission--compact .mission-image-placeholder {
    max-width: 340px;
  }

  .mission--portrait .mission-image-placeholder {
    max-width: 260px;
  }

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

  .faq-grid > .faq-item:nth-last-child(2) {
    border-bottom: none;
  }

  .faq-grid > .faq-item:last-child {
    border-bottom: 1px solid var(--color-border);
  }

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

@media (max-width: 560px) {
  .card-grid-4,
  .step-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .promise-row-item {
    flex: 1 1 100%;
    max-width: none;
    border-top: 1px solid var(--color-border);
    padding: 24px 12px 0;
    margin-top: 24px;
  }

  .promise-row-item:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }
}

/* Treatment area pages (Behandlungen) */

.lang-link {
  cursor: pointer;
}

.lang-link.is-active {
  color: var(--color-text);
}

.page-hero {
  padding-top: clamp(48px, 6vw, 72px);
}

.page-hero--center {
  text-align: center;
}

.page-hero h1.page-hero-title--oneline {
  max-width: none;
  font-size: clamp(28px, 3.2vw, 44px);
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.4vw, 52px);
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 0 20px;
}

.page-hero--center h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-intro {
  font-size: clamp(19px, 2.2vw, 24px);
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0 auto 14px;
  text-align: center;
}

.page-intro--left {
  text-align: left;
  margin-left: 0;
}

.page-intro--small {
  font-size: 16px;
  margin-bottom: 40px;
}

.step-grid--large .step-number {
  font-size: 16px;
}

.step-grid--large .step h3 {
  font-size: 24px;
}

.step-grid--large .step p {
  font-size: 17px;
}

.contact-band {
  background: var(--color-accent-surface);
  color: var(--color-text);
  text-align: center;
}

.contact-band .section-title-standalone {
  margin-left: auto;
  margin-right: auto;
}

.contact-band .detail-fields {
  align-items: center;
  margin: 0 auto;
}

.page-positioning {
  font-size: 15px;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0;
}

.breadcrumb {
  display: block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 24px;
}

.breadcrumb a:hover {
  color: var(--color-text);
}

.anamnese-note {
  border: 1px solid var(--color-border);
  border-radius: 3px;
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0 0 clamp(32px, 5vw, 48px);
}

.anamnese-note strong {
  color: var(--color-text);
}

.treatment-accordion {
  display: flex;
  flex-direction: column;
}

.treatment-acc-item {
  border-top: 1px solid var(--color-border);
  padding: 22px 0;
}

.treatment-accordion .treatment-acc-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.treatment-acc-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

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

.treatment-acc-name {
  font-size: 17px;
}

.treatment-acc-summary-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.treatment-acc-price {
  font-size: 14px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.treatment-acc-toggle {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.treatment-acc-toggle::before,
.treatment-acc-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-text-muted);
  transition: transform 0.2s ease;
}

.treatment-acc-toggle::before {
  width: 12px;
  height: 1.4px;
  transform: translate(-50%, -50%);
}

.treatment-acc-toggle::after {
  width: 1.4px;
  height: 12px;
  transform: translate(-50%, -50%);
}

.treatment-acc-item[open] .treatment-acc-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.treatment-acc-body {
  margin-top: 24px;
}

.treatment-acc-body .detail-field-placeholder {
  margin: 0 0 16px;
}

.treatment-acc-item-plain {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.treatment-row-todo {
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

.price-table {
  display: flex;
  flex-direction: column;
  max-width: 58ch;
}

.price-table--full {
  max-width: none;
  margin-top: clamp(28px, 4vw, 44px);
}

.section-cta-button {
  display: inline-flex;
  margin-top: 32px;
}

.price-table--full .price-row {
  padding: 26px 0;
  font-size: 17px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-size: 15px;
}

.price-table .price-row:last-child {
  border-bottom: 1px solid var(--color-border);
}

.price-note {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 20px 0 0;
}

.todo-flag {
  display: inline-block;
  padding: 2px 8px;
  border: 1px dashed var(--color-text-muted);
  border-radius: 3px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-left: 8px;
  white-space: nowrap;
}

.mobil-flag {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 3px;
  background: var(--color-accent-surface);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
}

.legal-content {
  max-width: 72ch;
  margin: 0;
  color: var(--color-text);
}

.legal-content > * + * {
  margin-top: 20px;
}

.legal-content h2 {
  font-size: 17px;
  letter-spacing: 0.02em;
  margin: 48px 0 4px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.legal-content ul {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content .legal-date {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 12px;
}

.detail-fields {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 58ch;
  margin: 0;
}

.detail-field dt {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.detail-field dd {
  margin: 0;
  font-size: 15px;
}

.detail-field dd.detail-field-placeholder {
  font-style: italic;
  color: var(--color-text-muted);
}

.hinweis-note {
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 58ch;
  margin: 0;
}

.map-placeholder {
  margin-top: clamp(32px, 5vw, 48px);
  aspect-ratio: 16 / 7;
  border-radius: 4px;
  background: var(--color-surface);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 480px;
  margin: 0 auto;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form-field input,
.form-field textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 2px;
  padding: 12px 14px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-text);
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-form-phone {
  margin-top: 48px;
  max-width: 480px;
}

.detail-field-optional {
  text-transform: none;
  letter-spacing: normal;
  font-style: italic;
}

@media (max-width: 860px) {
  .price-row {
    font-size: 14px;
  }
}

/* Page kicker (italic accent line above subpage headlines) */

.page-kicker {
  font-size: 15px;
  font-style: italic;
  color: var(--color-text-muted);
  margin: 0 0 14px;
}

.page-kicker strong {
  font-weight: 500;
  font-style: italic;
  color: var(--color-text);
}

/* Pill buttons (subpages) */

.btn-pill {
  /* Unified with the homepage button style — same radius/padding as .btn. */
}

/* Leistungen icon-card grid (Sport & Prävention) */

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 40px;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

.leistungen-grid .leistung-card {
  flex-direction: column;
  align-items: center;
}

.leistung-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.leistung-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--color-accent-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.leistung-icon svg {
  width: 15px;
  height: 15px;
}

.leistung-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .leistungen-grid {
    grid-template-columns: 1fr;
  }
}
