/* ==========================================================================
   Kleintierfachpraxis Dr. Kriegleder – Vorschau
   Grundlage: Vorlage „Serene“ (Framer), Werte aus blueprint.md übernommen,
   für ältere Nutzer angehoben (Labels ≥ 14 px, Fließtext ≥ 17 px, Tippflächen ≥ 44 px).
   Feinschliff 11/2026: Labels in Satzschreibung, eine Inhaltsbreite, 4-px-Raster,
   Navy nur für Telefon und Links, Gewichte 400/500.
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Bewegung · 5 Layout ·
           6 Komponenten · 7 Header/Menü · 8 Sektionen Start · 9 Footer · 10 Hilfen
   ========================================================================== */

/* 1 · Schriften (selbst gehostet, OFL, variabel, latin + latin-ext) -------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-variabel.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-variabel-latin-ext.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-variabel.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-variabel-latin-ext.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* 2 · Tokens --------------------------------------------------------------- */
:root {
  /* Farben */
  --c-creme: #F6F3EC;          /* Grund */
  --c-flaeche: #ECE6DC;        /* warme Fläche: Sektion 2, Karte, Hinweis-Band */
  --c-text: #181412;           /* Text, starke Linien, Buttons, dunkle Sektion, Footer */
  --c-text-2: #665A52;         /* Sekundärtext (6,0:1 auf Creme, 5,4:1 auf Fläche) */
  --c-linie: rgba(24, 20, 18, .14);
  --c-linie-hell: rgba(236, 230, 220, .2);
  --c-gold: #B7A574;           /* nur dekorativ + Telefon-Band-Fläche, nie Text auf Creme */
  --c-navy: #272D68;           /* gemessen aus logo-kl-neu-2x (39,45,104): 11,4:1 auf Creme, 5,2:1 auf Gold */
  --c-btn-hover: #2E2622;
  --c-auf-dunkel: #ECE6DC;
  --c-head-dunkel: #F6F3EC;

  /* Schrift */
  --f-serif: "Cormorant Garamond", ui-serif, Georgia, "Times New Roman", serif;
  --f-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-h1: 72px;    --lh-h1: .98;  --ls-h1: -2px;
  --fs-h2: 52px;    --lh-h2: 1.02; --ls-h2: -1.4px;
  --fs-h3: 32px;    --lh-h3: 1.12; --ls-h3: -0.64px;
  --fs-text: 17px;  --lh-text: 1.65;
  --fs-ui: 16px;    --lh-ui: 1.6;  --ls-ui: 0;
  --fs-label: 14px; --lh-label: 1.4; --ls-label: .01em;

  /* Raster (4-px-Schritte) */
  --wrap: 1120px;              /* eine Inhaltsbreite: Header, alle Sektionen, Footer */
  --wrap-schmal: var(--wrap);  /* früher 1072 px – jetzt gleiche linke Kante */
  --pad-x: 24px;
  --sek-y: 88px;
  --sek-y-dunkel: 96px;

  /* Bewegung: eine Kurve (ease-out) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dauer-intro: 400ms;
  --dauer-hover: 160ms;

  --radius: 0;
  --header-h: 76px;
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 42px; --ls-h1: -0.8px;
    --fs-h2: 36px; --ls-h2: -0.9px;
    --fs-h3: 26px; --ls-h3: -0.4px;
    --sek-y: 64px;
    --sek-y-dunkel: 72px;
    --header-h: 64px;
  }
}

/* 3 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
body {
  margin: 0;
  background: var(--c-creme);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--c-text);
  text-wrap: balance;
  hyphens: manual;
  font-variant-numeric: lining-nums;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); letter-spacing: var(--ls-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: 500; }
p { max-width: 68ch; text-wrap: pretty; }
strong { font-weight: 600; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--c-navy); outline-offset: 3px; }
.sek--dunkel :focus-visible, .fuss :focus-visible { outline-color: var(--c-gold); }

::selection { background: var(--c-gold); color: var(--c-text); }

/* Textlinks: Unterstreichung blendet in 160 ms ein (none → underline) */
.link,
.nav__link,
.fuss a,
.textlink {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dauer-hover) var(--ease), color var(--dauer-hover) var(--ease);
}
.link:hover, .nav__link:hover, .fuss a:hover, .textlink:hover,
.nav__link[aria-current="page"] { text-decoration-color: currentColor; }

/* Fließtext-Links sind immer unterstrichen (erkennbar ohne Farbe) */
.textlink { text-decoration-color: currentColor; color: var(--c-navy); }
.textlink:hover { text-decoration-thickness: 2px; }

/* 4 · Bewegung ------------------------------------------------------------- */
/* Intro: Seite blendet von halbtransparent auf voll (Filmstreifen der Vorlage, ≤ 400 ms) */
@keyframes intro-fade { from { opacity: .5; } to { opacity: 1; } }
.kopf, main { animation: intro-fade var(--dauer-intro) var(--ease) both; }

/* Seitenwechsel: Cross-Document View Transitions (Überblenden alt → neu) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--dauer-intro);
  animation-timing-function: var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .kopf, main { animation: none; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}

/* 5 · Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad-x)); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap--schmal { max-width: calc(var(--wrap-schmal) + 2 * var(--pad-x)); }
.sek { padding-block: var(--sek-y); }
.sek--flaeche { background: var(--c-flaeche); }
.sek--dunkel { background: var(--c-text); color: var(--c-auf-dunkel); padding-block: var(--sek-y-dunkel); }
.sek--dunkel h2, .sek--dunkel h3 { color: var(--c-head-dunkel); }

/* 6 · Komponenten ---------------------------------------------------------- */

