/* =====================================================================
   Zahnwolke: Praxisseiten Kelheim / Rottenburg (body.standort)
   Wird NACH main.css geladen. Gleiche Formensprache wie die Startseite
   (frisch.css): Glas-Karten, Farbstreifen, goldener Strich, Pill-Buttons.
   Aufbau: 1. Grundlagen  2. Bühne  3. Willkommen  4. Sprechzeiten
           5. Leitsatz  6. Leistungen  7. Footer  8. Tablet/Handy
           9. Weniger Bewegung
   ===================================================================== */

/* ---------- 1. Grundlagen ---------- */
.standort {
  --farbe: #8548b0;
  --farbe-dunkel: #6a3891;
  --farbe-hell: #f3ecf8;
  --farbe-glas: rgba(133, 72, 176, 0.86);
  --gold: #bd9b60;
  --gold-text: #8a6a2e;     /* dunkleres Gold für Schrift auf Weiß (Kontrast 5:1) */
  --gold-hell: #f0dfbb;     /* helles Gold für Schrift auf Farbe */
  --text: #3f3a4d;
  --text-leise: #5a5468;
  --schatten: 0 14px 40px rgba(40, 20, 70, 0.16);
  --schatten-hoch: 0 22px 50px rgba(40, 20, 70, 0.24);
  --sanft: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 22px;
}

.standort--blau {
  --farbe: #5068a0;
  --farbe-dunkel: #3d5285;
  --farbe-hell: #edf0f7;
  --farbe-glas: rgba(80, 104, 160, 0.88);
}

.standort-inhalt {
  display: block;
  padding-bottom: 0;
}

/* Sprunglink für Tastatur und Screenreader */
.sprunglink {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--farbe);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s;
}

.sprunglink:focus {
  top: 1rem;
}

/* Navigation: Gold etwas dunkler, damit sie lesbar ist */
.standort .navcontainer-link.card-color__gold,
.standort .navcontainer-link__rottenburg.card-color__gold {
  color: var(--gold-text);
}

.standort a:focus-visible,
.standort [role="button"]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Pill-Buttons */
.standort .knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border: 2px solid var(--farbe);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--sanft);
}

.standort .knopf i {
  font-size: 0.85em;
}

.standort .knopf--voll {
  background: var(--farbe);
  color: #ffffff;
}

.standort .knopf--voll:hover {
  background: var(--farbe-dunkel);
  border-color: var(--farbe-dunkel);
}

.standort .knopf--rand {
  background: #ffffff;
  color: var(--farbe);
}

.standort .knopf--rand:hover {
  background: var(--farbe-hell);
}

/* Status: geöffnet / Mittagspause / geschlossen (js/oeffnungszeiten.js) */
.standort .oeffnung {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: #eeeaf3;
  color: #4a4458;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
}

.standort .oeffnung::before {
  content: "";
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: #8a8496;
}

.standort .oeffnung[data-status="offen"] {
  background: #e3f4e8;
  color: #1e6b3a;
}

.standort .oeffnung[data-status="offen"]::before {
  background: #22a352;
  box-shadow: 0 0 0 3px rgba(34, 163, 82, 0.22);
}

.standort .oeffnung[data-status="pause"] {
  background: #fdf3dc;
  color: #7a5a12;
}

.standort .oeffnung[data-status="pause"]::before {
  background: #e0a526;
}

/* ---------- Standort-Schalter im Kopf (ersetzt die Reiter oben rechts) ---------- */
.standort .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.standort .head .container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.standort .head .container > a {
  flex: 0 1 50rem;
  min-width: 0;
}

.standort .head .second {
  display: block;
  width: 100%;
  max-width: 50rem;
}

.standortwahl {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex: none;
}

.standortwahl__label {
  color: var(--text-leise);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.standortwahl__liste {
  display: flex;
  margin: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 16px rgba(40, 20, 70, 0.12), inset 0 0 0 1px #e6e0ee;
  list-style: none;
}

.standortwahl__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.1rem;
  border-radius: 999px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.3s var(--sanft), color 0.3s var(--sanft);
}

