/* ==========================================================================
   Priv.-Doz. Dr. Mathias Glehr – Startseite
   Farben und Schriften entsprechen dem bestehenden Auftritt.
   ========================================================================== */

/* Schriften (lokal eingebunden, keine Anfrage an Dritte) ------------------- */
@font-face {
  font-family: "Baskervville";
  src: url("../fonts/baskervville-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Baskervville";
  src: url("../fonts/baskervville-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-300-normal.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* Design-Tokens ------------------------------------------------------------ */
:root {
  /* Markenfarben */
  --navy: #172344;
  --blue: #5D7498;
  --mist: #E8EAED;
  --paper: #F5F5F5;
  --snow: #FAFAFA;
  --white: #FFFFFF;

  /* Abgeleitete Töne (Navy bzw. Weiß mit Transparenz) */
  --ink: var(--navy);
  --ink-soft: rgba(23, 35, 68, 0.76);
  --line: rgba(23, 35, 68, 0.14);
  --line-strong: rgba(23, 35, 68, 0.32);
  --on-dark-soft: rgba(255, 255, 255, 0.74);
  --line-on-dark: rgba(255, 255, 255, 0.2);

  /* Typografie */
  --serif: "Baskervville", Baskerville, "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.2rem + 5.5vw, 4.9rem);
  --fs-h2: clamp(2.1rem, 1.5rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.45rem, 1.3rem + 0.6vw, 1.75rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  /* Raster & Form */
  --container: 75rem;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section: clamp(4.5rem, 3rem + 7vw, 8.5rem);
  --radius: 6px;
  --radius-lg: 12px;
  --header-h: 4.75rem;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: var(--navy);
}

/* Basis -------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
p,
ul,
dl,
dd,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

em {
  font-style: italic;
}

::selection {
  background: var(--navy);
  color: var(--white);
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 999px;
  font-size: var(--fs-small);
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline-color: var(--white);
  outline-offset: -5px;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section);
}

/* Typografie --------------------------------------------------------------- */
.h2,
.h3,
.hero__title {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

.h2 {
  font-size: var(--fs-h2);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.h2--italic {
  font-style: italic;
}

.h3 {
  font-size: var(--fs-h3);
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow--inverse {
  color: var(--on-dark-soft);
}

.prose > * + * {
  margin-top: 1.25em;
}

.prose p {
  text-wrap: pretty;
}

.link {
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: text-decoration-color 0.25s;
}

.link:hover {
  text-decoration-color: currentColor;
}

/* Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.85rem 1.75rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.btn--sm {
  min-height: 2.75rem;
  padding: 0.6rem 1.3rem 0.55rem;
  font-size: 0.8125rem;
  gap: 0.6rem;
}

.btn__icon {
  flex: none;
  margin-top: -0.1em;
  transition: transform 0.4s var(--ease);
}

.btn:hover .btn__icon {
  transform: translateX(4px);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--blue);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--navy);
}

.btn--ghost:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--navy);
}

.btn--light:hover {
  background: var(--mist);
}

/* Header ------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--mist);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.site-header.is-stuck {
  background: rgba(232, 234, 237, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  margin-right: auto;
  padding-block: 0.5rem;
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.nav {
  display: none;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.nav__list > li {
  position: relative;
  display: flex;
  align-items: center;
}

.nav__link {
  position: relative;
  padding-block: 0.75rem;
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.45rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.nav__link:hover::after,
.nav__item--sub:hover > .nav__link::after {
  transform: scaleX(1);
}

.nav__toggle {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 2.75rem;
  margin-left: 0.15rem;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
}

.nav__toggle svg {
  transition: transform 0.3s var(--ease);
}

.nav__item--sub:hover .nav__toggle svg,
.nav__toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.nav__sub {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  min-width: 17rem;
  padding-top: 0.6rem;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.nav__sub ul {
  padding: 0.6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 0 var(--line), 0 28px 60px -24px rgba(23, 35, 68, 0.4);
}

.nav__sub a {
  display: block;
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav__sub a:hover {
  background: var(--mist);
}

.nav__item--sub:hover .nav__sub,
.nav__toggle[aria-expanded="true"] + .nav__sub {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.site-header__cta {
  display: none;
}

.burger {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.burger__lines,
.burger__lines::before {
  display: block;
  width: 1.6rem;
  height: 1px;
  background: var(--navy);
}

.burger__lines {
  position: relative;
  transform: translateY(-4px);
}

.burger__lines::before {
  content: "";
  position: absolute;
  top: 8px;
}

@media (min-width: 30rem) {
  .site-header__cta {
    display: inline-flex;
  }
}

@media (min-width: 62rem) {
  .nav {
    display: block;
  }

  .burger {
    display: none;
  }

  .site-header__inner {
    gap: clamp(1.5rem, 3vw, 2.75rem);
  }
}

@media (max-width: 23.5rem) {
  .brand {
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
  }
}

/* Mobiles Menü ------------------------------------------------------------- */
.menu {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--navy);
  color: var(--white);
  --focus: var(--white);
}

.menu::backdrop {
  background: var(--navy);
}

.menu[open] {
  animation: menu-in 0.35s var(--ease);
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
}

.menu__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  min-height: 100%;
  padding: 0 var(--gutter) 2rem;
}

.menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.menu__top img {
  width: 2.75rem;
  height: 2.75rem;
}

.menu__close {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.6rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.menu__list > li {
  border-bottom: 1px solid var(--line-on-dark);
}

.menu__list > li > a {
  display: block;
  padding-block: 1rem;
  font-family: var(--serif);
  font-size: 1.75rem;
  line-height: 1.2;
  text-decoration: none;
}

.menu__sub {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1.25rem;
  padding-bottom: 1.1rem;
}

.menu__sub a {
  display: block;
  padding-block: 0.45rem;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.menu__foot {
  display: grid;
  gap: 1.5rem;
  margin-top: auto;
}

.menu__contact {
  display: grid;
  gap: 0.25rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  font-variant-numeric: lining-nums;
}

.menu__contact a {
  text-decoration: none;
}

@media (max-width: 22rem) {
  .menu__sub {
    grid-template-columns: 1fr;
  }
}

/* Hero --------------------------------------------------------------------- */
.hero {
  --mark: clamp(8.25rem, 5rem + 12vw, 12.5rem);
  --hero-top: clamp(2.5rem, 1rem + 6vw, 5rem);
  position: relative;
  overflow: hidden;
  background: var(--mist);
}

/* Feine Ringe um das Monogramm – nehmen den Kreis des Logos auf */
.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(var(--hero-top) + var(--mark) / 2);
  width: 150rem;
  height: 150rem;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(circle, transparent 0 calc(var(--mark) * 0.42 - 1px), rgba(23, 35, 68, 0.1) calc(var(--mark) * 0.42 - 1px) calc(var(--mark) * 0.42));
  -webkit-mask-image: radial-gradient(circle, transparent 0 calc(var(--mark) * 0.6), #000 calc(var(--mark) * 0.6 + 1px), transparent 38%);
  mask-image: radial-gradient(circle, transparent 0 calc(var(--mark) * 0.6), #000 calc(var(--mark) * 0.6 + 1px), transparent 38%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: var(--hero-top);
  padding-bottom: clamp(3rem, 2rem + 4vw, 5rem);
  text-align: center;
}

.hero__mark {
  width: var(--mark);
  height: auto;
  margin-bottom: clamp(1.75rem, 1rem + 2.5vw, 3rem);
}

.hero__title {
  font-size: var(--fs-display);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.hero__title em {
  display: block;
  white-space: nowrap;
}

.hero__lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  text-wrap: balance;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-top: 2.25rem;
}

.hero__facts {
  position: relative;
  display: grid;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.15rem 1rem;
  padding-block: 1rem;
}

.hero__facts li + li {
  border-top: 1px solid var(--line);
}

.hero__facts-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 29.99rem) {
  .hero__facts-prefix {
    display: none;
  }
}

.hero__facts a {
  font-family: var(--serif);
  font-size: 1.125rem;
  font-variant-numeric: lining-nums;
  line-height: 1.4;
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.4s var(--ease);
}

.hero__facts a:hover {
  background-size: 100% 1px;
}

@media (min-width: 48rem) {
  .hero__facts {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero__facts li {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.3rem;
    padding-block: 1.6rem 1.75rem;
  }

  .hero__facts li + li {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * {
    animation: rise 0.9s var(--ease) both;
  }

  .hero__inner > :nth-child(2) {
    animation-delay: 0.08s;
  }

  .hero__inner > :nth-child(3) {
    animation-delay: 0.16s;
  }

  .hero__inner > :nth-child(4) {
    animation-delay: 0.24s;
  }

  .hero::before {
    animation: fade 1.6s ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
}

/* Über mich ---------------------------------------------------------------- */
.about {
  background: var(--paper);
}

.about__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about__text {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  justify-items: start;
}

.about__text .prose {
  max-width: 34rem;
  color: var(--ink-soft);
}

.about__figure {
  --offset: clamp(0.7rem, 2vw, 1.1rem);
  position: relative;
  width: 100%;
  max-width: 34rem;
  justify-self: center;
  padding: 0 var(--offset) var(--offset) 0;
}

/* Versetzter Rahmen in der Sekundärfarbe */
.about__figure::before {
  content: "";
  position: absolute;
  inset: var(--offset) 0 0 var(--offset);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
  opacity: 0.6;
}

.about__frame {
  position: relative;
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

.about__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 34% 50%;
}

@media (min-width: 48rem) {
  .about__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .about__figure {
    justify-self: end;
  }
}

/* Leistungen --------------------------------------------------------------- */
.services {
  background: var(--navy);
  color: var(--white);
  --focus: var(--white);
}

.services ::selection {
  background: var(--white);
  color: var(--navy);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--line-on-dark);
}

.section-head__lead {
  max-width: 26rem;
  color: var(--on-dark-soft);
}

.services__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
}

.service {
  display: block;
  text-decoration: none;
}

.service__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.service__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}

.service:hover .service__media img {
  transform: scale(1.045);
}

.service__body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 1.4rem;
}

.service__title {
  font-family: var(--serif);
  font-size: var(--fs-h3);
  font-weight: 400;
  line-height: 1.2;
  text-wrap: balance;
}

.service__text {
  margin-top: 0.5rem;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.service__arrow,
.booking-card__arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.service:hover .service__arrow,
.booking-card:hover .booking-card__arrow {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.services__more {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem 2.5rem;
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line-on-dark);
}

.services__more-list {
  display: grid;
  gap: 1.1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.chip:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

@media (min-width: 44rem) {
  .services__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Termin buchen ------------------------------------------------------------ */
.booking {
  background: var(--mist);
}

.booking__grid {
  display: grid;
  gap: 2.25rem;
}

.booking__lead {
  max-width: 26rem;
  margin-top: 1.5rem;
  color: var(--ink-soft);
  font-size: 1.0625rem;
}

.booking__note {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
}

.booking__options {
  display: grid;
  gap: 1.25rem;
}

.booking-card {
  display: flex;
  flex-direction: column;
  min-height: clamp(13rem, 10rem + 12vw, 18rem);
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  --focus: var(--navy);
}

.booking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 50px -30px rgba(23, 35, 68, 0.65);
}

.booking-card__label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--on-dark-soft);
  font-size: 0.875rem;
  line-height: 1.45;
}

.booking-card__label svg {
  flex: none;
  margin-top: 0.1em;
}

.booking-card__title {
  margin-top: auto;
  padding-top: 2rem;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 1.6rem + 1.2vw, 2.5rem);
  font-weight: 400;
  line-height: 1.08;
}

.booking-card__title em {
  display: block;
}

.booking-card__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line-on-dark);
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 36rem) {
  .booking__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 62rem) {
  .booking__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 0 clamp(3rem, 6vw, 5rem);
    align-items: center;
  }

  .booking__intro {
    grid-area: 1 / 1;
    align-self: end;
  }

  .booking__note {
    grid-area: 2 / 1;
    align-self: start;
    max-width: 26rem;
    margin-top: 2rem;
  }

  .booking__options {
    grid-area: 1 / 2 / span 2 / auto;
  }
}

/* Außerhalb der Ordination ------------------------------------------------- */
.beyond {
  background: var(--paper);
}

.beyond__grid {
  display: grid;
  gap: clamp(3rem, 6vw, 4rem);
}

.beyond__role {
  display: grid;
  gap: 1.5rem;
  align-content: start;
}

.beyond__text {
  max-width: 33rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.beyond__memberships {
  display: grid;
  gap: 2rem;
  align-content: start;
  padding-top: clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--line-strong);
}

.memberships {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 8.25rem));
  gap: clamp(0.75rem, 3vw, 1.75rem);
}

