.elementor-6274 .elementor-element.elementor-element-db49b88{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-6274 .elementor-element.elementor-element-db49b88.e-con{--align-self:flex-start;--flex-grow:0;--flex-shrink:0;}@media(min-width:768px){.elementor-6274 .elementor-element.elementor-element-db49b88{--width:106.654%;}}/* Start custom CSS for html, class: .elementor-element-9ec191b *//* =============================================================================
   PHYSIOPARK MG · STANDORTE (/standorte) — Seiten-CSS
   Datei:   ppw-standorte.css   Version: 0.1.2
   System:  gebrückt auf ppw-base.css (globale --ppw-* Tokens, Hardcode-
            Fallbacks eingebaut). Scope: .locations-page, Modale global.

   CHANGELOG (neueste zuerst · historische Einträge NIE umschreiben)
   --------------------------------------------------------------------------
   0.1.2 · 2026-07-19
     - BUGFIX Google Maps: Iframe zeigte nur ca. 150 px Karte, Rest der
       Karte blieb leer. Ursache: iframe height:100% hing an einer
       Prozent-Kette ohne definierte Elternhöhe (Flex + min-height),
       Browser fällt dann auf die iframe-Standardhöhe 150px zurück.
       Fix: .map-frame bekommt feste Höhen (400 / 280 / 320 px je nach
       Breakpoint), die is-expanded-/min-height-Sonderregeln entfallen.
       HTML unverändert, .is-expanded im JS bleibt harmlos bestehen.
   0.1.1 · 2026-07-19
     - .member-more auf Touch-Geräten (hover: none) und bei Reduced Motion
       von opacity 0.6 auf 1 gesetzt. Grund: 0,6 ergab rechnerisch nur
       ca. 3,2:1 Kontrast auf Weiß → Lighthouse-Kontrastfehler
       (Barrierefreiheit 94 -> 93). Mit 1,0 wieder ca. 7:1.
   0.1.0 · 2026-07-19
     - Erste versionierte Ablage im Workspace. Ausgangslage: gelieferte,
       unversionierte Vorlage.
     TECHNIK:
     - Tokens wertetreu auf --ppw-* gebrückt (Fallback = bisheriger Wert).
     - Manrope-Referenzen entfernt (lud real nie), var(--ppw-font, System).
     - content-visibility: auto auf .location-box und .cta-box-bottom.
     - Maps: data-src (HTML), Reveal ohne Scroll-Listener (HTML).
     DESIGN (von GF freigegeben, sichtbare Änderung):
     - Team-Karten neu: weiß statt surface-soft, weicher Ruhe-Schatten,
       Petrol-Akzent wächst oben bei Hover/Fokus, Foto-Ring färbt sich und
       zoomt leicht, „Profil ansehen"-Affordance (.member-more). Linke
       Akzentleiste an den Karten entfernt (wirkte zentriert deplatziert).
     - Profil-Modal neu: Petrol-Kopfband, Foto überlappt halb, weißer
       Foto-Rand, Textkörper linksbündig, Backdrop-Blur, Schließen-Button
       weiß auf dem Band. Avatar-Platzhalter (#profileModalAvatar) jetzt
       im CSS statt Inline-Styles im JS.
     - Grid-System (--cols), Kartenmaße, Maps, Kontakt-Cards, Öffnungs-
       zeiten, Responsive-Struktur unverändert.

   ARBEITSREGELN (wie üblich)
     - Farben/Radien/Schatten über Tokens statt Hardcodes.
     - Klassennamen NICHT umbenennen (JS-Hooks).
     - Jede Änderung: Version hochziehen + hier loggen.
   ============================================================================= */

.locations-page *,
.locations-page *::before,
.locations-page *::after {
  box-sizing: border-box;
}

.locations-page {
  /* Gebrückt auf ppw-base.css, Fallback = bisheriger Wert (wertetreu) */
  --font-family: var(--ppw-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);

  --bg: var(--ppw-surface-alt, #eef4f5);
  --surface: var(--ppw-surface, #ffffff);
  --surface-soft: var(--ppw-bg-alt, #f6fafa);
  --surface-tint: #f1f7f7;                 /* lokal */

  --text: #0e2329;                         /* lokal */
  --muted: #3a5258;                        /* lokal */
  --muted-soft: #5a737a;                   /* lokal */

  --primary: var(--ppw-brand, #0f5c63);
  --primary-deep: var(--ppw-brand-deep, #0a464c);
  --primary-hover: var(--ppw-brand-hover, #0b494f);
  --primary-soft: var(--ppw-brand-soft, #e3eff0);

  --border: var(--ppw-border, #d4e1e3);
  --border-soft: #e5edee;                  /* lokal */

  --shadow-sm: var(--ppw-shadow-sm, 0 4px 12px rgba(7, 24, 28, 0.06));
  --shadow: var(--ppw-shadow-md, 0 14px 32px rgba(7, 24, 28, 0.10));
  --shadow-hover: 0 18px 34px rgba(7, 24, 28, 0.13);

  --radius: 16px;
  --radius-card: 14px;
  --ui-radius-pill: 12px;

  --heading-main: var(--ppw-heading, #0c2731);
  --heading-sub: #123c46;                  /* lokal */

  font-family: var(--font-family);
  color: var(--text);
  padding: 28px 14px 44px;
  background:
    radial-gradient(1100px 480px at 4% 0%, rgba(15, 92, 99, 0.10), transparent 72%),
    radial-gradient(820px 360px at 100% 8%, rgba(15, 92, 99, 0.06), transparent 72%),
    linear-gradient(180deg, #f9fcfc 0%, var(--bg) 100%);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@media (hover: hover) and (pointer: fine) {
  html { scroll-behavior: smooth; }
}

.locations-page img { max-width: 100%; }

.locations-page .locations-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 10px;
}

.locations-page #waldhausen,
.locations-page #bettrath {
  scroll-margin-top: 110px;
}

/* ============================================================
   PANELS
   ============================================================ */
.locations-page .lp-panel,
.locations-page .location-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
}

.locations-page .lp-panel { padding: 36px 24px 32px; }

.locations-page .location-box {
  padding: 30px 24px;
  margin-bottom: 28px;
  text-align: center;
}

/* Boxen unterhalb des sichtbaren Bereichs erst bei Annäherung rendern */
.locations-page .location-box,
.locations-page .cta-box-bottom {
  content-visibility: auto;
  contain-intrinsic-size: auto 1200px;
}

.locations-page .mt-10 { margin-top: 28px; }

/* ============================================================
   HERO
   ============================================================ */
.locations-page .lp-hero {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locations-page .lp-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 2.4vw + 1rem, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 850;
  color: var(--heading-main);
}

.locations-page .lp-hero p {
  margin: 0 auto;
  max-width: 920px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.1rem;
  font-weight: 500;
}

.locations-page .lp-hero p strong {
  color: var(--heading-sub);
  font-weight: 700;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.locations-page .hero-cta-row {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
  width: 100%;
  max-width: 900px;
}

.locations-page .hero-cta-row.lp-actions-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1040px;
}

.locations-page a.cta-button,
.locations-page button.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 18px;
  border-radius: var(--ui-radius-pill);
  border: 1px solid transparent;
  text-decoration: none !important;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.005em;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--primary), #2f7880);
  box-shadow: 0 10px 22px rgba(15, 91, 99, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
}

.locations-page a.cta-button:hover,
.locations-page button.cta-button:hover,
.locations-page a.cta-button:focus-visible,
.locations-page button.cta-button:focus-visible {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--primary-hover), #256b72);
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(15, 91, 99, 0.28);
}

.locations-page a.cta-button--ghost,
.locations-page button.cta-button--ghost {
  background: #ffffff;
  color: #103a43 !important;
  border: 1px solid #98bcc1;
  box-shadow: var(--shadow-sm);
}

.locations-page a.cta-button--ghost:hover,
.locations-page button.cta-button--ghost:hover,
.locations-page a.cta-button--ghost:focus-visible,
.locations-page button.cta-button--ghost:focus-visible {
  background: var(--primary-soft);
  color: #0b3038 !important;
  border-color: var(--primary);
  box-shadow: 0 10px 22px rgba(15, 91, 99, 0.14);
}

.locations-page a.cta-button:focus-visible,
.locations-page button.cta-button:focus-visible,
.locations-page .team-member:focus-visible,
.locations-page .team-photo:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.locations-page .cta-button.btn-small {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 10px;
}

/* Pulse */
.locations-page .pulsing { animation: ppPulse 2.2s infinite; }
@keyframes ppPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.035); }
}

/* ============================================================
   CALL DROPDOWN
   ============================================================ */
.locations-page .call-dropdown-wrapper {
  position: relative;
  width: 100%;
}

.locations-page .dropdown-arrow {
  display: inline-block;
  margin-left: 8px;
  font-size: 0.8em;
  transition: transform 0.25s ease;
}

.locations-page #call-toggle-btn.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.locations-page .call-dropdown {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.locations-page .call-dropdown[hidden] { display: none !important; }

.locations-page .call-dropdown a {
  display: block;
  padding: 12px;
  background: var(--primary-soft);
  border-radius: 10px;
  text-align: center;
  font-weight: 700;
  color: var(--primary) !important;
  text-decoration: none !important;
  border: 1px solid #c0d9db;
  font-size: 0.95rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.locations-page .call-dropdown a:hover {
  background: #d4ecee;
  transform: translateY(-1px);
}

/* ============================================================
   SECTION HEADS
   ============================================================ */
.locations-page .lp-section-head {
  margin: 0 auto 28px;
  max-width: 900px;
  text-align: center;
}

.locations-page .location-box > .lp-section-head:first-of-type {
  margin-top: 2px;
}

.locations-page .location-box > .lp-section-head:not(:first-of-type) {
  margin-top: 42px;
}

.locations-page .lp-section-head h2,
.locations-page .cta-box-bottom h2 {
  margin: 0 0 12px;
  font-size: clamp(1.55rem, 1.4vw + 1rem, 2.1rem);
  line-height: 1.18;
  font-weight: 840;
  color: var(--heading-main);
  letter-spacing: -0.015em;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.locations-page .lp-section-head h2::after,
.locations-page .cta-box-bottom h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: 200px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--primary) 20%, var(--primary) 80%, transparent);
}

/* ============================================================
   STANDORT-META: KARTE + KONTAKT
   ============================================================ */
.locations-page .location-meta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 14px;
  text-align: left;
  align-items: start;
}

.locations-page .location-card {
  position: relative;
  background: var(--surface-soft);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.locations-page .location-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  bottom: 22px;
  width: 3px;
  border-radius: 999px;
  background: var(--primary);
  opacity: 0.7;
}

/* Map-Card */
.locations-page .location-card--map {
  display: flex;
  flex-direction: column;
}

.locations-page .map-placeholder {
  width: 100%;
  background:
    linear-gradient(135deg, rgba(15, 92, 99, 0.08), rgba(255, 255, 255, 0.92)),
    #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-align: center;
  padding: 22px 18px;
  border: 1px dashed #bdd2d5;
  gap: 8px;
}

.locations-page .map-placeholder p {
  margin: 0;
  font-size: 1rem;
  color: var(--heading-sub);
  font-weight: 800;
}

.locations-page .map-address-fallback {
  font-size: 0.94rem !important;
  color: var(--muted) !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}

.locations-page .map-placeholder small {
  font-size: 0.84rem;
  color: var(--muted-soft);
  line-height: 1.45;
}

.locations-page .map-placeholder .cta-button {
  width: auto;
  min-width: 200px;
}

.locations-page .map-placeholder[hidden] { display: none !important; }

.locations-page .map-container[hidden] { display: none !important; }

.locations-page .map-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.locations-page .map-frame {
  /* Feste Höhe statt Prozent-Kette (Fix 0.1.2): iframe height:100%
     braucht eine definierte Elternhöhe, sonst fällt das iframe auf
     die HTML-Standardhöhe 150px zurück und die Karte bleibt halb leer. */
  height: 400px;
}

.locations-page .map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
  display: block;
}

