/* Die Rueckfrage als Fenster in der Seite (static/js/rueckfrage.js). */
.tf-frage { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(7, 27, 61, .45); backdrop-filter: blur(2px); animation: tf-frage-ein .12s ease-out; }
.tf-frage[hidden] { display: none; }
.tf-frage-fenster { width: 100%; max-width: 440px; background: #fff; border-radius: 16px; padding: 24px; box-shadow: 0 24px 60px rgba(7, 27, 61, .28); animation: tf-frage-hoch .16s ease-out; }
.tf-frage-kopf { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.tf-frage-zeichen { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #E8F1FE; color: #0663D2; font-size: 18px; }
.tf-frage-heikel .tf-frage-zeichen { background: #FDECEC; color: #B91C1C; }
.tf-frage-fenster h2 { margin: 0; font-size: 1.05rem; font-weight: 700; color: #0B1B3F; }
.tf-frage-fenster p { margin: 0 0 22px; color: #33415C; font-size: .95rem; line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.tf-frage-knoepfe { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.tf-frage-knoepfe button { min-height: 40px; padding: 8px 18px; border-radius: 10px; font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; border: 1px solid #E4EAF2; background: #fff; color: #0B1B3F; }
.tf-frage-knoepfe button:hover { background: #F6F9FD; }
.tf-frage-knoepfe .tf-frage-ja { background: #0877F9; border-color: #0877F9; color: #fff; }
.tf-frage-knoepfe .tf-frage-ja:hover { background: #0663D2; }
.tf-frage-heikel .tf-frage-ja { background: #B91C1C; border-color: #B91C1C; }
.tf-frage-heikel .tf-frage-ja:hover { background: #991B1B; }
.tf-frage-knoepfe button:focus-visible { outline: 3px solid rgba(8, 119, 249, .45); outline-offset: 2px; }
html.tf-frage-offen { overflow: hidden; }
@keyframes tf-frage-ein { from { opacity: 0; } }
@keyframes tf-frage-hoch { from { transform: translateY(8px); opacity: 0; } }
@media (max-width: 480px) { .tf-frage-knoepfe button { flex: 1 1 100%; } .tf-frage-knoepfe { flex-direction: column-reverse; } }
@media (prefers-reduced-motion: reduce) { .tf-frage, .tf-frage-fenster { animation: none; } }
