/* ==========================================================================
   Orthopädie & Sportmedizin Hamburg – Eppendorf
   Designsystem
   ========================================================================== */

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("../fonts/instrument-sans.woff2") format("woff2-variations");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Markenfarben (aus Logo und bestehender Website) */
  --blue: #436B9C;
  --blue-deep: #3A5D88;      /* Hover-Zustand, Abstufung des Markenblaus */
  --graphite: #434241;       /* Logo-Grau */
  --ink: #2A2A2A;
  --grey: #707070;           /* Metatext, kontrastgeprüft auf Weiß */
  --grey-light: #9A9A9A;
  /* Neutrale Abstufungen innerhalb der Farbwelt */
  --paper: #FFFFFF;
  --tint: #F3F6F9;
  --line: rgba(67, 107, 156, .22);
  --line-strong: rgba(67, 107, 156, .5);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --fs-hero: clamp(1.8rem, 1.1rem + 2.1vw, 3.05rem);
  --fs-display: clamp(2.6rem, 1.5rem + 4.2vw, 5.75rem);
  --fs-h2: clamp(1.85rem, 1.35rem + 1.7vw, 2.9rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 1vw, 2.1rem);
  --fs-lead: clamp(1.25rem, 1.08rem + .6vw, 1.6rem);
  --fs-body: clamp(1.0625rem, 1rem + .2vw, 1.1875rem);
  --fs-small: .9375rem;
  --fs-label: .75rem;

  --gutter: clamp(1rem, .4rem + 3vw, 4rem);
  --max: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 10rem);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1.15em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 1px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--blue); color: #fff; padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

