/* Kleine Extras, Runde 8 (06.11.2026): Tipps-Diashow, Telefon üben, Bereit zum Senden */

/* Fenster (gemeinsam) */
.tx-modal { position: fixed; inset: 0; z-index: 1150; display: grid; place-items: center; padding: 16px; background: rgba(15, 23, 42, 0); transition: background .2s; }
.tx-modal.is-in { background: rgba(15, 23, 42, .5); }
.tx-card { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 26px 20px; border-radius: 26px; background: var(--card-bg, #fff); box-shadow: 0 30px 80px rgba(15, 23, 42, .3); transform: translateY(12px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.2, 1.1, .3, 1), opacity .2s; }
.tx-modal.is-in .tx-card { transform: none; opacity: 1; }
.tx-x { position: absolute; top: 12px; right: 12px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: none; font-size: 20px; color: var(--text-muted); cursor: pointer; }
.tx-x:hover { background: var(--tone-inset, #f4f1ec); }
.tx-card h2 { margin: 0 0 12px; font-size: 22px; }

/* Bewerbungstipps */
.tx-topics { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.tx-topics button { padding: 6px 12px; border-radius: 999px; border: 1.5px solid #e5e7eb; background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-muted); cursor: pointer; }
.tx-topics button.is-on { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 10%, #fff); color: var(--gold); }
.tx-progress { display: flex; gap: 3px; margin-bottom: 14px; }
.tx-progress i { flex: 1; height: 4px; border-radius: 2px; background: #E5E7EB; overflow: hidden; position: relative; }
.tx-progress i.is-done { background: var(--gold); }
.tx-progress i.is-now::after { content: ""; position: absolute; inset: 0; background: var(--gold); transform-origin: left; animation: txBar var(--tx-dur, 8s) linear forwards; }
.tx-stage.is-paused .tx-progress i.is-now::after { animation-play-state: paused; }
@keyframes txBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tx-slide { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; min-height: 210px; padding: 18px; border-radius: 22px; background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 8%, #fff), #fff 70%); animation: txIn .4s ease; }
@keyframes txIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.tx-slide-t small { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--gold); }
.tx-slide-t h3 { margin: 6px 0 8px; font-size: 22px; line-height: 1.25; }
.tx-slide-t p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.55; color: var(--text-muted); }
.tx-slide-art { height: 150px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft, #e7e5e4); display: grid; place-items: center; overflow: hidden; }
.tx-nav { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; }
.tx-arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }
.tx-arrow:hover { border-color: var(--gold); color: var(--gold); }
.tx-play { padding: 8px 16px; border-radius: 999px; border: 0; background: var(--tone-inset, #f4f1ec); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.tx-kind { cursor: pointer; }
.tx-kind:hover { text-decoration: underline; text-underline-offset: 3px; }
/* kleine Bilder pro Thema */
.tx-art { position: relative; display: block; width: 110px; height: 100px; }
.tx-art i, .tx-art b { position: absolute; display: block; }
.tx-art.is-beruf i { width: 34px; height: 34px; border-radius: 10px; top: 33px; background: #E0E7FF; animation: txFloat 3s ease-in-out infinite; }
.tx-art.is-beruf i:nth-child(1) { left: 0; } .tx-art.is-beruf i:nth-child(2) { left: 38px; top: 18px; background: var(--gold); animation-delay: .4s; } .tx-art.is-beruf i:nth-child(3) { left: 76px; background: #FDE68A; animation-delay: .8s; }
@keyframes txFloat { 50% { transform: translateY(-6px); } }
.tx-art.is-schnupper b { left: 14px; top: 20px; width: 82px; height: 58px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1.5px #CBD5E1; }
.tx-art.is-schnupper i { left: 26px; height: 6px; border-radius: 3px; background: #0891B2; }
.tx-art.is-schnupper i:nth-child(2) { top: 36px; width: 46px; } .tx-art.is-schnupper i:nth-child(3) { top: 50px; width: 58px; background: #CBD5E1; }
.tx-art.is-brief, .tx-art.is-cv { width: 80px; height: 104px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1.5px #CBD5E1, 0 10px 20px -10px rgba(0, 0, 0, .3); transform: rotate(-4deg); }
.tx-art.is-brief i, .tx-art.is-cv i { left: 12px; right: 12px; height: 5px; border-radius: 3px; background: #CBD5E1; }
.tx-art.is-brief i:nth-child(1) { top: 16px; right: 30px; background: var(--gold); } .tx-art.is-brief i:nth-child(2) { top: 32px; } .tx-art.is-brief i:nth-child(3) { top: 44px; right: 22px; } .tx-art.is-brief i:nth-child(4) { top: 56px; }
.tx-art.is-cv b { left: 12px; top: 12px; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(160deg, #F1C9A5 55%, var(--gold) 56%); }
.tx-art.is-cv i:nth-child(2) { top: 46px; } .tx-art.is-cv i:nth-child(3) { top: 58px; right: 26px; } .tx-art.is-cv i:nth-child(4) { top: 70px; }
.tx-art.is-test i { bottom: 10px; width: 18px; border-radius: 5px 5px 0 0; background: #93C5FD; animation: txGrow 3s ease-in-out infinite; transform-origin: bottom; }
.tx-art.is-test i:nth-child(1) { left: 6px; height: 30px; } .tx-art.is-test i:nth-child(2) { left: 32px; height: 46px; animation-delay: .2s; } .tx-art.is-test i:nth-child(3) { left: 58px; height: 62px; background: #60A5FA; animation-delay: .4s; } .tx-art.is-test i:nth-child(4) { left: 84px; height: 80px; background: var(--gold); animation-delay: .6s; }
@keyframes txGrow { 0%, 100% { transform: scaleY(.6); } 50% { transform: scaleY(1); } }
.tx-art.is-gespraech i { width: 66px; height: 36px; border-radius: 14px; }
.tx-art.is-gespraech i:nth-child(1) { left: 0; top: 10px; background: #fff; box-shadow: 0 0 0 1.5px #CBD5E1; border-bottom-left-radius: 4px; transform: rotate(-6deg); }
.tx-art.is-gespraech i:nth-child(2) { right: 0; bottom: 12px; background: linear-gradient(135deg, #3B82F6, #7C3AED); border-bottom-right-radius: 4px; transform: rotate(5deg); }
.tx-art.is-telefon i { left: 32px; top: 14px; width: 46px; height: 76px; border-radius: 12px; background: #1F2937; box-shadow: inset 0 0 0 4px #374151; animation: txRing 2.4s ease-in-out infinite; }
@keyframes txRing { 0%, 60%, 100% { transform: rotate(0); } 65% { transform: rotate(-8deg); } 70% { transform: rotate(8deg); } 75% { transform: rotate(-6deg); } 80% { transform: rotate(6deg); } }
@media (max-width: 600px) {
  .tx-card { padding: 22px 16px 16px; }
  .tx-slide { grid-template-columns: 1fr; gap: 12px; }
  .tx-slide-art { height: 110px; }
  .tx-slide-t h3 { font-size: 19px; }
}

/* Telefon üben */
.tp-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; padding-right: 30px; }
.tp-head h2 { margin: 0; }
.tp-head p { margin: 2px 0 0; color: var(--text-muted); font-size: 14px; }
.tp-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #F59E0B; color: #fff; }
.tp-ico.is-ok { background: #16A34A; }
.tp-ico.is-ok svg { width: 24px; height: 24px; }
.tp-rules h4 { margin: 0 0 8px; font-size: 15px; }
.tp-rules ol { margin: 0 0 16px; padding: 0; list-style: none; counter-reset: tp; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 8px; }
.tp-rules li { counter-increment: tp; position: relative; padding: 10px 12px 10px 40px; border-radius: 14px; background: #F8FAFC; }
.tp-rules li::before { content: counter(tp); position: absolute; left: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.tp-rules b { display: block; font-size: 14px; }
.tp-rules span { font-size: 13px; color: var(--text-muted); }
.tp-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.tp-field input, .tp-answer input { padding: 11px 13px; border-radius: 12px; border: 1px solid #e5e7eb; font: inherit; font-size: 15px; }
.tp-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.tp-caller { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; background: linear-gradient(135deg, #0E1A3C, #1C1B4A); color: #fff; margin-bottom: 12px; padding-right: 40px; }
.tp-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #F59E0B; font-weight: 800; }
.tp-caller small { display: block; color: rgba(255, 255, 255, .7); font-size: 12px; }
.tp-wave { margin-left: auto; display: flex; gap: 3px; align-items: center; height: 24px; }
.tp-wave i { width: 4px; border-radius: 2px; background: #4ADE80; animation: tpWave 1s ease-in-out infinite; }
.tp-wave i:nth-child(1) { height: 10px; } .tp-wave i:nth-child(2) { height: 20px; animation-delay: .15s; } .tp-wave i:nth-child(3) { height: 14px; animation-delay: .3s; } .tp-wave i:nth-child(4) { height: 8px; animation-delay: .45s; }
@keyframes tpWave { 50% { transform: scaleY(.4); } }
.tp-log { max-height: 260px; overflow-y: auto; display: flex; flex-direction: column; gap: 6px; padding: 4px 2px; }
.tp-msg { margin: 0; max-width: 85%; padding: 9px 13px; border-radius: 16px; font-size: 14.5px; line-height: 1.4; }
.tp-msg.is-firm { align-self: flex-start; background: #F1F5F9; border-bottom-left-radius: 5px; }
.tp-msg.is-me { align-self: flex-end; background: var(--gold); color: #fff; border-bottom-right-radius: 5px; }
.tp-msg.is-new { animation: txIn .35s ease; box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 25%, transparent); }
.tp-ask { margin: 10px 0 8px; font-size: 13.5px; color: var(--text-muted); }
.tp-answer { display: flex; gap: 8px; align-items: center; }
.tp-answer input { flex: 1; min-width: 0; }
.tp-mic { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #e5e7eb; background: #fff; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.tp-mic.is-on { background: #EF4444; border-color: #EF4444; color: #fff; animation: mcdPulse 1.4s ease-in-out infinite; }
.tp-again { margin-top: 8px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--gold); cursor: pointer; padding: 4px 0; }
.tp-res { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tp-res li { display: grid; grid-template-columns: 26px 1fr; align-items: center; gap: 2px 8px; padding: 9px 12px; border-radius: 12px; background: #F8FAFC; font-size: 14px; }
.tp-res li.is-ok svg { color: #16A34A; }
.tp-res li.is-miss b { width: 20px; height: 20px; border-radius: 50%; background: #FEF3C7; color: #B45309; display: grid; place-items: center; font-size: 12px; }
.tp-res li small { grid-column: 2; color: var(--text-muted); font-size: 12.5px; }
.tp-tile { width: 100%; margin-top: 14px; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 22px; border: 1px solid var(--line-soft, #e7e5e4); background: var(--card-bg, #fff); font: inherit; color: inherit; text-align: left; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.tp-tile:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .3); }
.tp-tile-art { position: relative; flex: none; width: 64px; height: 64px; border-radius: 18px; background: #FFF7ED; display: grid; place-items: center; }
.tp-phone { width: 24px; height: 40px; border-radius: 7px; background: #1F2937; box-shadow: inset 0 0 0 3px #374151; animation: txRing 2.4s ease-in-out infinite; }
.tp-ring { position: absolute; inset: 8px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(245, 158, 11, .5); animation: tpRing 2.4s ease-out infinite; }
@keyframes tpRing { 0%, 55% { transform: scale(.6); opacity: 0; } 70% { opacity: 1; } 100% { transform: scale(1.2); opacity: 0; } }
.tp-tile-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tp-tile-t small { font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #D97706; }
.tp-tile-t b { font-size: 17px; }
.tp-tile-t span { font-size: 13.5px; color: var(--text-muted); }
.tp-tile-go { font-size: 26px; color: var(--text-muted); }

/* Bereit zum Senden */
.rs-box { margin: 0 0 16px; padding: 16px 18px; border-radius: 20px; background: linear-gradient(140deg, color-mix(in srgb, var(--gold) 7%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent); }
.rs-box.is-ready { background: linear-gradient(140deg, #ECFDF3, #fff 70%); border-color: #BBF7D0; }
.rs-head { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.rs-head h3 { margin: 0; font-size: 17px; }
.rs-head p { margin: 2px 0 0; font-size: 13.5px; color: var(--text-muted); }
.rs-ring { flex: none; position: relative; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#16A34A calc(var(--p) * 1%), #E5E7EB 0); }
.rs-ring::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: #fff; }
.rs-ring b { position: relative; z-index: 1; font-size: 13px; }
.rs-list { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rs-list li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft, #e7e5e4); font-size: 14px; }
.rs-list li > span:nth-child(2) { flex: 1; min-width: 0; }
.rs-list small { color: var(--text-muted); font-size: 11.5px; }
.rs-dot { flex: none; width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 2px #CBD5E1; display: grid; place-items: center; }
.rs-list li.is-ok .rs-dot { background: #16A34A; box-shadow: none; color: #fff; }
.rs-list li.is-ok .rs-dot svg { width: 12px; height: 12px; }
.rs-before { margin: 6px 0 10px; font-size: 13.5px; }
.rs-before summary { cursor: pointer; font-weight: 700; }
.rs-before ul { margin: 6px 0 0; padding-left: 18px; color: var(--text-muted); display: flex; flex-direction: column; gap: 3px; }
.rs-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; flex-wrap: wrap; }
.rs-sent { display: inline-flex; align-items: center; gap: 5px; color: #16A34A; font-weight: 700; font-size: 14px; }
@media (max-width: 600px) { .rs-list { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tx-art i, .tp-phone, .tp-ring, .tp-wave i, .tx-progress i.is-now::after, .tx-slide { animation: none !important; } }
