/* =====================================================================
   Mit Hand & Fuß – Patientenportal der Orthopädie am Kolbeplatz
   Gestaltung „Atlas“: Weiß und helles Grau. Farbe trägt nur der Auftakt (Banner), im Verlauf
   der bisherigen Website: linear-gradient(135deg, #133b4a, #0d6e6e). Akzente aus denselben Tönen.
   Schrift: Lato (SIL Open Font License), lokal ausgeliefert.
   ===================================================================== */

@font-face { font-family: "Lato"; font-style: normal; font-weight: 300; font-display: swap; src: url("fonts/lato-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 300; font-display: swap; src: url("fonts/lato-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/lato-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 700; font-display: swap; src: url("fonts/lato-latin-700-italic.woff2") format("woff2"); }

:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-2: #e9eef0;
  --ink: #0e1b18;
  --ink-2: #3c4945;
  --ink-3: #5f6c68;

  --brand: #133b4a;
  --brand-2: #0d6e6e;
  --brand-soft: #e2f0ef;
  --mint: #c6ece6;
  --banner: linear-gradient(135deg, #133b4a 0%, #0d6e6e 100%);

  --op: #2b5a7c;
  --op-deep: #1d4260;
  --op-soft: #e7eef4;
  --op-line: #c4d4e1;

  --line: #dce2e5;
  --line-2: #c4cdd2;

  --g: #2f8559;
  --y: #d39a1c;
  --r: #b8392c;
  --r-soft: #fbefec;

  --accent: var(--brand-2);
  --accent-deep: #0a5353;
  --accent-soft: var(--brand-soft);
  --accent-line: #c2dddb;

  --r-1: 8px;
  --r-2: 8px;
  --r-3: 10px;

  --sh-1: 0 1px 2px rgba(14, 27, 24, 0.06), 0 1px 1px rgba(14, 27, 24, 0.04);
  --sh-2: 0 18px 40px -18px rgba(14, 27, 24, 0.28), 0 2px 6px rgba(14, 27, 24, 0.05);

  --sans: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Lato", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-body: 1.1875rem;
  --fs-small: 1rem;
  --fs-xs: 0.9375rem;

  --wrap: 1280px;
  --gutter: clamp(18px, 4vw, 48px);
  --section: clamp(72px, 9vw, 136px);
  --head-h: 80px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html[data-size="l"] { font-size: 112.5%; }
html[data-size="xl"] { font-size: 125%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; text-wrap: balance; overflow-wrap: break-word; }
p, li, dd { text-wrap: pretty; }
a { color: var(--brand-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
strong, b { font-weight: 650; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mint); color: var(--ink); }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.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 { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--brand); color: #fff; padding: 12px 18px; border-radius: var(--r-1); font-weight: 600; }
.skip:focus { top: 12px; color: #fff; }

.section-title {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-size: clamp(2rem, 1.35rem + 2.1vw, 3.125rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 64px;
  align-items: end;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.section-head__text { margin: 0; color: var(--ink-2); max-width: 52ch; justify-self: end; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: inherit; font-weight: 600; font-size: var(--fs-small); line-height: 1.2;
  text-decoration: none; border-radius: 999px; padding: 14px 24px; cursor: pointer;
  border: 1px solid transparent; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn .icon { transition: transform 0.25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--mint); color: var(--brand); }
.btn--quiet { background: var(--surface); border-color: var(--line-2); color: var(--ink); padding: 9px 16px; font-size: var(--fs-xs); }
.btn--quiet:hover { border-color: var(--ink-3); color: var(--ink); }

/* ================================================================ Kopf */

.site-head {
  position: sticky; top: 0; z-index: 30;
  background: rgba(243, 245, 244, 0.86);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 27, 24, 0.35); }
.site-head__bar { display: flex; align-items: center; gap: 32px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; flex: none; }
.brand:hover { color: var(--ink); }
.brand__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); }
.brand__mark img { height: 32px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; }
.brand__sub { font-size: 0.875rem; color: var(--ink-3); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav__list a {
  display: block; padding: 8px 12px; border-radius: var(--r-1);
  color: var(--ink-2); text-decoration: none; font-weight: 550; font-size: 1.0625rem;
  transition: color 0.15s, background-color 0.15s;
}
.site-nav__list a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav__list a[aria-current="page"] { color: var(--brand); background: var(--brand-soft); }
.site-nav__tools { display: flex; align-items: center; gap: 14px; }
.textsize { display: flex; align-items: center; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.textsize button {
  font: inherit; font-weight: 650; line-height: 1; border: 0; background: transparent; color: var(--ink-2);
  width: 32px; height: 30px; border-radius: 999px; cursor: pointer; padding: 0;
}
.textsize button:nth-child(1) { font-size: 0.8125rem; }
.textsize button:nth-child(2) { font-size: 1rem; }
.textsize button:nth-child(3) { font-size: 1.1875rem; }
.textsize button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--sh-1); }
.call {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 10px 18px; border-radius: 999px; font-variant-numeric: tabular-nums; transition: background-color 0.2s;
}
.call:hover { background: var(--brand-2); color: #fff; }

.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface); cursor: pointer; place-items: center; }
.menu-btn__icon, .menu-btn__icon::before, .menu-btn__icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform 0.25s var(--ease), background-color 0.2s; }
.menu-btn__icon { position: relative; }
.menu-btn__icon::before, .menu-btn__icon::after { content: ""; position: absolute; left: 0; }
.menu-btn__icon::before { top: -6px; }
.menu-btn__icon::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__icon::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__icon::after { transform: translateY(-6px) rotate(-45deg); }

/* ================================================================ Weiter mit Ihrem Plan */

.resume[hidden] { display: none; }
.resume { padding-top: 16px; }
.resume__link {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px 8px 8px; color: var(--ink); text-decoration: none; width: fit-content; max-width: 100%;
  box-shadow: var(--sh-1); font-size: var(--fs-small);
}
.resume__label { background: var(--brand); color: #fff; font-weight: 600; font-size: 0.875rem; padding: 4px 12px; border-radius: 999px; }
.resume__title { font-weight: 600; }
.resume__link .icon { color: var(--brand-2); transition: transform 0.25s var(--ease); }
.resume__link:hover { color: var(--ink); border-color: var(--line-2); }
.resume__link:hover .icon { transform: translateX(3px); }

/* ================================================================ Startseite */

.hero { padding: clamp(40px, 6vw, 88px) 0 var(--section); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; font-size: var(--fs-small); font-weight: 600; color: var(--brand-2); }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.hero__title {
  font-family: var(--serif); font-optical-sizing: auto;
  font-size: clamp(2.875rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02;
}
.hero__lead { font-size: clamp(1.1875rem, 1.05rem + 0.45vw, 1.4375rem); line-height: 1.55; color: var(--ink-2); margin: 24px 0 40px; max-width: 34em; }

.search { position: relative; max-width: 560px; }
.search__label { display: block; font-weight: 600; font-size: var(--fs-small); margin-bottom: 10px; }
.search__field {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-2);
  padding: 0 18px; box-shadow: var(--sh-2); transition: border-color 0.2s, box-shadow 0.2s;
}
.search__field .icon { width: 22px; height: 22px; color: var(--ink-3); }
.search__field:focus-within { border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(31, 107, 87, 0.15), var(--sh-2); }
.search__field input {
  flex: 1; min-width: 0; height: 64px; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 1.1875rem; color: var(--ink); -webkit-appearance: none; appearance: none;
}
.search__field input::placeholder { color: #8a9692; }
.search__results {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20;
  list-style: none; margin: 0; padding: 6px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-2); box-shadow: var(--sh-2);
}
.search__results[hidden] { display: none; }
.search__results a {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 14px; border-radius: var(--r-1); color: var(--ink); text-decoration: none;
}
.search__results a:hover, .search__results a:focus-visible { background: var(--brand-soft); outline: none; }
.search__title { font-weight: 600; line-height: 1.35; }
.search__region { flex: none; font-size: 0.875rem; color: var(--ink-3); }
.search__empty { padding: 12px 14px; color: var(--ink-2); font-size: var(--fs-small); }

.mosaic { list-style: none; margin: 0; padding: 0 0 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.mosaic li:nth-child(2), .mosaic li:nth-child(4) { transform: translateY(36px); }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--r-3);
  aspect-ratio: 1 / 1.08; background: #3a4146; color: #fff; text-decoration: none; isolation: isolate;
  box-shadow: var(--sh-2);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 18, 15, 0) 45%, rgba(8, 18, 15, 0.82) 100%); z-index: 1; }
