/* Kundenportal · „Dein Team“ (18.10.2026) — eigene Datei, nicht mit dem Admin-Büro geteilt (Regel „Stildateien nicht teilen“).
   Die Klassen bu-buehne, bu-schild*, bu-tip, bu-pausen und bu-blase legt das 3D-Büro (buero-szene.js, buero-pausen.js) selbst an;
   sie stehen deshalb hier noch einmal, unabhängig von /css/kunden-admin-buero.css. */

/* ---------- 3D-Büro ---------- */
.kt-buehne{ position: relative; height: min(56vh, 520px); min-height: 380px; margin-bottom: 18px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--ld-rand); background: radial-gradient(120% 90% at 50% 40%, var(--ld-seite) 0%, var(--ld-grund) 70%) }
.kt-buehne canvas{ display: block; width: 100%; height: 100%; cursor: grab; touch-action: none }
.kt-buehne canvas:active{ cursor: grabbing }
.kt-hinweis{ position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: 12px; color: var(--ld-text-3); pointer-events: none }
.bu-schilder{ position: absolute; inset: 0; pointer-events: none; overflow: hidden }
.bu-schild{ position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); pointer-events: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  padding: 6px 10px 7px; border-radius: 10px; border: 1px solid var(--ld-rand-stark); background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(11, 13, 22, .12); backdrop-filter: blur(6px);
  color: var(--ld-text); font: inherit; text-align: left; white-space: nowrap; cursor: pointer; transition: border-color .15s }
.bu-schild:hover{ border-color: var(--ton) }
.bu-schild--unten{ transform: translate(-50%, 8px) }
.bu-schild strong{ display: flex; align-items: center; gap: 7px; font-size: 13px }
.bu-schild small{ font-size: 11.5px; color: var(--ld-text-2) }
.bu-schild--aus{ opacity: .72 }
.bu-punkt{ flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ton) }
.bu-tip{ position: absolute; left: 0; top: 0; transform: translate(-50%, -135%); pointer-events: none; padding: 4px 9px; border-radius: 8px; white-space: nowrap;
  background: var(--ld-flaeche-3); border: 1px solid var(--ld-rand-stark); color: var(--ld-text); font-size: 12px; font-weight: 600 }
.bu-pausen{ position: absolute; inset: 0; pointer-events: none; overflow: hidden }
.bu-blase{ position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); padding: 4px 9px 5px; border-radius: 9px; white-space: nowrap;
  background: rgba(255, 255, 255, .96); box-shadow: 0 2px 10px rgba(11, 13, 22, .12); border: 1px solid var(--ld-rand-stark); color: var(--ld-text-2); font-size: 11.5px; line-height: 1.35 }