.standortwahl__link--kelheim:hover { color: #8548b0; background: #f3ecf8; }
.standortwahl__link--rottenburg:hover { color: #5068a0; background: #edf0f7; }

/* aktive Praxis: in ihrer Farbe gefüllt */
.standortwahl__link--kelheim[aria-current="page"] { background: #8548b0; color: #ffffff; }
.standortwahl__link--rottenburg[aria-current="page"] { background: #5068a0; color: #ffffff; }

.standortwahl__punkt {
  flex: none;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #b9b3c4;
}

.standortwahl__link[aria-current="page"] .standortwahl__punkt {
  background: rgba(255, 255, 255, 0.55);
}

.standortwahl__punkt[data-status="offen"],
.standortwahl__link[aria-current="page"] .standortwahl__punkt[data-status="offen"] {
  background: #2ecc68;
  box-shadow: 0 0 0 3px rgba(46, 204, 104, 0.25);
}

.standortwahl__punkt[data-status="pause"],
.standortwahl__link[aria-current="page"] .standortwahl__punkt[data-status="pause"] {
  background: #e0a526;
}

@media (max-width: 769px) {
  .standort .head .container {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .standort .head .container > a {
    flex: none;
  }

  .standortwahl {
    align-items: stretch;
  }

  .standortwahl__label {
    display: none;
  }

  .standortwahl__liste > li {
    flex: 1;
  }

  .standortwahl__link {
    justify-content: center;
    width: 100%;
  }
}

/* ---------- Navigation: Dropdown liegt über allem, als weiße Karte ---------- */
.standort header {
  position: relative;
  z-index: 40;
}

.standort .flex-navcontainer__link {
  position: relative;
}

.standort .flex-navcontainer__sub {
  top: 100%;
  left: -1rem;
  z-index: 50;
  min-width: 16rem;
  padding: 0.9rem 0 0;          /* unsichtbare Brücke, damit das Menü beim Hinfahren offen bleibt */
  background: transparent;
  overflow: visible;
}

.standort .flex-navcontainer__link:hover > .flex-navcontainer__sub,
.standort .flex-navcontainer__link:focus-within > .flex-navcontainer__sub {
  display: block;
}

.standort .flex-navcontainer__sub::before {
  content: "";
  position: absolute;
  inset: 0.9rem 0 0;
  z-index: -1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 16px 40px rgba(40, 20, 70, 0.18), inset 0 0 0 1px #ece7f2;
}

.standort .flex-navcontainer__sub::after {
  content: "";
  position: absolute;
  top: 0.9rem;
  left: 1.25rem;
  width: 2.5rem;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: var(--farbe);
}

.standort .flex-navcontainer__link2 {
  padding: 0;
}

.standort .flex-navcontainer__link2:first-child {
  padding-top: 0.5rem;
}

.standort .flex-navcontainer__link2:last-child {
  padding-bottom: 0.5rem;
}

.standort .navcontainer-link__sub,
.standort .navcontainer-link__sub--rot {
  display: flex;
  align-items: center;
  min-height: 44px;
  margin: 0 0.5rem;
  padding: 0 0.85rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}

.standort .navcontainer-link__sub:hover,
.standort .navcontainer-link__sub--rot:hover,
.standort .navcontainer-link__sub:focus-visible,
.standort .navcontainer-link__sub--rot:focus-visible {
  background: var(--farbe-hell);
  color: var(--farbe);
}

/* aktive Seite in der Navigation */
.standort .flex-navcontainer a[aria-current="page"]::after {
  width: 100%;
  left: 0;
}

/* ---------- 2. Bühne: Empfangsfoto mit Infokarte ---------- */
.standort .buehne {
  position: relative;
  margin-top: 1.5rem;
}

.standort .buehne__bild {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: center 60%;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}

.standort .buehne__karte {
  position: absolute;
  left: 1.75rem;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.5rem 1.4rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  box-shadow: var(--schatten);
}

/* Farbstreifen wie auf den Karten der Startseite */
.standort .buehne__karte::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  width: 3rem;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--farbe);
}

.standort .buehne__ort {
  margin: 0;
  color: var(--farbe);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.standort .buehne__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- 3. Willkommen ---------- */
.standort .willkommen__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21.5rem;
  gap: 4.5rem;
  align-items: start;
  margin-top: 4.5rem;
}

.standort .willkommen__text {
  max-width: 40rem;
  color: var(--text);
}

.standort .willkommen__titel {
  margin: 0;
  color: var(--farbe);
  font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* goldener Strich, wie die Krone im Logo */
.standort .willkommen__titel::before {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-bottom: 1.1rem;
  border-radius: 2px;
  background: var(--gold);
}

.standort .willkommen__text .willkommen__unterzeile {
  margin: 0.8rem 0 1.6rem;
  color: var(--gold-text);
  font-size: 1.1rem;
  font-weight: 600;
}

.standort .willkommen__text p {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.75;
}

.standort .willkommen__text p + p {
  margin-top: 1em;
}

.standort .willkommen__text .willkommen__gruss {
  margin-top: 2rem;
  color: var(--gold-text);
  font-weight: 600;
}

.standort .willkommen__text .willkommen__unterschrift {
  padding-left: 1rem;
  border-left: 3px solid var(--farbe);
  color: var(--text-leise);
  line-height: 1.6;
}

.standort .willkommen__unterschrift strong {
  color: var(--farbe);
  font-weight: 700;
}

/* ---------- 4. Sprechzeiten-Karte ---------- */
.standort .sprechzeiten {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--schatten);
}

.standort .sprechzeiten::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.5rem;
  right: 1.5rem;
  z-index: 1;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--farbe);
}

.standort .sprechzeiten__haus {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.standort .sprechzeiten__inhalt {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.4rem 1.5rem 1.6rem;
}

.standort .sprechzeiten__titel {
  margin: 0;
  color: var(--farbe);
  font-size: 1.3rem;
  font-weight: 700;
}

.standort .sprechzeiten__titel i {
  margin-right: 0.3rem;
  font-size: 0.9em;
}

.standort .zeiten {
  margin: 0;
}

.standort .zeiten__zeile {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  margin: 0 -0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
}

.standort .zeiten__zeile + .zeiten__zeile {
  margin-top: 0.15rem;
}

.standort .zeiten__zeile dt {
  font-weight: 600;
}

.standort .zeiten__zeile dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.standort .zeiten__zeile.ist-heute {
  background: var(--farbe-hell);
}

.standort .zeiten__zeile.ist-heute dt::after {
  content: "heute";
  display: block;
  width: fit-content;
  margin-top: 0.3rem;
  padding: 0 0.55rem;
  border-radius: 999px;
  background: var(--farbe);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.7;
}

.standort .sprechzeiten__hinweis {
  margin: -0.2rem 0 0;
  color: var(--gold-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.standort .sprechzeiten__info {
  margin: 0;
  padding: 0.95rem 0 0;
  border-top: 1px solid #ebe6f0;
  list-style: none;
}

.standort .sprechzeiten__info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--text);
  font-size: 0.92rem;
  line-height: 1.5;
}

.standort .sprechzeiten__info li + li {
  margin-top: 0.5rem;
}

.standort .sprechzeiten__info i {
  flex: none;
  width: 1rem;
  margin-top: 0.25rem;
  color: var(--farbe);
  text-align: center;
}

.standort .sprechzeiten__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding-top: 0.3rem;
}

.standort .sprechzeiten__aktionen .knopf {
  flex: 1 1 auto;
}

/* Maskottchen: Spruch steht direkt in seiner Ballon-Wolke */
.standort .seitenspalte {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.standort .maskottchen {
  position: relative;
  width: 17rem;
  max-width: 100%;
  margin: 0 auto;
  animation: zw-schweben 5s ease-in-out infinite;
}

.standort .maskottchen__bild {
  display: block;
  width: 100%;
  height: auto;
  transform: scaleX(-1);              /* schaut Richtung Text */
}

/* Innenfläche der Wolke (Bild gespiegelt): ca. 9 % bis 80 % breit, 6 % bis 29 % hoch */
.standort .maskottchen__text {
  position: absolute;
  left: 9%;
  right: 19%;
  top: 13.5%;
  height: 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: var(--farbe);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  transform: rotate(-2deg);
}

/* Variante in Weiß (auf farbigem Grund): SVG ist schon richtig herum */
.standort .maskottchen--weiss .maskottchen__bild {
  transform: none;
  filter: drop-shadow(0 6px 14px rgba(30, 10, 60, 0.35));
}

.standort .maskottchen--weiss .maskottchen__text {
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(30, 10, 60, 0.35);
}

@keyframes zw-schweben {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1.5deg); }
}

