:root{--paper:#f5f7f3;--ink:#283c36;--muted:#53665e;--line:#ccd5ce;--accent:#365d50;--coral:#edf2ed;--violet:#edf2ed;--yellow:#edf2ed;--blue:#edf2ed;--mint:#edf2ed}
.totp-qr{max-width:300px;background:#fff;margin:24px 0}.totp-qr svg{display:block;width:100%;height:auto}.totp-secret{overflow-wrap:anywhere;font-family:monospace;user-select:all}
.publication-choice{margin-top:28px;padding:14px 18px;background:#edf2ed;border:1px solid var(--line);border-radius:8px}
.admin .publication-choice label{display:flex;align-items:flex-start;gap:14px;margin:0;cursor:pointer;font-size:.85em;overflow-wrap:anywhere}
.admin .publication-choice input[type=checkbox]{flex:0 0 auto;width:24px;height:24px;margin:3px 0 0;padding:0;accent-color:var(--accent)}
html{background:#e8ede7}
body{width:min(1300px,calc(100% - 48px));min-height:calc(100vh - 48px);margin:24px auto;padding-bottom:1px;background:var(--paper);line-height:1.7;border:1px solid #c5d0c6;border-radius:12px;box-shadow:0 6px 28px rgb(40 60 54 / 5%)}
.masthead-line,.site-header,main,footer{width:min(1180px,calc(100% - 80px))}
.masthead-line{border:0;font-family:inherit;font-size:.68em;color:var(--muted);padding:14px 0 0}
.site-header{border-bottom:1px solid var(--line);padding:26px 0;gap:24px}
.brand{font-size:36px;letter-spacing:-.045em;font-weight:700}
.site-header nav{gap:28px}.reading-controls button{border-color:var(--line);border-radius:6px;font-family:inherit;background:#fff}
.kicker{font-family:inherit;font-weight:600;font-size:.68em;letter-spacing:.09em;color:var(--muted)}
.front-page{display:block;padding:72px 0 64px;border-bottom:1px solid var(--line);position:static}
.front-copy{max-width:820px}.front-copy h1{font-size:clamp(42px,5.3vw,68px);line-height:1.16;letter-spacing:-.035em;margin:18px 0 24px;color:var(--ink)}
.front-copy>p:not(.kicker){max-width:700px;font-size:1.05em;line-height:1.75;color:var(--muted)}
.front-actions{display:flex;align-items:center;gap:28px;flex-wrap:wrap;margin-top:26px}
.button,.admin button{background:var(--accent);border-color:var(--accent);border-radius:6px;margin-top:0;font-size:.85em;padding:12px 22px}
.text-link{border:0;display:inline;font-weight:500;text-decoration:underline;padding:10px 0}
.topics,.latest{padding:48px 0}.section-top{margin-bottom:24px;align-items:center}.topics .section-top{display:block}
.section-top h2{font-size:clamp(30px,3vw,40px);line-height:1.3;letter-spacing:-.025em;margin:8px 0}
.topic-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border:0}
.topic-row{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:12px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:24px;transition:background-color .15s,border-color .15s}
.topic-row:hover{padding-left:24px;background:#eaf0e9;border-color:var(--accent)}
.topic-name{font-family:inherit;font-size:1.05em;font-weight:650;line-height:1.4;letter-spacing:0;color:var(--accent)}
.topic-subtitle{font-size:.83em;line-height:1.6;color:var(--muted)}
.search{width:min(400px,100%)}.search label{font-family:inherit;font-size:.75em;display:block;color:var(--muted)}
.search>div{border:1px solid var(--line);border-radius:6px;background:#fff;overflow:hidden}
.search input{padding:12px;font-size:.8em}.search button{background:var(--accent);color:#fff;padding:12px 18px;font-size:.75em;font-weight:600;min-height:48px}
.article-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.article-card,.article-card:first-child{display:flex;flex-direction:column;grid-column:auto;gap:0;background:#fff;border:1px solid var(--line);border-radius:8px;padding:28px}
.card-meta,.article-card:first-child .card-meta{font-family:inherit;font-size:.65em;line-height:1.6;margin:0 0 16px;justify-content:flex-start;gap:8px 16px;color:var(--muted)}
.card-meta>span{color:var(--accent);text-transform:none;font-weight:650}
.article-card h3,.article-card:first-child h3{font-size:1.35em;line-height:1.35;letter-spacing:-.02em;margin:0 0 14px}
.article-card p{font-size:1em;line-height:1.75;margin:0;color:var(--muted)}
.empty-state{background:#edf2ed;border:1px solid var(--line);border-radius:8px;padding:32px}.empty-state h3{font-size:1.4em;line-height:1.4}
.editorial{display:block;border-top:1px solid var(--line);padding:48px 0;margin-top:16px}.editorial>div{max-width:800px}.editorial h2{font-size:clamp(30px,3vw,40px);line-height:1.3;letter-spacing:-.025em}.editorial p{max-width:780px}
footer{border-color:var(--line);padding:36px 0 40px;gap:30px}footer small{font-family:inherit;line-height:1.7}
.category-heading{background:#edf2ed;border:1px solid var(--line);border-radius:10px;padding:40px;margin-top:40px;grid-template-columns:1.6fr 1fr}
.category-heading h1,.page-heading h1{font-size:clamp(40px,5vw,60px);line-height:1.2}.category-heading img{width:100%;mix-blend-mode:normal;border-radius:8px}
.story{max-width:800px}.story h1{font-size:clamp(36px,4.5vw,60px);line-height:1.2;letter-spacing:-.025em}.lead{font-size:1.15em;line-height:1.7}
.article-figure img{border:0;border-radius:10px;object-fit:contain;background:#edf2ed}
.body-copy{font-size:1em;line-height:1.85}.body-copy h2{line-height:1.35}.body-copy pre{background:#e9efe8;border-left:3px solid var(--accent);border-radius:4px}
.source-box,.review,.notice,.publication-info{background:#edf2ed;border-color:var(--line);border-radius:8px}.source-box{padding:28px}.review{background:#fff}.admin input,.admin textarea,.admin select{border-color:var(--line);border-radius:5px}.admin h1{line-height:1.2}.admin button{margin-top:14px}
.cookie-banner{background:#293e35;border-top:1px solid #b4c7bb;gap:24px;padding:20px max(24px,calc((100vw - 1100px)/2))}.cookie-banner h2{font-family:inherit;font-size:22px}.cookie-actions button{border-radius:5px}
.back-to-top{display:flex;width:max-content;align-items:center;gap:10px;margin:0 auto 36px;padding:10px 20px;border:1px solid var(--line);border-radius:24px;background:#fff;color:var(--accent);font-size:.8em;text-decoration:none;min-height:44px}
.back-to-top span:first-child{font-size:1.3em}.back-to-top:hover{background:#eaf0e9;border-color:var(--accent)}
body.high-contrast{--paper:#fff;--ink:#000;--muted:#222;--line:#555;--accent:#123e2b}body.high-contrast .topic-row,body.high-contrast .category-heading,body.high-contrast .empty-state,body.high-contrast .notice,body.high-contrast .publication-info{background:#fff}
@media(max-width:950px){.masthead-line,.site-header,main,footer{width:calc(100% - 48px)}.topic-list,.article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-top{align-items:flex-start;flex-wrap:wrap}.category-heading{grid-template-columns:1fr}.category-heading img{max-width:340px;margin:auto}.front-page{padding:48px 0}.site-header nav{gap:20px}}
@media(max-width:600px){.masthead-line,.site-header,main,footer{width:calc(100% - 36px)}.brand{font-size:30px}.site-header{padding:20px 0}.site-header nav{gap:12px}.front-page{padding:36px 0 40px}.front-copy h1{font-size:clamp(36px,9vw,48px)}.front-actions{gap:18px}.topics,.latest{padding:32px 0}.topic-list,.article-grid{grid-template-columns:1fr}.topic-row{padding:22px;gap:8px}.topic-row:hover{padding-left:22px}.article-card,.article-card:first-child{padding:24px}.section-top{gap:16px}.category-heading{padding:24px;margin-top:28px}.editorial{padding:32px 0}.empty-state{padding:24px}.cookie-banner{padding:20px;gap:16px}}
@media(max-width:600px){body{width:calc(100% - 16px);min-height:calc(100vh - 16px);margin:8px auto;border-radius:8px}}
@media print{html{background:#fff}body{width:100%;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none}.back-to-top,.front-actions{display:none}.article-card{break-inside:avoid}.cookie-banner{display:none}}
#themen nav{margin:24px 0}#anfaenger,#profis,#opensource,#neuigkeiten,[id^=projekt-]{scroll-margin-top:24px}.topics .article-grid{margin-top:24px}.topics .article-card ul{padding-left:22px}.topics .article-card a{overflow-wrap:anywhere}
/* Farbige Orientierung mit unveränderter Lesereihenfolge. */
:root{--paper:#fbfcfa;--ink:#233c43;--muted:#4e6269;--line:#bbcbd0;--accent:#174b65;--coral:#fcece5;--violet:#eeeaf8;--yellow:#fbf2d9;--blue:#e7f1fa;--mint:#e5f2e9}
html{background:#e6edf2}
.front-page{background:linear-gradient(115deg,#e7f1fa,#f0f5e9 72%,#fbf2d9);border:1px solid #bbcbd0;border-radius:16px;padding:44px;margin-top:32px}
.front-copy{max-width:850px}.front-copy h1{color:#174b65}
.beginner-paths .article-card:nth-child(1){background:#e7f1fa;border-top:5px solid #245c7c}
.beginner-paths .article-card:nth-child(2){background:#eeeaf8;border-top:5px solid #65518c}
.beginner-paths .article-card:nth-child(3){background:#fbf2d9;border-top:5px solid #85631c}
.article-card a:not(.button){text-decoration:underline;text-underline-offset:.18em}
.topic-row.coral{background:var(--coral)}.topic-row.violet{background:var(--violet)}.topic-row.yellow{background:var(--yellow)}.topic-row.blue{background:var(--blue)}.topic-row.mint{background:var(--mint)}
.first-try{display:grid;grid-template-columns:1fr 1fr;gap:32px}.first-try pre{margin-top:0;background:#e7f1fa;color:#233c43}
:where(a,button,input,textarea,select,summary,[tabindex]):focus-visible{outline:3px solid #174b65;outline-offset:4px;box-shadow:0 0 0 7px #fff}
:where(button,.button,.reading-controls button){min-height:44px;min-width:44px}
.published-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:14px 0;border-bottom:1px solid var(--line)}.published-row span{overflow-wrap:anywhere}.published-row button{flex-shrink:0}.bulk-delete{margin-top:28px}.admin .bulk-delete input[type=checkbox]{width:24px;height:24px;vertical-align:middle;margin-right:10px}
body.high-contrast .front-page,body.high-contrast .article-card,body.high-contrast .first-try pre{background:#fff;color:#000;border-color:#000}body.high-contrast .front-copy h1{color:#000}body.high-contrast :focus-visible{outline-color:#000}
@media(max-width:600px){.front-page{padding:26px 22px;margin-top:24px}.first-try{grid-template-columns:1fr;gap:16px}.published-row{flex-direction:column;align-items:flex-start;gap:4px}}
@media(forced-colors:active){.front-page,.article-card,.topic-row{border:1px solid CanvasText}:focus-visible{outline:3px solid Highlight;box-shadow:none}}
.prompt-generator{scroll-margin-top:24px}.prompt-generator form{background:#e7f1fa;padding:30px;border:1px solid #bbcbd0;border-radius:12px}.prompt-generator label{display:block;font-weight:650;margin:16px 0 8px}.prompt-generator select,.prompt-generator textarea{width:100%;max-width:100%;font:inherit;background:#fff;color:#233c43;border:1px solid #607c8b;border-radius:6px;padding:12px}.prompt-generator textarea{resize:vertical}.generator-fields{display:grid;grid-template-columns:1fr 1fr;gap:24px}.generator-result{margin-top:28px;border-top:1px solid #607c8b;padding-top:8px}.prompt-generator .button{cursor:pointer}#prompt-status{min-height:1.7em}body.high-contrast .prompt-generator form{background:#fff;border-color:#000}
@media(max-width:600px){.prompt-generator form{padding:20px}.generator-fields{grid-template-columns:1fr;gap:0}}
