@font-face{font-family:Manrope;src:url('/assets/manrope.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
.material-course{overflow-wrap:anywhere}.material-list{list-style:none;margin:0;padding:0}.material-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:1rem;padding:1.4rem 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.material-item h3{margin-bottom:.5rem}.material-item p{margin-bottom:.4rem}.material-item .button{align-self:center}.lesson-navigation{display:flex;flex-wrap:wrap;gap:1rem;border-top:1px solid var(--line);padding-top:1.5rem;margin-top:2rem}.lesson-navigation a{min-width:0;flex:1;max-width:50%;text-align:left;justify-content:flex-start;overflow-wrap:anywhere}.lesson-navigation .next-lesson{margin-left:auto}@media(max-width:680px){.material-item{grid-template-columns:minmax(0,1fr)}.material-item .button{justify-self:start}.lesson-navigation a{flex-basis:100%;max-width:100%}}
:root{--green:#0f3a20;--mid:#164a2a;--light:#effde5;--cream:#eee3cc;--accent:#c0ec86;--orange:#f5a524;--line:#8fa996;--beige:#d0bea5;font-family:Manrope,Arial,sans-serif;color:var(--green);background:var(--light);font-size:15px;line-height:1.65}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-underline-offset:4px}a:hover{text-decoration-thickness:2px}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{touch-action:manipulation}button,summary{cursor:pointer}h1,h2,h3,p{margin:0 0 1rem}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.12}h1{font-size:clamp(2.4rem,4vw,3.5rem);letter-spacing:-.035em;margin-top:.7rem;margin-bottom:1.2rem}h2{font-size:1.8rem}h3{font-size:1.08rem;line-height:1.45}p{max-width:75ch}strong{font-weight:700}img{max-width:100%;height:auto}form{margin:0}fieldset{border:1px solid var(--line);padding:1.2rem;margin:1.3rem 0}legend{font-weight:700;padding:0 .5rem}label{display:block;font-weight:600;margin-bottom:1.1rem}input,select,textarea{display:block;width:100%;background:var(--light);border:1px solid var(--line);border-radius:4px;padding:.8rem;color:var(--green);margin-top:.4rem;min-height:46px;max-width:100%}textarea{resize:vertical}input[type=checkbox],input[type=radio]{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:2px 0 0;accent-color:var(--green)}.checkbox{display:flex;gap:.75rem;align-items:flex-start;font-weight:400}.checkbox input{display:inline-block}button{border-radius:4px}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--green);outline-offset:4px}.sidebar a:focus-visible,.sidebar summary:focus-visible{outline-color:var(--orange)}.skip-link{position:fixed;left:1rem;top:-100px;background:var(--orange);padding:.75rem;z-index:5}.skip-link:focus{top:1rem}.button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:.75rem 1.2rem;border:1px solid var(--green);text-decoration:none;font-weight:700;line-height:1.5;text-align:center}.primary{background:var(--orange);border-color:var(--orange);color:var(--green)}.primary:hover{background:var(--accent);border-color:var(--green)}.secondary{background:transparent;color:var(--green)}.secondary:hover{background:var(--cream)}.full{width:100%}.small{font-size:.82rem;line-height:1.55}.block{display:block}.form-width{max-width:560px}.notice{background:var(--cream);border-left:4px solid var(--green);padding:1.2rem;margin:1.3rem 0;overflow-wrap:anywhere}.notice h2{font-size:1.6rem}.empty{padding:2rem 0;max-width:70ch}.brand{display:block;background:var(--cream);padding:20px 18px;border-radius:6px;text-align:center}.brand img{display:block;margin:auto}.app-layout{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--green);color:var(--cream);padding:28px 20px;display:flex;flex-direction:column}.sidebar .brand{width:188px;max-width:calc(100% - 8px);background:#e7ffd6;padding:8px 10px;border-radius:4px;margin:0 4px 28px}.nav-context{font-size:.82rem;padding:0 12px;margin:0 0 1rem;color:var(--accent)}.navigation>summary{display:none}.navigation nav>a{display:block;padding:12px;margin:4px 0;text-decoration:none;border-radius:4px}.navigation a:hover{background:var(--mid)}.navigation [aria-current=page]{background:var(--mid);color:var(--accent);box-shadow:inset 3px 0 var(--accent);font-weight:700}.sidebar-bottom{margin-top:auto;padding:48px 12px 0;font-family:Georgia,serif;font-size:1.3rem;line-height:1.4}.workspace{min-width:0}.topbar{padding:20px 40px;display:flex;align-items:center;gap:20px;justify-content:space-between;border-bottom:1px solid var(--line);font-size:.82rem}.account-nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.text-button{border:0;padding:0;background:none;color:inherit;text-decoration:underline;text-underline-offset:4px}.main-content{max-width:1450px;margin:0 auto;padding:36px 48px 80px}.page-heading{display:flex;align-items:center;gap:24px;justify-content:space-between;margin-bottom:2rem}.page-heading p:first-child{margin-bottom:.4rem}.section{border-top:1px solid var(--line);padding-top:2rem;margin-top:2.8rem}.back-link{display:inline-block;margin-bottom:1rem;font-size:.9rem}.course-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.course-tile{background:var(--cream);overflow:hidden;border-radius:8px}.course-mark{background:var(--mid);color:var(--accent);padding:26px;font-family:Georgia,serif;font-size:1.8rem;min-height:92px}.course-copy{padding:26px}.course-copy h2{font-size:1.85rem}.course-copy h2 a{text-decoration:none}.course-copy .button{margin-top:1.2rem}.course-copy progress{width:100%;height:8px;accent-color:var(--green);display:block}.access-row{display:flex;gap:24px;justify-content:space-between;border-bottom:1px solid var(--line);padding:1.4rem 0}.access-row h3{margin-bottom:.2rem}.access-row p{margin-bottom:.5rem}.access-row dl{display:flex;gap:30px;font-size:.85rem;margin:0}.access-row dt{font-weight:700}.access-row dd{margin:0}.badge{display:inline-block;padding:.2rem .6rem;background:var(--cream);color:var(--green);border:1px solid var(--line);border-radius:20px;font-size:.75rem;font-family:Manrope,Arial,sans-serif;font-weight:500;line-height:1.5}.filters{display:flex;align-items:flex-end;gap:16px;padding:24px 0;border-block:1px solid var(--line)}.filters label{flex:1;min-width:0;margin:0}.filters label:first-child{flex:1.5}.result-count{margin-top:1rem;font-size:.85rem}.responsive-table{width:100%;border-collapse:collapse;table-layout:auto;text-align:left;font-size:.9rem}.responsive-table th{font-size:.78rem;font-weight:700;border-bottom:2px solid var(--green);padding:14px 10px}.responsive-table td{border-bottom:1px solid var(--line);padding:20px 10px;vertical-align:top;overflow-wrap:anywhere}.responsive-table td:first-child{min-width:150px}.responsive-table td:first-child>a{font-weight:700}.grant-label+.grant-label{margin-top:.8rem}.tabs{display:flex;gap:26px;border-bottom:1px solid var(--line);margin:2rem 0}.tabs a{padding:.75rem 0;text-decoration:none}.tabs [aria-current=page]{border-bottom:3px solid var(--green);font-weight:700}.identity{display:flex;gap:40px;margin:2rem 0;flex-wrap:wrap}.identity dt{font-size:.82rem;font-weight:700}.identity dd{margin:0}.revoke-form{padding:16px;background:var(--cream);max-width:650px;margin-bottom:1.5rem}.revoke-form label{font-size:.85rem}.lesson-list{margin:2rem 0}.lesson-list h2{margin:2rem 0 1rem}.lesson-row{display:flex;justify-content:space-between;gap:24px;text-decoration:none;border-bottom:1px solid var(--line);padding:1.2rem 0}.lesson-row:hover{background:var(--cream)}.lesson-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:40px}.lesson-body{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.05rem;max-width:72ch;margin:2rem 0;line-height:1.9}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:2rem 0 1rem}.course-outline{border-left:1px solid var(--line);padding-left:24px;margin-top:20px}.course-outline summary{font-weight:700}.course-outline nav>a{display:block;text-decoration:none;padding:14px;margin:6px 0;border-radius:4px}.course-outline nav [aria-current=page]{background:var(--cream);font-weight:700}.course-outline .small{display:block;font-weight:400}.editor-module{margin:2rem 0}.editor-lesson,.progress-course{border-block-end:1px solid var(--line);padding:1.2rem 0}.editor-lesson>summary,.progress-course>summary{font-size:1.05rem;font-weight:700;line-height:1.8}.editor-lesson[open]{background:var(--cream);padding:24px;margin-top:1rem;border-radius:6px}.editor-lesson form{max-width:780px;margin-top:1.5rem}.publish-form{border-top:1px solid var(--line);padding-top:1.5rem}.login-layout{display:grid;grid-template-columns:46% 54%;min-height:100vh}.login-intro{background:var(--green);color:var(--cream);padding:46px 60px;display:flex;flex-direction:column;gap:50px;justify-content:space-between}.login-intro .brand{max-width:280px}.login-intro h1{font-size:clamp(3.5rem,6vw,6.2rem);line-height:1;letter-spacing:-.04em;color:var(--light)}.login-intro p{max-width:400px}.login-intro>p:last-child{font-size:.85rem;margin:0}.login-form{display:flex;align-items:center;justify-content:center;padding:50px}.login-form .form-width{width:100%;max-width:410px}.login-form h2{font-size:2.6rem}.login-form form{margin-top:2rem}.subtle-link{display:inline-block;margin:1.5rem 0}.login-form .small{margin-top:1rem}.standalone,.error-page{max-width:680px;margin:50px auto;padding:30px}.standalone .brand{max-width:250px;margin-bottom:3rem}.error-page{min-height:60vh}.demo-banner{position:sticky;bottom:0;background:var(--cream);color:var(--green);text-align:center;border-top:1px solid var(--green);padding:7px;font-size:.78rem}
@media(min-width:851px){.navigation:not([open])>nav{display:block}}
@media(max-width:1100px){.main-content{padding:28px}.topbar{padding:18px 28px}.app-layout{grid-template-columns:210px minmax(0,1fr)}.sidebar{padding:22px 14px}.course-grid{grid-template-columns:1fr}.access-row{display:block}.access-row dl{margin-top:1rem;flex-wrap:wrap}.lesson-layout{grid-template-columns:minmax(0,1fr) 220px;gap:24px}.filters{flex-wrap:wrap}.filters label:first-child{flex-basis:100%}.login-intro{padding:36px}.login-form{padding:36px}}
@media(max-width:850px){.app-layout{display:block}.sidebar{padding:14px 20px}.sidebar .brand{width:160px;padding:6px 10px;margin:0 0 12px}.sidebar-bottom{display:none}.navigation>summary{display:list-item;padding:8px;font-weight:700}.navigation nav{padding:12px 0}.navigation .nav-context{display:none}.topbar{padding:16px 20px;align-items:flex-start;flex-direction:column;gap:8px}.account-nav{gap:16px}.main-content{padding:26px 20px 60px}.page-heading{align-items:flex-start;flex-direction:column;gap:10px}.lesson-layout{display:flex;flex-direction:column-reverse;gap:8px}.course-outline{border:1px solid var(--line);padding:14px;margin:0 0 20px}.course-outline details:not([open]) nav{display:none}.filters{display:grid;grid-template-columns:1fr 1fr;gap:12px}.filters label:first-child{grid-column:1/-1}.filters .button{grid-column:1/-1}.responsive-table,.responsive-table tbody,.responsive-table tr,.responsive-table td{display:block;width:100%}.responsive-table thead{position:absolute;clip-path:inset(50%);height:1px;width:1px;overflow:hidden}.responsive-table tr{border-top:1px solid var(--green);padding:12px 0 18px}.responsive-table td{display:grid;grid-template-columns:35% minmax(0,1fr);gap:12px;padding:10px 0;border:0}.responsive-table td::before{content:attr(data-label);font-size:.75rem;font-weight:700;grid-column:1}.responsive-table td>*{grid-column:2}.responsive-table td[colspan]{display:block}.responsive-table td[colspan]::before{display:none}.tabs{gap:20px;flex-wrap:wrap}.tabs a{padding:8px 0}.login-layout{display:block}.login-intro{padding:26px;gap:28px}.login-intro .brand{max-width:210px;padding:16px}.login-intro h1{font-size:3.8rem}.login-intro>p:last-child{display:none}.login-form{padding:36px 24px}.login-form .form-width{max-width:520px}.login-form h2{font-size:2.2rem}.standalone,.error-page{margin:20px auto;padding:24px}.access-row dl{gap:20px}.editor-lesson[open]{padding:18px}.identity{gap:20px}.button{max-width:100%}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto}}

.learning-video{display:block;width:100%;height:auto;max-height:70vh;background:#0f3a20;border-radius:6px}.lesson-materials{margin:1.5rem 0}.lesson-materials .button{margin:0 .5rem .5rem 0}.media-upload{max-width:680px;margin-top:2rem}.media-upload progress{display:block;width:100%;height:14px;accent-color:#0f3a20;margin:1.5rem 0}.button:disabled{opacity:.65;cursor:wait}

.course-module{border-bottom:1px solid var(--line);padding:1rem 0;overflow-wrap:anywhere}.course-module>summary{font-weight:700;font-size:1.1rem;line-height:1.5;padding:.4rem 0}.course-outline .course-module>summary{font-size:.9rem}.course-outline .outline-lesson{display:block;text-decoration:none;padding:12px;margin:4px 0;border-radius:4px}.course-outline .outline-lesson:hover{background:var(--cream)}.course-outline .outline-lesson[aria-current=page]{background:var(--cream);font-weight:700}.course-module .lesson-row>span:first-child{min-width:0}.course-module .lesson-row .small{flex-shrink:0}

.term-field[hidden]{display:none}

.bunny-player{margin:1.5rem 0}.bunny-placeholder{border:1px solid var(--line);background:var(--cream);padding:1.5rem}.bunny-frame{display:block;width:100%;aspect-ratio:16/9;border:0;background:var(--green)}.bunny-frame[hidden],.bunny-placeholder[hidden]{display:none}

.bunny-video[hidden]{display:none}.bunny-video{aspect-ratio:16/9}

/* Arbeitswege der Kursredaktion, bestehende Akademiegestaltung. */
.workflow-steps{max-width:48rem;padding-left:1.5rem}.workflow-steps li{padding:.8rem 0}.workflow-steps p{margin:.35rem 0;color:#0F3A20}.workflow-steps a{font-weight:700}.editor-heading{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap}.order-actions{display:flex;gap:1rem;flex-wrap:wrap;margin:1rem 0}.order-actions button:disabled{opacity:.45;cursor:default}.editor-settings{margin:1rem 0}.editor-settings summary{cursor:pointer;text-decoration:underline}.editor-settings form{margin-top:1rem}.editor-preview-links{display:flex;flex-wrap:wrap;gap:1rem;margin:1rem 0}.editor-lesson{scroll-margin-top:2rem}.editor-lesson form{min-width:0}.editor-lesson input,.editor-lesson select,.editor-lesson textarea{max-width:100%}@media(max-width:700px){.editor-heading{display:block}.order-actions{gap:.75rem}.editor-preview-links{display:grid}}

.bunny-upload{margin:1.5rem 0;padding:1.2rem 0;border-top:1px solid var(--line)}.bunny-upload progress{display:block;width:100%;max-width:100%;height:12px;accent-color:var(--green)}.bunny-upload [role=status]{overflow-wrap:anywhere;margin-top:1rem}
.legal-footer{padding:1.2rem 2rem;border-top:1px solid var(--line);background:var(--green);color:var(--cream)}.legal-footer nav{display:flex;flex-wrap:wrap;justify-content:center;gap:.6rem 1.8rem}.legal-footer a{padding:.4rem 0;overflow-wrap:anywhere}

/* Produktverwaltung: direkte Modulauswahl statt separater Zugangsprofile. */
.product-editor { max-width: 900px; }
.product-editor textarea { display:block; width:100%; max-width:100%; min-height:80px; padding:12px; font:inherit; color:var(--green); background:var(--light); border:1px solid var(--line); border-radius:8px; box-sizing:border-box; }
.product-module-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px 20px; margin:16px 0; }
.product-extra { margin:16px 0; }
.access-choice { margin:16px 0; padding:16px 0; border-top:1px solid var(--line); }
.module-archive { padding:0 20px 16px; }
.module-archive summary { font-size:.9rem; }
.product-module-grid label { min-width:0; overflow-wrap:anywhere; }
@media(max-width:650px) { .product-module-grid { grid-template-columns:minmax(0,1fr); } .product-editor .actions { flex-wrap:wrap; } }

/* Upload bleibt beim Wechsel innerhalb der Verwaltung sichtbar und aktiv. */
.upload-manager{position:fixed;right:18px;bottom:18px;width:min(390px,calc(100% - 36px));z-index:50;background:var(--light);color:var(--green);border:2px solid var(--green);padding:14px;box-sizing:border-box;box-shadow:0 4px 20px #0f3a2022;max-height:65svh;overflow:auto}
.upload-manager[hidden]{display:none}.upload-manager summary{font-weight:600}.upload-manager ul{padding-left:18px}.upload-manager li{margin:12px 0}.upload-manager li span,.upload-manager li a{display:block}.upload-manager .button{padding:8px 12px}.upload-manager [data-upload-docked] label,.upload-manager [data-upload-docked] p.small,.upload-manager [data-upload-docked] [data-bunny-start]{display:none}.upload-manager [data-upload-docked] .actions{margin:8px 0}.upload-manager progress{width:100%}
@media(max-width:600px){.upload-manager{right:10px;bottom:10px;width:calc(100% - 20px);max-height:50svh}}

/* Modulverwaltung: Auswahl bleibt links, der gewählte Arbeitsbereich rechts. */
@media(min-width:851px){.sidebar{position:sticky;top:0;height:100svh;overflow:auto;align-self:start}}
.editor-workspace{display:grid;grid-template-columns:210px minmax(0,1fr);gap:32px;align-items:start;margin-top:2rem}
.editor-navigation{position:sticky;top:24px;max-height:calc(100svh - 48px);overflow:auto;border-right:1px solid var(--line);padding-right:20px;min-width:0}
.editor-navigation h2{font:700 1rem/1.5 Manrope,Arial,sans-serif;margin-bottom:1rem}.editor-navigation nav{display:grid;gap:6px}.editor-navigation a{display:block;text-decoration:none;padding:11px 12px;border-radius:4px;overflow-wrap:anywhere;line-height:1.5}.editor-navigation a small{display:block;font-size:.75rem;font-weight:400}.editor-navigation a:hover{background:var(--cream)}.editor-navigation [aria-current=page]{background:var(--green);color:var(--light);font-weight:700;box-shadow:inset 3px 0 var(--accent)}.editor-navigation [aria-current=page]:focus-visible{outline-color:var(--orange)}.editor-navigation>p{margin-top:1.5rem}.editor-chapter-label{font-size:.8rem;font-weight:700;margin:1rem 0 0}.editor-content{min-width:0}.editor-content>.section:first-child{border:0;margin-top:0;padding-top:0}.editor-panel{min-width:0;scroll-margin-top:20px}.editor-panel[hidden]{display:none}.editor-panel h2{font-size:1.9rem}.editor-panel h2 .badge{vertical-align:middle;letter-spacing:0}.editor-panel form{max-width:780px}.editor-panel fieldset{margin-bottom:1.5rem}.editor-panel>.editor-preview-links{padding-bottom:1rem;border-bottom:1px solid var(--line)}.edit-save-status{display:none;margin-top:.8rem;font-weight:700}.has-unsaved-changes>.edit-save-status{display:block}.editor-navigation a.has-unsaved-changes::after{content:' • ungespeichert';font-size:.75rem}.editor-content .product-editor{margin-top:0;padding-top:0;border-top:0}.editor-content .media-upload{margin-top:1rem}
@media(max-width:1100px){.editor-workspace{grid-template-columns:minmax(0,1fr);gap:24px}.editor-navigation{top:0;max-height:none;border-right:0;border-bottom:1px solid var(--line);padding:10px 0;background:var(--light);z-index:4;overflow:visible}.editor-navigation h2,.editor-navigation>p,.editor-chapter-label{display:none}.editor-navigation nav{display:flex;gap:8px;overflow:auto;max-width:100%;padding:4px 3px 8px;scrollbar-width:thin}.editor-navigation a{flex:0 0 auto;max-width:230px;border:1px solid var(--line)}.editor-panel{scroll-margin-top:110px}}
@media(max-width:600px){.editor-workspace{margin-top:1rem}.editor-navigation a{font-size:.85rem;max-width:185px;padding:9px}.editor-panel h2{font-size:1.7rem}.editor-panel fieldset{padding:.8rem}}

.edit-confirm{max-width:min(560px,calc(100% - 32px));padding:28px;border:2px solid var(--green);border-radius:6px;background:var(--light);color:var(--green)}.edit-confirm::backdrop{background:#0f3a2077}.edit-confirm h2{font-size:1.7rem}.edit-confirm .actions{margin-bottom:0}


.module-order-controls { display:flex; flex-wrap:wrap; align-items:center; gap:8px; padding:0 20px 16px; }
.module-order-controls .button { padding:8px 12px; font-size:.9rem; }
.module-order-controls button:disabled { opacity:.45; cursor:default; }
.module-management-row { scroll-margin-top:24px; }

/* Modulnavigation: Videos oben schließen, auch bei langen Lektionslisten. */
.editor-chapter{min-width:0}
.editor-chapter>summary.editor-chapter-label{display:list-item;position:sticky;top:0;z-index:1;background:var(--light);margin:0;padding:10px 8px;min-height:44px;box-sizing:border-box;line-height:1.5;font-size:.85rem;overflow-wrap:anywhere}
.editor-chapter-links{display:grid;gap:6px;padding-top:6px}
@media(max-width:1100px){.editor-navigation:has(.editor-chapter){position:static}.editor-navigation:has(.editor-chapter) nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}.editor-navigation .editor-chapter{grid-column:1/-1}.editor-chapter>summary.editor-chapter-label{position:static}.editor-chapter-links{max-height:40svh;overflow:auto;overscroll-behavior:contain;padding:4px}.editor-navigation:has(.editor-chapter) a{max-width:none;min-width:0}.editor-workspace:has(.editor-chapter) .editor-panel{scroll-margin-top:20px}}
