:root{--reader-measure:42rem}.topic-grid .doc-prose,.sheet .doc-prose{width:100%;margin-inline:0}.topic-grid .ex-task.doc-prose,.topic-grid .ex-task.doc-prose p,.topic-grid .ex-mc li{font-family:Literata Variable,Georgia,serif;font-size:1.05rem;line-height:1.6}.topic-grid .ex-task.doc-prose>p{margin:0 0 .6em}.topic-grid .doc-prose ol.ex-mc{padding-left:0;list-style:none}.app-material{gap:40px;display:grid}.app-material .doc-prose{max-width:var(--reader-measure)}.app-material .doc-prose>h2:first-child{display:none}.topic-hero .lead-intro{max-width:40rem}.topic-hero .lead-intro p{color:inherit;font:inherit;margin:0}.app-material .doc-prose img{width:auto;max-width:100%;height:auto;margin:.5em auto 1.2em;display:block}.app-material .doc-prose .katex-display{padding:.2em 0;overflow-x:auto}.app-material .doc-prose .katex{font-size:1.05em}.ex-mc{gap:6px;margin:.5em 0 0;padding:0;list-style:none;display:grid}.ex-mc li{border:1px solid var(--line);border-radius:var(--radius-md);background:var(--surface);align-items:baseline;gap:10px;padding:8px 12px;font-size:.98rem;display:flex}.ex-mc li:before{content:counter(mc, upper-alpha);counter-increment:mc;color:var(--muted);font-family:Manrope Variable,system-ui,sans-serif;font-weight:800}.ex-mc{counter-reset:mc}.ex-type{color:var(--muted);font-size:.8rem;font-weight:800}.crumbs{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;padding-top:22px;font-size:.9rem;font-weight:700;display:flex}.crumbs a{color:var(--muted);text-decoration:none}.crumbs a:hover{color:var(--ink)}.crumbs svg{opacity:.6}.section-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 16px;margin:0 0 14px;display:flex}.section-head h2{letter-spacing:-.02em;font-size:1.5rem;font-weight:800;line-height:1.15}.section-head .hint{color:var(--muted);font-size:.9rem;font-weight:600}.stack{gap:40px;display:grid}.grade-pill{white-space:nowrap;border-radius:var(--radius-md);background:var(--surface-2);color:var(--ink);padding:0 10px;font-size:.8125rem;font-weight:800;line-height:26px;display:inline-block}.subject-tag{border-radius:var(--radius-md);background:color-mix(in srgb, var(--subject) 14%, transparent);color:var(--subject);white-space:nowrap;padding:0 10px;font-size:.8125rem;font-weight:800;line-height:26px;display:inline-block}.tags{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.topic-hero{gap:14px;max-width:46rem;padding:22px 0 8px;display:grid}.topic-hero h1{letter-spacing:-.03em;font-size:clamp(2rem,4.6vw,3rem);font-weight:800;line-height:1.04}.topic-hero .lead{max-width:40rem}.meta{color:var(--muted);flex-wrap:wrap;gap:6px 18px;font-size:.875rem;font-weight:700;display:flex}.meta span{align-items:center;gap:6px;display:inline-flex}.topic-grid{align-items:start;gap:40px;margin-top:28px;padding-bottom:72px;display:grid}@media (width>=980px){.topic-grid{grid-template-columns:minmax(0,1fr) 340px;gap:56px}}.side{gap:16px;display:grid}@media (width>=980px){.side{position:sticky;top:92px}}.side-card{background:var(--surface);border:1.5px solid var(--accent);border-radius:var(--radius-xl);gap:14px;padding:22px;display:grid;position:relative;overflow:hidden}.side-card .buddy{opacity:.95;width:82px;position:absolute;top:-4px;right:-6px}.side-card h3{letter-spacing:-.015em;padding-right:72px;font-size:1.2rem;font-weight:800;line-height:1.2}.side-card p{color:var(--muted);font-size:.95rem}.side-steps{gap:8px;display:grid}.side-steps li{align-items:flex-start;gap:10px;font-size:.95rem;font-weight:600;line-height:1.4;display:flex}.side-steps .n{background:var(--accent-soft);width:24px;height:24px;color:var(--accent-deep);border-radius:999px;flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.side-card .btn-primary{width:100%}.store-row{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.side-card .note{text-align:center}.side-card .in-app{text-align:center;justify-self:center;font-size:.9rem}.toc-card{padding:16px 18px 10px}.toc-card .lbl{letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 6px;font-size:.72rem;font-weight:800}.toc{display:grid}.toc a{min-height:44px;color:var(--ink);border-top:1px solid var(--line);align-items:flex-start;gap:12px;padding:10px 0;font-size:.95rem;font-weight:700;line-height:1.35;text-decoration:none;display:flex}.toc a .n{margin-top:-1px}.toc a:first-child{border-top:0}.toc .n{border-radius:var(--radius-sm);background:var(--surface-2);width:24px;height:24px;color:var(--muted);flex:none;place-items:center;font-size:.8rem;font-weight:800;display:grid}.toc a.done .n{background:var(--green);color:var(--surface)}.toc a.done .n:before{content:"✓"}.toc a.done .n span{display:none}.toc-links{border-top:1px solid var(--line);flex-wrap:wrap;gap:4px 14px;margin-top:8px;padding-top:8px;display:flex}.toc-links a{min-height:36px;color:var(--muted);align-items:center;font-size:.85rem;font-weight:700;text-decoration:none;display:inline-flex}.toc-links a:hover{color:var(--ink)}.chk{display:grid}.chk li{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:52px;padding:6px 0;font-size:1.02rem;font-weight:600;display:flex}.chk li:last-child{border-bottom:0}.chk button{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:14px;padding:0;display:flex}.chk .box{border-radius:var(--radius-sm);border:2px solid var(--line);width:26px;height:26px;color:var(--surface);background:var(--surface);transition:background var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);flex:none;place-items:center;display:grid}.chk .box svg{opacity:0}.chk li.on .box{background:var(--green);border-color:var(--green)}.chk li.on .box svg{opacity:1}.chk li.on .txt{color:var(--muted);text-decoration:line-through;text-decoration-color:var(--line)}.chk-foot{border-top:1px solid var(--line);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:16px;display:flex}.chk-foot p{color:var(--muted);max-width:30rem;font-size:.95rem}.doc-prose{color:var(--ink);max-width:42rem;font-family:Literata Variable,Georgia,serif;font-size:1.0625rem;line-height:1.65}@media (width>=768px){.doc-prose{font-size:1.125rem}}.doc-prose h2,.doc-prose h3,.doc-prose h4{font-family:Manrope Variable,ui-sans-serif,system-ui,sans-serif;font-weight:700;line-height:1.25}.doc-prose h2{border-bottom:1px solid var(--line);margin:1.6em 0 .7em;padding-bottom:.3em;font-size:1.45em}.doc-prose h2:first-child{margin-top:0}.doc-prose h3{margin:1.5em 0 .5em;font-size:1.18em}.doc-prose h4{margin:1.3em 0 .4em;font-size:1em}.doc-prose p{margin:0 0 1em}.doc-prose>:last-child,.rcallout-body>:last-child,.ex-task>:last-child,.task-body>:last-child{margin-bottom:0}.doc-prose ul{margin:0 0 1em;padding-left:1.4em;list-style:outside}.doc-prose ol{margin:0 0 1em;padding-left:1.4em;list-style:decimal}.doc-prose li{margin:.3em 0}.doc-prose li>p{margin:0}.doc-prose strong{font-weight:700}.doc-prose .math,.doc-prose .eq{font-variant-numeric:tabular-nums}.doc-prose .eq{margin:.2em 0 1em 1em;font-size:1.08em;display:block}.doc-prose table{border-collapse:collapse;width:100%;margin:0 0 1.2em;font-size:.95em}.doc-prose th,.doc-prose td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:.5em .7em}.doc-prose th{text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-family:Manrope Variable,system-ui,sans-serif;font-size:.8em;font-weight:800}.frac{vertical-align:middle;align-items:center;gap:.15em;margin:0 .1em;display:inline-flex}.frac-n{flex-direction:column;align-items:center;font-size:.88em;line-height:1.05;display:inline-flex}.frac-n span:first-child{border-bottom:1.5px solid;padding:0 .2em .05em}.frac-n span:last-child{padding:.05em .2em 0}.chapter-first{padding:28px 30px}details.chapter{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);margin-top:8px;padding:0 18px}details.chapter summary{cursor:pointer;align-items:center;gap:12px;min-height:58px;list-style:none;display:flex}details.chapter summary::-webkit-details-marker{display:none}details.chapter summary h2{font-size:1.02rem;font-weight:800;line-height:1.3}details.chapter summary .n{border-radius:var(--radius-sm);background:var(--surface-2);width:28px;height:28px;color:var(--muted);flex:none;place-items:center;font-size:.85rem;font-weight:800;display:grid}details.chapter summary:after{content:"+";color:var(--accent-deep);transition:transform var(--motion-base) var(--ease-standard);margin-left:auto;font-size:1.5rem;font-weight:600}details.chapter[open] summary:after{transform:rotate(45deg)}details.chapter[open] summary .n{background:var(--accent-soft);color:var(--accent-deep)}details.chapter .doc-prose{padding:4px 0 22px}.rcallout{border-radius:var(--radius-lg);border-left:3px solid var(--rc-fg);background:var(--rc-bg);margin:1.1em 0;padding:14px 18px 16px;font-size:.97em}.rcallout-head{color:var(--rc-fg);align-items:center;gap:8px;margin:0 0 6px;font-family:Manrope Variable,system-ui,sans-serif;font-size:.92rem;font-weight:800;display:flex}.rcallout--tip{--rc-fg:var(--callout-tip-fg);--rc-bg:var(--callout-tip-bg)}.rcallout--note{--rc-fg:var(--callout-note-fg);--rc-bg:var(--callout-note-bg)}.rcallout--warning{--rc-fg:var(--callout-warning-fg);--rc-bg:var(--callout-warning-bg)}.rcallout--info{--rc-fg:var(--callout-info-fg);--rc-bg:var(--callout-info-bg)}.rcallout--example{--rc-fg:var(--callout-example-fg);--rc-bg:var(--callout-example-bg)}.rcallout--solution{--rc-fg:var(--callout-solution-fg);--rc-bg:var(--callout-solution-bg)}.ex-list{gap:14px;display:grid}.ex{gap:12px;display:grid}.ex-head{align-items:center;gap:12px;display:flex}.ex-head .n{border-radius:var(--radius-sm);background:var(--accent-soft);width:32px;height:32px;color:var(--accent-deep);flex:none;place-items:center;font-weight:800;display:grid}.ex-head h3{font-size:1.05rem;font-weight:800}.ex-head .diff{color:var(--muted);margin-left:auto;font-size:.8rem;font-weight:800}.ex-task{font-size:1.05rem}details.solution{margin-top:.6em}details.solution summary{cursor:pointer;border-radius:var(--radius-md);border:1.5px solid var(--line);background:var(--surface);align-items:center;gap:8px;width:fit-content;min-height:40px;padding:0 14px;font-family:Manrope Variable,system-ui,sans-serif;font-size:.95rem;font-weight:800;list-style:none;display:inline-flex}details.solution summary::-webkit-details-marker{display:none}details.solution[open] summary{display:none}details.solution .rcallout{margin:0}.pdf-card{background:var(--surface-2);border:1px solid var(--line);border-radius:var(--radius-xl);grid-template-columns:auto minmax(0,1fr);align-items:center;gap:20px;padding:22px 24px;display:grid}.pdf-card--sheet{margin-top:20px}.pdf-sheet{background:var(--surface);border:1px solid var(--line);width:74px;height:96px;box-shadow:0 8px 18px color-mix(in srgb, var(--ink) 10%, transparent);border-radius:8px;position:relative;overflow:hidden}.pdf-sheet i{background:var(--line);border-radius:3px;height:5px;position:absolute;left:12px;right:12px}.pdf-sheet i:first-child{background:var(--accent);width:30px;top:14px}.pdf-sheet i:nth-child(2){top:30px}.pdf-sheet i:nth-child(3){top:42px}.pdf-sheet i:nth-child(4){top:54px;right:28px}.pdf-sheet i:nth-child(5){top:70px}.pdf-sheet i:nth-child(6){top:82px;right:36px}.worksheets{grid-template-columns:minmax(0,1fr)}.worksheet-list{grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.worksheet{border-radius:var(--radius-lg);border:1px solid var(--line);background:var(--surface);height:100%;color:var(--ink);transition:border-color var(--motion-base) var(--ease-standard), transform var(--motion-fast) var(--ease-standard);align-items:center;gap:14px;padding:10px 14px 10px 10px;text-decoration:none;display:flex}.worksheet img{border-radius:var(--radius-xs);border:1px solid var(--line);flex:none;width:56px;height:79px}.worksheet-text{flex-direction:column;gap:4px;min-width:0;display:flex}.worksheet-text b{font-weight:800;line-height:1.25}.worksheet-text span{color:var(--accent);align-items:center;gap:6px;font-size:.9rem;font-weight:700;display:inline-flex}.worksheet-list li:target .worksheet{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}@media (hover:hover){.worksheet:hover{border-color:var(--accent)}}.pdf-card h3{font-size:1.15rem;font-weight:800}.pdf-card p{color:var(--muted);margin-top:4px}.pdf-card .row{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:10px;display:flex}.ai-note{color:var(--muted);align-items:flex-start;gap:10px;font-size:.875rem;font-weight:600;line-height:1.45;display:flex}.ai-note svg{flex:none;margin-top:2px}.ai-note a{color:inherit}.lernen-cta{border-radius:var(--radius-xl);background:var(--accent-soft);border:1px solid var(--line);gap:18px;padding:34px 28px;display:grid}@media (width>=900px){.lernen-cta{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;padding:40px}}.lernen-cta h2{letter-spacing:-.025em;margin-top:8px;font-size:clamp(1.5rem,3.2vw,2rem);font-weight:800;line-height:1.1}.lernen-cta p{color:var(--muted);max-width:32rem;margin-top:8px}.lernen-cta .cta-row{align-items:center;margin-top:16px}.steps3{gap:10px;display:grid}.steps3 li{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-lg);align-items:flex-start;gap:12px;padding:12px 14px;font-weight:700;line-height:1.35;display:flex}.steps3 .e{flex:none;font-size:1.3rem;line-height:1}.steps3 small{color:var(--muted);margin-top:2px;font-size:.875rem;font-weight:600;display:block}.tiles{gap:14px;display:grid}@media (width>=640px){.tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width>=980px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}.tiles>li{display:grid}.tiles>li[hidden]{display:none}.tile{border-radius:var(--radius-xl);background:var(--surface);border:1px solid var(--line);border-top:4px solid var(--subject,var(--accent));height:100%;color:var(--ink);transition:transform var(--motion-base) var(--ease-standard), box-shadow var(--motion-base) var(--ease-standard);grid-template-rows:auto auto 1fr auto;align-content:start;gap:10px;padding:20px;text-decoration:none;display:grid}@media (hover:hover){.tile:hover{box-shadow:0 10px 24px color-mix(in srgb, var(--ink) 8%, transparent);transform:translateY(-2px)}}.tile .top{justify-content:space-between;align-items:center;gap:8px;display:flex}.tile h3{letter-spacing:-.01em;font-size:1.12rem;font-weight:800;line-height:1.22}.tile p{color:var(--muted);margin:0;font-size:.95rem}.tile .has{color:var(--muted);flex-wrap:wrap;align-self:end;gap:6px 12px;margin-top:4px;font-size:.8rem;font-weight:700;display:flex}.tile .has span{align-items:center;gap:4px;display:inline-flex}.tile .has svg{color:var(--green)}.tile[hidden]{display:none}.lib-hero{gap:16px;max-width:46rem;padding:44px 0 28px;display:grid}.lib-hero h1{letter-spacing:-.03em;font-size:clamp(2.1rem,5vw,3.25rem);font-weight:800;line-height:1.04}.filters{gap:12px;padding:16px 0 26px;display:grid}.filters .row{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.filters .lbl{letter-spacing:.06em;text-transform:uppercase;width:64px;color:var(--muted);font-size:.8rem;font-weight:800}.chip{border-radius:var(--radius-md);border:1.5px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);font:inherit;cursor:pointer;align-items:center;gap:6px;padding:0 14px;font-size:.95rem;font-weight:700;display:inline-flex}.chip .dot{background:var(--subject,var(--accent));border-radius:999px;width:8px;height:8px}.chip[aria-pressed=true]{border-color:var(--subject,var(--accent));background:color-mix(in srgb, var(--subject,var(--accent)) 12%, var(--surface));color:var(--ink)}.lib-empty{padding:18px 0}.lib-empty[hidden]{display:none}.ratgeber{gap:12px;display:grid}@media (width>=900px){.ratgeber{grid-template-columns:repeat(3,minmax(0,1fr))}}.rg{border-radius:var(--radius-lg);background:var(--surface-2);color:var(--ink);gap:8px;padding:18px 20px;display:grid}.rg h3{font-size:1rem;font-weight:800;line-height:1.3}.rg p{color:var(--muted);margin:0;font-size:.9rem}.rg .soon{letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);font-size:.75rem;font-weight:800}.lib-band{padding-block:44px 0}.lib-foot{padding-block:44px 72px}.parts ul,.parts ol,.doc-prose .parts ul,.doc-prose .parts ol{counter-reset:part;gap:.55em;margin:.35em 0 .9em;padding:0;list-style:none;display:grid}.parts li,.doc-prose .parts li{margin:0;padding-left:2em;position:relative}.parts li:before{counter-increment:part;content:counter(part, lower-alpha) ")";color:var(--muted);font-family:Manrope Variable,system-ui,sans-serif;font-weight:800;position:absolute;top:0;left:0}.parts li>p{margin:0}.rcallout .parts ul,.rcallout .parts ol{margin-top:.2em}