/* Dachzeile: 6×6 Gold-Quadrat + Label 14 px */
.dachzeile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text-2);
  margin: 0 0 20px;
}
.dachzeile::before {
  content: "";
  flex: none;
  width: 6px; height: 6px;
  background: var(--c-gold);
}
.sek--dunkel .dachzeile { color: var(--c-auf-dunkel); }

/* Label (14 px, Satzschreibung) */
.label {
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text-2);
}

/* Bildunterschrift */
.bild figcaption {
  margin-top: 12px;
  font-size: var(--fs-label);
  line-height: 1.45;
  letter-spacing: var(--ls-label);
  font-weight: 400;
  color: var(--c-text-2);
}
.sek--dunkel .bild figcaption { color: var(--c-auf-dunkel); }
.bild img { width: 100%; object-fit: cover; background: var(--c-flaeche); }

/* Button: eckig, dunkel, ≥ 48 px */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid var(--c-text);
  border-radius: var(--radius);
  background: var(--c-text);
  color: var(--c-creme);
  font-family: var(--f-sans);
  font-size: var(--fs-ui);
  line-height: 1.25;
  font-weight: 500;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--dauer-hover) var(--ease), border-color var(--dauer-hover) var(--ease), color var(--dauer-hover) var(--ease);
}
.btn:hover { background: var(--c-btn-hover); border-color: var(--c-btn-hover); }
.btn--hell { background: var(--c-creme); color: var(--c-text); border-color: var(--c-creme); }
.btn--hell:hover { background: var(--c-flaeche); border-color: var(--c-flaeche); }
.btn svg { width: 16px; height: 16px; flex: none; }

.aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.aktionen .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* Infotabelle / Praxisschild: Label | Wert, Haarlinien */
.infotabelle { border-top: 1px solid var(--c-text); }
.infotabelle__zeile {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-linie);
}
.infotabelle dt {
  flex: none;
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text-2);
}
.infotabelle dd {
  font-size: var(--fs-text);
  line-height: 1.4;
  color: var(--c-text);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.infotabelle dd a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-block: -12px;
  color: var(--c-navy);
  font-weight: 500;
}
.infotabelle__zeile--hinweis dd { font-size: 16px; }

/* Nummerierte Liste (Signature): Nr. + Serif-Titel, Tag rechts leise */
.nliste { border-top: 1px solid var(--c-text); counter-reset: nl; }
.nliste__eintrag {
  padding: 28px 0;
  border-bottom: 1px solid var(--c-linie);
}
.nliste__kopf {
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 16px;
  align-items: start;
}
.nliste__nr {
  font-family: var(--f-serif);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--c-text);
}
.nliste__titel { font-size: var(--fs-h3); }
.nliste__tag {
  padding-top: 8px;
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text-2);
  text-align: right;
}
@media (min-width: 1024px) { .nliste__tag { white-space: nowrap; } }
.nliste__text { margin-top: 12px; color: var(--c-text-2); }
.nliste__text p + p, .nliste__text p + ul, .nliste__text ul + p { margin-top: 8px; }
.nliste__punkte li { position: relative; padding-left: 20px; }
.nliste__punkte li::before {
  content: "";
  position: absolute; left: 0; top: .82em;
  width: 8px; height: 1px;
  background: var(--c-text-2);
}
.nliste__mehr { margin-top: 8px; }
.nliste__mehr .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* Notiz: ruhiger Hinweis im Inhalt (Fläche, Linie oben, keine Signalfarbe) */
.notiz {
  padding: 16px 20px 20px;
  background: var(--c-flaeche);
  border-top: 1px solid var(--c-text);
  color: var(--c-text);
}
.notiz .label { display: block; margin-bottom: 4px; color: var(--c-text); }
.notiz p:not(.label) { color: var(--c-text); }
.nliste__text .notiz { margin-bottom: 12px; }
.chirurgie__notiz { margin-bottom: 32px; }

/* Akkordeon (natives details/summary, ohne Höhenanimation) */
.akkordeon { border-top: 1px solid var(--c-text); }
.akkordeon details { border-bottom: 1px solid var(--c-linie); }
.akkordeon summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  min-height: 64px;
  padding: 20px 8px;
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  line-height: 1.45;
  color: var(--c-text);
}
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::after {
  content: "Öffnen";
  flex: none;
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text-2);
}
.akkordeon details[open] summary::after { content: "Schließen"; }
.akkordeon__inhalt { padding: 0 8px 24px; color: var(--c-text-2); }
.akkordeon__inhalt > * + * { margin-top: 12px; }