/* ---------- 5. Leitsatz über dem Foto ---------- */
.standort .leitsatz {
  margin-top: 6rem;
  padding: 9rem 0;
  background: url("../img/Dino.jpg") center / cover no-repeat fixed;
}

.standort .leitsatz__karte {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 54rem;
  margin: 0 auto;
  padding: 2.2rem 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 1.2rem 4.5rem 1.2rem 4.5rem; /* Form der alten Box, nur weicher */
  background: var(--farbe-glas);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  box-shadow: var(--schatten-hoch);
}

.standort .leitsatz__text {
  margin: 0;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.65;
  text-wrap: pretty;
}

.standort .leitsatz__maskottchen {
  flex: none;
  width: 10rem;
  margin: -0.5rem 0;
}

/* Hereingleiten + Parallax (js/main.js setzt die Klassen und --parallax) */
.standort .leitsatz__karte {
  translate: 0 var(--parallax, 0px);
}

.standort .leitsatz__karte--bereit {
  opacity: 0;
  transform: translateY(48px) scale(0.97);
  transition: opacity 0.9s var(--sanft), transform 1.1s var(--sanft);
}

.standort .leitsatz__karte--sichtbar {
  opacity: 1;
  transform: none;
}

/* ---------- 6. Leistungen ---------- */
.standort .leistungen {
  margin-top: 5.5rem;
}

.standort .leistungen__titel {
  margin: 0;
  color: var(--farbe);
  font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.standort .leistungen__titel::before {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--gold);
}

.standort .leistungen__unterzeile {
  margin: 0.5rem 0 0;
  color: var(--gold-text);
  font-weight: 600;
}

.standort .leistungen__liste {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.standort .leistungen__liste > li {
  display: flex;
}

.standort .leistung {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 26px rgba(40, 20, 70, 0.12);
  color: inherit;
  text-decoration: none;
  transition: transform 0.5s var(--sanft), box-shadow 0.5s var(--sanft);
}

.standort .leistung:hover,
.standort .leistung:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--schatten-hoch);
}

.standort .leistung__bild {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  transition: transform 0.7s var(--sanft);
}

.standort .leistung:hover .leistung__bild {
  transform: scale(1.04);
}

.standort .leistung__text {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.2rem 1.15rem 1.3rem;
  background: #ffffff;
}

.standort .leistung__titel {
  margin: 0 0 0.6rem;
  color: var(--farbe);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  hyphens: manual;
}

.standort .leistung__punkte {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.standort .leistung__punkte li {
  position: relative;
  padding-left: 1rem;
  color: var(--text-leise);
  font-size: 0.92rem;
  line-height: 1.5;
}

.standort .leistung__punkte li + li {
  margin-top: 0.3rem;
}

.standort .leistung__punkte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

.standort .leistung__mehr {
  margin-top: auto;
  color: var(--farbe);
  font-size: 0.9rem;
  font-weight: 600;
}

.standort .leistung__mehr::after {
  content: "";
  display: inline-block;
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.5rem;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.1rem);
  transition: margin-left 0.3s var(--sanft);
}

.standort .leistung:hover .leistung__mehr::after {
  margin-left: 0.8rem;
}

/* ---------- 6b. Teamseite ---------- */
.standort .seiten-titel,
.standort .abschnitt-titel {
  margin: 0;
  color: var(--farbe);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.standort .seiten-titel {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem);
}

.standort .abschnitt-titel {
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
}

.standort .seiten-titel::before,
.standort .abschnitt-titel::before {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--gold);
}

