/* =========================================================
   Komponenten – Therapiezentrum Wedel
   Reihenfolge: Farbwelten · Buttons · Störer · Markenbogen ·
   Header · Mobile Leiste · Startbereich · Karten · FAQ · Footer
   ========================================================= */

/* ---------- Farbwelten (monochrom je Fläche) ---------- */
.theme-salbei-dark {
  --color-bg: var(--salbei-800);
  --color-heading: var(--weiss);
  --color-text: var(--salbei-100);
  --color-link: var(--weiss);
  --color-border: var(--salbei-600);
  --arc-color: var(--salbei-600);
  background: var(--color-bg);
  color: var(--color-text);
}

.theme-salbei-light {
  --color-bg: var(--salbei-100);
  --color-heading: var(--salbei-900);
  --color-text: var(--salbei-800);
  --color-border: var(--salbei-300);
  --arc-color: var(--salbei-300);
  background: var(--color-bg);
  color: var(--color-text);
}

.theme-ocker {
  --color-bg: var(--ocker-100);
  --color-heading: var(--ocker-900);
  --color-text: var(--ocker-900);
  --color-link: var(--ocker-900);
  --color-border: var(--ocker-300);
  --color-action: var(--ocker-900);
  --color-action-hover: var(--salbei-900);
  --arc-color: var(--ocker-300);
  background: var(--color-bg);
  color: var(--color-text);
}

.theme-granit {
  --color-bg: var(--granit-800);
  --color-heading: var(--weiss);
  --color-text: #e6eded;
  --color-link: var(--weiss);
  --arc-color: var(--granit-600);
  background: var(--color-bg);
  color: var(--color-text);
}

.theme-olive {
  --color-bg: var(--olive-800);
  --color-heading: var(--weiss);
  --color-text: #efecdc;
  --color-link: var(--weiss);
  --arc-color: var(--olive-600);
  background: var(--color-bg);
  color: var(--color-text);
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--color-action);
  --btn-fg: var(--weiss);
  --btn-border: var(--btn-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 3.25rem;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: inherit;
  font-size: 1.0625rem;
  font-weight: var(--fw-medium);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur-fast) var(--ease-out),
    border-color var(--dur-fast) var(--ease-out),
    color var(--dur-fast) var(--ease-out),
    transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  --btn-bg: var(--color-action-hover);
  color: var(--btn-fg);
}

.btn:active {
  transform: translateY(1px);
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.btn__sub {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-regular);
  opacity: 0.85;
}

/* Kontur-Button */
.btn--secondary {
  --btn-bg: transparent;
  --btn-fg: var(--color-heading);
  --btn-border: currentColor;
}

.btn--secondary:hover {
  --btn-bg: var(--color-heading);
  --btn-border: var(--color-heading);
  --btn-fg: var(--color-bg);
}

/* Heller Button auf dunklen Flächen */
.btn--light {
  --btn-bg: var(--salbei-100);
  --btn-fg: var(--salbei-900);
  --btn-border: var(--salbei-100);
}

.btn--light:hover {
  --btn-bg: var(--weiss);
  --btn-border: var(--weiss);
  --btn-fg: var(--salbei-900);
}

/* Karriere-Button (Ocker-Welt) */
.btn--career {
  --btn-bg: var(--ocker-100);
  --btn-fg: var(--ocker-900);
  --btn-border: var(--ocker-100);
}

.btn--career:hover {
  --btn-bg: var(--ocker-300);
  --btn-border: var(--ocker-300);
  --btn-fg: var(--ocker-900);
}

.btn--small {
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  font-size: var(--fs-ui);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Textlink mit Pfeil-Icon */
.link-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-medium);
  min-height: 2.75rem; /* Touch-Ziel 44 px */
  text-decoration: none;
  color: var(--color-heading);
}

.link-more svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--dur-fast) var(--ease-out);
}

.link-more:hover svg {
  transform: translateX(3px);
}

/* ---------- Störer ---------- */
.stoerer {
  --stoerer-size: 7.5rem;
  display: grid;
  place-items: center;
  width: var(--stoerer-size);
  aspect-ratio: 1;
  padding: var(--space-3);
  border-radius: 50%;
  background: var(--salbei-900);
  color: var(--ocker-100);
  font-size: max(0.95rem, calc(var(--stoerer-size) * 0.15));
  font-weight: var(--fw-display);
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.01em;
  rotate: -12deg;
  text-decoration: none;
}

.stoerer--ocker {
  background: var(--ocker-100);
  color: var(--salbei-900);
}

.stoerer--small {
  --stoerer-size: 4.75rem;
}

/* Mini-Plakette, z. B. am Karriere-Button im Header */
.badge-dot {
  display: inline-grid;
  place-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: var(--salbei-900);
  color: var(--ocker-100);
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  line-height: 1.4;
  white-space: nowrap;
}

/* ---------- Markenbogen ---------- */
/* Regeln laut Styleguide Kap. 4:
   - Viertelkreis, Breite = kürzere Seite der Fläche, Strichstärke 30 %
   - immer im Anschnitt: beide Enden liegen auf den Kanten der Fläche
   - nur in 90°-Schritten; die Drehung ergibt sich aus der Ecke
   - Farbe: eine Tonstufe heller/dunkler als die Fläche
   Die Größe setzt site.js automatisch (--arc-size = kürzere Seite). */
.has-arcs {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.arc {
  position: absolute;
  z-index: -1;
  width: var(--arc-size, clamp(16rem, 45vw, 32rem));
  aspect-ratio: 1;
  color: var(--arc-color, var(--salbei-300));
  pointer-events: none;
}

.arc svg { width: 100%; height: 100%; }

.arc--bl { left: 0; bottom: 0; }
.arc--tl { left: 0; top: 0; rotate: 90deg; }
.arc--tr { right: 0; top: 0; rotate: 180deg; }
.arc--br { right: 0; bottom: 0; rotate: 270deg; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--weiss) 94%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-med) var(--ease-out);
}

/* Unschärfe auf einer eigenen Ebene: backdrop-filter direkt am Header
   würde das fixierte Mobilmenü auf die Header-Höhe einsperren */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--salbei-100);
}

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

.site-header__logo {
  flex: none;
  display: block;
  margin-right: auto;
  padding-block: var(--space-2);
  min-height: 2.75rem;
  align-content: center;
}

.site-header__logo img {
  width: auto;
  height: clamp(1.45rem, 1.1rem + 1.2vw, 1.9rem);
}

.site-nav {
  display: none;
}

.site-nav__list {
  display: flex;
  gap: var(--space-1);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__link {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  color: var(--salbei-900);
  font-size: 1rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.site-nav__link:hover,
.site-nav__link[aria-current="page"],
.site-nav__link.is-active,
.site-nav__link[aria-expanded="true"] {
  background: var(--salbei-100);
}

.site-header__actions {
  display: none;
  gap: var(--space-2);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 2.75rem;
  padding: 0.4rem 0.6rem 0.4rem 0.9rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--salbei-100);
  color: var(--salbei-900);
  font: inherit;
  font-size: 1rem;
  font-weight: var(--fw-medium);
  cursor: pointer;
}

.menu-toggle svg { width: 1.5rem; height: 1.5rem; }

.menu-toggle .badge-dot { margin-left: var(--space-1); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: var(--z-menu);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--space-6) var(--gutter) calc(var(--space-8) + env(safe-area-inset-bottom));
  background: var(--weiss);
}

.mobile-menu[hidden] { display: none; }

.mnav {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--salbei-100);
}

.mnav > li { border-bottom: 1px solid var(--salbei-100); }

.mnav__link,
.mnav__toggle {
  width: 100%;
  border: 0;
  background: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 3.5rem;
  color: var(--salbei-900);
  font-size: 1.375rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
}

.mobile-menu .btn-row {
  margin-top: var(--space-6);
  flex-direction: column;
}

.mobile-menu__contact {
  margin-top: var(--space-6);
  font-size: var(--fs-small);
}

@media (min-width: 80rem) {
  .site-header__inner { gap: var(--space-5); }
  .site-nav,
  .site-header__actions { display: flex; }
  .menu-toggle,
  .mobile-menu { display: none !important; }
}

/* ---------- Mobile Aktionsleiste ---------- */
.mobilebar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-mobilebar);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3) calc(var(--space-2) + env(safe-area-inset-bottom));
  background: var(--weiss);
  box-shadow: 0 -1px 0 var(--salbei-100), 0 -8px 24px rgb(36 46 38 / 0.08);
}

.mobilebar .btn {
  min-height: 3rem;
  padding-inline: var(--space-2);
  gap: var(--space-2);
  font-size: 1rem;
  white-space: nowrap;
}

body:has(.mobilebar) {
  padding-bottom: calc(var(--mobilebar-h) + env(safe-area-inset-bottom));
}

@media (min-width: 80rem) {
  .mobilebar { display: none; }
  body:has(.mobilebar) { padding-bottom: 0; }
}

/* ---------- Startbereich mit zwei Wegen ---------- */
.hero {
  padding-block: var(--space-6) var(--space-8);
}

.hero__intro {
  max-width: 68rem;
  margin-bottom: var(--space-6);
}

.hero__title {
  color: var(--color-heading);
  font-size: var(--fs-display);
  font-weight: var(--fw-display);
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero__paths {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 56rem) {
  .hero__paths { grid-template-columns: 1.15fr 1fr; }
}

.path {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-height: 26rem;
  padding: var(--space-6);
  border-radius: var(--radius-l);
  overflow: hidden;
  isolation: isolate;
}

.path__label {
  font-size: var(--fs-ui);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

.path__title {
  font-size: var(--fs-h2);
  max-width: 16ch;
}

.path__body { max-width: 34ch; }

.path .btn-row { margin-top: auto; }

.path {
  container-type: inline-size;
}

/* Bild im Weg: Bogen-Porträt (unten rechts) oder Kreis (oben rechts) */
.path__media {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: min(42%, 17rem);
  aspect-ratio: 3 / 4;
}

.path__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-l) var(--radius-l) 0 0;
}

.path__media--circle {
  top: var(--space-6);
  right: var(--space-6);
  bottom: auto;
  width: min(36%, 14rem);
  aspect-ratio: 1;
}

