:root{--hlds-sage:#58745f;--hlds-sage-light:#e8f0e7;--hlds-beige:#f6f0e3;--hlds-lav:#eee8f5;--hlds-ink:#243129;--hlds-muted:#627068;--hlds-line:#d9dfd7}
.hlds-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;padding:0;margin:12px 0}.hlds-choice legend{grid-column:1/-1;margin-bottom:6px;font-weight:750}.hlds-choice label{display:flex;align-items:center;gap:10px;min-height:54px;padding:12px 15px;border:2px solid #bbc6bb;border-radius:14px;background:#fff;cursor:pointer}.hlds-choice label:has(input:checked){border-color:#745f7d;background:var(--hlds-lav)}.hlds-choice input{width:20px;height:20px;margin:0}@media(max-width:720px){.hlds-choice{grid-template-columns:1fr}}
.hlds-shell{max-width:900px;margin:40px auto;padding:0 18px;color:var(--hlds-ink);font-family:inherit;box-sizing:border-box}.hlds-shell *{box-sizing:border-box}.hlds-hero{position:relative;min-height:420px;display:flex;align-items:center;padding:48px;border-radius:32px;background-color:var(--hlds-beige);background-image:var(--hlds-hero-image);background-repeat:no-repeat;background-size:94% auto;background-position:center;overflow:hidden}.hlds-hero-copy{position:relative;z-index:1;width:min(48%,430px);padding:24px 22px;border-radius:22px;background:rgba(255,255,255,.78);box-shadow:0 14px 42px rgba(38,55,44,.09);backdrop-filter:blur(3px)}.hlds-hero h1{font-size:clamp(2.2rem,4vw,3rem);line-height:1.04;margin:.22em 0;overflow-wrap:normal;word-break:normal;hyphens:none}.hlds-hero p{font-size:1.15rem;max-width:410px;margin-bottom:.75rem}.hlds-hero-goal{display:block;font-weight:750;color:var(--hlds-sage);line-height:1.45}.hlds-kicker{font-size:.8rem;font-weight:800;letter-spacing:.14em;color:#745f7d}.hlds-card{margin-top:22px;padding:30px;border:1px solid var(--hlds-line);border-radius:26px;background:#fff;box-shadow:0 12px 38px rgba(38,55,44,.08)}.hlds-card h2{font-size:2rem;margin-top:0}.hlds-intro ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 30px;padding-left:22px}.hlds-note{padding:16px 18px;border-radius:16px;background:var(--hlds-sage-light)}.hlds-button{appearance:none;border:0;border-radius:14px;background:var(--hlds-sage);color:#fff;font:inherit;font-weight:750;font-size:1.05rem;padding:15px 22px;cursor:pointer;min-height:54px}.hlds-button:disabled{opacity:.55}.hlds-secondary{margin-left:8px;background:#fff;color:var(--hlds-sage);border:2px solid var(--hlds-sage)}.hlds-progress{height:8px;background:#edf0ec;border-radius:99px;overflow:hidden;margin-bottom:24px}.hlds-progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#8ba36a,#9279a1);transition:width .2s}.hlds-question{padding:24px 0;border-top:1px solid var(--hlds-line)}.hlds-question h3{font-size:1.25rem;line-height:1.5}.hlds-number{display:inline-block;color:var(--hlds-sage);font-weight:800}.hlds-answer{display:inline-flex;flex-direction:column;gap:6px;min-width:220px;margin:8px 12px 8px 0;font-weight:700}.hlds-answer input,.hlds-answer select{width:100%;min-height:50px;padding:10px 13px;border:2px solid #bbc6bb;border-radius:12px;background:#fff;font:inherit}.hlds-checks{display:flex;flex-wrap:wrap;gap:10px;border:0;padding:0}.hlds-checks label{padding:10px 14px;border-radius:12px;background:var(--hlds-beige)}.hlds-tokens{display:flex;flex-wrap:wrap;gap:10px}.hlds-token{padding:12px 18px;border:2px solid #aebba9;border-radius:12px;background:#fff;font:inherit;font-weight:750;cursor:pointer}.hlds-token.is-selected{outline:4px solid #d9cfe4;background:var(--hlds-lav)}.hlds-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.hlds-slot{min-height:82px;padding:10px;border:2px dashed #809681;border-radius:14px;background:var(--hlds-sage-light);font:inherit;font-weight:800}.hlds-slot small{display:block;color:var(--hlds-muted);font-weight:600}.hlds-hint{font-size:.92rem;color:var(--hlds-muted)}.hlds-main-plant{display:grid;grid-template-columns:220px 1fr;align-items:center;gap:28px;padding:20px;border-radius:24px;background:linear-gradient(135deg,var(--hlds-beige),var(--hlds-lav))}.hlds-main-plant img{width:100%;height:220px;object-fit:contain}.hlds-main-plant h2{font-size:clamp(2rem,5vw,3.6rem);margin:.2em 0}.hlds-competencies{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:24px 0}.hlds-competencies article{padding:15px 10px;border:1px solid var(--hlds-line);border-radius:18px;text-align:center}.hlds-competencies img{width:100%;height:100px;object-fit:contain}.hlds-competencies h3{font-size:1rem}.hlds-competencies p,.hlds-competencies small{font-size:.83rem;color:var(--hlds-muted)}.hlds-feedback{margin:20px 0;padding:16px;border-radius:16px;background:var(--hlds-beige)}.hlds-feedback summary{cursor:pointer;font-weight:800}.hlds-feedback p{padding:10px 0;border-bottom:1px solid rgba(0,0,0,.08)}.hlds-success{padding:16px;border-radius:14px;background:var(--hlds-sage-light);font-weight:800}.hlds-next{margin-top:22px;padding:22px;border-radius:20px;background:var(--hlds-sage-light)}.hlds-error{color:#8b342f}.hlds-live:empty{display:none}
.hlds-recommendation{margin:10px 0;padding:12px 16px;border-radius:14px;background:#fff}.hlds-recommendation p{margin:4px 0}
.hlds-perfect-route,.hlds-level-route{margin:22px 0;padding:22px;border-radius:20px}.hlds-perfect-route{border:2px solid #d8b14a;background:linear-gradient(135deg,#fff9e8,var(--hlds-lav))}.hlds-level-route{background:var(--hlds-beige)}.hlds-perfect-route h3,.hlds-level-route h3{margin:.35rem 0 .7rem}.hlds-level-route ul{margin:0;padding-left:1.25rem}.hlds-level-route li{margin:.55rem 0}.hlds-diary{margin:18px 0;padding:20px;border:2px solid var(--hlds-sage);border-radius:16px;background:#fff}.hlds-diary h3{margin-top:0}.hlds-diary-rule{margin-bottom:0;padding:12px 14px;border-radius:12px;background:var(--hlds-sage-light);font-weight:800}
.hlds-badge-earned{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:22px;margin:22px 0;padding:18px 24px;border:2px solid #d8b14a;border-radius:22px;background:linear-gradient(135deg,#fff9e8,var(--hlds-lav))}.hlds-badge-earned img{width:150px;height:150px;object-fit:contain}.hlds-badge-earned strong{display:block;font-size:1.45rem;color:var(--hlds-sage)}.hlds-badge-earned span{display:block;margin-top:6px;color:var(--hlds-muted)}
.hlds-lens-round{border-color:#cbb9d8;background:linear-gradient(180deg,#fff,var(--hlds-lav))}.hlds-lens-hint{display:grid;grid-template-columns:52px 1fr;gap:12px;align-items:center;margin:12px 0 16px;padding:14px 16px;border-radius:16px;background:#fff;border:2px solid #cbb9d8}.hlds-lens-hint>span{font-size:2.5rem;color:#745f7d;text-align:center}.hlds-lens-hint strong{color:#745f7d}.hlds-lens-hint p{margin:3px 0 0}.hlds-trace-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.hlds-trace-summary article{padding:16px 12px;border-radius:16px;background:var(--hlds-beige);text-align:center}.hlds-trace-summary strong{display:block;font-size:2rem;color:var(--hlds-sage)}.hlds-trace-summary span{font-size:.9rem;color:var(--hlds-muted)}
.hlds-feedback-item{padding:18px 0;border-top:1px solid rgba(0,0,0,.09)}.hlds-feedback-item h4{margin:0 0 8px;font-size:1.08rem;line-height:1.45}.hlds-feedback-item p{margin:4px 0;padding:0;border:0}
.hlds-check-choice{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.hlds-check-choice article{padding:22px;border:1px solid var(--hlds-line);border-radius:20px;background:linear-gradient(145deg,#fff,var(--hlds-sage-light))}.hlds-check-choice h3{margin:.35rem 0;font-size:1.35rem}.hlds-check-choice p{color:var(--hlds-muted);line-height:1.55}.hlds-check-choice-full{grid-column:1/-1;background:linear-gradient(135deg,var(--hlds-beige),var(--hlds-lav))!important}.hlds-check-choice .hlds-button{width:100%}
@media(max-width:720px){.hlds-check-choice{grid-template-columns:1fr}.hlds-check-choice-full{grid-column:auto}.hlds-shell{margin:20px auto}.hlds-hero{min-height:540px;align-items:flex-end;padding:20px;background-size:auto 100%;background-position:62% center}.hlds-hero-copy{width:100%;padding:20px;background:rgba(255,255,255,.9)}.hlds-intro ul{grid-template-columns:1fr}.hlds-card{padding:20px}.hlds-slots{grid-template-columns:1fr}.hlds-main-plant{grid-template-columns:1fr;text-align:center}.hlds-main-plant img{height:180px}.hlds-competencies{grid-template-columns:1fr 1fr}.hlds-trace-summary{grid-template-columns:1fr}.hlds-badge-earned{grid-template-columns:1fr;text-align:center}.hlds-badge-earned img{margin:auto}.hlds-secondary{display:block;margin:10px 0 0}.hlds-button{width:100%}}
.hlds-help-library{margin:30px 0;padding:24px;border-radius:24px;background:linear-gradient(135deg,var(--hlds-beige),var(--hlds-sage-light))}.hlds-help-library>h2{margin-top:0}.hlds-help-library details{margin:10px 0;padding:14px 18px;border:1px solid var(--hlds-line);border-radius:16px;background:rgba(255,255,255,.86)}.hlds-help-library summary{cursor:pointer;font-weight:800;color:var(--hlds-green)}.hlds-help-library details p{margin:.75rem 0 0;line-height:1.55}
.hlds-knowledge-entry{border-color:#d8c998!important}.hlds-knowledge-board{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.hlds-knowledge-column{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:18px;background:var(--hlds-beige)}.hlds-knowledge-column:nth-child(2){background:var(--hlds-lav)}.hlds-knowledge-column h3{margin:0 0 6px;font-size:1.05rem}.hlds-knowledge-card{width:100%;min-height:64px;padding:12px 15px;border:2px solid #bbc6bb;border-radius:14px;background:#fff;color:var(--hlds-ink);font:inherit;font-weight:750;line-height:1.35;text-align:left;cursor:pointer;transition:transform .15s,border-color .15s,background .15s}.hlds-knowledge-card:hover{transform:translateY(-1px);border-color:var(--hlds-sage)}.hlds-knowledge-card.is-selected{border-color:#745f7d;background:#f4eff8;box-shadow:0 0 0 3px rgba(116,95,125,.14)}.hlds-knowledge-card.is-matched{border-color:var(--hlds-sage);background:var(--hlds-sage-light);color:var(--hlds-sage);opacity:.72}.hlds-knowledge-card.is-wrong{border-color:#a6534c;background:#fff0ee}.hlds-knowledge-status{padding:14px 16px;border-radius:14px;background:var(--hlds-sage-light);font-weight:800}.hlds-knowledge-game>.hlds-secondary{margin-left:0}@media(max-width:620px){.hlds-knowledge-board{grid-template-columns:1fr}.hlds-knowledge-card{min-height:56px}.hlds-knowledge-game>.hlds-secondary{width:100%}}

.hlds-area-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:24px 0}.hlds-area-button{display:flex;align-items:center;gap:16px;padding:18px;border:2px solid var(--hlds-line);border-radius:20px;background:#fff;color:var(--hlds-ink);font:inherit;text-align:left;cursor:pointer}.hlds-area-button svg{width:48px;height:48px;flex:0 0 48px;fill:none;stroke:var(--hlds-sage);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.hlds-area-button strong,.hlds-area-button small{display:block}.hlds-area-button strong{font-size:1.25rem}.hlds-area-button small{margin-top:3px;color:var(--hlds-muted)}.hlds-area-button.is-active{border-color:var(--hlds-sage);background:var(--hlds-sage-light);box-shadow:0 0 0 3px rgba(72,99,82,.09)}
.hlds-game-choice{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hlds-game-choice article{padding:24px;border:1px solid var(--hlds-line);border-radius:22px;background:linear-gradient(145deg,#fff,var(--hlds-beige))}.hlds-game-choice article:nth-child(2){background:linear-gradient(145deg,#fff,var(--hlds-lav))}.hlds-game-choice h3{font-size:1.45rem;margin:.4rem 0}.hlds-game-choice p{min-height:78px;color:var(--hlds-muted);line-height:1.55}.hlds-game-choice .hlds-button{width:100%}
.hlds-maze{display:flex;flex-wrap:wrap;gap:8px;margin:20px 0;padding:18px;border-radius:18px;background:var(--hlds-beige)}.hlds-maze span{display:grid;place-items:center;width:40px;height:40px;border:2px solid #b8c4b7;border-radius:12px;background:#fff;font-weight:800}.hlds-maze span:nth-child(even){transform:translateY(8px)}.hlds-maze span.is-done{border-color:var(--hlds-sage);background:var(--hlds-sage-light)}.hlds-maze span.is-current{border-color:#745f7d;background:var(--hlds-lav);box-shadow:0 0 0 3px rgba(116,95,125,.13)}
.hlds-arena-groups{display:grid;grid-template-columns:1fr 1fr;gap:18px}.hlds-arena-groups section{padding:20px;border-radius:18px;background:var(--hlds-beige)}.hlds-arena-groups section+section{background:var(--hlds-lav)}.hlds-arena-groups .hlds-button{width:100%;margin:8px 0}.hlds-arena-groups .hlds-secondary{margin:8px 0;background:#fff}.hlds-equipment{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0}.hlds-equipment span{padding:12px 8px;border:2px dashed #b8c4b7;border-radius:14px;text-align:center;color:var(--hlds-muted);background:#fff}.hlds-equipment span.is-earned{border-style:solid;border-color:#e3ad38;background:#fff8df;color:var(--hlds-ink);font-weight:800}
.hlds-game-count{color:var(--hlds-muted);font-weight:700}.hlds-game-options{display:grid;grid-template-columns:1fr;gap:10px;margin:18px 0}.hlds-game-options button{min-height:58px;padding:13px 16px;border:2px solid #b8c4b7;border-radius:14px;background:#fff;color:var(--hlds-ink);font:inherit;font-weight:750;text-align:left;cursor:pointer}.hlds-game-options button:hover{border-color:var(--hlds-sage);background:var(--hlds-sage-light)}.hlds-game-options button:disabled{opacity:.65}.hlds-game-message{min-height:28px;padding:12px 14px;border-radius:12px;color:var(--hlds-muted)}.hlds-game-message.is-visible{background:#fff0ee;color:#8b342f}.hlds-game-finish{text-align:center}.hlds-game-finish>p{font-size:1.1rem}.hlds-game-plant{display:grid;grid-template-columns:150px 1fr;align-items:center;gap:22px;margin:22px 0;padding:20px;border-radius:22px;background:linear-gradient(135deg,var(--hlds-beige),var(--hlds-sage-light));text-align:left}.hlds-game-plant img{width:150px;height:150px;object-fit:contain}.hlds-game-plant h3{margin:0 0 6px;font-size:1.6rem;color:var(--hlds-sage)}.hlds-game-plant p{margin:6px 0;line-height:1.5}
@media(max-width:720px){.hlds-area-nav,.hlds-game-choice,.hlds-arena-groups{grid-template-columns:1fr}.hlds-game-choice p{min-height:0}.hlds-equipment{grid-template-columns:1fr 1fr}.hlds-game-plant{grid-template-columns:1fr;text-align:center}.hlds-game-plant img{margin:auto}}
.hlds-back{display:inline-flex;align-items:center;gap:6px;margin:0 0 18px;padding:10px 14px;border:1px solid var(--hlds-line);border-radius:12px;background:#fff;color:var(--hlds-sage);font:inherit;font-weight:750;cursor:pointer}.hlds-back:hover,.hlds-back:focus-visible{border-color:var(--hlds-sage);background:var(--hlds-sage-light)}

/* 1.11: echtes Labyrinth, Arena-Szene und verbesserbares Fehlerfeedback */
.hlds-maze-scene{position:relative;max-width:520px;margin:20px auto;padding:22px;border:8px solid #d6c7a4;border-radius:24px;background:linear-gradient(135deg,#f6f0e3,#e8f0e7);box-shadow:inset 0 0 0 3px #fff}.hlds-maze-grid{display:grid;grid-template-columns:repeat(5,1fr);aspect-ratio:1;gap:4px;padding:4px;background:#58745f;border-radius:12px}.hlds-maze-cell{position:relative;display:grid;place-items:center;background:#34483a}.hlds-maze-cell.is-path{background:#fffaf0}.hlds-maze-cell.is-done{background:#dfead8}.hlds-maze-cell.is-current{background:#eee8f5;box-shadow:inset 0 0 0 4px #745f7d}.hlds-maze-cursor{display:grid;place-items:center;width:70%;aspect-ratio:1;border-radius:50%;background:#58745f;color:#fff;font-size:clamp(1.1rem,4vw,2rem);box-shadow:0 4px 10px rgba(0,0,0,.22);animation:hldsCursor .45s ease}.hlds-maze-goal{position:absolute;right:28px;top:25px;padding:5px 9px;border-radius:8px;background:#d8b14a;color:#243129;font-weight:900;font-size:.72rem}@keyframes hldsCursor{from{transform:scale(.65)}to{transform:scale(1)}}
.hlds-arena-scene{position:relative;height:270px;margin:18px 0;border-radius:22px;overflow:hidden;background-image:linear-gradient(rgba(20,28,22,.08),rgba(20,28,22,.25)),var(--hlds-arena-bg);background-size:cover;background-position:center;box-shadow:inset 0 0 0 3px rgba(255,255,255,.7)}.hlds-arena-player,.hlds-arena-enemy{position:absolute;bottom:-8px;width:42%;height:92%;object-fit:contain;filter:drop-shadow(0 10px 8px rgba(0,0,0,.3))}.hlds-arena-player{left:2%}.hlds-arena-enemy{right:2%;transform:scaleX(-1)}.hlds-arena-versus{position:absolute;z-index:2;left:50%;top:35%;transform:translate(-50%,-50%);display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#fff8df;border:4px solid #d8b14a;color:#745f7d;font-weight:900;font-size:1.35rem;box-shadow:0 8px 20px rgba(0,0,0,.2)}
.hlds-game-options button.is-wrong{border-color:#a53f38;background:#fff0ee;color:#812f2a;opacity:1}.hlds-game-options button.is-correct{border-color:#4e7758;background:#e4f2e6;color:#284f32;opacity:1}.hlds-game-message.is-visible{background:#f6f0e3;color:var(--hlds-muted)}.hlds-game-message.is-error{background:#fff0ee;color:#8b342f}.hlds-game-message.is-success{background:#e4f2e6;color:#315b3b}.hlds-retry{margin-top:8px;background:#745f7d}
.hlds-arena-enemy{transform:none}
@media(max-width:620px){.hlds-arena-scene{height:220px}.hlds-maze-scene{padding:14px}.hlds-maze-goal{right:20px;top:17px}}

/* 1.12.2: direkte Touch-Steuerung, Fallen und Frage-Dialog */
button.hlds-free-maze-cell{appearance:none!important;border:0!important;padding:0!important;font:inherit;touch-action:manipulation}button.hlds-free-maze-cell.is-path{cursor:pointer}button.hlds-free-maze-cell.is-path:hover,button.hlds-free-maze-cell.is-path:focus-visible{outline:3px solid #d8b14a;outline-offset:-3px}.hlds-trap-mark{color:#7a3d35!important}.hlds-maze-question{position:fixed!important;z-index:99999!important;left:50%!important;top:50%!important;width:min(680px,calc(100vw - 40px))!important;max-height:calc(100vh - 40px)!important;overflow:auto!important;transform:translate(-50%,-50%)!important;margin:0!important;padding:24px!important;border:3px solid #d8b14a!important;border-radius:22px!important;background:#fff9e8!important;box-shadow:0 0 0 100vmax rgba(28,38,31,.62),0 24px 70px rgba(0,0,0,.3)!important}@media(max-width:620px){.hlds-maze-question{width:calc(100vw - 22px)!important;max-height:calc(100vh - 22px)!important;padding:18px!important}}

/* 1.12: frei steuerbares Tablet-Labyrinth */
.hlds-free-maze{max-width:760px;margin-left:auto;margin-right:auto}.hlds-maze-status{display:flex;justify-content:space-between;gap:12px;margin:14px 0;padding:12px 16px;border-radius:14px;background:var(--hlds-beige)}.hlds-free-maze-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;width:min(100%,570px);aspect-ratio:1;margin:18px auto;padding:8px;border:5px solid #d6c7a4;border-radius:20px;background:#3f5747}.hlds-free-maze-cell{position:relative;display:grid;place-items:center;min-width:0;border-radius:8px}.hlds-free-maze-cell.is-wall{background:#314238;box-shadow:inset 0 0 0 2px rgba(255,255,255,.04)}.hlds-free-maze-cell.is-path{background:#fffaf0;box-shadow:inset 0 0 0 1px #d8d2c4}.hlds-free-maze-cell.is-visited{background:#e7efe3}.hlds-free-maze-cell.is-cleared b{color:#4e7758}.hlds-free-maze-cell small{font-size:clamp(.5rem,1.8vw,.7rem);font-weight:900;color:#58745f}.hlds-free-maze-cell b{font-size:clamp(1rem,4vw,1.7rem);color:#a6534c}.hlds-free-maze-cell.is-player{box-shadow:inset 0 0 0 4px #745f7d;background:#eee8f5}.hlds-maze-detective{display:grid;place-items:center;width:70%;aspect-ratio:1;border-radius:50%;background:#58745f;color:#fff;font-size:clamp(1.15rem,4vw,2rem);animation:hldsCursor .35s ease}.hlds-maze-controls{display:grid;justify-items:center;gap:6px;margin:16px auto}.hlds-maze-controls>div{display:flex;gap:6px}.hlds-maze-controls button{width:64px;height:54px;border:2px solid #58745f;border-radius:14px;background:#fff;color:#37513f;font-size:1.65rem;font-weight:900;cursor:pointer;touch-action:manipulation}.hlds-maze-controls button:hover,.hlds-maze-controls button:focus-visible{background:var(--hlds-sage-light)}.hlds-maze-question{margin-top:20px;padding:20px;border:2px solid #d8b14a;border-radius:18px;background:#fff9e8}.hlds-maze-question h3{margin:.45rem 0}.hlds-free-maze>.hlds-game-message{margin-top:12px}@media(max-width:620px){.hlds-free-maze{padding:16px}.hlds-free-maze-grid{gap:3px;padding:5px;border-width:4px}.hlds-maze-controls button{width:58px;height:50px}.hlds-maze-status{font-size:.92rem}}
