/* Physiotherapie & Osteopathie Müller – gemeinsames Stylesheet für Start- und Unterseiten.
   Verschmelzung aus dem Referenz-Design (Startseiten- + Unterseiten-System), neue Farbwelt Blau/Silber. */
:root {
  --paper: #f4f6f9;
  --mist: #e6ebf1;
  --silver: #aeb8c4;
  --silver-light: #d5dce4;
  --navy: #14263a;
  --navy-soft: #1e3650;
  --ink: #1b2a3a;
  --muted: #5b6b7c;
  --blue: #1f6fa8;
  --blue-deep: #165483;
  --blue-light: #7fb2d6;
  --line: rgba(31, 111, 168, 0.35);
  --line-soft: rgba(31, 111, 168, 0.18);
  --white: #ffffff;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --display: "Jost", "Segoe UI", Arial, sans-serif;
  --sans: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --script: "Caveat", cursive;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 18px 40px -22px rgba(20, 38, 58, 0.35);
  interpolate-size: allow-keywords;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
html,
body {
  overflow-x: clip;
}
body {
  background: var(--paper);
  color: var(--ink);
  font: 400 1.05rem/1.68 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
[id] {
  scroll-margin-top: 90px;
}
::selection {
  background: var(--blue-light);
  color: var(--navy);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
.wrap {
  width: 100%;
  max-width: 1240px;
  padding-inline: var(--gutter);
  margin: auto;
}
h1,
h2,
h3 {
  font-family: var(--display);
}
h1 {
  font-weight: 300;
}
h2,
h3 {
  font-weight: 400;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 249, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  max-width: 1240px;
}
.nav {
  padding-block: 0.7rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.6;
  white-space: nowrap;
}
.brand img {
  width: 36px;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  margin-left: auto;
}
.nav-links a,
.menu-button {
  position: relative;
  font-size: 0.97rem;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.25s;
}
.nav-links > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--blue);
}
.nav-links > a:hover::after,
.nav-item:hover > a::after {
  transform: scaleX(1);
}
.nav-item {
  position: relative;
  padding-block: 1.6rem;
  margin-block: -1.6rem;
}
.dropdown {
  position: absolute;
  top: calc(100% - 0.35rem);
  left: -1.1rem;
  min-width: 215px;
  padding: 0.65rem;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  box-shadow: 0 16px 35px rgba(20, 38, 58, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.25s var(--ease);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 9px;
  white-space: nowrap;
}
.dropdown a:hover {
  background: var(--mist);
}
.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.menu-button {
  display: none;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  cursor: pointer;
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
}
.menu-button .burger,
.menu-button .burger::before,
.menu-button .burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition:
    transform 0.3s var(--ease),
    background 0.3s;
}
.menu-button .burger {
  position: relative;
}
.menu-button .burger::before,
.menu-button .burger::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-button .burger::before {
  top: -6px;
}
.menu-button .burger::after {
  top: 6px;
}
.menu-button[aria-expanded="true"] .burger {
  background: transparent;
}
.menu-button[aria-expanded="true"] .burger::before {
  transform: translateY(6px) rotate(45deg);
}
.menu-button[aria-expanded="true"] .burger::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons – nur .button und .button.solid */
.nav-phone,
.button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  padding: 0.8rem 1.6rem;
  border: 1.5px solid var(--blue);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--blue);
  transition:
    color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}
.nav-phone::before,
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--blue);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.nav-phone:hover::before,
.button:hover::before,
.button:focus-visible::before {
  opacity: 1;
}
.nav-phone:hover,
.button:hover,
.button:focus-visible {
  color: var(--white);
}
.nav-phone {
  padding: 0.55rem 1.2rem;
}
.button.solid {
  background: var(--blue);
  color: var(--white);
}
.button.solid::before {
  background: var(--blue-deep);
}
.button.solid:hover {
  border-color: var(--blue-deep);
  color: var(--white);
}

/* Typografie-Helfer */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue);
  font-family: var(--display);
  font-size: 0.98rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}
.dark .eyebrow {
  color: var(--blue-light);
}
.text-link {
  display: inline-block;
  position: relative;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.25rem;
  padding-bottom: 0.25rem;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0.35);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.text-link:hover::after {
  transform: scaleX(1);
}
.dark .text-link {
  color: var(--blue-light);
}

/* Startseite: großzügiger Markensatz und ein lesbares Verzeichnis. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.dark {
  background: var(--navy);
  color: #e8eef5;
}
.dark h2 {
  color: #e8eef5;
}
.dark p {
  color: rgba(232, 238, 245, 0.82);
}
.mist {
  background: var(--mist);
}
.home h2 {
  font-weight: 300;
  font-size: clamp(2.15rem, 3.6vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 1.16;
}
.welcome {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.welcome-copy p:not(.eyebrow) {
  margin-top: 1.3rem;
}
.welcome-copy .text-link {
  margin-top: 2rem;
}
.services {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 7rem);
}
.services-head {
  position: sticky;
  top: 7rem;
}
.services-head > p:not(.eyebrow) {
  margin-top: 1.5rem;
  max-width: 20rem;
  color: var(--muted);
}
.service-index {
  border-top: 1px solid var(--blue);
}
.service-row {
  isolation: isolate;
  display: grid;
  grid-template-columns: 1.8rem 1fr 2rem;
  gap: 1rem;
  position: relative;
  align-items: baseline;
  text-decoration: none;
  padding: 2.1rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s;
}
.service-row::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mist);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s;
}
.service-row:hover::before,
.service-row:focus-visible::before {
  opacity: 1;
}
.service-number {
  font-family: var(--display);
  color: var(--blue);
  font-size: 0.85rem;
}
.service-row h3 {
  font-size: clamp(1.55rem, 2.45vw, 2.2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.service-row p {
  color: var(--muted);
  margin-top: 0.65rem;
}
.service-examples {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.9rem;
}
.service-arrow {
  color: var(--blue);
  font-size: 1.7rem;
  transition: transform 0.25s;
}
.service-row:hover .service-arrow {
  transform: translate(3px, -3px);
}
.service-row:hover h3 {
  color: var(--blue);
}
.courses-section {
  padding-block: clamp(4rem, 7vw, 6.5rem);
}
.course-heading {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: end;
}
.course-heading > p {
  max-width: 24rem;
  color: var(--muted);
}
.course-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 3.5rem;
}
dl.course-meta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  padding-top: 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}
dl.course-meta dt {
  color: var(--muted);
}
dl.course-meta dd {
  margin: 0;
}
.course-note {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.course-note a {
  color: var(--blue);
  text-underline-offset: 0.25em;
  margin-left: 0.5rem;
}
.praxis {
  background: var(--paper);
}
.praxis-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}
.praxis-copy > p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 1.4rem;
}
.address-panel {
  background: #dfe7ec;
  padding: clamp(1.5rem, 3vw, 2.6rem);
  color: var(--navy);
}
.address-street {
  font: 400 1.3rem var(--display);
  border-bottom: 1px solid #14263a40;
  padding-bottom: 1rem;
}
.address-number {
  font: 300 clamp(8rem, 16vw, 15rem)/1.15 var(--display);
  letter-spacing: -0.085em;
  padding-block: 0.3rem 1.2rem;
}
.address-number span {
  font-size: 0.7em;
}
.address-bottom {
  border-top: 1px solid #14263a40;
  padding-top: 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
}
.address-bottom strong {
  font-weight: 400;
  color: var(--muted);
}
.address-bottom a {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding-block: 0.3rem;
}
.address-bottom a span {
  font-size: 1.6rem;
  transition: transform 0.25s;
}
.address-bottom a:hover span {
  transform: translate(3px, -3px);
}

/* Unterseiten: Fachbereichsnummer und Verfahren als gesetztes Titelblatt. */