/* Hinweis-Band: ruhig, Fläche, Haarlinien – kein Rot, kein Icon */
.hinweis {
  background: var(--c-flaeche);
  border-block: 1px solid var(--c-linie);
  padding: 48px var(--pad-x);
}
.hinweis__inner {
  max-width: var(--wrap-schmal);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
}
.hinweis .dachzeile { margin: 12px 0 0; }
.hinweis__text {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.4px;
  color: var(--c-text);
  max-width: 620px;
}
.hinweis__mehr { margin-top: 16px; }
.hinweis__mehr .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* Telefon-Band: Gold, volle Breite, Navy-Nummer (5,2:1) */
.telband {
  background: var(--c-gold);
  padding: 56px var(--pad-x);
  text-align: center;
}
.telband__label {
  margin: 0 auto 8px;
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text);
  max-width: none;
}
.telband__nummer {
  display: inline-block;
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 52px;
  line-height: 1.1;
  letter-spacing: -0.6px;
  color: var(--c-navy);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dauer-hover) var(--ease);
  font-variant-numeric: lining-nums;
  padding-block: 4px;
}
.telband__nummer:hover { text-decoration-color: currentColor; }
.telband :focus-visible { outline-color: var(--c-text); }

/* Zwei-Klick-Karte: vor dem Klick kein externer Request */
.karte {
  position: relative;
  background: var(--c-flaeche);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  overflow: hidden;
}
.karte__motiv {
  position: absolute;
  top: 40px; right: 32px;
  width: 200px; height: 152px;
  background: var(--c-gold);
  -webkit-mask: url("../img/hund-katze-linie.png") no-repeat center / contain;
  mask: url("../img/hund-katze-linie.png") no-repeat center / contain;
}
.karte__text { position: relative; max-width: 38ch; color: var(--c-text-2); font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.karte__text strong { color: var(--c-text); }
.karte iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte.ist-geladen { padding: 0; }
.karte.ist-geladen > :not(iframe) { display: none; }

/* 7 · Header / Menü -------------------------------------------------------- */
.kopf { position: relative; z-index: 10; padding-inline: var(--pad-x); }
.kopf__inner {
  max-width: var(--wrap);
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--c-text);
}
.kopf__logo { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.kopf__logo img { height: 52px; width: auto; }

.nav__liste { display: flex; align-items: center; gap: 24px; }
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
  letter-spacing: var(--ls-ui);
  color: var(--c-text);
  white-space: nowrap;
}
.nav__link--tel { color: var(--c-navy); font-weight: 500; font-variant-numeric: tabular-nums; }
.nav__link--tel svg { width: 16px; height: 16px; margin-right: 8px; flex: none; }

.menuknopf {
  display: none;
  min-width: 76px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--c-text);
  border-radius: 0;
  background: transparent;
  color: var(--c-text);
  font: 400 16px/1.2 var(--f-sans);
  cursor: pointer;
}

@media (max-width: 1023px) {
  .kopf__logo img { height: 44px; }
  .js .menuknopf { display: inline-flex; align-items: center; justify-content: center; }
  .kopf__inner { flex-wrap: wrap; gap: 0 16px; }
  /* Ohne JS: Links sichtbar und umbrechend; mit JS: Menü öffnet im Fluss (schiebt Inhalt) */
  .nav { width: 100%; }
  .nav__liste { flex-wrap: wrap; gap: 0 20px; padding-bottom: 8px; }
  .js .nav { display: none; }
  .js .nav.ist-offen { display: block; }
  .js .nav__liste { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; }
  .js .nav__link { min-height: 48px; font-size: 17px; width: 100%; }
  .kopf__logo { padding-block: 12px; }
}

/* 8 · Sektionen Startseite ------------------------------------------------- */

/* Hero */
.hero { padding: 48px var(--pad-x) 80px; }
.hero__inner { max-width: var(--wrap-schmal); margin-inline: auto; }
.hero h1 { max-width: 1000px; }
.hero__raster {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 342px minmax(0, 616px);
  justify-content: space-between;
  column-gap: 48px;
  align-items: start;
}
.hero__info { border-top: 1px solid var(--c-text); padding-top: 32px; }
.hero__intro { color: var(--c-text-2); margin-bottom: 24px; }
.hero__info .infotabelle { border-top-color: var(--c-linie); }
.hero__info .aktionen { margin-top: 24px; }
.hero__bild img { height: 440px; object-position: 34% 50%; }

/* 01 Leistungen */
.leistungen__raster {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  grid-template-areas:
    "label titel"
    "bild  liste";
  column-gap: 60px;
  row-gap: 40px;
  align-items: start;
}
.leistungen__raster > .dachzeile { grid-area: label; margin-top: 16px; }
.leistungen__raster > h2 { grid-area: titel; max-width: 600px; }
.leistungen__raster > .bild { grid-area: bild; }
.leistungen__raster > .nliste { grid-area: liste; }
/* Röntgen-Display: kaltes Blau wie das Chirurgie-Bild ruhig getönt */
.leistungen .bild img { height: 400px; object-position: 92% 50%; filter: saturate(.35) sepia(.12); }

/* 02 Diagnostik & Zusammenarbeit */
.praxis h2 { max-width: 760px; margin-bottom: 40px; }
.spalten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--c-text);
  border-bottom: 1px solid var(--c-text);
  padding-block: 32px;
}
.spalte { padding-inline: 24px; border-left: 1px solid var(--c-linie); display: flex; flex-direction: column; }
.spalte:first-child { padding-left: 0; border-left: 0; }
.spalte:last-child { padding-right: 0; }
.spalte h3 { margin: 12px 0 16px; }
.spalte__text { color: var(--c-text-2); }
.spalte__unten { margin-top: auto; padding-top: 24px; }
.spalte__unten .label { display: block; margin-bottom: 4px; }
.spalte__stichworte {
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
}

