
/* Layout: Querschnitt durch das Werk. Etagen als Bänder von Dachgeschoss bis Keller, Räume als Türen mit Figur. Bewusst ein festes, helles Spielbild. */
:root {
  color-scheme: light;
  --himmel: #dfe7e2;
  --wand: #f7f6f0;
  --boden: #e5e2d6;
  --tinte: #26291f;
  --tinte2: #5c6155;
  --holz: #a26a36;
  --holz-hell: #e9d5b8;
  --wald: #2e5a4c;
  --wald-hell: #d5e4dc;
  --gold: #d99a2b;
  --gold-hell: #f7e6c2;
  --rot: #b0443a;
  --rot-hell: #f5dcd6;
  --gruen: #3d7a4d;
  --gruen-hell: #dcecdf;
  --keller: #3a3d36;
  --keller-wand: #4a4e45;
  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
  --f-zahl: "JetBrains Mono", ui-monospace, "Consolas", monospace;
}
html, body { height: auto; }
body { background: var(--himmel); color: var(--tinte); font-family: var(--f-text); font-size: 16px; line-height: 1.5; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 16px 16px 40px; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Kopfzeile */
.kopf { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; padding-block: 8px 16px; }
.marke { display: flex; flex-direction: column; min-width: 0; }
.marke h1 { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 5vw, 40px); line-height: 1; margin: 0; letter-spacing: -0.02em; }
.marke h1 span { color: var(--holz); }
.marke p { margin: 4px 0 0; color: var(--tinte2); font-size: 14px; }
.hud { display: flex; align-items: center; gap: 14px; background: var(--wand); border: 2px solid var(--tinte); border-radius: 14px; padding: 8px 14px; box-shadow: 3px 3px 0 var(--tinte); min-width: 0; flex-wrap: wrap; }
.hud .rang { font-family: var(--f-display); font-weight: 700; font-size: 15px; }
.hud .xpzahl { font-family: var(--f-zahl); font-size: 13px; color: var(--tinte2); }
.xpbar { width: 140px; height: 10px; background: var(--boden); border: 1.5px solid var(--tinte); border-radius: 6px; overflow: hidden; }
.xpbar i { display: block; height: 100%; background: var(--gold); width: 0; transition: width .6s; }
.hud .abz { font-family: var(--f-zahl); font-size: 13px; background: var(--gold-hell); border: 1.5px solid var(--tinte); border-radius: 8px; padding: 2px 8px; }

