/* Lernhai – kompakte Materialsammlung für Lehrkräfte */
:root{--navy:#11364f;--blue:#087cad;--sky:#e8f5fb;--cream:#fff7e7;--paper:#fffcf6;--muted:#536b79;--line:#dbe7ec;--radius:15px}
*{box-sizing:border-box}[hidden]{display:none!important}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;background:var(--paper);color:var(--navy);font-family:"Segoe UI",Arial,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}input,select,button{font:inherit}img{display:block;max-width:100%}:focus-visible{outline:3px solid #b36b00;outline-offset:4px}.wrap{width:calc(100% - 64px);max-width:1180px;margin-inline:auto}.header{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:78px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:7px;font-size:27px;font-weight:800;letter-spacing:-1px;line-height:1.1}.brand img{width:47px;height:45px;object-fit:contain}.brand-blue,.footer-brand>span{color:var(--blue)}.brand small{display:block;font-size:8px;letter-spacing:1px;font-weight:500;color:var(--muted);line-height:1.9}.header nav{display:flex;gap:27px;font-size:13px;font-weight:600}.header nav a{padding:13px 0}.nav-active{color:var(--blue)}.header-note{font-size:12px;color:var(--muted)}.collection{padding:28px 0 22px}.section-top{display:flex;align-items:center;justify-content:space-between;gap:25px}.eyebrow{font-size:10px;letter-spacing:1.3px;font-weight:700;color:var(--blue)}.section-top h1{font-size:28px;line-height:1.2;letter-spacing:-.8px;margin:0 0 8px}.section-top p{font-size:14px;line-height:1.6;color:var(--muted);margin:0}.search{display:flex;align-items:center;gap:10px;border:1px solid #c7dce7;border-radius:10px;background:#fff;min-height:46px;padding:10px 13px;width:350px;flex-shrink:0}.search svg{width:20px;height:20px;color:#537589;flex-shrink:0}.search input{min-width:0;width:100%;font-size:14px;color:var(--navy);background:transparent;border:0;outline:none}.search:focus-within{outline:3px solid #8bc3df;outline-offset:2px}.search kbd{font-size:11px;border:1px solid var(--line);border-radius:4px;padding:1px 5px;color:var(--muted)}.demo-note{font-size:11px;color:var(--muted);line-height:1.6;display:flex;gap:9px;align-items:center;margin:17px 0 8px}.demo-note>span{font-size:8px;letter-spacing:.6px;font-weight:700;background:#f2e9d7;color:#73603c;border-radius:4px;padding:3px 6px;white-space:nowrap}#breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:9px;font-size:13px;margin-top:10px}#breadcrumbs a{color:var(--blue);padding:8px 0}#breadcrumbs a:hover{text-decoration:underline}#breadcrumbs [aria-current]{font-weight:650}.results-top{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:3px 0 10px}.results-top p{font-size:12px;color:var(--muted);margin:0}.sort-label{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px;white-space:nowrap}select{font-size:12px;color:var(--navy);font-weight:600;min-height:44px;background:transparent;border:0;padding:8px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.subject-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.card{display:flex;flex-direction:column;align-items:flex-start;position:relative;background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-height:180px;padding:20px;transition:transform .16s,border-color .16s,box-shadow .16s;overflow:hidden}.card:hover{transform:translateY(-2px);border-color:#7eb4d0;box-shadow:0 5px 15px #164f6d0a}.card h3{position:relative;z-index:1;font-size:18px;line-height:1.35;letter-spacing:-.3px;margin:0 0 7px}.card p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}.card .count{font-size:14px;color:var(--muted);margin-top:auto;padding-top:15px}.arrow{position:absolute;right:14px;top:11px;font-size:17px;color:var(--blue)}.subject-card{min-height:190px;align-items:center;text-align:center;padding:16px 10px}.subject-card:before{content:"";position:absolute;width:80px;height:80px;top:13px;left:calc(50% - 40px);background:var(--tint,#e8f5fb);border-radius:50%}.subject-art{position:relative;width:94px;height:86px;object-fit:contain;margin-bottom:12px}.subject-card h3{font-size:20px;line-height:1.3;margin:0 0 6px;max-width:100%;overflow-wrap:anywhere}.subject-card p{display:none}.subject-card .count{padding-top:8px;font-size:14px;line-height:1.4;font-weight:500}.subject-card .arrow{font-size:15px;right:12px;top:9px;opacity:.7}.card-icon{display:grid;place-items:center;min-width:37px;height:35px;padding:6px;background:var(--sky);color:var(--blue);border-radius:8px;font-size:11px;font-weight:700;margin-bottom:13px}.card-icon svg{width:23px;height:23px}.download{margin-top:auto;padding-top:20px;font-size:13px;font-weight:650;color:var(--blue)}.result-path{font-size:11px;line-height:1.5;color:var(--muted);margin-top:10px}.empty{grid-column:1/-1;background:#f0f8fc;text-align:center;border:1px dashed #b2d5e6;border-radius:var(--radius);padding:25px}.empty img{height:85px;width:100px;object-fit:contain;margin:0 auto 12px}.empty h3{font-size:19px;margin:0}.empty p{font-size:14px;line-height:1.6;color:var(--muted)}.empty a{display:inline-block;color:var(--blue);padding:10px;font-weight:600;font-size:14px}.usage{border:1px solid var(--line);border-radius:12px;background:#f1f8fb;margin:0 0 25px;padding:0 17px}.usage summary{cursor:pointer;font-size:13px;font-weight:600;min-height:48px;padding:14px 0}.usage p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 16px;max-width:800px}footer{display:flex;align-items:center;gap:20px;font-size:11px;color:var(--muted);border-top:1px solid var(--line);padding:18px 0 25px}.footer-brand{font-size:20px;font-weight:800;letter-spacing:-.7px;color:var(--navy)}.footer-brand small{font-size:13px;font-weight:400;color:var(--muted)}footer p{margin:0}footer>a:last-child{margin-left:auto;padding:10px 0;color:var(--blue)}.skip{position:fixed;top:-80px;left:20px;padding:14px;background:white;z-index:10}.skip:focus{top:10px}.sr-only{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
@media(max-width:1050px){.header-note{display:none}.wrap{width:calc(100% - 48px)}.search{width:310px}.subject-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.subject-card h3{font-size:19px}}
@media(max-width:850px){.subject-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.section-top h1{font-size:25px}.section-top p{font-size:13px}.search{width:280px}.grid:not(.subject-grid){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.wrap{width:calc(100% - 32px)}.header{min-height:68px;gap:12px}.brand{font-size:24px}.brand img{width:41px;height:40px}.brand small{font-size:7px}.header nav{gap:14px;font-size:12px}.collection{padding-top:22px}.section-top{display:block}.section-top h1{font-size:25px}.search{width:100%;margin-top:16px}.demo-note{font-size:10px;align-items:flex-start;gap:7px;margin-top:14px}.demo-note>span{font-size:7px}.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.subject-card{min-height:176px;padding:14px 7px}.subject-art{width:82px;height:76px;margin-bottom:10px}.subject-card:before{width:72px;height:72px;left:calc(50% - 36px);top:11px}.subject-card h3{font-size:18px}.subject-card .count{font-size:13px}.subject-card .arrow{display:none}.sort-label{font-size:0;gap:0}select{font-size:12px}footer{flex-wrap:wrap;gap:0 16px}footer p{order:3;flex-basis:100%;font-size:10px}}
@media(max-width:420px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid:not(.subject-grid){grid-template-columns:1fr}.subject-card h3{font-size:19px}.subject-card .count{font-size:13px}.header nav a:last-child{display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card{transition:none}}


/* Großer Lernhai unter der Fächerauswahl */
.welcome{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:35px;margin:16px 0 40px;padding:42px 46px;background:linear-gradient(120deg,#edf8fc,#fff7e7);border:1px solid var(--line);border-radius:26px;overflow:hidden}
.welcome .eyebrow{font-size:11px;line-height:1.7;display:block}
.welcome h2{font-size:clamp(26px,3.2vw,42px);line-height:1.08;letter-spacing:-1.7px;margin:19px 0 24px}
.welcome h2 span{color:var(--blue)}
.welcome-copy p{max-width:480px;font-size:16px;line-height:1.75;color:var(--muted);margin:0 0 16px}
.welcome-note{display:block;font-size:13px;font-weight:600;color:var(--blue);line-height:1.6;margin-top:23px}
.welcome-art{position:relative;display:grid;place-items:center;min-height:390px}
.welcome-disc{position:absolute;width:88%;aspect-ratio:1;background:#d6edf7;border-radius:50%}
.welcome-art img{position:relative;width:100%;max-width:440px;height:auto;z-index:1}
.welcome-hello{position:absolute;right:-10px;top:3px;z-index:2;background:#fff;padding:15px 20px;border:1px solid #c7dfe9;border-radius:20px 20px 20px 4px;font-size:17px;line-height:1.35;font-weight:650;transform:rotate(5deg)}
.usage summary{font-size:15px;padding:17px 0}
.usage h2{font-size:17px;line-height:1.4;margin:7px 0 12px}
.usage p{font-size:15px;max-width:900px}
.usage h2:not(:first-of-type){margin-top:24px}
@media(max-width:850px){.welcome{padding:30px;gap:20px}.welcome-art{min-height:300px}.welcome-hello{font-size:15px;right:-8px;padding:12px 15px}}
@media(max-width:650px){.welcome{grid-template-columns:1fr;padding:28px 22px;gap:26px;margin:14px 0 28px}.welcome h2{font-size:clamp(24px,6.5vw,32px);letter-spacing:-1px}.welcome-copy p{font-size:15px}.welcome-art{min-height:0;max-width:360px;width:100%;margin:auto}.welcome-art img{width:94%}.welcome-hello{right:0;top:0}.welcome-note{margin-top:18px}.usage p{font-size:14px}.header nav a:last-child{display:inline}}


/* One material, all available formats. */
.worksheet-card{grid-column:1/-1;display:grid;grid-template-columns:190px minmax(0,1fr);gap:24px;align-items:start;padding:24px;cursor:default}.worksheet-card:hover{transform:none}.worksheet-preview{width:100%;height:auto;max-height:285px;object-fit:contain;background:white;border:1px solid #d8e5eb;border-radius:5px;box-shadow:0 3px 12px #173c5110}.worksheet-card .worksheet-meta{display:block;color:var(--blue);font-size:12px;font-weight:600;margin-bottom:10px}.worksheet-card h3{font-size:22px;line-height:1.3;margin:0 0 12px}.worksheet-card p{font-size:14px;line-height:1.65;margin:0 0 20px;max-width:650px}.worksheet-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;max-width:650px}.worksheet-actions a{display:flex;align-items:center;justify-content:center;padding:10px 12px;text-align:center;font-size:13px;font-weight:600;color:var(--blue);border:1px solid #c7dfe9;border-radius:7px;background:#f6fbfd;text-decoration:none}.worksheet-actions a:hover{background:#e8f5fb;border-color:#087cad}.worksheet-actions a:focus-visible{outline:2px solid #087cad;outline-offset:2px}@media(max-width:650px){.worksheet-card{grid-template-columns:115px minmax(0,1fr);padding:16px;gap:16px}.worksheet-card h3{font-size:18px}.worksheet-actions{grid-template-columns:1fr}.worksheet-card p{font-size:13px}}@media(max-width:420px){.worksheet-card{grid-template-columns:1fr}.worksheet-preview{max-width:170px;justify-self:center}}
