/* Lernbereich 1.4 · Eigenständiges Design ohne externe Assets */
:root{font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.6;color:#282722;background:#f6f4ee;--ink:#20211f;--copy:#383832;--muted:#706e63;--gold:#a98915;--gold-dark:#755b0b;--gold-soft:#f4edcf;--paper:#fffefa;--line:#e5dfcf;--shadow:0 20px 55px rgba(34,30,17,.065);--shadow-hover:0 28px 55px rgba(34,30,17,.12)}*,*:before,*:after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:radial-gradient(ellipse 60% 550px at 90% -80px,#f0e7c8 0,transparent 80%),radial-gradient(ellipse 45% 450px at -20% 450px,#eee9dd 0,transparent 80%),#f6f4ee}a{color:var(--gold-dark)}a:hover{color:#4c3906}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #b9972a;outline-offset:3px}::selection{background:#eddda4;color:#252014}header{position:relative;z-index:2;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;min-height:88px;padding:1rem max(1.25rem,calc((100vw - 1160px)/2));background:rgba(255,254,250,.94);border-bottom:1px solid #e9e4d7;box-shadow:0 5px 25px #26200f05}header strong{display:inline-flex;align-items:center;gap:.65rem;color:#25251f;font-size:1.15rem;letter-spacing:-.045em;white-space:nowrap}header strong:before{content:"✦";display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:#f8ecc0;background:linear-gradient(145deg,#242620,#3c382b);font-size:1.3rem;box-shadow:0 7px 17px #1e1f1d23}header nav{display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap}header nav a{text-decoration:none;color:#514e43;font-weight:680;font-size:.91rem}header nav a:hover{color:var(--gold-dark)}header form{margin:0}header button{padding:.6rem .95rem;border:1px solid #e5dfcf;background:#f8f6ee;color:#554618;box-shadow:none}header button:hover{background:#eee5cb;color:#342a0c;box-shadow:none}main{max-width:1160px;margin:0 auto;padding:clamp(1.8rem,4vw,3.8rem) 1.25rem 6rem}main>h1{max-width:920px;margin:0 0 1.75rem;color:var(--ink);font-size:clamp(2.05rem,4.6vw,3.45rem);line-height:1.11;letter-spacing:-.062em;font-weight:760}h2,h3{color:var(--ink);line-height:1.23;letter-spacing:-.045em}h2{font-size:1.45rem}p{margin:.6rem 0 1rem}section,article{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:1.7rem;margin:1.2rem 0;box-shadow:var(--shadow)}section>h2{margin:.05rem 0 1.1rem}button,input,textarea,select{font:inherit}form{display:flex;flex-wrap:wrap;align-items:end;gap:.8rem;margin:.9rem 0}label{display:grid;gap:.42rem;min-width:210px;flex:1;color:#4d493d;font-size:.88rem;font-weight:680}input,textarea,select{max-width:100%;padding:.77rem .9rem;border:1px solid #dcd6c6;border-radius:10px;background:#fff;color:#25251f;box-shadow:inset 0 1px 2px #21201305}input::placeholder,textarea::placeholder{color:#928c7d}textarea{width:100%;min-height:122px;resize:vertical}button{min-height:44px;padding:.7rem 1.1rem;border:1px solid #a98915;border-radius:10px;background:linear-gradient(180deg,#c4a339,#a98915);color:#231c09;font-weight:760;cursor:pointer;box-shadow:0 5px 12px #a989152a;transition:transform .18s,box-shadow .18s,background .18s}button:hover{transform:translateY(-2px);background:linear-gradient(180deg,#d4b451,#b2911c);box-shadow:0 9px 20px #a9891538}button:active{transform:translateY(0)}.secondary{background:#f7f2df;border-color:#e7d9ac;box-shadow:none;color:#67500b}.secondary:hover{background:#f0e5be;box-shadow:none}.eyebrow,.tile-kicker{display:block;color:var(--gold-dark);font-size:.7rem;font-weight:820;letter-spacing:.16em;text-transform:uppercase}.back{font-size:.86rem;font-weight:720;text-decoration:none}.item{padding:1rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.item:first-of-type{border-top:0}.item form{display:inline-flex;margin:.3rem .7rem}.item button{min-height:38px;padding:.5rem .75rem;font-size:.86rem}
/* Kursübersicht */
.dashboard-intro{position:relative;isolation:isolate;overflow:hidden;min-height:250px;padding:clamp(2rem,5vw,3.5rem);border:1px solid #615334;border-radius:25px;background:linear-gradient(120deg,#242621 0%,#33332b 59%,#52472b 100%);color:#f8f5e9;box-shadow:0 25px 50px #26261927}.dashboard-intro:before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 81% 50%,#b99a3936 0,transparent 33%),repeating-linear-gradient(110deg,transparent 0 24px,#ffffff05 24px 25px)}.dashboard-intro:after{content:"✦";position:absolute;right:6%;top:-1.5rem;font-size:14rem;line-height:1;color:#dccb7840;font-family:Georgia,serif;transform:rotate(-18deg);pointer-events:none}.dashboard-intro .eyebrow{color:#e6cf7e}.dashboard-intro h2{position:relative;margin:.5rem 0 .7rem;max-width:620px;color:#fffdf5;font-size:clamp(2rem,4vw,3.1rem);line-height:1.12}.dashboard-intro p:last-child{position:relative;max-width:510px;margin:0;color:#e6e1d0}.course-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,305px),1fr));gap:1.35rem;margin-top:1.5rem}.course-tile{display:flex;flex-direction:column;min-height:360px;margin:0;padding:1.8rem;background:#fffefa;border:1px solid #e6e0d0;border-radius:20px;text-decoration:none;box-shadow:var(--shadow);transition:transform .2s,border-color .2s,box-shadow .2s}.course-tile:hover{transform:translateY(-5px);border-color:#c5aa55;box-shadow:var(--shadow-hover)}.tile-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;margin-bottom:1.5rem;border-radius:13px;background:linear-gradient(145deg,#f9f3df,#eee1b6);color:#81630e;font-size:1.3rem}.course-tile strong{display:block;margin:.4rem 0 .6rem;color:#292a26;font-size:1.5rem;letter-spacing:-.045em;line-height:1.22}.tile-description{display:-webkit-box;overflow:hidden;-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:4.1em;color:#716d60;font-size:.9rem;line-height:1.55}.tile-progress{display:flex;justify-content:space-between;gap:.4rem;margin-top:auto;padding-top:1.5rem;color:#665925;font-size:.82rem;font-weight:720}.progress-track{display:block;height:8px;overflow:hidden;margin:.7rem 0 1.2rem;border-radius:100px;background:#eee9dc}.progress-track>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#977619,#d4b653);transition:width .3s}.tile-cta{display:flex;justify-content:space-between;padding-top:1rem;border-top:1px solid var(--line);color:#755b0b;font-size:.89rem;font-weight:760}
/* Kurs und Lektionsnavigation */
.course-hero{position:relative;overflow:hidden;margin:0 0 1.4rem;padding:clamp(1.6rem,4vw,2.8rem);border-radius:22px;color:#f7f1df;background:linear-gradient(110deg,#262721,#3c392b 65%,#65522b);box-shadow:0 18px 36px #2b281c25}.course-hero:after{content:"✦";position:absolute;right:5%;top:-2rem;color:#c8ab5542;font-size:11rem;pointer-events:none}.course-hero .back{position:relative;color:#eee1bd}.course-hero .eyebrow{position:relative;margin:1.8rem 0 .5rem;color:#e6cc77}.course-hero .hero-description{position:relative;max-width:720px;color:#eee8d8;font-size:1.08rem}.progress-header{position:relative;display:flex;justify-content:space-between;gap:1rem;margin-top:2rem;color:#f7e8be;font-size:.89rem}.course-hero .progress-track{height:10px;margin:.5rem 0 0;background:#766b52}.lesson-list{display:grid;gap:.8rem}.lesson-list-item{display:flex;align-items:center;gap:1.1rem;min-height:88px;padding:1.1rem 1.3rem;border:1px solid #e8e2d3;border-radius:15px;background:#fffefa;color:#282722;text-decoration:none;box-shadow:var(--shadow);transition:transform .18s,border-color .18s,box-shadow .18s}.lesson-list-item:hover{transform:translateX(4px);border-color:#c2a755;box-shadow:0 12px 30px #2c281c12}.lesson-number{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:12px;background:#f4edd4;color:#74580a;font-size:1rem;font-weight:800}.list-main{display:grid;gap:.15rem;flex:1;min-width:0}.list-main small{color:#8a7023;font-size:.68rem;font-weight:800;letter-spacing:.14em}.list-main strong{overflow-wrap:anywhere;font-size:1.1rem;line-height:1.35}.status{display:inline-flex;align-items:center;white-space:nowrap;padding:.4rem .76rem;border:1px solid #e9e5da;border-radius:100px;background:#f6f4ef;color:#666255;font-size:.75rem;font-weight:750}.status-done{border-color:#e5d4a0;background:#f7edcb;color:#66500e}.list-arrow{color:#8a6b11;font-size:1.4rem}.empty-state{padding:2rem;border:1px dashed #c9b674;border-radius:16px;background:#fffefa;color:var(--muted)}
/* Leseseite */
.reading-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:1.65rem;align-items:start}.lesson-sidebar{position:sticky;top:1.5rem;margin:0;padding:1.3rem;border:1px solid var(--line);border-radius:17px;background:#fffefa;box-shadow:var(--shadow)}.lesson-sidebar>.back{display:block;margin-bottom:1.7rem;color:#765b0e;line-height:1.35}.lesson-sidebar .eyebrow{margin:0 0 .6rem}.sidebar-list{display:grid;gap:.2rem}.sidebar-list a{display:flex;align-items:center;gap:.65rem;padding:.7rem;border-radius:9px;color:#666155;text-decoration:none;font-size:.86rem;line-height:1.3;overflow-wrap:anywhere}.sidebar-list a:hover{background:#f7f3e4}.sidebar-list a[aria-current=page]{background:#f4ead0;color:#42360e;font-weight:750}.sidebar-list a span{display:grid;place-items:center;flex:none;min-width:27px;height:27px;border-radius:7px;background:#f2eedf;color:#745e15;font-weight:750}.reading-main{min-width:0}.reading-head{position:relative;overflow:hidden;padding:1.5rem 1.8rem;border-radius:18px;background:linear-gradient(115deg,#292b25,#4a402b);color:#fffaf0;box-shadow:0 12px 30px #2b281c1a}.reading-head:after{content:"✦";position:absolute;right:7%;top:-3rem;color:#dec06b2b;font-size:9rem;pointer-events:none}.reading-head .back{position:relative;color:#e9dbb4}.reading-head .eyebrow{position:relative;margin:1.1rem 0 .55rem;color:#efd58c}.reading-status{position:relative}.reading-card{min-height:300px;margin:1rem 0 0;padding:clamp(1.5rem,4vw,3rem);border-radius:18px}.rich-content{max-width:760px;color:#37372f;font-size:1.04rem;line-height:1.85;overflow-wrap:anywhere}.rich-content p{margin:0 0 1.25em}.rich-content h2{margin:1.6em 0 .5em;font-size:1.75rem}.rich-content h3{margin:1.55em 0 .5em;font-size:1.35rem}.rich-content ul,.rich-content ol{margin:.6rem 0 1.4rem;padding-left:1.55rem}.rich-content li{margin:.35rem 0}.rich-content blockquote{margin:1.5rem 0;padding:.5rem 1.3rem;border-left:4px solid #ad8d29;border-radius:0 8px 8px 0;background:#f9f4e7;color:#5b533e}.inline-media{display:block;margin:1.8rem 0}.inline-media img,.inline-media video{display:block;max-width:100%;max-height:67vh;border-radius:12px;background:#20221e;box-shadow:0 12px 28px #211d141a}.inline-media video{width:100%;max-width:850px}.inline-media figcaption,.inline-media .caption{display:block;margin-top:.55rem;color:#777061;font-size:.79rem}.file-link{display:inline-block;padding:.8rem 1rem;border:1px solid #e5d5a4;border-radius:10px;background:#faf4e1;font-weight:700;text-decoration:none}.reading-main>.lesson-footer{margin:1rem 0;border:1px solid var(--line);border-radius:14px}.lesson-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;padding:1.1rem 1.35rem;background:#fffefa;color:#676253;font-size:.88rem}.lesson-footer form{margin:0}.complete-button{min-width:185px}.lesson-navigation{display:flex;justify-content:space-between;gap:1rem;margin:1.35rem 0}.lesson-navigation>a{flex:1;max-width:49%;padding:1.2rem 1.3rem;border:1px solid var(--line);border-radius:14px;background:#fffefa;color:#806414;text-decoration:none;font-size:.82rem;box-shadow:var(--shadow);transition:border-color .15s,transform .15s}.lesson-navigation>a:hover{border-color:#bfa44c;transform:translateY(-2px)}.lesson-navigation>a:last-child{text-align:right}.lesson-navigation strong{display:inline-block;margin-top:.25rem;color:#2d2b24;font-size:1rem;line-height:1.35}
/* Admin und Editor */
main>section{border-top:3px solid #d7bd68}main>section>h2:before{content:"";display:inline-block;width:8px;height:8px;margin-right:.65rem;border-radius:50%;background:var(--gold);vertical-align:middle}.admin-editor{margin-top:2rem}.admin-editor>p{color:var(--muted)}.editor-form{display:block}.editor-form>label{margin:1rem 0}.rich-editor{width:100%;margin:1rem 0}.editor-tools{display:flex;flex-wrap:wrap;gap:.35rem;padding:.6rem;border:1px solid #e2d8b9;border-radius:12px 12px 0 0;background:#f5f0df}.editor-tools button{min-height:36px;padding:.35rem .65rem;border:1px solid #e1d6b3;background:#fffefa;color:#554516;font-size:.8rem;box-shadow:none}.editor-tools button:hover{background:#efe1b4;box-shadow:none}.editor-surface{min-height:260px;max-height:650px;overflow-y:auto;padding:1.4rem;border:1px solid #e2d8b9;border-top:0;border-radius:0 0 12px 12px;background:#fff;line-height:1.75;outline:none}.editor-surface:focus{border-color:#b9972a;box-shadow:0 0 0 3px #b9972a2a}.editor-surface h2{font-size:1.5rem}.editor-surface [data-media-id]{display:inline-block;padding:.25rem .55rem;border-radius:7px;background:#f5e8bf;color:#675009;font-weight:700}.editor-hint{color:var(--muted);font-size:.82rem}.insert-media{min-height:36px;margin:.17rem;padding:.4rem .65rem;font-size:.79rem}.upload-panel{margin-top:1.5rem;padding:1.25rem;border:1px solid #e8dfc4;border-radius:13px;background:#faf7ec}.upload-panel h3{margin:0}.upload-panel p{font-size:.82rem;color:var(--muted)}.admin-medium{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.6rem;padding:.65rem 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.admin-medium form{margin:0}
/* Kleiner Loginbereich */
main:has(>h1:first-child):not(:has(.course-grid,.course-hero,.reading-layout)):not(:has(>section))>form{max-width:475px;margin:1.7rem 0;padding:2rem;display:grid;background:#fffefa;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:17px;box-shadow:var(--shadow)}main:has(>h1:first-child):not(:has(.course-grid,.course-hero,.reading-layout)):not(:has(>section))>form label{width:100%}
@media(max-width:850px){.reading-layout{grid-template-columns:1fr}.lesson-sidebar{position:static}.sidebar-list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}}@media(max-width:620px){header{padding:1rem 1.2rem;min-height:70px}header nav{gap:.8rem}main{padding:1.6rem 1rem 4rem}.dashboard-intro{min-height:230px}.dashboard-intro:after,.course-hero:after{font-size:9rem;top:1rem}.course-tile{min-height:310px}.lesson-list-item{gap:.7rem;padding:.9rem}.lesson-list-item .status{padding:.28rem .4rem;font-size:.68rem}.lesson-list-item .list-arrow{display:none}.lesson-number{width:40px;height:40px}.reading-head{padding:1.3rem}.reading-card{padding:1.4rem}.lesson-navigation{flex-wrap:wrap}.lesson-navigation>a{max-width:100%;min-width:100%}.lesson-footer{padding:1rem}.item form{margin:.4rem 0}.admin-medium{display:block}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* 1.5 · Lesbare Beschriftung auf dunklem Gold */
button,.complete-button{background:#765b0b;border-color:#765b0b;color:#fff!important;box-shadow:0 5px 12px #6047062b}
button:hover,.complete-button:hover{background:#604909;border-color:#604909;color:#fff!important;box-shadow:0 9px 20px #60470635}
button:active{background:#594307;color:#fff!important}
button.secondary,header button,.editor-tools button,.insert-media.secondary{background:#f7f2df;border-color:#e4d5a6;color:#5b470d!important;box-shadow:none}
button.secondary:hover,header button:hover,.editor-tools button:hover,.insert-media.secondary:hover{background:#eee2b9;border-color:#d2bd76;color:#443407!important;box-shadow:none}
/* 1.6 · Eigenständige Mitgliederverwaltung */
.member-intro{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1.5rem;padding:1.7rem 2rem;border:1px solid #64542b;border-radius:20px;background:linear-gradient(110deg,#262721,#48412e);color:#f7f1e2;box-shadow:0 18px 36px #29251b20}.member-intro h2{margin:.3rem 0;font-size:1.8rem;color:#fffdf5}.member-intro .eyebrow{color:#ecd48d}.member-intro p:last-child{margin:0;color:#e9e1cb}.member-intro form{margin:0}.member-intro button{min-width:215px}.credential-reveal{padding:1.6rem;border:2px solid #bb9a34;border-top:5px solid #a98915;background:#fffbeb}.credential-reveal h2{color:#4c3b09}.credential-reveal p{color:#554c33}.credential-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:1rem;margin-top:1.2rem}.credential-grid>div{display:grid;gap:.3rem;padding:1rem;border:1px solid #e5d7ad;border-radius:12px;background:white}.credential-grid small{color:#675b3c;font-size:.75rem;font-weight:750;letter-spacing:.08em;text-transform:uppercase}.credential-grid code{overflow-wrap:anywhere;color:#2a2821;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:1.15rem;font-weight:750}.count-badge{display:inline-grid;place-items:center;min-width:29px;height:29px;padding:0 .5rem;border-radius:99px;background:#f4ead0;color:#6d520a;font-size:.83rem;vertical-align:middle}.member-list{border-top:1px solid var(--line)}.member-row{display:flex;align-items:center;flex-wrap:wrap;gap:1rem;padding:1rem .15rem;border-bottom:1px solid var(--line)}.member-identity{display:flex;align-items:center;gap:.8rem;min-width:190px;flex:1}.member-avatar{display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:11px;background:#ede4c7;color:#6f560d;font-size:.81rem;font-weight:850}.member-identity strong{display:block;color:#272620;font-size:1.03rem}.member-identity small{display:block;color:var(--muted);font-size:.76rem}.member-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.6rem}.member-actions form{margin:0}.member-actions details{position:relative}.member-actions summary{padding:.5rem;color:#755b0b;font-size:.85rem;font-weight:700;cursor:pointer}.member-actions details[open]{width:100%;padding:.8rem;border:1px solid var(--line);border-radius:10px;background:#f9f6ec}.member-actions details form{margin:.5rem 0}.grant-list{margin-top:1rem;border-top:1px solid var(--line)}.grant-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding:.7rem .1rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.grant-row form{margin:0}.grant-row button,.member-actions button{min-height:38px;padding:.47rem .75rem;font-size:.83rem}@media(max-width:620px){.member-intro{padding:1.4rem}.member-intro form,.member-intro button{width:100%}.member-row>.status{order:2}.member-actions{width:100%;order:3}.member-actions details[open]{width:100%}}
/* 1.7 · Ruhiges Kursstudio */
.admin-hero{display:flex;align-items:center;justify-content:space-between;gap:2rem;overflow:hidden;padding:2.2rem 2.5rem;border-radius:22px;background:linear-gradient(110deg,#242621,#48402a);color:#f9f4e9;box-shadow:0 19px 42px #2623182a}.admin-hero .eyebrow{color:#e9d58d}.admin-hero h2{margin:.3rem 0;color:#fffdf7;font-size:clamp(1.8rem,3.5vw,2.7rem)}.admin-hero p:last-child{max-width:530px;margin:0;color:#e4decb}.admin-hero-count{display:grid;place-items:center;flex:none;min-width:95px;height:95px;border:1px solid #d6bb7778;border-radius:22px;background:#d2b4521c;color:#f8e7ab;font-size:2.15rem;font-weight:800;line-height:1}.admin-hero-count small{display:block;font-size:.72rem;font-weight:650;letter-spacing:.07em}.new-course-panel{margin:1.5rem 0 1.75rem;padding:1.7rem 2rem}.new-course-panel form{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(260px,1.3fr) auto;align-items:end;gap:1rem}.new-course-panel textarea{min-height:48px;height:48px}.new-course-panel button{white-space:nowrap}.admin-course-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,310px),1fr));gap:1.2rem}.admin-course-card{display:flex;flex-direction:column;min-height:270px;margin:0;padding:1.5rem;position:relative}.admin-course-card .tile-icon{margin-bottom:1.2rem}.admin-course-card>.status{position:absolute;right:1.4rem;top:1.65rem}.admin-course-card h2{font-size:1.4rem;margin:0 0 .45rem}.admin-course-card>p{margin:0;color:var(--muted);font-size:.89rem;line-height:1.5;overflow-wrap:anywhere}.admin-course-foot{display:flex;justify-content:space-between;gap:.5rem;align-items:center;margin-top:auto;padding-top:1.3rem;color:#777063;font-size:.8rem}.admin-course-foot a{font-size:.87rem;font-weight:760;text-decoration:none}.editcourse-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1.5rem}.editcourse-head>a{font-size:.88rem;font-weight:720;text-decoration:none}.editcourse-head>div{display:flex;align-items:center;gap:.8rem;flex-wrap:wrap}.secondary-link{display:inline-block;padding:.4rem .7rem;border:1px solid var(--line);border-radius:9px;background:var(--paper);font-size:.8rem;font-weight:690;text-decoration:none}.editcourse-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:1.4rem;align-items:start}.editcourse-section{margin:0 0 1.4rem;padding:1.9rem}.editcourse-section .eyebrow{margin:0 0 .5rem}.editcourse-section h2{margin:0 0 1.2rem}.editcourse-section form{display:grid;align-items:stretch}.editcourse-section form>label{display:grid;width:100%}.editcourse-section form>button{justify-self:start}.admin-lesson-list{display:grid;gap:.5rem}.admin-lesson-list a{display:flex;align-items:center;gap:.9rem;padding:.75rem;border:1px solid var(--line);border-radius:12px;text-decoration:none;background:#fbfaf6}.admin-lesson-list a:hover{border-color:#c6ab59}.admin-lesson-list strong{flex:1;color:var(--ink);overflow-wrap:anywhere}.admin-lesson-list a>span:last-child{font-size:.78rem;font-weight:750;color:var(--gold-dark)}.admin-lesson-list .lesson-number{width:36px;height:36px;font-size:.78rem}.publish-panel{position:sticky;top:1.5rem;margin:0;padding:1.6rem;background:#2d2d26;color:#eae2ce;border-color:#514d38}.publish-panel .eyebrow{color:#ead58e}.publish-panel h2{margin:.3rem 0 .8rem;color:#fff}.publish-panel p{font-size:.86rem;line-height:1.55}.publish-panel form{margin:1.2rem 0}.publish-panel form button{width:100%}.publish-panel .publish-note{padding-top:1rem;border-top:1px solid #ffffff23;color:#d1c6a6;font-size:.76rem}.admin-editor{padding:2rem}.admin-editor .eyebrow{margin:0}.admin-editor>h2{font-size:1.75rem}.editor-head{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding:.7rem 1rem;border:1px solid #e2d8b9;border-radius:13px 13px 0 0;background:#2c2d27;color:#fff}.editor-head strong{font-size:.87rem}.editor-head span{font-size:.75rem;color:#e1d7b8}.rich-editor .editor-tools{border-top:0;border-radius:0}.rich-editor .editor-surface{min-height:380px;max-height:750px;padding:1.9rem;font-size:1.02rem}.editor-surface:empty:before{content:attr(data-placeholder);color:#aaa395}.editor-bottom{padding:.6rem .9rem;background:#faf8ee;border:1px solid #e2d8b9;border-top:0;border-radius:0 0 12px 12px;color:#766d59;font-size:.74rem}.tool-divider{display:block;align-self:stretch;width:1px;margin:.1rem .3rem;background:#d8cba9}.media-library{margin-top:1.3rem;padding:1.2rem;border:1px solid #e7dfc8;border-radius:13px;background:#fcfaf3}.media-library h3{font-size:1.08rem;margin:0}.media-library p{margin:.2rem 0 1rem;color:var(--muted);font-size:.82rem}.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:.8rem}.media-choice{display:flex;flex-direction:column;gap:.45rem;min-width:0;padding:.55rem;border:1px solid #e6decb;border-radius:11px;background:white}.media-choice-preview{display:grid;place-items:center;height:94px;overflow:hidden;border-radius:7px;background:#ece8db}.media-choice-preview img{width:100%;height:100%;object-fit:cover}.media-type-icon{color:#715611;font-weight:850;font-size:1.35rem}.media-choice>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.77rem;color:#514b3d}.media-choice button{width:100%;min-height:35px;font-size:.76rem}@media(max-width:900px){.editcourse-grid{grid-template-columns:1fr}.publish-panel{position:static}.new-course-panel form{grid-template-columns:1fr}.new-course-panel textarea{height:100px}}@media(max-width:600px){.admin-hero{padding:1.5rem}.admin-hero-count{display:none}.admin-editor{padding:1.2rem}.rich-editor .editor-surface{padding:1rem;min-height:280px}.editor-head span{display:none}.admin-lesson-list a{gap:.45rem}.admin-lesson-list a>span:last-child{font-size:.7rem}}
/* 1.8 · Freiwillige Reflexion pro Lektion */
.reflection-panel{position:relative;overflow:hidden;scroll-margin-top:1.5rem;margin:1.35rem 0 0;padding:clamp(1.4rem,3vw,2.25rem);border:1px solid #d9c999;border-top:4px solid #a98915;background:linear-gradient(140deg,#fffcf2 0%,#fffefa 75%)}.reflection-icon{display:grid;place-items:center;width:47px;height:47px;margin-bottom:1rem;border-radius:13px;background:#f0e4b9;color:#74580a;font-size:1.5rem}.reflection-panel .eyebrow{margin:0}.reflection-panel h2{margin:.2rem 0 .9rem;font-size:1.65rem}.reflection-panel .reflection-question{max-width:680px;padding:1rem 1.15rem;border-left:3px solid #a98915;border-radius:0 9px 9px 0;background:#f6eed4;color:#3e351e;font-size:1.11rem;font-weight:710;line-height:1.5}.reflection-panel>p:not(.eyebrow):not(.reflection-question){color:#655f50;font-size:.9rem}.reflection-panel form{display:block;margin:1.2rem 0 .6rem}.reflection-panel label{display:block;margin:0 0 .5rem;font-size:.88rem}.reflection-panel textarea{display:block;width:100%;min-height:190px;padding:1rem 1.15rem;border-color:#d8cba7;border-radius:12px;background:white;font-size:1rem;line-height:1.65}.reflection-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.8rem;margin-top:1rem}.reflection-actions span{font-size:.8rem;color:#6d685b}.reflection-panel>small{color:#77705f;font-size:.75rem}.reflection-settings{margin-top:1.2rem;padding:1.5rem;background:#fdfbf4}.reflection-settings h2{margin:.3rem 0}.reflection-settings p:not(.eyebrow){color:#666051;font-size:.89rem}.reflection-settings form{display:flex;align-items:center;gap:1rem}.reflection-settings form button{margin-left:auto}@media(max-width:620px){.reflection-panel{padding:1.3rem}.reflection-actions button{width:100%}.reflection-settings form button{margin-left:0}}
/* 1.9 · Kapitel mit einer Ebene Unterkapitel */
.admin-outline-row{padding:.12rem 0}.admin-outline-row>a{display:flex;align-items:center;gap:.9rem;padding:.75rem;border:1px solid var(--line);border-radius:12px;background:#fbfaf6;text-decoration:none}.admin-outline-row>a:hover{border-color:#c6ab59}.admin-outline-row>a strong{flex:1;color:var(--ink);overflow-wrap:anywhere}.admin-outline-row>a small{color:#756843;font-size:.68rem;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.admin-outline-row>a>span:last-child{color:var(--gold-dark);font-size:.78rem;font-weight:760}.admin-outline-row .lesson-number{width:38px;height:38px;font-size:.82rem}.admin-outline-row.subchapter{margin-left:1.8rem;position:relative}.admin-outline-row.subchapter:before{content:"";position:absolute;left:-1.05rem;top:0;bottom:50%;width:.8rem;border-left:2px solid #d4c18a;border-bottom:2px solid #d4c18a;border-radius:0 0 0 8px}.admin-outline-row:not(.subchapter)>form{display:flex;align-items:end;gap:.55rem;margin:.45rem 0 .8rem 2.3rem;padding:.75rem;border:1px dashed #d9cda8;border-radius:11px;background:#faf7eb}.admin-outline-row form label{min-width:160px}.admin-outline-row form button{white-space:nowrap}.lesson-list-item.subchapter{margin-left:2.2rem;background:#fbfaf5;position:relative}.lesson-list-item.subchapter:before{content:"";position:absolute;left:-1.35rem;top:-.85rem;bottom:50%;width:1rem;border-left:2px solid #d4c18a;border-bottom:2px solid #d4c18a;border-radius:0 0 0 8px}.lesson-list-item.subchapter .lesson-number{background:#ece5d1;width:42px;height:42px;font-size:.85rem}.sidebar-list a.subchapter{margin-left:.85rem;padding-left:.9rem;border-left:2px solid #e1d6b4;border-radius:0 8px 8px 0}.sidebar-list a.subchapter[aria-current=page]{border-left-color:#a98915}.admin-lesson-list{gap:.15rem}@media(max-width:620px){.lesson-list-item.subchapter{margin-left:1rem}.lesson-list-item.subchapter:before{left:-.8rem;width:.6rem}.admin-outline-row.subchapter{margin-left:1rem}.admin-outline-row.subchapter:before{left:-.8rem;width:.6rem}.admin-outline-row:not(.subchapter)>form{margin-left:0;display:grid}.admin-outline-row>a{gap:.45rem}.admin-outline-row>a small{display:none}}