/* Haus */
.haus { position: relative; background: var(--wand); border: 3px solid var(--tinte); border-radius: 6px 6px 10px 10px; box-shadow: 5px 5px 0 var(--tinte); }
.dach { height: 34px; background: repeating-linear-gradient(90deg, var(--holz) 0 22px, #8f5c2d 22px 24px); border-bottom: 3px solid var(--tinte); border-radius: 3px 3px 0 0; display: flex; align-items: center; justify-content: center; }
.dach b { font-family: var(--f-display); font-weight: 800; color: var(--wand); letter-spacing: 0.18em; font-size: 13px; text-transform: uppercase; }
.etage { display: grid; grid-template-columns: 74px 1fr; border-bottom: 3px solid var(--tinte); }
.etage:last-child { border-bottom: 0; }
.schild { background: var(--boden); border-right: 3px solid var(--tinte); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 4px; text-align: center; gap: 2px; }
.schild b { font-family: var(--f-display); font-weight: 800; font-size: 22px; line-height: 1; }
.schild small { font-size: 11px; color: var(--tinte2); line-height: 1.2; letter-spacing: 0.02em; }
.raeume { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 12px; min-width: 0; }
.etage.ug { background: var(--keller); }
.etage.ug .schild { background: var(--keller-wand); color: var(--wand); }
.etage.ug .schild small { color: #c9c6b8; }
.raum { position: relative; text-align: left; background: var(--wand); border: 2px solid var(--tinte); border-radius: 12px; padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; box-shadow: 2px 2px 0 var(--tinte); color: var(--tinte); }
.raum:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--tinte); }
.raum canvas { display: block; width: 100%; height: 110px; background: var(--wald-hell); border-bottom: 2px solid var(--tinte); }
.raum[data-raum="archiv"] canvas { background: #d9d3c1; }
.raum[data-raum="halle"] canvas { background: #e3dccb; }
.raum[data-raum="vertrieb"] canvas { background: #dde3ec; }
.raum[data-raum="chef"] canvas { background: #e7e1ea; }
.raum .info { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 2px; }
.raum .zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.raum .nr { font-family: var(--f-zahl); font-weight: 700; font-size: 12px; background: var(--tinte); color: var(--wand); border-radius: 6px; padding: 1px 7px; }
.raum.boss .nr { background: var(--gold); color: var(--tinte); }
.raum h3 { font-family: var(--f-display); font-weight: 700; font-size: 17px; margin: 2px 0 0; line-height: 1.2; }
.raum .kurz { font-size: 13px; color: var(--tinte2); line-height: 1.35; }
.sterne { font-size: 15px; letter-spacing: 1px; color: #b8b4a5; white-space: nowrap; }
.sterne .an { color: var(--gold); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 2px 0; font-size: 13px; color: var(--tinte2); }
.abzeichen { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.abzeichen div { display: flex; gap: 10px; align-items: center; background: var(--wand); border: 2px dashed #a9a594; border-radius: 12px; padding: 8px 10px; min-width: 0; }
.abzeichen div.hat { border: 2px solid var(--tinte); background: var(--gold-hell); }
.abzeichen .med { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--tinte); background: var(--boden); display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 14px; }
.abzeichen div.hat .med { background: var(--gold); }
.abzeichen b { display: block; font-size: 14px; }
.abzeichen small { color: var(--tinte2); font-size: 12px; line-height: 1.3; display: block; }
h2.sek { font-family: var(--f-display); font-size: 20px; margin: 26px 0 0; }
.fuss { margin-top: 26px; font-size: 13px; color: var(--tinte2); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: center; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; color: var(--tinte2); }

/* Level */
.level { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px; align-items: start; }
.buehne { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); background: var(--wand); border: 3px solid var(--tinte); border-radius: 16px; box-shadow: 4px 4px 0 var(--tinte); overflow: hidden; }
.buehne canvas { display: block; width: 100%; height: 230px; background: var(--wald-hell); border-bottom: 3px solid var(--tinte); }
.buehne[data-raum="archiv"] canvas { background: #d9d3c1; }
.buehne[data-raum="halle"] canvas { background: #e3dccb; }
.buehne[data-raum="vertrieb"] canvas { background: #dde3ec; }
.buehne[data-raum="chef"] canvas { background: #e7e1ea; }
.person { padding: 10px 14px 4px; }
.person b { font-family: var(--f-display); font-size: 18px; display: block; line-height: 1.2; }
.person small { color: var(--tinte2); }
.blase { position: relative; margin: 10px 14px 14px; background: #fff; border: 2px solid var(--tinte); border-radius: 14px; padding: 10px 12px; min-height: 64px; font-size: 15px; }
.blase::before { content: ""; position: absolute; top: -11px; left: 28px; width: 16px; height: 16px; background: #fff; border-left: 2px solid var(--tinte); border-top: 2px solid var(--tinte); transform: rotate(45deg); }
.pult { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.pult-kopf { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; }
.pult-kopf h2 { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 3.5vw, 30px); margin: 0; line-height: 1.1; text-wrap: balance; }
.punkte { display: flex; gap: 6px; }
.punkte i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--tinte); background: var(--wand); }
.punkte i.jetzt { background: var(--gold-hell); }
.punkte i.gut { background: var(--gruen); }
.punkte i.halb { background: var(--gold); }
.punkte i.aus { background: var(--rot); }
.karte { background: var(--wand); border: 2px solid var(--tinte); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.fall-titel { font-family: var(--f-display); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--holz); margin: 0 0 6px; }
.fall-titel + table { margin-bottom: 4px; }
table.fall { border-collapse: collapse; width: 100%; font-size: 15px; margin-bottom: 10px; }
table.fall th { text-align: left; font-weight: 400; color: var(--tinte2); padding: 4px 12px 4px 0; vertical-align: top; }
table.fall td { font-family: var(--f-zahl); font-variant-numeric: tabular-nums; font-size: 14px; padding: 4px 0; text-align: right; }
table.fall tr + tr { border-top: 1px dashed #cfcab8; }
table.fall.breit th, table.fall.breit td { padding-right: 12px; white-space: nowrap; }
table.fall.breit tr:first-child th { font-weight: 700; color: var(--tinte); }
.tabelle-scroll { overflow-x: auto; }
.frage { font-size: 17px; font-weight: 700; margin: 0 0 12px; }
.eingabe { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.eingabe input { font-family: var(--f-zahl); font-size: 18px; padding: 10px 12px; border: 2px solid var(--tinte); border-radius: 10px; width: 220px; max-width: 100%; background: #fff; color: var(--tinte); }
.einheit { font-family: var(--f-zahl); color: var(--tinte2); }
.knopf { background: var(--wald); color: #fff; border: 2px solid var(--tinte); border-radius: 10px; padding: 10px 18px; font-weight: 700; box-shadow: 2px 2px 0 var(--tinte); }
.knopf:hover { transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--tinte); }
.knopf.zwei { background: var(--wand); color: var(--tinte); }
.knopf.gold { background: var(--gold); color: var(--tinte); }
.knopf:disabled { opacity: .45; cursor: default; transform: none; }
.optionen { display: grid; gap: 8px; }
.optionen button { text-align: left; background: #fff; border: 2px solid var(--tinte); border-radius: 10px; padding: 10px 12px; color: var(--tinte); }
.optionen button:hover:not(:disabled) { background: var(--gold-hell); }
.optionen button.gewaehlt { background: var(--gold-hell); }
.optionen button.richtig { background: var(--gruen-hell); border-color: var(--gruen); }
.optionen button.falsch { background: var(--rot-hell); border-color: var(--rot); }
.sortier { display: grid; gap: 8px; }
.sortier .it { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: space-between; border-bottom: 1px dashed #cfcab8; padding-bottom: 8px; }
.sortier .it > span { min-width: 0; flex: 1 1 180px; }
.sortier .it.falsch > span { color: var(--rot); font-weight: 700; }
.sortier .it.richtig > span { color: var(--gruen); }
.kats { display: flex; flex-wrap: wrap; gap: 4px; }
.kats button { border: 1.5px solid var(--tinte); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 13px; color: var(--tinte); }
.kats button.an { background: var(--tinte); color: var(--wand); }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; align-items: center; }
.weg { margin-top: 14px; border-left: 4px solid var(--wald); background: var(--wald-hell); padding: 10px 12px; border-radius: 0 10px 10px 0; font-size: 15px; }
.weg.aus { border-left-color: var(--rot); background: var(--rot-hell); }
.weg b { display: block; font-family: var(--f-display); margin-bottom: 2px; }
.weg .zahlen { font-family: var(--f-zahl); font-size: 14px; }
.xpflug { font-family: var(--f-zahl); font-weight: 700; color: var(--gruen); }
.spickknopf { background: var(--keller); color: var(--wand); border: 2px solid var(--tinte); border-radius: 10px; padding: 8px 12px; font-size: 14px; }

/* Spickzettel */
.schleier { position: fixed; inset: 0; background: rgba(38, 41, 31, .55); display: grid; place-items: center; padding: 16px; z-index: 20; }
.zettel { background: #fffdf5; border: 3px solid var(--tinte); border-radius: 14px; box-shadow: 6px 6px 0 var(--tinte); max-width: 560px; width: 100%; max-height: 86vh; overflow: auto; padding: 18px; }
.zettel h3 { font-family: var(--f-display); font-size: 22px; margin: 0 0 4px; }
.zettel .von { color: var(--tinte2); font-size: 13px; margin-bottom: 12px; }
.zettel dl { margin: 0; display: grid; gap: 10px; }
.zettel dt { font-weight: 700; }
.zettel dd { margin: 0; }
.zettel .aktionen { justify-content: flex-end; }

/* Ende */
.ende { text-align: center; padding: 24px 16px; }
.ende .gross { font-size: 44px; letter-spacing: 6px; }
.ende h2 { font-family: var(--f-display); font-weight: 800; font-size: 30px; margin: 6px 0; }
.ende .aktionen { justify-content: center; }
.neu-abz { display: inline-block; margin-top: 10px; background: var(--gold-hell); border: 2px solid var(--tinte); border-radius: 10px; padding: 6px 12px; font-weight: 700; }
.stempel { animation: stempel .5s cubic-bezier(.2, 1.6, .5, 1) both; }
@keyframes stempel { from { transform: scale(2.2) rotate(-12deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stempel { animation: none; } .raum, .knopf { transition: none; } }

@media (max-width: 760px) {
  .level { grid-template-columns: 1fr; }
  .buehne { position: static; display: grid; grid-template-columns: 120px 1fr; }
  .buehne canvas { height: 150px; grid-row: span 2; border-bottom: 0; border-right: 3px solid var(--tinte); }
  .blase { margin: 6px 10px 10px; font-size: 14px; }
  .blase::before { display: none; }
  .person { padding: 8px 10px 0; }
  .etage { grid-template-columns: 46px 1fr; }
  .schild b { font-size: 16px; }
  .schild small { display: none; }
  .raeume { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); padding: 10px; gap: 10px; }
  .raum canvas { height: 92px; }
  .xpbar { width: 90px; }
}

/* Zusatzerklärung */
.zusatz-box { margin-top: 10px; }
.zusatzknopf { background: #fff; color: var(--tinte); border: 2px solid var(--tinte); border-radius: 10px; padding: 7px 12px; font-size: 14px; font-weight: 700; }
.zusatzknopf[aria-expanded="true"] { background: var(--tinte); color: var(--wand); }
.zusatz { margin-top: 10px; background: #fffdf5; border: 2px dashed var(--tinte2, #6b6a5e); border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.zusatz > b { display: block; font-family: var(--f-display); margin: 10px 0 4px; }
.zusatz > b:first-child, .zusatz .zusatz-ziel + b { margin-top: 0; }
.zusatz ol, .zusatz ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.zusatz-ziel { margin: 0 0 10px; font-style: italic; }
.legende { margin: 0; display: grid; gap: 8px; }
.legende > div { display: grid; grid-template-columns: minmax(48px, max-content) 1fr; gap: 4px 12px; }
.legende dt { font-family: var(--f-zahl); font-weight: 700; }
.legende dd { margin: 0; min-width: 0; }
.leg-name { font-weight: 700; }
.leg-abgr { display: block; color: var(--tinte2, #6b6a5e); font-size: 14px; margin-top: 2px; }

/* Mehrfachauswahl wie in der IHK-Prüfung: „N Antworten sind richtig“, Tippziele mindestens 44 px */
.optionen button { min-height: 44px; }
.anzahl { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.gewaehlt-zahl { font-size: 14px; color: var(--tinte2); }
.gewaehlt-zahl.zuviel { color: var(--rot); font-weight: 700; }
.optionen.mehrfach label.opt { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; min-height: 44px; box-sizing: border-box; background: #fff; border: 2px solid var(--tinte); border-radius: 10px; padding: 8px 12px; cursor: pointer; color: var(--tinte); }
.optionen.mehrfach label.opt > span { flex: 1 1 160px; min-width: 0; }
.optionen.mehrfach input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--wald); cursor: pointer; }
.optionen.mehrfach label.opt:hover { background: var(--gold-hell); }
.optionen.mehrfach label.opt.gewaehlt { background: var(--gold-hell); }
.optionen.mehrfach label.opt.richtig { background: var(--gruen-hell); border-color: var(--gruen); }
.optionen.mehrfach label.opt.falsch { background: var(--rot-hell); border-color: var(--rot); }
.optionen.mehrfach label.opt.fehlt { background: #fff; border: 2px dashed var(--gruen); }
.optionen.mehrfach label.opt.neutral { opacity: .75; }
.optionen.mehrfach label.opt:has(input:disabled) { cursor: default; }
.optionen.mehrfach .marke { font-style: normal; font-size: 12px; font-weight: 700; color: var(--gruen); margin-left: auto; }
.optionen.mehrfach .falsch .marke { color: var(--rot); }
.optionen.mehrfach label.opt:focus-within { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Lückentext mit Auswahlliste je Lücke */
.lueckensatz { font-size: 17px; line-height: 2.3; margin: 0; overflow-wrap: anywhere; }
.lueckensatz select { font: inherit; font-size: 16px; min-height: 40px; max-width: 100%; padding: 4px 8px; margin: 2px 2px; border: 2px solid var(--tinte); border-radius: 8px; background: #fff; color: var(--tinte); vertical-align: middle; }
.lueckensatz select.richtig { background: var(--gruen-hell); border-color: var(--gruen); color: var(--tinte); opacity: 1; }
.lueckensatz select.falsch { background: var(--rot-hell); border-color: var(--rot); color: var(--tinte); opacity: 1; }
.l-loesung { font-size: 14px; font-weight: 700; color: var(--gruen); margin: 0 6px; white-space: normal; }

/* Prüfungszentrum und Simulation */
.klein.bald { color: var(--holz); font-weight: 700; }
.sim-titel { font-family: var(--f-display); font-weight: 800; font-size: 22px; margin: 0 0 8px; }
.sim-hinweis { background: var(--gold-hell); border: 2px solid var(--tinte); border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 0 0 12px; }
.sim-regeln { padding-left: 20px; display: grid; gap: 4px; margin: 8px 0 12px; }
table.sim-vert td, table.sim-tab td { white-space: nowrap; }
.sim-leiste { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 6px); z-index: 5; display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; background: var(--wand); border: 2px solid var(--tinte); border-radius: 12px; padding: 8px 12px; box-shadow: 3px 3px 0 var(--tinte); margin: 0 0 12px; }
.sim-uhr span { font-size: 13px; color: var(--tinte2); }
.sim-uhr b { font-family: var(--f-zahl); font-size: 22px; font-variant-numeric: tabular-nums; }
.sim-leiste.knapp .sim-uhr b { color: var(--rot); }
.sim-info { font-size: 14px; color: var(--tinte2); }
.sim-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.sim-kopf { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--tinte2); margin: 0 0 10px; align-items: baseline; }
.sim-kopf b { color: var(--tinte); font-family: var(--f-display); font-size: 17px; }
.sim-unsicher { color: var(--holz); font-weight: 700; }
.sim-fall { margin-bottom: 12px; }
.sim-quelle { color: var(--tinte2); margin-bottom: 6px; }
.sim-nav { justify-content: space-between; }
.mini-knopf { background: var(--wand); border: 1.5px solid var(--tinte); border-radius: 8px; padding: 6px 10px; min-height: 40px; font-size: 14px; color: var(--tinte); }
.mini-knopf.an { background: var(--tinte); color: var(--wand); }
.sim-filter { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
.sim-gitter { display: grid; grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px; margin: 12px 0; }
.sim-hf { grid-column: 1 / -1; font-family: var(--f-display); font-weight: 700; margin-top: 6px; }
.sim-nr { position: relative; min-height: 44px; border: 2px solid var(--tinte); border-radius: 8px; background: #fff; font-family: var(--f-zahl); font-weight: 700; color: var(--tinte); padding: 0; }
.st-beantwortet { background: var(--gruen-hell) !important; }
.st-teilweise { background: var(--gold-hell) !important; }
.sim-nr.mk { outline: 3px solid var(--gold); outline-offset: 1px; }
.sim-nr i { position: absolute; top: 1px; right: 4px; font-size: 11px; font-style: normal; color: var(--holz); }
.sim-legende { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--tinte2); }
.sim-legende i { display: inline-block; width: 14px; height: 14px; border: 2px solid var(--tinte); border-radius: 4px; background: #fff; margin-right: 6px; vertical-align: -2px; }
.sim-legende i.mk { outline: 3px solid var(--gold); }
.sim-ergebnis table { text-align: left; margin: 12px 0; }
.sim-loesungen-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin: 22px 0 0; }
.sim-nurfalsch { display: flex; align-items: center; gap: 8px; min-height: 40px; font-weight: 700; cursor: pointer; }
.sim-nurfalsch input { width: 20px; height: 20px; accent-color: var(--wald); }
.sim-loesung { margin-top: 12px; }
.sim-loesung.ok { border-left: 6px solid var(--gruen); }
.sim-loesung.nein { border-left: 6px solid var(--rot); }
.sim-urteil { font-weight: 700; color: var(--tinte); }
.sim-loesung.nein .sim-urteil { color: var(--rot); }
details.sim-fallakte { margin: 0 0 10px; border: 1.5px dashed #cfcab8; border-radius: 10px; padding: 0 10px; }
details.sim-fallakte summary { cursor: pointer; font-weight: 700; min-height: 40px; display: flex; align-items: center; }
details.sim-fallakte[open] { padding-bottom: 8px; }
@media (max-width: 520px) {
  /* Leiste kompakt halten, sie klebt beim Scrollen oben */
  .sim-leiste { padding: 6px 10px; gap: 2px 10px; }
  .sim-uhr b { font-size: 18px; }
  .sim-knoepfe { margin-left: 0; width: 100%; flex-wrap: nowrap; gap: 6px; }
  .sim-knoepfe .knopf { flex: 1 1 0; min-width: 0; min-height: 40px; padding: 6px 8px; font-size: 14px; }
  .sim-nav .knopf { flex: 1 1 100%; }
}

/* Lange Handlungsfeld-Titel („Ausbildungsvoraussetzungen …“) dürfen die Kachel nicht sprengen */
.geb { min-width: 0; }
.geb .info { min-width: 0; }
.geb h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