/* 03 Über mich (dunkel) */
.ueber__raster {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  column-gap: 64px;
  align-items: start;
}
.ueber .bild img { height: 520px; object-position: 50% 25%; }
.ueber h2 { margin-bottom: 16px; }
.ueber__titel { color: var(--c-auf-dunkel); margin-bottom: 32px; }
.stationen { border-top: 1px solid var(--c-linie-hell); }
.station { padding: 20px 0; border-bottom: 1px solid var(--c-linie-hell); }
.station .label { color: var(--c-auf-dunkel); font-variant-numeric: lining-nums; }
.station h3 { margin: 8px 0 4px; }
.station p { color: var(--c-auf-dunkel); }
.ueber__mehr { margin-top: 24px; }
.ueber__mehr .textlink { color: var(--c-auf-dunkel); display: inline-flex; min-height: 44px; align-items: center; font-weight: 500; font-size: var(--fs-ui); }

/* 04 Kontakt & Anfahrt */
.kontakt { padding-bottom: 96px; }
.kontakt__raster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px;
  align-items: stretch;
}
.kontakt__spalte { border-top: 1px solid var(--c-text); padding-top: 24px; display: flex; flex-direction: column; }
.kontakt__spalte .karte { flex: 1; }
.kontakt h2 { margin-bottom: 20px; }
.kontakt__text { color: var(--c-text-2); margin-bottom: 24px; }
.kontakt .infotabelle { border-top-color: var(--c-text); }
.kontakt .aktionen { margin-top: 28px; }

/* 9 · Footer --------------------------------------------------------------- */
.fuss {
  background: var(--c-text);
  color: var(--c-auf-dunkel);
  padding: 80px var(--pad-x) 32px;
  font-size: var(--fs-ui);
  line-height: var(--lh-ui);
  letter-spacing: var(--ls-ui);
}
.fuss__inner { max-width: var(--wrap); margin-inline: auto; }
.fuss__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, .8fr) minmax(0, 1.1fr);
  column-gap: 48px;
  row-gap: 48px;
  padding-bottom: 56px;
}
.fuss__motiv {
  display: block;
  width: 84px; height: 64px;
  background: var(--c-gold);
  -webkit-mask: url("../img/hund-katze-linie.png") no-repeat left center / contain;
  mask: url("../img/hund-katze-linie.png") no-repeat left center / contain;
  margin-bottom: 24px;
}
.fuss__marke {
  font-family: var(--f-serif);
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.8px;
  color: var(--c-head-dunkel);
  max-width: 14ch;
  margin-bottom: 16px;
}
.fuss__titel { color: var(--c-auf-dunkel); max-width: 36ch; }
.fuss__kopf {
  margin-bottom: 12px;
  font-family: var(--f-sans);
  line-height: var(--lh-label);
  font-size: var(--fs-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-head-dunkel);
}
.fuss__liste li + li { margin-top: 2px; }
.fuss__liste a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: var(--c-auf-dunkel); }
.fuss__liste a[aria-current="page"] { text-decoration-color: currentColor; }
.fuss__adresse { font-style: normal; }
.fuss__adresse p { margin-bottom: 12px; }
.fuss__adresse a { display: inline-flex; align-items: center; min-height: 44px; }
.fuss__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-linie-hell);
  font-size: var(--fs-label);
  letter-spacing: 0;
  font-weight: 400;
}
.fuss__unten p { max-width: none; }
.fuss__recht { display: flex; gap: 24px; }
.fuss__recht a { display: inline-flex; align-items: center; min-height: 44px; color: var(--c-head-dunkel); }