.path__media--circle img {
  aspect-ratio: 1;
  border-radius: 50%;
  object-position: center 18%;
  transform: scale(1);
}

.path__caption {
  position: absolute;
  left: 50%;
  bottom: -0.75rem;
  translate: -50% 0;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--weiss);
  color: var(--salbei-900);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.path .path__title,
.path .path__body {
  max-width: min(58%, 22ch);
}

/* Schmale Karte (Handy): Bild oben rechts im Fluss */
@container (max-width: 30rem) {
  .path__media,
  .path__media--circle {
    position: relative;
    inset: auto;
    order: -1;
    align-self: flex-end;
    width: 8.5rem;
    margin: calc(-1 * var(--space-6)) calc(-1 * var(--space-6)) calc(-1 * var(--space-4)) 0;
  }
  .path .path__media--circle {
    width: 7.5rem;
    aspect-ratio: 1;
    margin: 0 0 calc(-1 * var(--space-4)) 0;
  }
  .path__media img { border-radius: 0 var(--radius-l) 0 var(--radius-l); }
  .path__media--circle img { border-radius: 50%; }
  .path .path__title,
  .path .path__body { max-width: none; }
}


.path__media .stoerer {
  position: absolute;
  top: -1.5rem;
  left: -2.5rem;
}

@container (max-width: 30rem) {
  .path .path__media .stoerer {
    --stoerer-size: 5.75rem;
    top: auto;
    bottom: 0.5rem;
    left: -4.5rem;
  }
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-5);
  padding: 0;
  list-style: none;
  font-size: var(--fs-small);
}

.hero__facts li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.hero__facts img { width: 1.5rem; height: 1.5rem; }

/* Einmalige Lade-Animation: Bögen drehen sich in Position */
@media (prefers-reduced-motion: no-preference) {
  .hero .arc {
    animation: arc-in 900ms var(--ease-out) both;
  }
  .hero .arc + .arc { animation-delay: 120ms; }
}

@keyframes arc-in {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Abschnittskopf ---------- */
.section-head {
  display: grid;
  gap: var(--space-4);
  max-width: 46rem;
  margin-bottom: var(--space-7);
}

.section-head__kicker {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}

/* ---------- Kacheln (Leistungen, Berufe) ---------- */
.tiles {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-height: 13rem;
  padding: var(--space-5);
  border-radius: var(--radius-m);
  background: var(--salbei-100);
  color: var(--salbei-800);
  text-decoration: none;
  overflow: hidden;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.tile:hover { background: var(--salbei-300); color: var(--salbei-900); }

.tile__icon { width: 2.75rem; height: 2.75rem; }

.tile__title {
  color: var(--salbei-900);
  font-size: var(--fs-h3);
}

.tile__more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: var(--fw-medium);
  color: var(--salbei-900);
}

.tile__more svg { width: 1.1em; height: 1.1em; transition: transform var(--dur-fast) var(--ease-out); }
.tile:hover .tile__more svg { transform: translateX(3px); }

/* ---------- Benefits ---------- */
.benefits {
  display: grid;
  gap: var(--space-6) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.benefit {
  display: grid;
  gap: var(--space-2);
  padding-top: var(--space-4);
  border-top: 2px solid var(--color-border);
}

.benefit__title {
  font-size: var(--fs-h4);
  color: var(--color-heading);
}

.benefit__value {
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  line-height: 1;
  color: var(--color-heading);
  font-variant-numeric: tabular-nums;
}

/* ---------- Porträt + Zitat ---------- */
/* Kompakt: kleines Kreisporträt neben dem Zitat (Bildform D), damit keine Weißfläche entsteht */
.person {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: var(--space-5);
  align-items: start;
}

@media (min-width: 48rem) {
  .person { grid-template-columns: 9rem 1fr; gap: var(--space-6); }
}

.person__photo {
  position: relative;
  overflow: hidden;
  background: var(--ocker-400);
  aspect-ratio: 1;
  border-radius: 50% !important;
}

/* Mehrere Zitate: drei Karten nebeneinander */
.quotes { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.quotes .person { grid-template-columns: 1fr; gap: var(--space-4); height: 100%; padding: var(--space-6); border-radius: var(--radius-l); background: var(--salbei-100); }
.quotes .person__photo { width: 6rem; }
.quotes .quote__text { font-size: 1.1875rem; line-height: 1.5; }

.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.quote {
  display: grid;
  gap: var(--space-5);
}

.quote__text {
  font-size: var(--fs-h3);
  font-weight: var(--fw-medium);
  line-height: 1.4;
  color: var(--color-heading);
  letter-spacing: -0.01em;
}

.quote__name {
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
}

.quote__role {
  display: block;
  font-size: var(--fs-small);
}

/* Kleine Personenkarte (Team-Raster) */
.team-grid {
  display: grid;
  gap: var(--space-5) var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 9rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ocker-400);
}

.team-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }

.team-card__name {
  margin-top: var(--space-3);
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
  line-height: 1.3;
}

.team-card__role { font-size: var(--fs-small); }

/* ---------- Infobox Zeiten / Kontakt ---------- */
.infobox {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--salbei-100);
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-1) var(--space-5);
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.hours dt { font-weight: var(--fw-semibold); color: var(--color-heading); }
.hours dd { margin: 0; }

.infobox__title { font-size: var(--fs-h4); }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--color-border);
}

.faq details {
  border-bottom: 1px solid var(--color-border);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  min-height: 3.5rem;
  padding-block: var(--space-4);
  color: var(--color-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background:
    linear-gradient(currentColor, currentColor) center / 0.9rem 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 0.9rem no-repeat,
    var(--salbei-100);
  transition: rotate var(--dur-fast) var(--ease-out);
}

.faq details[open] summary::after { rotate: 45deg; }

.faq__answer {
  max-width: var(--measure);
  padding-bottom: var(--space-5);
}

/* ---------- Chips ---------- */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--weiss);
  color: var(--salbei-900);
  font-size: var(--fs-ui);
  font-weight: var(--fw-medium);
}

.theme-salbei-light .chips li { background: var(--weiss); }
.chips--outline li { background: transparent; border: 1.5px solid var(--color-border); color: var(--color-heading); }

/* ---------- Footer ---------- */
.site-footer {
  padding-block: var(--space-8) var(--space-6);
}

.site-footer__grid {
  display: grid;
  gap: var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.site-footer__logo { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__logo img { height: 2rem; width: auto; }

.site-footer h2 {
  font-size: var(--fs-h4);
  margin-bottom: var(--space-3);
}

.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: var(--space-2); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: var(--fs-small);
}

.site-footer__bottom ul { display: flex; gap: var(--space-5); }
.site-footer__bottom a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__bottom li + li { margin-top: 0; }

/* ---------- Personen-Band (horizontal scrollbar) ---------- */
.people {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(10.5rem, 42vw, 14rem);
  gap: var(--space-4);
  margin: 0;
  padding: 0 0 var(--space-4);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--salbei-300) transparent;
}

.people > li { scroll-snap-align: start; }

.people:focus-visible { outline-offset: 6px; }

.person-card__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-m);
  overflow: hidden;
  background: var(--ocker-400);
}

.person-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: scale var(--dur-med) var(--ease-out);
}

.person-card:hover .person-card__photo img { scale: 1.03; }

.person-card__name {
  margin-top: var(--space-3);
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
  line-height: 1.3;
}

.person-card__role { font-size: var(--fs-small); }

/* ---------- Kachel mit Person ---------- */


.tile__person {
  width: 4.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocker-400);
}

.tile__person img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }



.tile__lead {
  font-size: var(--fs-small);
  color: var(--salbei-800);
}

/* ---------- Ansprechperson ---------- */
.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: var(--space-4) var(--space-5);
  padding: var(--space-5);
  border-radius: var(--radius-l);
  background: var(--color-surface, var(--salbei-100));
}

.contact-card__photo {
  width: clamp(5rem, 4rem + 4vw, 7rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocker-400);
}

.contact-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.contact-card__name { font-weight: var(--fw-semibold); color: var(--color-heading); font-size: var(--fs-h4); }
.contact-card__role { font-size: var(--fs-small); }
.contact-card .btn-row { grid-column: 1 / -1; }

@media (min-width: 40rem) {
  .contact-card .btn-row { grid-column: 2; }
}

/* ---------- Preise: Pakete ---------- */
.plans {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  align-items: stretch;
}

.plan {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--salbei-100);
  color: var(--salbei-800);
}

.plan--featured {
  --color-heading: var(--weiss);
  --color-text: var(--salbei-100);
  --color-link: var(--weiss);
  --arc-color: var(--salbei-600);
  background: var(--salbei-800);
  color: var(--salbei-100);
}

/* Links auf der dunklen Fläche: Hover darf nicht in den Hintergrund fallen */
.plan--featured a:not(.btn):hover { color: var(--salbei-100); }

.plan__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.plan__name {
  font-size: var(--fs-h3);
  color: var(--color-heading);
}

.plan__tag {
  padding: 0.2rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--ocker-100);
  color: var(--ocker-900);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  white-space: nowrap;
}

.plan__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--space-2);
  color: var(--color-heading);
}

.plan__amount {
  font-size: var(--fs-h1);
  font-weight: var(--fw-display);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.plan__unit { font-size: var(--fs-small); }

.plan__list {
  display: grid;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-4) 0 0;
  list-style: none;
  border-top: 1.5px solid color-mix(in srgb, currentColor 25%, transparent);
  font-size: var(--fs-small);
}

.plan__list li {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: var(--space-2);
  align-items: start;
}

.plan__list li::before {
  content: "";
  width: 0.7rem;
  height: 0.4rem;
  margin: 0.45rem 0 0 0.15rem;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  rotate: -45deg;
}

.plan__person {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-small);
}

.plan__person span:first-child {
  flex: none;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocker-400);
}

.plan__person img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.plan .btn-row { margin-top: auto; padding-top: var(--space-2); }
.plan .btn { width: 100%; }

.price-note {
  margin-top: var(--space-4);
  font-size: var(--fs-small);
  max-width: var(--measure);
}

/* ---------- Preise: Liste ---------- */
.pricelist {
  margin: 0;
  border-top: 1.5px solid var(--color-border);
}

