/* Gemeinsame Orientierung: Fach → Jahrgang → Thema. Bestehende Theme-Farben bleiben erhalten. */
.site-header,.page-shell{max-width:1040px}.header-inner{padding-top:1.75rem;padding-bottom:1.4rem}.main-content{padding-top:2.5rem}h1{font-size:clamp(2rem,4.4vw,3rem);margin-bottom:1rem}.eyebrow{font-size:.75rem;font-weight:600;letter-spacing:.07em;line-height:1.5;text-transform:uppercase;color:var(--muted);margin:0 0 .6rem}.page-intro{font-size:1.0625rem;line-height:1.7;color:var(--muted);max-width:44rem;margin:.8rem 0 0}.home-heading{margin-bottom:2rem}.home-search{padding:1.1rem 1.25rem;background:var(--surface);border-radius:8px}.search-field,.button,.search-options select{border-radius:5px}.search-field input{min-height:46px}.button{white-space:normal;text-align:center}.course-heading{margin-bottom:1.75rem}.course-heading h1{font-size:clamp(1.9rem,3.7vw,2.55rem)}
.subject-section{margin:2.5rem 0 3rem;scroll-margin-top:1.5rem}.subject-heading-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.subject-heading-row>span{color:var(--muted);font-size:.8125rem}.subject-heading{font-size:1.9rem;letter-spacing:-.02em;margin:0;padding-left:.8rem;border-left-width:3px}.course-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;border-top:0}.course-row.course-card{align-items:stretch;flex-direction:column;justify-content:space-between;gap:1.2rem;min-height:190px;padding:1.35rem;border:1px solid var(--line);border-radius:8px}.course-card h3{font:600 1.65rem/1.2 var(--font);color:var(--accent)}.course-card p{font-size:.875rem;line-height:1.6;color:var(--muted);margin:.65rem 0 0}.card-action{display:flex;align-items:center;gap:.55rem;font-size:.875rem;font-weight:500}.card-action svg{width:18px;height:18px;color:var(--accent)}.course-card:hover,.offer-card:hover{border-color:var(--accent)}
.section-caption{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.4rem 1rem;font-size:.8125rem;font-weight:600;margin:1.4rem 0 .75rem}.section-caption>span{font-size:.8125rem;font-weight:400;color:var(--muted)}.topic-list{display:grid;gap:.85rem;border-top:0}.topic{border:1px solid var(--line);border-radius:7px;min-width:0}.topic>summary{padding:1.2rem;gap:1rem;min-height:92px}.topic-summary-copy{flex:1;min-width:0}.topic>summary h2,.project-course-link h2{font:600 1.125rem/1.4 var(--font);margin:0}.topic-goal{display:block;font-size:.875rem;line-height:1.6;font-weight:400;color:var(--muted);margin:.4rem 0 0}.topic-count{font-size:.75rem;white-space:nowrap}.topic-toggle{white-space:nowrap}.topic-body{margin:0 1.2rem 1rem;padding:0;border:0}.topic-alias{display:block;position:relative;top:-1.5rem;visibility:hidden;scroll-margin-top:1.5rem}.topic-start{display:flex;align-items:center;justify-content:space-between;gap:1.2rem;padding:1rem 1.15rem;background:var(--surface);border-radius:6px;margin:.2rem 0 1rem}.topic-start h2,.topic-start h3{font:600 1rem/1.4 var(--font);margin:0}.topic-start p{font-size:.875rem;line-height:1.65;color:var(--muted);margin:.35rem 0 0;max-width:40rem}.topic-start .button{flex:none;font-size:.875rem;padding:.65rem .9rem;min-height:44px}.project-entry .project-course-link{padding:1.2rem;align-items:center;gap:1rem}.project-course-link .eyebrow{margin:0 0 .4rem}.project-course-link .topic-toggle svg{transform:none}.project-search-results{margin:0 1.2rem 1rem;padding:0;border:0}.project-start{margin:1.5rem 0}.chapter-start{background:var(--surface);border:0;border-radius:6px;padding:1.1rem 1.2rem}.chapter-start h2{font-weight:600}.step-number{display:inline-flex;align-items:center;justify-content:center;flex:none;min-width:1.7rem;height:1.7rem;border:1px solid var(--line);border-radius:50%;font:500 .875rem/1 var(--font);color:var(--accent);margin-right:.6rem}.chapter-step h2{display:flex;align-items:baseline;line-height:1.5}.project-materials,.chapter-list,.chapter-pagination,.math-folder-list{border-color:var(--line)}.math-start{margin-bottom:1.6rem}.math-folder-row{padding:1.1rem .4rem}.math-folder-number{font:500 1.25rem/1.2 var(--font)}
.material-link{padding:1.05rem .25rem;gap:1.1rem}.material-type{display:block;font-size:.6875rem;font-weight:600;letter-spacing:.055em;text-transform:uppercase;color:var(--accent);margin-bottom:.2rem}.material-title{font-weight:500}.material-description{line-height:1.6}.material-action{font-size:.8125rem}.material-with-formats:hover{background:transparent}.format-actions{display:flex;flex:none;flex-direction:column;gap:.45rem;min-width:10rem}.format-link{display:flex;align-items:center;gap:.6rem;min-height:44px;border:1px solid var(--line);border-radius:5px;padding:.5rem .65rem;font-size:.8125rem;font-weight:600}.format-link>span{font-weight:400;font-size:.75rem;color:var(--muted);margin-left:auto}.format-link>svg{width:15px;height:15px;color:var(--muted)}.format-link:hover{background:var(--hover);border-color:var(--accent)}.material-meta{font-size:.75rem}.code-copy-action{display:flex;align-items:center;flex-wrap:wrap;gap:.7rem;margin-top:-.5rem;padding-bottom:.5rem}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;border:0;background:transparent;padding:.3rem;min-height:44px;text-decoration:underline;text-underline-offset:4px;color:var(--accent);font-size:.875rem}.text-button svg{width:16px;height:16px}.copy-status{font-size:.8125rem;color:var(--muted)}.result-course-link{font-size:.8125rem}.quiz-tool-callout{border-radius:7px;margin:0 0 1.6rem}.quiz-tool-callout .eyebrow{margin-bottom:.35rem}.quiz-tool-callout h2{font-size:1.05rem}.quiz-tool-callout .button{font-size:.875rem}.offer-list{display:grid;gap:1rem}.offer-card{display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid var(--line);border-radius:7px;padding:1.3rem}.offer-card h2{font-size:1.25rem}.offer-card p{font-size:.875rem;color:var(--muted);margin:.5rem 0 0}.offer-card .card-action{flex:none}.content-footer{margin-top:3rem;padding-top:1rem}.footer-links{column-gap:1.4rem}
@media(max-width:700px){.course-row.course-card{min-height:190px;padding:1.1rem}.topic>summary{flex-wrap:wrap;gap:.55rem;padding:1rem}.topic-summary-copy{flex-basis:100%}.topic-count{display:block;margin-right:auto}.topic-toggle{font-size:.8125rem}.topic-body{margin:0 1rem 1rem}.topic-start{flex-wrap:wrap;gap:.8rem;padding:1rem}.topic-start .button{align-self:flex-start}.material-action{font-size:.75rem}.material-with-formats{align-items:flex-start;flex-direction:column;gap:.7rem}.format-actions{flex-direction:row;flex-wrap:wrap;min-width:0;width:100%}.format-link{flex:1;min-width:8rem}.project-entry .project-course-link{padding:1rem;align-items:flex-start;flex-wrap:wrap}.project-course-link .topic-toggle{margin-left:auto}.project-search-results{margin-right:1rem;margin-left:1rem}.offer-card{flex-wrap:wrap}.offer-card>div{flex-basis:100%}}
@media(max-width:540px){.main-content{padding-top:1.7rem}.home-heading{margin-bottom:1.5rem}.home-heading h1{font-size:clamp(1.5rem,7.4vw,2rem)}.home-search{padding:1rem}.subject-heading{font-size:1.65rem}.subject-heading-row>span{font-size:.75rem}.course-list{grid-template-columns:1fr;gap:.7rem}.course-row.course-card{min-height:0;gap:1rem;padding:1.1rem 1.2rem}.course-card h3{font-size:1.4rem}.course-card p{margin-top:.45rem}.course-card .card-action{justify-content:flex-end}.page-intro{font-size:1rem}.header-actions{gap:.7rem}.header-link{font-size:.875rem}.section-caption>span{flex-basis:100%}.chapter-start{padding:1rem}.material-with-formats .material-copy{flex-basis:auto}.topic-start .button{width:auto}.format-link>span{font-size:.6875rem}.footer-links{column-gap:1.2rem}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media print{.course-list{display:block}.course-card,.topic,.offer-card{break-inside:avoid;border-radius:0}.topic>summary{min-height:0}.topic-count,.topic-start .button,.code-copy-action,.card-action{display:none!important}.topic-start{border:1px solid var(--line);padding:.7rem}.format-link{border:0;padding:0}.format-actions{min-width:0}.topic-goal{font-size:.875rem}.material-type{color:inherit}.home-search{display:none}.main-content{padding-top:0}.project-entry .project-course-link{padding:1rem}}