/* 10 · Hilfen -------------------------------------------------------------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skiplink {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 12px 16px; background: var(--c-text); color: var(--c-creme);
  font-weight: 500; text-decoration: none;
}
.skiplink:focus { top: 16px; }

/* Responsiv ---------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .leistungen__raster { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 40px; }
  .ueber__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 48px; }
  .hinweis__inner { grid-template-columns: 1fr; row-gap: 16px; }
  .nliste__kopf { grid-template-columns: auto 1fr; }
  .nliste__tag { grid-column: 2; padding-top: 4px; text-align: left; }
  .hinweis .dachzeile { margin-top: 0; }
  .fuss__raster { grid-template-columns: 1fr 1fr; }
  .fuss__marke-spalte { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  .hero { padding: 40px var(--pad-x) 64px; }
  .hero__raster { grid-template-columns: 1fr; margin-top: 32px; row-gap: 40px; }
  .hero__info { padding-top: 24px; }
  .hero__bild img { height: auto; aspect-ratio: 342 / 300; }

  .hinweis { padding-block: 40px; }
  .hinweis__text { font-size: 26px; }

  .leistungen__raster {
    grid-template-columns: 1fr;
    grid-template-areas: "label" "titel" "bild" "liste";
    row-gap: 0;
  }
  .leistungen__raster > .dachzeile { margin-top: 0; }
  .leistungen__raster > h2 { margin-bottom: 28px; }
  .leistungen__raster > .bild { margin-bottom: 40px; }
  .leistungen .bild img { height: auto; aspect-ratio: 342 / 300; }

  .praxis h2 { margin-bottom: 28px; }
  .spalten { grid-template-columns: 1fr; padding-block: 0; }
  .spalte, .spalte:first-child, .spalte:last-child { padding: 28px 0; border-left: 0; }
  .spalte + .spalte { border-top: 1px solid var(--c-linie); }

  .ueber__raster { grid-template-columns: 1fr; row-gap: 40px; }
  .ueber .bild img { height: auto; aspect-ratio: 4 / 5; }

  .kontakt { padding-bottom: 72px; }
  .kontakt__raster { grid-template-columns: 1fr; row-gap: 48px; }
  .karte { min-height: 380px; padding: 24px; }
  .karte__motiv { width: 148px; height: 112px; top: 24px; right: 24px; }

  .telband { padding-block: 48px; }
  .telband__nummer { font-size: 40px; }

  .fuss { padding-top: 64px; }
  .fuss__raster { grid-template-columns: 1fr; row-gap: 40px; padding-bottom: 40px; }
  .fuss__marke { font-size: 34px; }
  .fuss__unten { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 359px) {
  :root { --pad-x: 16px; --fs-h1: 38px; }
  .infotabelle__zeile { flex-wrap: wrap; gap: 2px 12px; }
  .infotabelle dd { text-align: left; }
  .telband__nummer { font-size: 34px; }
}

/* Druck: Sprechzeiten und Kontakt lesbar */
@media print {
  .kopf .nav, .menuknopf, .karte, .skiplink { display: none !important; }
  .sek--dunkel, .fuss { background: none; color: #000; }
  .sek--dunkel h2, .sek--dunkel h3 { color: #000; }
}

/* ==========================================================================
   11 · Unterseiten Orthopädie + Leistungen (Engineer 2)
   Seitenkopf, Sprungliste, Leistungsspektrum, Operative Verfahren,
   Fachinformationen (Akkordeon), Chirurgie, Diagnostik, Weitere Leistungen
   ========================================================================== */

/* Seitenkopf: wie Hero, ohne großes Bild (Padding 56/24/64) */
.seitenkopf { padding: 56px var(--pad-x) 64px; }
.seitenkopf__inner { max-width: var(--wrap-schmal); margin-inline: auto; }
.seitenkopf h1 { max-width: 1000px; }
.seitenkopf__raster {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 500px) minmax(0, 420px);
  justify-content: space-between;
  column-gap: 48px;
  align-items: start;
}
.seitenkopf__links { border-top: 1px solid var(--c-text); padding-top: 28px; }
.seitenkopf__text { color: var(--c-text-2); }
.seitenkopf__text--gross { font-family: var(--f-serif); font-size: 30px; line-height: 1.2; font-weight: 500; letter-spacing: -0.4px; color: var(--c-text); max-width: 20ch; margin-bottom: 16px; }
@media (max-width: 767px) { .seitenkopf__text--gross { font-size: 26px; } }
.seitenkopf .infotabelle { border-top-color: var(--c-text); }

/* Sprungliste (Leistungen): Anker zu den Abschnitten, ≥ 48 px */
.sprungliste { margin-top: 16px; border-top: 1px solid var(--c-linie); }
.sprungliste li { border-bottom: 1px solid var(--c-linie); }
.sprungliste a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 8px 0;
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: var(--c-text);
  text-decoration: none;
}
.sprungliste a span { font-family: var(--f-sans); font-size: var(--fs-label); letter-spacing: var(--ls-label); font-weight: 500; color: var(--c-text-2); }
.sprungliste a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* 01 Leistungsspektrum (Orthopädie): links Dachzeile sticky, rechts Liste */
.spektrum__raster {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
}
.spektrum__seite { position: sticky; top: 24px; padding-top: 16px; }
.spektrum__seite .dachzeile { margin: 0; }
.spektrum .nliste__text { font-size: var(--fs-text); }

/* 02 Operative Verfahren: Kopf zweispaltig, Raster 3 × 2 mit Haarlinien */
.verfahren__kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 470px);
  column-gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}
