/* Simulator-Seiten (Rahmen um <HandsOnLab>): Hell + Royalblau wie lab.css; das Lab selbst stylt sich über --sim-* Variablen. */
.simp-w { max-width: 1240px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.simp-head { padding-block: 36px 16px; }
.simp-head h1 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; font-weight: 700; letter-spacing: -.015em; margin-top: 10px; text-wrap: balance; }
.simp-lead { font-size: 18px; line-height: 1.6; color: #4b5674; max-width: 760px; margin-top: 12px; }
.simp-crumbs { font-size: 14px; color: #7480a0; display: flex; gap: 8px; align-items: center; }
.simp-crumbs a { color: #2952e3; }
.simp-beta { display: inline-flex; font: 600 11.5px "JetBrains Mono", ui-monospace, monospace; text-transform: uppercase; letter-spacing: .06em; color: #2952e3; background: #eaf0ff; border: 1px solid #c7d4fb; border-radius: 99px; padding: 4px 9px; }
.simp-facts { margin-top: 18px; font-size: 14px; line-height: 1.6; color: #4b5674; background: #f5f7fb; border-radius: 10px; padding: 12px 14px; }
.simp-credits { margin-block: 32px 56px; }
.simp-credits p { font-size: 13px; line-height: 1.7; color: #7480a0; border-top: 1px solid #e3e8f2; padding-top: 16px; }
.simp-credits a { color: #4b5674; }
.simp-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.simp-list a { display: flex; flex-direction: column; gap: 6px; height: 100%; border: 1px solid #e3e8f2; border-radius: 12px; padding: 16px 18px; color: #0f172a; text-decoration: none; background: #fff; }
.simp-list a:hover { border-color: #2952e3; }
.simp-list a:focus-visible { outline: 2px solid #2952e3; outline-offset: 2px; }
.simp-list strong { font-size: 17px; line-height: 1.35; }
.simp-list span:last-child { color: #4b5674; font-size: 14.5px; line-height: 1.55; }
.simp-tag { font: 600 12px "JetBrains Mono", ui-monospace, monospace; color: #2952e3; }
[data-sim-lab] .sim-lab { --sim-accent: #2952e3; --sim-font: "Ubuntu Sans", system-ui, sans-serif; --sim-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }
/* Anleitung (Übersicht offen, Lab-Seite aufklappbar) */
.simp-guide { margin-block: 32px 8px; }
.simp-guide h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.simp-guide h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.simp-steps { list-style: decimal; margin: 14px 0 0; padding-left: 1.4em; display: grid; gap: 8px; max-width: 820px; font-size: 15px; line-height: 1.6; color: #334155; }
.simp-steps b { color: #0f172a; }
.simp-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 24px; margin-top: 22px; }
.simp-cols > div { min-width: 0; }
.simp-code { margin: 0; background: #0b1020; color: #e6ebf5; border-radius: 10px; padding: 12px 14px; font: 13px/1.6 "JetBrains Mono", ui-monospace, monospace; overflow-x: auto; }
.simp-limits { list-style: disc; margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: 14.5px; line-height: 1.55; color: #4b5674; }
.simp-alt { margin-top: 12px; font-size: 14.5px; color: #4b5674; }
.simp-alt a { color: #2952e3; }
.simp-guide-fold { margin-top: 18px; border: 1px solid #e3e8f2; border-radius: 10px; padding: 12px 14px; background: #fff; }
.simp-guide-fold summary { cursor: pointer; font-weight: 600; color: #2952e3; }
.simp-guide-fold[open] summary { margin-bottom: 4px; }
/* Übersicht: freie Labs, Labs je Kurs, Chaos-Modus */
.simp-h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 28px 0 4px; }
.simp-h3 { font-size: 17px; font-weight: 700; margin: 22px 0 2px; }
.simp-h3 a { color: #0f172a; text-decoration: none; }
.simp-h3 a:hover { color: #2952e3; }
.simp-sub { font-size: 15px; line-height: 1.6; color: #4b5674; max-width: 760px; }
.simp-course-link { margin-top: 8px; font-size: 15px; color: #4b5674; }
.simp-course-link a { color: #2952e3; }
.simp-chaos { display: flex; flex-direction: column; gap: 6px; margin-top: 8px; border: 1px solid #c7d4fb; background: #eaf0ff; border-radius: 12px; padding: 16px 18px; color: #0f172a; text-decoration: none; }
.simp-chaos:hover { border-color: #2952e3; }
.simp-chaos:focus-visible { outline: 2px solid #2952e3; outline-offset: 2px; }
.simp-chaos strong { font-size: 18px; line-height: 1.35; }
.simp-chaos span:last-child { color: #4b5674; font-size: 14.5px; line-height: 1.55; }
