.kids-games{background:#fffdf6}
.games-main{padding-top:28px;padding-bottom:76px}
.games-back{display:inline-block;margin:0 0 24px;color:#17683d;font-weight:850;text-underline-offset:4px}
.games-hero{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:25px;min-height:290px;padding:38px 49px 24px;margin-bottom:23px;border-radius:32px;background:linear-gradient(115deg,#dff2d8 0%,#f7edc9 100%);overflow:hidden}
.games-hero:after{content:"";position:absolute;width:360px;height:100px;right:-45px;bottom:-64px;border-radius:50%;background:#81ba74;opacity:.45}
.games-hero>div,.games-hero img{position:relative;z-index:1}
.games-hero h1{font-size:clamp(2.3rem,4.8vw,4.3rem);line-height:1.08;letter-spacing:-.05em;margin:0 0 14px}
.games-hero h1 span{color:#16834b}
.games-hero p:last-child{max-width:650px;font-size:1.09rem;margin:0}
.games-hero img{display:block;width:185px;max-height:245px;height:auto;object-fit:contain;justify-self:center;align-self:end}
.game-jump{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:31px}
.game-jump a{display:flex;align-items:center;justify-content:center;min-height:62px;padding:10px 14px;border-radius:17px;background:#fff;border:2px solid #d9e7d5;text-align:center;text-decoration:none;font-weight:850;box-shadow:0 4px 0 #d6e7cf}
.game-jump a:hover{background:#eff8e9}
.game-panel{display:grid;grid-template-columns:minmax(240px,.68fr) minmax(0,1fr);gap:36px;align-items:start;margin:0 0 27px;padding:32px;border:2px solid #dae9d9;border-radius:30px;background:#fff;scroll-margin-top:20px;box-shadow:0 12px 35px #173e2b0b}
.game-panel-memo{border-color:#d8e9d2}.game-panel-reihe{border-color:#d9e7fa}.game-panel-schnick{border-color:#f1dcaa}
.game-intro{display:flex;align-items:flex-start;gap:16px}.game-number{display:grid;place-items:center;flex:none;width:53px;height:53px;border-radius:17px;background:#dceecb;color:#1b673b;font-size:1.12rem;font-weight:950}
.game-panel-reihe .game-number{background:#dceefa}.game-panel-schnick .game-number{background:#fff0bb}
.game-intro .eyebrow{margin-bottom:7px}.game-intro h2{margin:0 0 10px;font-size:clamp(1.9rem,3vw,2.7rem);line-height:1.1;letter-spacing:-.04em}.game-intro p:last-child{margin:0;color:#315442}
.game-play{min-width:0;padding:24px;border-radius:23px;background:#f6faf2;border:1px solid #e0eadb}.game-panel-reihe .game-play{background:#f4f9ff}.game-panel-schnick .game-play{background:#fffaf0}
.game-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:17px}.game-toolbar p{margin:0;font-size:.92rem;font-weight:800}
.game-reset{min-height:43px;border:2px solid #1b6e43;border-radius:99px;padding:7px 15px;background:#fff;color:#1a663e;font:inherit;font-size:.83rem;font-weight:850;cursor:pointer}.game-reset:hover{background:#e8f4e7}
.memo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;max-width:480px;margin-inline:auto}.memo-card{display:grid;place-items:center;aspect-ratio:1/1;min-width:0;border:2px solid #176c45;border-radius:16px;background:#19734a;color:#fff;font-size:clamp(2rem,4vw,3.2rem);font-weight:900;cursor:pointer;box-shadow:0 4px 0 #124b32}.memo-card:hover:not(:disabled){background:#1e8754}.memo-card.is-open{background:#fff;border-color:#7fc488;color:#173c2a}.memo-card.is-matched{background:#e0f4d9;border-color:#5bac70;box-shadow:none}.memo-card:disabled{cursor:default}
.game-status{min-height:32px;margin:19px 0 0;color:#24553b;font-weight:800}
.reihe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;width:min(100%,345px);margin-inline:auto}.reihe-cell{display:grid;place-items:center;aspect-ratio:1/1;min-width:0;border:2px solid #7dabd4;border-radius:14px;background:#fff;font-size:clamp(2.1rem,5vw,3.2rem);cursor:pointer}.reihe-cell:hover:not(:disabled){background:#e2f1ff}.reihe-cell.is-sheep{background:#e8f5e0}.reihe-cell.is-fox{background:#fff0d9}.reihe-cell:disabled{cursor:default}
.schnick-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.schnick-choices button{min-width:0;min-height:118px;padding:12px 5px;border:2px solid #e0bd71;border-radius:18px;background:#fff;color:#173d2b;font:inherit;font-size:.99rem;font-weight:850;cursor:pointer;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}.schnick-choices button:hover{background:#fff2c8;transform:translateY(-2px)}.schnick-choices span{font-size:2.8rem;line-height:1.2}.schnick-result{min-height:58px;padding:14px 17px;margin:17px 0;border-radius:15px;background:#f6e8bd;font-weight:850}.game-panel-schnick .game-toolbar{margin-bottom:0}
.games-end{display:flex;align-items:center;gap:16px;margin-top:37px;padding:20px 25px;border-radius:22px;background:#e7f1e0}.games-end>span{font-size:2.4rem}.games-end strong{font-size:1.1rem}.games-end p{margin:0;font-size:.92rem}.games-end a{margin-left:auto;font-weight:850;color:#17683d;text-underline-offset:4px}
@media(max-width:850px){.game-panel{grid-template-columns:1fr;gap:19px}.game-intro{max-width:680px}}
@media(max-width:620px){.games-main{padding-top:20px;padding-bottom:48px}.games-hero{grid-template-columns:minmax(0,1fr) 90px;gap:3px;min-height:220px;padding:25px 18px}.games-hero h1{font-size:clamp(2rem,8vw,2.8rem)}.games-hero p:last-child{font-size:.88rem}.games-hero img{width:95px;max-height:150px}.game-jump{grid-template-columns:1fr;gap:8px}.game-jump a{justify-content:flex-start;min-height:48px}.game-panel{padding:18px;border-radius:23px}.game-intro{gap:10px}.game-number{width:40px;height:40px;font-size:.9rem;border-radius:12px}.game-intro h2{font-size:1.75rem}.game-intro p:last-child{font-size:.92rem}.game-play{padding:15px}.memo-grid{gap:7px}.memo-card{border-radius:12px;font-size:2rem}.schnick-choices{gap:6px}.schnick-choices button{min-height:94px;font-size:.83rem}.schnick-choices span{font-size:2rem}.games-end{flex-wrap:wrap;padding:18px}.games-end a{width:100%;margin:0}}
@media(prefers-reduced-motion:reduce){.schnick-choices button:hover{transform:none}}
body[data-motion="off"] .schnick-choices button:hover{transform:none}

/* Der bekannte Schafkopf wird direkt aus dem vorhandenen Logo gezeigt. */
.sheep-head-mark{display:block;width:66px;height:66px;margin-bottom:7px;background:url("assets/rhoenkanal-logo.png") 0 -20px/320px auto no-repeat}
.game-jump{grid-template-columns:repeat(5,minmax(0,1fr))}
.game-panel-wort{border-color:#cbd9ed}.game-panel-maze{border-color:#dbd0ee}
.game-panel-wort .game-number{background:#dceefa}.game-panel-maze .game-number{background:#e9ddfa}
.game-panel-wort .game-play{background:#f2f7ff}.game-panel-maze .game-play{background:#f8f4ff}
.word-progress{font-size:.95rem;font-weight:850;margin:0 0 14px}
.word-letters{display:flex;flex-wrap:wrap;gap:8px;min-height:65px;align-items:center;margin-bottom:15px;font-weight:900;color:#18573a}
.word-letters span{display:grid;place-items:center;min-width:48px;height:55px;padding:0 8px;border:2px solid #8db2cf;border-radius:13px;background:#fff;font-size:1.65rem;box-shadow:0 4px 0 #d0dfed}
.word-hint{margin:8px 0 9px;font-weight:750}.word-form{margin-top:20px}.word-form label{display:block;margin-bottom:7px;font-size:.9rem;font-weight:850}.word-form>div{display:flex;gap:9px}.word-form input{width:100%;min-width:0;min-height:49px;border:2px solid #8aadc7;border-radius:12px;padding:8px 13px;background:#fff;color:#183a2b;font:inherit;font-size:1.1rem;text-transform:uppercase}.word-form button{min-height:49px;border:0;border-radius:12px;padding:9px 18px;background:#176d43;color:#fff;font:inherit;font-weight:850;cursor:pointer}.word-form button:hover{background:#115533}.word-form button:focus-visible,.word-form input:focus-visible{outline:4px solid #e49413;outline-offset:3px}
.game-panel-wort .game-toolbar{margin:7px 0 0}
.maze-grid{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;width:min(100%,390px);margin-inline:auto;padding:6px;border:3px solid #543e79;border-radius:18px;background:#543e79}
.maze-cell{display:grid;place-items:center;aspect-ratio:1/1;min-width:0;border-radius:6px;background:#eee9f4;font-size:1.55rem}.maze-cell.is-wall{background:#594572}.maze-cell.is-player{background:#d9f1d3}.maze-cell.is-goal{background:#fff0b8}.maze-cell.is-flower{background:#fff6d5}.maze-player{display:block;width:90%;height:90%;background:url("assets/rhoenkanal-logo.png") 0 -7px/480% auto no-repeat}
.maze-controls{display:grid;grid-template-columns:repeat(3,54px);grid-template-areas:". up ." "left down right";justify-content:center;gap:7px;margin:18px auto 0}.maze-controls button{display:grid;place-items:center;width:54px;height:54px;border:2px solid #58417b;border-radius:13px;background:#fff;color:#3e2b5c;font:900 1.7rem/1 system-ui;cursor:pointer}.maze-controls button[data-direction="up"]{grid-area:up}.maze-controls button[data-direction="left"]{grid-area:left}.maze-controls button[data-direction="down"]{grid-area:down}.maze-controls button[data-direction="right"]{grid-area:right}.maze-controls button:hover:not(:disabled){background:#e9ddfa}.maze-controls button:disabled{opacity:.5;cursor:default}
.game-panel-maze #maze-next{display:block;margin:8px auto 0}.game-panel-maze #maze-next[hidden]{display:none}
@media(max-width:950px){.game-jump{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:620px){.game-jump{grid-template-columns:1fr}.sheep-head-mark{width:52px;height:52px;background-size:250px auto;background-position:0 -15px}.word-letters{gap:5px}.word-letters span{min-width:38px;height:46px;padding:0 5px;font-size:1.35rem}.word-form>div{flex-direction:column}.maze-grid{gap:4px;padding:5px}.maze-cell{font-size:1.6rem}.maze-player{background-position:0 -8px}}
.kids-games .maze-grid{max-width:100%}
@media(max-width:620px){.kids-games .game-jump{grid-template-columns:repeat(2,minmax(0,1fr))}.maze-grid{gap:2px;padding:3px}.maze-cell{font-size:1.25rem}.maze-player{background-position:0 -5px}}

/* Schaf scheren: die einzelnen Wollbüschel bleiben auch per Tastatur bedienbar. */
.game-jump{grid-template-columns:repeat(3,minmax(0,1fr))}
.game-panel-shear{border-color:#d9e6cf}
.game-panel-shear .game-number{background:#e1edcb}
.game-panel-shear .game-play{background:#f1f8e9}
.shear-scene{position:relative;display:flex;align-items:center;justify-content:flex-end;width:min(100%,470px);min-height:300px;margin:0 auto;padding:30px 16px 44px 66px}
.shear-coat{position:relative;z-index:1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:min(100%,350px);min-height:220px;padding:22px 20px;border:5px solid #426c43;border-radius:45% 45% 42% 42%;background:#a4c690;box-shadow:inset 0 -11px 0 #639662,0 9px 0 #b9d7a9}
.shear-tuft{display:grid;place-items:center;min-width:0;min-height:53px;border:3px solid #b6a88b;border-radius:50%;background:#fff9e8;color:#385740;font:900 1.55rem/1 system-ui;cursor:pointer;box-shadow:0 3px 0 #d8ccb7;touch-action:manipulation}
.shear-tuft.is-ready{border-color:#147a42;box-shadow:0 0 0 3px #b7e99c,0 3px 0 #639662}
.shear-tuft:hover:not(:disabled){background:#fff0c0}
.shear-tuft.is-cut{background:#a4c690;border-color:#699568;color:#285d3a;box-shadow:none;cursor:default}
.shear-face{position:absolute;z-index:2;left:4px;top:100px;width:100px;height:100px;background:url("assets/rhoenkanal-logo.png") 0 -31px/480px auto no-repeat;pointer-events:none}
.shear-leg{position:absolute;bottom:18px;width:17px;height:80px;border-radius:0 0 12px 12px;background:#426c43}
.shear-leg-front{left:43%}.shear-leg-back{right:16%}
.game-panel-shear #shear-next{margin-top:13px}
@media(max-width:620px){.shear-scene{min-height:250px;padding:20px 5px 34px 42px}.shear-coat{gap:4px;min-height:180px;padding:17px 10px;border-width:4px}.shear-tuft{min-height:42px;border-width:2px;font-size:1.15rem}.shear-face{left:0;top:80px;width:70px;height:75px;background-size:345px auto;background-position:0 -22px}.shear-leg{height:60px;bottom:8px;width:13px}}