.tile__body { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.tile__name { font-family: var(--serif); font-size: clamp(1.25rem, 1rem + 0.7vw, 1.625rem); font-weight: 600; line-height: 1.15; }
.tile__meta { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.82); }
.tile:hover img { transform: scale(1.05); }
.tile:hover { color: #fff; }
.tile:focus-visible { outline-offset: 4px; }

.finder { background: var(--surface); padding: var(--section) 0; border-block: 1px solid var(--line); }
.finder__status { min-height: 1.5em; margin: -24px 0 16px; font-weight: 600; color: var(--brand-2); }
.finder__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 36px; }
.finder__col h3 { font-family: var(--sans); font-size: 1.125rem; font-weight: 650; margin-bottom: 8px; }
.finder__col h3 a { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.finder__col h3 img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.finder__dot { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); flex: none; position: relative; }
.finder__dot::after { content: ""; position: absolute; inset: 12px; border-radius: 50%; border: 2px solid var(--mint); }
.finder__col h3 a:hover { color: var(--brand-2); }
.finder__col ul { list-style: none; margin: 0; padding: 0; }
.finder__col li a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); text-decoration: none; line-height: 1.35; font-size: 1.0625rem; transition: color 0.15s; }
.finder__col li a:hover { color: var(--brand-2); }
.finder__col li a span { display: none; font-size: 0.875rem; color: var(--ink-3); }
.finder.is-searching .finder__col li a span { display: block; }
.finder__col.is-empty { opacity: 0.4; }
.finder__col [hidden] { display: none; }

.howto { padding: var(--section) 0; }
.howto__steps { list-style: none; counter-reset: step; margin: 0 0 clamp(48px, 6vw, 88px); padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.howto__steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: 32px 30px 34px; }
.howto__steps li::before {
  content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 26px;
  border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-family: var(--serif); font-weight: 600; font-size: 1.25rem;
}
.howto__steps h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 10px; }
.howto__steps p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }

/* ================================================================ Schmerzlineal */

.pain {
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2.2fr); gap: 24px clamp(32px, 5vw, 80px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3);
  padding: clamp(24px, 4vw, 56px);
}
.pain__title { font-family: var(--serif); font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }
.ruler__intro { margin: 0 0 28px; color: var(--ink-2); }
.ruler__hint { display: none; color: var(--ink); font-weight: 600; }
.js .ruler__hint { display: inline; }
.ruler__strip { position: relative; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-2); padding: 0 6px; }
.ruler__scale {
  position: relative; z-index: 1; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr));
  background-image: repeating-linear-gradient(90deg, var(--line-2) 0, var(--line-2) 1px, transparent 1px, transparent calc(100% / 110));
  background-size: 100% 7px; background-repeat: no-repeat;
}
.ruler__n {
  position: relative; -webkit-appearance: none; appearance: none; border: 0; background: transparent; cursor: pointer;
  font-family: var(--sans); font-weight: 650; font-size: clamp(1.0625rem, 0.9rem + 0.6vw, 1.375rem); line-height: 1;
  color: var(--ink-2); padding: 28px 0 16px; font-variant-numeric: tabular-nums; border-radius: var(--r-1); transition: color 0.15s;
}
.ruler__n::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; width: 2px; height: 15px; background: var(--ink-3); border-radius: 0 0 2px 2px; }
.ruler__n:hover, .ruler__n[aria-checked="true"] { color: var(--ink); }
.ruler__n:focus-visible { outline-offset: -4px; }
.ruler__band { display: grid; grid-template-columns: 4fr 2fr 5fr; gap: 3px; height: 8px; margin: 0 0 12px; position: relative; z-index: 1; }
.ruler__band span { border-radius: 999px; }
.ruler__band span:nth-child(1) { background: var(--g); }
.ruler__band span:nth-child(2) { background: var(--y); }
.ruler__band span:nth-child(3) { background: var(--r); }
.ruler__slider {
  position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 11);
  transform: translateX(calc(var(--v, 0) * 100%));
  background: var(--surface); border-radius: var(--r-1); box-shadow: 0 0 0 2px var(--brand-2), var(--sh-2);
  opacity: 0; transition: transform 0.45s cubic-bezier(0.3, 1.25, 0.5, 1), opacity 0.2s; pointer-events: none;
}
.ruler.has-value .ruler__slider { opacity: 1; }
.ruler__ends { display: flex; justify-content: space-between; gap: 16px; font-size: 0.875rem; color: var(--ink-3); margin-top: 12px; }

ul.ampel { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
ul.ampel li {
  display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 4px 20px;
  padding: 16px 20px; border-radius: var(--r-2); background: var(--bg); border: 1px solid transparent;
  transition: opacity 0.25s, background-color 0.25s, border-color 0.25s;
}
.ampel__g { --zone: var(--g); }
.ampel__y { --zone: var(--y); }
.ampel__r { --zone: var(--r); }
.zone__label { display: flex; align-items: center; gap: 12px; font-weight: 650; white-space: nowrap; align-self: start; }
.zone__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--zone); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--zone) 18%, transparent); }
.zone__text { color: var(--ink-2); font-size: var(--fs-small); }
.ruler.has-value ul.ampel li { opacity: 0.45; }
.ruler.has-value ul.ampel li.is-active { opacity: 1; background: var(--surface); border-color: color-mix(in srgb, var(--zone) 45%, transparent); box-shadow: var(--sh-1); }
ul.ampel li.is-active .zone__text { color: var(--ink); }

/* ================================================================ Startseite: Biologische Therapie & Praxis */