.pricelist__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-1) var(--space-5);
  align-items: baseline;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.pricelist dt { font-weight: var(--fw-semibold); color: var(--color-heading); }
.pricelist dt small { display: block; font-weight: var(--fw-regular); font-size: var(--fs-small); color: var(--color-text); }
.pricelist dd { margin: 0; font-weight: var(--fw-semibold); color: var(--color-heading); font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- Bildformen ----------
   Zwei Formen (Entscheidung 25.10.2026):
   B · Abgerundet – große Porträts, Team-Karten, Bilder im Startbereich
   D · Kreis – kleine und mittlere Porträts (Ansprechperson, Kacheln, Pakete, Kreis im Startbereich) */
.shape-rund,
.person__photo { border-radius: var(--radius-l); }
.shape-kreis { aspect-ratio: 1; border-radius: 50%; }

.shapes {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.shapes figure > div {
  overflow: hidden;
  background: var(--ocker-400);
  aspect-ratio: 4 / 5;
}

.shapes figure > div.shape-kreis { aspect-ratio: 1; }
.shapes img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.shapes figcaption { margin-top: var(--space-3); font-size: var(--fs-small); }
.shapes figcaption strong { display: block; color: var(--color-heading); }

/* ---------- Abschnittskopf mit Link rechts ---------- */
.section-head--row {
  max-width: none;
  grid-template-columns: 1fr;
  align-items: end;
}

@media (min-width: 48rem) {
  .section-head--row { grid-template-columns: minmax(0, 46rem) auto; justify-content: space-between; }
}

/* ---------- Schritte (echte Reihenfolge) ---------- */
.steps {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--salbei-800);
  color: var(--weiss);
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  font-variant-numeric: tabular-nums;
}

.theme-salbei-light .step::before { background: var(--salbei-800); }

.step__title { font-size: var(--fs-h3); }

/* ---------- Zweispaltig: Text + Bild ---------- */
.split {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 56rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-9); }
  .split--reverse > :first-child { order: 2; }
}

.split__media {
  position: relative;
}

.split__media > img {
  width: 100%;
  border-radius: var(--radius-l);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split__badge {
  position: absolute;
  left: var(--space-5);
  bottom: calc(-1 * var(--space-5));
}

.check-list {
  display: grid;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Häkchen absolut statt Grid: so bleibt gemischter Inhalt (z. B. <strong> + Text) im Fluss */
.check-list li {
  position: relative;
  padding-left: calc(1.5rem + var(--space-3));
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0.8rem;
  height: 0.45rem;
  margin: 0.5rem 0 0 0.2rem;
  border-left: 2.5px solid var(--color-heading);
  border-bottom: 2.5px solid var(--color-heading);
  rotate: -45deg;
}

/* ---------- Gesichter-Gruppe (überlappende Kreise) ---------- */
.faces {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faces li {
  width: clamp(4.5rem, 3.5rem + 4vw, 7rem);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--ocker-400);
  border: 4px solid var(--color-bg);
}

.faces li + li { margin-left: calc(-1 * clamp(1rem, 0.6rem + 1.5vw, 1.75rem)); }
.faces img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

/* ---------- Karriere-Band auf der Startseite ---------- */
.career-band__grid {
  display: grid;
  gap: var(--space-7);
}

@media (min-width: 56rem) {
  .career-band__grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

.career-band__portraits {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  align-items: end;
}

.career-band__portraits figure {
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ocker-400);
  aspect-ratio: 3 / 4;
}

.career-band__portraits figure:nth-child(2) { aspect-ratio: 3 / 4.6; }
.career-band__portraits img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.career-band__portraits .stoerer {
  --stoerer-size: clamp(5.5rem, 4.5rem + 3vw, 7.5rem);
  position: absolute;
  top: calc(-1 * var(--stoerer-size) * 0.55);
  left: calc(-1 * var(--space-3));
}

/* Einspaltig liegt die Buttonreihe direkt über den Porträts: Störer tiefer setzen,
   sonst überdeckt er „Jobs ansehen“ bzw. „Direkt bewerben“ (Feedback Timothy, 12.11.2026) */
@media (max-width: 55.99rem) {
  .career-band__portraits .stoerer { top: calc(-1 * var(--stoerer-size) * 0.25); }
}

.reasons {
  display: grid;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  padding: 0;
  list-style: none;
}

.reasons li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: var(--space-4);
  align-items: start;
}

.reasons img { width: 2.75rem; height: 2.75rem; }
.reasons strong { display: block; color: var(--color-heading); font-size: var(--fs-h4); }

/* ---------- Angebote ohne Verordnung ---------- */
.offers {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.offers a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 4rem;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  background: color-mix(in srgb, var(--weiss) 10%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--weiss) 25%, transparent);
  color: var(--weiss);
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: background-color var(--dur-fast) var(--ease-out);
}

.offers a:hover { background: color-mix(in srgb, var(--weiss) 20%, transparent); }
.offers svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Standort ---------- */
.location {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 56rem) {
  .location { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
}

.location__card {
  display: grid;
  gap: var(--space-4);
  align-content: start;
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--salbei-800);
  color: var(--salbei-100);
  --color-heading: var(--weiss);
  --color-link: var(--weiss);
}

.location__card address { font-style: normal; font-size: var(--fs-lead); color: var(--weiss); }

.reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  margin-top: var(--space-7);
  padding: var(--space-6);
  border-radius: var(--radius-l);
  border: 1.5px solid var(--salbei-300);
}

.reviews p { max-width: 40rem; }

/* Fünf Kacheln: 3 + 2 statt 4 + 1 */
@media (min-width: 64rem) {
  .tiles--5 { grid-template-columns: repeat(6, 1fr); }
  .tiles--5 > :nth-child(-n+3) { grid-column: span 2; }
  .tiles--5 > :nth-child(n+4) { grid-column: span 3; }
}

/* ---------- Startseiten-Hero (klassisch: Text links, Bild rechts) ---------- */
.home-hero {
  padding-block: var(--space-6) var(--space-8);
}

.home-hero__grid {
  display: grid;
  gap: var(--space-7);
  align-items: center;
}

@media (min-width: 56rem) {
  .home-hero { padding-block: var(--space-8) var(--space-9); }
  .home-hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-8); }
}

.home-hero__text { display: grid; gap: var(--space-5); justify-items: start; }

.home-hero__title {
  font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem);
  font-weight: var(--fw-display);
  line-height: 1.06;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.home-hero__lead { max-width: 36rem; }

/* Google-Bewertung über der Überschrift: dort ist sie im ersten Blick, ohne die
   Buttons nach unten zu schieben. Zahlen aus _data/reviews.json */
.home-hero__rating {
  order: -1;
  margin-bottom: calc(var(--space-2) - var(--space-5));
  font-size: var(--fs-small);
}

.home-hero__rating .stars {
  margin-right: var(--space-2);
  vertical-align: -0.15em;
}

/* Auf sehr schmalen Displays bleibt die Zeile nur einzeilig, wenn die Sterne
   etwas kleiner sind. */
@media (max-width: 29.99rem) {
  .home-hero__rating .stars svg { width: 1rem; height: 1rem; }
}

.home-hero__rating strong {
  font-size: 1.375rem;
  font-weight: var(--fw-display);
  color: var(--color-heading);
}

.home-hero__hint {
  font-size: var(--fs-small);
  color: var(--color-text);
}

.home-hero__visual {
  position: relative;
  max-width: 30rem;
  width: 100%;
  justify-self: center;
  margin-top: var(--space-5);
}

@media (min-width: 56rem) {
  .home-hero__visual { justify-self: end; margin-top: 0; }
}

.home-hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-l);
  overflow: hidden;
  background: var(--ocker-400);
}

.home-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }

/* Störer als Link zur Karriere */
.home-hero__visual .stoerer {
  position: absolute;
  top: calc(-1 * var(--space-5));
  right: calc(-1 * var(--space-4));
  box-shadow: 0 6px 20px rgb(36 46 38 / 0.18);
  transition: scale var(--dur-fast) var(--ease-out);
}

.home-hero__visual a.stoerer:hover { scale: 1.05; color: var(--ocker-100); }

/* Team-Karte über dem Bild */
.team-chip {
  position: absolute;
  left: calc(-1 * var(--space-4));
  bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4) var(--space-2) var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--weiss);
  color: var(--salbei-900);
  box-shadow: 0 6px 24px rgb(36 46 38 / 0.14);
  font-size: var(--fs-ui);
  line-height: 1.3;
}

.team-chip .faces li {
  width: 2.5rem;
  border-width: 2px;
  border-color: var(--weiss);
}

.team-chip .faces li + li { margin-left: -0.75rem; }
.team-chip strong { display: block; }

@media (max-width: 35.99rem) {
  .team-chip { left: var(--space-3); right: var(--space-3); bottom: var(--space-3); }
  .home-hero__visual .stoerer { --stoerer-size: 5.75rem; right: var(--space-2); }
}

/* Leiste mit Vertrauens-Fakten unter dem Hero */
.facts-strip {
  border-block: 1px solid var(--salbei-100);
  padding-block: var(--space-5);
}

.facts-strip ul {
  display: grid;
  gap: var(--space-4) var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.facts-strip li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: var(--space-3);
  align-items: center;
  font-size: var(--fs-small);
  line-height: 1.35;
}

.facts-strip img { width: 2.25rem; height: 2.25rem; }
.facts-strip strong { display: block; color: var(--salbei-900); font-size: 1rem; }

/* =========================================================
   Unterseiten
   ========================================================= */

/* ---------- Seiten-Hero ---------- */
.page-hero {
  padding-block: var(--space-6) var(--space-8);
}