.verfahren__kopf h2 { max-width: 560px; }
.verfahren__text p { color: var(--c-text-2); }
.verfahren__text p + p { margin-top: 12px; }
.verfahren__text .verfahren__ende { color: var(--c-text); font-weight: 600; }
.verfahren__liste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--c-text);
  border-bottom: 1px solid var(--c-text);
}
.verfahren__punkt { padding: 28px 24px 32px; border-left: 1px solid var(--c-linie); }
.verfahren__punkt:nth-child(3n+1) { padding-left: 0; border-left: 0; }
.verfahren__punkt:nth-child(3n) { padding-right: 0; }
.verfahren__punkt:nth-child(n+4) { border-top: 1px solid var(--c-linie); }
.verfahren__punkt h3 { margin: 12px 0 12px; }
.verfahren__punkt p:not(.label) { color: var(--c-text-2); }
.verfahren__fuss { margin-top: 24px; color: var(--c-text-2); }
.verfahren__fuss .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* 03 Fachinformationen: 2 Spalten, je oben 1 px Linie, links sticky */
.fachinfo__raster {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 64px;
  align-items: start;
}
.fachinfo__links, .fachinfo__rechts { border-top: 1px solid var(--c-text); padding-top: 24px; }
.fachinfo__links { position: sticky; top: 24px; }
.fachinfo__links h2 { margin-bottom: 20px; }
.fachinfo__links > p:not(.dachzeile) { color: var(--c-text-2); }
.fachinfo__links .aktionen { margin-top: 28px; }
.fachinfo__datei { margin-top: 12px; font-size: 15px; color: var(--c-text-2); }
.fachinfo__rechts .dachzeile { margin-bottom: 8px; }
.fachinfo .akkordeon { border-top: 0; }
.akkordeon__titel {
  font-family: var(--f-sans);
  font-size: 18px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--c-text);
  text-wrap: pretty;
}
.akkordeon summary:hover .akkordeon__titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.akkordeon details[open] .akkordeon__titel { font-weight: 500; }
.fachtext { color: var(--c-text); padding: 0 8px 40px; }
.fachtext > * { max-width: 68ch; }
.fachtext p, .fachtext li { font-size: var(--fs-text); line-height: var(--lh-text); }
.fachtext > * + * { margin-top: 16px; }
.fachtext h4 {
  margin-top: 28px;
  font-family: var(--f-sans);
  font-size: var(--fs-text);
  line-height: 1.4;
  font-weight: 600;
  color: var(--c-text);
}
.fachtext h4 + p, .fachtext h4 + ul { margin-top: 4px; }
.fachtext ul li { position: relative; padding-left: 20px; }
.fachtext ul li + li { margin-top: 8px; }
.fachtext ul li::before { content: ""; position: absolute; left: 0; top: .82em; width: 8px; height: 1px; background: var(--c-text-2); }
.fachtext .fachtext__leit { font-family: var(--f-serif); font-size: 24px; line-height: 1.25; font-weight: 500; letter-spacing: -0.2px; }

/* 01 Chirurgie (Leistungen): Bild 400×460 ruhig getönt (Türkis-Tuch) */
.chirurgie .bild img { height: 460px; object-position: 16% 50%; filter: saturate(.35) sepia(.12); }
.chirurgie .leistungen__raster > div { grid-area: liste; }
.chirurgie .leistungen__raster > h2 { align-self: end; }
.absatzliste { border-top: 1px solid var(--c-text); }
.absatzliste li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--c-linie);
}
.absatzliste .label { padding-top: 4px; }
.absatzliste p:not(.label) { color: var(--c-text); }
.chirurgie__mehr { margin-top: 16px; }
.chirurgie__mehr .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* 02 Diagnostik: 2 Spalten-Tabellen, Werte in Serif, Bildband darunter */
.diagnostik h2 { margin-bottom: 40px; }
.diagnostik__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; }
.diagnostik__spalte { border-top: 1px solid var(--c-text); padding-top: 24px; }
.diagnostik__kopf {
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  line-height: 1.45;
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text);
  margin-bottom: 12px;
  min-height: 40px;
}
.messliste { border-top: 1px solid var(--c-linie); }
.messliste li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 2px 16px;
  min-height: 60px;
  padding: 12px 0;
  border-bottom: 1px solid var(--c-linie);
}
.messliste__wert { font-family: var(--f-serif); font-size: 26px; line-height: 1.2; font-weight: 500; letter-spacing: -0.3px; color: var(--c-text); }
.messliste__zusatz { font-size: 16px; line-height: 1.5; color: var(--c-text-2); }
.diagnostik__satz { margin-top: 20px; color: var(--c-text-2); }
.diagnostik__bild { margin-top: 56px; }
.diagnostik__bild img { aspect-ratio: 1000 / 400; height: auto; filter: saturate(.35) sepia(.12); }

/* 03 Weitere Leistungen: links Dachzeile + Hund-Katze-Motiv, rechts Liste */
.weitere__raster {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
}
.weitere__seite { position: sticky; top: 24px; padding-top: 16px; }
.weitere__seite .dachzeile { margin: 0; }
.weitere__motiv {
  display: block;
  width: 200px; height: 152px;
  margin-top: 48px;
  background: var(--c-gold);
  -webkit-mask: url("../img/hund-katze-linie.png") no-repeat left center / contain;
  mask: url("../img/hund-katze-linie.png") no-repeat left center / contain;
}
.weitere h2 { margin-bottom: 36px; max-width: 600px; }
.weitere__fuss { margin-top: 24px; }
.weitere__fuss .textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: var(--fs-ui); }

/* Unterseiten responsiv */
@media (max-width: 1023px) {
  .seitenkopf__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .spektrum__raster, .weitere__raster { grid-template-columns: minmax(0, 220px) minmax(0, 1fr); column-gap: 40px; }
  .weitere__motiv { width: 148px; height: 112px; }
  .verfahren__kopf { grid-template-columns: 1fr; row-gap: 24px; }
  .verfahren__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .verfahren__punkt,
  .verfahren__punkt:nth-child(3n+1),
  .verfahren__punkt:nth-child(3n) { padding: 28px 24px 32px; border-left: 1px solid var(--c-linie); border-top: 0; }
  .verfahren__punkt:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .verfahren__punkt:nth-child(2n) { padding-right: 0; }
  .verfahren__punkt:nth-child(n+3) { border-top: 1px solid var(--c-linie); }
  .fachinfo__raster { grid-template-columns: 1fr; row-gap: 48px; }
  .fachinfo__links { position: static; }
  .absatzliste li { grid-template-columns: 1fr; row-gap: 8px; }
  .diagnostik__raster { column-gap: 40px; }
}

