/* LIMIAN AI – Demo-Seite: Feinschliff Sprach- und Textdemo */

/* Sprachdemo: Datenschutz-Hinweis erst bei Hover (Geräte mit Maus), sonst ausgeblendet */
.voice-intro #voice-status + .note{max-height:0;opacity:0;margin-top:0;margin-bottom:0;overflow:hidden;transition:max-height .35s ease,opacity .25s ease,margin .35s ease}
@media (hover:hover) and (pointer:fine){
  .voice-intro:hover #voice-status + .note,.voice-intro:focus-within #voice-status + .note{max-height:200px;opacity:1;margin-top:16px;margin-bottom:0}
}
#caption-hint{display:none}

/* Textdemo: Nachrichten fliessen Wort für Wort ein */
#conversation .tdm-in{position:relative;animation:tdm-rise .45s cubic-bezier(.2,.8,.2,1) both}
#conversation .tdm-in::before{content:attr(data-who);display:block;font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8a86a8;margin-bottom:6px}
#conversation .tdm-in.user::before{color:#7a6fd6;text-align:right}
#conversation .tdm-w{display:inline;opacity:0;filter:blur(3px);animation:tdm-word .38s ease forwards}
#conversation .tdm-typing{display:inline-flex;align-items:center;gap:5px;width:auto;padding:14px 16px;animation:tdm-rise .3s ease both}
#conversation .tdm-typing span{width:7px;height:7px;border-radius:50%;background:#8f89c9;animation:tdm-dot 1.1s ease-in-out infinite}
#conversation .tdm-typing span:nth-child(2){animation-delay:.15s}
#conversation .tdm-typing span:nth-child(3){animation-delay:.3s}
#demo-result .handoff{animation:tdm-rise .55s cubic-bezier(.2,.8,.2,1) both}
#start-demo:disabled{opacity:.7;cursor:progress}
@keyframes tdm-rise{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@keyframes tdm-word{to{opacity:1;filter:none}}
@keyframes tdm-dot{0%,60%,100%{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}
@media (prefers-reduced-motion:reduce){
  #conversation .tdm-in,#conversation .tdm-w,#conversation .tdm-typing,#demo-result .handoff{animation:none;opacity:1;filter:none}
}

.demo-jumps a{display:inline-flex;flex-direction:column;justify-content:center;align-items:center;line-height:1.25}
.demo-jumps a small{font-size:11.5px;font-weight:500;color:#7a7890;margin-top:2px}
.callback+.demo-jumps{margin-top:56px}

/* Browser-Sprachdemo oben auf der Demo-Seite */
.demo-voice{padding-bottom:8px}
.demohead+.text-demo-heading{margin-top:88px}
@media (max-width:760px){.demohead+.text-demo-heading{margin-top:56px}}