.page-hero__grid {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

@media (min-width: 56rem) {
  .page-hero { padding-block: var(--space-7) var(--space-9); }
  .page-hero__grid--media { grid-template-columns: 1.3fr 0.7fr; gap: var(--space-8); }
}

.page-hero__text { display: grid; gap: var(--space-5); justify-items: start; }

.page-hero__title {
  font-size: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  font-weight: var(--fw-display);
  line-height: 1.08;
  letter-spacing: -0.03em;
  max-width: 20ch;
}

.page-hero__lead { max-width: 40rem; }

.page-hero__media {
  position: relative;
  width: min(100%, 20rem);
  justify-self: center;
}

@media (min-width: 56rem) { .page-hero__media { justify-self: end; } }

.page-hero__media .shape-kreis,
.page-hero__media .shape-rund {
  overflow: hidden;
  background: var(--ocker-400);
}

.page-hero__media .shape-rund { aspect-ratio: 4 / 5; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }

.page-hero__caption {
  margin-top: var(--space-3);
  font-size: var(--fs-small);
  text-align: center;
}

.page-hero__caption strong { display: block; color: var(--color-heading); }

.page-hero__media .stoerer {
  position: absolute;
  top: calc(-1 * var(--space-4));
  right: calc(-1 * var(--space-4));
}

/* ---------- Brotkrümel ---------- */
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-ui);
}

.crumbs li { display: inline-flex; align-items: center; gap: var(--space-2); }
.crumbs li + li::before { content: "/"; opacity: 0.6; }
.crumbs a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--color-text); text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); }
.crumbs [aria-current="page"] { color: var(--color-heading); font-weight: var(--fw-medium); }

/* ---------- Fließtext-Bereich ---------- */
.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 2.2em; font-size: var(--fs-h2); }
.prose h3 { margin-top: 1.8em; font-size: var(--fs-h3); }
.prose h2 + *, .prose h3 + * { margin-top: 0.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }

/* ---------- Methoden / Schwerpunkte ---------- */
.methods {
  display: grid;
  gap: var(--space-5) var(--space-7);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}

.method {
  display: grid;
  gap: var(--space-2);
  align-content: start;
  padding-top: var(--space-4);
  border-top: 2px solid var(--color-border);
}

.method h3 { font-size: var(--fs-h4); }

/* ---------- Zweispaltige Info-Karten ---------- */
.cards {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.card {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--salbei-100);
}

.card h3 { font-size: var(--fs-h3); }
.card .btn-row { margin-top: var(--space-2); }

/* ---------- Zeitleiste ---------- */
.timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid var(--color-border);
}

.timeline li {
  position: relative;
  display: grid;
  gap: var(--space-1);
  padding: 0 0 var(--space-6) var(--space-6);
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -0.5625rem;
  top: 0.35rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--salbei-800);
  border: 3px solid var(--color-bg);
}

.timeline time {
  font-weight: var(--fw-semibold);
  color: var(--color-heading);
  font-variant-numeric: tabular-nums;
}

/* ---------- Abschluss-CTA ---------- */
.cta-band {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-7) var(--space-6);
  border-radius: var(--radius-l);
}

@media (min-width: 56rem) {
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: var(--space-8); }
}

.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { max-width: 60ch; }

/* ---------- Offene Punkte (vor Go-live entfernen) ---------- */
mark.todo {
  padding: 0.05em 0.35em;
  border-radius: 0.3em;
  background: #ffe08a;
  color: #3a2c00;
  font-size: 0.9em;
  font-weight: var(--fw-medium);
}

/* ---------- Teamseite: Bereichs-Gruppen ---------- */
.team-group + .team-group { margin-top: var(--space-8); }
.team-group h3 { margin-bottom: var(--space-5); font-size: var(--fs-h3); }

/* ---------- Kontakt-Liste ---------- */
.contact-list {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}

.contact-list div { display: grid; gap: var(--space-1); }
.contact-list dt { font-size: var(--fs-small); }
.contact-list dd { margin: 0; font-size: var(--fs-lead); color: var(--color-heading); font-weight: var(--fw-medium); }

/* ---------- Kleine Seite (Impressum, 404) ---------- */
.legal h2 { font-size: var(--fs-h3); }
.section-sm { padding-block: 0 var(--section-y); }

/* =====================================================================
   Navigation 2.0 (25.10.2026): Aufklapp-Menüs, Akkordeon, Bereichsnavigation
   ===================================================================== */

/* Desktop: Pfeil am Hauptpunkt */
.site-nav__link .chev { width: 1rem; height: 1rem; transition: rotate var(--dur-fast) var(--ease-out); }
.site-nav__link[aria-expanded="true"] .chev { rotate: 180deg; }
.site-nav__link.is-active { box-shadow: inset 0 -2px 0 var(--salbei-600); }

/* Panel: volle Header-Breite, unter dem Header */
.nav-panel {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  padding-block: var(--space-6) var(--space-7);
  background: var(--weiss);
  border-top: 1px solid var(--salbei-100);
  box-shadow: 0 24px 40px -24px rgb(36 46 38 / 0.25);
}
.nav-panel.is-open { display: block; }
/* Ohne JavaScript: per Maus und Tastatur trotzdem erreichbar */
html:not(.js) .site-nav__item:hover > .nav-panel,
html:not(.js) .site-nav__item:focus-within > .nav-panel { display: block; }

.nav-panel__inner { display: grid; gap: var(--space-6); }
.nav-panel--mega .nav-panel__inner { grid-template-columns: 15rem 1fr 15rem; align-items: start; }
.nav-panel__eyebrow { font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--salbei-600); text-transform: uppercase; letter-spacing: 0.06em; }
.nav-panel__intro { display: grid; gap: var(--space-3); color: var(--color-text); }

.nav-panel__groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); }
.nav-panel__group ul { margin: var(--space-2) 0 0; padding: 0; list-style: none; }
.nav-panel__group-title,
.nav-panel__group a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--salbei-900);
  text-decoration: none;
  border-radius: var(--radius-s);
}
.nav-panel__group-title { font-size: 1.125rem; font-weight: var(--fw-semibold); border-bottom: 1px solid var(--salbei-100); }
.nav-panel__group a:not(.nav-panel__group-title) { color: var(--color-text); padding-left: var(--space-3); }
.nav-panel a:hover { color: var(--salbei-600); text-decoration: underline; text-underline-offset: 0.2em; }
.nav-panel a[aria-current="page"] { color: var(--salbei-900); font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

.nav-panel__feature {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-5);
  border-radius: var(--radius-m);
  background: var(--salbei-100);
  color: var(--color-text);
  text-decoration: none;
}
.nav-panel__feature strong { color: var(--salbei-900); font-size: 1.125rem; }
.nav-panel__feature svg { width: 1.25rem; height: 1.25rem; color: var(--salbei-900); }
.nav-panel__feature:hover { background: var(--salbei-300); text-decoration: none; }

.nav-panel__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.nav-panel__list a {
  display: grid;
  gap: var(--space-1);
  height: 100%;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-m);
  background: var(--salbei-100);
  color: var(--color-text);
  text-decoration: none;
}
.nav-panel__list a strong { color: var(--salbei-900); font-size: 1.0625rem; }
.nav-panel__list a span { font-size: var(--fs-small); }
.nav-panel__list a:hover { background: var(--salbei-300); text-decoration: none; }
.nav-panel__list a[aria-current="page"] { box-shadow: inset 0 0 0 2px var(--salbei-600); text-decoration: none; }

.btn--career.is-active { box-shadow: inset 0 0 0 2px var(--ocker-800); }

/* Mobil: Akkordeon */
.mnav__toggle .chev { width: 1.5rem; height: 1.5rem; flex: none; margin-left: auto; transition: rotate var(--dur-fast) var(--ease-out); }
.mnav__toggle[aria-expanded="true"] .chev { rotate: 180deg; }
.mnav__toggle .badge-dot { margin-left: var(--space-2); }
.mnav__toggle.is-active,
.mnav__link[aria-current="page"] { color: var(--salbei-600); }
.mnav__sub { margin: 0 0 var(--space-4); padding: 0 0 0 var(--space-3); list-style: none; border-left: 2px solid var(--salbei-100); }
.mnav__sub a {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--salbei-900);
  font-size: 1.0625rem;
  text-decoration: none;
}
.mnav__sub .mnav__group { font-weight: var(--fw-semibold); margin-top: var(--space-2); }
.mnav__sub .mnav__child { padding-left: var(--space-4); color: var(--color-text); }
.mnav__sub a[aria-current="page"] { font-weight: var(--fw-semibold); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }

/* Bereichsnavigation unter dem Seitenkopf */
.subnav {
  border-bottom: 1px solid var(--salbei-100);
  background: var(--weiss);
}
.subnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin: 0;
  padding: var(--space-3) 0;
  list-style: none;
}
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--salbei-300);
  border-radius: var(--radius-pill);
  color: var(--salbei-900);
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.subnav a:hover { background: var(--salbei-100); }
.subnav a[aria-current="page"] { background: var(--salbei-900); border-color: var(--salbei-900); color: var(--weiss); }

/* Footer mit Seitenübersicht */
.site-footer__top { display: grid; gap: var(--space-8); }
.site-footer__brand { display: grid; gap: var(--space-4); align-content: start; justify-items: start; }
.site-footer__brand address { font-style: normal; }
.site-footer__nav { display: grid; gap: var(--space-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); }
.site-footer__nav a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-footer__nav li + li { margin-top: 0; }
.site-footer__nav a[aria-current="page"] { font-weight: var(--fw-semibold); }
@media (min-width: 64rem) {
  .site-footer__top { grid-template-columns: 22rem 1fr; gap: var(--space-9); }
}

/* Google-Bewertungen */
.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
}
.rating__score { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); font-weight: var(--fw-display); line-height: 1; color: var(--color-heading); }
.rating__meta { display: grid; gap: var(--space-1); }
.rating__meta small { font-size: var(--fs-small); }
.stars { display: inline-flex; gap: 2px; color: var(--ocker-600); }
.stars svg { width: 1.25rem; height: 1.25rem; }
.review-list {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  margin: var(--space-7) 0 0;
  padding: 0;
  list-style: none;
}
.review {
  display: grid;
  gap: var(--space-3);
  align-content: start;
  height: 100%;
  margin: 0;
  padding: var(--space-5);
  border-radius: var(--radius-m);
  background: var(--weiss);
  box-shadow: 0 0 0 1px var(--salbei-100);
}
.theme-salbei-light .review { box-shadow: none; }
.review blockquote { margin: 0; color: var(--salbei-900); }
.review figcaption { font-size: var(--fs-small); }
.review figcaption strong { color: var(--color-heading); }
.reviews-foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-5); margin-top: var(--space-6); }
.reviews-foot p { font-size: var(--fs-small); max-width: 62ch; }

