/* COMI-Chatbot — Platzhalter-Button + Consent-Karte (vor Einwilligung).
   Nach der Freigabe rendert das COMI-Bundle seine eigene Oberfläche. */

.efc-launcher {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.15rem;
  border: none;
  border-radius: 999px;
  background: var(--ef-green, #AFCA0B);
  color: var(--ef-anthracite, #272726);
  font-family: var(--font-headline, inherit);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.efc-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
}

.efc-launcher svg {
  width: 20px;
  height: 20px;
}

.efc-card {
  position: fixed;
  right: 1.25rem;
  bottom: 5.25rem;
  z-index: 61;  width: min(340px, calc(100vw - 2.5rem));
  background: #fff;
  border-radius: 10px;
  border-top: 5px solid var(--ef-green, #AFCA0B);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  padding: 1rem 1.1rem 1.1rem;
  color: var(--ef-anthracite, #272726);
}

.efc-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.efc-card-head strong {
  font-family: var(--font-headline, inherit);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.9rem;
}

.efc-card-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(39, 39, 38, 0.55);
  padding: 0.1rem 0.3rem;
}

.efc-card-close:hover { color: var(--ef-anthracite, #272726); }

.efc-card-text {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0 0 0.9rem;
  color: rgba(39, 39, 38, 0.8);
}

.efc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.efc-btn {
  border: none;
  border-radius: 4px;
  padding: 0.55rem 0.9rem;
  font-family: var(--font-headline, inherit);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: filter .15s ease;
}

.efc-btn:hover { filter: brightness(0.95); }

.efc-btn-primary {
  background: var(--ef-green, #AFCA0B);
  color: var(--ef-anthracite, #272726);
}

.efc-btn-secondary {
  background: rgba(39, 39, 38, 0.08);
  color: var(--ef-anthracite, #272726);
}

/* Mobil: über der festen CTA-Leiste (Probetraining / Mitglied werden) bleiben */
@media (max-width: 980px) {
  .efc-launcher { bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px)); }
  .efc-card { bottom: calc(9.6rem + env(safe-area-inset-bottom, 0px)); }
}