/* Einleitung mit Maskottchen */
.standort .team-intro__raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.standort .team-intro__text p {
  max-width: 44rem;
  margin: 1.25rem 0 0;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.standort .team-intro__maskottchen {
  width: 15rem;
}

/* Ärzte: helles Band in Praxisfarbe, Karten mit Foto */
.standort .aerzte-band {
  margin-top: 4rem;
  padding: 4.5rem 0 5rem;
  background: var(--farbe-hell);
}

.standort .aerzte-liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;            /* ungerade Anzahl: letzte Karte mittig */
  gap: 2.25rem 2rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.standort .arzt {
  flex: 0 0 calc((100% - 2rem) / 2);
  min-width: 0;
  position: relative;
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 1.75rem 2rem 1.75rem 1.75rem;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--schatten);
}

/* Porträt mit versetztem Farbrahmen dahinter */
.standort .arzt__bild {
  position: relative;
  flex: none;
  width: 14.5rem;
}

.standort .arzt__bild::before {
  content: "";
  position: absolute;
  inset: 0.75rem -0.75rem -0.75rem 0.75rem;
  border-radius: 20px;
  background: var(--farbe);
  opacity: 0.18;
}

.standort .arzt__foto {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(40, 20, 70, 0.18);
}

.standort .arzt__text {
  min-width: 0;
}

/* goldener Strich über dem Namen */
.standort .arzt__text::before {
  content: "";
  display: block;
  width: 2.25rem;
  height: 3px;
  margin-bottom: 0.9rem;
  border-radius: 2px;
  background: var(--gold);
}

.standort .arzt__name {
  margin: 0 0 0.9rem;
  color: var(--farbe);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.standort .arzt__punkte,
.standort .person__rollen {
  margin: 0;
  padding: 0;
  list-style: none;
}

.standort .arzt__punkte li {
  position: relative;
  padding-left: 1rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.standort .arzt__punkte li + li {
  margin-top: 0.3rem;
}

.standort .arzt__punkte li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--gold);
}

/* Praxisteam und Labor */
.standort .praxisteam {
  margin-top: 4.5rem;
}

.standort .team-liste {
  --spalten: 4;
  --abstand: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;            /* unvollständige Reihe mittig */
  gap: var(--abstand);
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
}

.standort .person {
  flex: 0 0 calc((100% - (var(--spalten) - 1) * var(--abstand)) / var(--spalten));
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(40, 20, 70, 0.12);
  transition: transform 0.5s var(--sanft), box-shadow 0.5s var(--sanft);
}

/* Farbstreifen oben, wie bei allen Karten */
.standort .person::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: 3rem;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--farbe);
  transform: translateX(-50%);
}

.standort .person:hover {
  transform: translateY(-5px);
  box-shadow: var(--schatten-hoch);
}

.standort .person__foto,
.standort .person__platzhalter {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 18px;
}

.standort .person__platzhalter {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--farbe-hell);
}

.standort .person__platzhalter .maskottchen {
  width: 72%;
}

.standort .person__text {
  flex: 1;
  padding: 1.1rem 0.5rem 0.6rem;
  text-align: center;
}

.standort .person__name {
  margin: 0 0 0.7rem;
  color: var(--farbe);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
}

.standort .person__rollen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
}