.memberships img {
  width: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
}

@media (min-width: 60rem) {
  .beyond__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 0;
  }

  .beyond__role {
    padding-right: clamp(3rem, 6vw, 5.5rem);
  }

  .beyond__memberships {
    padding-top: 0;
    padding-left: clamp(3rem, 6vw, 5.5rem);
    border-top: 0;
    border-left: 1px solid var(--line-strong);
    align-content: center;
  }
}

/* Bildbänder --------------------------------------------------------------- */
.band {
  height: clamp(11rem, 27vw, 25rem);
  overflow: hidden;
  background: var(--mist);
}

.band--low {
  height: clamp(9rem, 19.5vw, 19rem);
}

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

/* Standorte und Kontakt ---------------------------------------------------- */
.locations {
  background: var(--snow);
}

.locations__grid {
  display: grid;
  gap: 3rem clamp(1.5rem, 4vw, 3rem);
}

.locations__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.75rem 2rem;
}

.location__media {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--mist);
}

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

.location__title {
  margin-top: 1.5rem;
}

.location__list {
  margin-top: 1rem;
}

.location__list > div {
  display: flex;
  gap: 0.85rem;
  padding-block: 0.8rem;
  border-top: 1px solid var(--line);
}

.location__list dt {
  flex: none;
  padding-top: 0.25rem;
  color: var(--blue);
}

