.kp-akte [hidden],.kq-list [hidden]{display:none!important}
.kp-akte,.kq-list{max-width:1040px;margin:0 auto;padding:24px 16px 60px;color:#1F3347;--navy:#1F3347;--red:#B3262E;--teal:#2A7F7A;--gold:#E0A100;--line:#e1e7f0;--lila:#3b1557}
.kp-akte h1{margin:6px 0 6px;font-size:clamp(26px,5vw,40px)}
.kq-top{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:14px;font-weight:700}.kq-top a{color:var(--navy)}
.kq-hstate{background:#ffdf00;border-radius:30px;padding:3px 12px;font-size:14px}.kq-hstate:empty{display:none}
.kq-tag{display:inline-block;background:var(--red);color:#fff;padding:4px 12px;border-radius:30px;font-size:13px;font-weight:800;letter-spacing:.06em}
.kq-head{background:linear-gradient(135deg,#3b1557,#6d2a8c);color:#fff;border-radius:16px;padding:22px 24px;margin-bottom:16px}.kq-head h1{color:#ffdf00}
.kq-stars{color:#ffdf00;font-size:20px;letter-spacing:3px}.kq-stars span{color:#fff;font-size:14px;letter-spacing:0;font-weight:700;margin-left:6px}
.kq-box{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin:14px 0}.kq-box h2{margin:0 0 10px;font-size:20px}
.kq-brief dl{display:grid;grid-template-columns:max-content 1fr;gap:6px 14px;margin:0}.kq-brief dt{font-weight:800;color:#54627a}.kq-brief dd{margin:0}
.kq-story p{line-height:1.55;margin:0 0 10px}.kq-notiz{background:#fff6d8;border-radius:10px;padding:10px 12px;margin:0!important}
.kq-h{margin:28px 0 6px;font-size:22px;color:var(--navy)}.kq-hint{color:#475467;margin:0 0 12px;line-height:1.5}
.kq-gridwrap{overflow-x:auto;display:grid;grid-template-columns:clamp(24px,5vw,38px) minmax(0,500px);gap:4px;align-items:stretch;justify-content:start}
.kq-marker{display:grid;grid-template-rows:repeat(9,1fr);padding:3px 0}
.kq-marker img{width:100%;height:100%;object-fit:contain;padding:12% 0}
.kq-grid{display:grid;grid-template-columns:repeat(9,minmax(34px,1fr));max-width:500px;border:3px solid #000;user-select:none;-webkit-user-select:none}
.kq-cell{position:relative;aspect-ratio:1;display:flex;align-items:center;justify-content:center;text-align:center;font-size:clamp(8px,1.3vw,11px);line-height:1.1;padding:2px;cursor:pointer;border:1px solid rgba(0,0,0,.18);overflow:hidden;word-break:normal;overflow-wrap:break-word;-webkit-hyphens:auto;hyphens:auto}
.kq-cell.bt{border-top:2.5px solid #000}.kq-cell.bb{border-bottom:2.5px solid #000}.kq-cell.bl{border-left:2.5px solid #000}.kq-cell.br{border-right:2.5px solid #000}
.kq-cell.c1::after{content:"";position:absolute;inset:7%;border:3px solid #d62828;border-radius:50%}
.kq-cell.c2::after,.kq-cell.c3::after{content:"";position:absolute;inset:12%;z-index:1;background:linear-gradient(45deg,transparent calc(50% - 1.6px),rgba(31,51,71,.85) calc(50% - 1.6px),rgba(31,51,71,.85) calc(50% + 1.6px),transparent calc(50% + 1.6px)),linear-gradient(-45deg,transparent calc(50% - 1.6px),rgba(31,51,71,.85) calc(50% - 1.6px),rgba(31,51,71,.85) calc(50% + 1.6px),transparent calc(50% + 1.6px))}
.kq-cell.c3::after{background:linear-gradient(45deg,transparent calc(50% - 1.6px),rgba(31,51,71,.5) calc(50% - 1.6px),rgba(31,51,71,.5) calc(50% + 1.6px),transparent calc(50% + 1.6px)),linear-gradient(-45deg,transparent calc(50% - 1.6px),rgba(31,51,71,.5) calc(50% - 1.6px),rgba(31,51,71,.5) calc(50% + 1.6px),transparent calc(50% + 1.6px))}
.kq-cell.clash::after{border-color:#ff8a00;border-style:dashed}
.kq-cell.tip{animation:kqtip 1.2s ease 2}.kq-cell.bad{animation:kqbad 1.2s ease 2}
@keyframes kqtip{50%{box-shadow:inset 0 0 0 4px #2A7F7A}}@keyframes kqbad{50%{box-shadow:inset 0 0 0 4px #d62828}}
.kq-grid.ok{border-color:#1e7a35}.kq-grid.ok .kq-cell{cursor:default}
.kq-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin:12px 0}
.kq-btn{display:inline-block;border:0;border-radius:10px;padding:10px 16px;background:var(--navy);color:#fff;font:inherit;font-weight:800;cursor:pointer;text-decoration:none}
.kq-btn.light{background:#fff;color:var(--navy);border:1px solid var(--navy)}.kq-btn.red{background:var(--red)}.kq-btn:disabled{opacity:.45;cursor:not-allowed}
.kq-msg{font-weight:700}.kq-msg.ok{color:#1e7a35}.kq-msg.no{color:#b42318}
.kq-bew{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:10px}
.kq-bew div{border-radius:10px;padding:10px 12px;border:1px solid rgba(0,0,0,.08)}.kq-bew b{display:block}.kq-bew small{display:block;color:#344054}.kq-bew .ans{margin-top:6px;font-weight:800;background:rgba(255,255,255,.75);border-radius:8px;padding:4px 8px;display:inline-block}
.kq-tafelwrap{overflow-x:auto}
.kq-tafel{border-collapse:collapse;min-width:640px;width:100%;background:#fff}
.kq-tafel th,.kq-tafel td{border:1px solid #d0d5dd;padding:5px;text-align:center;font-size:13px}
.kq-tafel th img{width:54px;height:54px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 4px}
.kq-tafel th small{display:block;color:#667085;font-weight:400}
.kq-tafel td.lab{text-align:left;font-size:12px;min-width:150px}.kq-tafel td.lab b{display:block;font-size:13px}
.kq-tafel td.v{cursor:pointer}.kq-tafel td.v span{display:block;font-weight:700}.kq-tafel td.v i{display:inline-block;width:18px;height:18px;border:1.5px solid #667085;border-radius:3px;margin-top:3px;font-style:normal;line-height:16px;color:#d62828;font-weight:900}
.kq-tafel td.v.on{background:#fde4e1}.kq-tafel td.v.on i::after{content:"✓"}
.kq-tafel tr.sum td{font-weight:900;font-size:16px;color:var(--red)}
.kq-aussagen{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.kq-aus{display:block;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 16px;box-shadow:0 4px 12px rgba(16,24,40,.05);margin:0}
.kq-aus-kopf{display:grid;grid-template-columns:52px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;margin:0 0 10px}
.kq-aus-kopf img{grid-row:1/3;width:52px;height:52px;border-radius:50%;object-fit:cover;border:2px solid #e1e7f0}
.kq-aus-name{font-weight:800;font-size:16px;line-height:1.2;color:var(--navy)}
.kq-aus-rolle{font-size:13px;color:#667085;line-height:1.2}
.kq-aus-text{position:relative;margin:0;background:#f4f1ea;border-radius:12px;padding:10px 14px;font-style:italic;font-size:15px;line-height:1.45;color:#1d2939;quotes:"„" "“"}
.kq-aus-text::before{content:"";position:absolute;top:-8px;left:20px;border:8px solid transparent;border-top:0;border-bottom-color:#f4f1ea}
.kq-who{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin-bottom:12px}
.kq-who button{border:2px solid #dde3ea;background:#fff;border-radius:10px;padding:6px 4px;font:inherit;font-size:13px;cursor:pointer}.kq-who button img{display:block;width:52px;height:52px;border-radius:50%;object-fit:cover;margin:0 auto 4px}
.kq-who button.sel{border-color:var(--red);background:#fdecec}.kq-who button:disabled{cursor:default}
.kq-result{background:#e7f3ea;border:1px solid #9fd0ab;border-radius:14px;padding:20px;margin:16px 0}.kq-result h2{margin:0 0 6px}.kq-result h3{margin:14px 0 6px}.kq-result p{line-height:1.55}
.kq-hero{background:linear-gradient(135deg,#3b1557,#6d2a8c);color:#fff;border-radius:16px;padding:28px}.kq-hero h1{color:#ffdf00;margin:10px 0 8px;font-size:clamp(28px,5vw,44px)}.kq-hero p{color:#f1e6f7;max-width:760px}
.kq-stats{display:flex;gap:12px;flex-wrap:wrap;margin-top:14px}.kq-stats div{background:rgba(255,255,255,.12);border-radius:12px;padding:10px 14px}.kq-stats b{display:block;font-size:1.3rem;color:#ffdf00}
.kq-how{background:#fff;border:1px solid var(--line);border-radius:14px;padding:18px 20px;margin-top:20px}.kq-how ol{margin:6px 0 0;padding-left:20px;line-height:1.6}
.kq-legend{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;margin:18px 0 0;font-size:14px;color:#475467}
.kq-badge{padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800}.b-frei{background:#dcfae6;color:#067647}.b-konto{background:#e0eaff;color:#1d3fae}.b-kauf{background:#fef0c7;color:#93370d}.b-aus{background:#e4e7ec;color:#475467}
.kq-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px;margin-top:20px}
.kq-card{position:relative;display:flex;flex-direction:column;gap:6px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;text-decoration:none;color:inherit;box-shadow:0 6px 18px rgba(16,24,40,.06)}
.kq-card .kq-badge{position:absolute;top:14px;right:14px}.kq-card:hover{border-color:var(--lila)}
.kq-card .n{font-weight:900;color:var(--red);letter-spacing:.06em;font-size:13px}.kq-card .stars{color:var(--gold);letter-spacing:2px}.kq-card h2{font-size:1.1rem;margin:0}.kq-card .m{color:#667085;font-size:14px}
.kq-card .st{margin-top:auto;font-weight:800;font-size:14px}.kq-card .ok{color:#067647}.kq-card .lock{color:#b42318}
.kq-card.kq-off{opacity:.55;background:#f2f4f7;box-shadow:none}
@media(max-width:640px){.kq-who{grid-template-columns:repeat(3,minmax(0,1fr))}.kq-grid{grid-template-columns:repeat(9,minmax(29px,1fr))}}

/* ---------- Handy ---------- */
.kq-tafel.kq-tafel-m{min-width:0;background:none}
.kqm{display:grid;gap:12px}
.kqm-card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.kqm-card header{padding:10px 12px;display:grid;gap:2px}
.kqm-card header b{font-size:15px}.kqm-card header span{font-size:13px;color:#344054}
.kqm-card header em{font-style:normal;font-weight:800;font-size:14px;background:rgba(255,255,255,.8);border-radius:8px;padding:3px 8px;justify-self:start;margin-top:4px}
.kqm-sum header{background:var(--navy);color:#fff}.kqm-sum header span{color:#d0d8e2}
.kqm-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px}
.kqm-p{position:relative;display:grid;justify-items:center;gap:1px;border:2px solid #e4e7ec;background:#fff;border-radius:10px;padding:6px 4px 8px;font:inherit;text-align:center;min-height:96px;cursor:pointer;-webkit-tap-highlight-color:transparent}
.kqm-p img{width:34px;height:34px;border-radius:50%;object-fit:cover}
.kqm-p small{font-size:11px;color:#667085;line-height:1.1}
.kqm-p span{font-size:13px;font-weight:700;line-height:1.15;color:#1d2939;hyphens:auto;-webkit-hyphens:auto;overflow-wrap:break-word;max-width:100%}
.kqm-p i{position:absolute;top:5px;right:5px;width:20px;height:20px;border:2px solid #98a2b3;border-radius:5px;background:#fff;font-style:normal;line-height:16px;font-weight:900;color:#d62828;font-size:15px}
.kqm-p.on{border-color:#d62828;background:#fde4e1}.kqm-p.on i{border-color:#d62828}.kqm-p.on i::after{content:"✓"}
.kqm-sum .kqm-p{min-height:0;cursor:default}.kqm-sum .kqm-p strong{font-size:22px;color:var(--red);line-height:1}
@media(max-width:700px){
 .kp-akte{padding:12px 12px 40px}
 .kq-head{padding:16px;border-radius:14px}.kp-akte h1{font-size:26px}
 .kq-box{padding:14px;border-radius:12px}
 .kq-brief dl{grid-template-columns:1fr;gap:0}.kq-brief dt{margin-top:6px;font-size:13px}
 .kq-h{font-size:20px;margin-top:22px}.kq-hint{font-size:14px}
 .kq-gridwrap{grid-template-columns:22px minmax(0,1fr);gap:3px;margin:0 -4px}
 .kq-grid{grid-template-columns:repeat(9,minmax(0,1fr));max-width:none}
 .kq-cell{font-size:8.5px;padding:1px;line-height:1.05}
 .kq-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .kq-actions #kq-check{grid-column:1/3;padding:13px;font-size:16px}
 .kq-actions .kq-msg{grid-column:1/3}
 .kq-bew{grid-template-columns:1fr 1fr;gap:8px}
 .kq-bew div{padding:8px 10px}.kq-bew b{font-size:14px}.kq-bew small{font-size:12px;line-height:1.3}.kq-bew .ans{font-size:13px;padding:3px 6px}
 .kq-aussagen{grid-template-columns:1fr;gap:10px}.kq-aus{padding:12px}.kq-aus-text{font-size:14.5px}
 .kq-who{grid-template-columns:repeat(3,minmax(0,1fr))}.kq-who button{padding:8px 4px}
 #kq-accuse{width:100%;padding:14px;font-size:17px}
 #kq-reveal{width:100%}
 .kq-result{padding:14px}
}