.bio-teaser { background: var(--brand); color: rgba(255, 255, 255, 0.82); padding: var(--section) 0; }
.bio-teaser :focus-visible { outline-color: var(--mint); }
.bio-teaser__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; }
.bio-teaser .section-title { color: #fff; max-width: 16ch; }
.bio-teaser__head p { margin: 0; max-width: 52ch; justify-self: end; }
.bio-teaser__head strong { color: #fff; font-weight: 600; }
.bio-teaser__list { list-style: none; margin: clamp(40px, 5vw, 72px) 0 48px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bio-teaser__list a {
  display: block; height: 100%; padding: 28px 26px 30px; border-radius: var(--r-3);
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit; text-decoration: none; transition: background-color 0.2s, border-color 0.2s;
}
.bio-teaser__list a:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(159, 211, 189, 0.5); color: inherit; }
.bio-teaser__name { display: block; font-family: var(--serif); color: #fff; font-size: 1.5rem; font-weight: 600; line-height: 1.15; margin-bottom: 10px; }
.bio-teaser__text { display: block; font-size: var(--fs-small); }

.practice { padding: var(--section) 0; }
.practice__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.practice__lead { color: var(--ink-2); max-width: 52ch; margin: 24px 0 32px; }
.doctors { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.doctors li { display: flex; flex-direction: column; gap: 2px; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); color: var(--ink-2); font-size: var(--fs-small); }
.doctors strong { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; color: var(--ink); }
.practice__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(28px, 3.5vw, 44px); box-shadow: var(--sh-2); }
.practice__card h3 { font-family: var(--sans); font-size: 0.9375rem; font-weight: 650; color: var(--ink-3); margin-bottom: 14px; }
.practice__card h3:not(:first-child) { margin-top: 36px; }
.practice__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: clamp(1.875rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 600; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.practice__phone .icon { width: 28px; height: 28px; color: var(--brand-2); }
.practice__phone:hover { color: var(--brand-2); }
.practice__line { display: flex; gap: 12px; align-items: flex-start; margin: 10px 0; color: var(--ink-2); font-size: var(--fs-small); }
.practice__line .icon { margin-top: 3px; color: var(--ink-3); }
.friends { list-style: none; margin: 0; padding: 0; }
.friends a { display: flex; flex-direction: column; padding: 12px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.friends a span { font-size: 0.9375rem; color: var(--ink-3); }
.friends a:hover strong { color: var(--brand-2); }

/* ================================================================ Regionsseite */

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: var(--fs-xs); color: var(--ink-3); margin-bottom: 28px; }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--brand-2); text-decoration: underline; }

.r-hero { padding: clamp(32px, 4vw, 56px) 0 var(--section); }
.r-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.r-hero__title { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(2.875rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }
.r-hero__sub { font-size: 1.25rem; font-weight: 600; color: var(--brand-2); margin: 16px 0 18px; }
.r-hero__lead { color: var(--ink-2); margin: 0; max-width: 36em; }
.r-hero__extra { margin: 20px 0 0; font-weight: 600; }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 36px 0 0; max-width: 520px; }
.facts-row div { border-top: 1px solid var(--line-2); padding-top: 12px; }
.facts-row dt { font-size: 0.9375rem; color: var(--ink-3); }
.facts-row dd { margin: 2px 0 0; font-family: var(--serif); font-size: 2.125rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }

.atlas { margin: 0; }
.atlas__plate { position: relative; }
.atlas__plate img { width: 100%; border-radius: var(--r-3); background: #3a4146; box-shadow: var(--sh-2); }
.atlas--narrow .atlas__plate { max-width: 440px; margin-inline: auto; }
.atlas figcaption { font-size: 0.875rem; color: var(--ink-3); margin-top: 14px; max-width: 60ch; }
.pin {
  position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--brand); font-weight: 700; font-size: 1rem; text-decoration: none; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.28), 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s;
}
.pin:hover, .pin:focus-visible, .pin.is-hot { transform: translate(-50%, -50%) scale(1.15); background: var(--brand); color: #fff; z-index: 3; }
.pin[aria-current="true"] { background: var(--brand); color: #fff; }
.pin__label {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translate(-50%, 4px);
  background: var(--ink); color: #fff; font-size: 0.875rem; font-weight: 600; line-height: 1.3; padding: 6px 10px; border-radius: var(--r-1);
  white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.15s, transform 0.2s var(--ease);
}
.pin:hover .pin__label, .pin:focus-visible .pin__label, .pin.is-hot .pin__label { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: no-preference) {
  .js .pin { animation: pin-in 0.5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms + 200ms); }
  @keyframes pin-in { from { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
}

.conds { padding: 0 0 var(--section); }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.legend a {
  display: flex; flex-direction: column; height: 100%; padding: 24px 24px 22px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3);
  color: var(--ink); text-decoration: none; transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.legend a:hover, .legend a.is-hot { border-color: var(--line-2); box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--ink); }
.legend a[aria-current="true"] { border-color: var(--brand-2); box-shadow: 0 0 0 1px var(--brand-2); }
.legend__num { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 18px; }
.legend a[aria-current="true"] .legend__num { background: var(--brand); color: #fff; }
.legend__name { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; line-height: 1.2; }
.legend__what { color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; margin-top: 8px; }
.legend__go { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-size: 0.9375rem; font-weight: 600; color: var(--brand-2); }
.legend__go .icon { transition: transform 0.25s var(--ease); }
.legend a:hover .legend__go .icon { transform: translateX(4px); }

/* ---------------------------------------------------------------- Bevor Sie üben */

.before { padding: var(--section) 0; background: var(--surface-2); }
.before .pain { box-shadow: var(--sh-1); }
.sheet { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.sheet__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: 30px 30px 26px; }
.sheet__title { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 16px; }
.sheet__item--op .sheet__title { color: var(--op-deep); }
.sheet ul, .alarm ul { list-style: none; margin: 0; padding: 0; }
.sheet li, .alarm li { position: relative; padding-left: 26px; margin: 0 0 12px; font-size: var(--fs-small); color: var(--ink-2); }
.sheet li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 7px;
  border-left: 2px solid var(--brand-2); border-bottom: 2px solid var(--brand-2); transform: rotate(-45deg);
}
.sheet__item--op li::before { border-color: var(--op); }
.sheet li strong { color: var(--ink); }
.sheet p { margin: 0 0 10px; font-size: var(--fs-small); }

.alarm {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px clamp(32px, 5vw, 80px);
  margin-top: 16px; background: var(--r-soft); border: 1px solid #f0d3cd; border-radius: var(--r-3); padding: clamp(26px, 4vw, 48px);
}
.alarm__title { font-family: var(--serif); font-size: 1.75rem; color: var(--r); margin-bottom: 18px; }
.alarm__main ul { columns: 2 240px; column-gap: 40px; }
.alarm__main li { break-inside: avoid; }
.alarm li::before { content: ""; position: absolute; left: 4px; top: 0.6em; width: 7px; height: 7px; border-radius: 50%; background: var(--r); }
.alarm__call { background: var(--surface); border-radius: var(--r-2); padding: 8px 22px; box-shadow: var(--sh-1); align-self: start; }
.alarm__num { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.alarm__label { font-weight: 600; color: var(--ink-2); font-size: var(--fs-small); }
.alarm__digits { font-family: var(--serif); font-weight: 600; font-size: 1.75rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.alarm__num:hover { color: var(--ink); }
.alarm__num:hover .alarm__digits { color: var(--brand-2); }
.alarm__num--112 { border-bottom: 0; }
.alarm__num--112 .alarm__digits, .alarm__num--112:hover .alarm__digits { color: var(--r); font-size: 2.75rem; line-height: 1; }
.alarm__note { font-size: var(--fs-xs); color: var(--ink-2); margin: 0 0 14px; }

/* ---------------------------------------------------------------- Kapitel */

.chapters-band { background: var(--surface); border-bottom: 1px solid var(--line); }
.chapters { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 0 clamp(40px, 5vw, 88px); padding-block: var(--section); align-items: start; }
.chapters__picker { display: none; }
.print-head { display: none; }

.toc { position: sticky; top: calc(var(--head-h) + 24px); }
.toc__title { font-family: var(--serif); font-weight: 600; font-size: 1.375rem; margin: 0 0 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a {
  display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 9px 12px 9px 8px; border-radius: var(--r-1); color: var(--ink-2); text-decoration: none; font-size: 1.0625rem; font-weight: 500; line-height: 1.3;
  transition: background-color 0.15s, color 0.15s;
}
.toc__num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-size: 0.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--bg); color: var(--ink); }
.toc a[aria-current="true"] { background: var(--brand-soft); color: var(--brand); font-weight: 650; }
.toc a[aria-current="true"] .toc__num { background: var(--brand); color: #fff; }
.toc__call { display: flex; align-items: center; gap: 10px; margin-top: 24px; padding: 14px 16px; border-radius: var(--r-2); background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 600; font-size: var(--fs-xs); }
.toc__call .icon { color: var(--brand-2); }
.toc__call:hover { background: var(--brand-soft); color: var(--brand); }

.js .chapter:not(.is-active) { display: none; }
.chapter { scroll-margin-top: calc(var(--head-h) + 16px); }
.no-js .chapter + .chapter { margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) {
  .js .chapter.is-active { animation: chapter-in 0.35s var(--ease); }
  @keyframes chapter-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
}
.chapter__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; margin-bottom: 32px; }
.chapter__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 1.375rem; margin-top: 4px; font-variant-numeric: tabular-nums; }
.chapter__title { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
.chapter__aside { margin: 10px 0 0; color: var(--ink-3); font-size: 1.125rem; }

.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 28px; border-radius: var(--r-3); overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.glance > div { background: var(--bg); padding: 22px 26px; }
.glance dt { font-size: 0.9375rem; font-weight: 650; color: var(--brand-2); margin-bottom: 4px; }
.glance dd { margin: 0; font-size: var(--fs-small); color: var(--ink); }

.figure { margin: 28px 0; max-width: 520px; }
.figure img { width: 100%; border-radius: var(--r-2); border: 1px solid var(--line); background: #fff; }
.figure figcaption { font-size: 0.875rem; color: var(--ink-3); margin-top: 10px; }

/* 3D-Animationen */
.figure--motion { max-width: 760px; margin: 32px 0; }
.motion { position: relative; border-radius: var(--r-3); overflow: hidden; background: #eef2f0; box-shadow: var(--sh-2); aspect-ratio: 16 / 9; }
.motion__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.motion__toggle {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-size: 0.8125rem; font-weight: 650; color: var(--ink);
  background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px 7px 12px; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
}
.motion__toggle::before { content: ""; width: 10px; height: 10px; flex: none; background: linear-gradient(90deg, var(--ink) 0 35%, transparent 35% 65%, var(--ink) 65%); }
.motion.is-paused .motion__toggle::before { background: var(--ink); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.motion__play { display: none; }
.motion.is-paused .motion__play { display: inline; }
.motion.is-paused .motion__pause { display: none; }
.motion:hover .motion__toggle, .motion__toggle:focus-visible, .motion.is-paused .motion__toggle { opacity: 1; }
@media (hover: none) { .motion__toggle { opacity: 1; } }

/* Erklaervideos (Animationsfilme mit Sprecherstimme) */
.erklaer { margin: 8px 0 32px; max-width: 760px; }
.erklaer__film { border-radius: var(--r-3); overflow: hidden; background: #0f2f3b; box-shadow: var(--sh-2); aspect-ratio: 16 / 9; }
.erklaer video { display: block; width: 100%; height: 100%; }
.erklaer figcaption { display: flex; flex-wrap: wrap; gap: 2px 14px; margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }
.erklaer figcaption b { color: var(--ink); font-weight: 650; }
.erklaer--klein { max-width: 560px; margin: 14px 0 22px; }

.more { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 16px 0; }
.more + .more { margin-top: -17px; }
.more > summary { display: flex; align-items: center; gap: 12px; padding: 18px 0; font-weight: 600; color: var(--ink); list-style: none; cursor: pointer; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231f3d70' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease);
}
.more[open] > summary::before { transform: rotate(45deg); }
.more > summary:hover { color: var(--brand-2); }
.more > div { padding: 0 0 22px 38px; }
.more p, .more li { max-width: 68ch; font-size: var(--fs-small); }

/* Behandlung umschalten */
.no-js .tabs { display: none; }
.tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 5px; margin-top: 44px; background: var(--surface-2); border-radius: var(--r-2); }
.tab {
  font: inherit; text-align: left; display: flex; flex-direction: column; gap: 1px; padding: 12px 18px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink-3); cursor: pointer; transition: background-color 0.2s, box-shadow 0.2s;
}
.tab__kind { font-weight: 650; font-size: 1.0625rem; color: var(--ink-2); }
.tab__label { font-size: 0.875rem; line-height: 1.35; }
.tab:hover .tab__kind { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--surface); box-shadow: var(--sh-1), 0 0 0 1px var(--line); }
.tab--kons[aria-selected="true"] .tab__kind { color: var(--brand); }
.tab--op[aria-selected="true"] .tab__kind { color: var(--op); }

.plan { --accent: var(--brand-2); --accent-deep: var(--brand); --accent-soft: var(--brand-soft); --accent-line: #c6dcd3; margin-top: 36px; scroll-margin-top: calc(var(--head-h) + 16px); }
.plan--op { --accent: var(--op); --accent-deep: var(--op-deep); --accent-soft: var(--op-soft); --accent-line: var(--op-line); }
.js .tabs ~ .plan:not(.is-active) { display: none; }
.no-js .plan + .plan { margin-top: 64px; }
.plan__title { font-family: var(--serif); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.125rem); font-weight: 600; line-height: 1.15; margin-bottom: 14px; color: var(--ink); }
.plan__goal { max-width: 70ch; margin: 0 0 16px; color: var(--ink-2); }
.plan__goal strong { color: var(--ink); }

.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
.steps a { display: block; height: 100%; padding: 14px 4px 0 0; border-top: 4px solid var(--step, var(--accent)); color: var(--ink); text-decoration: none; line-height: 1.3; }
.steps li:nth-child(1), .stage[data-step="1"] { --step: #a3d3cf; }
.steps li:nth-child(2), .stage[data-step="2"] { --step: #4c9d9a; }
.steps li:nth-child(3), .stage[data-step="3"] { --step: #0d6e6e; }
.steps li:nth-child(4), .stage[data-step="4"] { --step: #0a4a4f; }
.plan--op .steps li:nth-child(1), .plan--op .stage[data-step="1"] { --step: #a9c3d8; }
.plan--op .steps li:nth-child(2), .plan--op .stage[data-step="2"] { --step: #5a87aa; }
.plan--op .steps li:nth-child(3), .plan--op .stage[data-step="3"] { --step: #2b5a7c; }
.steps__lead { display: block; font-weight: 650; font-size: 1rem; }
.steps__title { display: block; font-size: 0.9375rem; color: var(--ink-3); }
.steps a:hover .steps__lead { color: var(--accent); }

.plan__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 28px 0 8px; padding: 14px 18px; background: var(--bg); border-radius: var(--r-2); }
.plan__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.progress { display: flex; align-items: center; gap: 14px; }
.progress__bar { width: 150px; height: 8px; background: var(--surface-2); border-radius: 999px; overflow: hidden; flex: none; }
.progress__bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width 0.45s var(--ease); }
.progress__text { font-size: var(--fs-xs); color: var(--ink-2); }
.progress__text b { color: var(--ink); font-weight: 700; }

.opdate { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 28px; align-items: center; margin: 28px 0 8px; padding: 22px 26px; background: var(--op-soft); border: 1px solid var(--op-line); border-radius: var(--r-2); }
.opdate__field label { display: block; font-weight: 650; font-size: 0.9375rem; color: var(--op-deep); margin-bottom: 6px; }
.opdate__field input { font: inherit; font-weight: 600; color: var(--ink); padding: 10px 14px; min-height: 50px; border: 1px solid var(--op-line); border-radius: var(--r-1); background: var(--surface); }
.opdate__field input:focus { outline: 3px solid rgba(43, 90, 124, 0.3); border-color: var(--op); }
.opdate__out { margin: 0; color: var(--ink-2); font-size: var(--fs-small); }
.opdate.is-set .opdate__out { color: var(--ink); }
.opdate__clear { grid-column: 2; justify-self: start; }

.stage { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin: 56px 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); position: relative; scroll-margin-top: calc(var(--head-h) + 16px); }
.stage::before { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 3px; border-radius: 3px; background: var(--step, var(--accent)); }
.stage__lead { font-size: 0.875rem; font-weight: 700; color: var(--accent-deep); background: var(--accent-soft); padding: 3px 10px; border-radius: 999px; }
.stage__title { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1.2; }
.stage.is-now .stage__lead { background: var(--accent); color: #fff; }
.stage.is-now::after { content: "Ihre aktuelle Phase"; font-size: 0.875rem; font-weight: 650; color: var(--accent); }

/* Übungen */
.exlist { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); overflow: hidden; }
.ex { display: grid; grid-template-columns: 60px minmax(0, 1fr); border-top: 1px solid var(--line); transition: background-color 0.25s; }
.ex:first-child { border-top: 0; }
.ex__tick { -webkit-appearance: none; appearance: none; border: 0; background: transparent; display: flex; justify-content: center; align-items: flex-start; padding: 20px 0 0; cursor: pointer; }
.ex__box { width: 24px; height: 24px; border: 1.5px solid var(--line-2); border-radius: 7px; background: var(--surface); display: grid; place-items: center; transition: background-color 0.15s, border-color 0.15s, transform 0.12s; }
.ex__tick:hover .ex__box { border-color: var(--accent); }
.ex__tick:active .ex__box { transform: scale(0.9); }
.ex__tick:focus-visible { outline-offset: -8px; }
.ex__tick[aria-pressed="true"] .ex__box { background: var(--accent); border-color: var(--accent); }
.ex__tick[aria-pressed="true"] .ex__box::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff; transform: translateY(-1.5px) rotate(-45deg); }
@media (prefers-reduced-motion: no-preference) {
  .ex.just-done .ex__box { animation: tick-pop 0.4s cubic-bezier(0.34, 1.6, 0.5, 1); }
  @keyframes tick-pop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }
}
.ex.is-done { background: color-mix(in srgb, var(--accent-soft) 55%, transparent); }
.ex.is-done .ex__name { color: var(--ink-2); }
.ex__det { min-width: 0; }
.ex__sum { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto 22px; gap: 14px; align-items: start; padding: 18px 22px 18px 0; cursor: pointer; list-style: none; }
.ex__sum::-webkit-details-marker { display: none; }
.ex__num { font-weight: 700; font-size: 1rem; color: var(--ink-3); padding-top: 3px; font-variant-numeric: tabular-nums; }
.ex__num--dot::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--line-2); }
.ex__head { min-width: 0; }
.ex__name { display: block; font-weight: 650; font-size: 1.1875rem; line-height: 1.35; transition: color 0.15s; }
.ex__sum:hover .ex__name { color: var(--accent); }
.ex__dose { display: block; color: var(--ink-3); font-size: var(--fs-xs); line-height: 1.5; margin-top: 3px; }
.ex__tag { font-size: 0.8125rem; font-weight: 650; line-height: 1.3; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--ink-2); margin-top: 3px; max-width: 15rem; text-align: right; }
.ex__chev { width: 22px; height: 22px; display: grid; place-items: center; margin-top: 3px; }
.ex__chev::before { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--ink-3); border-bottom: 2px solid var(--ink-3); transform: translateY(-2px) rotate(45deg); transition: transform 0.25s var(--ease); }
.ex__det[open] .ex__chev::before { transform: translateY(2px) rotate(225deg); }
.ex__body { padding: 0 22px 24px 44px; }
.ex__rows { margin: 0; display: grid; background: var(--bg); border-radius: var(--r-1); padding: 4px 20px; }
.ex__rows > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.ex__rows > div:first-child { border-top: 0; }
.ex__rows dt { font-weight: 650; color: var(--accent-deep); font-size: var(--fs-xs); }
.ex__rows dd { margin: 0; font-size: var(--fs-small); max-width: 62ch; }
.ex__body > p, .ex__body > ul { max-width: 68ch; font-size: var(--fs-small); }
.ex__later { font-size: var(--fs-xs); font-weight: 650; color: var(--op-deep); margin: 14px 0 0; }
.ex__later[hidden] { display: none; }
.ex.is-later .ex__name, .ex.is-later .ex__dose { color: var(--ink-3); }
.ex.is-later .ex__tag { background: var(--op-soft); color: var(--op-deep); }
.ex__grid { display: none; }

/* Zeitstrahl */
.tl { list-style: none; margin: 28px 0 8px; padding: 0; }
.tl__item { position: relative; padding: 0 0 30px 44px; }
.tl__item::before { content: ""; position: absolute; left: 11px; top: 16px; bottom: -6px; width: 2px; background: var(--accent-line); }
.tl__item:last-child::before { display: none; }
.tl__item::after { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); }
.tl__when { font-weight: 700; font-size: 1.125rem; margin: 0 0 4px; color: var(--accent-deep); line-height: 1.3; }
.tl__body { max-width: 66ch; font-size: var(--fs-small); color: var(--ink-2); }
.tl__body ul { padding-left: 1.2em; margin: 6px 0 0; }
.tl__body li { margin: 4px 0; }
.tl__body li.yes, .tl__body li.no, .tl__body li.info { list-style: none; position: relative; }
.tl__body li.yes::before, .tl__body li.no::before, .tl__body li.info::before { position: absolute; left: -1.3em; font-weight: 700; }
.tl__body li.yes::before { content: "✓"; color: var(--g); }
.tl__body li.no::before { content: "✕"; color: var(--r); }
.tl__body li.info::before { content: "•"; color: var(--ink-3); }
.tl__item.is-past::after { background: var(--accent); }
.tl__item.is-past .tl__when { color: var(--ink-3); }
.tl__item.is-now::after { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 22%, transparent); }
.tl__now { display: inline-block; margin: 12px 0 0; font-size: 0.8125rem; font-weight: 700; background: var(--accent); color: #fff; padding: 3px 12px; border-radius: 999px; }
.tl__now[hidden] { display: none; }

.facts { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 8px; font-size: var(--fs-small); color: var(--ink-2); }
.facts b, .facts strong { color: var(--ink); }
.variant { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin: 48px 0 8px; color: var(--accent-deep); }

.note { margin: 28px 0; padding: 24px 28px; background: var(--bg); border-radius: var(--r-2); }
.note--warn { background: #fbf4e3; }
.note--op { background: var(--op-soft); }
.note h4 { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; margin-bottom: 10px; }
.note p { margin: 6px 0; max-width: 70ch; font-size: var(--fs-small); }
.note ul { list-style: none; padding: 0; margin: 10px 0 0; }
.note li { position: relative; padding-left: 22px; margin: 8px 0; max-width: 68ch; font-size: var(--fs-small); }
.note li::before { content: ""; position: absolute; left: 4px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.links { margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); }
.links h4 { font-family: var(--serif); font-size: 1.375rem; font-weight: 600; margin-bottom: 14px; }
.links ul { padding-left: 1.2em; margin: 16px 0; font-size: var(--fs-small); }
.links li { margin: 6px 0; }
.links__note { font-size: 0.875rem; color: var(--ink-3); margin: 12px 0 0; max-width: 80ch; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.video { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px; background: var(--bg); border-radius: var(--r-2); color: var(--ink); text-decoration: none; transition: background-color 0.2s; }
.video:hover { background: var(--surface-2); color: var(--ink); }
.video__play { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); box-shadow: var(--sh-1); position: relative; }
.video__play::after { content: ""; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--accent); }
.video__title { display: block; font-weight: 650; line-height: 1.35; font-size: var(--fs-small); }
.video__src { display: block; font-size: 0.875rem; color: var(--ink-3); margin-top: 3px; }

.table-wrap { overflow-x: auto; margin: 16px 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); }
.table { border-collapse: collapse; width: 100%; font-size: var(--fs-small); }
.table th, .table td { text-align: left; vertical-align: top; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table th { font-weight: 650; width: 42%; }
.table tr:first-child th, .table tr:first-child td { background: var(--bg); font-weight: 650; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 64px; }
.pager a { display: block; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-2); color: var(--ink); text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 1.25rem; line-height: 1.25; transition: border-color 0.2s, box-shadow 0.2s; }
.pager a:hover { border-color: var(--line-2); box-shadow: var(--sh-2); color: var(--ink); }
.pager a span { display: block; font-family: var(--sans); font-weight: 500; font-size: 0.875rem; color: var(--ink-3); margin-bottom: 4px; }
.pager__next { text-align: right; grid-column: 2; }

