/* Connect & Meet: Telefon der Gaeste-App mit Ablauf (Bausteine cm_phone(), cm_story() und cm_solo() in
   funktionen/_tpl/views/connect-meet.php, Ablauf in assets/js/connect-meet.js). Geladen auf /event-app/ (DE/EN)
   und /loesungen/investorenkonferenzen/ (DE/EN). Zustaende haengen an .cm-root: data-cm-at="n" erscheint ab
   Schritt n, data-cm-hide="n" verschwindet ab Schritt n. Farben der Studio-Variablen mit Rueckfall, weil die
   Loesungsseite das Studio-CSS nicht laedt. Seit 17.11.2026 aus event-app-mods.css ausgelagert. */
@keyframes cmIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cm-pillst { display: inline-block; padding: 3px 8px; border-radius: 999px; font-family: var(--font-micro); font-size: 10px; font-weight: 600; }
.cm-pillst--wait { background: #FDF1DC; color: #8A4E00; }
.cm-pillst--ok { background: var(--st-okbg, #E4F5EA); color: var(--st-okfg, #177A3E); }
.cm-pillst--prop { background: var(--st-vl, #F3EEFF); color: var(--st-v, #6D28D9); }
.cm-root.is-js [data-cm-at] { transition: opacity .45s ease calc(var(--i, 0) * 70ms), transform .45s ease calc(var(--i, 0) * 70ms); }
.cm-root.is-js [data-cm-at]:not(.is-in) { opacity: 0; transform: translateY(6px) scale(.98); }
.cm-root.is-js [data-cm-hide].is-gone { display: none; }
.cm-root.is-js [data-cm-at="6"]:not(.is-in) { display: none; }
.cm-phone { position: relative; display: flex; flex-direction: column; width: 262px; height: 540px; padding: 8px; border-radius: 40px; background: #1C1D22; box-shadow: 0 30px 60px -28px rgba(20,16,40,.55); overflow: hidden; color: #111827; }
.cm-phone > .cm-status, .cm-phone > .cm-scr, .cm-phone > .cm-tabbar { background: #fff; }
.cm-notch { position: absolute; top: 15px; left: 50%; z-index: 2; width: 86px; height: 24px; border-radius: 14px; background: #1C1D22; transform: translateX(-50%); }
.cm-status { height: 42px; padding: 14px 20px 0; border-radius: 32px 32px 0 0; font-size: 11px; }
.cm-tabbar { display: flex; justify-content: space-around; padding: 8px 6px 14px; border-top: 1px solid #EFEDF5; border-radius: 0 0 32px 32px; font-size: 8.5px; }
.cm-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 2px; color: #9CA3AF; }
.cm-tabbar span.is-on { color: #7C3AED; }
.cm-tabbar .svgicon { color: inherit; }
.cm-scr { display: none; flex: 1; flex-direction: column; gap: 8px; min-height: 0; padding: 8px 14px 10px; overflow: hidden; }
.cm-scr.is-on, .cm-root:not(.is-js) .cm-scr[data-cm-scr="0-3"] { display: flex; }
.cm-scr.is-on { animation: cmIn .45s ease both; }
.cm-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 4px; }
.cm-bar b { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.cm-bar .svgicon { color: #6B7280; flex: none; }
.cm-chips { display: flex; gap: 5px; }
.cm-chips span { padding: 5px 9px; border-radius: 999px; background: #F3F4F6; color: #4B5563; font-size: 9.5px; font-weight: 600; }
.cm-chips span.is-on { background: #7C3AED; color: #fff; }
.cm-empty { margin: 24px 0; text-align: center; font-size: 11px; color: #9CA3AF; }
.cm-p { display: flex; align-items: center; gap: 9px; padding: 8px; border: 1px solid #F0EEF6; border-radius: 12px; transition: background .3s, box-shadow .3s, opacity .45s, transform .45s; }
.cm-p > div { flex: 1; min-width: 0; }
.cm-p b { font-size: 11.5px; }
.cm-face { flex: none; border-radius: 50%; object-fit: cover; }
.cm-why { display: flex; flex-wrap: wrap; gap: 3px; margin-top: 3px; }
.cm-why i { padding: 2px 6px; border-radius: 999px; background: #F0E7FF; color: #5B21B6; font-size: 8.5px; font-weight: 600; }
.cm-add { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: #7C3AED; }
.cm-add .svgicon { color: #fff; }
.cm-root.is-tap .cm-p--pick { background: #F5F0FF; box-shadow: 0 0 0 2px #C4B5FD; transform: scale(1.02); }
.cm-intro { margin: 0; font-size: 10.5px; color: #4B5563; }
.cm-slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.cm-slots span { display: flex; flex-direction: column; padding: 8px 9px; border: 1px solid #E5E7EB; border-radius: 10px; font-size: 10.5px; transition: border-color .3s .6s, background .3s .6s, color .3s .6s; }
.cm-slots span.is-x { background: #F9FAFB; color: #9CA3AF; text-decoration: line-through; }
.cm-slots em { font-size: 8.5px; text-decoration: none; }
.cm-root.is-sel .cm-slot-pick { border-color: #7C3AED; background: #F5F0FF; color: #5B21B6; }
.cm-msg { height: 46px; padding: 9px; border: 1px solid #E5E7EB; border-radius: 10px; color: #9CA3AF; font-size: 10px; }
.cm-btn { display: flex; justify-content: center; margin-top: auto; padding: 10px; border-radius: 12px; background: #7C3AED; color: #fff; font-size: 11.5px; font-weight: 500; }
.cm-who { display: flex; align-items: center; gap: 10px; }
.cm-who b { display: block; font-size: 13px; }
.cm-who span { font-size: 9.5px; color: #6B7280; }
.cm-scr .cm-pillst { align-self: flex-start; }
.cm-kv { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 10px; border-radius: 12px; background: #F6F4FB; }
.cm-kv span { display: flex; flex-direction: column; font-size: 9px; color: #6B7280; }
.cm-kv b { font-size: 12px; color: #111827; }
.cm-kv-tb em { font-style: normal; }
.cm-dir { margin: 0; font-size: 9.5px; color: #6B7280; }
.cm-ghost { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border: 1px solid #DDD6FE; border-radius: 12px; color: #5B21B6; font-size: 11px; }
.cm-ghost .svgicon { color: inherit; }
.cm-arrived { display: flex; align-items: center; gap: 8px; padding: 9px; border-radius: 12px; background: #E4F5EA; color: #14532D; font-size: 9.5px; line-height: 1.35; }

/* Sektion cm_solo(): wie der Kopf der Gaesteliste (.fp-hero-grid, .fp-note-card), im Telefon der Ablauf.
   Mehr Luft als der Seitenkopf (Martin 17.11.2026): grosszuegiger Rand und Abstand zwischen Text und Telefon;
   die Karten ragen ab 1241 px nur leicht ueber den Telefonrand, darunter stehen sie unter dem Telefon. */
.cm-solo { padding: clamp(96px, 11vw, 168px) 0; }
@media (min-width: 1040px) { .cm-solo .fp-hero-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(56px, 7vw, 120px); } }
.cm-solo h2 { margin: 0 0 var(--ds-space-6); }
.cm-solo .fp-lead { margin: 0 0 var(--ds-space-8); }
.cm-solo .fp-actions { gap: var(--ds-space-3) var(--ds-space-4); }
.cm-solo-foot { margin: var(--ds-space-6) 0 0; font-size: 12px; color: var(--fp-muted); } /* --fp-faint erreicht hier nicht 4,5:1 (Lighthouse 17.11.2026) */
.cm-solo .fp-hero-stage { display: flex; align-items: center; justify-content: center; min-height: 680px; }
.cm-solo-phone { position: relative; z-index: 2; transform: rotate(-2deg); }
.cm-solo-phone .cm-phone { width: 288px; height: 590px; }
@media (min-width: 1241px) {
  /* Karten ragen nur leicht ueber den Telefonrand (wie im Kopf der Gaesteliste), rechte Karte neben dem Telefon */
  .cm-solo .fp-hero-stage { padding-right: 4%; }
  .cm-solo .fp-note-card { width: 210px; }
  .cm-solo .fp-note-card--1 { left: 0; top: 2%; }
  .cm-solo .fp-note-card--2 { right: 0; top: 38%; }
  .cm-solo .fp-note-card--3 { left: 0; bottom: 2%; }
}
@media (min-width: 1040px) and (max-width: 1240px) {
  /* Zu schmal fuer Karten neben dem Telefon: Karten darunter */
  .cm-solo .fp-hero-stage { flex-direction: column; min-height: 0; gap: var(--ds-space-6); }
  .cm-solo .fp-hero-notes { position: static; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--ds-space-3); width: 100%; }
  .cm-solo .fp-note-card { position: static; width: auto; animation: none; }
}

@media (max-width: 1039px) {
  .cm-solo .fp-hero-stage { min-height: 0; }
  .cm-solo-phone { transform: none; }
  .cm-solo .fp-hero-notes { margin-top: var(--ds-space-6); }
}
@media (max-width: 760px) { .cm-solo-phone .cm-phone { width: 262px; height: 540px; } }
