@font-face { font-family: 'PV Gothic'; src: url(/marke/adventor.otf) format('opentype'); font-display: swap; }
[hidden] { display: none !important; }
:root { --bg: #f6f3ea; --ink: #2c2e2d; --muted: #4a4f47; --line: #ddd6c4; --card: #fffdf8; --akzent: #4f6b3a; --akzentText: #fff; --rand: #8fa86b; --weich: #eef1e6; --ringText: #334726;
  --video: #3d4236; --video2: #5b6152; --videoText: #eef1e6; --stop: #9a4a3c; --stopText: #fffdf8; --gelb: #b98a2b; --rot: #b5523f; --gruen: #6f9a4a; }
body.hanna { --bg: #3b4428; --ink: #f4efe4; --muted: #e3dcc8; --line: #5a6440; --card: #4a5434; --akzent: #c9984f; --akzentText: #2a2f1c; --rand: #c9984f; --weich: #4a5434; --ringText: #f4efe4;
  --video: #2a2f1c; --video2: #4a5434; --videoText: #e3dcc8; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--ink); }
body { font: 16px/1.5 'Century Gothic', 'CenturyGothic', 'PV Gothic', -apple-system, 'Segoe UI', sans-serif; -webkit-text-size-adjust: 100%; }
body.gross { font-size: 19px; }
button, select, input { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rand); outline-offset: 2px; }
.mitte { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--akzent); animation: dreh 1s linear infinite; }
@keyframes dreh { to { transform: rotate(360deg); } }
.huelle { max-width: 560px; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 18px 28px; display: flex; flex-direction: column; gap: 16px; }
.marke { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.marke img { width: 76px; height: 76px; object-fit: contain; }
.marke b { font-weight: 400; font-size: 20px; letter-spacing: .02em; }
.marke small { color: var(--muted); font-size: 13px; letter-spacing: .03em; }
h1 { font-weight: 400; font-size: 24px; margin: 0; }
p { margin: 0; }
.leise { color: var(--muted); font-size: 14px; }
.karte { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.vorschau { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; background: var(--video); overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--videoText); }
.vorschau video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.vorschau .hinweis { position: absolute; padding: 20px; text-align: center; }
.pegel { height: 8px; border-radius: 4px; background: var(--line); overflow: hidden; }
.pegel i { display: block; height: 100%; width: 0; background: var(--akzent); transition: width .08s; }
.zeile { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.zeile label { font-size: 14px; color: var(--muted); min-width: 92px; }
select, input[type=text] { flex: 1; min-width: 0; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 8px 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border-radius: 999px; background: var(--akzent); color: var(--akzentText); border: 0; cursor: pointer; padding: 0 22px; font-size: 16px; letter-spacing: .02em; }
.btn.voll { width: 100%; }
.btn.hell { background: transparent; color: var(--akzent); border: 1.5px solid var(--rand); min-height: 46px; }
.btn.klein { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn.stop { background: var(--stop); color: var(--stopText); }
.btn[disabled] { opacity: .55; cursor: default; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border-radius: 999px; border: 1.5px solid var(--rand); background: transparent; color: var(--akzent); padding: 6px 14px; min-height: 38px; cursor: pointer; font-size: 14px; }
.chip.an { background: var(--akzent); color: var(--akzentText); border-color: var(--akzent); }
.tipp { display: flex; gap: 10px; align-items: flex-start; background: var(--weich); border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--ringText); }
.fehler { background: #f6e2dc; color: #6e2a1e; border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.fuss { display: flex; justify-content: center; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.fuss button { background: none; border: 0; color: var(--akzent); text-decoration: underline; cursor: pointer; padding: 6px; font-size: 14px; }
/* Atem-Animation */
.atem { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 8px 0; }
.atem svg { width: 170px; height: 170px; }
.atem .wort { font-size: 18px; }
/* Raum */
.raum { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg); }
.kopf { display: flex; align-items: center; gap: 10px; padding: max(8px, env(safe-area-inset-top)) 12px 8px; font-size: 14px; flex-wrap: wrap; }
.kopf .titel { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ampel { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.ampel i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); display: inline-block; }
.ampel i.gut { background: var(--gruen); } .ampel i.mittel { background: var(--gelb); } .ampel i.schlecht { background: var(--rot); }
.pill { border-radius: 999px; padding: 3px 10px; font-size: 12px; background: var(--weich); color: var(--ringText); border: 1px solid var(--rand); }
.buehne { flex: 1; min-height: 0; position: relative; margin: 0 10px; display: grid; gap: 10px; grid-template-columns: 1fr; }
.buehne.geteilt { grid-template-columns: minmax(0, 1fr) 200px; }
.kachel { position: relative; background: var(--video); border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; color: var(--videoText); min-height: 0; }
.kachel video { width: 100%; height: 100%; object-fit: contain; }
.kachel.kamera video { object-fit: cover; }
.kachel .name { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.35); color: #fff; border-radius: 999px; padding: 3px 10px; font-size: 13px; }
.kachel .ruhe { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--video2); text-align: center; padding: 20px; }
.kachel .menue { position: absolute; right: 8px; top: 8px; display: flex; gap: 6px; }
.seite { display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.seite .kachel { flex: 1; }
.selbst { position: absolute; right: 12px; bottom: 12px; width: 150px; aspect-ratio: 3 / 4; border-radius: 14px; border: 2px solid var(--rand); background: var(--video2); overflow: hidden; z-index: 3; display: flex; align-items: center; justify-content: center; color: var(--videoText); font-size: 13px; }
.selbst video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
@media (min-width: 800px) { .selbst { width: 220px; aspect-ratio: 4 / 3; } }
.leiste { display: flex; gap: 10px; justify-content: center; align-items: center; padding: 10px 10px max(12px, env(safe-area-inset-bottom)); }
@media (max-width: 420px) { .leiste { gap: 7px; } .rund { width: 48px; height: 48px; } .leiste .btn.klein { padding: 0 10px; } }
.rund { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--rand); background: var(--weich); color: var(--akzent); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.rund.aus, .rund.stop { background: var(--stop); border-color: var(--stop); color: var(--stopText); }
.rund svg, .btn svg { width: 22px; height: 22px; }
.warte { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); z-index: 5; background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 6px 24px rgba(0,0,0,.12); width: min(420px, calc(100% - 24px)); }
.warte .person { display: flex; align-items: center; gap: 10px; }
.warte .person span { flex: 1; }
.schleier { position: fixed; inset: 0; z-index: 20; background: rgba(20, 24, 16, .45); display: flex; align-items: center; justify-content: center; padding: 18px; }
.dialog { background: var(--card); color: var(--ink); border-radius: 20px; padding: 20px; max-width: 460px; width: 100%; display: flex; flex-direction: column; gap: 12px; max-height: 90vh; overflow: auto; }
.dialog h2 { font-weight: 400; font-size: 20px; margin: 0; }
.dialog ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.pause { position: absolute; inset: 0; z-index: 4; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.nummern { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.nummern a { color: var(--akzent); }
.versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (prefers-contrast: more) { :root { --muted: var(--ink); --line: var(--ink); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } }
.seite .selbst { position: static; width: 100%; aspect-ratio: 4 / 3; }
@media (max-width: 700px) { .buehne.geteilt { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) 120px; } .buehne.geteilt .seite { flex-direction: row; } }