/* Sektionen */
.section {
  padding: clamp(4rem, 9vh, 7rem) 0;
}
.section > .wrap,
.section.wrap {
  max-width: 1240px;
}
.section.wrap {
  padding-inline: var(--gutter);
}
.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.12;
  font-weight: 400;
  text-wrap: balance;
}
.section h3 {
  font-size: 1.55rem;
  line-height: 1.2;
}
.section-head {
  max-width: 40em;
  margin-bottom: clamp(2.4rem, 5vh, 3.6rem);
}
.section-head p:not(.eyebrow) {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 36em;
}
.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.section-grid > .sticky {
  position: sticky;
  top: 6rem;
}
.prose {
  max-width: 690px;
}
.prose h2 {
  margin-bottom: 1.2rem;
}
.prose p + p {
  margin-top: 1rem;
}
.prose .text-link {
  margin-top: 1.6rem;
}
.prose ul {
  list-style: none;
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.prose li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
}
.prose li::before {
  content: "·";
  color: var(--blue);
  font-weight: bold;
  margin-right: 0.7rem;
}

/* Intro */
.intro .statement {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  line-height: 1.06;
  max-width: 24ch;
  font-weight: 400;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.1fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  align-items: start;
}
.intro-aside {
  position: sticky;
  top: 6.5rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--blue);
}
.intro-aside h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1rem;
}
.intro-aside li {
  list-style: none;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1.35;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line-soft);
}
.intro-aside li:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.intro .prose p:first-child::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.1em;
  line-height: 0.78;
  padding: 0.08em 0.14em 0 0;
  color: var(--blue);
  font-weight: 400;
}

/* Key facts */
.keyfacts {
  position: relative;
  overflow: hidden;
  padding: clamp(3.5rem, 7vh, 5rem) 0;
  background:
    radial-gradient(
      900px 420px at 88% -10%,
      rgba(127, 178, 214, 0.22),
      transparent 62%
    ),
    linear-gradient(160deg, var(--navy), var(--navy-soft));
}
.keyfacts::after {
  content: "";
  position: absolute;
  right: -4%;
  top: 50%;
  width: clamp(280px, 34vw, 520px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  background: url("mark.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.keyfacts .wrap {
  position: relative;
  z-index: 1;
}
.keyfacts .eyebrow {
  margin-bottom: 1.8rem;
}
.keyfacts dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin: 0;
}
.keyfacts dl > div {
  padding-top: 1.1rem;
  border-top: 1px solid rgba(127, 178, 214, 0.45);
}
.keyfacts dt {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}
.keyfacts dd {
  margin: 0.6rem 0 0;
  font-family: var(--display);
  font-size: 1.45rem;
  line-height: 1.28;
  font-weight: 400;
  color: #e8eef5;
}

/* Methodenliste */
.methods {
  border-top: 1px solid var(--line);
  counter-reset: m;
}
.method {
  position: relative;
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 0.9fr) minmax(0, 1.2fr);
  gap: clamp(1rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(1.6rem, 3vh, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
  counter-increment: m;
}
.method::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--blue);
  transition: transform 0.45s var(--ease);
}
.method::after {
  content: "";
  position: absolute;
  inset: 0 -1.5rem;
  z-index: -1;
  background: var(--mist);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.method:hover::after {
  opacity: 1;
}
.method:hover::before {
  transform: translateX(0.35rem);
}
.method h3 {
  font-size: clamp(1.4rem, 2vw, 1.7rem);
  transition: color 0.35s var(--ease);
}
.method:hover h3 {
  color: var(--blue);
}
.method .sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-top: 0.4rem;
}
.method p:not(.sub) {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 560px;
}
.method p a {
  color: var(--blue);
  text-decoration-color: rgba(31, 111, 168, 0.5);
  text-underline-offset: 0.2em;
}
.disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.5rem;
  max-width: 690px;
}
.dark .disclaimer {
  color: rgba(232, 238, 245, 0.6);
}
.methods + .disclaimer {
  margin-top: 2.2rem;
}

/* Ablauf */
.facts {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 4vw, 3.5rem);
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
}
.facts::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: var(--line);
}
.fact {
  position: relative;
  padding-top: 2.4rem;
}
.fact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--mist);
}
.fact .num {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.fact h3 {
  margin-bottom: 0.55rem;
}
.fact p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Weitere Leistungen */
.more {
  margin-top: clamp(3.5rem, 7vh, 5rem);
  padding-top: clamp(2.5rem, 5vh, 3.5rem);
  border-top: 1px solid var(--line);
}
.more .eyebrow {
  margin-bottom: 1.6rem;
}
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.more-card {
  display: block;
  text-decoration: none;
}
.more-card figure {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}
.more-card figure.visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      320px 200px at 50% 20%,
      rgba(255, 255, 255, 0.8),
      transparent 65%
    ),
    linear-gradient(135deg, var(--mist), var(--paper));
}
.more-card figure.visual img {
  width: 38%;
  height: auto;
  object-fit: contain;
  opacity: 0.18;
  transform: none;
}
.more-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 1.1s var(--ease);
}
.more-card figure::after {
  content: "";
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(31, 111, 168, 0.25);
  pointer-events: none;
}
.more-card:hover img {
  transform: scale(1.06);
}
.more-card figure.visual:hover img {
  transform: scale(1.06);
}
.more-card h3 {
  margin-top: 1.1rem;
  font-size: 1.5rem;
  transition: color 0.3s;
}
.more-card:hover h3 {
  color: var(--blue);
}
.more-card .text-link {
  margin-top: 0.3rem;
}
.more-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.more-grid.four .more-card h3 {
  font-size: 1.35rem;
}
.framed {
  position: relative;
  overflow: hidden;
  background: var(--mist);
}
.framed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.framed::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Kontakt */
.contact {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 9vh, 6.5rem) 0;
  text-align: center;
}
.contact.dark {
  background:
    radial-gradient(
      700px 380px at 50% 100%,
      rgba(127, 178, 214, 0.16),
      transparent 65%
    ),
    linear-gradient(160deg, var(--navy), var(--navy-soft));
}
.contact img.mark {
  width: 88px;
  height: auto;
  margin: 0 auto 1.6rem;
}
.contact .eyebrow {
  color: var(--blue-light);
}
.contact h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: #e8eef5;
}
.contact .phone {
  display: block;
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.4rem);
  color: var(--blue-light);
  text-decoration: none;
  margin: 1rem;
  transition: color 0.3s;
}
.contact .phone:hover {
  color: #e8eef5;
}
.contact .addr {
  margin-top: 1.4rem;
  color: rgba(232, 238, 245, 0.82);
}
.contact .mail {
  color: var(--blue-light);
}
.contact .actions {
  justify-content: center;
  margin-top: 2.2rem;
}
.contact .button {
  border-color: var(--blue-light);
  color: var(--blue-light);
}
.contact .button::before {
  background: var(--blue-light);
}
.contact .button:hover {
  color: var(--navy);
}
.contact .note {
  margin-top: 2rem;
  color: rgba(232, 238, 245, 0.6);
  font-size: 0.9rem;
}
.contact .greet {
  margin-top: 2.4rem;
  color: var(--blue-light);
  font-family: var(--script);
  font-size: 1.9rem;
  font-weight: 500;
}