.location__list dd {
  line-height: 1.6;
}

.clinics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--line);
}

.clinics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.clinics__list li {
  display: grid;
  place-items: center;
  height: 6.5rem;
  padding: 1rem clamp(1.25rem, 3vw, 2.25rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.clinics__list img {
  width: auto;
  height: 4.25rem;
}

.clinics__list li:nth-child(2) img {
  height: 2.6rem;
}

@media (min-width: 40rem) {
  .locations__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .locations__head {
    grid-column: 1 / -1;
  }
}

@media (min-width: 64rem) {
  .locations__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) minmax(0, 1fr);
  }

  .locations__head {
    grid-column: auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 2.25rem;
    padding-right: 1rem;
  }
}

/* Footer ------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  --focus: var(--white);
}

.site-footer__grid {
  display: grid;
  gap: 3rem 2.5rem;
  padding-block: clamp(4rem, 3rem + 5vw, 6.5rem);
}

.site-footer__claim {
  font-family: var(--serif);
  font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem);
  font-style: italic;
  line-height: 1.1;
}

.site-footer__name {
  margin-top: 1rem;
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-footer__mark {
  width: 6.5rem;
  margin-top: 2.25rem;
}

.site-footer__heading {
  margin-bottom: 1.1rem;
  font-family: var(--serif);
  font-size: 1.375rem;
  font-weight: 400;
  line-height: 1.2;
}

.site-footer__links {
  display: grid;
  gap: 0.15rem 1.5rem;
}

.site-footer__links a,
.site-footer__contact p a {
  display: inline-block;
  padding-block: 0.3rem;
  color: var(--on-dark-soft);
  font-size: 0.9375rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.25s;
}

.site-footer__links a:hover,
.site-footer__contact p a:hover {
  color: var(--white);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

.site-footer__contact p {
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.site-footer__legal {
  background: var(--blue);
}

.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding-block: 1.1rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.site-footer__legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.75rem;
}

.site-footer__legal a {
  display: inline-block;
  padding-block: 0.4rem;
  font-family: var(--serif);
  font-size: 1.0625rem;
  text-decoration: none;
}

.site-footer__legal a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
}

@media (min-width: 30rem) {
  .site-footer__links--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 44rem) {
  .site-footer__grid {
    grid-template-columns: 1.7fr 1fr 1fr;
  }

  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 68rem) {
  .site-footer__grid {
    grid-template-columns: 1.35fr 1.6fr 0.6fr 1fr;
    gap: 3rem clamp(2rem, 4vw, 4rem);
  }

  .site-footer__brand {
    grid-column: auto;
  }
}

/* Einblenden beim Scrollen (nur mit JavaScript aktiv) --------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms);
  }

  .reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
  }
}
