/* „Melde es dem Käfer“ (js/lernen-kaefer.js): schwebender Knopf mit Käfer und „melden“, Popup im Stil von „Bug reporten“, Fokustag-Sprechblase. */
.kf-knopf{position:fixed;right:18px;bottom:18px;z-index:60;display:flex;align-items:center;gap:8px;padding:6px 16px 6px 6px;border-radius:999px;border:2px solid #101820;background:#fcebc1;color:#101820;
  font:800 15px/1 var(--font,system-ui);box-shadow:0 10px 26px rgba(16,24,32,.28);cursor:pointer;transition:transform .15s,box-shadow .15s}
.kf-knopf img{width:40px;height:40px;border-radius:50%;background:#fff;border:2px solid #fff;object-fit:cover}
.kf-knopf:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(16,24,32,.32)}
.kf-knopf:focus-visible{outline:3px solid #00797b;outline-offset:3px}
.kf-knopf.fokus{background:#f0b54a;animation:kf-wackeln 2.4s ease-in-out infinite}
.kf-knopf.fokus img{width:48px;height:48px}
@keyframes kf-wackeln{0%,86%,100%{transform:rotate(0)}89%{transform:rotate(-6deg)}93%{transform:rotate(6deg)}96%{transform:rotate(-3deg)}}
.kf-blase{position:fixed;right:18px;bottom:86px;z-index:60;max-width:300px;padding:10px 34px 10px 14px;border-radius:14px;background:#fff;border:2px solid #f0b54a;box-shadow:0 10px 24px rgba(16,24,32,.2);font-size:14px;line-height:1.4}
.kf-blase::after{content:"";position:absolute;right:38px;bottom:-10px;border:9px solid transparent;border-top-color:#f0b54a;border-bottom:0}
.kf-blase strong{display:block}
.kf-blase-zu{position:absolute;right:6px;top:4px;border:0;background:none;font-size:20px;line-height:1;cursor:pointer;color:#536373;padding:4px}
@media(max-width:600px){
  .kf-knopf{right:10px;bottom:84px;padding:4px;gap:0}
  .kf-knopf img{width:38px;height:38px}
  .kf-knopf .kf-knopf-text{position:absolute;bottom:-6px;left:50%;transform:translateX(-50%);font-size:10px;padding:1px 6px;border-radius:999px;background:#101820;color:#fcebc1}
  .kf-knopf.fokus img{width:44px;height:44px}
  .kf-blase{right:10px;bottom:140px;max-width:calc(100vw - 20px)}
}
@media (prefers-reduced-motion:reduce){.kf-knopf,.kf-knopf.fokus{animation:none;transition:none}}

/* Popup */
.kf-ov{position:fixed;inset:0;z-index:1000;background:rgba(9,14,19,.55);display:flex;align-items:center;justify-content:center;padding:16px}
.kf-box{width:min(560px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;border-radius:20px;border:3px solid #101820;box-shadow:0 24px 60px rgba(0,0,0,.35);padding:18px 20px 16px;font-size:15px;color:#101820}
.kf-kopf{display:flex;align-items:center;gap:12px;margin-bottom:4px}
.kf-kopf img{width:56px;height:56px;border-radius:50%;background:#fcebc1;border:2px solid #101820;flex:0 0 auto}
.kf-kopf h2{flex:1;margin:0;font:700 clamp(24px,4vw,30px)/1.1 var(--headline,Impact,sans-serif);letter-spacing:-.01em}
.kf-zu{border:0;background:none;font-size:28px;line-height:1;cursor:pointer;padding:4px 8px;color:#536373}
.kf-hinweis{margin:6px 0 10px;padding:8px 12px;border-radius:12px;background:#e8f4ee;color:#176440;font-weight:700}
.kf-stelle{margin:0 0 10px;font-size:13.5px;color:#3d4b57;overflow-wrap:anywhere}
.kf-arten{border:0;margin:0 0 10px;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.kf-arten legend{font-weight:800;font-size:14px;margin:0 0 6px;padding:0}
.kf-art{display:inline-flex;align-items:center;gap:6px;padding:6px 12px 6px 8px;border:1px solid #cdbb88;border-radius:999px;cursor:pointer;font-weight:700;font-size:14px;background:#fff}
.kf-art input{width:18px;height:18px;margin:0;accent-color:#101820}
.kf-art:has(input:checked){background:#fcebc1;border-color:#101820}
.kf-feld{display:block}
.kf-feld>span{display:block;font-weight:800;font-size:14px;margin-bottom:4px}
.kf-feld textarea{width:100%;box-sizing:border-box;min-height:110px;padding:10px 12px;border:1px solid #abb9c4;border-radius:12px;font:inherit;font-size:16px;resize:vertical}
.kf-zaehler{display:block;text-align:right;font-size:12px;color:#536373;margin-top:2px}
.kf-zaehler.voll{color:#a32020;font-weight:700}
.kf-meldung{min-height:1.2em;margin:6px 0;font-weight:700;font-size:14px}
.kf-ok{color:#176440}.kf-fehler{color:#a32020}
.kf-knoepfe{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.kf-ab,.kf-los{font:inherit;font-weight:800;font-size:15px;min-height:44px;padding:8px 18px;border-radius:12px;cursor:pointer}
.kf-ab{background:#eff4f6;border:1px solid #ced9e0;color:#101820}
.kf-los{display:inline-flex;align-items:center;gap:8px;background:#101820;border:1px solid #101820;color:#fcebc1}
.kf-los img{width:22px;height:22px;border-radius:50%;background:#fff}
.kf-los:disabled{opacity:.5;cursor:wait}
.kf-det{margin-top:12px;border-top:1px solid #dbe3e9;padding-top:8px}
.kf-det summary{cursor:pointer;font-weight:800;font-size:14px}
.kf-leise{font-size:12.5px;color:#536373;margin:2px 0}
.kf-meine{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:8px}
.kf-meine li{border:1px solid #dbe3e9;border-radius:12px;padding:8px 10px;background:#f8fafb}
.kf-m-kopf{display:flex;flex-wrap:wrap;gap:6px 10px;align-items:center}
.kf-m-art{font-weight:800;font-size:13px}
.kf-m-status{font-size:12px;font-weight:700;padding:1px 8px;border-radius:999px;background:#eef2f5}
.kf-m-status.st-neu{background:#fff1d6;color:#8a5300}.kf-m-status.st-besprochen{background:#e0f0fb;color:#0b5c8a}.kf-m-status.st-erledigt{background:#e5f3eb;color:#176440}
.kf-m-text{margin:4px 0;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}
.kf-m-antwort{margin:6px 0 0;padding:6px 10px;border-radius:10px;background:#e8f4ee;font-size:14px}
@media(max-width:600px){.kf-box{padding:14px 14px 12px;border-radius:16px}.kf-kopf img{width:44px;height:44px}.kf-ab,.kf-los{flex:1}}