/* Bildergalerie (Räume) */
.gallery {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery figure { margin: 0; display: grid; gap: var(--space-2); }
.gallery img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-l); background: var(--salbei-100); }
.gallery figcaption { font-size: var(--fs-small); }
.gallery figcaption strong { display: block; color: var(--color-heading); font-size: 1rem; }
@media (min-width: 56rem) {
  .gallery--feature li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery--feature li:first-child img { aspect-ratio: auto; height: 100%; min-height: 24rem; }
}

/* Geschichte: Kapitel mit Bild */
.chapters { display: grid; gap: var(--space-9); }
.chapter { display: grid; gap: var(--space-6); align-items: center; }
.chapter__years { font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--salbei-600); letter-spacing: 0.04em; text-transform: uppercase; }
.chapter__media img { width: 100%; border-radius: var(--radius-l); object-fit: cover; aspect-ratio: 4 / 3; background: var(--salbei-100); }
.chapter__media--tall img { aspect-ratio: 4 / 5; }
.chapter .timeline { margin-top: var(--space-4); }
@media (min-width: 56rem) {
  .chapter { grid-template-columns: 1.1fr 0.9fr; gap: var(--space-9); }
  .chapter:nth-child(even) .chapter__media { order: -1; }
}

/* Kachel-Links zu Unterseiten (Über uns) */
.link-cards { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.link-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-l);
  background: var(--salbei-100);
}
.link-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.link-card__body { display: grid; gap: var(--space-2); align-content: start; padding: var(--space-5); }
.link-card h3 a { color: var(--salbei-900); text-decoration: none; }
.link-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.link-card:hover { background: var(--salbei-300); }
.link-card:focus-within { outline: 3px solid var(--salbei-600); outline-offset: 3px; }
.link-card h3 a:focus-visible { outline: none; }

/* Über uns: Eckdaten, Teamfoto */
.facts-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); margin: 0; padding: 0; list-style: none; }
.facts-grid li { display: grid; gap: var(--space-1); padding: var(--space-5); border-radius: var(--radius-m); background: var(--salbei-100); }
.facts-grid strong { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.75rem); font-weight: var(--fw-display); line-height: 1; color: var(--color-heading); }
.facts-grid span { font-size: var(--fs-small); }
.team-group__title { margin: var(--space-8) 0 var(--space-5); font-size: var(--fs-h3); }
.team-photo { margin: 0 0 var(--space-8); }
.team-photo img { width: 100%; border-radius: var(--radius-l); aspect-ratio: 3 / 2; object-fit: cover; }

/* Offenes Mobilmenü bringt eigene Buttons mit: untere Leiste ausblenden */
html:has(.mobile-menu:not([hidden])) .mobilebar { display: none; }
.crumbs li:first-child a { padding-right: 0.5rem; }
@media (min-width: 56rem) { .gallery--feature { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.link-list { margin: var(--space-2) 0 0; padding: 0; list-style: none; }

/* Teamkarte ohne Foto: Initialen auf Ocker, mit Markenbogen-Anmutung */
.team-card__photo--initials {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--ocker-300);
}
.team-card__photo--initials::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%; /* Styleguide Kap. 4: Breite = kürzere Seite, beide Enden im Anschnitt */
  aspect-ratio: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23B89E64' d='M100 100A100 100 0 0 1 0 0H30A70 70 0 0 0 100 70Z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.team-card__photo--initials span {
  position: relative;
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: var(--fw-display);
  letter-spacing: 0.02em;
  color: var(--salbei-900);
}

/* Footer mobil: kompakt, Seitenübersicht zweispaltig */
.site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); }
.site-footer__nav h2 { font-size: 1rem; margin-bottom: var(--space-1); }
.site-footer__nav a { text-decoration: none; font-size: 0.9375rem; line-height: 1.3; }
.site-footer__nav a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.site-footer__brand .btn-row { width: 100%; }
@media (max-width: 47.99rem) {
  .site-footer { padding-block: var(--space-8) var(--space-6); }
  .site-footer__top { gap: var(--space-7); }
  .site-footer__brand .btn-row .btn { flex: 1 1 auto; justify-content: center; }
  .site-footer__nav { padding-top: var(--space-6); border-top: 1px solid var(--color-border); }
  .site-footer__bottom { margin-top: var(--space-7); flex-direction: column; gap: var(--space-2); }
  .site-footer__bottom ul { gap: var(--space-4); flex-wrap: wrap; }
}
@media (min-width: 48rem) { .site-footer__nav { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Neurologie: drei Fachbereiche nebeneinander */
.neuro-areas { display: grid; gap: var(--space-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); margin: 0; padding: 0; list-style: none; }
.neuro-area { display: grid; gap: var(--space-4); align-content: start; padding: var(--space-6); border-radius: var(--radius-l); background: var(--weiss); }
.neuro-area__head { display: flex; align-items: center; gap: var(--space-4); }
.neuro-area__face { flex: none; width: 4rem; height: 4rem; border-radius: 50%; overflow: hidden; background: var(--ocker-400); }
.neuro-area__face img { width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
.neuro-area .link-more { margin-top: auto; }
.nav-panel__focus { display: grid; gap: 2px; margin-top: var(--space-2); padding: var(--space-3) var(--space-4); border-left: 3px solid var(--ocker-600); color: var(--salbei-900); text-decoration: none; }
.nav-panel__focus span { font-size: var(--fs-small); color: var(--color-text); }
.nav-panel__focus:hover { background: var(--salbei-100); text-decoration: none; }

/* Teamkarten: lange Wörter (z. B. „Therapeutische“) nie in die Nachbarspalte laufen lassen */
.team-grid > li { min-width: 0; }
.team-card__name,
.team-card__role { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
/* In Infoboxen: Personen als Liste mit kleinem Kreisporträt (Bildform D) */
.infobox .team-grid { grid-template-columns: 1fr; gap: var(--space-4); }
.infobox .team-grid > li { display: grid; grid-template-columns: 4.5rem 1fr; column-gap: var(--space-4); align-items: center; }
.infobox .team-card__photo { grid-row: span 2; aspect-ratio: 1; border-radius: 50%; }
.infobox .team-card__name { margin-top: 0; align-self: end; }
.infobox .team-card__role { align-self: start; }


/* =====================================================================
   Weniger Grün (25.10.2026): Salbei 100 nur noch für Seitenköpfe und Akzente.
   Wechselnde Abschnitte bekommen den hellen Ton Salbei 50, Karten sind weiß mit feiner Linie.
   ===================================================================== */
.section.theme-salbei-light {
  --color-bg: var(--salbei-50);
  --arc-color: var(--salbei-100);
}
.tile,
.card,
.infobox,
.link-card,
.facts-grid li,
.neuro-area,
.quotes .person,
.plan:not(.plan--featured) {
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--salbei-100);
}
.tile:hover,
.link-card:hover { background: var(--salbei-50); }
.nav-panel__list a,
.nav-panel__feature { background: var(--salbei-50); box-shadow: inset 0 0 0 1px var(--salbei-100); }
.nav-panel__list a:hover,
.nav-panel__feature:hover { background: var(--salbei-100); }


/* =====================================================================
   Feedback Art Direktion (26.10.2026)
   ===================================================================== */

/* 1. Fotos: Eckenrundung halbiert. Kreise (Bildform D) bleiben Kreise. */
.shape-rund,
.home-hero__photo,
.split__media > img,
.career-band__portraits figure,
.gallery img,
.chapter__media img,
.team-photo img,
.page-hero__media .shape-rund { border-radius: var(--radius-photo); }
.path__media img { border-radius: 0 var(--radius-photo) 0 var(--radius-photo); }
.team-card__photo,
.person-card__photo { border-radius: var(--radius-photo-s); }
.infobox .team-card__photo { border-radius: 50%; }

/* 2. Ocker-Flächen softer: Dunkelocker statt fast Schwarz */
.theme-ocker {
  --color-action: var(--ocker-800);
  --color-action-hover: var(--ocker-900);
}
.theme-ocker .btn--secondary { --btn-border: var(--ocker-800); }
.badge-dot { background: var(--ocker-800); color: var(--weiss); }
.stoerer { background: var(--ocker-800); color: var(--weiss); }
a.stoerer:hover,
.home-hero__visual a.stoerer:hover { background: var(--ocker-900); color: var(--weiss); }

/* Geschichte: Bildunterschriften und Archiv */
.chapter__media { margin: 0; display: grid; gap: var(--space-2); }
.chapter__media figcaption { font-size: var(--fs-small); }
.archive { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.archive img { aspect-ratio: 4 / 3; }
.person > * { min-width: 0; }
.quote__text { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* Schlagwörter in Karten: schlichte Liste untereinander statt Chips */
.card .chips { display: grid; gap: 0; }
.card .chips li {
  padding: 0.55rem 0;
  border-radius: 0;
  background: none;
  border-bottom: 1px solid var(--salbei-100);
  color: var(--color-text);
  font-size: 1rem;
  font-weight: var(--fw-regular);
}
.card .chips li:last-child { border-bottom: 0; }

/* Leistungen-Flyout, ruhiger (26.10.2026): vier Spalten, darunter eine Leiste mit Schwerpunkten */
.nav-panel { padding-block: var(--space-5) var(--space-5); }
.nav-panel--mega .nav-panel__inner { grid-template-columns: 1fr; gap: var(--space-4); }
.nav-panel--mega .nav-panel__groups { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-6); }
.nav-panel--mega .nav-panel__group-title { min-height: 2.5rem; font-size: 1.0625rem; border-bottom: 0; }
.nav-panel--mega .nav-panel__group ul { margin-top: 0; }
.nav-panel--mega .nav-panel__group a:not(.nav-panel__group-title) { min-height: 2.5rem; padding-left: 0; font-size: 1rem; }
.nav-panel__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
  padding-top: var(--space-4);
  border-top: 1px solid var(--salbei-100);
}
.nav-panel__bar-label { font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--color-text); margin-right: var(--space-1); }
.nav-panel__pill {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.3rem 0.95rem;
  border: 1px solid var(--salbei-300);
  border-radius: var(--radius-pill);
  color: var(--salbei-900);
  font-size: 0.9375rem;
  font-weight: var(--fw-medium);
  text-decoration: none;
}
.nav-panel__pill:hover { background: var(--salbei-50); text-decoration: none; }
.nav-panel a.nav-panel__pill[aria-current="page"] { background: var(--salbei-900); border-color: var(--salbei-900); color: var(--weiss); text-decoration: none; }
.nav-panel__all { margin-left: auto; }

/* Absage-Regel (24 Stunden) */
.absage-grid { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 56rem) { .absage-grid { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-9); } }
.absage-box {
  padding: var(--space-6);
  border-radius: var(--radius-l);
  background: var(--weiss);
  box-shadow: inset 0 0 0 1px var(--salbei-100);
}
@media (min-width: 56rem) { .absage-box { position: sticky; top: calc(var(--header-h) + var(--space-5)); } }
.absage-box h3 { margin-bottom: var(--space-4); }
.absage-text h3 { margin-top: var(--space-5); font-size: var(--fs-h4); }
.absage-text h3:first-child { margin-top: 0; }
.absage-text p { max-width: 62ch; }
/* Plakette „Wir stellen ein“ / „Jobs“: Salbei 800 mit weißer Schrift (26.10.2026) */
.badge-dot { background: var(--salbei-800); color: var(--weiss); }

/* Gesichter in Kacheln größer und scharf (eigene quadratische Ausschnitte) */
.tile__person { width: 6.5rem; }
.tile__person img,
.neuro-area__face img,
.faces img,
.person__photo img { object-position: center; }
.neuro-area__face { width: 5rem; height: 5rem; }

/* Absage-Hinweis: leise Zeile mit Uhr-Icon, nur wo es ums Buchen geht (Variante C, 26.10.2026) */
.absage-note { display: flex; gap: var(--space-3); align-items: flex-start; max-width: 68ch; margin-top: var(--space-5); font-size: var(--fs-small); }
.absage-note img { flex: none; width: 1.5rem; height: 1.5rem; }
.cta-band__note { grid-column: 1 / -1; max-width: 70ch !important; margin-top: 0; padding-top: var(--space-4); border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent); }
.cta-band__note img { filter: brightness(0) invert(1); opacity: .85; }
.cta-band__note a { color: inherit; }