.standort .person__rollen li {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--farbe-hell);
  color: var(--farbe-dunkel);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 1100px) {
  .standort .team-liste {
    --spalten: 3;
  }

  .standort .arzt {
    flex-basis: 100%;
  }

  .standort .aerzte-liste {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 760px) {
  .standort .team-intro__raster {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .standort .team-intro__maskottchen {
    order: -1;
    width: 11rem;
  }

  .standort .team-intro__text p {
    font-size: 1rem;
  }

  .standort .aerzte-band {
    margin-top: 3rem;
    padding: 3rem 0 3.5rem;
  }

  .standort .arzt {
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .standort .arzt__bild {
    width: calc(100% - 0.75rem);
  }

  .standort .arzt__foto {
    aspect-ratio: 1;
  }

  .standort .arzt__name {
    font-size: 1.25rem;
  }

  .standort .arzt__punkte li {
    font-size: 0.95rem;
  }

  .standort .praxisteam {
    margin-top: 3rem;
  }

  /* Handy: eine Person pro Zeile, Foto links, Text rechts */
  .standort .team-liste {
    --spalten: 1;
    --abstand: 0.9rem;
  }

  .standort .person {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .standort .person::before {
    left: 1.5rem;
    transform: none;
  }

  .standort .person__foto,
  .standort .person__platzhalter {
    flex: none;
    width: 7.5rem;
  }

  .standort .person__text {
    padding: 0.25rem 0.5rem 0.25rem 0;
    text-align: left;
  }

  .standort .person__rollen {
    justify-content: flex-start;
  }

  .standort .person {
    padding: 0.5rem;
    border-radius: 18px;
  }

  .standort .person__foto,
  .standort .person__platzhalter {
    border-radius: 13px;
  }

  .standort .person__text {
    padding: 0.8rem 0.25rem 0.4rem;
  }

  .standort .person__name {
    font-size: 1.05rem;
  }

  .standort .person__rollen li {
    font-size: 0.76rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .standort .person {
    transition: none;
  }

  .standort .person:hover {
    transform: none;
  }
}

/* ---------- 7. Footer ---------- */
.standort footer {
  margin-top: 4.5rem;
}

.standort .footer-hedline.card-color__gold {
  color: #ffffff;
  letter-spacing: 0.06em;
}

.standort .footer-items .border {
  height: 3px;
  border-radius: 2px;
}

.standort .footer-list,
.standort .footer-list_kelheim {
  padding: 0;
}

.standort .footer-kontakt {
  height: auto;
  min-height: 24px;
  margin: 0.45rem 0;
  line-height: 1.5;
}

.standort .footer-kontakt i {
  width: 1.1rem;
  margin-right: 0.35rem;
  color: var(--gold-hell);
  text-align: center;
}

.standort .footer-list__link,
.standort .footer-kontakt__link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.95rem;
}

.standort .footer-list__link:hover,
.standort .footer-kontakt__link:hover {
  color: var(--gold-hell);
  text-decoration: underline;
}

.standort .footer-list__link[aria-current="page"] {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--gold-hell);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.standort .designer-paragraph {
  font-size: 0.8rem;
}

.standort .designer-link {
  color: #ffffff;
}

.standort .span-designer {
  color: var(--gold-hell);
}

/* untere Leiste: Rechtliches */
.standort .footer-fix {
  position: static;
  background: var(--farbe-dunkel);
}

.standort .footer-fix__wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0.5rem;
  list-style: none;
}

.standort .footer-fix__list + .footer-fix__list {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}

.standort .footer-fix__item {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 1rem;
  border: 0;
  color: #ffffff;
  font-size: 0.95rem;
  text-decoration: none;
}

.standort .footer-fix__item:hover {
  text-decoration: underline;
}

/* ---------- 8. Tablet und Handy ---------- */
@media (max-width: 1100px) {
  .standort .leistungen__liste {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .standort .willkommen__raster {
    gap: 3rem;
  }
}

@media (max-width: 860px) {
  .standort .willkommen__raster {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 3rem;
  }

  .standort .willkommen__text {
    max-width: none;
  }

  .standort .sprechzeiten,
  .standort .seitenspalte {
    max-width: 30rem;
  }

  /* Maskottchen vor die Sprechzeiten-Karte */
  .standort .seitenspalte {
    gap: 1.5rem;
  }

  .standort .seitenspalte .maskottchen {
    order: -1;
    width: 13rem;
  }
}

@media (max-width: 760px) {
  .standort .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .standort .buehne__bild {
    aspect-ratio: 4 / 3;
  }

  /* Karte rutscht unter das Foto und überlappt es leicht */
  .standort .buehne__karte {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -2.5rem 0.75rem 0;
  }

  .standort .buehne__aktionen .knopf {
    flex: 1 1 auto;
  }

  .standort .willkommen__text p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .standort .leitsatz {
    margin-top: 4rem;
    padding: 4rem 0;
    background-attachment: scroll;
  }

  .standort .leitsatz__karte {
    flex-direction: column;
    gap: 1.2rem;
    padding: 1.6rem 1.4rem;
    border-radius: 1rem 3rem 1rem 3rem;
    text-align: center;
  }

  .standort .leitsatz__text {
    font-size: 1.02rem;
  }

  .standort .leitsatz__maskottchen {
    order: -1;
    width: 8.5rem;
    margin: 0 auto -0.25rem;
  }

  .standort .leistungen {
    margin-top: 4rem;
  }

  .standort .footer-fix__wrap {
    flex-wrap: nowrap;
    padding: 0;
  }

  .standort .footer-fix__item {
    padding: 0 0.6rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }
}

/* Handy: Leistungen als kompakte Zeilen, quadratisches Bild links */
@media (max-width: 560px) {
  .standort .leistungen__liste {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
  }

  .standort .leistung {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 18px;
  }

  .standort .leistung__bild {
    flex: none;
    width: 6.25rem;
    height: 6.25rem;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
  }

  .standort .leistung:hover .leistung__bild {
    transform: none;
  }

  .standort .leistung__text {
    padding: 0.15rem 0.25rem 0.15rem 0;
  }

  .standort .leistung__titel {
    margin-bottom: 0.35rem;
    font-size: 1rem;
  }

  .standort .leistung__punkte {
    margin-bottom: 0.5rem;
  }

  .standort .leistung__punkte li {
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .standort .leistung__punkte li + li {
    margin-top: 0.15rem;
  }

  .standort .leistung__mehr {
    font-size: 0.85rem;
  }
}

/* Touch-Geräte: kein festes Hintergrundbild (ruckelt auf iOS) */
@media (hover: none) {
  .standort .leitsatz {
    background-attachment: scroll;
  }
}

/* ---------- 9. Weniger Bewegung ---------- */
@media (prefers-reduced-motion: reduce) {
  .standort .maskottchen {
    animation: none;
  }

  .standort .leitsatz {
    background-attachment: scroll;
  }

  .standort .leistung,
  .standort .leistung__bild,
  .standort .knopf,
  .standort .leistung__mehr::after {
    transition: none;
  }

  .standort .leistung:hover,
  .standort .leistung:focus-visible,
  .standort .leistung:hover .leistung__bild {
    transform: none;
  }
}

/* =====================================================================
   10. Praxisseite: Galerie (Mosaik), Großansicht, Aufruf
   Bilder kommen aus werkzeuge/umbau_praxis.py, Verhalten aus js/galerie.js
   ===================================================================== */
.standort .praxis-unterzeile {
  margin: 0.9rem 0 0;
  color: var(--gold-text) !important;
  font-size: 1.1rem !important;
  font-weight: 600;
}

.standort .galerie-band {
  margin-top: 4.5rem;
  padding: 4.5rem 0 5rem;
  background: var(--farbe-hell);
}

.standort .galerie__kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-bottom: 2.25rem;
}

.standort .galerie__unterzeile {
  margin: 0.6rem 0 0;
  color: var(--text-leise);
  font-size: 1rem;
}

.standort .galerie__rundgang {
  cursor: pointer;
  font-family: inherit;
}

/* Mosaik: Querformat 2 Spalten breit, Hochformat 2 Reihen hoch */
.standort .galerie {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 11.5rem;
  grid-auto-flow: dense;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.standort .galerie__eintrag--quer { grid-column: span 2; grid-row: span 2; }
.standort .galerie__eintrag--hoch { grid-row: span 2; }

.standort .galerie__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--schatten);
  cursor: zoom-in;
  transition: transform 0.45s var(--sanft), box-shadow 0.45s var(--sanft);
}

.standort .galerie__bild {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--sanft);
}

/* leichter Verlauf unten, damit die Bildunterschrift gut lesbar ist */
.standort .galerie__link::after {
  content: "";
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(to top, rgba(30, 15, 50, 0.45), transparent);
  pointer-events: none;
}

.standort .galerie__titel {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 1;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--farbe-dunkel);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 12px rgba(30, 15, 50, 0.18);
}

.standort .galerie__link:hover,
.standort .galerie__link:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--schatten-hoch);
}

