/* 2xGether Startseite v41 (11.11.2026): Menschenfoto im Hero, Screenshot-Karussell,
   Partner-Karte. Ergaenzt redesign.css. CSP: keine Inline-Styles, alles hier. */

/* ---------- Hero: Foto-Karte statt Telefon ---------- */
.hp-card { position: relative; margin: 0; width: 400px; max-width: 86%; border-radius: 32px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 60px rgba(0, 0, 0, .45); background: var(--solid); }
.hp-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.hp-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, rgba(14, 16, 22, 0) 0%, rgba(14, 16, 22, .55) 100%); pointer-events: none; }
:root[data-theme="light"] .hp-card { box-shadow: 0 30px 60px rgba(20, 21, 29, .18); }
.hero-photo .gcard-1 { top: 48px; }
.hero-photo .gcard-2 { bottom: 56px; }

/* ---------- Events-Kachel: Gruppenfoto, Personen rechts neben dem Text ---------- */
.tile-hero img.tile-hero-group { object-position: 70% 45%; }

/* ---------- Screenshot-Karussell ---------- */
.shots { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.shots-copy { flex: 1 1 420px; min-width: 0; }
.shots-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.shots-stage { flex: 1 1 420px; min-width: 0; position: relative; height: 520px; }
.shots-stage::before { content: ""; position: absolute; inset: 12% 18%; background: var(--grad); filter: blur(70px); opacity: .26; border-radius: 50%; }
.shot { position: absolute; left: 50%; top: 0; width: 292px; height: 520px; margin: 0 0 0 -146px; padding: 0; border: 1px solid var(--line); border-radius: 28px; overflow: hidden; background: #0E1016; cursor: pointer; box-shadow: 0 30px 60px rgba(0, 0, 0, .4); transition: transform .7s var(--ease), opacity .5s, filter .5s; }
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot.is-front { transform: translateX(0) scale(1); z-index: 3; opacity: 1; cursor: default; }
.shot.is-left { transform: translateX(-52%) scale(.82); z-index: 2; opacity: .55; filter: saturate(.7); }
.shot.is-right { transform: translateX(52%) scale(.82); z-index: 1; opacity: .55; filter: saturate(.7); }
.shot.is-hidden { transform: translateX(0) scale(.7); z-index: 0; opacity: 0; pointer-events: none; }
.shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }
:root[data-theme="light"] .shot { box-shadow: 0 24px 50px rgba(20, 21, 29, .18); }

/* ---------- Partner-Karte ---------- */
.pmap { margin-top: 44px; text-align: center; }
.pmap h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.pmap-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.pmap-panel { margin-top: 20px; border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--solid); box-shadow: var(--shadow); }
#partnerMap { height: 440px; width: 100%; background: var(--solid); font: 400 14px/1.4 "Inter", system-ui, sans-serif; z-index: 0; }
:root:not([data-theme="light"]) #partnerMap .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.92) contrast(.9) saturate(.55); }
.pmap-pin { width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(96deg, #F2476B, #FF6F61 60%, #9B2FAE); border: 3px solid #FFFFFF; box-shadow: 0 4px 14px rgba(242, 71, 107, .55); }
#partnerMap .leaflet-popup-content-wrapper { background: var(--bg-2); color: var(--text); border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
#partnerMap .leaflet-popup-tip { background: var(--bg-2); }
#partnerMap .leaflet-popup-content { margin: 12px 16px; font-size: 14px; }
#partnerMap .leaflet-popup-content b { display: block; font-weight: 800; }
#partnerMap .leaflet-popup-content span { color: var(--muted-2); }
.pmap-links { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
#partnerMap .pmap-links a { display: block; text-align: center; text-decoration: none; font-weight: 800; font-size: 13px; line-height: 1; padding: 11px 14px; border-radius: 12px; }
#partnerMap a.pmap-go { color: #FFFFFF; background: var(--grad-btn); }
#partnerMap a.pmap-web { color: var(--text); background: var(--chip); }
#partnerMap a.pmap-web:hover { background: var(--chip-hover); }
#partnerMap a.leaflet-popup-close-button { color: var(--muted-2); }
#partnerMap .leaflet-control-attribution { background: var(--glass); color: var(--muted-2); font-size: 11px; }
#partnerMap .leaflet-control-attribution a { color: var(--muted-2); }
#partnerMap .leaflet-bar a { background: var(--bg-2); color: var(--text); border-color: var(--line); }

@media (max-width: 980px) {
  .shots { gap: 36px; }
  .shots-stage { flex-basis: 100%; }
}
@media (max-width: 640px) {
  .hp-card { border-radius: 26px; }
  .shots-stage { height: 440px; }
  .shot { width: 248px; height: 440px; margin-left: -124px; border-radius: 24px; }
  .shot.is-left { transform: translateX(-34%) scale(.8); }
  .shot.is-right { transform: translateX(34%) scale(.8); }
  #partnerMap { height: 360px; }
  .pmap-panel { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .shot { transition: none; }
}

/* ---------- v42: Live-Hinweis im Hero kleiner ---------- */
.cs-title { margin-top: 10px; font-size: clamp(30px, 5.2vw, 68px); }
.cs-sub { margin-top: 6px; font-size: clamp(14px, 1.4vw, 16px); }
/* v42: laengere Kachel-Titel duerfen umbrechen */
.tile-title { flex-wrap: wrap; row-gap: 6px; }