/* Öffnungszeiten */
.hours {
  max-width: 420px;
  margin: 2.2rem auto 0;
  text-align: left;
}
.hours > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(127, 178, 214, 0.25);
}
.hours > div:last-child {
  border-bottom: 1px solid rgba(127, 178, 214, 0.25);
}
.hours dt {
  font-size: 0.95rem;
  color: rgba(232, 238, 245, 0.82);
  align-self: center;
}
.hours dd {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  color: #e8eef5;
  white-space: nowrap;
}

/* Sticky Kontaktleiste */
.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  padding: 0.6rem clamp(1rem, 4vw, 2.5rem);
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom, 0px));
  background: rgba(20, 38, 58, 0.94);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(127, 178, 214, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(100%);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s;
}
.contact-bar.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.contact-bar .bar-actions {
  display: flex;
  gap: 0.8rem;
  flex: 0 0 auto;
}
.contact-bar .hint {
  margin-right: 0.4rem;
  color: var(--blue-light);
  font-family: var(--script);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}
.contact-bar .button {
  padding: 0.55rem 1.1rem;
  border-color: var(--blue-light);
  color: var(--blue-light);
  font-size: 0.78rem;
}
.contact-bar .button::before {
  background: var(--blue-light);
}
.contact-bar .button.solid {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}
.contact-bar .button.solid::before {
  background: var(--blue-light);
}
.contact-bar .button:hover {
  color: var(--navy);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(232, 238, 245, 0.64);
  border-top: 1px solid rgba(127, 178, 214, 0.25);
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.4rem;
  font-size: 0.85rem;
}
.foot a {
  color: rgba(232, 238, 245, 0.75);
  text-decoration: none;
  margin-left: 1.4rem;
}
.foot a:hover,
.credit:hover {
  color: var(--blue-light);
}
.credit-row {
  padding-block: 0.9rem;
  border-top: 1px solid rgba(127, 178, 214, 0.15);
  text-align: center;
  font-size: 0.8rem;
}
.credit {
  color: rgba(232, 238, 245, 0.45);
  text-decoration: none;
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 100;
  background: white;
  padding: 1rem;
}
.reveal {
  animation: rise 0.7s ease both;
}
.actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
}

/* Reveal on scroll */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 1ms);
}
html.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Seitenkomponenten (aus den Unterseiten konsolidiert) */
/* physiotherapie */
.more-card figure.visual span {
  position: relative;
  z-index: 1;
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--blue);
  text-align: center;
  padding: 0 1rem 0.4rem;
}

/* ergotherapie */
/* site.css kennt keine Listen innerhalb von .method; zweispaltig-kompakte Darstellung für Störungsbilder/Methoden */
.method-body h4 {
  margin-top: 1.1rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
}
.method ul {
  columns: 2;
  gap: 1.5rem;
  margin-top: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  list-style: none;
}
.method ul li {
  break-inside: avoid;
  padding: 0.3rem 0;
}
.method ul li::before {
  content: "·";
  color: var(--blue);
  font-weight: 700;
  margin-right: 0.5rem;
}
/* site.css stylt keine Links in .disclaimer */
.disclaimer a {
  color: var(--blue);
  text-underline-offset: 0.2em;
}
@media (max-width: 1100px) {
  /* Beschreibungsteil mit Listen bricht wie .method p in die zweite Spalte um */
  .method .method-body {
    grid-column: 2;
  }
}
@media (max-width: 700px) {
  .method ul {
    columns: 1;
  }
}

/* tierosteopathie */
/* Abstand zwischen Methodenliste und Anlass-Liste (kein site.css-Abstand dafür vorgesehen) */
.occasions {
  margin-top: 2.8rem;
  max-width: 690px;
}
.occasions h3 {
  margin-bottom: 0.4rem;
}

/* kurse */
.prose blockquote {
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.45rem;
  line-height: 1.45;
  color: var(--blue);
  border-left: 2px solid var(--blue);
  padding-left: 1.4rem;
  margin: 2rem 0;
}
.prose blockquote cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 0.8rem;
}
.prose h3 {
  margin: 2.2rem 0 0.2rem;
}
.prose ul.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}
@media (max-width: 600px) {
  .prose ul.cols {
    grid-template-columns: 1fr;
  }
}

/* team */