.bu-blase b{ color: var(--ld-text); font-weight: 600 }
.bu-blase span{ color: #146c35; font-size: 10.5px }

/* ---------- Karten je Person ---------- */
.kt-raster{ display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 14px; align-items: start }
.kt-karte{ display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 16px; border-radius: 14px; background: var(--ld-flaeche);
  border: 1px solid var(--ld-rand); border-top: 3px solid var(--ton); scroll-margin: 90px }
.kt-karte--aus{ opacity: .78 }
.kt-karte--blink{ animation: kt-blink 1.4s ease }
@keyframes kt-blink{ 0%, 60%{ box-shadow: 0 0 0 3px var(--ton) } 100%{ box-shadow: 0 0 0 0 transparent } }
.kt-kopf{ display: flex; align-items: center; gap: 12px }
.kt-kopf h2{ margin: 0; font-size: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.kt-kopf p{ margin: 2px 0 0; font-size: 12.5px; color: var(--ld-text-3) }
.kt-avatar{ flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #11131f;
  background: var(--ton); box-shadow: 0 0 14px color-mix(in srgb, var(--ton) 55%, transparent) }
.kt-avatar--mensch{ background: #e6e8f2; box-shadow: none }
.kt-ki{ padding: 2px 8px; border-radius: 99px; font-size: 11px; font-weight: 600; color: var(--ld-text-2); border: 1px solid var(--ld-rand-stark) }
.kt-ki--mensch{ color: var(--ld-text-3) }
.kt-satz{ margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ld-text-2) }
.kt-karte p{ margin: 0 }
.kt-leise{ font-size: 13px; color: var(--ld-text-3); line-height: 1.5 }
.kt-liste{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px }
.kt-liste li{ display: flex; gap: 9px; align-items: flex-start; font-size: 13px; line-height: 1.45; color: var(--ld-text-2); overflow-wrap: anywhere }
.kt-liste li b{ color: var(--ld-text); font-weight: 600 }
.kt-liste li em{ color: #a8430a; font-style: normal }
.kt-zeit{ flex: none; font-size: 12px; color: var(--ld-text-3); font-variant-numeric: tabular-nums; min-width: 92px }
.kt-stand{ flex: none; padding: 2px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; white-space: nowrap; border: 1px solid currentColor }
.kt-stand--blau{ color: #1d4ed8 } .kt-stand--violett{ color: #5b21b6 } .kt-stand--gelb{ color: #fde047 }
.kt-stand--gruen{ color: #146c35 } .kt-stand--orange{ color: #a8430a } .kt-stand--grau{ color: #9aa1b5 }
.kt-frage{ padding: 8px; border-radius: 10px; background: rgba(234,108,16,.08) }
.kt-mehr summary{ cursor: pointer; font-size: 13px; color: var(--ld-link) }
.kt-mehr .kt-liste{ margin-top: 8px }

/* 01.11.2026: auch auf dem Handy (René: Raum betreten und Chat überall), etwas niedriger */
@media (max-width: 759px){ .kt-buehne{ height: 62svh; min-height: 340px } .kt-hinweis{ display: none } .bu-schild small{ display: none } .bu-schild{ padding: 4px 8px 5px } }
@media (prefers-reduced-motion: reduce){ .kt-karte--blink{ animation: none } }

/* „E-Mails“ (kundenportal-mails.js, 19.10.2026) */
.km-leise{ color: var(--ld-text-3) }
.km-liste{ display: grid; gap: 8px }
.km-mail{ border: 1px solid var(--ld-rand); border-radius: 12px; background: var(--ld-flaeche); overflow: hidden }
.km-mail--aus{ border-left: 3px solid var(--ld-blau, #0090fc) }
.km-mail summary{ cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; padding: 11px 14px; list-style: none }
.km-mail summary::-webkit-details-marker{ display: none }
.km-wer{ font-size: 12px; font-weight: 700; color: var(--ld-text-3); text-transform: uppercase; letter-spacing: .04em }
.km-betreff{ font-weight: 600; min-width: 0; overflow-wrap: anywhere }
.km-zeit{ font-size: 12.5px; color: var(--ld-text-3); white-space: nowrap }
.km-inhalt{ padding: 0 14px 14px; display: grid; gap: 8px }
.km-kopf, .km-anhang{ margin: 0; font-size: 13px; color: var(--ld-text-3) }
.km-text{ white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; line-height: 1.55; max-height: 60vh; overflow: auto }
@media (max-width: 560px){ .km-mail summary{ grid-template-columns: 1fr; gap: 2px } }

/* Shopify Monitoring buchen (kundenportal-monitoring.js, 19.10.2026): Seitenpanel aus „Dein Team“ */
.km-abo-zeile{ font-size: 13.5px; color: var(--ld-text-2) }
.km-abo-intro{ margin: 0 0 6px; color: var(--text); font-size: .95rem; line-height: 1.6 }
.km-abo-teil{ display: grid; gap: 10px; margin-top: 22px }
.km-abo-teil h3{ margin: 0; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-leise) }
.km-abo-liste{ display: grid; gap: 6px; margin: 0; padding-left: 1.1em; color: var(--text); font-size: .92rem; line-height: 1.5 }
.km-abo-preis{ margin: 0; font-size: 1rem; color: var(--text) }
.km-abo-preis b{ font-size: 1.5rem; font-variant-numeric: tabular-nums }
.km-abo-klein{ margin: 0; font-size: .82rem; color: var(--text-leise); line-height: 1.5 }
.km-abo-stand{ margin: 0; padding: 10px 14px; border-left: 2px solid var(--linie); color: var(--text); font-size: .92rem; line-height: 1.55 }
.km-abo-stand--an{ border-left-color: #95bf47 }
.km-abo-hinweis{ margin: 0; padding: 10px 14px; border-left: 2px solid #ea6c10; color: var(--text); font-size: .92rem; line-height: 1.55 }
.km-abo-buchen{ display: grid; gap: 12px; margin-top: 4px }
.km-abo-buchen .knopf{ justify-self: start }
.km-abo-haken{ display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; font-size: .9rem; line-height: 1.5; color: var(--text); cursor: pointer }
.km-abo-haken input{ margin-top: 3px; width: 18px; height: 18px; accent-color: #95bf47 }
.km-abo-haken a{ color: var(--ld-link, #1d4ed8) }
.km-abo-knoepfe{ display: flex; flex-wrap: wrap; gap: 12px; align-items: center }
.km-abo-gefahr{ border-color: #dc2626; color: #a51c1c }
.km-abo-gefahr:hover{ background: rgba(220,38,38,.12) }
/* Hinweis mit Vorschlag zum Beheben (kundenportal-team.js, 19.10.2026) */
.kt-vorschlag{ display: inline-block; margin-top: 4px; font-size: 13px; color: var(--ld-text-2) }
.kt-vorschlag-knoepfe{ display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px }

/* ---------- „Raum betreten“ und Ich-Perspektive (buero-szene.js, buero-ego.js, 01.11.2026) ---------- */
.bu-eingaenge{ position: absolute; inset: 0; pointer-events: none; overflow: hidden }
.bu-eingang{ position: absolute; left: 0; top: 0; transform: translate(-50%, 6px); pointer-events: auto; display: inline-flex; align-items: center; gap: 5px;
  min-height: 30px; padding: 0 11px; border-radius: 99px; border: 1px solid var(--ld-rand-stark); background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 10px rgba(11, 13, 22, .14); color: var(--ld-text); font: inherit; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer }
.bu-eingang--mitte{ transform: translate(-50%, 60px) }
.bu-eingang:hover{ border-color: var(--ld-text-3) }
.bu-eingang:focus-visible{ outline: 2px solid #6a2cd8; outline-offset: 2px }
.bu-eingang span[aria-hidden]{ font-size: 13px; line-height: 1 }
.bu-ego{ position: absolute; inset: 0; pointer-events: none; z-index: 3 }
.bu-ego-kopf{ position: absolute; top: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; pointer-events: auto;
  padding: 4px 12px 4px 4px; border-radius: 99px; background: rgba(255, 255, 255, .95); border: 1px solid var(--ld-rand-stark); box-shadow: 0 2px 12px rgba(11, 13, 22, .16) }
.bu-ego-raus{ display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border: 0; border-radius: 99px; background: #111827; color: #fff;
  font: inherit; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer }
.bu-ego-raus:focus-visible{ outline: 2px solid #6a2cd8; outline-offset: 2px }
.bu-ego-titel{ font-size: 13.5px; color: var(--ld-text); white-space: nowrap }
.bu-ego-hilfe{ position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); margin: 0; padding: 5px 12px; border-radius: 99px; max-width: calc(100% - 32px);
  background: rgba(17, 24, 39, .72); color: #fff; font-size: 12px; text-align: center; pointer-events: none }
.bu-ego-namen{ position: absolute; inset: 0; overflow: hidden; pointer-events: none }
.bu-ego-kreuz{ position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; display: none; pointer-events: none }
.bu-ego-kreuz::before, .bu-ego-kreuz::after{ content: ""; position: absolute; background: rgba(255, 255, 255, .95); box-shadow: 0 0 0 1px rgba(17, 24, 39, .55) }
.bu-ego-kreuz::before{ left: 10px; top: 2px; width: 2px; height: 18px }
.bu-ego-kreuz::after{ top: 10px; left: 2px; height: 2px; width: 18px }
.bu-ego--gefangen .bu-ego-kreuz{ display: block }
.bu-ego-kreuz--person::before, .bu-ego-kreuz--person::after{ background: #25d366 }
.bu-ego-name{ position: absolute; left: 0; top: 0; padding: 3px 9px; border-radius: 99px; background: rgba(255, 255, 255, .94); color: #111827; font-size: 12px; font-weight: 600;
  box-shadow: 0 1px 6px rgba(11, 13, 22, .18); white-space: nowrap; transform-origin: 50% 100% }
.bu-ego-name--aus{ opacity: .6 }
.bu-ego-stick{ position: absolute; left: 22px; bottom: 54px; width: 116px; height: 116px; border-radius: 50%; pointer-events: auto; touch-action: none; display: none;
  background: rgba(17, 24, 39, .22); border: 2px solid rgba(255, 255, 255, .7); backdrop-filter: blur(4px) }
.bu-ego-stick span{ position: absolute; left: 50%; top: 50%; width: 50px; height: 50px; margin: -25px 0 0 -25px; border-radius: 50%; background: rgba(255, 255, 255, .92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25) }
@media (pointer: coarse){ .bu-ego-stick{ display: block } }
.bu-buehne--ego .bu-pausen, .bu-buehne--ego .bu-tip, .bu-buehne--ego .bu-legende, .bu-buehne--ego .bu-hinweis, .bu-buehne--ego .kt-hinweis{ display: none }
@media (max-width: 720px){
  .bu-eingang{ min-height: 28px; padding: 0 9px; font-size: 11.5px }
  .bu-eingang-text{ font-size: 0 }
  .bu-eingang-text::after{ content: "Betreten"; font-size: 11.5px }
  .bu-ego-hilfe{ display: none }
}

/* Handy: im Raum über den ganzen Bildschirm */
@media (max-width: 720px){
  .bu-buehne.bu-buehne--ego{ position: fixed; inset: 0; z-index: 65; height: auto; min-height: 0; margin: 0; border: 0; border-radius: 0 }
  .bu-buehne--ego .bu-voll{ display: none }
  .bu-ego-kopf{ top: calc(10px + env(safe-area-inset-top, 0px)) }
  .bu-ego-stick{ bottom: calc(40px + env(safe-area-inset-bottom, 0px)) }
}

/* ---------- Chat mit einer Fachkraft im Look von WhatsApp (buero-chat.js, 01.11.2026) ---------- */
.wa{ position: fixed; top: 0; right: 0; bottom: 0; z-index: 75; width: min(420px, 100%); display: flex; flex-direction: column; box-sizing: border-box;
  background: #efeae2; color: #111b21; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: 14.5px;
  box-shadow: -8px 0 32px rgba(11, 13, 22, .22); transform: translateX(104%); transition: transform .22s cubic-bezier(.2, .8, .2, 1) }
.wa--an{ transform: none }
.wa[hidden]{ display: none }
.wa-kopf{ flex: none; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 8px 6px;
  background: #f0f2f5; border-bottom: 1px solid #d1d7db }
.wa-zu, .wa-details{ display: inline-grid; place-items: center; border: 0; background: transparent; color: #54656f; font: inherit; cursor: pointer }
.wa-zu{ width: 40px; height: 40px; border-radius: 50% }
.wa-zu svg{ width: 22px; height: 22px; fill: currentColor }
.wa-zu:hover, .wa-details:hover{ background: rgba(11, 20, 26, .06) }
.wa-bild{ flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-ton, #6a2cd8); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .25) }
.wa-wer{ min-width: 0; flex: 1; display: flex; flex-direction: column; line-height: 1.25 }
.wa-name{ font-size: 16px; font-weight: 500; color: #111b21; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.wa-stand{ font-size: 13px; color: #667781 }
.wa-stand--schreibt{ color: #008069 }
.wa-details{ padding: 7px 12px; border-radius: 99px; border: 1px solid #d1d7db; background: #fff; color: #111b21; font-size: 13px; font-weight: 500 }
.wa-verlauf{ flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 10px 14px 8px; display: flex; flex-direction: column; gap: 2px;
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0, 0, 0, .035) 1px, transparent 1.4px), radial-gradient(rgba(0, 0, 0, .025) 1px, transparent 1.4px);
  background-size: 22px 22px, 22px 22px; background-position: 0 0, 11px 11px }
.wa-chip{ align-self: center; margin: 8px 0 6px; padding: 5px 12px; border-radius: 8px; background: #fff; color: #54656f; font-size: 12.5px;
  box-shadow: 0 1px .5px rgba(11, 20, 26, .13); text-align: center; max-width: 88% }
.wa-chip--hinweis{ background: #ffeecd; color: #54656f; font-size: 12px; line-height: 1.4 }
.wa-zeile{ display: flex; flex-direction: column; margin-top: 8px }
.wa-zeile--folgt{ margin-top: 2px }
.wa-zeile--ich{ align-items: flex-end }
.wa-zeile--sie{ align-items: flex-start }
.wa-blase{ position: relative; max-width: min(82%, 520px); padding: 6px 8px 8px 9px; border-radius: 8px; background: #fff; box-shadow: 0 1px .5px rgba(11, 20, 26, .13);
  line-height: 1.4; overflow-wrap: anywhere; white-space: normal }
.wa-zeile--ich .wa-blase{ background: #d9fdd3 }
.wa-zeile--ich:not(.wa-zeile--folgt) .wa-blase{ border-top-right-radius: 0 }
.wa-zeile--sie:not(.wa-zeile--folgt) .wa-blase{ border-top-left-radius: 0 }
.wa-zeile--ich:not(.wa-zeile--folgt) .wa-blase::before, .wa-zeile--sie:not(.wa-zeile--folgt) .wa-blase::before{ content: ""; position: absolute; top: 0; width: 8px; height: 13px }
.wa-zeile--ich:not(.wa-zeile--folgt) .wa-blase::before{ right: -8px; background: #d9fdd3; clip-path: polygon(0 0, 100% 0, 0 100%) }
.wa-zeile--sie:not(.wa-zeile--folgt) .wa-blase::before{ left: -8px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%) }
.wa-text a{ color: #027eb5 }
.wa-zeit{ float: right; display: inline-flex; align-items: center; gap: 3px; margin: 8px 0 -4px 10px; font-size: 11px; color: #667781; line-height: 1; white-space: nowrap }
.wa-haken{ display: inline-flex }
.wa-haken svg{ width: 16px; height: 11px; fill: #8696a0 }
.wa-haken--gelesen svg{ fill: #53bdeb }
.wa-blase--fehler{ opacity: .7 }
.wa-nochmal{ margin-top: 3px; border: 0; background: transparent; color: #c0392b; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline }
.wa-tippt{ display: inline-flex; gap: 4px; padding: 12px 14px }
.wa-tippt i{ width: 7px; height: 7px; border-radius: 50%; background: #8696a0; animation: wa-punkt 1.2s infinite ease-in-out }
.wa-tippt i:nth-child(2){ animation-delay: .15s }
.wa-tippt i:nth-child(3){ animation-delay: .3s }
@keyframes wa-punkt{ 0%, 60%, 100%{ transform: translateY(0); opacity: .5 } 30%{ transform: translateY(-4px); opacity: 1 } }
.wa-eingabe{ flex: none; display: flex; align-items: flex-end; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: #f0f2f5 }
.wa-feld{ flex: 1; min-width: 0; display: flex; padding: 9px 14px; border-radius: 22px; background: #fff }
.wa-feld textarea{ flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: #111b21; font: inherit; font-size: 16px; line-height: 1.35; max-height: 120px }   /* 16 px: darunter zoomt iOS beim Antippen hinein (René 01.11.2026) */
.wa-sr{ position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.wa-senden{ flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #00a884; color: #fff; cursor: pointer }
.wa-senden svg{ width: 22px; height: 22px; fill: currentColor; margin-left: 2px }
.wa-senden:hover{ background: #008f72 }
.wa-zu:focus-visible, .wa-details:focus-visible, .wa-senden:focus-visible{ outline: 2px solid #008069; outline-offset: 2px }
.wa-feld:focus-within{ box-shadow: 0 0 0 2px rgba(0, 168, 132, .35) }
@media (max-width: 640px){
  .wa{ width: 100%; box-shadow: none }
  html.wa-offen{ overflow: hidden }
}
@media (prefers-reduced-motion: reduce){ .wa{ transition: none } .wa-tippt i{ animation: none; opacity: .8 } }

/* Auswahl beim Anklicken einer Person: Details oder Chat (buero-chat.js personMenue, 01.11.2026) */
.wa-menue{ position: fixed; z-index: 76; min-width: 210px; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--ld-rand-stark, #d1d5db);
  box-shadow: 0 12px 32px rgba(11, 13, 22, .22); display: grid; gap: 4px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif }
.wa-menue-kopf{ display: flex; align-items: center; gap: 9px; margin: 2px 4px 6px; color: #111827; line-height: 1.25 }
.wa-menue-kopf strong{ display: block; font-size: 14px }
.wa-menue-kopf small{ display: block; font-size: 12px; color: #6b7280 }
.wa-menue-bild{ flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--wa-ton, #6a2cd8); color: #fff; font-size: 12.5px; font-weight: 600 }
.wa-menue button{ min-height: 40px; padding: 0 12px; border: 0; border-radius: 9px; background: #f3f4f6; color: #111827; font: inherit; font-size: 14px; font-weight: 600; text-align: left; cursor: pointer }
.wa-menue button:hover, .wa-menue button:focus-visible{ background: #e5e7eb; outline: none }
.wa-menue button[data-menue="chat"]{ background: #d9fdd3 }
.wa-menue button[data-menue="chat"]:hover, .wa-menue button[data-menue="chat"]:focus-visible{ background: #c3f5ba }

/* ---------- Tag und Nacht, Ton, Arbeit sichtbar (02.11.2026: buero-tageszeit.js, buero-ton.js, buero-arbeit.js) ---------- */
.bu-tagleiste{ position: absolute; top: 12px; left: 50%; transform: translateX(-50%); z-index: 2; width: max-content; display: flex; align-items: center; gap: 6px; pointer-events: none }
.bu-zeit, .bu-ton{ display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 11px; border-radius: 9px; border: 1px solid var(--ld-rand-stark);
  background: rgba(255, 255, 255, .94); box-shadow: 0 2px 10px rgba(11, 13, 22, .12); backdrop-filter: blur(6px); color: var(--ld-text-2); font: inherit; font-size: 12.5px; white-space: nowrap }
.bu-zeit:empty{ display: none }
.bu-zeit b{ color: var(--ld-text); font-weight: 700; font-variant-numeric: tabular-nums }
.bu-ton{ pointer-events: auto; cursor: pointer; font-weight: 600; color: var(--ld-text) }
.bu-ton:hover{ border-color: var(--ld-text-3) }
.bu-ton[aria-pressed="true"]{ background: #ecfdf3; border-color: #86efac; color: #146c35 }
.bu-zeit svg, .bu-ton svg{ flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.bu-buehne--ego .bu-zeit{ display: none }
.bu-buehne--ego .bu-tagleiste{ top: auto; bottom: 14px; left: auto; right: 14px; transform: none; z-index: 3 }
@media (max-width: 759px){ .bu-tagleiste{ top: 54px } .bu-ton span{ display: none } .bu-ton{ padding: 0 9px } .bu-zeit{ font-size: 11.5px } }
.bu-blase--arbeit i, .bu-blase--akte i{ display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; vertical-align: 1px }
.bu-blase--arbeit span{ color: var(--ld-text-2) }
.bu-blase--akte{ border-color: #c4b5fd; background: #f5f3ff }
.bu-ego-name small{ display: block; margin-top: 1px; font-size: 10.5px; font-weight: 500; color: #4b5563; text-align: center }
.bu-ego-name small[hidden]{ display: none }
.bu-ego-name:has(small:not([hidden])){ border-radius: 10px }
/* Ich-Perspektive auf dem iPhone (02.11.2026): kein Kontextmenü und keine Lupe bei langem Drücken, kein Doppeltipp-Zoom auf Knöpfen,
   die Seite dahinter scrollt nicht mit, Abstand zu Notch und Home-Leiste (env() ist 0, wo es keine gibt) */
.bu-buehne--ego, .bu-buehne--ego canvas{ -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent }
.bu-buehne--ego button{ touch-action: manipulation }
@media (pointer: coarse){
  body:has(.bu-buehne--ego){ overflow: hidden; overscroll-behavior: none }
  .bu-buehne--ego .bu-ego-kopf{ top: calc(12px + env(safe-area-inset-top, 0px)) }
  .bu-buehne--ego .bu-ego-stick{ bottom: calc(54px + env(safe-area-inset-bottom, 0px)); left: calc(22px + env(safe-area-inset-left, 0px)) }
  .bu-buehne--ego .bu-ego-hilfe{ bottom: calc(12px + env(safe-area-inset-bottom, 0px)) }
  .bu-buehne--ego .bu-tagleiste{ bottom: calc(14px + env(safe-area-inset-bottom, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)) }
}

/* Chat: „Ja, als Wunsch aufnehmen“ unter der Frage der Fachkraft (René 12.11.2026, Schritt 5) */
.wa-wunsch{ margin-top: 6px; padding: 7px 12px; border: 1px solid rgba(7,94,84,.4); border-radius: 16px; background: #fff; color: #075e54;
  text-decoration: none; font-size: 13px; font-weight: 600 }
.wa-wunsch:focus-visible{ outline: 2px solid #075e54; outline-offset: 2px }
