/* StufenHilfe – eigenes Design */
:root {
  --teal: #0f766e;
  --teal-dark: #115e59;
  --teal-light: #ccfbf1;
  --amber: #f59e0b;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #f6f8f8;
  --card: #ffffff;
  --line: #e5e7eb;
  --danger: #dc2626;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(16, 42, 40, .08), 0 4px 16px rgba(16, 42, 40, .06);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink); background: var(--bg); line-height: 1.55;
  display: flex; flex-direction: column; min-height: 100vh;
  overflow-x: clip; /* einzelne breite Elemente dürfen die Seite nicht aufziehen */
}
.wrap { width: 100%; max-width: 1060px; margin: 0 auto; padding: 0 18px; }
main.wrap { flex: 1; padding-top: 26px; padding-bottom: 48px; }
h1 { font-size: 1.55rem; margin: .2em 0; }
h2 { font-size: 1.12rem; margin: 0 0 .6em; }
h3 { font-size: 1rem; margin: 0 0 .5em; }
a { color: var(--teal); }
.muted { color: var(--muted); font-size: .93rem; }
code { background: #eef2f2; padding: 1px 5px; border-radius: 5px; font-size: .9em; }

/* Topbar */
.topbar { background: linear-gradient(90deg, var(--teal-dark), var(--teal)); color: #fff; box-shadow: var(--shadow); }
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 4px 16px; min-height: 58px; padding-top: 8px; padding-bottom: 8px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: .2px; white-space: nowrap; }
.brand span { color: #99f6e4; }
.brand-icon { width: 30px; height: 30px; }
.topnav { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; }
.topnav a { color: #e6fffb; text-decoration: none; font-size: .95rem; white-space: nowrap; }
@media (max-width: 640px) {
  .brand { font-size: 1.05rem; }
  .brand-icon { width: 26px; height: 26px; }
  .topnav { width: 100%; justify-content: flex-start; gap: 4px 14px; padding-bottom: 2px; }
  .topnav a { font-size: .9rem; }
  .topnav .btn-ghost { margin-left: auto; }
}

/* Buttons & Formulare */
.btn {
  display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 10px; padding: 9px 16px; font-size: .95rem; cursor: pointer; text-decoration: none;
  transition: filter .15s, transform .05s; text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 600; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--teal); }
.topnav .btn-ghost { color: #e6fffb; border-color: rgba(255,255,255,.4); }
.btn-danger { background: #fff; border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-sm { padding: 6px 12px; font-size: .88rem; }
input[type=text], input[type=password], input[type=email], input[type=number], textarea, select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; margin-top: 5px;
}
input:focus, textarea:focus, .rte:focus { outline: 2px solid var(--teal-light); border-color: var(--teal); }
label { display: block; font-size: .92rem; font-weight: 600; color: #374151; }
.stack > * + * { margin-top: 14px; }
.row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.check { display: flex; align-items: flex-start; gap: 8px; font-weight: 400; }
.check input { margin-top: 4px; flex-shrink: 0; }
.alert { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; padding: 10px 14px; border-radius: 10px; margin: 10px 0; }
.save-state { font-size: .88rem; color: var(--teal); }

/* Auth */
.auth-grid {
  display: grid; grid-template-columns: minmax(320px, 440px) minmax(280px, 400px);
  gap: 26px; justify-content: center; align-items: start; margin-top: 6vh;
}
.auth-grid .auth-card { margin-top: 0; }
@media (max-width: 800px) { .auth-grid { grid-template-columns: minmax(0, 440px); margin-top: 3vh; } }
.features-panel {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
}
.features-panel h2 { margin-top: 0; }
.feat-list { list-style: none; margin: 0 0 16px; padding: 0; }
.feat-list li { margin-bottom: 10px; font-size: .93rem; }
.example-box { background: var(--teal-light); border-radius: 12px; padding: 14px 16px; }
.example-box h3 { margin: 0 0 8px; font-size: .98rem; }
.example-box p { font-size: .9rem; margin: 0 0 10px; }
.example-note { margin: 8px 0 0 !important; font-size: .8rem !important; }
.auth-card {
  max-width: 420px; margin: 8vh auto 0; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 34px 30px; text-align: center;
}
.auth-logo { width: 64px; height: 64px; margin-bottom: 8px; }
.auth-card form { text-align: left; margin-top: 18px; }
.auth-card .btn { width: 100%; }

/* Dashboard */
.page-head { margin-bottom: 18px; }
.create-bar {
  display: flex; gap: 10px; flex-wrap: wrap; background: var(--card); padding: 14px;
  border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 22px;
}
.create-bar input { flex: 2 1 260px; margin-top: 0; }
.create-bar .input-sm { flex: 1 1 150px; }
.create-bar select { flex: 1 1 150px; margin-top: 0; width: auto; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.folder-create { display: flex; gap: 8px; flex: 1 1 320px; }
.folder-create input { margin-top: 0; flex: 1; }
.sort-controls { display: flex; gap: 12px; flex-wrap: wrap; }
.sort-label { display: flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.sort-label select { width: auto; margin-top: 0; padding: 6px 8px; font-size: .88rem; }
.folder-sec { margin-bottom: 26px; }
.folder-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.folder-name { margin: 0; font-size: 1.15rem; }
.folder-count { font-size: .85rem; font-weight: 400; }
.folder-actions { display: flex; gap: 4px; }
.inline-form { display: inline; }
.folder-empty { margin: 4px 0 0 4px; }
.cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.card-title { font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.card-title:hover { color: var(--teal); }
.card-meta { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: .88rem; color: var(--muted); margin-top: 4px; }
.chip { background: var(--teal-light); color: var(--teal-dark); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }
.card-actions { display: flex; gap: 8px; }
.empty { text-align: center; padding: 60px 20px; }

/* Editor */
.backlink { text-decoration: none; font-size: .92rem; }
.editor-grid { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }
.editor-grid > * { min-width: 0; } /* Grid-Spalten dürfen unter ihre Inhaltsbreite schrumpfen */
@media (max-width: 860px) { .editor-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-bottom: 20px; }
.panel-sub { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 18px; }
.panel-danger { border: 1px solid #fecaca; }
.type-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.type-tabs button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px;
  font: inherit; font-size: .9rem; cursor: pointer;
}
.type-tabs button.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.help-list { list-style: none; margin: 0 0 4px; padding: 0; }
.help-list li {
  display: flex; align-items: center; gap: 10px; border: 1px solid var(--line);
  border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; background: #fafcfc;
}
.help-list .h-num {
  background: var(--teal); color: #fff; border-radius: 50%; width: 26px; height: 26px;
  display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; font-weight: 700; flex-shrink: 0;
}
.help-list li.is-solution .h-num { background: var(--amber); }
.help-list .h-info { flex: 1; min-width: 0; }
.help-list .h-title { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.help-list .h-type { font-size: .8rem; color: var(--muted); }
.help-list .h-actions { display: flex; gap: 4px; }
.help-list .h-actions button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 30px; height: 30px;
  cursor: pointer; font-size: .85rem;
}
.help-list .h-actions button:hover { border-color: var(--teal); }

/* Rich-Text-Editor */
.rte-toolbar { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 6px; }
.rte-toolbar button {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; min-width: 32px; height: 32px;
  cursor: pointer; font-size: .9rem;
}
.rte-toolbar .swatch { position: relative; }
.rte-toolbar .swatch::after {
  content: ''; position: absolute; inset: 7px; border-radius: 4px; background: var(--c);
}
.rte-toolbar .swatch-none::after { display: none; }
.rte {
  min-height: 110px; border: 1px solid var(--line); border-radius: 10px; padding: 12px; background: #fff;
}
.rte:empty::before { content: attr(data-placeholder); color: #9ca3af; }

.upload-zone {
  display: block; border: 2px dashed var(--line); border-radius: 10px; padding: 26px 14px;
  text-align: center; color: var(--muted); cursor: pointer; font-weight: 400;
}
.upload-zone.drag { border-color: var(--teal); background: var(--teal-light); }
.image-preview img { max-width: 100%; max-height: 260px; border-radius: 10px; margin-top: 10px; }
.formula-preview { min-height: 44px; padding: 10px; background: #fafcfc; border: 1px solid var(--line); border-radius: 10px; margin-top: 8px; overflow-x: auto; }
.formula-preview .err { color: var(--danger); font-size: .88rem; }
.formula-snippets { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.formula-snippets button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 4px 11px;
  font-size: .82rem; cursor: pointer;
}

/* QR-Panel */
.qr-panel { text-align: center; }
.qr-box { display: flex; justify-content: center; padding: 6px 0 2px; }
.qr-box svg, .qr-box canvas { width: 200px; height: 200px; }
.qr-url { font-size: .78rem; word-break: break-all; margin: 8px 0 14px; }
.qr-note { margin-top: 12px; }

/* Audio-Aufnahme */
.audio-rec { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
#btn-record.recording { background: #fee2e2; border-color: var(--danger); color: var(--danger); }
.rec-time { color: var(--danger); font-weight: 700; font-variant-numeric: tabular-nums; animation: rec-blink 1.2s infinite; }
@keyframes rec-blink { 50% { opacity: .4; } }
.audio-preview { margin: 8px 0; }
.audio-preview audio { display: block; width: 100%; height: 48px; margin-bottom: 8px; }
.upload-zone-sm { padding: 12px; margin-top: 6px; }
/* Eigener Audio-Player (native Player werden auf iOS teils abgeschnitten) */
.player {
  display: flex; align-items: center; gap: 12px;
  background: #f3f6f6; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px 8px 8px; min-height: 56px;
}
.player audio { display: none; }
.pl-btn {
  width: 44px; height: 44px; border-radius: 50%; border: 0; flex-shrink: 0;
  background: var(--teal); color: #fff; font-size: 1.15rem; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; line-height: 1;
}
.pl-bar {
  flex: 1; height: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 999px; overflow: hidden; cursor: pointer; min-width: 60px;
}
.pl-fill { height: 100%; width: 0; background: var(--teal); border-radius: 999px; transition: width .15s linear; }
.pl-time { font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }

/* Scan-Statistik */
.stats-row { display: flex; gap: 10px; margin-bottom: 10px; }
.stat {
  flex: 1; text-align: center; background: var(--teal-light); border-radius: 10px; padding: 10px 4px;
}
.stat-num { display: block; font-size: 1.45rem; font-weight: 800; color: var(--teal-dark); line-height: 1.1; }
.stat-label { font-size: .78rem; color: var(--muted); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 14px 0; font-size: .84rem; color: var(--muted); background: #fff; margin-top: auto; }

/* ---------- Schüleransicht ---------- */
.student-wrap { max-width: 640px; }
.student-head { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.student-head h1 { font-size: 1.3rem; margin: 0; }
.student-head p { margin: 2px 0 0; }
.student-intro { background: var(--teal-light); color: var(--teal-dark); border-radius: 12px; padding: 12px 16px; font-size: .95rem; }
.student-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; margin: 14px 0; }

.reveal-list { list-style: none; padding: 0; margin: 18px 0; }
.reveal-item { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 12px; overflow: hidden; }
.reveal-item.locked-next { opacity: .55; }
.reveal-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; border: 0; background: none;
  padding: 15px 16px; font: inherit; font-size: 1rem; cursor: pointer; text-align: left;
}
.reveal-num {
  background: var(--teal); color: #fff; border-radius: 50%; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0;
}
.reveal-label { flex: 1; font-weight: 600; }
.reveal-chev { color: var(--muted); transition: transform .2s; }
.reveal-item.open .reveal-chev { transform: rotate(180deg); }
.reveal-body { padding: 16px 16px 18px 58px; }
@media (max-width: 480px) { .reveal-body { padding-left: 16px; } }
.help-title { font-size: 1.02rem; margin: 0 0 8px; }
.help-text p { margin: .4em 0; }
.help-image img { width: 100%; border-radius: 10px; display: block; }
.zoom-hint { font-size: .8rem; color: var(--muted); text-align: center; margin: 6px 0 0; }
.help-formula { overflow-x: auto; padding: 6px 0; font-size: 1.15rem; }
.help-formula .err { color: var(--danger); font-size: .9rem; }

.yt { position: relative; border-radius: 10px; overflow: hidden; background: #000; cursor: pointer; }
.yt img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; opacity: .8; background: #1f2937; }
.yt-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 62px; border-radius: 50%; border: 0; background: rgba(15, 118, 110, .92);
  color: #fff; font-size: 1.5rem; cursor: pointer;
}
.yt-note { position: absolute; bottom: 6px; left: 0; right: 0; text-align: center; color: #fff; font-size: .78rem; margin: 0; text-shadow: 0 1px 3px #000; }
.yt iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; }

.solution-sec { margin-top: 26px; }
.solution-head { font-size: 1.15rem; }
.solution-card { border-left: 4px solid var(--amber); }
.lock-card { text-align: center; }
.lock-form { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }
.lock-form input { width: 110px; text-align: center; font-size: 1.4rem; letter-spacing: .3em; margin-top: 0; }
.feedback-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.feedback-btns button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px;
  font: inherit; font-size: .92rem; cursor: pointer;
}
.feedback-btns button.sel { background: var(--teal); color: #fff; border-color: var(--teal); }
.feedback-msg { background: var(--teal-light); color: var(--teal-dark); border-radius: 10px; padding: 10px 14px; }

.lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .92); z-index: 50;
  display: flex; align-items: center; justify-content: center; touch-action: pinch-zoom;
}
.lightbox img { max-width: 96vw; max-height: 92vh; }
.lightbox-close {
  position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .15); color: #fff; font-size: 1.2rem; cursor: pointer;
}

/* ---------- Landing page ---------- */
.hero { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: center; padding: 44px 0 26px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } }
.hero-title { font-size: 2.3rem; line-height: 1.15; margin: 0 0 14px; }
.hero-sub { font-size: 1.08rem; color: #374151; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 10px; }
.hero-cta.center { justify-content: center; margin-top: 28px; }
.btn-lg { padding: 13px 26px; font-size: 1.05rem; border-radius: 12px; }
.phone-wrap { justify-self: center; text-align: center; }
.phone {
  width: 270px; background: #111827; border-radius: 34px; padding: 14px 10px;
  box-shadow: 0 18px 50px rgba(16, 42, 40, .25); text-align: left; margin: 0 auto;
}
.phone-screen { background: var(--bg); border-radius: 24px; padding: 14px 10px; }
.phone-title { font-weight: 700; font-size: .92rem; margin: 2px 6px 10px; }
.phone-hint { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.phone-step {
  display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px;
  padding: 9px 10px; margin-top: 8px; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow);
  border: 0; width: 100%; font-family: inherit; color: inherit; cursor: pointer; text-align: left;
  transition: transform .08s;
}
.phone-step:active { transform: scale(.98); }
.demo-lock p { margin: 0 0 6px; }
.demo-hint { color: var(--teal-dark); }
.demo-lock-row { display: flex; gap: 6px; }
.demo-lock-row input {
  width: 72px; text-align: center; letter-spacing: .25em; font-size: .95rem;
  padding: 5px 6px; border: 1px solid var(--line); border-radius: 8px; margin: 0;
}
.demo-lock-row .demo-unlock {
  border: 0; background: var(--teal); color: #fff; border-radius: 8px; padding: 5px 12px;
  font: inherit; font-size: .78rem; font-weight: 600; cursor: pointer;
}
.demo-lock-err { color: var(--danger); margin: 6px 0 0 !important; }
.demo-solution { color: var(--teal-dark); font-weight: 600; }
.phone-step.p-lock { opacity: .65; }
.p-num {
  background: var(--teal); color: #fff; border-radius: 50%; width: 21px; height: 21px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; font-size: .72rem;
}
.p-lock .p-num { background: var(--amber); }
.p-chev { margin-left: auto; color: var(--muted); font-size: .75rem; }
.phone-body {
  background: #fff; border-radius: 0 0 12px 12px; margin: -6px 4px 0; padding: 10px 12px 9px;
  font-size: .78rem; color: #374151; box-shadow: var(--shadow);
}
.phone-formula { font-family: Georgia, 'Times New Roman', serif; text-align: center; font-size: .92rem; }
.sec-title { text-align: center; font-size: 1.5rem; margin: 40px 0 22px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }
.feature { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.feature h3 { margin: 8px 0 6px; font-size: 1.02rem; }
.feature p { margin: 0; font-size: .92rem; color: #4b5563; }
.f-ico { font-size: 1.6rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 20px; text-align: center; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.1rem;
}
.step h3 { margin: 10px 0 6px; }
.step p { margin: 0; font-size: .92rem; color: #4b5563; }

/* ---------- Feedback & Admin ---------- */
.success-panel { border-left: 4px solid var(--teal); }
.notice-ok { background: var(--teal-light); color: var(--teal-dark); border-radius: 10px; padding: 10px 14px; margin: 10px 0; }
.help-lock { text-align: center; }
.help-lock .alert { display: inline-block; }
.rte-hint { margin: 4px 0 0; font-size: .82rem; }
sub, sup { line-height: 1; }
.auth-alt { margin-top: 14px; font-size: .92rem; }
.hp { position: absolute; left: -9999px; top: -9999px; }
.fb-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; }
.fb-item.fb-done { opacity: .55; }
.fb-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9rem; }
.fb-actions { margin-left: auto; display: flex; gap: 6px; }
.fb-actions form { display: inline; }
.fb-msg { margin: 8px 0 0; white-space: pre-line; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -6px; padding: 0 6px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table-scroll .table { min-width: 620px; }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.table th { color: var(--muted); font-weight: 600; font-size: .84rem; }
@media (max-width: 640px) {
  .fb-actions { width: 100%; margin-left: 0; justify-content: flex-end; }
  .auth-card { margin-top: 4vh; padding: 26px 20px; }
  .panel { padding: 16px; }
}
.qr-actions-row { display: flex; gap: 8px; }

/* Druck */
@media print {
  .topbar, .footer, .btn, .create-bar { display: none !important; }
}

/* Reihenfolge der Hilfen (Editor, Version 10) */
.order-choice { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px 12px; margin: 0; }
.order-choice legend { font-weight: 600; padding: 0 6px; }
.order-opt { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; cursor: pointer; font-weight: normal; }
.order-opt input { margin-top: 4px; flex: none; width: auto; }