/* --- Typografie-Bausteine ------------------------------------------------ */
.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
}
.serif { font-family: var(--serif); }
.lead {
  font-family: var(--serif);
  font-size: var(--fs-lead);
  line-height: 1.42;
  font-weight: 400;
  color: var(--ink);
  font-variation-settings: "opsz" 24;
}
.prose { max-width: 40rem; }
.prose p { color: #3a3a3a; }
.prose a { color: var(--blue); text-underline-offset: .2em; }

/* --- Buttons ---------------------------------------------------------------- */
.btn {
  --bg: var(--blue); --fg: #fff; --bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 48px; padding: .8rem 1.4rem;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  border-radius: var(--radius);
  font-family: var(--sans); font-size: .875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; line-height: 1.2; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover { --bg: var(--blue-deep); --bd: var(--blue-deep); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-light { --bg: #fff; --fg: var(--blue); --bd: #fff; }
.btn-light:hover { --bg: transparent; --fg: #fff; --bd: #fff; }
.btn-ghost { --bg: transparent; --fg: var(--blue); --bd: var(--line-strong); }
.btn-ghost:hover { --bg: var(--blue); --fg: #fff; --bd: var(--blue); }
.btn-lg { min-height: 60px; padding: 1rem 1.8rem; font-size: .9375rem; }

.arrow { width: 18px; height: 10px; flex: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); text-decoration: none;
}
.link-arrow .arrow { transition: transform .35s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* --- Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; gap: 2rem;
  height: var(--header-h);
  transition: height .35s var(--ease);
}
.site-header.is-scrolled .header-inner { height: 68px; }
.brand { flex: none; display: block; }
.brand img { width: auto; height: 46px; transition: height .35s var(--ease); }
.site-header.is-scrolled .brand img { height: 38px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(1rem, .2rem + 1.5vw, 2rem); }
.main-nav a {
  position: relative; display: block; padding: .5rem 0;
  font-size: .9375rem; font-weight: 500; text-decoration: none; color: var(--graphite);
  transition: color .25s var(--ease);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .2rem; height: 1px;
  background: var(--blue); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.main-nav a:hover { color: var(--blue); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"] { color: var(--blue); }

.header-cta { flex: none; }
.header-cta .short { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; margin-right: -12px;
  background: none; border: 0; cursor: pointer; position: relative;
}
.nav-toggle .bar {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink);
  transition: transform .4s var(--ease), opacity .3s var(--ease);
}
.nav-toggle .bar:nth-child(2) { top: 19px; }
.nav-toggle .bar:nth-child(3) { top: 28px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--paper);
  padding: 1.5rem var(--gutter) 2rem;
  display: flex; flex-direction: column; overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-8px);
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.mobile-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.mobile-nav ul { border-top: 1px solid var(--line); }
.mobile-nav li { border-bottom: 1px solid var(--line); }
.mobile-nav a.m-link {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 0; text-decoration: none;
  font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem); line-height: 1.15; color: var(--ink);
}
.mobile-nav a.m-link[aria-current="page"] { color: var(--blue); }
.mobile-nav .m-meta { margin-top: auto; padding-top: 2rem; display: grid; gap: .5rem; font-size: var(--fs-small); color: var(--grey); }
.mobile-nav .m-meta a { color: var(--blue); text-decoration: none; }
.mobile-nav .btn { width: 100%; margin-top: 1.5rem; }
body.nav-open { overflow: hidden; }

@media (max-width: 1120px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 560px) {
  :root { --header-h: 68px; }
  .site-header.is-scrolled .header-inner { height: 60px; }
  .header-inner { gap: .75rem; }
  .brand img { height: 36px; }
  .site-header.is-scrolled .brand img { height: 32px; }
  .header-cta { min-height: 42px; padding: .6rem .9rem; font-size: .75rem; letter-spacing: .08em; }
  .header-cta .long { display: none; }
  .header-cta .short { display: inline; }
}
@media (max-width: 359px) {
  .brand img { height: 30px; }
  .header-cta { padding: .55rem .7rem; }
}

/* --- Hero-Slider ----------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: min(calc(100svh - var(--header-h)), 900px);
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(2rem, 1rem + 4vw, 5rem) clamp(1.5rem, 1rem + 3vw, 4.5rem) clamp(2rem, 1rem + 3vw, 3.5rem) max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.hero h1 {
  font-family: var(--serif);
  font-size: var(--fs-hero);
  line-height: 1.1;
  letter-spacing: -.012em;
  font-weight: 380;
  font-variation-settings: "opsz" 60;
  color: var(--ink);
  max-width: 17em;
  hyphens: manual;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  margin: 1.75rem 0 2.25rem;
  font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.35; color: var(--graphite);
  padding-left: 1.25rem; border-left: 1px solid var(--blue);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

.slider-controls {
  display: flex; align-items: center; gap: 1.25rem;
  margin-top: clamp(2.5rem, 1rem + 5vw, 5.5rem); padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.slider-count { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--grey); font-variant-numeric: tabular-nums; min-width: 4.5em; }
.slider-count .current { color: var(--ink); }
.slider-dots { display: flex; gap: 6px; flex: 1; }
.slider-dot {
  position: relative; flex: 1; height: 28px; padding: 0; background: none; border: 0; cursor: pointer;
}
.slider-dot::before, .slider-dot span {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
  background: var(--line);
}
.slider-dot span { background: var(--blue); transform: scaleX(0); transform-origin: left; }
.slider-dot.is-done span { transform: scaleX(1); }
.slider-dot.is-active span { animation: fill var(--slide-ms, 7000ms) linear forwards; }
.slider.is-paused .slider-dot.is-active span,
.slider.is-static .slider-dot.is-active span { animation: none; transform: scaleX(1); }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-btn {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  background: none; border: 1px solid var(--line-strong); border-radius: 50%; cursor: pointer; color: var(--blue);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.slider-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.slider-btn svg { width: 16px; height: 16px; }
.slider-btn .i-play { display: none; }
.slider.is-paused .slider-pause .i-pause { display: none; }
.slider.is-paused .slider-pause .i-play { display: block; }

.hero-media { position: relative; overflow: hidden; background: var(--tint); touch-action: pan-y; }
.slide {
  position: absolute; inset: 0; margin: 0;
  transform: translateX(100%);
  will-change: transform;
}
.slide.is-active { transform: none; z-index: 2; }
.slide.is-animating { transition: transform 1s cubic-bezier(.65, 0, .25, 1); z-index: 3; }
.slide img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(1.06);
  transition: transform 7.5s linear;
}
.slide.is-active img { transform: scale(1); }
.slide[data-pos="schwimmerin"] { --pos: 42% 40%; }
.slide[data-pos="vater-kind"]  { --pos: 55% 30%; }
.slide[data-pos="yoga"]        { --pos: 50% 62%; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; aspect-ratio: 16 / 10; }
  .hero-copy { padding: 2.25rem var(--gutter) 2.5rem; }
  .slider-controls { margin-top: 2.25rem; }
  .slide[data-pos="schwimmerin"] { --pos: 40% 45%; }
  .slide[data-pos="vater-kind"]  { --pos: 50% 28%; }
}
@media (max-width: 560px) {
  .hero-media { aspect-ratio: 4 / 3.4; }
  .slide[data-pos="schwimmerin"] { --pos: 38% 40%; }
  .slide[data-pos="vater-kind"]  { --pos: 62% 25%; }
  .slide[data-pos="yoga"]        { --pos: 50% 70%; }
  .hero-sub { margin: 1.25rem 0 1.75rem; }
  .hero-actions .btn { width: 100%; }
  .slider-controls { gap: .75rem; }
}

/* --- Sektionen ------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section + .section { padding-top: 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: clamp(2rem, 1rem + 3vw, 4rem); }
.section-head h2 { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -.01em; }

/* Einleitung Startseite */
.intro {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(1rem, .5rem + 2vw, 2.5rem);
}
.intro-a { grid-column: 1 / span 7; }
.intro-b { grid-column: 8 / span 5; padding-top: clamp(0rem, -2rem + 10vw, 9rem); }
.intro-a p { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); font-variation-settings: "opsz" 24; }
.intro-b p { color: #3a3a3a; }
.intro-b .btn { margin-top: .75rem; }
@media (max-width: 860px) {
  .intro-a, .intro-b { grid-column: 1 / -1; padding-top: 0; }
}

/* Fachbereiche */
.disciplines { border-top: 1px solid var(--ink); counter-reset: d; }
.discipline {
  position: relative;
  display: grid; grid-template-columns: 4rem minmax(0, 4fr) minmax(0, 6fr) auto; gap: 1.5rem clamp(1rem, .5rem + 2vw, 3rem);
  align-items: baseline;
  padding: clamp(1.75rem, 1rem + 2vw, 3rem) 0;
  border-bottom: 1px solid var(--line-strong);
  text-decoration: none; color: inherit;
  isolation: isolate;
}
.discipline::before {
  content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); z-index: -1;
  background: var(--tint); transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.discipline:hover::before, .discipline:focus-visible::before { transform: scaleY(1); }
.d-num { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; color: var(--blue); font-variant-numeric: tabular-nums; }
.d-title { font-family: var(--serif); font-size: var(--fs-h3); line-height: 1.1; transition: color .3s var(--ease), transform .5s var(--ease); }
.discipline:hover .d-title { color: var(--blue); transform: translateX(6px); }
.d-text { margin: 0; color: #4a4a4a; max-width: 36rem; }
.d-more { align-self: center; }
.d-img {
  position: absolute; right: 9.5rem; top: 50%; width: 220px; aspect-ratio: 3 / 2; z-index: 2;
  transform: translateY(-50%) rotate(-2deg) scale(.94);
  opacity: 0; pointer-events: none; overflow: hidden;
  clip-path: inset(50% 0 50% 0);
  transition: clip-path .6s var(--ease), opacity .3s var(--ease), transform .6s var(--ease);
}
.d-img img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) and (min-width: 1121px) {
  .discipline:hover .d-img { opacity: 1; clip-path: inset(0 0 0 0); transform: translateY(-50%) rotate(-2deg) scale(1); }
}
@media (max-width: 860px) {
  .discipline { grid-template-columns: 2.75rem minmax(0, 1fr); gap: .75rem 1rem; }
  .d-text, .d-more { grid-column: 2; }
  .d-more { justify-self: start; }
}

/* Aktuelles (Teaser + Seite) */
.news-list { border-top: 1px solid var(--ink); }
.news-item { border-bottom: 1px solid var(--line-strong); }
.news-link {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr) auto; gap: 1rem clamp(1rem, .5rem + 2vw, 3rem);
  align-items: baseline; padding: clamp(1.5rem, 1rem + 1.5vw, 2.5rem) 0;
  text-decoration: none; color: inherit;
}
.news-source { font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.news-title { font-family: var(--serif); font-size: clamp(1.35rem, 1.1rem + .9vw, 2rem); line-height: 1.2; transition: color .3s var(--ease); }
.news-link:hover .news-title { color: var(--blue); }
.news-ext {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--grey); white-space: nowrap;
}
.news-ext svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.news-link:hover .news-ext svg { transform: translate(3px, -3px); }
@media (max-width: 760px) {
  .news-link { grid-template-columns: 1fr; gap: .6rem; }
}

/* --- Unterseiten ----------------------------------------------------------- */
.page-hero { padding: clamp(3rem, 1.5rem + 6vw, 8rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.crumbs { display: flex; gap: .6rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); font-size: .8125rem; color: var(--grey); }
.crumbs a { color: var(--grey); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs span[aria-hidden] { color: var(--grey-light); }
.page-title {
  font-family: var(--serif); font-size: var(--fs-display); line-height: 1; letter-spacing: -.02em;
  font-weight: 380; font-variation-settings: "opsz" 72;
}
.page-title .t-b {
  display: block; margin-top: .35em;
  font-size: .46em; line-height: 1.15; letter-spacing: -.005em;
  color: var(--blue); font-weight: 400;
}
.page-title.is-long { font-size: clamp(2.1rem, 1.3rem + 3vw, 4.25rem); line-height: 1.06; max-width: 20em; }

.page-image { margin: 0; }
.page-image .frame { overflow: hidden; aspect-ratio: 21 / 9; background: var(--tint); }
.page-image img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 760px) { .page-image .frame { aspect-ratio: 4 / 3; } }

.article {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(1rem, .5rem + 2vw, 2.5rem);
  padding-block: clamp(3.5rem, 2rem + 5vw, 7.5rem);
}
.article-aside { grid-column: 1 / span 3; }
.article-body { grid-column: 5 / span 7; }
.aside-sticky { position: sticky; top: calc(var(--header-h) + 2rem); display: grid; gap: 1.25rem; }
.aside-sticky .btn { width: 100%; }
.aside-meta { font-size: var(--fs-small); color: var(--grey); border-top: 1px solid var(--line); padding-top: 1.25rem; display: grid; gap: .35rem; }
.aside-meta a { color: var(--blue); text-decoration: none; }
.aside-meta a:hover { text-decoration: underline; text-underline-offset: .2em; }
.article-body > p:first-child { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); font-variation-settings: "opsz" 24; margin-bottom: 1.4em; }
.article-body p { color: #3a3a3a; }
@media (max-width: 960px) {
  .article-aside { grid-column: 1 / -1; order: 2; margin-top: 2.5rem; }
  .article-body { grid-column: 1 / -1; }
  .aside-sticky { position: static; }
  .aside-sticky .btn { width: auto; justify-self: start; }
}
@media (max-width: 560px) { .aside-sticky .btn { width: 100%; } }

.closing {
  padding: clamp(3.5rem, 2rem + 5vw, 7rem) 0;
  background: var(--tint);
}
.closing blockquote {
  margin: 0; max-width: 18em;
  font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.4vw, 4.5rem); line-height: 1.08; letter-spacing: -.015em;
  font-weight: 380; font-variation-settings: "opsz" 72; color: var(--blue);
}
.closing .btn { margin-top: 2.5rem; }

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

.badges { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.badges img { width: 96px; height: 96px; object-fit: contain; }

/* Arztprofil */
.team-intro { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(1rem, .5rem + 2vw, 2.5rem); padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.team-intro .prose { grid-column: 5 / span 7; }
.team-intro .prose p:first-child { font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.45; color: var(--ink); }
@media (max-width: 960px) { .team-intro .prose { grid-column: 1 / -1; } }

.profile { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem clamp(1rem, .5rem + 2vw, 2.5rem); padding-bottom: var(--section); }
.profile-photo { grid-column: 1 / span 5; }
.profile-photo .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.profile-photo figure { margin: 0; overflow: hidden; background: var(--tint); aspect-ratio: 4 / 5; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.profile-body { grid-column: 7 / span 6; }
.profile-name { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -.01em; margin-bottom: 2rem; }
.qual-list li { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.45; }
.qual-list li:first-child { border-top: 1px solid var(--ink); }
.member-head { margin: 2.75rem 0 1rem; }
.member-list { display: grid; gap: .5rem; font-size: var(--fs-small); color: #4a4a4a; }
.member-list li { padding-left: 1.25rem; position: relative; }
.member-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 1px; background: var(--blue); }

.bio { margin-top: 3rem; border-top: 1px solid var(--line-strong); }
.bio summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 0; font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.bio summary::-webkit-details-marker { display: none; }
.bio .plus { position: relative; width: 14px; height: 14px; }
.bio .plus::before, .bio .plus::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .4s var(--ease); }
.bio .plus::after { transform: rotate(90deg); }
.bio[open] .plus::after { transform: rotate(0deg); }
.bio-content { padding-bottom: 1rem; overflow: hidden; }
.bio-content p { color: #3a3a3a; }
@media (max-width: 960px) {
  .profile-photo, .profile-body { grid-column: 1 / -1; }
  .profile-photo .sticky { position: static; }
  .profile-photo figure { aspect-ratio: 1 / 1; max-width: 520px; }
}

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3rem clamp(1rem, .5rem + 2vw, 2.5rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.booking {
  grid-column: 1 / span 6; background: var(--blue); color: #fff;
  padding: clamp(2rem, 1.2rem + 3vw, 4rem); display: flex; flex-direction: column; justify-content: space-between; gap: 3rem;
  min-height: 360px;
}
.booking .label { color: rgba(255,255,255,.75); }
.booking h2 { font-family: var(--serif); font-size: var(--fs-h2); line-height: 1.05; margin-top: .75rem; }
.booking .btn { align-self: flex-start; }
.contact-info { grid-column: 8 / span 5; }
.contact-info address { font-style: normal; font-family: var(--serif); font-size: var(--fs-lead); line-height: 1.45; margin-bottom: 1.75rem; }
.contact-lines { border-top: 1px solid var(--ink); }
.contact-lines li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.contact-lines .k { font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); padding-top: .2rem; }
.contact-lines a { color: var(--blue); text-decoration: none; overflow-wrap: anywhere; }
.contact-lines a:hover { text-decoration: underline; text-underline-offset: .2em; }
.contact-note { margin-top: 1.75rem; color: #4a4a4a; font-size: var(--fs-small); }
@media (max-width: 960px) {
  .booking, .contact-info { grid-column: 1 / -1; }
  .booking { min-height: 0; }
}
@media (max-width: 560px) { .booking .btn { width: 100%; } }

.map-wrap { position: relative; aspect-ratio: 21 / 9; background: var(--tint); overflow: hidden; }
.map-wrap > img { width: 100%; height: 100%; object-fit: cover; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute; left: clamp(1rem, .5rem + 2vw, 2.5rem); bottom: clamp(1rem, .5rem + 2vw, 2.5rem);
  max-width: 26rem; background: #fff; padding: 1.5rem; display: grid; gap: 1rem;
}
.map-consent p { margin: 0; font-size: .875rem; line-height: 1.5; color: #4a4a4a; }
.map-consent p a { color: var(--blue); }
.map-consent .row { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 760px) {
  .map-wrap { aspect-ratio: auto; }
  .map-wrap > img { aspect-ratio: 16 / 10; height: auto; }
  .map-wrap.is-loaded { aspect-ratio: 4 / 5; }
  .map-consent { position: static; max-width: none; padding: 1.25rem 0 0; }
}

/* Rechtstexte */
.legal { padding-bottom: var(--section); }
.legal .prose h2 { font-family: var(--serif); font-size: var(--fs-h3); margin: 2.5rem 0 1rem; }
.legal .prose h3 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; margin: 2.25rem 0 .75rem; color: var(--ink); }

/* --- Footer ---------------------------------------------------------------- */
.site-footer { background: var(--blue); color: #fff; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem;
  padding-block: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(2.5rem, 1.5rem + 3vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.footer-top img { height: 56px; width: auto; }
.footer-grid {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, .5rem + 2vw, 2.5rem);
  padding-block: clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.f-col { grid-column: span 4; }
.f-col .label { color: rgba(255,255,255,.7); display: block; margin-bottom: 1rem; }
.f-col address { font-style: normal; }
.f-col p, .f-col address { margin: 0; line-height: 1.7; }
.f-col a { color: #fff; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .4s var(--ease); }
.f-col a:hover { background-size: 100% 1px; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1.5rem; margin: 0; }
.hours dt { color: rgba(255,255,255,.8); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .full { grid-column: 1 / -1; color: rgba(255,255,255,.8); }
.f-nav { display: grid; gap: .3rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  padding-block: 1.5rem 2rem; border-top: 1px solid rgba(255,255,255,.22);
  font-size: .875rem;
}
.footer-bottom a { color: rgba(255,255,255,.85); text-decoration: none; margin-right: 1.5rem; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
@media (max-width: 960px) { .f-col { grid-column: span 6; } }
@media (max-width: 620px) {
  .f-col { grid-column: 1 / -1; }
  .footer-top .btn { width: 100%; }
  .footer-top img { height: 46px; }
}

/* --- Reveal ---------------------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .slide img, .slide.is-active img { transform: none; }
  .slide { transform: none; opacity: 0; }
  .slide.is-active { opacity: 1; }
}

/* Feinschliff */
.hours dd { white-space: nowrap; }
@media (max-width: 420px) {
  .hours { grid-template-columns: 1fr; gap: 0; }
  .hours dd:not(.full) { margin-bottom: .6rem; }
}
@media (max-width: 760px) {
  .news-ext { display: none; }
}
.page-title { overflow-wrap: break-word; hyphens: manual; }
.prose a.btn { color: var(--fg); }
.booking { text-decoration: none; transition: background-color .4s var(--ease); }
.booking:hover { background: var(--blue-deep); }
.booking-title { display: block; font-family: var(--serif); font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); line-height: 1.02; letter-spacing: -.015em; font-weight: 380; }
.booking-arrow { display: block; width: clamp(56px, 4vw + 30px, 88px); transition: transform .5s var(--ease); }
.booking-arrow svg { width: 100%; height: auto; }
.booking:hover .booking-arrow { transform: translateX(10px); }

/* Slider-Steuerung (reduziert) */
.slider-controls { border-top: 0; padding-top: 0; gap: 2rem; justify-content: space-between; margin-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.slider-dots { flex: none; gap: 1.5rem; }
.slider-dot {
  flex: none; height: auto; padding: .35rem 0 .7rem; min-width: 44px; text-align: left;
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; font-variant-numeric: tabular-nums;
  color: var(--grey-light); transition: color .3s var(--ease);
}
.slider-dot::before, .slider-dot span { top: auto; bottom: 0; height: 1px; margin: 0; width: 28px; right: auto; }
.slider-dot::before { background: rgba(67,107,156,.18); }
.slider-dot.is-done span { transform: scaleX(0); }
.slider-dot.is-active { color: var(--ink); }
.slider-dot:hover { color: var(--blue); }
.slider-nav { display: flex; align-items: center; gap: .25rem; }
.slider-btn { width: 44px; height: 44px; border: 0; border-radius: 0; color: var(--graphite); background: none; }
.slider-btn:hover { background: none; color: var(--blue); }
.slider-prev svg, .slider-next svg { width: 24px; height: 12px; transition: transform .35s var(--ease); }
.slider-prev:hover svg { transform: translateX(-3px); }
.slider-next:hover svg { transform: translateX(3px); }
.slider-pause { margin-left: .5rem; }
.slider-pause svg { width: 12px; height: 12px; }
@media (max-width: 560px) { .slider-controls { gap: 1rem; } .slider-dots { gap: 1rem; } }

/* Fachbereiche: ruhiger Hover ohne Bild */
.d-img { display: none !important; }
.discipline::before { inset: auto 0 -1px 0; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.discipline:hover::before, .discipline:focus-visible::before { transform: scaleX(1); }
.discipline:hover .d-more .arrow { transform: translateX(5px); }

/* Schwebender Doctolib-Button am rechten Fensterrand */
.float-book {
  position: fixed; right: 0; top: 50%; z-index: 90;
  display: flex; flex-direction: column; align-items: center; gap: .35rem;
  padding: 1rem .8rem 1rem .9rem;
  background: var(--blue); color: #fff; text-decoration: none;
  border-radius: 3px 0 0 3px;
  box-shadow: 0 6px 24px rgba(42, 42, 42, .14);
  transform: translateY(-50%);
  transition: background-color .3s var(--ease), padding .35s var(--ease);
}
.float-book:hover { background: var(--blue-deep); padding-right: 1.1rem; }
.fb-brand { font-family: var(--sans); font-size: .9375rem; font-weight: 700; letter-spacing: -.01em; }
.fb-cta {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding-top: .35rem; border-top: 1px solid rgba(255,255,255,.35);
}
body.nav-open .float-book { opacity: 0; pointer-events: none; }
@media (max-width: 560px) {
  .float-book {
    top: auto; bottom: 16px; right: 16px; transform: none;
    flex-direction: row; gap: .6rem; padding: .75rem 1rem; border-radius: 3px;
  }
  .float-book:hover { padding-right: 1rem; }
  .fb-cta { padding: 0 0 0 .6rem; border-top: 0; border-left: 1px solid rgba(255,255,255,.35); }
  .header-cta { display: none; }
  .site-footer { padding-bottom: 72px; }
}
@media print { .float-book { display: none; } }
@media (max-width: 560px) { .nav-toggle { margin-left: auto; } }
img.fb-brand { width: 76px; height: auto; display: block; }
@media (max-width: 560px) { img.fb-brand { width: 70px; } }

/* ==========================================================================
   Überarbeitung 2: eine Schriftfamilie, einheitliche Formen
   ========================================================================== */
:root { --serif: "Instrument Sans", "Helvetica Neue", Arial, sans-serif; }
h1, h2, h3, .page-title, .hero h1, .d-title, .news-title, .profile-name, .section-head h2, .mobile-nav a.m-link {
  font-family: var(--sans); font-weight: 500; letter-spacing: -.02em; font-variation-settings: normal;
}
.hero h1 { font-size: clamp(1.75rem, 1.1rem + 1.9vw, 2.85rem); line-height: 1.15; }
.page-title { line-height: 1.05; }
.page-title .t-b { font-weight: 400; letter-spacing: -.01em; }
.hero-sub { font-family: var(--sans); font-size: var(--fs-lead); border-left: 0; padding-left: 0; color: var(--graphite); }
.lead, .article-body > p:first-child, .team-intro .prose p:first-child, .intro-a p, .contact-info address {
  font-family: var(--sans); font-variation-settings: normal; font-size: clamp(1.15rem, 1.05rem + .35vw, 1.35rem); line-height: 1.55;
}
.d-title { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.75rem); }

/* Startseite: Absätze untereinander */
.intro-stack { max-width: calc(46rem + 2 * var(--gutter)); margin-left: 0; }
.intro-stack p { font-size: clamp(1.1rem, 1.03rem + .3vw, 1.3rem); line-height: 1.6; color: var(--ink); margin-bottom: 1.2em; }
.intro-stack .btn { margin-top: .75rem; }

/* Fachbereiche ohne Nummern */
.discipline { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; }
@media (max-width: 860px) {
  .discipline { grid-template-columns: 1fr; gap: .6rem; }
  .d-text, .d-more { grid-column: 1; }
}

/* Slider-Indikatoren ohne Zahlen */
.slider-dot { min-width: 28px; width: 28px; padding: 0; height: 24px; }
.slider-dot::before, .slider-dot span { bottom: 11px; width: 28px; height: 2px; }
.slider-dots { gap: .5rem; }

/* Abschlusssatz im Text statt Zitatblock */
.closing-line { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; font-size: 1.2rem; color: var(--blue) !important; }

/* Kooperationen */
.coop { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.coop-title { font-size: var(--fs-label); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.coop .badges { margin-top: 1.5rem; padding-top: 0; border-top: 0; }

/* Kontakt ohne blaue Kachel */
.contact-info { grid-column: 1 / span 7; }
.contact-info > .btn { margin-top: 2rem; }
@media (max-width: 960px) { .contact-info { grid-column: 1 / -1; } }
@media (max-width: 560px) { .contact-info > .btn { width: 100%; } }
.contact-note a { color: var(--blue); }

/* Zu Gast im Fernsehen */
.tv { padding-bottom: var(--section); scroll-margin-top: calc(var(--header-h) + 24px); }
.section-title { font-size: var(--fs-h2); line-height: 1.1; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); }
.tv-feature {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(1.25rem, 1rem + 2vw, 3rem); align-items: center;
  padding: 0 0 clamp(1.5rem, 1rem + 1.5vw, 2.5rem); border-top: 1px solid var(--ink); padding-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem);
}
.tv-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.tv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.tv-text { display: grid; gap: .75rem; }
.tv-note { margin: 0; font-size: var(--fs-small); color: var(--grey); }
.tv .news-list { border-top: 1px solid var(--line-strong); }
.news-title { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.6rem); }
@media (max-width: 760px) { .tv-feature { grid-template-columns: 1fr; } }
.intro-stack { max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; }
.intro-stack > * { max-width: 46rem; }
.slider-dot::before { background: rgba(67,107,156,.28); }
@media (max-width: 420px) {
  .hours { grid-template-columns: auto 1fr; gap: .25rem 1.25rem; }
  .hours dd:not(.full) { margin-bottom: 0; }
}

/* Hinweis-Pop-up */
.hn-overlay {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: var(--gutter);
  background: rgba(42, 42, 42, .45); opacity: 0; transition: opacity .3s var(--ease);
}
.hn-overlay.is-in { opacity: 1; }
.hn-box {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100svh - 2 * var(--gutter)); overflow-y: auto;
  background: #fff; padding: clamp(1.75rem, 1.2rem + 2.5vw, 3rem);
  border-top: 4px solid var(--blue);
  transform: translateY(12px); transition: transform .4s var(--ease);
}
.hn-overlay.is-in .hn-box { transform: none; }
.hn-x { position: absolute; top: .75rem; right: .75rem; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--graphite); }
.hn-x:hover { color: var(--blue); }
.hn-x svg { width: 16px; height: 16px; }
.hn-logo { height: 44px; width: auto; margin-bottom: 1.75rem; }
.hn-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.15; color: var(--blue); margin-bottom: .6rem; }
.hn-text { font-size: 1.125rem; line-height: 1.5; color: var(--ink); margin: 0 0 1rem; white-space: pre-line; }
.hn-range { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.1; color: var(--blue); margin: 0 0 1rem; }
.hn-extra { font-size: var(--fs-small); color: #4a4a4a; margin: 0 0 1rem; padding-top: 1rem; border-top: 1px solid var(--line); white-space: pre-line; }
.hn-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hn-preview { margin: 1.25rem 0 0; font-size: .8125rem; color: var(--grey); }
body.hn-open { overflow: hidden; }
@media (max-width: 480px) { .hn-actions .btn { width: 100%; } }
