/* R42 hoer – Hörprobe (hoer.js). Nur sichtbar, wenn hoerprobe.js eine Aufnahme hat. Blau #304ee7, Tinte, Grau – kein Rot. */
.hr-sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.hr-ico{display:inline-block;min-width:1em;text-align:center;font-family:system-ui,"Segoe UI Symbol",sans-serif;font-weight:400;line-height:1}

/* ---------- 11:30: the controls in the row of „Lösung lesen (20 s)“ */
.hr-ctl{display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;margin-left:auto}
.hr-has-ctl .hr-ctl~.tg-sol-btn{margin-left:4px}
/* R44 (TEXTE44 E2): one grid, flush with the text. Row 1: [Furkan am Telefon] [Stopp] … „Lösung lesen“ right.
   Row 2, small: „Auch auf Englisch hören ▷ · echte Aufnahme · Herr Brandt als Text (· spielt mit Ton)“. */
.tg-bar.hr-has-ctl{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"row sol" "line line";align-items:center;gap:6px 12px;margin:2px 0 16px}
.hr-has-ctl>.hr-ctl{display:contents}
.hr-has-ctl .hr-ctl-row{grid-area:row;justify-self:start}
.hr-has-ctl>.tg-sol-btn{grid-area:sol;margin:0!important;justify-self:end}
.hr-line{grid-area:line;display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;min-width:0;font:600 12px/1.4 Manrope,system-ui,sans-serif;color:#56645f}
.hr-line .hr-sep{color:#8b9793;font-weight:700}
.hr-note{display:inline}
.hr-note .hr-hint::before{content:" · "}
.hr-has-ctl .hr-alt-ctl{min-height:28px;margin:0;padding:0;font-size:12px}
.hr-has-ctl .hr-hint{font:inherit;color:inherit}
.hr-under{margin-top:12px!important}
.hr-under+.tg-sol{margin-bottom:14px}
.hr-bar{display:flex;margin:2px 0 12px}
.hr-ctl-row{display:flex;gap:6px}
.hr-btn,.hr-stop{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 14px 0 11px;border:1.5px solid #304ee7;border-radius:999px;background:#f4f6ff;color:#304ee7;
  font:700 12.5px/1.2 Manrope,system-ui,sans-serif;white-space:nowrap;cursor:pointer;transition:background .2s,color .2s}
.hr-btn:hover{background:#e7ecff}
.hr-btn[data-mode=pause]{background:#304ee7;color:#fff}
.hr-btn .hr-ico{font-size:12px}
.hr-btn[data-mode=pause] .hr-ico{font-size:9px;letter-spacing:-1px}
.hr-stop{padding:0 12px 0 10px;border-color:#9aa6a1;background:#fff;color:#203c4b}
.hr-stop .hr-ico{font-size:10px}
.hr-stop:hover{border-color:#304ee7}
.hr-stop[hidden],.hr-hint[hidden]{display:none}
.hr-hint{font:600 11.5px/1.3 Manrope,system-ui,sans-serif;color:#5c6a66}
.hr-btn:focus-visible,.hr-stop:focus-visible,.hr-back:focus-visible,.hr-msgs:focus-visible,.hr-mp button:focus-visible,.hr-mp summary:focus-visible,.hr-st-btn:focus-visible,.hr-k-btn:focus-visible{outline:2px solid #304ee7;outline-offset:2px}

/* ---------- 11:30: the layer in the chat window. The window's own content is only covered (not changed, not re-animated). */
.wd-call.hr-open>:not(.wd-bar):not(.hr-layer),.hr-win.hr-open>:not(.hr-layer){position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;visibility:hidden!important;pointer-events:none!important}
.hr-win{margin:0 0 16px}
.hr-win:not(.hr-open){display:none}
.hr-win.hr-open{background:#fff;border:1px solid #152d3824;border-radius:11px;overflow:hidden}
.hr-layer{--hr-lvl:0;display:block;font-size:13px;line-height:1.45;color:#18303b}
.hr-layer[hidden]{display:none}
.hr-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 16px 13px 18px}
.hr-face{position:relative;display:block;flex:none;width:56px;height:56px;border-radius:50%;
  box-shadow:0 0 0 2px #fff,0 0 0 calc(3px + var(--hr-lvl,0) * 4.5px) rgba(48,78,231,calc(.16 + var(--hr-lvl,0) * .6));transition:box-shadow .07s linear}
.hr-face img{display:block;width:100%;height:100%;border-radius:50%;object-fit:cover;object-position:50% 40%}
[data-speaking="1"] .hr-face{box-shadow:0 0 0 2px #fff,0 0 0 calc(3px + var(--hr-lvl,0) * 4.5px) rgba(48,78,231,calc(.45 + var(--hr-lvl,0) * .45))}
.hr-who{display:grid;min-width:0}
.hr-who b{font-size:14px;line-height:1.3}
.hr-who small{font-size:12px;color:#64757d}
.hr-meta{display:grid;justify-items:end;gap:1px;margin:0;font-size:11.5px;font-weight:800;color:#2f5260;font-variant-numeric:tabular-nums;white-space:nowrap}
.hr-meta .hr-clock{font-weight:700;color:#6b7c84}
.hr-meta>*{font-size:inherit;line-height:1.35}
html[data-read=on] .hr-meta{font-size:13px}
.hr-prog{display:block;height:2px;background:#152d3812;overflow:hidden}
.hr-prog i{display:block;width:0;height:100%;background:#304ee7}
.hr-msgs{display:flex;flex-direction:column;gap:8px;max-height:340px;margin:0;padding:12px 14px 14px;overflow:auto;list-style:none;overscroll-behavior:contain;scroll-behavior:smooth}
.hr-msg{max-width:88%;margin:0}
.hr-msg[hidden]{display:none}
.hr-msg small{display:block;margin:0 0 3px 2px;font-size:10.5px;font-weight:800;letter-spacing:.04em;color:#6b7b83}
.hr-msg p{margin:0;padding:9px 12px;border-radius:4px 12px 12px 12px;background:#f0f3f4;color:#2c434d;font-size:13px;line-height:1.5}
.hr-msg[data-wer=furkan]{align-self:flex-end}
.hr-msg[data-wer=furkan] small{text-align:right;margin:0 2px 3px 0}
.hr-msg[data-wer=furkan] p{border-radius:12px 4px 12px 12px;background:#eef1fd;color:#1d2f37}
.hr-msg.is-now p{background:#e1e7ff;box-shadow:0 0 0 1.5px #304ee7}
.hr-msg.hr-in{animation:hr-in .28s ease-out both}
/* Herr Brandt „spricht gerade“: three dots for 0.6 s, then the text (the text stays readable for screen readers) */
.hr-dots{display:none}
.hr-msg.is-typing .hr-dots{display:inline-flex;gap:4px;align-items:center;padding:12px 14px;border-radius:4px 12px 12px 12px;background:#f0f3f4}
.hr-dots i{width:6px;height:6px;border-radius:50%;background:#8b9aa1;animation:hr-dot 1s ease-in-out infinite}
.hr-dots i+i{animation-delay:.15s}.hr-dots i+i+i{animation-delay:.3s}
@keyframes hr-dot{0%,60%,100%{opacity:.35;translate:0 0}30%{opacity:1;translate:0 -2px}}
.hr-msg.is-typing p{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@keyframes hr-in{from{opacity:0;translate:0 5px}}
.hr-end{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 12px;margin:0;padding:9px 14px;border-top:1px solid #152d3812;background:#f3f5f5;font-size:12px;font-weight:800;color:#2f5260;font-variant-numeric:tabular-nums}
.hr-end[hidden],.hr-msgline[hidden]{display:none}
.hr-back{min-height:32px;padding:0 2px;border:0;background:none;color:#304ee7;font:700 12.5px/1.2 Manrope,system-ui,sans-serif;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.hr-msgline{margin:0;padding:0 14px 12px;font-size:12px;color:#5c6a66}

/* ---------- /kontakt and /status: the small player */
.hr-k-btn .hr-ico{margin-right:6px;font-size:.9em}
.hr-st{margin:8px 0 0}
.hr-st-btn{min-height:32px;padding:0;border:0;background:none;color:#304ee7;font:inherit;font-size:14px;font-weight:700;text-align:left;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;cursor:pointer}
.hr-st-btn:hover{text-decoration-thickness:2px}
.hr-st-btn .hr-ico{margin-left:.35em!important;font-size:.85em;text-decoration:none}
.hr-mp{--hr-lvl:0;display:grid;gap:8px;margin:12px 0 0;padding:10px 12px 9px;border:1px solid #d1d5cb;border-radius:10px;background:#fffefa;color:#203c4b;font-size:13px;line-height:1.5;text-align:left}
.hr-mp[hidden]{display:none}
.hr-mp-row{display:flex;align-items:center;gap:10px;min-width:0}
.hr-mp .hr-face{width:40px;height:40px;box-shadow:0 0 0 2px #fffefa,0 0 0 calc(3px + var(--hr-lvl,0) * 5px) rgba(48,78,231,calc(.16 + var(--hr-lvl,0) * .6))}
.hr-mp[data-speaking="1"] .hr-face{box-shadow:0 0 0 2px #fffefa,0 0 0 calc(3px + var(--hr-lvl,0) * 5px) rgba(48,78,231,calc(.45 + var(--hr-lvl,0) * .45))}
.hr-mp-play,.hr-mp-stop{display:grid;place-items:center;flex:none;width:38px;height:38px;padding:0;border:1.5px solid #304ee7;border-radius:50%;background:#fff;color:#304ee7;font-size:13px;cursor:pointer}
.hr-mp[data-state=playing] .hr-mp-play{background:#304ee7;color:#fff;font-size:10px}
.hr-mp-stop{width:32px;height:32px;border-color:#9aa6a1;color:#33423f;font-size:10px}
.hr-mp-stop[hidden]{display:none}
.hr-mp-prog{flex:1;min-width:24px;height:3px;border-radius:2px}
.hr-mp .hr-clock{flex:none;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:#5c6a66}
.hr-mp-sub{margin:0;min-height:3em;font-size:13.5px;line-height:1.5;color:#33423f}
.hr-mp-sub b{font-weight:700;color:#5c6a66}
.hr-mp-sub.is-furkan span{background:#e6eafd;box-shadow:0 0 0 2px #e6eafd;border-radius:2px;color:#152d38}
.hr-mp-end{font-weight:700;color:#2f5260;font-variant-numeric:tabular-nums}
.hr-mp-text{font-size:13px;line-height:1.5}
.hr-mp-text summary{display:inline-flex;align-items:center;gap:4px;min-height:28px;cursor:pointer;font-size:12.5px;font-weight:700;color:#304ee7;text-decoration:underline;text-underline-offset:3px}
.hr-mp-text summary::-webkit-details-marker{display:none}
.hr-mp-text summary::after{content:"+";font-weight:700}
.hr-mp-text[open] summary::after{content:"–"}
.hr-mp-text ol{display:grid;gap:5px;margin:6px 0 2px;padding:0;list-style:none}
.hr-mp-text li b{font-weight:700;color:#5c6a66}
.hr-mp-text li[data-wer=brandt] span{color:#4d5c58}
.hr-mp-text li.is-now span{background:#e6eafd;box-shadow:0 0 0 2px #e6eafd;border-radius:2px;color:#152d38}

/* /status: the facts style every b and span of the dd – not inside the line and the player */
.st-facts dd :is(.hr-st,.hr-mp) span:not(.hr-prog):not(.hr-ico){display:inline;margin:0;font-size:inherit;line-height:inherit;color:inherit}
.st-facts dd :is(.hr-st,.hr-mp) .hr-ico{display:inline-block;margin:0;color:inherit}
.st-facts dd .hr-mp .hr-prog{display:block;margin:0}
.st-facts dd .hr-mp b{display:inline;font-size:inherit;line-height:inherit;letter-spacing:0;font-weight:700;color:#5c6a66}
.st-facts dd .hr-mp .hr-clock{font-size:12px;color:#5c6a66}
.st-facts dd .hr-mp-sub{font-size:13.5px;color:#33423f}
.st-facts dd .hr-mp-sub.is-furkan span{color:#152d38}
.st-facts dd .hr-mp-end{font-weight:700;color:#2f5260}
.st-facts dd .hr-st-btn{display:inline;white-space:normal}

/* ---------- R43: the same call in the other language (only with both recordings: html.hr-both) */
.hr-alt{display:inline-flex;align-items:center;gap:5px;min-height:32px;padding:0 2px;border:0;background:none;color:#304ee7;font:700 12.5px/1.2 Manrope,system-ui,sans-serif;
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;white-space:nowrap;cursor:pointer}
.hr-alt:hover{text-decoration-thickness:2px}
.hr-alt .hr-ico{font-size:.85em;text-decoration:none}
.hr-alt:focus-visible{outline:2px solid #304ee7;outline-offset:2px;border-radius:3px}
.hr-end-acts{display:inline-flex;flex-wrap:wrap;align-items:center;gap:2px 16px}
.hr-mp-foot{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:2px 14px}
.hr-mp-foot .hr-mp-text{flex:1 1 auto;min-width:0}
.hr-mp-foot .hr-mp-alt{min-height:28px;font-size:12.5px}
.hr-st-both{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px}
.hr-st-langs{display:inline-flex;align-items:center;gap:0 8px;white-space:nowrap}
.st-facts dd .hr-st.hr-st-both span.hr-st-langs:not(.hr-prog):not(.hr-ico){display:inline-flex;gap:0 8px;margin:0}
.st-facts dd .hr-st.hr-st-both span.hr-st-dot:not(.hr-prog):not(.hr-ico){color:#9aa6a1}
.hr-st-both .hr-st-dot{color:#9aa6a1;font-weight:700}
.hr-st-lang[aria-expanded=true]{text-decoration-thickness:2px}
.st-facts dd .hr-st-both>.hr-st-lab{display:inline;margin:0;font-size:14px;color:#33423f}
.st-facts dd .hr-st-both .hr-st-dot{display:inline;color:#9aa6a1}

/* ---------- phone: the two task buttons one under the other, 44 px, full width */
@media (max-width:620px){
  .hr-head{grid-template-columns:auto minmax(0,1fr)}
  .hr-meta{grid-column:2;justify-items:start;display:flex;flex-wrap:wrap;gap:0 8px;margin-top:-4px}
  /* phone: row 1 the two buttons (44 px), row 2 the note in one line, row 3 „Auch auf Englisch“ left, „Lösung lesen“ right */
  .tg-bar.hr-has-ctl{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"row row" "note note" "alt sol";gap:4px 10px}
  .hr-has-ctl .hr-ctl-row{width:100%;justify-self:stretch}
  .hr-has-ctl .hr-line{display:contents}
  .hr-has-ctl .hr-sep{display:none}
  .hr-has-ctl .hr-note{grid-area:note;margin:2px 0 0;font:600 12px/1.4 Manrope,system-ui,sans-serif;color:#56645f}
  .hr-has-ctl .hr-alt-ctl{grid-area:alt;justify-self:start;min-height:44px;font-size:12.5px}
  .hr-has-ctl>.tg-sol-btn{min-height:44px;font-size:12.5px}
  .hr-btn{flex:1;justify-content:center;min-height:44px;font-size:13.5px}
  .hr-stop{min-height:44px}
  .hr-head{gap:2px 12px;padding:11px 12px 10px 14px}
  .hr-face-call{grid-row:1/span 2}
  .hr-msgs{max-height:300px;padding:10px 12px 12px}
  .hr-msg{max-width:92%}
  .hr-mp-row{gap:8px}
  .hr-alt,.hr-st-lang{min-height:40px}
  /* the small player (/kontakt, /status): every target 44 px on the phone */
  .hr-mp-play,.hr-mp-stop{width:44px;height:44px}
  .hr-mp-text summary,.hr-mp-foot .hr-mp-alt{min-height:44px}
}

/* ---------- calm: no movement, the ring stands (speaking = a steady blue ring) */
html[data-read=on] :is(.hr-face,.hr-btn),html.motion-paused :is(.hr-face,.hr-btn){transition:none!important}
html[data-read=on] .hr-msg.hr-in,html.motion-paused .hr-msg.hr-in,html[data-read=on] .hr-dots i,html.motion-paused .hr-dots i{animation:none!important}
html[data-read=on] .hr-msgs,html.motion-paused .hr-msgs{scroll-behavior:auto}
html[data-read=on] .hr-msg p{font-size:16px;line-height:1.6}
html[data-read=on] .hr-mp-sub,html[data-read=on] .hr-mp-text{font-size:16px;line-height:1.6}
html[data-read=on] :is(.hr-line,.hr-has-ctl .hr-note,.hr-has-ctl .hr-hint){font-size:14px!important}
/* easy reading on the phone: the larger links get a line each (otherwise „Auch auf Englisch hören“ runs into „Lösung lesen“) */
@media (max-width:620px){html[data-read=on] .tg-bar.hr-has-ctl{grid-template-areas:"row row" "note note" "alt alt" "sol sol";gap:0 10px}html[data-read=on] .hr-has-ctl>.tg-sol-btn{justify-self:start}}
html[data-read=on] .hr-has-ctl :is(.hr-alt-ctl,.tg-sol-btn){font-size:14px}
@media (prefers-reduced-motion:reduce){.hr-face,.hr-btn{transition:none!important}.hr-msg.hr-in,.hr-dots i{animation:none!important}.hr-msgs{scroll-behavior:auto}}
@media (forced-colors:active){
  .hr-face{box-shadow:none;outline:2px solid CanvasText;outline-offset:2px}
  [data-speaking="1"] .hr-face{outline:4px solid Highlight}
  .hr-msg.is-now p,.hr-mp-sub.is-furkan span,.hr-mp-text li.is-now span{outline:2px solid Highlight}
  .hr-prog i{background:Highlight}
  .hr-alt{color:LinkText}
}

/* ---------- R44: /kontakt – while the player is open, the row does not stretch the other cards (hoer.js keeps their height) */
.kt-sits.hr-mp-on{align-items:start}
/* ---------- R44: the floating „Anrufen | E-Mail“ pill steps aside while the voice sample is open or an answer field has the focus
   (the switch itself is in feinschliff.js: html.hr-dock-off) */

/* R45 (ZIEL45 start 1): heard to the end = solved. One honest line under the chat window, ink and blue, no red, no effect. */
.hr-solved{display:flex;align-items:baseline;gap:8px;margin:10px 0 0;font:700 13px/1.45 Manrope,system-ui,sans-serif;color:#2f5260}
.hr-solved[hidden]{display:none}
.hr-solved-ico{flex:none;color:#304ee7;font-weight:800}
html[data-read=on] .hr-solved{font-size:15px}
@media (max-width:620px){.hr-solved{font-size:13px;margin-top:12px}}