.standort .galerie__link:hover .galerie__bild,
.standort .galerie__link:focus-visible .galerie__bild {
  transform: scale(1.06);
}

.standort .galerie__link:focus-visible {
  outline: 3px solid var(--farbe);
  outline-offset: 3px;
}

/* sanftes Einblenden beim Scrollen (js/galerie.js) */
.standort .galerie--animiert .galerie__eintrag {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--sanft), transform 0.8s var(--sanft);
}

.standort .galerie--animiert .galerie__eintrag.ist-sichtbar {
  opacity: 1;
  transform: none;
}

/* Großansicht */
.leuchtkasten {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  overflow: hidden;
}

.leuchtkasten::backdrop {
  background: rgba(22, 12, 38, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.leuchtkasten[open] {
  display: flex;
  align-items: center;
  justify-content: center;
  animation: zw-einblenden 0.3s ease-out;
}

.leuchtkasten__figur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 4.5rem 5.5rem 4rem;
  max-width: 100%;
}

.leuchtkasten__bild {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 64rem);
  max-height: calc(100vh - 11rem);
  min-height: min(26rem, calc(100vh - 11rem));
  object-fit: contain;
  border: 6px solid #ffffff;
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
  transition: opacity 0.25s ease;
}

.leuchtkasten__bild.ist-wechsel {
  opacity: 0;
}

.leuchtkasten__text {
  font-size: 1rem;
  text-align: center;
}

.leuchtkasten__titel {
  font-weight: 700;
}

.leuchtkasten__zahl {
  margin-left: 0.5rem;
  color: #e2d9ee;
}

.leuchtkasten__knopf {
  position: absolute;
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s;
}

.leuchtkasten__knopf:hover {
  background: rgba(255, 255, 255, 0.28);
}

.leuchtkasten__knopf:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.leuchtkasten__zu { top: 1.25rem; right: 1.25rem; }
.leuchtkasten__abspielen { top: 1.25rem; right: 5rem; }
.leuchtkasten__zurueck { left: 1.25rem; top: 50%; translate: 0 -50%; }
.leuchtkasten__weiter { right: 1.25rem; top: 50%; translate: 0 -50%; }

/* Fortschrittsbalken beim Rundgang */
.leuchtkasten__fortschritt {
  position: absolute;
  left: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: var(--gold, #bd9b60);
}

.leuchtkasten__fortschritt.laeuft {
  width: 100%;
  transition: width var(--dauer, 4s) linear;
}

@keyframes zw-einblenden {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Aufruf am Ende */
.standort .praxis-aufruf {
  padding: 4rem 0 5rem;
}

.standort .praxis-aufruf__karte {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem 2.5rem;
  padding: 2.5rem 2.75rem;
  border-radius: 1.2rem 4.5rem 1.2rem 4.5rem;
  background: var(--farbe);
  color: #ffffff;
  box-shadow: var(--schatten-hoch);
  overflow: hidden;
}

.standort .praxis-aufruf__text {
  max-width: 34rem;
}

.standort .praxis-aufruf__titel {
  margin: 0 0 0.6rem;
  color: #ffffff;
  font-size: clamp(1.3rem, 1.05rem + 0.9vw, 1.7rem);
  font-weight: 700;
  line-height: 1.25;
}

.standort .praxis-aufruf__titel::before {
  content: "";
  display: block;
  width: 3rem;
  height: 4px;
  margin-bottom: 1rem;
  border-radius: 2px;
  background: var(--gold-hell);
}

.standort .praxis-aufruf__text p {
  margin: 0;
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.65;
}

.standort .praxis-aufruf__aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.standort .knopf--weiss {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--farbe-dunkel);
}

.standort .knopf--weiss:hover {
  background: var(--farbe-hell);
  border-color: var(--farbe-hell);
}

.standort .knopf--hell {
  border-color: rgba(255, 255, 255, 0.85);
  background: transparent;
  color: #ffffff;
}

.standort .knopf--hell:hover {
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 1000px) {
  .standort .galerie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 12rem;
  }
}