/* ---------- Video-Karte (26.10.2026) ---------- */
.vcard { margin: 0; display: grid; gap: var(--space-4); align-content: start; }
.vcard__play, .vcard video {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16;
  border-radius: var(--radius-photo); overflow: hidden; background: var(--salbei-800);
}
.vcard video { object-fit: cover; }
.vcard__play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.vcard__play::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .35), transparent 40%); }
.vcard__icon {
  position: absolute; z-index: 1; left: 50%; top: 50%; translate: -50% -50%;
  display: grid; place-items: center; width: 4.25rem; height: 4.25rem; border-radius: 50%;
  background: var(--video-accent, var(--salbei-800)); color: var(--weiss);
  box-shadow: 0 6px 20px rgb(0 0 0 / .25); transition: scale .2s ease;
}
.vcard__icon svg { margin-left: 3px; }
.vcard__dur {
  position: absolute; z-index: 1; right: var(--space-3); bottom: var(--space-3);
  padding: .15em .6em; border-radius: 99px; background: rgb(0 0 0 / .6); color: var(--weiss);
  font-size: var(--fs-small); font-variant-numeric: tabular-nums;
}
.vcard__play:hover .vcard__icon, .vcard__play:focus-visible .vcard__icon { scale: 1.08; }
@media (prefers-reduced-motion: no-preference) { .vcard__play:hover img { transform: scale(1.03); } }
.vcard__title { font-size: var(--fs-h4); margin: 0; }
.vcard__who { margin: var(--space-1) 0 0; font-size: var(--fs-small); color: var(--color-muted, inherit); }
.vcard__tx { margin-top: var(--space-2); font-size: var(--fs-small); }
.vcard__tx summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; text-decoration: underline; text-underline-offset: .2em; }
.vcard__tx p { margin-top: var(--space-2); }
.theme-ocker .vcard, .vrow--karriere { --video-accent: var(--ocker-800); }

/* Reihe: mobil wischbar, ab Tablet drei Spalten */
.vrow { list-style: none; margin: 0; padding: 0 0 var(--space-3); display: grid; gap: var(--space-5);
  grid-auto-flow: column; grid-auto-columns: min(72%, 17rem); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; }
.vrow > li { scroll-snap-align: start; }
@media (min-width: 48rem) { .vrow { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; max-width: 60rem; } }

/* Einzelnes Video neben Text */
.video-split {
  display: grid; gap: var(--space-6); align-items: center;
  max-width: 50rem; margin-inline: auto;
  padding: var(--space-6) var(--space-5);
  background: var(--salbei-50); border-radius: var(--radius-l);
}
.video-split .vcard { width: 100%; max-width: 14rem; margin-inline: auto; }
@media (min-width: 48rem) {
  .video-split { grid-template-columns: minmax(0, 1fr) 14rem; gap: var(--space-7); padding: var(--space-7); }
  .video-split .vcard { margin-inline: 0; }
}
.section.theme-salbei-light .video-split, .theme-salbei-light .video-split { background: var(--weiss); }

/* Lange Wörter in Karten-Überschriften trennen statt überlaufen (z. B. „Bewegungsentwicklung“) */
.cards > *, .tiles > *, .card, .tile { min-width: 0; }
.card h3, .card h2, .tile__title, .vcard__title, .team-card__name, .neuro-area h3 { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 12 5 5; overflow-wrap: break-word; }

/* Archiv: Dokumente (Urkunde, Deckblatt) ganz zeigen statt beschneiden */
.archive__doc img { object-fit: contain; background: var(--weiss); box-shadow: inset 0 0 0 1px var(--salbei-100); padding: var(--space-2); }

/* Startseite Neurologie: drei Ansprechpartnerinnen statt Foto (kein passendes Bild) */
.neuro-trio { position: relative; overflow: hidden; margin: 0; padding: var(--space-7) var(--space-6); border-radius: var(--radius-l); background: var(--weiss); box-shadow: inset 0 0 0 1px var(--salbei-100); --arc-color: var(--salbei-100); }
.neuro-trio ul { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.neuro-trio li { display: grid; justify-items: center; gap: var(--space-3); text-align: center; font-size: var(--fs-small); }
.neuro-trio li img { width: min(100%, 8rem); aspect-ratio: 1; border-radius: 50%; object-fit: cover; background: var(--ocker-300); }
.neuro-trio li strong { display: block; color: var(--color-heading); hyphens: auto; }
.neuro-trio li:nth-child(2) { margin-top: var(--space-7); }
.neuro-trio figcaption { position: relative; margin-top: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--salbei-100); font-size: var(--fs-small); text-align: center; }
@media (max-width: 30rem) { .neuro-trio { padding: var(--space-6) var(--space-5); } }
.neuro-trio li { min-width: 0; }
.neuro-trio li span { min-width: 0; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 30rem) {
  .neuro-trio ul { grid-template-columns: 1fr; gap: var(--space-4); }
  .neuro-trio li, .neuro-trio li:nth-child(2) { grid-template-columns: 4.5rem 1fr; justify-items: start; align-items: center; text-align: left; margin-top: 0; }
  .neuro-trio li img { width: 4.5rem; }
}

/* Abstand zwischen Text und Häkchen-Liste (z. B. Startseite Neurologie) */
p + .check-list { margin-top: var(--space-5); }

