/* Chat-Einbettung pro Objekt ("Frag das Haus") + Chat-Seite */
.faq-hero { background: var(--ink); color: var(--white); padding: 64px 0 56px; }
.faq-hero h1 { color: var(--white); margin-bottom: .4em; }
.faq-hero .lead { max-width: 640px; color: rgba(255,255,255,.8); margin: 0; }
.faq-hero .eyebrow { color: var(--gold); }
.faq-chips { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.faq-chip { font: inherit; font-size: .9rem; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .25s; }
.faq-chip { display: inline-flex; flex-direction: column; align-items: center; line-height: 1.25; }
.faq-chip .fc-city { font-size: .72rem; opacity: .65; margin-top: 2px; }
.faq-chip:hover { border-color: var(--gold); }
.faq-chip.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.faq-panel[hidden] { display: none; }
.faq-panel { scroll-margin-top: 90px; }
.faq-more { font-size: .92rem; margin-top: 24px; }

.chat-embed-section { background: var(--parchment-deep); overflow: hidden; }
.chat-embed { display: grid; grid-template-columns: 1fr minmax(320px, 440px); gap: 64px; align-items: center; }
.ce-text h2 { margin-bottom: .4em; }
.ce-text p { max-width: 460px; color: var(--ink-soft); }
.ce-open { display: inline-block; margin-top: 14px; font-size: .92rem; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid currentColor; }
.ce-tabs { display: flex; gap: 8px; margin: 18px 0 4px; }
.ce-tab { font: inherit; font-size: .9rem; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: all .25s; }
.ce-tab.is-on { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* Gerät: goldener Rahmen versetzt dahinter */
.ce-device { position: relative; background: var(--white); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(36,53,43,.45); overflow: visible; }
.ce-device::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 2px solid var(--gold); border-radius: 22px; z-index: -1; }
.ce-bar { display: flex; align-items: center; gap: 10px; background: var(--ink); color: var(--white); padding: 14px 18px; border-radius: 18px 18px 0 0; }
.ce-bar strong { font-family: var(--font-display); font-size: 1rem; font-weight: 600; flex: 1; }
.ce-bar small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.ce-dot { width: 9px; height: 9px; border-radius: 50%; background: #6BCB77; box-shadow: 0 0 0 0 rgba(107,203,119,.6); animation: cePulse 2s infinite; }
@keyframes cePulse { 70% { box-shadow: 0 0 0 9px rgba(107,203,119,0); } 100% { box-shadow: 0 0 0 0 rgba(107,203,119,0); } }
.ce-body { background: var(--parchment); border-radius: 0 0 18px 18px; padding: 28px 22px 26px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; }
.ce-bubble { background: var(--white); color: var(--ink); padding: 14px 16px; border-radius: 16px 16px 16px 4px; box-shadow: 0 6px 16px -10px rgba(36,53,43,.35); max-width: 88%; font-size: .96rem; }
.ce-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ce-chips span { font-size: .8rem; padding: 6px 12px; border-radius: 999px; background: rgba(192,138,62,.14); color: var(--gold-deep); }
.ce-start { text-align: center; justify-content: center; margin-top: 6px; }
.ce-note { text-align: center; color: var(--stone); min-height: 1em; }

@media (max-width: 899px) {
  .chat-embed { grid-template-columns: 1fr; gap: 32px; }
  .ce-device::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ce-dot { animation: none; } }

.ce-target { width: 100%; height: min(560px, 72vh); background: var(--parchment); border-radius: 0 0 18px 18px; overflow: hidden; }
.ce-target iframe { width: 100%; height: 100%; border: 0; display: block; }
.ce-tabs[hidden], .ce-tab[hidden] { display: none; }