@media (max-width: 760px) {
  .standort .galerie-band {
    margin-top: 3rem;
    padding: 3rem 0 3.5rem;
  }

  .standort .galerie {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 8.5rem;
    gap: 0.65rem;
  }

  .standort .galerie__link {
    border-radius: 14px;
  }

  .standort .galerie__titel {
    left: 0.5rem;
    bottom: 0.5rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }

  .standort .galerie__rundgang {
    width: 100%;
  }

  .leuchtkasten__figur {
    padding: 4.5rem 0.75rem 6rem;
  }

  .leuchtkasten__bild {
    max-height: calc(100vh - 13rem);
    min-height: 0;
    border-width: 4px;
  }

  .leuchtkasten__zurueck,
  .leuchtkasten__weiter {
    top: auto;
    bottom: 1.25rem;
    translate: none;
  }

  .leuchtkasten__zurueck { left: calc(50% - 4rem); }
  .leuchtkasten__weiter { right: calc(50% - 4rem); }

  .standort .praxis-aufruf {
    padding: 3.5rem 0 4rem;
  }

  .standort .praxis-aufruf__karte {
    padding: 2rem 1.5rem;
    border-radius: 1rem 3rem 1rem 3rem;
  }

  .standort .praxis-aufruf__aktionen,
  .standort .praxis-aufruf__aktionen .knopf {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .standort .galerie--animiert .galerie__eintrag,
  .standort .galerie__bild,
  .standort .galerie__link,
  .leuchtkasten__bild,
  .leuchtkasten[open] {
    transition: none !important;
    animation: none !important;
  }

  .standort .galerie--animiert .galerie__eintrag {
    opacity: 1;
    transform: none;
  }
}

/* =====================================================================
   11. Handy-Menü: Knopf „Menü“, Panel von links, Schleier
   Markup: #mySidebar in allen Seiten (statisch: werkzeuge/umbau_menue.py,
   PHP: private/teile/kopf.php), Logik: js/main.js → initNav
   ===================================================================== */
.standort .openbtn {
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.5rem 1.05rem 0.5rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: var(--farbe);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: var(--schatten);
  cursor: pointer;
}

.standort .openbtn:focus-visible {
  outline: 3px solid var(--farbe);
  outline-offset: 3px;
}

.standort .openbtn__striche {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 20px;
}

.standort .openbtn .bar1,
.standort .openbtn .bar2,
.standort .openbtn .bar3 {
  display: block;
  width: 100%;
  height: 2.5px;
  margin: 0;
  border-radius: 2px;
  background: var(--farbe);
  transition: transform 0.3s var(--sanft), opacity 0.2s;
}

.standort .openbtn.ist-offen .bar1 { transform: translateY(6.5px) rotate(45deg); }
.standort .openbtn.ist-offen .bar2 { opacity: 0; }
.standort .openbtn.ist-offen .bar3 { transform: translateY(-6.5px) rotate(-45deg); }

/* Panel */
.standort .sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: min(21rem, 86vw);
  height: 100%;
  height: 100dvh;
  padding: 0 0 1.25rem;
  overflow-x: hidden;
  overflow-y: auto;
  background: #ffffff;
  box-shadow: 0 0 60px rgba(30, 15, 50, 0.3);
  border-radius: 0 26px 26px 0;
  transform: translateX(-105%);
  visibility: hidden;
  transition: transform 0.45s var(--sanft), visibility 0s linear 0.45s;
}

.standort .sidebar.ist-offen {
  transform: none;
  visibility: visible;
  transition: transform 0.45s var(--sanft), visibility 0s;
}

.standort .sidebar__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1rem 1.1rem 1.5rem;
  background: var(--farbe);
}

.standort .sidebar__titel {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
}

.standort .sidebar .closebtn {
  position: static;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
}

.standort .sidebar .closebtn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 2px;
}

.standort .sidebar__liste {
  margin: 0;
  padding: 1rem 0.85rem 0.5rem;
  list-style: none;
}

.standort .sidebar__liste li + li {
  margin-top: 0.2rem;
}

.standort .sidebar .sidebar__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 48px;
  padding: 0.6rem 0.8rem;
  border-radius: 14px;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.standort .sidebar .sidebar__link i {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 11px;
  background: var(--farbe-hell);
  color: var(--farbe);
  font-size: 0.95rem;
}

.standort .sidebar .sidebar__link:hover {
  background: var(--farbe-hell);
  color: var(--farbe-dunkel);
}

.standort .sidebar .sidebar__link:focus-visible {
  outline: 3px solid var(--farbe);
  outline-offset: -3px;
}

.standort .sidebar .sidebar__link[aria-current="page"] {
  background: var(--farbe);
  color: #ffffff;
}

