* { box-sizing: border-box; }
html, body { margin: 0; }
body { font: 17px/1.45 var(--schrift); background: var(--papier); color: var(--anthrazit); min-height: 100vh; }
.ic { flex: none; }
header { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: var(--anthrazit); border-bottom: 4px solid var(--oliv); color: #fff; z-index: 2; }
.marke { display: flex; align-items: center; gap: 10px; }
.logo { width: 32px; height: 32px; border-radius: 50%; color: var(--anthrazit); display: grid; place-items: center; background: var(--limette); }
header b { font-size: 17px; }
#wer { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #dfe2d8; }
#wer i { font-style: normal; font-size: 22px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.14); }
main { padding: 18px 16px 90px; max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
h1 { font-size: 24px; margin: 4px 0 0; letter-spacing: -.3px; }
.titel { display: flex; gap: 12px; align-items: center; }
.titel .rico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--limette); color: var(--anthrazit); flex: none; box-shadow: 0 6px 16px rgba(10,132,255,.3); }
.frage { font-size: 21px; font-weight: 800; letter-spacing: -.2px; line-height: 1.3; }
.leise { color: #6E6E73; }
.karte { background: #fff; border: 1px solid var(--grau-linie); border-radius: 18px; padding: 14px 16px; box-shadow: 0 6px 20px rgba(45,48,51,.06); }
label { font-weight: 600; display: block; margin-bottom: 8px; }
input, textarea { width: 100%; font: inherit; padding: 13px 14px; border: 1.5px solid #cfd2c4; border-radius: 14px; background: #fff; outline: none; transition: border-color .15s; }
input:focus, textarea:focus { border-color: var(--oliv-dunkel); box-shadow: 0 0 0 4px rgba(10,132,255,.12); }
textarea { min-height: 130px; resize: vertical; }
button { font: inherit; width: 100%; min-height: 54px; padding: 12px 16px; border-radius: 16px; border: 1.5px solid #d9dbd1; background: #fff; color: var(--anthrazit); font-weight: 600; cursor: pointer; text-align: left; display: flex; align-items: center; gap: 10px; box-shadow: 0 2px 6px rgba(45,48,51,.05); }
button:active { transform: scale(.99); }
button.prim { background: var(--oliv-dunkel); border-color: transparent; color: #fff; justify-content: center; box-shadow: 0 8px 20px rgba(10,132,255,.35); }
button.zweit { background: transparent; border-style: dashed; justify-content: center; font-weight: 500; box-shadow: none; color: #565b55; }
.avatare { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.avatare button { min-height: 64px; font-size: 32px; justify-content: center; padding: 0; border-radius: 18px; }
.avatare button.an { border-color: var(--oliv-dunkel); background: var(--limette-hell); box-shadow: 0 0 0 3px rgba(10,132,255,.2); }
.ok { display: flex; gap: 14px; align-items: center; background: linear-gradient(135deg, #e5f8ee, #f2fbf6); border: 1px solid #a8e0c0; color: #0f5a32; border-radius: 18px; padding: 16px; font-weight: 700; animation: pop .4s cubic-bezier(.2,1.5,.4,1); }
.ok .haken { width: 46px; height: 46px; border-radius: 50%; background: #17a35a; color: #fff; display: grid; place-items: center; flex: none; }
.ok small { display: block; font-weight: 500; color: #2d6a47; }
@keyframes pop { from { transform: scale(.9); opacity: 0; } }
.sort { display: flex; flex-direction: column; gap: 8px; }
.sort .zeile { display: grid; grid-template-columns: 30px 1fr 46px 46px; gap: 6px; align-items: center; background: #fff; border: 1px solid var(--grau-linie); border-radius: 14px; padding: 6px 8px; box-shadow: 0 2px 6px rgba(45,48,51,.04); }
.sort .zeile b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--limette-hell); color: var(--oliv-dunkel); font-size: 14px; }
.sort button { min-height: 42px; padding: 0; justify-content: center; border-radius: 12px; box-shadow: none; }
.eintrag { padding: 9px 0; border-top: 1px solid #eceee5; }
.eintrag:first-child { border-top: 0; }
.fehler { color: #b42323; font-weight: 600; }
.warte { text-align: center; padding: 30px 10px; }
.warte .puls { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--limette); color: #fff; animation: atmen 2s ease-in-out infinite; }
@keyframes atmen { 50% { transform: scale(1.08); box-shadow: 0 0 0 14px rgba(90,180,255,.15); } }
#offline { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; background: #b42323; color: #fff; padding: 12px 14px; border-radius: 14px; font-weight: 600; }
body.offline #offline { display: block; }
.skalaknoepfe { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.skalaknoepfe button { justify-content: center; font-size: 22px; font-weight: 800; min-height: 60px; }
.skalaknoepfe button:nth-child(n+7) { border-color: #f2b6a0; }
.skalatext { display: flex; justify-content: space-between; color: #6E6E73; font-size: 14px; }
.nebenband { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; background: #fff1d9; color: #9a5b00; font-weight: 700; font-size: 14px; }
.anlass { margin: 0; color: #3f4447; }

.selbstskala { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 6px; }
.selbstskala button { font: inherit; font-weight: 800; font-size: 18px; padding: 10px 0; border-radius: 10px; border: 1px solid #d6dfea; background: #fff; }
.selbstskala button.an { background: var(--oliv-dunkel); color: #fff; border-color: var(--oliv-dunkel); }
.rollenkarte { background: #fff8e6; border-color: #f5d79a; }
.rollenkarte p { margin: 8px 0; }
/* Probeprüfung: Wahl des Beobachtungsschwerpunkts */
.stapelknoepfe { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.stapelknoepfe button { margin: 0; }
.stapelknoepfe button.an { background: var(--oliv-dunkel); color: #fff; border-color: var(--oliv-dunkel); }

/* Schräges Band unten wie auf den Arbeitsblättern */
body::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 18px; background: linear-gradient(90deg, var(--oliv-mittel), var(--oliv) 60%, var(--limette)); clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%); pointer-events: none; z-index: 1; }

/* Blick in den Körper */
.kpfrage { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 4px 0 12px; }
.stapelknoepfe .kpknopf { display: flex; align-items: center; gap: 10px; text-align: left; justify-content: flex-start; line-height: 1.25; }
.kpknopf b { flex: none; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgb(0 0 0 / .1); }
.kpknopf:disabled { opacity: 1; }

/* Verlauf-Baukasten */
.bkregler { margin: 8px 0 12px; }
.bkregler label { display: flex; justify-content: space-between; font-weight: 700; }
.bkregler output { font-weight: 800; font-size: 20px; color: var(--oliv-dunkel, #0A5BD8); }
.bkregler input[type=range] { width: 100%; height: 34px; accent-color: #0A5BD8; }
label.klein { font-size: 15px; margin-top: 8px; display: block; }
.karte select { width: 100%; font: inherit; padding: 10px; border-radius: 10px; border: 1.5px solid #d9dbd1; margin-bottom: 6px; background: #fff; }
.karte input:not([type=range]) { width: 100%; box-sizing: border-box; }

/* Trainer */
.trtext { font-size: 18px; line-height: 1.35; }
.trwerte { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px; font-size: 16px; }
.trwerte b { float: right; }
.zahlzeile { display: flex; align-items: center; gap: 10px; margin: 10px 0; }
.zahlzeile input { flex: 1; font-size: 26px; padding: 10px 12px; }
.zahlzeile span { font-size: 20px; font-weight: 700; }

/* Fachbegriffe zum Antippen */
.begriff { text-decoration: underline dotted 2px; text-underline-offset: 3px; cursor: help; }
.begriffkarte { position: fixed; inset: 0; background: rgb(0 0 0 / .35); display: flex; align-items: flex-end; z-index: 50; }
.begriffkarte > div { background: #fff; width: 100%; border-radius: 18px 18px 0 0; padding: 18px 20px 26px; box-shadow: 0 -6px 24px rgb(0 0 0 / .2); }
.begriffkarte b { font-size: 22px; } .begriffkarte p { font-size: 19px; line-height: 1.4; margin: 6px 0 10px; }
.teamband { margin: -4px 0 8px; font-size: 16px; }

/* Reanimation */
.reaknopf { margin: 4px 0; }
.reihe2 { display: flex; gap: 8px; } .reihe2 > * { flex: 1; }
.reametronom { display: flex; align-items: center; gap: 14px; margin: 10px 0; font-size: 20px; }
.reametronom i { width: 70px; height: 70px; border-radius: 50%; background: #c8323f; opacity: .25; }
.reametronom.an i { animation: reaschlag 0.545s infinite; }
@keyframes reaschlag { 0%, 20% { opacity: 1; transform: scale(1.08); } 40%, 100% { opacity: .25; transform: scale(1); } }
.readefihandy { display: flex; flex-direction: column; gap: 8px; }
.reaalle { font-size: 22px; font-weight: 800; color: #c8323f; margin: 4px 0; }
.reaursachen { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .reaursachen button { font-size: 14px; padding: 8px; }
.reaprot { font-size: 15px; padding: 2px 0; } .reaprot.warn { color: #c8323f; font-weight: 700; } .reaprot.ok { color: #2f8a4c; }
button.gefahr { background: #c8323f; color: #fff; border: none; font-size: 26px; font-weight: 800; padding: 18px; border-radius: 14px; width: 100%; }
.sortliste { list-style: none; padding: 0; margin: 8px 0; display: flex; flex-direction: column; gap: 6px; }
.sortliste li { display: grid; grid-template-columns: 1fr 44px 44px; gap: 6px; align-items: center; background: #fff; border: 1.5px solid #d9dbd1; border-radius: 12px; padding: 6px 6px 6px 12px; font-size: 16px; line-height: 1.25; }
.sortliste button { padding: 8px 0; }
.trcounthandy { font-size: 20px; color: #c8323f; margin: 0 0 6px; }

/* Narkosegerät: Bedienung wie am Gerät */
.gehandy { background: #101a22; color: #e8eef2; border-radius: 18px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.gehandy button { box-shadow: none; }
.gehalarme { display: flex; flex-wrap: wrap; gap: 4px; } .gehalarme span { border-radius: 6px; padding: 2px 8px; font-weight: 800; font-size: 14px; }
.gekrit { background: #d32f2f; color: #fff; } .gewarn { background: #f9c80e; color: #111; } .gehinweis { background: #4fc3f7; color: #111; }
.gehwerte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .gehwerte span { background: #17222c; border-radius: 8px; padding: 2px 6px; font-weight: 800; font-size: 20px; color: #ffd54a; display: flex; flex-direction: column; } .gehwerte small { font-size: 11px; color: #8ea2ae; }
.gehmodi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; } .gehmodi button { min-height: 42px; padding: 4px; justify-content: center; font-size: 14px; font-weight: 800; background: #24313d; color: #b8c4cc; border: none; border-radius: 8px; }
.gehmodi button.an { background: #e6edf2; color: #111; } .gehmodi button.entwurf, .gehkachel.entwurf { background: #ffd54a; color: #111; }
.gehkacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.gehkachel { flex-direction: column; align-items: flex-start; gap: 0; min-height: 66px; padding: 4px 8px; background: #2c3b48; color: #fff; border: none; border-radius: 10px; }
.gehkachel small { font-size: 12px; color: inherit; opacity: .75; } .gehkachel b { font-size: 24px; line-height: 1.1; } .gehkachel em { font-style: normal; font-size: 11px; opacity: .7; }
.gehtrenner { grid-column: 1 / -1; font-size: 12px; color: #8ea2ae; font-weight: 700; border-top: 1px solid #3b4752; padding-top: 4px; }
.gehknopf { background: #1c2833; border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.gehneu { font-size: 16px; } .gehneu b { font-size: 30px; color: #ffd54a; } .gehneu small { display: block; color: #8ea2ae; font-size: 12px; }
.gehdreh { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; } .gehdreh button { justify-content: center; font-weight: 800; background: #2c3b48; color: #fff; border: none; min-height: 50px; padding: 4px; }
.gehdruck { width: 150px; height: 150px; min-height: 150px; border-radius: 50%; align-self: center; flex-direction: column; justify-content: center; gap: 2px; text-align: center; background: radial-gradient(circle at 40% 35%, #f3f5f6, #9aa7b0); color: #111; border: 6px solid #3b4752; }
.gehdruck span { font-size: 13px; font-weight: 600; } .gehdruck b { font-size: 20px; }
.gehknopf .zweit { color: #b8c4cc; border-color: #3b4752; }
.gehhilfe { margin: 0; font-size: 13px; color: #8ea2ae; }
.gehverd { display: grid; grid-template-columns: 1fr 58px 58px; gap: 6px; align-items: center; background: #17222c; border-radius: 10px; padding: 6px 8px; }
.gehverd span { display: flex; flex-direction: column; } .gehverd small { font-size: 12px; color: #8ea2ae; } .gehverd b { font-size: 22px; color: #ffb547; } .gehverd em { font-style: normal; font-size: 11px; color: #8ea2ae; }
.gehverd button { justify-content: center; font-size: 26px; font-weight: 800; background: #2c3b48; color: #fff; border: none; min-height: 50px; padding: 0; }
.gehlf { margin: 0; font-size: 14px; font-weight: 700; } .gehlf.gruen { color: #66d17a; } .gehlf.gelb { color: #f9c80e; } .gehlf.rot, .gehlf.mangel { color: #ff6b6b; }
.gehcheck { display: grid; grid-template-columns: 1fr 110px; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--grau-linie); font-size: 15px; }
.gehcheck button { min-height: 42px; justify-content: center; padding: 4px; } .gehcheck.erledigt { color: var(--gut, #2f8a4c); grid-template-columns: 1fr; } .gehcheck.problem { color: #c8323f; font-weight: 800; }

/* Startbild auf der Mitmachen-Seite (Foto: siehe EZedu-Werkzeug/katalog/ui_bilder/BILDLISTE.md) */
.karte.startbild{position:relative;overflow:hidden;min-height:150px;display:flex;flex-direction:column;justify-content:flex-end;color:#fff;
  background:linear-gradient(0deg,rgba(9,20,38,.88),rgba(9,20,38,.35) 70%,rgba(9,20,38,.15)),url(bilder/ui-kopf-simulator.webp) center/cover no-repeat #14213a}
.karte.startbild::before{content:"";position:absolute;left:0;right:0;top:0;height:5px;background:linear-gradient(120deg,#0A84FF,#00B8D9 60%,#00C25A)}
.karte.startbild::after{content:"Foto: Dr.jayesh amin, CC BY-SA 3.0, Wikimedia Commons (Ausschnitt)";position:absolute;right:12px;top:12px;font-size:10px;font-weight:600;color:rgba(255,255,255,.6)}
.karte.startbild .leise{color:rgba(255,255,255,.82)}.karte.startbild h1{color:#fff}