.locations-page .map-address {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 700;
}

@media (min-width: 761px) {
  .locations-page .location-meta-grid { align-items: stretch; }
  /* Die früheren is-expanded-/min-height-Regeln sind mit 0.1.2 entfallen,
     die Map-Höhe kommt jetzt fest aus .map-frame. */
}

/* ============================================================
   KONTAKT-CARD
   ============================================================ */
.locations-page .contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.locations-page .contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.locations-page .contact-info li {
  display: grid;
  grid-template-columns: 22px 70px 1fr;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 600;
}

.locations-page .contact-info svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

.locations-page .contact-info .ci-label {
  color: var(--muted-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.locations-page .contact-info a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  word-break: break-word;
}

.locations-page .contact-info a:hover,
.locations-page .contact-info a:focus-visible {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Info-Box */
.locations-page .info-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: #ecf7f1;
  border: 1px solid #c8e7d6;
  color: #1e4b35;
  font-size: 0.94rem;
  font-weight: 800;
}

.locations-page .info-box p {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.locations-page .info-box p:first-child { margin-top: 0; }
.locations-page .info-box p:last-child  { margin-bottom: 0; }

.locations-page .info-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #2e7a55;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  flex: 0 0 auto;
}

/* Öffnungszeiten */
.locations-page .hours-box {
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: 14px;
}

.locations-page .hours-box p {
  margin: 5px 0;
  font-size: 0.93rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.locations-page .hours-box .hours-title {
  display: block;
  color: var(--heading-sub);
  font-weight: 800;
  padding-bottom: 8px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border-soft);
}

.locations-page .hours-box .hours-note {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted-soft);
}