/* Preiszeilen (Training, Rehasport) */
.price-rows li { display: flex; justify-content: space-between; gap: var(--space-3); }
.price-rows li span:last-child { font-weight: var(--fw-semibold); white-space: nowrap; }
.price-table { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--salbei-100); }
.price-table li { display: flex; justify-content: space-between; align-items: baseline; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--salbei-100); }
.price-table li > span:first-child { min-width: 0; }
.price-table strong { display: block; color: var(--color-heading); }
.price-table li > span:last-child { font-size: var(--fs-h4); font-weight: var(--fw-semibold); color: var(--color-heading); white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan__list.price-rows li { padding-left: 0; }
.plan__list.price-rows li::before { content: none; display: none; }

/* Störer und Plakette wieder in der ursprünglichen Variante: Salbei 900 mit Ocker-100-Schrift (Timothy, 26.10.2026 abends) */
.badge-dot { background: var(--salbei-900); color: var(--ocker-100); }
.stoerer { background: var(--salbei-900); color: var(--ocker-100); }
a.stoerer:hover,
.home-hero__visual a.stoerer:hover { background: var(--salbei-800); color: var(--ocker-100); }

/* Preislisten (Selbstzahler-Seite und Druck-PDF) */
.pricelists__title { margin-top: var(--space-7); margin-bottom: var(--space-3); font-size: var(--fs-h3); }
.pricelists__title:first-of-type { margin-top: 0; }
.pricelist__group { margin: var(--space-5) 0 var(--space-2); font-size: var(--fs-h4); }
.pricelist__group:first-child { margin-top: 0; }
.pricelist li > span:first-child { display: grid; gap: 0.1rem; font-size: var(--fs-small); }
.pricelist li > span:first-child strong { font-size: var(--fs-body, 1rem); font-weight: var(--fw-semibold); }
.pricelist li > span:last-child { font-size: var(--fs-body, 1rem); }
/* Zweiter Preisstand: neuer Preis ab 01.01.2027 unter dem heute gültigen */
.price-new { display: block; font-size: var(--fs-xs); font-weight: var(--fw-regular); color: var(--color-text-muted); }
.price-table li > span:last-child:has(.price-new) { line-height: 1.25; }
.pricelist__pdf { margin-top: var(--space-5); }
.pricelist__pdf a { display: inline-flex; align-items: center; min-height: 44px; font-weight: var(--fw-semibold); }
.pricelist__pdf a::before { content: ""; width: 1.25rem; height: 1.25rem; margin-right: var(--space-2); background: url("/assets/icons/dokumente.svg") center / contain no-repeat; }

/* =====================================================================
   UI/UX-Review (27.10.2026) – Messung aller Seiten bei 390 und 1280 px
   ===================================================================== */

/* 1. Touch-Ziele: alleinstehende Telefon-/Mail-Links mindestens 44 px hoch */
.site-footer__brand address a,
dd > a[href^="tel:"],
dd > a[href^="mailto:"] {
  display: inline-block;
  padding-block: 0.55rem;
}
.site-footer__brand address { line-height: 1.5; }

/* Linklisten in Karten (z. B. „Mehr für Kinder“): ganze Zeile tippbar */
.link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

/* Kleine Inline-Links (Absage-Hinweis, Hilfetexte) mindestens 24 px hoch (WCAG 2.5.8) */
.absage-note a,
.bw__help a,
p.small a {
  padding-block: 0.2em;
}

/* 2. Mobil: Leistungs-Kacheln mit Gesicht kompakt nebeneinander statt gestapelt.
      Spart pro Kachel rund 40 % Höhe, die Person bleibt sichtbar. */
@media (max-width: 40rem) {
  .tile--person {
    display: grid;
    grid-template-columns: 4rem 1fr;
    column-gap: var(--space-4);
    row-gap: var(--space-2);
    align-items: center;
    min-height: 0;
    padding: var(--space-5);
  }
  .tile--person .tile__person { width: 4rem; }
  .tile--person > :not(.tile__person):not(.tile__title) { grid-column: 1 / -1; }
  .tile--person > .tile__title + * { margin-top: var(--space-1); }
  .tile--person .tile__more { margin-top: var(--space-1); }

  /* Seitenkopf: Porträt kleiner, damit Bereichsnavigation und Inhalt früher kommen */
  .page-hero__media { width: min(100%, 15rem); }

  /* Das kleinere Porträt darf der Störer nicht halb zudecken: kleiner und weiter
     nach außen, damit er nur die Ecke überlappt und das Gesicht frei bleibt */
  .page-hero__media .stoerer {
    --stoerer-size: 5.75rem;
    top: calc(-1 * var(--space-5));
    right: calc(-1 * var(--space-5));
  }
}

/* Button mit Zusatz („Jetzt bewerben · ohne Anschreiben“): mobil Zusatz als Unterzeile statt Zufallsumbruch */
@media (max-width: 40rem) {
  .btn__label { display: grid; text-align: left; line-height: 1.25; }
  .btn__extra { font-size: var(--fs-xs); font-weight: var(--fw-regular); }
  .btn__extra > [aria-hidden] { display: none; }
}

/* Pagespeed (27.10.2026): Markenbogen erst zeigen, wenn seine Größe berechnet ist – sonst springt er beim Laden (CLS) */
@media (scripting: enabled) {
  .has-arcs:not([data-arcs]) .arc { visibility: hidden; }
}

/* ===== Verordnung senden (/verordnung-senden/) ===== */
.vs { display: grid; gap: var(--space-7); align-items: start; }
@media (min-width: 56rem) { .vs { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.vs-card { background: var(--weiss); border: 1px solid var(--salbei-100); border-radius: var(--radius-l); padding: var(--space-6); display: grid; gap: var(--space-4); }
.vs-form { display: grid; gap: var(--space-5); }
.vs-form[hidden], .vs-done[hidden] { display: none; }
.vs-group { border: 0; padding: 0; margin: 0; display: grid; gap: var(--space-2); }
.vs-grid { display: grid; gap: var(--space-4); }
@media (min-width: 40rem) { .vs-grid { grid-template-columns: 1fr 1fr; } }
.vs-field { display: grid; gap: var(--space-1); min-width: 0; }
.vs-label { font-weight: var(--fw-medium); color: var(--salbei-800); padding: 0; }
.vs-optional { font-weight: 400; font-size: var(--fs-small); color: var(--salbei-600); }
.vs-help { margin: 0; font-size: var(--fs-small); color: var(--salbei-800); }
.vs-input { font: inherit; font-size: 1rem; min-height: 3rem; padding: 0.6rem 0.9rem; border: 1px solid var(--salbei-600); border-radius: var(--radius-s, 10px); background: var(--weiss); color: var(--salbei-900); width: 100%; }
.vs-input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; }
.vs-input[aria-invalid="true"], .vs-consent:has([aria-invalid="true"]) { border-color: #a3322a; }
.vs-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.vs-chip { position: relative; }
.vs-chip input { position: absolute; opacity: 0; inset: 0; }
.vs-chip span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 1px solid var(--salbei-600); color: var(--salbei-800); cursor: pointer; }
.vs-chip input:checked + span { background: var(--salbei-800); border-color: var(--salbei-800); color: var(--weiss); }
.vs-chip input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.vs-file { position: relative; display: flex; }
.vs-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.vs-file__btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.1rem; border-radius: 999px; background: var(--salbei-100); color: var(--salbei-800); font-weight: var(--fw-medium); }
.vs-file:has(input:focus-visible) .vs-file__btn { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.vs-table { display: grid; grid-template-columns: 2.5rem repeat(3, minmax(0, 1fr)); gap: var(--space-2); align-items: center; max-width: 30rem; }
.vs-table__head { font-size: var(--fs-ui); color: var(--salbei-800); text-align: center; }
.vs-table__day { font-weight: var(--fw-medium); color: var(--salbei-800); }
.vs-slot { position: relative; display: block; height: 2.75rem; }
.vs-slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; appearance: none; border: 1px solid var(--salbei-600); border-radius: 10px; background: var(--weiss); cursor: pointer; }
.vs-slot input:checked { background: var(--salbei-800) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 1.1rem no-repeat; border-color: var(--salbei-800); }
.vs-slot input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.vs-consent { display: flex; gap: var(--space-3); align-items: start; font-size: var(--fs-small); }
.vs-consent input { width: 1.4rem; height: 1.4rem; margin-top: 0.1rem; flex: none; accent-color: var(--salbei-800); }
.vs-error { margin: 0; color: #a3322a; font-weight: var(--fw-medium); }
.vs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.vs-file__clear { font: inherit; font-size: var(--fs-small); color: var(--salbei-800); background: none; border: 0; padding: 0.25rem 0; text-decoration: underline; cursor: pointer; }
.vs-file__clear:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.vs-done { display: grid; gap: var(--space-3); }
.vs-done:focus { outline: none; }
.vs-side { display: grid; gap: var(--space-5); }
.vs-qr { display: none; }
@media (min-width: 56rem) and (hover: hover) {
  .vs-qr { display: grid; grid-template-columns: 8rem 1fr; gap: var(--space-4); align-items: center; padding: var(--space-5); border-radius: var(--radius-l); background: var(--salbei-50); }
  .vs-qr img { width: 8rem; height: 8rem; background: var(--weiss); border-radius: 10px; padding: 0.4rem; }
  .vs-qr p { margin: 0; font-size: var(--fs-small); }
}

/* Vier Teamstimmen: 1 / 2 / 4 Spalten statt 3 + 1 */
@media (min-width: 40rem) { .quotes:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 80rem) { .quotes:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); } .quotes:has(> :nth-child(4)) .quote__text { font-size: 1.0625rem; } }

/* Neurologie auf der Startseite: Plan ohne Fotos (statt neuro-trio, um doppelte Gesichter zu vermeiden) */
.neuro-plan { position: relative; overflow: hidden; margin: 0; padding: var(--space-7) var(--space-6); border-radius: var(--radius-l); background: var(--weiss); box-shadow: inset 0 0 0 1px var(--salbei-100); --arc-color: var(--salbei-100); }
.neuro-plan__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.neuro-plan__list::before { content: ""; position: absolute; left: 1.5rem; top: 1.5rem; bottom: -2.5rem; width: 2px; background: var(--salbei-300); }
.neuro-plan__list > li { position: relative; display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); align-items: start; }
.neuro-plan__list strong { display: block; color: var(--color-heading); margin-block: 0.6rem var(--space-2); }
.neuro-plan__icon { position: relative; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--weiss); box-shadow: inset 0 0 0 2px var(--salbei-300); }
.neuro-plan__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.neuro-plan__chips li { padding: 0.2rem 0.7rem; border-radius: 999px; border: 1px solid var(--salbei-300); font-size: var(--fs-ui); color: var(--salbei-800); background: var(--weiss); }
.neuro-plan__result { position: relative; margin-top: var(--space-6); display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); align-items: center; padding: var(--space-4); border-radius: var(--radius-m); background: var(--salbei-800); color: var(--weiss); font-size: var(--fs-small); }
.neuro-plan__result img { width: 3rem; height: 3rem; padding: 0.6rem; border-radius: 50%; background: var(--weiss); }
.neuro-plan__result strong { display: block; color: var(--weiss); font-size: 1rem; }
@media (max-width: 30rem) { .neuro-plan { padding: var(--space-6) var(--space-5); } }

/* Feste Kartenraster: 2 bzw. 3 Spalten statt auto-fit (vermeidet 4 + 1) */
@media (min-width: 48rem) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 40rem) and (max-width: 59.99rem) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Schritte als vertikale Liste (z. B. neben einem Bild): Zahl links, Linie verbindet */
.steps--liste { grid-template-columns: 1fr; gap: 0; }
.steps--liste .step {
  position: relative;
  grid-template-columns: 3rem 1fr;
  column-gap: var(--space-5);
  row-gap: var(--space-2);
  padding-bottom: var(--space-6);
}
.steps--liste .step:last-child { padding-bottom: 0; }
.steps--liste .step::before { grid-row: 1 / span 2; position: relative; z-index: 1; }
.steps--liste .step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(1.5rem - 1px);
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--salbei-300);
}
.steps--liste .step__title { grid-column: 2; align-self: center; margin: 0; }
.steps--liste .step > :not(.step__title) { grid-column: 2; margin: 0; }
.steps.steps--liste { margin-top: var(--space-6); }
@media (min-width: 56rem) { .steps--liste .step { padding-bottom: var(--space-7); } }