.sources { padding: 48px 0 72px; }
.sources__inner { font-size: var(--fs-xs); color: var(--ink-3); }
.sources__inner > * { max-width: 92ch; }
.sources__inner p { margin: 0 0 12px; }
.sources .links { margin: 0 0 32px; padding-top: 0; border-top: 0; }

/* ================================================================ Biologische Therapie & Rechtstexte */

.page-hero { padding: clamp(32px, 4vw, 56px) 0 clamp(56px, 7vw, 96px); }
.page-hero__title { font-family: var(--serif); font-optical-sizing: auto; font-size: clamp(2.875rem, 1.5rem + 4.6vw, 5.25rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; max-width: 14ch; }
.page-hero__sub { font-size: 1.25rem; font-weight: 600; color: var(--brand-2); margin: 16px 0 18px; }
.page-hero__lead { font-size: 1.25rem; color: var(--ink-2); max-width: 40em; margin: 0; }
.bio-nav { list-style: none; padding: 0; margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bio-nav a { display: block; height: 100%; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); color: var(--ink); text-decoration: none; transition: box-shadow 0.25s, transform 0.25s var(--ease); }
.bio-nav a:hover { box-shadow: var(--sh-2); transform: translateY(-2px); color: var(--ink); }
.bio-nav__name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1.375rem; line-height: 1.2; }
.bio-nav__text { display: block; font-size: var(--fs-xs); color: var(--ink-3); margin-top: 6px; }
.bio-overview { background: var(--surface); border-block: 1px solid var(--line); padding: var(--section) 0; }
.bio-overview .section-title { margin-bottom: 20px; }
.prose-wide > p { max-width: 70ch; color: var(--ink-2); }
.bio-section { padding: var(--section) 0; border-bottom: 1px solid var(--line); }
.bio-section:nth-of-type(even) { background: var(--surface); }
.bio-section__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(40px, 6vw, 96px); }
.bio-section__head { position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
.bio-section__title { font-family: var(--serif); font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; }
.bio-section__sub { color: var(--brand-2); font-weight: 600; font-size: 1.125rem; margin: 12px 0 0; }
.bio-section__body > p { max-width: 66ch; margin: 0 0 18px; }
.bio-section__body .figure { max-width: 720px; }
.fact { border-top: 1px solid var(--line); }
.bio-section__body > .fact:last-of-type { border-bottom: 1px solid var(--line); }
.fact__sum { display: flex; align-items: center; gap: 16px; padding: 18px 0; list-style: none; cursor: pointer; }
.fact__sum::-webkit-details-marker { display: none; }
.fact__name { font-weight: 650; font-size: 1.1875rem; margin-right: auto; }
.fact__sum:hover .fact__name { color: var(--brand-2); }
.fact__tag { font-size: 0.8125rem; font-weight: 650; padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); white-space: nowrap; }
.fact__sum::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%231f3d70' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 1v10M1 6h10'/%3E%3C/svg%3E");
  transition: transform 0.25s var(--ease);
}
.fact[open] > .fact__sum::after { transform: rotate(45deg); }
.fact__body { padding: 0 0 22px; }
.fact__rows { margin: 0; display: grid; background: var(--bg); border-radius: var(--r-1); padding: 4px 20px; }
.fact__rows > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line); }
.fact__rows > div:first-child { border-top: 0; }
.fact__rows dt { font-weight: 650; color: var(--brand); font-size: var(--fs-xs); }
.fact__rows dd { margin: 0; font-size: var(--fs-small); }
.list { padding-left: 1.2em; }
.list li { margin: 6px 0; }

