/* XMAS-14 Ausmalpaket */
.am-stufen{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 4px;border:0;padding:0}
.am-stufe{position:relative;display:flex;flex-direction:column;gap:6px;padding:12px;border-radius:14px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.04);cursor:pointer}
.am-stufe input{position:absolute;opacity:0}
.am-stufe img{width:100%;aspect-ratio:3/4;object-fit:contain;background:#fff;border-radius:8px}
.am-stufe strong{font-size:.95rem}.am-stufe small{opacity:.8;font-size:.8rem}
.am-stufe.gewaehlt{border-color:#f2c46d;box-shadow:0 0 0 2px rgba(242,196,109,.5)}
.am-stufe:focus-within{outline:2px solid #f2c46d;outline-offset:2px}
.am-titel{background:#fff;color:#111;border-radius:12px;aspect-ratio:210/297;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:18px;text-align:center;border:6px double #111;font-family:Georgia,serif}
.am-titel .t{font-size:1.1rem;font-weight:700}.am-titel .n{font-size:2rem;font-weight:700;word-break:break-word}.am-titel .s{font-size:.8rem}
.am-strip{display:flex;gap:8px;overflow-x:auto;margin-top:12px;padding-bottom:4px}
.am-strip img{flex:none;width:96px;height:136px;object-fit:contain;background:#fff;border-radius:6px}
@media (max-width:640px){.am-stufen{grid-template-columns:1fr}.am-stufe{flex-direction:row;align-items:center}.am-stufe img{width:72px}}
/* 2026-10-29: Malbuch mit allen Stufen */
.am-inhalt{margin:0;line-height:1.5}
.am-titel-bild{justify-content:flex-start;gap:6px;padding:22px 18px;font-family:Nunito,system-ui,sans-serif;border:5px double #111}
.am-titel-bild .t{font-size:1.05rem;font-weight:800}.am-titel-bild .n{font-size:1.7rem;font-weight:900;line-height:1.1}.am-titel-bild .n.ist-name{font-size:2.4rem}
.am-titel-bild img{flex:1;min-height:0;width:80%;object-fit:contain;margin:6px 0}
.am-titel-bild .s{font-size:.85rem;font-weight:700}
.am-galerie{margin-top:36px}.am-galerie h3{margin:22px 0 10px}
.am-raster{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.am-kachel{padding:0;border:0;background:#fff;border-radius:8px;cursor:zoom-in;overflow:hidden;transition:transform .15s}
.am-kachel:hover,.am-kachel:focus-visible{transform:scale(1.04);outline:2px solid #f2c46d}
.am-kachel img{display:block;width:100%;aspect-ratio:3/4;object-fit:contain}
.am-extras{line-height:1.7}
.am-gross{max-width:min(560px,92vw);border:0;border-radius:14px;padding:14px;background:#fff;color:#111;text-align:center}
.am-gross::backdrop{background:rgba(0,0,0,.7)}.am-gross img{width:100%;height:auto;max-height:75vh;object-fit:contain}
@media (max-width:900px){.am-raster{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:560px){.am-raster{grid-template-columns:repeat(3,minmax(0,1fr))}}
/* 2026-11-02: Mal- und Rätselbuch je Alter */
.am-raetsel{grid-template-columns:repeat(3,minmax(0,1fr));max-width:720px}
.am-raetsel .am-kachel img{aspect-ratio:210/297}
.am-kachel-t{display:block;padding:6px 4px 8px;color:#111;font-weight:700;font-size:.85rem}
.am-stufe small{line-height:1.35}
/* 2026-11-02b: 4 Altersstufen */
#am-alter.am-stufen{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:640px){#am-alter.am-stufen{grid-template-columns:1fr}}