/* Responsive */
@media (min-width: 760px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .course-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1100px) {
  .method {
    grid-template-columns: 2.6rem minmax(0, 1fr);
  }
  .method p:not(.sub) {
    grid-column: 2;
  }
}
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 1.5rem;
    flex-direction: column;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(20, 38, 58, 0.12);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > a::after,
  .nav-item > a::after {
    display: none;
  }
  .nav-item {
    width: 100%;
    padding: 0;
    margin: 0;
    text-align: center;
  }
  .dropdown {
    position: static;
    min-width: 0;
    padding: 0.35rem 0 0.5rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-links a {
    font-size: 1rem;
  }
  .dropdown a {
    padding: 0.35rem;
    font-size: 0.82rem;
  }
  .menu-button {
    display: flex;
    margin-left: auto;
  }
  .nav-phone {
    display: none;
  }
  .visual-panel::after {
    inset: 0.9rem;
  }
  .section-grid,
  .intro-grid,
  .facts {
    grid-template-columns: 1fr;
  }
  .section-grid > .sticky,
  .intro-aside {
    position: static;
  }
  .intro-grid {
    gap: 2.2rem;
  }
  .keyfacts dl {
    grid-template-columns: repeat(2, 1fr);
  }
  .keyfacts::after {
    right: -30%;
    opacity: 0.05;
  }
  .facts::before {
    left: 7px;
    right: auto;
    top: 0;
    bottom: 0;
    width: 1px;
    height: auto;
  }
  .fact {
    padding: 0 0 0 2.4rem;
  }
  .fact::before {
    top: 0.35rem;
  }
  .fact::before {
    box-shadow: 0 0 0 5px var(--paper);
  }
  .more-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    margin-inline: calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 0.6rem;
    scrollbar-width: none;
  }
  .more-grid::-webkit-scrollbar {
    display: none;
  }
  .more-card {
    flex: 0 0 min(76%, 340px);
    scroll-snap-align: start;
  }
  .welcome,
  .praxis-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }
  .intro .statement {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }
  .method {
    grid-template-columns: 2.2rem minmax(0, 1fr);
    gap: 0.5rem 0.9rem;
  }
  .method::after {
    inset: 0 calc(-1 * var(--gutter));
  }
  .keyfacts dl {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .keyfacts dd {
    font-size: 1.3rem;
  }
  .foot {
    flex-direction: column;
  }
  .foot a {
    margin: 0 1rem 0 0;
  }
  .contact-bar {
    gap: 0.4rem 0.8rem;
    padding-top: 0.45rem;
  }
  .contact-bar .hint {
    margin-right: 0;
    text-align: center;
    font-size: 1.3rem;
  }
  .contact-bar .bar-actions {
    flex: 1 1 auto;
    justify-content: center;
    max-width: 460px;
  }
  .contact-bar .button {
    flex: 1 1 0;
    padding-inline: 0.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Gemeinsamer Feinschliff */
.more-grid {
  gap: 2rem;
}
.more-card {
  border-top: 1px solid var(--line);
  padding-block: 0.5rem 1rem;
}
.more-card:hover {
  border-color: var(--blue);
}
.intro .prose p:first-child::first-letter {
  float: none;
  font: inherit;
  color: inherit;
  padding: 0;
  margin: 0;
}
.contact.dark {
  background: var(--navy);
}
.contact-home {
  text-align: left;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 5rem;
}
.contact-home h2 {
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.16;
  font-size: clamp(3rem, 5vw, 4.6rem);
}
.contact-home .phone {
  margin: 1.6rem 0 0;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  display: inline-flex;
  gap: 1rem;
  align-items: baseline;
}
.contact-home .phone span {
  font-size: 0.7em;
}
.contact-home .note {
  margin-top: 0.5rem;
}
.contact-home .mail {
  display: inline-block;
  margin-top: 1.5rem;
  text-underline-offset: 0.3em;
  overflow-wrap: anywhere;
}
.contact-details {
  padding-top: 0.5rem;
}
.contact-details h3 {
  font-size: 1.2rem;
}
.contact-details .hours {
  margin: 1.5rem 0 2.5rem;
  max-width: none;
}
.contact-details .hours > div {
  display: block;
  padding-block: 0.8rem;
}
.contact-details .hours dt {
  font: inherit;
  letter-spacing: 0;
  text-transform: none;
}
.contact-details .hours dd {
  font-size: 1.4rem;
  margin-top: 0.3rem;
}
.contact-bar .hint {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
}
.keyfacts {
  background: var(--navy);
}
.keyfacts::after {
  content: none;
}
:where(.dark, .service-plate, .contact-bar) :focus-visible {
  outline-color: var(--blue-light);
}
@media (max-width: 1050px) {
  .services {
    grid-template-columns: 0.8fr 1.3fr;
    gap: 2rem;
  }
  dl.course-meta {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
  dl.course-meta dd + dt {
    margin-top: 0.5rem;
  }
}
@media (max-width: 900px) {
  .welcome,
  .praxis-inner {
    gap: 2.5rem;
  }
  .services {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .services-head {
    position: static;
  }
  .services-head > p:not(.eyebrow) {
    max-width: 30rem;
  }
  .service-row {
    padding-block: 1.8rem;
  }
  .course-heading {
    gap: 2rem;
  }
  .contact-grid {
    gap: 3rem;
  }
  .nav-links {
    max-height: calc(100dvh - 70px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 650px) {
  .welcome,
  .praxis-inner {
    grid-template-columns: 1fr;
  }
  .welcome {
    padding-block: 3rem;
  }
  .welcome h2 {
    font-size: 2.35rem;
  }
  .home h2 {
    font-size: 2.3rem;
  }
  .service-row {
    grid-template-columns: 1.3rem 1fr 1.6rem;
    gap: 0.7rem;
  }
  .service-row h3 {
    font-size: 1.7rem;
  }
  .service-row p {
    font-size: 0.98rem;
  }
  .service-examples {
    font-size: 0.75rem;
  }
  .course-heading {
    grid-template-columns: 1fr;
    gap: 1.3rem;
  }
  .course-cards {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  dl.course-meta {
    grid-template-columns: 1fr;
    font-size: 0.85rem;
    padding-top: 1rem;
  }
  .course-note {
    margin-top: 0.5rem;
  }
  .course-note a {
    display: block;
    margin: 0.5rem 0 0;
  }
  .address-number {
    font-size: 11rem;
  }
  .address-bottom {
    font-size: 0.8rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-home h2 {
    font-size: 3.6rem;
  }
  .contact-home .phone {
    font-size: 2.2rem;
  }
  .contact-home .mail {
    font-size: 0.92rem;
  }
  .contact-details {
    border-top: 1px solid #ffffff35;
    padding-top: 2rem;
  }
  .more-card {
    flex-basis: min(85%, 340px);
  }
  .contact-bar {
    flex-wrap: nowrap;
  }
  .contact-bar .hint {
    display: none;
  }
  .contact-bar .button {
    min-height: 44px;
  }
}

/* Alle weiteren Fachbereiche bleiben auch mobil direkt sichtbar. */
@media (max-width: 900px) {
  .more-grid,
  .more-grid.four {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    margin-inline: 0;
    padding: 0;
  }
  .more-card {
    padding-block: 1rem;
  }
  .more-card h3 {
    margin-top: 0;
  }
}

/* Wiederhergestellte Heros nach Nutzerfeedback. */
.hero {
  padding: clamp(3.5rem, 9vh, 6.5rem) 0 clamp(3rem, 8vh, 5.5rem);
  text-align: center;
}
.hero img.mark {
  width: clamp(140px, 18vw, 172px);
  height: auto;
  margin: 0 auto 2rem;
}
.hero .kicker {
  display: inline-block;
  padding: 0.4rem 1.1rem;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.95rem;
  color: var(--blue);
  margin-bottom: 1.6rem;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: 0.01em;
}
.hero h1 .top {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.42em;
  font-weight: 400;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.hero .lead {
  max-width: 34em;
  margin: 1.8rem auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}
.cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.4rem;
}
.hero .place,
.page-hero .place {
  margin-top: 2.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.hero .place b,
.page-hero .place b {
  color: var(--blue);
}
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  min-height: clamp(560px, 82vh, 800px);
  max-width: 1600px;
  margin-inline: auto;
  overflow: hidden;
}
.page-hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  margin-right: clamp(-9rem, -9vw, -3rem);
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(4rem, 9vw, 7rem)
    clamp(1.5rem, 6vw, 6rem);
}
.page-hero-copy > * {
  animation: rise 0.9s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 110ms + 150ms);
}
.page-hero-copy > :nth-child(1) {
  --i: 0;
}
.page-hero-copy > :nth-child(2) {
  --i: 1;
}
.page-hero-copy > :nth-child(3) {
  --i: 2;
}
.page-hero-copy > :nth-child(4) {
  --i: 3;
}
.page-hero-copy > :nth-child(5) {
  --i: 4;
}
.page-hero h1 {
  font-weight: 300;
  font-size: clamp(2.8rem, 5.6vw, 4.9rem);
  line-height: 0.98;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.page-hero h1 em {
  display: block;
  font-style: italic;
  font-weight: 300;
  color: var(--blue);
}
.page-hero p.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 30rem;
  margin-top: 1.7rem;
}
.page-hero .place b {
  color: var(--blue);
}
.page-hero-media {
  position: relative;
  min-height: 460px;
  overflow: hidden;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.07);
  animation: settle 2.4s var(--ease) both;
}
.page-hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    var(--paper) 0%,
    rgba(244, 246, 249, 0.75) 12%,
    rgba(244, 246, 249, 0) 42%
  );
}
.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
  animation: rise 1.4s var(--ease) 0.9s both;
}
.ghost {
  position: absolute;
  z-index: 0;
  left: -0.04em;
  bottom: 0.08em;
  font-family: var(--display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(6rem, 11.5vw, 11rem);
  line-height: 1;
  color: rgba(31, 111, 168, 0.07);
  letter-spacing: -0.02em;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  animation: rise 1.6s var(--ease) 0.4s both;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
}
@keyframes settle {
  to {
    transform: scale(1);
  }
}
.hero-visual {
  display: grid;
  place-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(
      560px 320px at 70% 18%,
      rgba(255, 255, 255, 0.85),
      transparent 65%
    ),
    linear-gradient(135deg, var(--mist), var(--paper));
}
.hero-visual {
  position: absolute;
  inset: 0;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("mark.png") center / 62% no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(31, 111, 168, 0.25);
  pointer-events: none;
}
ul.hero-terms {
  position: relative;
  z-index: 1;
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}
ul.hero-terms li {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.3;
  color: var(--blue);
  padding: 0.55rem 0;
}
ul.hero-terms li + li {
  border-top: 1px solid var(--line-soft);
}
.page-hero-media.team-photo img {
  object-position: center 22%;
}
@media (max-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .page-hero-media {
    order: -1;
    min-height: 0;
    height: clamp(300px, 64vw, 480px);
  }
  .page-hero-media::before {
    background: linear-gradient(
      180deg,
      rgba(244, 246, 249, 0) 42%,
      rgba(244, 246, 249, 0.55) 70%,
      rgba(244, 246, 249, 0.97) 100%
    );
  }
  .page-hero-media::after,
  .hero-visual::after {
    inset: 0.9rem;
  }
  .page-hero-copy {
    width: auto;
    max-width: none;
    margin: -5rem var(--gutter) 0;
    padding: 0 0 3rem;
  }
  .ghost {
    font-size: clamp(5rem, 26vw, 9rem);
    bottom: 0.1em;
    right: -0.05em;
    left: auto;
  }
}
@media (max-width: 600px) {
  .hero .kicker {
    font-size: 0.88rem;
  }
  .hero .place,
  .page-hero .place {
    font-size: 0.9rem;
    white-space: normal;
    text-wrap: balance;
  }
  .page-hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.2rem);
  }
  .page-hero .actions {
    flex-direction: column;
    max-width: 320px;
  }
  .page-hero .actions .button {
    width: 100%;
  }
  .cta {
    flex-direction: column;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  .cta .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-hero-media img {
    transform: none;
  }
}

.hero.wrap {
  max-width: 1120px;
}
/* Kursnamen führen; Alter und Beschreibung stehen darunter. */
.course-cards article {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.course-title {
  padding: 0 1.8rem 1.3rem;
  border-bottom: 1px solid var(--blue);
}
.course-cards h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.15rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.25;
}
.course-age {
  color: var(--blue);
  font-size: 0.9rem;
  margin-top: 0.55rem;
}
.course-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.8rem;
  border-right: 1px solid var(--line);
}
.course-cards article:first-child .course-title,
.course-cards article:first-child .course-body {
  padding-left: 0;
}
.course-cards article:last-child .course-title,
.course-cards article:last-child .course-body {
  padding-right: 0;
}
.course-cards article:last-child .course-body {
  border-right: 0;
}
.course-body > p {
  color: var(--muted);
}
.course-body .text-link {
  align-self: flex-start;
  margin-top: 1.8rem;
}
.course-subline {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 1rem;
}
.course-subline + .course-meta {
  margin-top: 0.5rem;
}
@media (max-width: 1050px) {
  .course-title {
    padding-inline: 1.2rem;
  }
  .course-body {
    padding-inline: 1.2rem;
  }
}
@media (max-width: 650px) {
  .hero.wrap {
    padding-inline: var(--gutter);
  }
  .course-cards article {
    padding-block: 1.5rem;
    border-top: 1px solid var(--line);
  }
  .course-title,
  .course-cards article:first-child .course-title {
    padding: 0 0 1.2rem;
    border: 0;
  }
  .course-cards h3 {
    font-size: 1.9rem;
  }
  .course-body,
  .course-cards article:first-child .course-body {
    padding: 0;
    border: 0;
  }
  .course-body > p {
    font-size: 0.95rem;
  }
  .course-body .text-link {
    font-size: 0.7rem;
    margin-top: 1.1rem;
  }
}

/* Echte Außenansicht mit Adresse und Anfahrt direkt am Foto. */
.praxis-photo {
  margin: 0;
  min-width: 0;
  align-self: center;
}
.praxis-photo picture,
.praxis-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.praxis-photo figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
}
.praxis-photo figcaption a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
}
.praxis-photo figcaption a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}
@media (max-width: 400px) {
  .praxis-photo figcaption {
    flex-wrap: wrap;
  }
}