.legal { padding: 0 0 var(--section); }
.prose { max-width: 72ch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-3); padding: clamp(28px, 4vw, 56px); }
.prose h2 { font-family: var(--serif); font-size: 1.625rem; margin: 40px 0 10px; }
.prose h3 { font-size: 1.25rem; margin: 32px 0 8px; }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 14px; }

/* ================================================================ Fuß */

.site-foot { background: #0b1714; color: rgba(255, 255, 255, 0.7); padding: clamp(56px, 7vw, 96px) 0 36px; font-size: var(--fs-small); }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { color: var(--mint); text-decoration: underline; }
.site-foot :focus-visible { outline-color: var(--mint); }
.site-foot__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.site-foot__brand { display: flex; align-items: center; gap: 16px; }
.site-foot__brand img { height: 52px; width: auto; }
.site-foot__brand p { margin: 0; display: flex; flex-direction: column; }
.site-foot__brand strong { font-family: var(--serif); color: #fff; font-size: 1.5rem; font-weight: 600; }
.site-foot__call { display: flex; flex-direction: column; font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); font-weight: 600; line-height: 1.1; text-align: right; font-variant-numeric: tabular-nums; }
.site-foot__call span { font-family: var(--sans); font-size: 0.875rem; font-weight: 500; color: rgba(255, 255, 255, 0.6); margin-bottom: 4px; }
.site-foot__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; padding: 40px 0; }
.site-foot__h { font-size: 0.9375rem; font-weight: 650; color: #fff; margin-bottom: 14px; }
.site-foot p { margin: 0 0 12px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin: 0 0 8px; }
.site-foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.875rem; color: rgba(255, 255, 255, 0.55); }
.site-foot__legal p { margin: 0; }