.standort .sidebar .sidebar__link[aria-current="page"] i {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.standort .sidebar__aktionen {
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
  padding: 1rem 1.25rem 0;
  border-top: 1px solid #ece6f2;
}

.standort .sidebar .sidebar__aktionen .knopf {
  width: 100%;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
}

.standort .sidebar .sidebar__aktionen .knopf--voll { color: #ffffff; }
.standort .sidebar .sidebar__aktionen .knopf--rand { color: var(--farbe); }

.standort .sidebar__fuss {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin: 0.9rem 0 0;
}

.standort .sidebar .sidebar__fuss a {
  display: inline-block;
  padding: 0.6rem 0.25rem;
  color: var(--text-leise);
  font-size: 0.85rem;
  text-decoration: underline;
}

/* Schleier hinter dem Panel */
.menue-schleier {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(25, 12, 45, 0.45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s, visibility 0s linear 0.35s;
}

.menue-schleier.ist-offen {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s, visibility 0s;
}

/* Seite dahinter nicht mitscrollen; schwebende Knöpfe ausblenden */
html.menue-offen,
html.menue-offen body {
  overflow: hidden;
}

html.menue-offen .phone__btn,
html.menue-offen .wa__btn_popup,
html.menue-offen .wa__popup_chat_box {
  visibility: hidden;
}

@media (max-width: 769px) {
  .standort .openbtn {
    display: inline-flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .standort .sidebar,
  .standort .sidebar.ist-offen,
  .menue-schleier,
  .standort .openbtn .bar1,
  .standort .openbtn .bar2,
  .standort .openbtn .bar3 {
    transition: none !important;
  }
}

/* Kopfbereich Handy: Logo oben, darunter Standort-Schalter + Menü-Knopf in einer Zeile */
@media (max-width: 769px) {
  .standort .head .container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.9rem 0.6rem;
  }

  .standort .head .container > a {
    grid-column: 1 / -1;
  }

  .standort .head .openbtn {
    align-self: stretch;
    margin: 0;
    padding: 0 1rem;
  }

  .standort .standortwahl__link {
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }

  /* leere Desktop-Navigation nimmt auf dem Handy keinen Platz weg */
  .standort .flex-navcontainer {
    margin: 0;
  }
}

@media (max-width: 380px) {
  .standort .openbtn__text {
    display: none;
  }

  .standort .head .openbtn {
    padding: 0 0.85rem;
  }
}

/* =====================================================================
   12. Schwebende Knöpfe: Telefon + WhatsApp
   Modern, einheitlich; blenden sich aus, sobald der Footer sichtbar ist
   (js/main.js → initSchwebeKnoepfe), damit sie keine Links verdecken.
   ===================================================================== */
.standort .phone__btn,
.standort .wa__btn_popup {
  right: 1.25rem;
  transition: opacity 0.3s, transform 0.35s var(--sanft), visibility 0s;
}

.standort .phone__btn {
  bottom: calc(1.25rem + 56px + 0.75rem);
  width: 56px;
  height: 56px;
  background: var(--farbe);
  border: 3px solid #ffffff;
  font-size: 1.2rem;
  box-shadow: 0 10px 24px rgba(30, 15, 50, 0.28);
}

.standort .phone__btn:hover {
  transform: translateY(-2px) scale(1.05);
  background: var(--farbe-dunkel);
}

.standort .phone__btn:focus-visible,
.standort .wa__btn_popup:focus-visible {
  outline: 3px solid var(--farbe);
  outline-offset: 3px;
  border-radius: 50%;
}

.standort .wa__btn_popup {
  bottom: 1.25rem;
  font-family: inherit;
}

/* alter weißer Ring und Dauer-Pulsieren raus */
.standort .wa__btn_popup .bur-space-brdr,
.standort .wa__btn_popup .pulsar-1,
.standort .wa__btn_popup .pulsar-2,
.standort .wa__btn_popup .pulsar-3 {
  display: none;
}

.standort .wa__btn_popup .wa__btn_popup_icon {
  position: relative;
  width: 56px;
  height: 56px;
  border: 3px solid #ffffff;
  background: #25d366;
  box-shadow: 0 10px 24px rgba(30, 15, 50, 0.28);
  transition: transform 0.3s var(--sanft);
  animation: zw-wa-puls 6s ease-out 3s infinite;
}

.standort .wa__btn_popup:hover .wa__btn_popup_icon {
  transform: translateY(-2px) scale(1.05);
}

/* WhatsApp-Logo aus der Symbolschrift, weiß */
.standort .wa__btn_popup .wa__btn_popup_icon::before {
  content: "\f232";
  display: grid;
  place-items: center;
  background: none;
  color: #ffffff;
  font-family: "Font Awesome 5 Brands";
  font-size: 1.75rem;
  font-weight: 400;
}

/* Hinweis nur beim Drüberfahren / Fokus (Computer) */
.standort .wa__btn_popup .wa__btn_popup_txt {
  top: 50%;
  width: auto;
  margin-right: 0.75rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: var(--schatten);
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
}

.standort .wa__btn_popup .wa__btn_popup_txt strong {
  display: block;
  color: var(--farbe);
}

.standort .wa__btn_popup:hover .wa__btn_popup_txt,
.standort .wa__btn_popup:focus-visible .wa__btn_popup_txt {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.standort .wa__btn_popup.wa__active .wa__btn_popup_txt {
  opacity: 0;
  visibility: hidden;
}

.standort .wa__popup_chat_box {
  right: 1.25rem;
  bottom: calc(1.25rem + 56px + 0.75rem);
  border-radius: 18px;
  box-shadow: var(--schatten-hoch);
}

/* sanftes Pulsieren alle paar Sekunden */
@keyframes zw-wa-puls {
  0%   { box-shadow: 0 10px 24px rgba(30, 15, 50, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.55); }
  12%  { box-shadow: 0 10px 24px rgba(30, 15, 50, 0.28), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 24px rgba(30, 15, 50, 0.28), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Footer sichtbar: Knöpfe ausblenden, damit nichts verdeckt wird */
html.footer-sichtbar .standort .phone__btn,
html.footer-sichtbar .standort .wa__btn_popup,
html.footer-sichtbar body.standort .phone__btn,
html.footer-sichtbar body.standort .wa__btn_popup {
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.35s var(--sanft), visibility 0s linear 0.35s;
}

@media (max-width: 769px) {
  .standort .phone__btn,
  .standort .wa__btn_popup,
  .standort .wa__popup_chat_box {
    right: 1rem;
  }

  .standort .phone__btn,
  .standort .wa__btn_popup .wa__btn_popup_icon {
    width: 52px;
    height: 52px;
  }

  .standort .wa__btn_popup {
    bottom: 1rem;
  }

  .standort .phone__btn {
    bottom: calc(1rem + 52px + 0.65rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .standort .wa__btn_popup .wa__btn_popup_icon {
    animation: none;
  }
}