/* Nach Entfernen der FAQ schließen die weiterführenden Links direkt an. */
.section > .more:only-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Eigene Formensprache Müller: weiche Flächen, Karten, Zeitstrahl als Wirbelsäule. */


/* Start-Hero: Praxisfoto als Bühne, Text auf weichem Verlauf, Infoleiste an der Bildkante. */
.hero-stage {
  position: relative;
  isolation: isolate;
  padding: 0;
  text-align: left;
  background: var(--white);
}
/* Blaue Fläche links; das Foto rechts blendet per Maske weich hinein. */
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 0 0 3.5rem;
  z-index: -3;
  background: linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 80%);
}
.stage-photo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 3.5rem;
  left: 46%;
  z-index: -2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 7%, #000 36%);
  mask-image: linear-gradient(90deg, transparent 7%, #000 36%);
}
/* Bild größer als die Fläche: auf den Eingang (Treppe unter dem Balkon) gezoomt. */
.stage-photo img {
  position: absolute;
  top: -14%;
  left: 4%;
  width: 150%;
  height: 132%;
  max-width: none;
  object-fit: cover;
  object-position: 14% 62%;
}
/* Logo und Text mittig in der blauen Fläche. */
.stage-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 50%;
  max-width: none;
  margin: 0;
  text-align: center;
  min-height: clamp(520px, 74vh, 700px);
  padding-block: clamp(4rem, 8vw, 6rem) clamp(6rem, 10vw, 8rem);
  color: var(--white);
}
.stage-copy > * {
  max-width: 34rem;
  animation: rise 0.9s var(--ease) both;
}
.stage-copy > :nth-child(2) {
  animation-delay: 80ms;
}
.stage-copy > :nth-child(3) {
  animation-delay: 160ms;
}
.stage-copy > :nth-child(4) {
  animation-delay: 240ms;
}
.stage-logo img {
  width: clamp(220px, 24vw, 330px);
  height: auto;
}
.hero-stage .lead {
  max-width: 26rem;
  margin: 1.6rem auto 0;
  color: rgba(255, 255, 255, 0.9);
}
.hero-stage .cta {
  justify-content: center;
}
.hero-stage .button {
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}
.hero-stage .button::before {
  background: var(--white);
}
.hero-stage .button:hover,
.hero-stage .button:focus-visible {
  color: var(--blue-deep);
}
.hero-stage .button.solid {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue-deep);
}
.hero-stage .button.solid::before {
  background: var(--mist);
}
.stage-copy :focus-visible {
  outline-color: var(--white);
}
.stage-info-wrap {
  position: relative;
  margin-top: -3.5rem;
}
.stage-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 1.5rem 0.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 24px 50px -28px rgba(20, 38, 58, 0.45);
  animation: rise 0.9s var(--ease) 0.35s both;
}
.stage-info > div {
  padding: 0.2rem 1.6rem;
}
.stage-info > div + div {
  border-left: 1px solid var(--line-soft);
}
.stage-info dt {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
}
.stage-info dd {
  margin: 0.3rem 0 0;
  font: 400 1.25rem/1.35 var(--display);
  color: var(--ink);
}
.stage-info dd > span {
  display: block;
  margin-top: 0.2rem;
  font: 400 0.92rem/1.4 var(--sans);
  color: var(--muted);
}
.stage-info a {
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s;
}
.stage-info a:hover {
  color: var(--blue);
}
@media (max-width: 800px) {
  .hero-stage::before {
    inset: 0 0 7rem;
  }
  .stage-photo {
    position: relative;
    inset: auto;
    display: block;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent);
    mask-image: linear-gradient(180deg, #000 55%, transparent);
  }
  .stage-photo img {
    top: -10%;
    left: -12%;
    width: 175%;
    height: 125%;
    object-position: 14% 62%;
  }
  .stage-copy {
    width: auto;
    min-height: 0;
    margin-top: -3rem;
    padding-block: 0 3rem;
  }
  .stage-info-wrap {
    margin-top: 0;
  }
  .stage-info {
    grid-template-columns: 1fr;
    padding: 0.4rem 0;
  }
  .stage-info > div {
    padding: 1rem 1.4rem;
  }
  .stage-info > div + div {
    border-left: 0;
    border-top: 1px solid var(--line-soft);
  }
}
@media (max-width: 600px) {
  .hero-stage .cta {
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
}

/* Willkommen: helles Teamfoto mit Plakette. */
.team-portrait {
  position: relative;
  margin: 0;
}
.team-portrait img {
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}
/* Erfahrung als blaue Leiste unter dem Foto, damit niemand verdeckt wird. */
.since-badge {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.85rem 1.4rem 0.95rem;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--blue);
  color: var(--white);
  line-height: 1.2;
}
.since-badge strong {
  font: 300 1.9rem/1 var(--display);
  letter-spacing: -0.01em;
}
.since-badge span {
  font-size: 0.98rem;
}