/* ================================================================ Atlas-Design (v4): Kopf, Auftakt, Fuß */

.section-title, .r-hero__title, .page-hero__title, .chapter__title, .bio-section__title, .hero__title { font-weight: 300; letter-spacing: -0.02em; }
.btn { border-radius: 6px; }
:focus-visible { outline-color: #d6a73c; }

/* Kopf: hell wie die Seite. Das Zeichen sitzt auf einer kleinen Kachel im Ton des Banners. */
.site-head { background: rgba(245, 247, 248, 0.92); border-bottom-color: var(--line); }
.brand__mark { background: var(--banner); border-radius: 10px; }
.brand__mark img { width: auto; height: 32px; }
.brand__name { font-weight: 700; }
.site-nav__list a { font-weight: 400; }
.call { background: var(--surface); color: var(--ink); border: 1px solid var(--line-2); }
.call:hover { background: var(--brand-soft); color: var(--ink); }

/* Auftakt der Unterseiten: das Banner, als einzige farbige Fläche */
.r-hero, .page-hero { background: var(--banner); color: #fff; border-radius: 0 0 28px 28px; }
.r-hero { padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: var(--section); }
.r-hero__title, .page-hero__title { color: #fff; }
.r-hero__sub, .page-hero__sub { color: var(--mint); font-weight: 400; }
.r-hero__lead, .page-hero__lead { color: #e9f6f4; }
.r-hero a, .page-hero a:not(.bio-nav a) { color: #fff; }
.crumbs, .crumbs a { color: var(--mint); }
.crumbs a:hover { color: #fff; }
.facts-row div { border-top-color: rgba(198, 236, 230, 0.4); }
.facts-row dt { color: var(--mint); }
.facts-row dd { font-weight: 300; color: #fff; }
.atlas__plate { max-width: 420px; margin-left: auto; }
.atlas__plate img { background: var(--surface-2); border-radius: var(--r-2); box-shadow: none; }
.atlas figcaption { max-width: 420px; margin-left: auto; }
.atlas figcaption, .atlas figcaption a { color: var(--mint); font-size: 0.8125rem; }
.page-hero { margin-bottom: 0; }
.legal { padding-top: clamp(40px, 5vw, 72px); }
.bio-nav a { border-color: transparent; }
.bio-nav__name { color: var(--ink); }

.legend a { border-radius: var(--r-2); }
.legend a:hover { transform: none; border-color: var(--brand-2); box-shadow: none; }
.legend__name { font-weight: 700; }
.motion { background: var(--surface-2); }

/* Fuß: hellgrau, ohne Farbfläche */
.site-foot { background: var(--surface-2); color: var(--ink-2); border-top: 1px solid var(--line); }
.site-foot a { color: var(--ink); }
.site-foot a:hover { color: var(--brand-2); }
.site-foot :focus-visible { outline-color: #d6a73c; }
.site-foot__top, .site-foot__legal { border-color: var(--line-2); }
.site-foot__brand img { box-sizing: content-box; height: 40px; padding: 6px 10px; border-radius: 10px; background: var(--banner); }
.site-foot__brand strong, .site-foot__h { color: var(--ink); }
.site-foot__brand strong, .site-foot__call { font-weight: 300; }
.site-foot__brand strong { font-weight: 700; }
.site-foot__call { color: var(--ink); }
.site-foot__call span, .site-foot__legal { color: var(--ink-3); }
/* Hinweis auf die Speicherung im Browser und Knopf zum Löschen (nur mit JavaScript: ohne wird nichts gespeichert) */
.site-foot__speicher { display: none; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding: 0 0 24px; font-size: 0.875rem; color: var(--ink-3); }
.js .site-foot__speicher { display: flex; }
.site-foot__speicher p { margin: 0; max-width: 62ch; }
.site-foot__speicher a { text-decoration: underline; }
.speicher { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.speicher__stand { font-size: 0.875rem; color: var(--ink-2); }
.no-js .prose .speicher { display: none; }
.prose h4 { font-size: 1.0625rem; font-weight: 700; margin: 24px 0 8px; }

/* ================================================================ Punkte auf der Abbildung */

.atlas__hint { display: block; color: #fff; font-size: 0.9375rem; line-height: 1.45; margin-bottom: 8px; }
.atlas__plate, .atlas figcaption { max-width: 460px; }
.pin { width: 28px; height: 28px; font-size: 0.875rem; background: var(--brand); color: #fff; box-shadow: 0 0 0 2px #fff, 0 3px 10px rgba(14, 27, 24, 0.32); }
.pin:hover, .pin:focus-visible, .pin.is-hot { background: var(--brand-2); }
.pin[aria-current="true"] { background: #d6a73c; color: var(--ink); }
.pin:focus-visible { outline: 3px solid #d6a73c; outline-offset: 4px; }
.pin__label { z-index: 4; }
.pin--links .pin__label { left: -4px; transform: translate(0, 4px); }
.pin--rechts .pin__label { left: auto; right: -4px; transform: translate(0, 4px); }
.pin--links:hover .pin__label, .pin--links:focus-visible .pin__label, .pin--links.is-hot .pin__label,
.pin--rechts:hover .pin__label, .pin--rechts:focus-visible .pin__label, .pin--rechts.is-hot .pin__label { transform: translate(0, 0); }

/* ================================================================ Ausklapper für Werkzeuge und Merkblätter */

.klappen { display: grid; gap: 10px; margin-bottom: 16px; }
.klapp { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-2); }
.klapp__kopf { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 18px; padding: 18px 58px 18px 24px; cursor: pointer; list-style: none; border-radius: var(--r-2); }
.klapp__kopf::-webkit-details-marker { display: none; }
.klapp__kopf:hover { background: var(--bg); }
.klapp__kopf:focus-visible { outline: 3px solid #d6a73c; outline-offset: 2px; }
.klapp__titel, .klapp__kopf h3 { margin: 0; font-size: 1.125rem; font-weight: 700; line-height: 1.3; color: var(--ink); }
.klapp__text { color: var(--ink-3); font-size: var(--fs-small); line-height: 1.4; }
.klapp__zeichen { position: absolute; right: 24px; top: 50%; width: 11px; height: 11px; margin-top: -9px; border: solid var(--brand-2); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform 0.2s var(--ease), margin-top 0.2s var(--ease); }
.klapp[open] > .klapp__kopf .klapp__zeichen { transform: rotate(225deg); margin-top: -3px; }
.klapp[open] > .klapp__kopf { border-bottom: 1px solid var(--line); border-radius: var(--r-2) var(--r-2) 0 0; }
.klapp__inhalt { padding: 24px; }
.klapp--merk .sheet { margin-top: 0; }
.klapp--merk .sheet__item { background: var(--bg); border-color: transparent; }
.klapp--werkzeug { margin: 28px 0 8px; background: var(--bg); border-color: transparent; }
.klapp--werkzeug + .klapp--werkzeug { margin-top: 8px; }
.klapp--werkzeug > .klapp__kopf { padding: 13px 52px 13px 18px; }
.klapp--werkzeug > .klapp__kopf:hover { background: var(--surface-2); }
.klapp--werkzeug .klapp__titel { font-size: 1rem; }
.klapp--werkzeug .klapp__zeichen { right: 20px; }
.klapp--werkzeug .klapp__inhalt { padding: 16px 18px; }
.klapp--werkzeug .plan__tools, .klapp--werkzeug .opdate { margin: 0; padding: 0; background: none; border: 0; }
.klapp--werkzeug .klapp__text.progress__text { font-size: var(--fs-xs); }
.progress__hint { font-size: var(--fs-xs); color: var(--ink-2); }
.klapp--op { background: var(--op-soft); border-color: var(--op-line); }
.klapp--op > .klapp__kopf:hover { background: var(--op-soft); filter: brightness(0.97); }
.klapp--op .klapp__titel { color: var(--op-deep); }
.klapp--op .klapp__zeichen { border-color: var(--op); }
.klapp--op[open] > .klapp__kopf { border-bottom-color: var(--op-line); }

/* ================================================================ Responsiv */

@media (max-width: 1240px) {
  .site-nav__list a { padding-inline: 9px; }
  .textsize { display: none; }
  .finder__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bio-teaser__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pain { grid-template-columns: minmax(0, 1fr); }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  :root { --head-h: 68px; }
  .site-head { position: relative; }
  .menu-btn { display: grid; }
  .site-head__bar { flex-wrap: wrap; gap: 12px 16px; }
  .site-nav { display: none; }
  .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 20px; width: 100%; padding: 8px 0 24px; }
  .site-nav__list { flex-direction: column; gap: 2px; }
  .site-nav__list a { padding: 14px 12px; font-size: 1.25rem; }
  .site-nav__tools { justify-content: space-between; }
  .textsize { display: flex; }

  .hero__grid, .r-hero__grid, .practice__grid { grid-template-columns: minmax(0, 1fr); }
  .mosaic { padding-bottom: 0; }
  .mosaic li:nth-child(2), .mosaic li:nth-child(4) { transform: none; }
  .section-head { grid-template-columns: minmax(0, 1fr); }
  .section-head__text { justify-self: start; }
  .howto__steps { grid-template-columns: minmax(0, 1fr); }
  .bio-teaser__head { grid-template-columns: minmax(0, 1fr); }
  .bio-teaser__head p { justify-self: start; }
  .alarm { grid-template-columns: minmax(0, 1fr); }
  .atlas__plate { max-width: 600px; }

  .chapters { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .toc { display: none; }
  .chapters__picker {
    display: flex; align-items: center; gap: 12px; position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    margin: 0 calc(-1 * var(--gutter)) 40px; padding: 12px var(--gutter); border-bottom: 1px solid var(--line);
  }
  .chapters__picker label { font-weight: 650; font-size: var(--fs-xs); color: var(--ink-3); }
  .chapters__picker select {
    flex: 1; min-width: 0; font: inherit; font-weight: 600; color: var(--ink); padding: 11px 40px 11px 14px;
    border: 1px solid var(--line-2); border-radius: var(--r-1);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1b18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px;
    -webkit-appearance: none; appearance: none;
  }
  html { scroll-padding-top: 16px; }
  .chapter, .plan, .stage { scroll-margin-top: 92px; }

  .bio-section__grid { grid-template-columns: minmax(0, 1fr); }
  .bio-section__head { position: static; }
  .bio-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --fs-body: 1.125rem; }
  p, li, dd, td { -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 12 5 5; }
  .brand__sub { display: none; }
  .call span { display: none; }
  .resume__link { border-radius: var(--r-2); }
  .call { padding: 12px; }
  .hero__title, .r-hero__title, .page-hero__title { font-size: clamp(2.5rem, 12vw, 3.25rem); }
  .mosaic { gap: 10px; }
  .tile { border-radius: var(--r-2); }
  .tile__body { left: 14px; right: 14px; bottom: 12px; }
  .tile__meta { font-size: 0.8125rem; }
  .search__field input { height: 58px; font-size: 1.0625rem; }
  .search__results a { flex-direction: column; gap: 0; }

  .finder__cols { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .bio-teaser__list { grid-template-columns: minmax(0, 1fr); }
  .facts-row dd { font-size: 1.75rem; }

  .ruler__strip { padding: 0 2px; }
  .ruler__slider { left: 2px; width: calc((100% - 4px) / 11); }
  .ruler__scale { background-image: repeating-linear-gradient(90deg, var(--line-2) 0, var(--line-2) 1px, transparent 1px, transparent calc(100% / 22)); }
  .ruler__n { font-size: 1rem; padding: 24px 0 12px; }
  .ruler__n::before { height: 12px; }
  ul.ampel li { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet__item { padding: 24px 22px 20px; }
  .alarm__main ul { columns: 1; }

  .pin { width: 24px; height: 24px; font-size: 0.8125rem; box-shadow: 0 0 0 1.5px #fff, 0 2px 6px rgba(14, 27, 24, 0.32); }
  .pin__label { display: none; }
  .klapp__kopf { padding: 16px 50px 16px 18px; }
  .klapp__zeichen { right: 20px; }
  .klapp__inhalt { padding: 18px; }
  .klapp--werkzeug .klapp__inhalt { padding: 14px 16px; }
  .klapp--werkzeug .progress { flex-wrap: wrap; gap: 8px; }
  .klapp--werkzeug .progress__bar { flex: 1 1 100%; }
  .legend { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .legend a { padding: 20px; }

  .glance { grid-template-columns: minmax(0, 1fr); }
  .glance > div { padding: 18px 20px; }
  .chapter__head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .chapter__num { width: 44px; height: 44px; font-size: 1.125rem; }
  .chapter__title { font-size: 2rem; }
  .more > div { padding-left: 0; }
  .tab { padding: 10px 12px; }
  .tab__kind { font-size: 1rem; }
  .tab__label { font-size: 0.8125rem; }
  .steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; }
  .steps a { border-top: 0; border-left: 4px solid var(--step, var(--accent)); padding: 8px 0 8px 14px; margin-bottom: 6px; }
  .progress { flex: 1 1 100%; }
  .progress__bar { flex: 1 1 auto; width: auto; }

  .ex { grid-template-columns: 50px minmax(0, 1fr); }
  .ex__tick { padding-top: 17px; }
  .ex__sum { grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 10px; padding: 16px 14px 16px 0; }
  .ex__tag { grid-column: 2; grid-row: 2; justify-self: start; max-width: none; text-align: left; }
  .ex__chev { grid-column: 3; grid-row: 1; }
  .ex__body { padding: 0 14px 18px 0; }
  .ex__rows { padding: 2px 14px; }
  .ex__rows > div, .fact__rows > div { grid-template-columns: minmax(0, 1fr); }
  .ex__name { font-size: 1.125rem; }
  .note { padding: 20px; }
  .opdate { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .opdate__clear { grid-column: 1; }

  .pager { grid-template-columns: minmax(0, 1fr); }
  .pager__next { grid-column: 1; text-align: left; }
  .bio-nav { grid-template-columns: minmax(0, 1fr); }
  .site-foot__call { text-align: left; }
  .site-foot__grid { grid-template-columns: minmax(0, 1fr); }
}

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

/* ================================================================ Druck: Übungsplan zum Abhaken */

@media print {
  @page { margin: 14mm 14mm 16mm; }
  html, html[data-size] { font-size: 10.5pt; }
  body { background: #fff; color: #000; line-height: 1.45; }
  .site-head, .site-foot, .resume, .r-hero, .conds, .before, .toc, .chapters__picker, .tabs, .pager,
  .plan__tools, .steps, .opdate, .klapp--werkzeug, .finder, .skip, .links, .sources, .more, .figure, .glance,
  .ex__tick, .ex__chev, .tl__now, .ex__later { display: none !important; }
  .chapters-band { border: 0; }
  .chapters { display: block; padding: 0; }
  .print-head { display: flex !important; justify-content: space-between; border-bottom: 2px solid #000; padding-bottom: 6px; margin-bottom: 14px; font-size: 0.9rem; }
  .chapter:not(.is-active) { display: none !important; }
  .js .plan:not(.is-active) { display: none !important; }
  .chapter__head { margin-bottom: 10px; }
  .chapter__num { width: 30px; height: 30px; font-size: 1rem; background: none; color: #000; border: 1.5px solid #000; }
  .chapter__title { font-size: 1.8rem; }
  .plan { margin-top: 10px; }
  .plan__title { font-size: 1.4rem; }
  .stage { margin: 16px 0 6px; break-after: avoid; }
  .stage.is-now::after { content: none; }
  .exlist { border: 1px solid #888; border-radius: 4px; }
  .ex { grid-template-columns: 1fr; break-inside: avoid; background: none !important; }
  .ex__sum { grid-template-columns: 22px minmax(0, 1fr) auto; padding: 8px 10px 4px; }
  .ex__body { padding: 0 10px 8px 36px; display: block !important; }
  .ex__rows { background: none; padding: 0; }
  .ex__rows > div { grid-template-columns: 120px 1fr; padding: 3px 0; border-top: 0; }
  .ex__rows dt { color: #000; }
  .ex__grid { display: flex !important; align-items: center; gap: 4px; margin-top: 8px; }
  .ex__grid span { width: 26px; height: 22px; border: 1px solid #000; border-radius: 2px; font-size: 6.5pt; padding: 1px 0 0 2px; color: #444; }
  .ex__grid .ex__grid-label { width: auto; height: auto; border: 0; font-size: 7.5pt; padding: 0 4px 0 0; }
  .tl__item { break-inside: avoid; padding-bottom: 10px; }
  .note { break-inside: avoid; background: none !important; border: 1px solid #999; }
  a { color: #000; text-decoration: none; }
}

@media (max-width: 1024px) {
  .site-nav { order: 3; }            /* Menüknopf bleibt oben rechts, das offene Menü folgt darunter */
  .site-nav.is-open { background: transparent; }
}
@media (max-width: 680px) {
  .facts-row { gap: 10px; }
  .facts-row dt { font-size: 0.8125rem; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; }
  .atlas__plate, .atlas figcaption { max-width: none; }
}

/* Brotkrumen auf den Seiten der Krankheitsbilder (helle Fläche, nicht der dunkle Seitenkopf) */
.crumbs--cond { margin: 20px 0 0; }
.crumbs--cond, .crumbs--cond a { color: var(--ink-3); }
.crumbs--cond a:hover { color: var(--brand-2); }
.wrap:has(> .crumbs--cond) + .chapters-band .chapters { padding-top: calc(var(--section) * 0.45); }