.locations-page .hours-box .cta-button {
  margin-top: 10px;
  width: auto;
}

/* ============================================================
   TEAM-GRID — symmetrisch, Spaltenzahl pro Sektion gesteuert
   Modifier am .team-grid: --2 / --3 / --4 (Desktop).
   ============================================================ */
.locations-page .team-grid {
  --cols: 4;
  --grid-gap: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap);
  margin-top: 10px;
  text-align: left;
  justify-content: center;
  align-items: stretch;
  max-width: calc(var(--cols) * 230px + (var(--cols) - 1) * var(--grid-gap));
  margin-left: auto;
  margin-right: auto;
}

.locations-page .team-grid--center { justify-content: center; }
.locations-page .team-grid--2 { --cols: 2; }
.locations-page .team-grid--3 { --cols: 3; }
.locations-page .team-grid--4 { --cols: 4; }

/* ============================================================
   TEAM-KARTEN (redesigned 0.1.0)
   Weiße Karte, weicher Ruhe-Schatten, Petrol-Akzent wächst oben
   bei Hover/Fokus, Foto-Ring reagiert, „Profil ansehen"-Affordance.
   ============================================================ */
.locations-page .team-member {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-card);
  padding: 24px 16px 18px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 2px 6px rgba(7, 24, 28, 0.05);
  overflow: hidden;
  flex: 0 1 calc((100% - (var(--cols) - 1) * var(--grid-gap)) / var(--cols));
  max-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Petrol-Akzent oben, wächst von der Mitte bei Hover/Fokus */