/* Willkommen: heller Textblock mit Kennzahlen. */
.welcome-section {
  background: var(--white);
}
.welcome-copy p:not(.eyebrow) {
  color: var(--muted);
}
.welcome h2 span {
  color: var(--blue);
}
.welcome-copy p:not(.eyebrow) {
  color: var(--muted);
}
.welcome-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}
.welcome-stats div {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--mist);
}
.welcome-stats dt {
  font: 300 2.1rem/1.1 var(--display);
  color: var(--blue);
}
.welcome-stats dd {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  line-height: 1.35;
  color: var(--ink);
}

/* Fachbereiche: Zeilen mit weicher Hover-Fläche. */
.service-row::before {
  inset: 0 -1.2rem;
  border-radius: var(--radius-sm);
}
.service-number {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--mist);
  font-size: 0.85rem;
  font-weight: 500;
  transform: translateY(-0.3rem);
}
.service-row {
  grid-template-columns: 2.1rem 1fr 2rem;
  gap: 1.2rem;
}
.service-row:hover .service-number {
  background: var(--blue);
  color: var(--white);
}

/* Kurse: weiße Karten auf Mist. */
.course-cards {
  gap: 1.2rem;
}
.course-cards article {
  padding: 2rem 0 1.8rem;
  border-radius: var(--radius);
  background: var(--white);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.course-cards article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.course-title,
.course-cards article:first-child .course-title,
.course-cards article:last-child .course-title {
  padding: 0 1.8rem 1.2rem;
  border-bottom: 1px solid var(--line-soft);
}
.course-body,
.course-cards article:first-child .course-body,
.course-cards article:last-child .course-body {
  padding: 1.4rem 1.8rem 0;
  border: 0;
}
.course-age {
  display: inline-block;
  margin-top: 0.7rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: 0.85rem;
}
.course-note {
  border-top: 0;
}

/* Praxisfoto */
.praxis-photo picture img {
  border-radius: var(--radius);
}
.praxis-photo figcaption {
  border-bottom: 0;
}

/* Kontakt: blaue Fläche über die volle Breite, passend zum Start-Hero. */
.contact.dark {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  color: var(--white);
  background:
    radial-gradient(
      760px 420px at 85% 0%,
      rgba(127, 178, 214, 0.35),
      transparent 70%
    ),
    linear-gradient(170deg, var(--blue) 0%, var(--blue-deep) 70%, #123f63 100%);
}
.contact.dark .eyebrow,
.contact.dark h2,
.contact.dark h3,
.contact.dark .phone,
.contact.dark .mail,
.contact.dark .text-link,
.contact.dark .hours dd {
  color: var(--white);
}
.contact.dark p,
.contact.dark .note,
.contact.dark .addr,
.contact.dark .hours dt {
  color: rgba(255, 255, 255, 0.86);
}
.contact.dark .phone:hover {
  color: var(--mist);
}
.contact.dark .hours > div {
  border-color: rgba(255, 255, 255, 0.28);
}
.contact.dark .contact-details {
  padding: 1.6rem 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
}
.contact.dark .contact-details .hours > div:first-child {
  border-top: 0;
}
.contact.dark .contact-details .hours > div:last-child {
  border-bottom: 0;
}
.contact.dark .button {
  border-color: var(--white);
  color: var(--white);
}
.contact.dark .button::before {
  background: var(--white);
}
.contact.dark .button:hover {
  color: var(--blue-deep);
}
.contact.dark :focus-visible {
  outline-color: var(--white);
}

/* Kontaktleiste: schwebende Pille. */
.contact-bar {
  left: 50%;
  right: auto;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: max-content;
  max-width: calc(100% - 1.5rem);
  flex-wrap: nowrap;
  padding: 0.45rem 0.45rem 0.45rem 1.3rem;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 38, 58, 0.92);
  box-shadow: 0 18px 40px -12px rgba(20, 38, 58, 0.55);
  transform: translate(-50%, 140%);
}
.contact-bar.show {
  transform: translate(-50%, 0);
}
.contact-bar .hint {
  color: rgba(232, 238, 245, 0.85);
}
.contact-bar .bar-actions {
  gap: 0.4rem;
}
.contact-bar .button {
  font-size: 0.9rem;
  padding: 0.55rem 1.15rem;
}

/* Unterseiten-Hero: weiche Bildfläche statt Innenrahmen. */
.page-hero-media::after,
.hero-visual::after {
  content: none;
}
.hero-visual {
  inset: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem)
    clamp(1rem, 2.5vw, 2rem) 0;
  border-radius: calc(var(--radius) + 10px);
}

