/* AI Værk — components.css: CTA-Band, FAB, FAQ. 3/5 */

/* ── CTA band ──────────────────────────────────────────── */
.cta-band {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  background: var(--card);
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  padding: clamp(28px, 4.5vw, 48px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
/* Soft brand wash in the far corner — colour without noise. */
.cta-band::before {
  content: "";
  position: absolute;
  right: -70px; top: -80px;
  width: 380px; height: 280px;
  background:
    radial-gradient(46% 56% at 66% 40%, rgba(255, 180, 94, 0.34), transparent 70%),
    radial-gradient(42% 52% at 30% 66%, rgba(136, 162, 255, 0.24), transparent 70%),
    radial-gradient(40% 50% at 82% 74%, rgba(112, 190, 140, 0.26), transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(21px, 2.8vw, 28px); letter-spacing: -0.016em; }
.cta-band p { margin-top: 10px; color: var(--stone); max-width: 56ch; }
.cta-band .btn { flex: none; }
.cta-band .cta-copy { flex: 1; }
/* The founders in miniature — warmth without stealing the aurora. */
.cta-duo { display: flex; flex: none; }
.cta-duo img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--card);
  box-shadow: 0 3px 12px oklch(0.24 0.02 70 / 0.14);
  background: var(--paper);
}
.cta-duo img:first-child { transform: rotate(-2deg); z-index: 1; }
.cta-duo img:last-child { margin-left: -12px; transform: rotate(1.6deg); }
@media (max-width: 720px) {
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* ── Schwebender Kontakt-Einstieg ──────────────────────── */
.fab {
  position: fixed;
  right: clamp(16px, 2.4vw, 28px);
  bottom: clamp(16px, 2.4vw, 28px);
  z-index: 90;
  display: grid;
  justify-items: end;
  gap: 12px;
  /* Der Container selbst darf keine Taps schlucken — nur Knopf und
     geoeffnetes Menue sind interaktiv. */
  pointer-events: none;
}
.fab-btn { pointer-events: auto; }
.fab-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-brand);
  font-size: 14.5px;
  font-weight: 560;
  letter-spacing: -0.008em;
  color: var(--paper-deep);
  background: var(--dark);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 13px 20px 14px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 34px rgba(33, 30, 26, 0.28);
  transition: background 0.25s var(--ease);
}
.fab-btn:hover { background: #322e28; }
.fab-spark { width: 15px; height: 15px; color: #a8e0c2; transition: transform 0.35s var(--ease); }
.fab.is-open .fab-spark { transform: rotate(90deg); }
.fab-menu {
  display: grid;
  min-width: 276px;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  box-shadow: 0 28px 60px rgba(33, 30, 26, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(16px) scale(0.94);
  transform-origin: 100% 100%;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-exit), transform 0.22s var(--ease-exit);
}
.fab.is-open .fab-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  /* Overshoot nur beim Oeffnen — zu federt nichts. */
  transition: opacity 0.24s var(--ease), transform 0.34s cubic-bezier(0.3, 1.25, 0.4, 1);
}
.fab-menu a {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 18px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: background 0.2s var(--ease), opacity 0.26s var(--ease), transform 0.3s var(--ease);
}
.fab.is-open .fab-menu a { opacity: 1; transform: translateY(0); }
.fab.is-open .fab-menu a:nth-child(1) { transition-delay: 0.05s; }
.fab.is-open .fab-menu a:nth-child(2) { transition-delay: 0.1s; }
.fab.is-open .fab-menu a:nth-child(3) { transition-delay: 0.15s; }
.fab-menu a + a { border-top: 1px solid var(--hairline); }
.fab-menu a:hover { background: var(--paper); }
.fab-ic {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.fab-menu a:nth-child(1) .fab-ic { background: rgba(191, 226, 255, 0.55); color: #2e5a78; }
.fab-menu a:nth-child(2) .fab-ic { background: rgba(219, 231, 212, 0.7); color: #3f6b46; }
.fab-menu a:nth-child(3) .fab-ic { background: var(--dark); color: #a8e0c2; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); }
.fab-ic svg { width: 15px; height: 15px; }
.fab-text { display: grid; gap: 1px; min-width: 0; }
.fab-text b { font-family: var(--font-brand); font-size: 13.5px; font-weight: 580; letter-spacing: -0.01em; color: var(--ink); }
.fab-text i { font-style: normal; font-size: 12px; color: var(--stone); }
@media (max-width: 700px) {
  .fab-btn { width: 56px; height: 56px; padding: 0; justify-content: center; }
  .fab-btn .fab-label { display: none; }
  .fab-spark { width: 19px; height: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .fab-menu, .fab-spark { transition: none; }
}

/* FAB-Feinschliff: Kopfzeile im Panel, Aurora im Knopf */
.fab-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--hairline);
}
.fab-duo { display: flex; flex: none; }
.fab-duo img {
  width: 34px; height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid #fff;
}
.fab-duo img + img { margin-left: -8px; }
.fab-head-text { display: grid; gap: 1px; min-width: 0; }
.fab-head-text b { font-family: var(--font-brand); font-size: 13.5px; font-weight: 580; letter-spacing: -0.01em; color: var(--ink); }
.fab-head-text i { font-style: normal; font-size: 11.5px; color: var(--stone); }
.fab-btn {
  position: relative;
  overflow: hidden;
}
.fab-btn::after {
  content: "";
  position: absolute;
  right: -34px; top: -30px;
  width: 110px; height: 90px;
  background:
    radial-gradient(50% 50% at 55% 50%, rgba(122, 205, 178, 0.35), transparent 70%),
    radial-gradient(44% 46% at 40% 60%, rgba(154, 134, 221, 0.28), transparent 70%);
  filter: blur(16px);
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.fab-btn:hover::after { opacity: 1; }
.fab-btn > * { position: relative; z-index: 1; }

/* ── FAQ ───────────────────────────────────────────────── */
.faq-shell { max-width: 820px; display: grid; gap: clamp(28px, 3.6vw, 42px); }
.faq-cat h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(19px, 2.4vw, 24px);
  letter-spacing: -0.014em;
  margin-bottom: 12px;
}
.faq-list {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 4px 22px;
  box-shadow: 0 8px 20px rgba(33, 30, 26, 0.05);
}
.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:first-child { border-top: 0; }
.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 40px 16px 0;
  font-family: var(--font-brand);
  font-size: 16px;
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-marker {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 14px; height: 14px;
  transform: translateY(-50%);
}
.faq-marker::before,
.faq-marker::after {
  content: "";
  position: absolute;
  background: var(--stone);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.faq-marker::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq-marker::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq-item[open] .faq-marker::after { transform: scaleY(0); }
.faq-item[open] .faq-marker::before { background: var(--accent); }
.faq-a { overflow: hidden; }
.faq-a p { padding: 2px 40px 18px 0; font-size: 14.5px; line-height: 1.66; color: var(--ink-soft); max-width: 64ch; }
.faq-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 6px;
  color: var(--accent);
  font-weight: 540;
  text-decoration: none;
}
.faq-link:hover { text-decoration: underline; text-underline-offset: 3px; }