@media (max-width: 767px) {
  .seitenkopf { padding: 40px var(--pad-x) 56px; }
  .seitenkopf__raster { grid-template-columns: 1fr; margin-top: 32px; row-gap: 36px; }
  .seitenkopf__links { padding-top: 24px; }
  .sprungliste a { font-size: 24px; }

  .spektrum__raster, .weitere__raster { grid-template-columns: 1fr; row-gap: 24px; }
  .spektrum__seite, .weitere__seite { position: static; padding-top: 0; }
  .weitere__motiv { display: none; }
  .weitere h2 { margin-bottom: 28px; }

  .verfahren__kopf { margin-bottom: 32px; }
  .verfahren__liste { grid-template-columns: 1fr; }
  .verfahren__punkt,
  .verfahren__punkt:nth-child(n) { padding: 28px 0; border-left: 0; border-top: 0; }
  .verfahren__punkt + .verfahren__punkt { border-top: 1px solid var(--c-linie); }

  .akkordeon summary { padding-inline: 0; }
  .fachtext { padding-inline: 0; }
  .fachtext .fachtext__leit { font-size: 22px; }

  .chirurgie .bild img { height: auto; aspect-ratio: 342 / 300; }
  .diagnostik h2 { margin-bottom: 28px; }
  .diagnostik__raster { grid-template-columns: 1fr; row-gap: 40px; }
  .diagnostik__kopf { min-height: 0; }
  .messliste__wert { font-size: 24px; }
  .diagnostik__bild { margin-top: 44px; }
}

@media print {
  .spektrum__seite, .weitere__seite, .fachinfo__links { position: static; }
}

/* 11 · Seiten „Über mich“ und „Kontakt“ ----------------------------------- */

/* Seitenkopf (Hero-Aufbau der Vorlage) */
.seitenkopf__titel {
  font-family: var(--f-serif);
  font-weight: 500;
  font-size: 26px;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--c-text);
  margin-bottom: 16px;
}
.seitenkopf .portrait img { height: 540px; object-position: 50% 22%; }
.seitenkopf .aktionen { gap: 0 28px; }
.seitenkopf--kontakt .hero__raster { align-items: start; grid-template-columns: 400px minmax(0, 616px); }
.seitenkopf--kontakt .hero__bild { position: sticky; top: 24px; }
.seitenkopf--kontakt .hero__bild img { height: 520px; object-position: 40% 50%; }
.infotabelle__titel {
  margin: 0 0 8px;
  font-family: var(--f-sans);
  font-size: var(--fs-label);
  line-height: var(--lh-label);
  letter-spacing: var(--ls-label);
  font-weight: 500;
  color: var(--c-text);
}
.infotabelle + .infotabelle__titel { margin-top: 28px; }
.seitenkopf--kontakt .hero__info .infotabelle { border-top-color: var(--c-text); }

/* Lebenslauf: Jahresliste, Jahre fett (Beykirch-Liste im Serene-Tabellenstil) */
.lebenslauf__kopf,
.gruppe {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
}
.lebenslauf__kopf { margin-bottom: 56px; }
.lebenslauf__kopf .dachzeile { margin-top: 16px; }
.gruppe + .gruppe { margin-top: 56px; }
.gruppe__kopf { padding-top: 16px; }
.gruppe__kopf .dachzeile { margin-bottom: 8px; }
.gruppe__zusatz { color: var(--c-text-2); max-width: 30ch; }
.jahre { border-top: 1px solid var(--c-text); }
.jahre__zeile {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  column-gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid var(--c-linie);
}
.jahre dt {
  font-weight: 500;
  font-size: var(--fs-text);
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  color: var(--c-text);
  white-space: nowrap;
}
.jahre dd { line-height: 1.55; color: var(--c-text); max-width: 60ch; }
.jahre dd span { display: block; margin-top: 4px; color: var(--c-text-2); }

/* Fachtitel (dunkel): drei Stationen nebeneinander */
.fachtitel h2 { max-width: 860px; margin-bottom: 48px; }
.fachtitel__raster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--c-linie-hell);
  border-bottom: 1px solid var(--c-linie-hell);
}
.fachtitel__eintrag { padding: 28px 24px 32px; border-left: 1px solid var(--c-linie-hell); }
.fachtitel__eintrag:first-child { padding-left: 0; border-left: 0; }
.fachtitel__eintrag:last-child { padding-right: 0; }
.fachtitel__jahr { color: var(--c-auf-dunkel); font-variant-numeric: lining-nums; }
.fachtitel__eintrag h3 { font-size: 32px; margin: 12px 0 12px; }
.fachtitel__eintrag p:not(.label) { color: var(--c-auf-dunkel); }

/* Hinweis-Band: Zusatz „Geänderte Öffnungszeiten“ */
.hinweis__zeiten {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--c-linie);
  max-width: 620px;
}
.hinweis__zeiten .label { margin-bottom: 4px; color: var(--c-text); }
.hinweis__zeiten p:not(.label) { color: var(--c-text-2); }

/* Anfahrt: Karte über volle Inhaltsbreite */
.anfahrt { padding-bottom: 96px; }
.anfahrt__kopf {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  column-gap: 60px;
  align-items: start;
  margin-bottom: 40px;
}
.anfahrt__kopf .dachzeile { margin-top: 16px; }
.karte--breit { min-height: 440px; }
.nw { white-space: nowrap; }
.anfahrt__fuss {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--c-linie);
}
.anfahrt__adresse { color: var(--c-text-2); }