.locations-page .team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: linear-gradient(90deg, var(--primary), #2f7880);
  transition: width 0.3s ease;
}

.locations-page .team-member:hover::before,
.locations-page .team-member:focus-visible::before {
  width: 62%;
}

.locations-page .team-member:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(15, 92, 99, 0.14);
  border-color: var(--border);
}

.locations-page .team-member img {
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
  border: 3px solid var(--primary-soft);
  box-shadow: 0 8px 18px rgba(7, 24, 28, 0.12);
  margin-bottom: 12px;
  background: #ffffff;
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.locations-page .team-member:hover img,
.locations-page .team-member:focus-visible img {
  border-color: var(--primary);
  transform: scale(1.045);
  box-shadow: 0 10px 22px rgba(15, 92, 99, 0.20);
}

.locations-page .member-info strong {
  display: block;
  margin: 0 0 5px;
  color: var(--heading-sub);
  font-size: 1.05rem;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.locations-page .team-member p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.45;
  font-weight: 600;
}

/* „Profil ansehen"-Affordance: signalisiert, dass die Karte klickbar ist */
.locations-page .member-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.locations-page .member-more::after {
  content: "→";
  margin-left: 5px;
}

.locations-page .team-member:hover .member-more,
.locations-page .team-member:focus-visible .member-more {
  opacity: 1;
  transform: translateY(0);
}

/* Touch-Geräte ohne Hover: Hinweis dauerhaft zeigen (volle Deckkraft,
   sonst Kontrast unter 4,5:1 → Lighthouse-Kontrastfehler) */
@media (hover: none) {
  .locations-page .member-more {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PRAXISHUND-CARDS (Blake, Loki, ...)
   ============================================================ */
.locations-page .team-member--blake img {
  object-position: center;
  border-color: #cfe1e3;
}

.locations-page .team-member--blake .paw {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.95em;
  vertical-align: -1px;
  transition: transform 0.4s ease;
}

.locations-page .team-member--blake:hover .paw {
  transform: rotate(-12deg) scale(1.15);
}

/* ============================================================
   PLATZHALTER-AVATAR (für Mitarbeiter ohne Foto)
   ============================================================ */
.locations-page .team-member img[data-placeholder="true"],
.locations-page .team-member img[src=""],
.locations-page .team-member img:not([src]) {
  background: linear-gradient(135deg, var(--primary-soft), #d4ecee);
  position: relative;
}

.locations-page .team-member:has(img[data-placeholder="true"]) {
  position: relative;
}

.locations-page .team-member:has(img[data-placeholder="true"]) img {
  visibility: hidden;
}

.locations-page .team-member:has(img[data-placeholder="true"])::after {
  content: attr(data-initials);
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #2f7880);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 3px solid var(--primary-soft);
  box-shadow: 0 8px 18px rgba(7, 24, 28, 0.18);
  pointer-events: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.locations-page .team-member:has(img[data-placeholder="true"]):hover::after {
  transform: translateX(-50%) scale(1.045);
  box-shadow: 0 10px 22px rgba(15, 92, 99, 0.24);
}

@media (max-width: 760px) {
  .locations-page .team-member:has(img[data-placeholder="true"])::after {
    width: 98px;
    height: 98px;
    font-size: 2rem;
    top: 18px;
  }
}

/* ============================================================
   TEAMFOTO (FIBO 2026)
   ============================================================ */
.locations-page .team-photo-section {
  text-align: center;
  margin: 8px 0 4px;
}

.locations-page .team-photo {
  width: min(900px, 100%);
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: block;
  margin: 0 auto;
  cursor: pointer;
}

.locations-page .team-photo--wide {
  width: min(1100px, 100%);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.locations-page .team-photo:hover {
  transform: translateY(-2px) scale(1.005);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   BOTTOM CTA
   ============================================================ */
.locations-page .cta-box-bottom {
  margin: 36px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.locations-page .cta-box-bottom h2 { margin: 0 0 12px; }

.locations-page .cta-box-bottom p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
  font-weight: 500;
  max-width: 760px;
}

/* ============================================================
   REVEAL + SICHERHEITSNETZ
   ============================================================ */
.locations-page .pp-reveal {
  opacity: 0;
  transform: translateY(18px);
}

.locations-page .pp-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--pp-delay, 0ms);
}

/* Erzwungene Einblendung (Failsafe) */
.locations-page .pp-reveal.pp-shown {
  opacity: 1 !important;
  transform: none !important;
  transition: opacity 0.4s ease !important;
  transition-delay: 0ms !important;
}

/* ============================================================
   MODALS (redesigned 0.1.0: Kopfband, Blur, Fokus-Führung)
   ============================================================ */
.modal,
.photo-modal {
  position: fixed;
  z-index: 99999;
  inset: 0;
  background-color: rgba(8, 21, 26, 0.60);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  font-family: var(--ppw-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif);
}

.modal[hidden],
.photo-modal[hidden] { display: none !important; }

@keyframes ppModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content {
  background:
    linear-gradient(135deg, var(--ppw-brand, #0f5c63), #2f7880) top / 100% 84px no-repeat,
    #ffffff;
  margin: 0 auto;
  padding: 42px 24px 26px;
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  border-radius: 18px;
  position: relative;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
  animation: ppModalIn 0.3s ease;
  text-align: center;
  overflow-y: auto;
  border: 1px solid var(--ppw-border, #d4e1e3);
}

.modal-content img {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: cover;
  object-position: center;
  border-radius: 999px;
  margin: 0 auto 14px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 24px rgba(7, 24, 28, 0.22);
}

/* Avatar-Platzhalter im Modal (wird per JS eingefügt) */
#profileModalAvatar {
  width: 112px;
  height: 112px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ppw-brand, #0f5c63), #2f7880);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0 auto 14px;
  border: 4px solid #ffffff;
  box-shadow: 0 10px 24px rgba(7, 24, 28, 0.22);
}

.modal-content h2 {
  margin: 2px 0 12px;
  font-size: clamp(1.3rem, 1vw + 1rem, 1.7rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 850;
  color: #0c2731;
}

/* Textkörper linksbündig, wirkt bei längeren Profiltexten ruhiger */
#profileModalBody {
  text-align: left;
}

#profileModalBody p {
  margin: 8px 0;
  color: #3a5258;
  line-height: 1.65;
  font-weight: 500;
  font-size: 0.98rem;
}

#profileModalBody p strong {
  color: #123c46;
}

.modal-content a {
  color: var(--ppw-brand, #0f5c63);
  font-weight: 800;
}

.modal-buttons {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.modal-buttons .cta-button {
  width: auto;
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.9rem;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none !important;
  background: #ffffff;
  color: #103a43 !important;
  border: 1px solid #98bcc1;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.modal-buttons .cta-button:hover {
  background: var(--ppw-brand-soft, #e3eff0);
  border-color: var(--ppw-brand, #0f5c63);
  transform: translateY(-1px);
}

/* Schließen sitzt auf dem Petrol-Band → weiß */
.close-modal {
  color: rgba(255, 255, 255, 0.85);
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
  padding: 4px 8px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.close-modal:hover,
.close-modal:focus-visible {
  color: #ffffff;
  transform: scale(1.1);
  outline: none;
}

.photo-modal-content {
  display: block;
  margin: 4% auto;
  width: 92%;
  max-width: 1200px;
  border-radius: 16px;
  animation: ppModalIn 0.3s ease;
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.30);
}

.close-photo-modal {
  color: #ffffff;
  position: absolute;
  top: 14px;
  right: 20px;
  font-size: 40px;
  font-weight: 800;
  cursor: pointer;
  z-index: 100000;
  background: none;
  border: none;
  padding: 4px 12px;
}

.close-photo-modal:hover,
.close-photo-modal:focus-visible {
  color: #dce7e9;
  outline: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .locations-page .hero-cta-row.lp-actions-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .locations-page .location-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .locations-page .hero-cta-row,
  .locations-page .hero-cta-row.lp-actions-4 {
    grid-template-columns: 1fr;
  }
}

/* Tablet: 2 Karten pro Reihe */
@media (max-width: 1080px) and (min-width: 761px) {
  .locations-page .team-grid {
    --cols: 2;
    --grid-gap: 14px;
  }
}

@media (max-width: 760px) {
  .locations-page { padding: 22px 12px 36px; }
  .locations-page .locations-container { padding: 0; }

  .locations-page .lp-panel,
  .locations-page .location-box {
    padding: 24px 18px;
  }

  .locations-page .location-box { margin-bottom: 22px; }
  .locations-page .mt-10 { margin-top: 24px; }

  .locations-page .lp-hero h1 { font-size: 1.85rem; }
  .locations-page .lp-section-head h2,
  .locations-page .cta-box-bottom h2 { font-size: 1.55rem; }

  .locations-page .lp-hero p,
  .locations-page .cta-box-bottom p { font-size: 1.08rem; }

  .locations-page .team-grid {
    --cols: 2;
    --grid-gap: 12px;
  }

  .locations-page .team-member { padding: 18px 12px 16px; }
  .locations-page .team-member img {
    width: 98px;
    height: 98px;
  }

  .locations-page .member-info strong { font-size: 1rem; }
  .locations-page .team-member p { font-size: 0.9rem; }

  .locations-page .location-card { padding: 16px; }

  .locations-page .map-placeholder .cta-button,
  .locations-page .hours-box .cta-button {
    width: 100%;
    min-width: 0;
  }

  .locations-page .contact-info li {
    grid-template-columns: 22px 1fr;
    grid-template-rows: auto auto;
    row-gap: 2px;
  }
  .locations-page .contact-info .ci-label {
    grid-column: 2;
    grid-row: 1;
  }
  .locations-page .contact-info a,
  .locations-page .contact-info li > span:not(.ci-label) {
    grid-column: 2;
    grid-row: 2;
  }
  .locations-page .contact-info svg {
    grid-row: 1 / span 2;
  }

  .locations-page .map-frame { height: 280px; }
}

/* Querformat-Handy / kleines Tablet (600-760px): 3 Karten pro Reihe */
@media (max-width: 760px) and (min-width: 600px) {
  .locations-page .team-grid {
    --cols: 3;
    --grid-gap: 12px;
  }
}

/* Kleine Handys: 2 kompakte Karten pro Reihe */
@media (max-width: 520px) {
  .locations-page { padding: 18px 8px 30px; }

  .locations-page .lp-panel,
  .locations-page .location-box {
    padding: 22px 14px;
  }

  .locations-page .team-grid {
    --cols: 2;
    --grid-gap: 10px;
  }
  .locations-page .team-member { padding: 16px 10px 14px; }
  .locations-page .team-member img {
    width: 88px;
    height: 88px;
    margin-bottom: 10px;
  }
  .locations-page .member-info strong { font-size: 0.95rem; }
  .locations-page .team-member p { font-size: 0.86rem; }

  .locations-page .map-frame { height: 320px; }

  .locations-page .contact-info li,
  .locations-page .info-box,
  .locations-page .info-box p,
  .locations-page .hours-box p,
  .locations-page .map-address,
  .locations-page .map-address-fallback,
  .locations-page .map-placeholder small,
  #profileModalBody p {
    font-size: 1rem;
  }

  .modal-content { padding: 42px 16px 22px; }

  /* Platzhalterkreise an kleine Bildgrößen angleichen */
  .locations-page .team-member:has(img[data-placeholder="true"])::after {
    width: 88px; height: 88px; font-size: 1.8rem; top: 16px;
  }
}

/* Sehr kleine Handys: 1 Karte pro Reihe */
@media (max-width: 379px) {
  .locations-page .team-grid { --cols: 1; }
  .locations-page .team-member img {
    width: 108px;
    height: 108px;
  }
  .locations-page .team-member p { font-size: 1rem; }

  .locations-page .team-member:has(img[data-placeholder="true"])::after {
    width: 108px; height: 108px; font-size: 2.2rem; top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .locations-page .cta-button,
  .locations-page .team-member,
  .locations-page .team-member img,
  .locations-page .member-more,
  .locations-page .team-photo,
  .locations-page .pulsing,
  .locations-page .pp-reveal,
  .locations-page .pp-reveal.is-visible,
  .locations-page .pp-reveal.pp-shown,
  .modal-content,
  .photo-modal-content,
  .locations-page .team-member--blake .paw {
    transition: none !important;
    animation: none !important;
    transform: none !important;
    opacity: 1 !important;
  }

  /* Akzent und Hinweis bei Reduced Motion dauerhaft zeigen */
  .locations-page .team-member::before { width: 62%; }
  .locations-page .member-more { opacity: 1; }
}/* End custom CSS */