/* Das Wichtigste: helle Karte mit Haken statt Randlinie. */
.intro-aside {
  padding: 1.6rem 1.7rem;
  border-left: 0;
  border-radius: var(--radius);
  background: var(--mist);
}
.intro-aside li {
  position: relative;
  padding: 0.7rem 0 0.7rem 2.1rem;
  font-size: 1.12rem;
  border-top-color: rgba(31, 111, 168, 0.14);
}
.intro-aside li:first-of-type {
  padding-top: 0.2rem;
}
.intro-aside li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.6' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 72% no-repeat;
}
.intro-aside li:first-of-type::before {
  top: 0.45rem;
}

/* Gut zu wissen: helle Karten statt dunklem Band. */
.keyfacts {
  background: var(--mist);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.keyfacts dl {
  gap: 1rem;
}
.keyfacts dl > div {
  padding: 1.4rem 1.5rem 1.6rem;
  border-top: 0;
  border-radius: var(--radius);
  background: var(--white);
}
.keyfacts dd {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--ink);
}

/* Verfahren: Karten im Raster mit rundem Zähler. */
.methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  border-top: 0;
}
.method,
.method:last-child {
  grid-template-columns: 2.6rem minmax(0, 1fr);
  gap: 0.9rem 1.2rem;
  align-content: start;
  padding: 1.8rem 1.9rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--white);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.method::before {
  content: counter(m);
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--mist);
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  grid-row: span 2;
}
.method::after {
  content: none;
}
.method:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.method:hover::before {
  transform: none;
  background: var(--blue);
  color: var(--white);
}
.method > p:not(.sub),
.method .method-body {
  grid-column: 2;
}
.method h3 {
  font-size: clamp(1.3rem, 1.8vw, 1.5rem);
}
.method ul {
  columns: 1;
}

/* Ablauf: senkrechter Zeitstrahl neben der Überschrift. */
.section.mist > .wrap:has(> .facts) {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.section.mist > .wrap:has(> .facts) .section-head {
  position: sticky;
  top: 7rem;
  margin-bottom: 0;
}
.facts {
  grid-template-columns: 1fr;
  gap: 2.4rem;
  margin-top: 0;
}
.facts::before {
  left: 1.3rem;
  right: auto;
  top: 1.3rem;
  bottom: 1.3rem;
  width: 2px;
  height: auto;
  background: repeating-linear-gradient(
    180deg,
    var(--line) 0 6px,
    transparent 6px 12px
  );
}
.fact {
  padding: 0 0 0 4.2rem;
}
.fact::before {
  content: none;
}
.fact .num {
  position: absolute;
  left: 0;
  top: -0.3rem;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin: 0;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 6px var(--mist);
  color: var(--white);
  font-style: normal;
  font-weight: 500;
  font-size: 1rem;
}
.fact h3 {
  font-size: 1.45rem;
}

/* Auch bei uns im Haus: kompakte Kacheln. */
.more {
  border-top: 0;
  padding-top: 0;
}
.more-grid {
  gap: 1rem;
}
.more-card,
.more-card:hover {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition:
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}
.more-card:hover {
  border-color: var(--line);
  box-shadow: var(--shadow);
}
.more-card h3 {
  margin: 0;
  font-size: 1.3rem;
}
.more-card .text-link {
  margin: 0;
  flex: none;
}
.more-card .text-link::after {
  content: none;
}

@media (max-width: 1100px) {
  .methods {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 900px) {
  .section.mist > .wrap:has(> .facts) {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .section.mist > .wrap:has(> .facts) .section-head {
    position: static;
  }
  .fact {
    padding-left: 4.2rem;
  }
  .fact::before {
    content: none;
  }
  .more-grid,
  .more-grid.four {
    gap: 0.75rem;
  }
  .more-card {
    padding-block: 1.1rem;
  }
}
@media (max-width: 650px) {
  .welcome-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.5rem;
  }
  .welcome-stats div {
    padding: 0.8rem 0.75rem;
  }
  .welcome-stats dt {
    font-size: 1.7rem;
  }
  .welcome-stats dd {
    font-size: 0.8rem;
  }
  .since-badge strong {
    font-size: 1.6rem;
  }
  .course-cards article {
    padding: 1.6rem 0 1.5rem;
    border-top: 0;
  }
  .course-title,
  .course-cards article:first-child .course-title {
    padding: 0 1.4rem 1rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .course-body,
  .course-cards article:first-child .course-body {
    padding: 1.1rem 1.4rem 0;
  }
  .method,
  .method:last-child {
    grid-template-columns: 2.3rem minmax(0, 1fr);
    padding: 1.4rem 1.3rem;
    gap: 0.7rem 0.9rem;
  }
  .method::before {
    width: 2.3rem;
    height: 2.3rem;
  }
  .contact.dark .contact-details {
    padding: 1.3rem 1.3rem;
    border-top: 0;
  }
  .contact-bar {
    padding-left: 0.45rem;
  }
  .contact-bar .bar-actions {
    max-width: none;
  }
}
@media (max-width: 400px) {
  .welcome-stats dd {
    font-size: 0.74rem;
  }
}
@media (max-width: 900px) {
  .page-hero:has(.hero-visual) .page-hero-media {
    height: clamp(220px, 52vw, 360px);
  }
  .page-hero:has(.hero-visual) .page-hero-media::before {
    content: none;
  }
  .page-hero:has(.hero-visual) .hero-visual {
    inset: 1rem var(--gutter) 0;
  }
  .page-hero:has(.hero-visual) .page-hero-copy {
    margin-top: 0;
    padding-top: 2rem;
  }
}
@media (max-width: 650px) {
  .method > p:not(.sub),
  .method .method-body {
    grid-column: 1 / -1;
  }
  .method::before {
    grid-row: auto;
  }
  .method > div:first-of-type {
    align-self: center;
  }
}

/* Praxis: praktische Hinweise als Karte (das Foto steht im Start-Hero). */
.praxis-facts {
  margin: 0;
  padding: 0.6rem 2rem;
  border-radius: var(--radius);
  background: var(--mist);
}
.praxis-facts > div {
  padding: 1.3rem 0;
}
.praxis-facts > div + div {
  border-top: 1px solid rgba(31, 111, 168, 0.14);
}
.praxis-facts dt {
  font: 400 1.35rem/1.3 var(--display);
  color: var(--ink);
}
.praxis-facts dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}
.praxis-facts a {
  color: var(--blue);
  white-space: nowrap;
}
@media (max-width: 600px) {
  .praxis-facts {
    padding: 0.3rem 1.4rem;
  }
}

/* Kopfleiste: Bildmarke in passender Auflösung. */
.brand img {
  width: 40px;
  height: 40px;
}

/* Mobiles Menü: Hauptpunkte groß in Blau, Unterpunkte in Anthrazit. */
.nav-cta {
  display: none;
}
@media (max-width: 900px) {
  .nav-links,
  .nav-links.open {
    align-items: stretch;
    gap: 0;
    height: calc(100dvh - 100%);
    max-height: none;
    padding: 0.8rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line-soft);
    border-bottom: 0;
    box-shadow: none;
    text-align: left;
  }
  .nav-links.open {
    animation: menu-in 0.25s var(--ease) both;
  }
  .nav-links > a:not(.nav-cta),
  .nav-item > a {
    display: block;
    padding: 0.8rem 0 0.55rem;
    font: 500 1.42rem/1.2 var(--display);
    color: var(--blue);
  }
  .nav-links > :not(.nav-cta) + :not(.nav-cta) {
    border-top: 1px solid var(--line-soft);
  }
  .nav-item {
    text-align: left;
  }
  .dropdown {
    display: grid;
    gap: 0.1rem;
    margin: 0 0 0.75rem 0.15rem;
    padding: 0 0 0 1rem;
    border-left: 2px solid var(--line-soft);
  }
  .dropdown a {
    padding: 0.34rem 0;
    border-radius: 0;
    font-size: 1.1rem;
    color: var(--ink);
  }
  .dropdown a:hover {
    background: none;
    color: var(--blue);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--blue);
  }
  .nav-links .dropdown a:hover {
    color: var(--blue);
  }
  .nav-links .nav-cta {
    display: flex;
    min-height: 50px;
    margin-top: 1.2rem;
    padding: 0.9rem 1.4rem;
    font-size: 1.05rem;
    color: var(--white);
  }
  html.menu-open {
    overflow: hidden;
  }
}
@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