@media (max-width: 1023px) {
  .anfahrt__kopf { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); column-gap: 40px; }
  .lebenslauf__kopf, .gruppe { grid-template-columns: 1fr; }
  .lebenslauf__kopf { margin-bottom: 40px; }
  .lebenslauf__kopf .dachzeile { margin-top: 0; }
  .gruppe__kopf { padding-top: 0; margin-bottom: 16px; }
  .gruppe__zusatz { max-width: none; }
  .jahre__zeile { grid-template-columns: 160px minmax(0, 1fr); }
  .seitenkopf .portrait img { height: 480px; }
  .seitenkopf--kontakt .hero__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .seitenkopf--kontakt .hero__bild img { height: 440px; }
}

@media (max-width: 767px) {
  .seitenkopf .portrait img { height: auto; aspect-ratio: 4 / 5; }
  .seitenkopf--kontakt .hero__raster { grid-template-columns: 1fr; }
  .seitenkopf--kontakt .hero__bild { position: static; }
  .seitenkopf--kontakt .hero__bild img { height: auto; aspect-ratio: 342 / 300; }
  .lebenslauf__kopf, .gruppe, .anfahrt__kopf { grid-template-columns: 1fr; }
  .lebenslauf__kopf { margin-bottom: 36px; }
  .lebenslauf__kopf .dachzeile, .anfahrt__kopf .dachzeile { margin-top: 0; }
  .gruppe + .gruppe { margin-top: 44px; }
  .gruppe__kopf { padding-top: 0; margin-bottom: 16px; }
  .jahre__zeile { grid-template-columns: 1fr; row-gap: 2px; padding: 12px 0; }
  .fachtitel h2 { margin-bottom: 32px; }
  .fachtitel__raster { grid-template-columns: 1fr; border-bottom: 0; }
  .fachtitel__eintrag, .fachtitel__eintrag:first-child, .fachtitel__eintrag:last-child {
    padding: 24px 0 28px; border-left: 0; border-bottom: 1px solid var(--c-linie-hell);
  }
  .anfahrt { padding-bottom: 72px; }
  .anfahrt__kopf { margin-bottom: 28px; }
  .karte--breit { min-height: 380px; }
  .anfahrt__fuss .aktionen, .anfahrt__fuss .btn { width: 100%; }
}

/* ==========================================================================
   12 · Rechtstexte: Impressum + Datenschutz (Textseite, max. 720 px)
   ========================================================================== */
.rechtstext { padding: var(--sek-y) var(--pad-x); }
.rechtstext__inner { max-width: 720px; margin-inline: auto; }
.rechtstext h1 { font-size: var(--fs-h2); line-height: var(--lh-h2); letter-spacing: var(--ls-h2); margin-bottom: 40px; }
.rechtstext__lead { color: var(--c-text-2); margin-bottom: 40px; }
.rechtstext h2 {
  font-size: var(--fs-h3); line-height: var(--lh-h3); letter-spacing: var(--ls-h3); font-weight: 500;
  margin: 56px 0 16px;
}
.rechtstext__block { padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--c-linie); scroll-margin-top: 24px; }
.rechtstext__block:first-of-type { border-top-color: var(--c-text); }
.rechtstext__block h2 { margin-top: 0; }
.rechtstext p + p, .rechtstext p + ul, .rechtstext ul + p { margin-top: 16px; }
.rechtstext h3 { font-family: var(--f-sans); font-size: var(--fs-text); line-height: var(--lh-text); letter-spacing: 0; font-weight: 500; margin: 24px 0 8px; }
.rechtstext__liste li { position: relative; padding-left: 24px; }
.rechtstext__liste li + li { margin-top: 8px; }
.rechtstext__liste li::before {
  content: ""; position: absolute; left: 0; top: .82em;
  width: 10px; height: 1px; background: var(--c-text-2);
}
.rechtstext a:not(.btn) { overflow-wrap: anywhere; }
.rechtstext__stand { margin-top: 56px; font-size: var(--fs-ui); color: var(--c-text-2); }

/* Impressum: Label | Wert links ausgerichtet (lange Werte) */
.infotabelle--recht .infotabelle__zeile { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 4px 24px; padding: 12px 0; }
.infotabelle--recht dt { padding-top: 4px; }
.infotabelle--recht dd { text-align: left; line-height: 1.55; font-variant-numeric: normal; }
.infotabelle--recht dd a.textlink { min-height: 0; margin-block: 0; display: inline; }
.rechtstext__tabelle { margin-top: 20px; }

/* Offener Punkt (sichtbar markiert, nur für die Freigabe) */
.offen {
  margin-top: 40px; padding: 24px;
  border: 1px dashed var(--c-navy); background: var(--c-flaeche);
  color: var(--c-navy); font-weight: 600;
}
.offen .label { display: block; color: var(--c-navy); margin-bottom: 4px; }

@media (max-width: 767px) {
  .rechtstext { padding-block: 48px 72px; }
  .rechtstext h1 { margin-bottom: 28px; }
  .rechtstext__block { padding-top: 32px; margin-top: 32px; }
  .infotabelle--recht .infotabelle__zeile { grid-template-columns: 1fr; gap: 2px; }
  .infotabelle--recht dt { padding-top: 0; }
}
