/* ============================================================
   Air Mastery — CRM-gesteuerte Live-Notifications & Testimonials
   Rendert, was assets/marketing-experience.js aus
   GET https://am-crm.com/api/marketing/public?domain=… lädt.
   Wiederverwendet 1:1 das Design aus AirMasteryWebsiteExperience.tsx
   (am-crm), damit beide Ausspielwege optisch identisch bleiben.
   ============================================================ */

.am-proof {
  position: fixed;
  bottom: 16px;
  z-index: 150;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 22px;
  align-items: center;
  gap: 9px;
  width: min(300px, calc(100vw - 24px));
  padding: 10px;
  background: rgba(10, 15, 24, .94);
  border: 1px solid rgba(85, 153, 255, .25);
  border-radius: 13px;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .44);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .24s, transform .28s;
}
.am-proof-visible { opacity: 1; pointer-events: auto; transform: none; }
.am-proof-left { left: 16px; }
.am-proof-right { right: 80px; }
.am-proof-icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: rgba(85, 153, 255, .15); color: #7bb0ff; }
.am-proof-icon svg { width: 15px; }
.am-proof-emoji { font-size: 16px; line-height: 1; }
.am-proof-copy { display: flex; min-width: 0; flex-direction: column; }
.am-proof-copy strong { font-size: 11.5px; color: #fff; }
.am-proof-copy span { font-size: 10.5px; color: #c0cae0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.am-proof-copy small { font-size: 9px; color: #75819e; margin-top: 1px; }
.am-proof button { display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 7px; background: transparent; color: #7d88a4; cursor: pointer; }
.am-proof button:hover { background: rgba(255, 255, 255, .06); color: white; }
.am-proof button svg { width: 12px; }

.am-managed-testimonials { background: var(--bg2); border-block: 1px solid var(--border); }
.am-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.am-testimonial { padding: 24px; background: var(--glass); border: 1px solid var(--border); border-radius: var(--rl); }
.am-testimonial-head { display: flex; align-items: center; gap: 11px; }
.am-testimonial-head img, .am-testimonial-head > span { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: rgba(85, 153, 255, .16); color: #9bc4ff; font-weight: 800; }
.am-testimonial-head > div { display: flex; min-width: 0; flex: 1; flex-direction: column; }
.am-testimonial-head strong { font-size: 14px; }
.am-testimonial-head small { font-size: 11px; color: var(--muted); }
.am-testimonial-head > svg { width: 17px; color: #65a4ff; }
.am-testimonial-icon { font-size: 19px; }
.am-testimonial blockquote { margin: 19px 0 15px; color: #c6cee0; font-size: 14px; line-height: 1.7; }
.am-testimonial > p { display: flex; gap: 8px; color: #8fbaff; font-size: 12px; }
.am-testimonial > p svg { width: 16px; flex: none; }

@media (min-width: 901px) { .am-proof-no-desktop { display: none; } }
@media (max-width: 900px) { .am-testimonial-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .am-proof { bottom: 84px; width: min(272px, calc(100vw - 24px)); }
  .am-proof-left { left: 12px; }
  .am-proof-right { right: 12px; }
  .am-proof-no-mobile { display: none; }
  .am-testimonial-grid { grid-template-columns: 1fr; }
  .am-managed-testimonials.pad { padding-block: 72px; }
}
@media (prefers-reduced-motion: reduce) { .am-proof { transition: none !important; } }
