
*{box-sizing:border-box}
:root{--b:#1f4e79;--b2:#2c6ea3;--g:#39775a;--y:#e3a400;--ink:#203040;--muted:#657789;--line:#d6e0e8;--purple:#7153a3}
html{scroll-behavior:smooth}
body{margin:0;font:16px Arial,Helvetica,sans-serif;line-height:1.55;color:var(--ink);background:#f3f6f9}
.wrap{width:min(920px,calc(100% - 28px));margin:auto}
header{background:linear-gradient(135deg,var(--b),var(--b2));color:#fff;border-bottom:6px solid var(--y);padding:25px 0}
.crumbs{font-size:.85rem;margin-bottom:8px}.crumbs a{color:#fff;text-decoration:none}.crumbs a:hover{text-decoration:underline}
.kicker{font-size:.8rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;opacity:.9}
h1{margin:.2rem 0;font-size:clamp(1.7rem,5vw,2.9rem);line-height:1.08}header p{margin:0}
main{padding:20px 0 40px}
.status,.intro,.mission,.finish{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;margin-bottom:14px;box-shadow:0 4px 14px #18324a0d}
.statusline{display:flex;justify-content:space-between;gap:12px}.bar{height:10px;background:#e5ebf0;border-radius:20px;overflow:hidden;margin:9px 0}.bar i{display:block;height:100%;width:0;background:var(--g);transition:.3s}
.navrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.navhint{font-size:.9rem;color:var(--muted)}
.navbtn,.back{background:#e8edf2;color:#29435a}.navbtn:disabled{opacity:.45;cursor:not-allowed}
.intro h2,.mission h2,.finish h2{color:var(--b);margin-top:.2rem}
.merke,.check{background:#fff4d6;border-left:5px solid var(--y);padding:11px 13px;border-radius:8px}
.mission{display:none;border-top:5px solid var(--b)}.mission.active{display:block}.mission em{font-style:normal;font-size:.78rem;font-weight:bold;letter-spacing:.08em;color:var(--b)}
.task{display:grid;grid-template-columns:34px 1fr;gap:8px 12px;align-items:start;margin:15px 0}.task p{margin:.2rem 0 .8rem}
.step{width:30px;height:30px;border-radius:8px;background:var(--b);color:white;display:grid;place-items:center;font-weight:bold}
details{background:#eaf2f9;border-radius:9px;padding:10px 12px;margin:9px 0}summary{font-weight:bold;color:var(--b);cursor:pointer}
button,.linkbtn{border:0;border-radius:9px;padding:11px 14px;font-weight:bold;cursor:pointer;margin:6px 5px 4px 0;text-decoration:none;display:inline-block;font:inherit;font-weight:700}
.done{background:var(--g);color:#fff}.choice{background:var(--b);color:#fff}.bonus{background:#eee6fb;color:#583c87}
.hide{display:none!important}.extra{background:#f7f2ff;padding:11px 13px;border-radius:9px;margin-top:6px}
.bottomnav{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:16px;border-top:1px solid #e2e8ed;padding-top:12px}
.finish{text-align:center;border-top:6px solid var(--y)}.trophy{font-size:3.5rem}.finish .links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.linkbtn.primary{background:var(--b);color:#fff}.linkbtn.secondary{background:#e8edf2;color:#29435a}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.tile{border:1px solid var(--line);border-radius:10px;padding:12px;background:#fafcfe}.tile b{color:var(--b)}
.sortgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.sortbox{border:2px dashed #b5c6d5;border-radius:10px;padding:12px}.sortbox h3{margin-top:0;color:var(--b)}
.chip{display:inline-block;background:#eef3f7;border:1px solid #d4dee6;border-radius:999px;padding:6px 9px;margin:4px}
.eva{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:8px;margin:14px 0}.eva div{background:#eef4f8;border:1px solid #cfdce6;border-radius:10px;padding:14px;text-align:center}.arrow{font-size:1.5rem;color:var(--b);font-weight:bold}
.case{background:#f6f8fa;border-left:5px solid var(--b);padding:12px 14px;border-radius:8px}
.correct{background:#edf7f1;border-left:5px solid var(--g);padding:10px 12px;border-radius:8px;margin:8px 0}
.warn{background:#fff0f0;border-left:5px solid #a43e3e;padding:10px 12px;border-radius:8px}
footer{background:#17344d;color:#fff;padding:17px 0}
kbd{border:1px solid #aeb8c2;border-bottom-width:3px;border-radius:5px;background:#fff;padding:.1em .4em}
@media(max-width:650px){.grid2,.sortgrid{grid-template-columns:1fr}.eva{grid-template-columns:1fr}.arrow{transform:rotate(90deg);text-align:center}.bottomnav{flex-direction:column-reverse;align-items:stretch}.bottomnav button{width:100%}}

.screenshot-tip{background:#fff8df}
.screenshot-help{display:flex;gap:15px;align-items:flex-start;margin-top:10px}
.screenshot-help img{width:52px;height:auto;flex:0 0 auto}
.screenshot-help p{margin-top:0}
.screenshot-help ol{margin-bottom:0}
@media(max-width:520px){.screenshot-help{flex-direction:column}.screenshot-help img{width:46px}}


/* Interaktive Drag-&-Drop-Aufgaben */
.dragtask{margin:22px 0;padding:18px;border:1px solid #cbd9e4;border-radius:18px;background:#f9fbfd}
.dragtask h3{margin-top:0}
.dragprogress{height:10px;background:#dfe8ee;border-radius:99px;overflow:hidden;margin:14px 0 6px}
.dragprogress>div{height:100%;width:0;background:#315f85;transition:width .25s ease}
.dragstatus{margin:0 0 14px;font-weight:700}
.dragitems{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px;margin:16px 0}
.dragitem{border:2px solid #a9bdcc;border-radius:13px;background:#fff;color:#18324a;padding:13px 9px;font:inherit;font-weight:700;text-align:center;cursor:grab;user-select:none;touch-action:none}
.dragitem:hover{border-color:#315f85}
.dragitem:focus{outline:3px solid #315f85;outline-offset:2px}
.dragitem.selected{border-color:#315f85;background:#edf5fb}
.dragitem.correct{border-color:#4b9a67;background:#e9f7ee;cursor:default}
.dropzones{display:grid;gap:12px;margin-top:14px}
.dropzones.two{grid-template-columns:repeat(2,1fr)}
.dropzones.three{grid-template-columns:repeat(3,1fr)}
.dropzone{min-height:180px;border:3px dashed #9ab0c0;border-radius:16px;padding:12px;background:#fff}
.dropzone.dragover{border-style:solid;background:#edf5fb}
.dropzone h3,.dropzone>p{text-align:center;margin:4px 0 8px}
.dropzone>p{font-size:.9rem;color:#607487}
.dropped{display:flex;flex-wrap:wrap;gap:7px;justify-content:center}
.dropped .dragitem{padding:9px 10px;cursor:default}
.dragfeedback{margin-top:14px;padding:13px 14px;border-radius:12px;background:#f1f5f8;line-height:1.45}
.dragfeedback.good{background:#e9f7ee}
.dragfeedback.bad{background:#fff0f0}
.dragreset{margin-top:12px;border:0;border-radius:11px;padding:10px 13px;background:#e2eaf0;color:#18324a;font-weight:700;cursor:pointer}
.dragsuccess{margin-top:12px;padding:13px;border-radius:12px;background:#e9f7ee;text-align:center}
@media(max-width:780px){.dropzones.three{grid-template-columns:1fr}.dropzones.two{grid-template-columns:1fr}.dropzone{min-height:140px}}


/* Interaktiver Werkzeugkasten – Ergänzungen im bestehenden Moduldesign */
.interactive{margin:22px 0;padding:18px;border:1px solid #cbd9e4;border-radius:18px;background:#f9fbfd}
.interactive h3{margin-top:0;color:var(--b)}
.taskpool{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:14px 0}
.taskcard{border:2px solid #a9bdcc;border-radius:13px;background:#fff;color:#18324a;padding:13px 10px;font:inherit;font-weight:700;text-align:center;cursor:pointer}
.taskcard:hover{border-color:var(--b);background:#f4f8fb}
.taskcard.selected,.taskcard.used{border-color:var(--b);background:#edf5fb}
.taskcard.found{border-color:#4b9a67;background:#e9f7ee}
.feedback{margin-top:12px;padding:12px 13px;border-radius:11px;background:#f1f5f8}
.feedback.good{background:#e9f7ee}
.feedback.bad{background:#fff0f0}
.success{margin-top:12px;padding:13px;border-radius:12px;background:#e9f7ee;text-align:center}
.mini-bar{height:10px;background:#dfe8ee;border-radius:99px;overflow:hidden;margin:14px 0 6px}
.mini-bar i{display:block;height:100%;width:0;background:var(--g);transition:width .25s ease}
.fieldstatus{margin:0 0 12px;font-weight:700}
.mcoptions{display:grid;gap:9px;margin-top:12px}
.mcoptions button{margin:0;text-align:left;background:#fff;color:var(--ink);border:2px solid #c7d4de}
.mcoptions button:hover{border-color:var(--b)}
.mcoptions button.correct{background:#e9f7ee;border-color:#4b9a67}
.mcoptions button.wrong{background:#fff0f0;border-color:#b95b5b}
.answerline{margin-top:14px;padding:12px;border-radius:11px;background:#eef3f7}
.chosen{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}
.chosen .taskcard{padding:9px 10px;cursor:default}
.profi-box{border-left:5px solid var(--purple)}
.profi-think{background:#fff;padding:10px 12px;border-radius:9px}
.profi-tool-btn{background:var(--purple);color:#fff}
.profi-tool{margin-top:12px}
@media(max-width:650px){.taskpool{grid-template-columns:1fr}.interactive{padding:14px}}

/* Erweiterung: Netzwerk, Server, Speicherorte und schulische Kommunikation */
.network-scene,.server-scene{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin:16px 0}
.network-scene>div:not(.netline),.server-scene>div:not(.server-arrow){min-width:170px;border:1px solid var(--line);border-radius:12px;background:#fafcfe;padding:14px;text-align:center}
.network-scene span,.server-scene span{display:block;font-size:2rem;margin-bottom:4px}
.netcenter,.server-main{border:2px solid var(--b2)!important;background:#eaf2f9!important}
.netline,.server-arrow{font-size:1.7rem;color:var(--b);font-weight:700}
.server-scene small{display:block;color:var(--muted);margin-top:3px}
.home-rule{margin:12px 0;padding:12px 14px;border-radius:10px;background:#e9f7ee;border-left:5px solid var(--g);font-size:1.04rem}
.storagecards{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:15px 0}
.storagecards>div{border:1px solid var(--line);border-radius:12px;background:#fafcfe;padding:14px}
.storagecards span{display:block;font-size:2rem}.storagecards h3{color:var(--b);margin:.25rem 0}.storagecards p{margin:.35rem 0 .7rem}
.warningtext{color:#8b3a3a}.usb-note{margin-top:14px}
@media(max-width:720px){.storagecards{grid-template-columns:1fr}.netline,.server-arrow{transform:rotate(90deg)}}

/* Ergänzungen nach Unterrichtsrückmeldung */
.home-personal{margin:12px 0;padding:12px 14px;border-radius:10px;background:#eef4f8;border-left:5px solid var(--b2)}
.minihelp-inline{display:block;margin-top:8px;padding:9px 11px;border-radius:8px;background:#eef4f8;border-left:4px solid var(--b2)}


.footerlink{color:#eaf0f5;text-decoration:underline;text-underline-offset:3px}
.footerlink:hover,.footerlink:focus{color:#fff}
.footersep{opacity:.6;padding:0 .45rem}