/* Start-Hero auf breiten Bildschirmen: Inhalt in der Seitenmitte, Foto rechts daneben. */
@media (min-width: 1100px) {
  .stage-copy {
    width: 100%;
  }
  .stage-photo {
    left: calc(50% + 11rem);
    -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 4%, #000 34%);
  }
  .stage-photo img {
    left: -4%;
    width: 170%;
    object-position: 10% 62%;
  }
}

/* Kontaktformular im Modal. */
.contact .kontakt-button {
  margin-top: 1.6rem;
}
html.modal-open {
  overflow: hidden;
}
.kontakt-modal {
  width: min(640px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: calc(var(--radius) + 6px);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 40px 90px -30px rgba(20, 38, 58, 0.55);
  overflow: auto;
  overscroll-behavior: contain;
}
.kontakt-modal[open] {
  animation: modal-in 0.35s var(--ease) both;
}
.kontakt-modal::backdrop {
  background: rgba(20, 38, 58, 0.55);
  backdrop-filter: blur(4px);
  animation: backdrop-in 0.3s ease both;
}
@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
}
@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}
.kontakt-inner {
  position: relative;
  padding: clamp(1.6rem, 4vw, 2.6rem);
}
.kontakt-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--mist);
  color: var(--ink);
  font: 300 1.7rem/1 var(--display);
  cursor: pointer;
  transition: background 0.2s;
}
.kontakt-close:hover {
  background: var(--silver-light);
}
.kontakt-modal h2 {
  padding-right: 2.5rem;
  font: 300 clamp(1.9rem, 4vw, 2.4rem)/1.15 var(--display);
  letter-spacing: -0.02em;
}
.kontakt-intro {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.98rem;
}
.kontakt-intro a,
.kontakt-privacy a {
  color: var(--blue);
}
.kontakt-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}
.kontakt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.kontakt-field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.kontakt-field label span {
  font-weight: 400;
  color: var(--muted);
}
.kontakt-field input,
.kontakt-field select,
.kontakt-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--silver-light);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.4 var(--sans);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}
.kontakt-field select {
  appearance: none;
  padding-right: 2.6rem;
  background: var(--paper)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%231f6fa8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    right 0.9rem center / 1rem no-repeat;
  cursor: pointer;
}
.kontakt-field textarea {
  resize: vertical;
  min-height: 6.5rem;
}
.kontakt-field input:focus,
.kontakt-field select:focus,
.kontakt-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(31, 111, 168, 0.14);
}
.kontakt-field [aria-invalid] {
  border-color: #b3261e;
}
.kontakt-error {
  margin-top: 0.3rem;
  color: #b3261e;
  font-size: 0.88rem;
}
.kontakt-error:empty {
  display: none;
}
.kontakt-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.kontakt-privacy {
  color: var(--muted);
  font-size: 0.85rem;
}
.kontakt-status {
  color: #b3261e;
  font-size: 0.95rem;
}
.kontakt-status:empty {
  display: none;
}
.kontakt-submit {
  justify-self: start;
  min-height: 50px;
  padding-inline: 2rem;
}
.kontakt-submit:disabled {
  opacity: 0.7;
  cursor: progress;
}
.kontakt-done {
  padding: 1.5rem 0 0.5rem;
  text-align: center;
}
.kontakt-done h2 {
  padding: 0;
  outline: none;
}
.kontakt-done p {
  max-width: 26rem;
  margin: 0.8rem auto 1.6rem;
  color: var(--muted);
}
.kontakt-check {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.2rem;
  border-radius: 50%;
  background: var(--blue)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.5L12 5.6' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 60% no-repeat;
}
@media (max-width: 600px) {
  .kontakt-modal {
    width: 100%;
    max-width: none;
    max-height: calc(100dvh - 1.5rem);
    margin: auto 0 0;
    border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0;
  }
  .kontakt-modal[open] {
    animation-name: sheet-in;
  }
  .kontakt-inner {
    padding-bottom: calc(1.6rem + env(safe-area-inset-bottom, 0px));
  }
  .kontakt-row {
    grid-template-columns: 1fr;
  }
  .kontakt-field input,
  .kontakt-field select,
  .kontakt-field textarea {
    font-size: 16px;
  }
  .kontakt-submit {
    justify-self: stretch;
  }
}
@keyframes sheet-in {
  from {
    transform: translateY(100%);
  }
}