/* ---------- Termin-Auswahl (Header + Mobilleiste) ---------- */
.termin-menu { position: relative; }
.termin-menu > summary { list-style: none; cursor: pointer; }
.termin-menu > summary::-webkit-details-marker { display: none; }
.termin-menu > summary .chev { width: 1rem; height: 1rem; transition: transform .2s; }
.termin-menu[open] > summary .chev { transform: rotate(180deg); }
.termin-menu__panel {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 60;
  width: min(23rem, calc(100vw - 1.5rem));
  display: grid; gap: .25rem; padding: .5rem;
  background: var(--weiss); border-radius: var(--radius-l);
  box-shadow: 0 0 0 1px var(--salbei-100), 0 16px 40px rgb(36 46 38 / .16);
}
.termin-menu--up .termin-menu__panel { top: auto; bottom: calc(100% + .75rem); left: 0; right: auto; }
.termin-menu__opt {
  display: grid; grid-template-columns: 2.75rem 1fr; gap: .75rem; align-items: center;
  padding: .75rem; border-radius: var(--radius-m, .75rem); color: var(--text, #242e26); text-decoration: none;
}
.termin-menu__opt:hover, .termin-menu__opt:focus-visible { background: var(--salbei-50, #f2f7f1); }
.termin-menu__opt strong { display: block; font-size: 1.0625rem; }
.termin-menu__opt span > span { display: block; font-size: .9375rem; line-height: 1.4; color: var(--salbei-700, #4a564c); white-space: normal; }
.termin-menu__ico { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--salbei-100); }
.termin-menu__ico svg, .termin-menu__ico img { width: 1.375rem; height: 1.375rem; }
.termin-menu__opt--tel { border-top: 1px solid var(--salbei-100); border-radius: 0 0 var(--radius-m, .75rem) var(--radius-m, .75rem); }
.mobilebar .termin-menu > summary { width: 100%; }
.termin-menu__ico svg { stroke-width: 1.5; }
.termin-menu__ico img { width: 1.625rem; height: 1.625rem; }

/* Mobilmenü: die drei Termin-Wege als Liste */
.mobile-menu__termin { margin-top: var(--space-6); }
.mobile-menu__label { font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--salbei-600); letter-spacing: .04em; text-transform: uppercase; margin-bottom: var(--space-3); }
.termin-liste { display: grid; gap: .25rem; padding: .5rem; background: var(--salbei-50, #f2f7f1); border-radius: var(--radius-l); box-shadow: inset 0 0 0 1px var(--salbei-100); }
.termin-liste .termin-menu__ico { background: var(--weiss); }
.termin-liste .termin-menu__opt:hover, .termin-liste .termin-menu__opt:focus-visible { background: var(--weiss); }

/* Footer-Seitenübersicht: mobil aufklappbare Gruppen, ab Tablet offene Spalten */
.fgroup__toggle { all: unset; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); width: 100%; box-sizing: border-box; font: inherit; color: inherit; }
.fgroup__toggle .chev { width: 1.25rem; height: 1.25rem; flex: none; transition: transform .2s; }
@media (max-width: 47.99rem) {
  .site-footer__nav { grid-template-columns: 1fr; gap: var(--space-2); padding-top: var(--space-5); }
  .site-footer__nav h2 { margin: 0; font-size: 1.0625rem; }
  .fgroup { border-radius: var(--radius-l); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
  .fgroup__toggle { min-height: 3.5rem; padding: 0 var(--space-4); cursor: pointer; border-radius: var(--radius-l); }
  .fgroup__toggle:focus-visible { outline: 2px solid var(--salbei-100); outline-offset: 2px; }
  .fgroup__toggle[aria-expanded="true"] .chev { transform: rotate(180deg); }
  .js .fgroup:not(.is-open) ul { display: none; }
  .fgroup ul { padding: 0 var(--space-2) var(--space-3); display: grid; gap: .25rem; }
  .fgroup ul a { display: flex; width: 100%; box-sizing: border-box; min-height: 3rem; padding: 0 var(--space-3); border-radius: var(--radius-m, .75rem); background: rgb(255 255 255 / .08); font-size: 1rem; }
  .fgroup ul a:hover { text-decoration: none; background: rgb(255 255 255 / .16); }
  .fgroup ul a[aria-current="page"] { background: var(--salbei-100); color: var(--salbei-900); }
}
@media (min-width: 48rem) {
  .fgroup__toggle { pointer-events: none; }
  .fgroup__toggle .chev { display: none; }
}
@media (max-width: 47.99rem) {
  .site-footer__bottom ul { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); width: 100%; }
  .site-footer__bottom a { display: flex; justify-content: center; min-height: 3rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); text-decoration: none; font-size: .9375rem; }
  .site-footer__bottom a:hover { background: rgb(255 255 255 / .1); }
}

/* Mobilmenü: Termin-Wege als einzelne Buttons */
.termin-liste { background: none; box-shadow: none; padding: 0; gap: var(--space-2); }
.termin-liste .termin-menu__opt {
  grid-template-columns: 2.75rem 1fr 1.25rem;
  min-height: 4.5rem; padding: .875rem 1rem;
  background: var(--weiss); border-radius: var(--radius-l);
  box-shadow: inset 0 0 0 1.5px var(--salbei-300);
}
.termin-liste .termin-menu__opt::after {
  content: ""; width: 1.25rem; height: 1.25rem; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.termin-liste .termin-menu__opt:first-child { background: var(--salbei-100); box-shadow: none; }
.termin-liste .termin-menu__opt:first-child .termin-menu__ico { background: var(--weiss); }
.termin-liste .termin-menu__ico { background: var(--salbei-50); }
.termin-liste .termin-menu__opt--tel { border-top: 0; border-radius: var(--radius-l); }
.termin-liste .termin-menu__opt:hover, .termin-liste .termin-menu__opt:focus-visible { background: var(--salbei-50); box-shadow: inset 0 0 0 1.5px var(--salbei-600); }
.termin-liste .termin-menu__opt:first-child:hover { background: var(--salbei-300); }

/* Konsistenz (UX-Prüfung 31.10.): Schritte mobil immer als Liste mit Zahl links */
@media (max-width: 47.99rem) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps .step { position: relative; grid-template-columns: 3rem 1fr; column-gap: var(--space-4); row-gap: var(--space-2); padding-bottom: var(--space-6); }
  .steps .step:last-child { padding-bottom: 0; }
  .steps .step::before { grid-row: 1 / span 2; position: relative; z-index: 1; }
  .steps .step:not(:last-child)::after { content: ""; position: absolute; left: calc(1.5rem - 1px); top: 3rem; bottom: 0; width: 2px; background: var(--salbei-300); }
  .steps .step__title { grid-column: 2; align-self: center; margin: 0; }
  .steps .step > :not(.step__title) { grid-column: 2; margin: 0; }
}
.vs-consent { line-height: 1.6; }
.fgroup__toggle:disabled { cursor: default; }

/* Karriere: Hinweis für Bewerbungen mit anderem Schwerpunkt */
.anderer-schwerpunkt { margin-top: var(--space-5); padding: var(--space-5) var(--space-6); border-radius: var(--radius-l); box-shadow: inset 0 0 0 1.5px var(--salbei-300); display: grid; gap: var(--space-4); align-items: center; }
.anderer-schwerpunkt h3 { margin: 0 0 var(--space-1); font-size: 1.125rem; }
.anderer-schwerpunkt p { margin: 0; }
@media (min-width: 56rem) { .anderer-schwerpunkt { grid-template-columns: 1fr auto; gap: var(--space-7); } }

/* Karriere: Laufbahn als Weg und Alltag in Zahlen (Variante C, 31.10.2026) */
.lw-path { display: grid; gap: var(--space-4); }
.lw-path__label { font-size: var(--fs-ui); font-weight: var(--fw-semibold); color: var(--salbei-600); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.lw-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.lw-steps li { display: flex; gap: var(--space-3); align-items: flex-start; padding: var(--space-4); border-radius: var(--radius-l); background: var(--salbei-100); }
.lw-steps li > div { display: grid; gap: .25rem; }
.lw-steps li > div > span { font-size: .9375rem; }
.lw-dot { flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--salbei-800); color: var(--weiss); font-weight: 600; }
.lw-path .small { margin: 0; }
.lw-fork { height: 2.5rem; position: relative; }
.lw-fork span { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--salbei-400); }
.lw-ways { display: grid; gap: var(--space-4); }
.lw-way { padding: var(--space-5); border-radius: var(--radius-l); box-shadow: inset 0 0 0 2px var(--salbei-300); display: grid; gap: var(--space-2); }
.lw-way h3, .lw-way p { margin: 0; }
.lw-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.lw-facts li { padding: var(--space-4); border-radius: var(--radius-l); background: rgb(255 255 255 / .08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); display: grid; gap: .25rem; align-content: start; }
.lw-facts__z { font-size: clamp(1.75rem, 1.3rem + 2vw, 2.75rem); font-weight: 700; line-height: 1.1; color: var(--salbei-100); }
.lw-facts strong { font-size: 1rem; }
.lw-facts li > span:last-child { font-size: .9375rem; opacity: .9; }
.lw-note { margin-top: var(--space-5); }
@media (max-width: 29.99rem) { .lw-facts { grid-template-columns: 1fr; } }
@media (min-width: 48rem) {
  .lw-steps { grid-template-columns: repeat(3, 1fr); }
  .lw-ways { grid-template-columns: 1fr 1fr; }
  .lw-fork span { left: 25%; right: 25%; width: auto; height: 2px; top: 50%; bottom: auto; }
  .lw-fork span::before { content: ""; position: absolute; left: 50%; top: -1.25rem; height: 1.25rem; width: 2px; background: var(--salbei-400); }
  .lw-fork::before, .lw-fork::after { content: ""; position: absolute; top: 50%; bottom: 0; width: 2px; background: var(--salbei-400); }
  .lw-fork::before { left: 25%; }
  .lw-fork::after { right: 25%; }
  .lw-facts { grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
}
.theme-salbei-light .lw-way { background: var(--weiss); }
.theme-salbei-light .lw-steps li { background: var(--weiss); box-shadow: inset 0 0 0 1px var(--salbei-300); }

/* Schmale Handys (320 px): nichts darf seitlich überstehen (03.11.2026) */
.vrow--karriere { min-width: 0; }
@media (max-width: 22.49rem) {
  .menu-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .menu-toggle .badge-dot { margin-left: 0; }
}
