@font-face{font-family:Fredoka;src:url('stadt/fonts/Fredoka-variable.woff2')}@font-face{font-family:Nunito;src:url('stadt/fonts/Nunito-variable.woff2')}
:root{--ink:#24473d;--muted:#68786c;--paper:#fffdf6;--line:#dde3d3;--green:#447638;--shadow:0 12px 36px #25422d0b}*{box-sizing:border-box}body{margin:0;background:#f0f3e8;color:var(--ink);font:16px Nunito,system-ui,sans-serif}button,input,textarea,select{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button,a,input,textarea,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #7650a0}button{color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:12px 18px;min-height:46px}button:hover,.card:hover{border-color:#8ba58a;background:#fffefa}button:disabled{cursor:default;opacity:.6}.skip{position:absolute;top:-100px}.skip:focus{top:10px;left:10px;z-index:90;background:white;padding:10px}.site-head{max-width:1420px;padding:22px 30px;margin:auto;display:flex;align-items:center;gap:26px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font:29px Fredoka,system-ui}.brand img{width:46px;height:54px;object-fit:contain}.brand small{display:block;font:11px Nunito,system-ui;margin-top:4px}.site-head nav{display:flex;gap:24px;margin-left:auto;align-items:center;font-size:12px}.site-head nav a{text-decoration:none}.draft-badge{font-size:10px;background:#e4e9dc;border-radius:20px;padding:5px 10px}h1,h2,h3{font-family:Fredoka,system-ui;font-weight:500}h1{font-size:clamp(27px,3.2vw,44px);margin:6px 0 12px}h2{font-size:29px;margin:0 0 10px}h3{font-size:23px;margin:8px 0}p{line-height:1.75}.eyebrow{font-size:11px;letter-spacing:1.5px;text-transform:uppercase;color:var(--muted)}.catalog{max-width:1360px;margin:auto;padding:0 24px 36px}.catalog-hero{background:var(--paper);border:1px solid var(--line);border-radius:26px;overflow:hidden;display:grid;grid-template-columns:1fr 1.15fr;box-shadow:var(--shadow)}.catalog-hero>div{padding:35px}.catalog-hero img{width:100%;height:100%;object-fit:cover}.catalog-hero p{font-size:14px;max-width:450px}.catalog-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:28px 0 16px}.catalog-toolbar input{padding:14px 18px;border-radius:16px;background:var(--paper);border:1px solid var(--line);flex:1;min-width:190px}.catalog-toolbar select{padding:13px;border:1px solid var(--line);border-radius:14px;background:var(--paper)}.filters{display:flex;flex-wrap:wrap;gap:8px}.filters button{padding:10px 14px;font-size:13px;border-radius:26px}.filters button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.catalog-count{font-size:12px;color:var(--muted)}.place-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}.place-card{background:var(--paper);border:1px solid var(--line);border-radius:20px;overflow:hidden;text-decoration:none;box-shadow:var(--shadow)}.place-card img{width:100%;aspect-ratio:16/10;object-fit:cover;display:block}.place-card div{padding:15px 17px 19px}.place-card h2{font-size:23px;margin:0 0 6px}.place-card p{font-size:11px;color:var(--muted);margin:0}.room{max-width:1320px;margin:0 auto 30px;background:var(--paper);border:1px solid var(--line);border-radius:24px;overflow:hidden;box-shadow:var(--shadow)}.room-head{padding:23px 28px 19px;display:flex;align-items:center;gap:22px;justify-content:space-between}.room-head h1{font-size:32px;margin:4px 0}.room-head p{font-size:12px;max-width:600px;margin:5px 0;color:var(--muted)}.quiet{background:#edf2e7;border-color:transparent;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:12px;min-height:44px;padding:10px 16px;border-radius:13px}.room-scene{position:relative;background:#e6e9da;max-width:100%;margin:0}.room-scene img{width:100%;height:auto;display:block;aspect-ratio:16/9;object-fit:contain;max-height:64vh}.room-scene.original img{aspect-ratio:auto;max-height:58vh;object-fit:contain}.scene-hotspot{position:absolute;transform:translate(-50%,-50%);border:3px solid #fffdf6;background:#337d7159;box-shadow:0 0 0 5px #fff7;min-width:48px;width:48px;height:48px;min-height:48px;border-radius:50%;color:white;font-size:27px;padding:0}.scene-hotspot:hover{background:#28674ce6;color:white}.scene-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:12px 25px;border-top:1px solid var(--line)}.scene-caption p{font-size:12px;color:var(--muted);margin:0}.discover-button{background:#e9f1df;font-size:12px;display:flex;gap:8px;align-items:center}.room-question{text-align:center;font:25px Fredoka,system-ui;margin:15px 0 4px}.categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;padding:14px 25px 22px}.category{background:var(--light);border:2px solid transparent;color:var(--dark);padding:9px 8px 12px;display:flex;flex-direction:column;align-items:center;border-radius:16px}.category img{width:54px;height:57px;object-fit:contain}.category strong{font:21px Fredoka,system-ui;font-weight:500}.category small{font-size:10px;margin-top:4px}.category[aria-pressed=true]{border-color:var(--dark);box-shadow:0 3px 0 var(--dark)}.hear{--light:#e7f2da;--dark:#3e702f}.play{--light:#fff0bd;--dark:#815e19}.read{--light:#fbe0e1;--dark:#a13d4a}.math{--light:#e0edfc;--dark:#35689f}.write{--light:#ddf2ed;--dark:#166b70}.selected .category{flex-direction:row;justify-content:center;gap:8px}.selected .category img{width:40px;height:44px}.selected .category small{display:none}.selected .categories{padding-top:6px;padding-bottom:20px}.room-children{padding:0 25px 23px;display:flex;gap:9px;flex-wrap:wrap}.room-children a{font-size:12px}.category-panel{border-top:1px solid var(--line);display:grid;grid-template-columns:210px 1fr;background:#fafaf2}.guide{background:linear-gradient(var(--light),#fffdf6);padding:28px 20px;text-align:center}.guide img{width:140px;height:180px;object-fit:contain}.guide h2{font-size:26px;color:var(--dark)}.guide p{font-size:12px;color:var(--muted)}.selection{padding:27px;min-width:0}.selection-head{display:flex;gap:20px;justify-content:space-between;align-items:start}.selection-head p{font-size:12px;color:var(--muted);margin-top:3px}.count{font-size:11px;padding:6px 10px;background:#e9ede0;border-radius:15px;white-space:nowrap}.offer-group{font:11px Nunito,system-ui;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin:25px 0 12px}.offer-list{display:grid;gap:10px}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:10px;display:flex;align-items:center;gap:14px;text-align:left;min-height:84px;width:100%;text-decoration:none}.card img{width:78px;height:70px;object-fit:cover;border-radius:11px;flex-shrink:0}.card-symbol{width:64px;height:64px;border-radius:12px;background:var(--light,#ecf0e1);display:grid;place-items:center;flex-shrink:0;font-size:27px}.card strong{display:block;font-size:15px;line-height:1.45}.card small{display:block;font-size:11px;line-height:1.5;color:var(--muted);margin-top:4px}.card .arrow{margin-left:auto;padding:6px;font-size:20px}.notice{background:#edf2e5;border-radius:14px;padding:15px 18px;font-size:12px;line-height:1.7}.detail{border-top:1px solid var(--line);padding:26px;background:#f8f9ef}.detail-top{margin-bottom:22px}.detail h2{margin:12px 0 18px}.activity{max-width:850px;margin:auto;background:var(--paper);border:1px solid var(--line);border-radius:22px;padding:28px}.activity>p{font-size:16px;line-height:1.9}.activity .hero-small{width:100%;max-height:350px;object-fit:contain;border-radius:16px;background:#edf1e6}.activity .picture-story{width:100%;max-height:750px;object-fit:contain}.activity audio{width:100%;margin:20px 0}.activity .author{font-size:12px;color:var(--muted)}.actions{display:flex;gap:9px;flex-wrap:wrap;margin:20px 0 0}.primary{background:var(--ink);border-color:var(--ink);color:white;text-decoration:none;display:inline-flex;align-items:center;padding:12px 18px;border-radius:14px;min-height:46px}.primary:hover{background:#366b58;color:white}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:24px auto;max-width:680px}.memory-grid.large{grid-template-columns:repeat(6,minmax(0,1fr))}.memory-card{height:92px;font-size:35px;background:var(--dark,#3a715d);color:white;border:0}.memory-card.open{background:var(--light,#e0efdc);color:var(--ink)}.memory-card.matched{background:#e1efcf;color:var(--ink);opacity:1}.memory-options{display:flex;gap:8px;flex-wrap:wrap}.memory-options button[aria-pressed=true]{background:var(--dark);color:white}.status{min-height:28px;font-size:14px}.math-question{font-size:24px;line-height:1.6;margin:25px 0}.math-answer{display:flex;gap:12px;flex-wrap:wrap}.math-answer input{max-width:180px;min-height:48px;border:2px solid var(--line);border-radius:12px;padding:10px}.progress{height:8px;background:#e5e9dd;border-radius:12px;margin:18px 0;overflow:hidden}.progress span{display:block;background:var(--dark,#367757);height:100%}.writing{width:100%;min-height:240px;padding:20px;font-size:18px;line-height:1.8;border:1px solid #bdcdb9;border-radius:15px;background:repeating-linear-gradient(#fffef9,#fffef9 33px,#dce6d4 34px,#fffef9 35px)}.services{margin:0 25px 24px;border-top:1px solid var(--line);padding-top:16px}.services summary{cursor:pointer;font-size:13px;padding:10px 0}.services a{margin:6px 6px 0 0}.empty{padding:35px;border:1px dashed #c4d2b9;border-radius:18px}.empty p{font-size:13px}.site-foot{max-width:1320px;margin:28px auto;padding:0 25px 20px;display:flex;gap:16px;align-items:center;color:var(--muted);font-size:11px}.site-foot strong{font-size:17px;color:var(--ink)}.site-foot a{margin-left:auto}dialog{width:min(650px,calc(100vw - 24px));max-height:90vh;overflow:auto;border:1px solid var(--line);border-radius:24px;background:var(--paper);padding:28px;color:var(--ink)}dialog::backdrop{background:#123c2b75;backdrop-filter:blur(4px)}dialog .close{float:right}dialog img{width:100%;border-radius:16px;margin:16px 0}.print-only{display:none}.game-frame{width:100%;height:650px;border:0;border-radius:18px}
@media(max-width:1050px){.site-head nav{gap:12px}.place-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.room{margin-left:14px;margin-right:14px}.category-panel{grid-template-columns:170px 1fr}.guide img{width:120px;height:150px}}
@media(max-width:760px){.site-head{padding:14px 16px;gap:10px;flex-wrap:wrap}.brand{font-size:25px}.brand img{width:35px;height:43px}.site-head nav{order:3;width:100%;justify-content:space-between;font-size:10px}.draft-badge{margin-left:auto}.catalog{padding:0 12px 25px}.catalog-hero{grid-template-columns:1fr}.catalog-hero>div{padding:23px}.catalog-hero img{height:150px;object-fit:cover}.place-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.place-card h2{font-size:19px}.place-card div{padding:12px}.room{margin:0 8px 20px;border-radius:19px}.room-head{padding:16px 13px;gap:10px;align-items:flex-start}.room-head h1{font-size:25px}.room-head p{font-size:11px}.room-head .eyebrow{font-size:9px}.room-head>.quiet{font-size:10px;white-space:nowrap;padding:9px}.room-scene img{max-height:none}.room-scene.original img{max-height:none}.scene-caption{padding:12px;gap:10px;align-items:flex-start;flex-direction:column}.scene-caption p{font-size:11px}.scene-hotspot{width:44px;height:44px;min-width:44px;min-height:44px;font-size:23px;border-width:2px;box-shadow:0 0 0 3px #fff7}.room-question{font-size:22px}.categories{gap:5px;padding:9px 8px 16px}.category,.selected .category{flex-direction:column;gap:3px;padding:6px 1px 9px}.category img{width:43px;height:47px}.category strong{font-size:13px}.category small{font-size:9px}.selected .category img{width:37px;height:40px}.selected .categories{padding:6px 8px 16px}.room-children{padding:0 12px 18px;gap:6px}.room-children a{font-size:11px;padding:9px}.category-panel{grid-template-columns:1fr}.guide{display:grid;grid-template-columns:60px 1fr;padding:15px;gap:3px 14px;text-align:left}.guide img{width:60px;height:75px;grid-row:1/3}.guide h2{font-size:23px;margin:5px 0 0}.guide p{font-size:11px;margin:0}.selection{padding:22px 13px}.selection h2{font-size:25px}.card{padding:9px;gap:10px}.card img{width:63px;height:62px}.card strong{font-size:14px}.card small{font-size:10px}.detail{padding:20px 12px}.activity{padding:19px 16px}.activity>p{font-size:15px}.activity h2{font-size:27px}.memory-grid{gap:7px}.memory-card{height:70px;font-size:27px;padding:0}.memory-grid.large{grid-template-columns:repeat(4,minmax(0,1fr))}.math-question{font-size:21px}.services{margin:0 14px 18px}.site-foot{display:block;padding:0 18px;font-size:10px}.site-foot span{display:block;margin:8px 0}.site-foot a{display:inline-block;margin:10px 0}.game-frame{height:72vh;min-height:480px}}
@media(max-width:360px){.category strong{font-size:11px}.category img{width:37px}.card img{width:54px;height:54px}.place-card h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important}}
@media print{.site-head,.site-foot,.room-head,.categories,.detail-top,.actions,.memory-options,.status,.notice,.skip{display:none!important}body{background:white}.room,.detail,.activity{border:0;box-shadow:none;margin:0;padding:0;max-width:none}.writing{min-height:14cm;border:0}.print-only{display:block}.activity .hero-small{max-height:5cm}.activity .picture-story{max-height:22cm}}

.room-scene:not(.original) img{aspect-ratio:auto;max-height:none;height:auto}

@media(min-width:800px){.site-head{padding-top:12px;padding-bottom:12px}.room:not(.selected){max-width:min(1200px,calc((100svh - 300px)*1.77778));min-width:720px}.room-head{padding:13px 20px}.room-question{display:none}.scene-caption{padding:5px 16px}.categories{padding:10px 16px 14px}.category{flex-direction:row;justify-content:center;gap:8px}.category small{display:none}.category img{width:40px;height:44px}.category strong{font-size:18px}}

@media(min-width:800px){.site-head{padding-top:8px;padding-bottom:8px}.brand img{height:40px;width:36px}.room-head p{display:none}.room-head h1{font-size:28px}.room-head{padding:10px 20px}}

/* Feedback 20.10: image navigation, larger object cards. */
.picture-back{display:flex;gap:12px}.picture-back a{display:flex;flex-direction:column;gap:4px;font-size:14px;max-width:140px}.picture-back img{width:140px;height:75px;object-fit:cover;border-radius:12px}.site-head{justify-content:flex-end}.memory-card{min-height:110px;font-size:54px}.motif{width:100%;height:100%;max-height:150px;object-fit:contain;border-radius:8px}.memory-grid{grid-template-columns:repeat(4,minmax(70px,1fr));max-width:820px}.age-filters{display:flex;gap:8px;flex-wrap:wrap}.category:not(:has(img)){opacity:.65}.card img{width:130px;height:100px;object-fit:cover}@media(max-width:600px){.memory-grid{grid-template-columns:repeat(3,minmax(60px,1fr))}.memory-card{min-height:90px}.card img{width:90px;height:80px}.room-head{flex-wrap:wrap}}

/* V29: readable focus, compact mobile navigation, no cropped game controls. */
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #246e69;outline-offset:4px}.category[aria-label$="noch leer"]{background:#f2f1e9;color:#56635e}.card img{flex-shrink:0}.offer-list,.selection,.activity,.math-lesson{min-width:0}.activity{overflow-wrap:anywhere}.age-filters{margin:12px 0 20px}.site-head{min-height:62px}.site-head select{min-height:44px}.memory-card.matched{opacity:1;background:#ecf6e6;color:#215943;border:2px solid #6a995e}.memory-card.open{background:#fffdf4;color:#215943}
@media(max-width:600px){.room-head{gap:10px;padding:14px}.picture-back a{max-width:95px}.picture-back img{width:95px;height:54px}.room-head h1{font-size:27px}.categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:4px;padding:8px}.category{min-width:0;padding:7px 2px;min-height:72px}.category strong{font-size:12px}.category img{max-width:34px;max-height:34px}.category small{font-size:10px}.activity{padding:16px}.memory-card{min-height:84px}.offer-list .card{padding:10px;gap:10px}.card img{width:78px;height:68px}.guide{display:none}.category-panel{display:block}.picture-back{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Hartmuts Freigabe: fünf feste Kategorien, Bild-Rückwege. */
.picture-back a{align-items:center;text-align:center;text-decoration:none;color:inherit;border-radius:12px;padding:4px;min-height:44px}.picture-back a:focus-visible{outline:3px solid #347d65;outline-offset:3px}.picture-back img{border:1px solid #d0dace}.picture-back span{font-weight:700}.category-empty,.category-empty:hover,.category-empty[aria-pressed="true"]{background:#f0f0eb!important;color:#656961!important;border-color:#d2d5ce!important;box-shadow:none!important}.category-empty[aria-pressed="true"]{outline:2px solid #777e73;outline-offset:2px}.empty-pig{display:block;width:64px;height:64px;margin:auto}.category:not(:has(img)){opacity:1}@media(max-width:600px){.empty-pig{width:32px;height:32px}.picture-back{flex-wrap:wrap}}

/* Raumrahmen: freigegebene Variante B. Aufgaben und Texte bleiben deckend. */
@media screen {
 .room.selected>.detail,.room.selected>.category-panel{position:relative;isolation:isolate;background:#ede6d5;padding:40px clamp(12px,7vw,100px)}
 .room.selected>.detail::before,.room.selected>.category-panel::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background-image:linear-gradient(rgba(255,247,226,.18),rgba(255,247,226,.18)),var(--room-backdrop,none);background-position:center;background-size:cover;background-repeat:no-repeat}
 .room.selected>.detail>.activity,.room.selected>.category-panel>.selection{background:#fffdf7;border:1px solid #dacba9;border-radius:22px;box-shadow:0 12px 38px #533c2633}
 .room.selected>.category-panel>.guide{background:#fffdf7;border-radius:22px;padding:24px 14px}
 .room.selected>.category-panel{gap:18px}
}
@media screen and (max-width:760px){
 .room.selected>.detail,.room.selected>.category-panel{padding:30px 10px 20px}
 .room.selected>.category-panel{gap:12px}
 .room.selected>.category-panel>.selection{padding:22px 13px}
}
@media print{
 .room.selected>.detail,.room.selected>.category-panel{background:white;padding:0}
 .room.selected>.detail::before,.room.selected>.category-panel::before{display:none}
 .room.selected>.detail>.activity,.room.selected>.category-panel>.selection{background:white;box-shadow:none;border:0}
}

/* H124 / H121 / H89: all offers share one image and tile format. */
.offer-list{grid-auto-rows:1fr}
.offer-list .card{min-height:132px;display:grid;grid-template-columns:128px minmax(0,1fr) 22px;gap:16px;padding:14px;height:100%;align-items:center}
.offer-list .card .offer-picture{display:block;width:128px;height:96px;object-fit:contain;background:#e8eee1;border-radius:12px;margin:0}
.offer-list .card .card-copy{min-width:0;overflow-wrap:anywhere}
.offer-list .card .arrow{margin:0;padding:0;text-align:center}
@media(max-width:600px){.offer-list .card{grid-template-columns:88px minmax(0,1fr) 14px;gap:10px;padding:10px;min-height:124px}.offer-list .card .offer-picture{width:88px;height:66px}.offer-list .card strong{font-size:14px}}
