/* flasher.opensourceminers.de, Neubau Oktober 2026.
   Eigene Gestaltung im Auftritt von opensourceminers.de: Inter, Bitcoin-Orange als Akzent,
   grosse Geraetefotos, dunkle Aktionsleiste. Keine Inline-Styles in den Seiten (CSP style-src 'self'). */
@font-face {
  font-family: 'Inter Variable';
  src: url('inter-latin-wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --o: #f7931a; --o6: #e07c0c; --o7: #b45f08; --o-text: #c46a07;
  --o50: #fff7ed; --o100: #ffedd5; --o200: #fed7aa;
  --ink: #171717; --text: #404040; --muted: #6b6b6b; --faint: #a3a3a3;
  --line: #e7e5e4; --line2: #d6d3d1; --soft: #fafaf9; --soft2: #f5f5f4;
  --nacht: #141414; --nacht2: #232323;
  --gruen: #15803d; --gruen-bg: #f0fdf4; --gruen-line: #bbf7d0;
  --rot: #b91c1c; --rot-bg: #fef2f2; --rot-line: #fecaca;
  --gelb: #92400e; --gelb-bg: #fffbeb; --gelb-line: #fde68a;
  --r: 20px; --r2: 14px; --rund: 999px;
  --schatten: 0 1px 2px rgb(23 23 23 / .05), 0 14px 34px -22px rgb(23 23 23 / .28);
  --schatten-o: 0 18px 40px -22px rgb(247 147 26 / .65);
}
*, *::before, *::after { box-sizing: border-box }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } *, *::before, *::after { animation: none !important; transition: none !important } }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 16px/1.65 'Inter Variable', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; letter-spacing: -.02em; margin: 0; text-wrap: balance }
p { margin: 0 0 .8rem }
a { color: var(--o7); text-underline-offset: 3px }
a:hover { color: var(--ink) }
img { max-width: 100%; height: auto }
code, .mono { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .86em }
code { background: var(--soft2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); word-break: break-word }
[hidden] { display: none !important }
svg { width: 1em; height: 1em; flex: none }
.innen { max-width: 1200px; margin: 0 auto; padding: 0 16px }
@media (min-width: 640px) { .innen { padding: 0 24px } }
.leise { color: var(--muted) }
.klein { font-size: .875rem }
.nur-lesbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible, input:focus-visible, .kachel:focus-visible {
  outline: 3px solid var(--o); outline-offset: 2px; border-radius: 8px }

/* ---------- Vorschau-Band (nur Staging) ---------- */
.vorschau-band { background: var(--ink); color: #fff; text-align: center; font-size: 13px; font-weight: 600; padding: 6px 12px }

/* ---------- Kopf ---------- */
.kopf { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 30 }
.kopf .innen { display: flex; align-items: center; gap: 12px; min-height: 64px }
.marke { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 750; letter-spacing: -.02em; white-space: nowrap }
.marke-zeichen { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--o); box-shadow: 0 2px 8px -2px rgb(247 147 26 / .6) }
.marke-zeichen svg { width: 20px; height: 20px; color: #fff }
.marke b { color: var(--o-text) }
.marke-text { display: none }
@media (min-width: 420px) { .marke-text { display: inline } }
.app-name { font-size: 13px; font-weight: 700; color: var(--o7); background: var(--o50); border: 1px solid var(--o200); border-radius: var(--rund); padding: 3px 10px; text-decoration: none; white-space: nowrap }
.kopf-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 15px }
.kopf-nav > a, .menue > summary { color: var(--text); text-decoration: none; font-weight: 550; padding: 8px 10px; border-radius: 10px; cursor: pointer; white-space: nowrap }
.kopf-nav > a:hover, .menue > summary:hover { background: var(--soft2); color: var(--ink) }
.kopf-nav > a.breit { display: none }
@media (min-width: 900px) { .kopf-nav > a.breit { display: inline-block } }
.menue { position: relative }
.menue > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px }
.menue > summary::-webkit-details-marker { display: none }
.menue > summary svg { width: 14px; height: 14px; transition: transform .15s }
.menue[open] > summary svg { transform: rotate(180deg) }
.menue-feld { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; background: #fff; border: 1px solid var(--line); border-radius: var(--r2);
  box-shadow: 0 18px 40px -16px rgb(23 23 23 / .3); padding: 8px; z-index: 40 }
.menue-feld a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 550; font-size: 15px }
.menue-feld a small { display: block; font-weight: 400; color: var(--muted); font-size: 13px }
.menue-feld a:hover, .menue-feld a[aria-current="page"] { background: var(--o50) }
.menue-trenner { border-top: 1px solid var(--line); margin: 6px 4px }
.menue-nur-klein { display: block }
@media (min-width: 900px) { .menue-nur-klein { display: none } }
.sprache { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 10px; padding: 6px 10px; font-size: 13px; font-weight: 700;
  color: var(--text); text-decoration: none; margin-left: 4px }
.sprache:hover { background: var(--soft2); color: var(--ink) }

/* ---------- Kopfbereich der Seite (Held) ---------- */
.held { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(70% 90% at 92% 10%, rgb(247 147 26 / .16) 0, rgb(247 147 26 / 0) 60%),
              linear-gradient(180deg, var(--o50) 0, #fff 85%) }
.held .innen { display: grid; gap: 28px; padding-top: 36px; padding-bottom: 40px }
@media (min-width: 900px) { .held .innen { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 56px; padding-bottom: 60px } }
.oberzeile { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--o7); background: #fff; border: 1px solid var(--o200); border-radius: var(--rund); padding: 5px 12px; margin-bottom: 18px }
.oberzeile::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--o) }
.held h1 { font-size: clamp(2rem, 6.4vw, 3.5rem); font-weight: 820; letter-spacing: -.035em; line-height: 1.06 }
.held h1 .akzent { color: var(--o-text) }
.held .einleitung { font-size: 1.09rem; color: var(--text); margin: 18px 0 0; max-width: 40rem }
.held-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px }
.held-punkte { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px 18px; grid-template-columns: 1fr; font-size: .95rem; color: var(--ink); font-weight: 550 }
@media (min-width: 560px) { .held-punkte { grid-template-columns: 1fr 1fr } }
.held-punkte li { display: flex; gap: 10px; align-items: flex-start }
.held-punkte svg { color: var(--o6); width: 20px; height: 20px; margin-top: 2px }
.browser-status { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; border-radius: var(--rund); padding: 7px 14px; border: 1px solid }
.browser-status.ok { color: var(--gruen); background: var(--gruen-bg); border-color: var(--gruen-line) }
.browser-status.nein { color: var(--gelb); background: var(--gelb-bg); border-color: var(--gelb-line) }
.buehne { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; max-width: 560px; margin: 0 auto; width: 100% }
.platte { background: #fff; border-radius: 26px; box-shadow: var(--schatten), var(--schatten-o); padding: 6%; display: grid; place-items: center; border: 1px solid var(--line) }
.platte img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain }
.platte.gross { grid-column: 1 / -1; padding: 4% 14% }
@media (max-width: 899px) {
  .held .innen { padding-top: 22px }
  .buehne { order: -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 460px; margin: 0 }
  .buehne .platte { border-radius: 18px; padding: 8% }
  .buehne .platte.gross { grid-column: auto; padding: 8% }
  .held-geraet .buehne { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 320px }
  .held-geraet .buehne .platte:only-child { grid-column: 1 / -1; max-width: 200px }
}
.fakten { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; padding: 0; list-style: none }
.fakten li { background: #fff; border: 1px solid var(--line); border-radius: var(--rund); padding: 6px 12px; font-size: 14px; color: var(--ink); font-weight: 600 }
.fakten li span { color: var(--muted); font-weight: 500 }
.brotkrumen { font-size: 13.5px; color: var(--muted); margin-bottom: 14px }
.brotkrumen a { color: var(--muted) }
.brotkrumen span[aria-hidden] { margin: 0 6px }

/* ---------- Knoepfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 9px; border-radius: 13px; padding: 12px 20px; font: inherit; font-weight: 700;
  font-size: 15.5px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .12s, box-shadow .12s, background .12s; line-height: 1.2 }
.knopf svg { width: 18px; height: 18px }
.knopf:active { transform: translateY(1px) }
.knopf-dunkel { background: var(--ink); color: #fff }
.knopf-dunkel:hover { background: #000; color: #fff }
.knopf-hell { background: #fff; color: var(--ink); border-color: var(--line2) }
.knopf-hell:hover { background: var(--soft); color: var(--ink) }
.knopf-voll { background: var(--o); color: #1c1100; box-shadow: 0 10px 22px -10px rgb(247 147 26 / .9) }
.knopf-voll:hover { background: #ff9f2e; color: #1c1100 }
.knopf-warn { background: var(--gelb); color: #fff }
.knopf[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; transform: none }
.textknopf { background: none; border: 0; padding: 0; font: inherit; color: var(--o7); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 600 }
.textknopf:hover { color: var(--ink) }

/* ---------- Werkbank (App) ---------- */
.werkbank { padding-top: 40px; padding-bottom: 8px; scroll-margin-top: 8px }
.werkbank-kopf { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 8px }
.werkbank-kopf h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800 }
.schritt { border-top: 1px solid var(--line); padding: 28px 0 }
.schritt:first-of-type { border-top: 0 }
.schritt-kopf { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; margin-bottom: 18px }
.schritt-kopf .nr { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--o); font-weight: 800; font-size: 20px }
.schritt-kopf h3 { font-size: 1.3rem; font-weight: 750 }
.schritt-kopf p { margin: 0; color: var(--muted); font-size: .95rem }

.erkennen-karte { display: grid; gap: 14px; align-items: center; background: var(--nacht); color: #e7e5e4; border-radius: var(--r); padding: 18px 20px; margin-bottom: 18px }
@media (min-width: 760px) { .erkennen-karte { grid-template-columns: auto 1fr auto } }
.erkennen-karte .symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgb(247 147 26 / .16); color: var(--o) }
.erkennen-karte .symbol svg { width: 26px; height: 26px }
.erkennen-karte b { color: #fff; display: block; font-size: 1.05rem }
.erkennen-karte p { margin: 2px 0 0; font-size: .92rem; color: #bdbab7 }
.knopf.arbeitet { pointer-events: none }
.knopf.arbeitet::after { content: ""; width: 15px; height: 15px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: drehen .8s linear infinite }

.erkennung { border: 1px solid var(--gruen-line); background: var(--gruen-bg); border-radius: var(--r2); padding: 16px 18px; margin-bottom: 18px; color: var(--ink) }
.erkennung.fehler { border-color: var(--rot-line); background: var(--rot-bg); color: var(--rot) }
.e-kopf { display: flex; gap: 10px; align-items: center; font-size: 1.02rem; margin-bottom: 10px }
.e-kopf svg { color: var(--gruen); width: 22px; height: 22px }
.e-daten { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 8px 18px; margin: 0 0 10px }
.e-daten div { min-width: 0 }
.e-daten dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650 }
.e-daten dd { margin: 0; font-weight: 600; overflow-wrap: anywhere }
.e-stand { display: flex; gap: 8px; align-items: center; font-weight: 600; margin: 0 0 8px }
.e-stand svg { width: 18px; height: 18px }
.e-stand.ok svg { color: var(--gruen) }
.e-stand.neu svg { color: var(--o6) }
.e-fuss { margin: 0; font-size: .9rem; color: var(--muted) }

.gruppe { margin-top: 6px }
.gruppe + .gruppe { margin-top: 26px }
.gruppe-titel { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: .95rem; font-weight: 750; margin-bottom: 12px; color: var(--ink) }
.gruppe-titel small { font-weight: 500; color: var(--muted); font-size: .85rem }
.kacheln { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)) }
@media (min-width: 640px) { .kacheln { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (min-width: 1000px) { .kacheln { grid-template-columns: repeat(6, minmax(0, 1fr)) } .kachel .k-bild { aspect-ratio: 1 } }
.kachel { position: relative; display: flex; flex-direction: column; align-items: stretch; text-align: left; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; transition: border-color .15s, box-shadow .15s, transform .15s }
.kachel:hover:not([disabled]) { border-color: var(--o200); box-shadow: var(--schatten); transform: translateY(-2px) }
.kachel[disabled] { cursor: default }
.kachel.ohne-fw { opacity: .55 }
.kachel .k-bild { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; border-radius: 12px; background: #fff; padding: 6%; margin-bottom: 10px }
.kachel .k-name { font-weight: 750; color: var(--ink); line-height: 1.25; font-size: .98rem }
.kachel .k-info { font-size: .82rem; color: var(--muted); margin-top: 2px }
.kachel .k-marke { position: absolute; top: 14px; left: 14px; font-size: 11.5px; font-weight: 700; border-radius: var(--rund); padding: 2px 9px; background: var(--ink); color: #fff }
.kachel .k-marke:empty { display: none }
.kachel.erkannt .k-marke { background: var(--gruen) }
.kachel[aria-pressed="true"] { border-color: var(--o); background: var(--o50); box-shadow: 0 0 0 3px var(--o100) }
.kachel[aria-pressed="true"]::after { content: ""; position: absolute; top: 12px; right: 12px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--o) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%231c1100' d='M16.7 5.3a1 1 0 0 1 0 1.4l-7.5 7.5a1 1 0 0 1-1.4 0L3.3 9.7a1 1 0 1 1 1.4-1.4l3.1 3.1 6.8-6.8a1 1 0 0 1 1.4 0Z'/%3E%3C/svg%3E") center / 16px no-repeat }
.liste-status { margin: 14px 0 0; font-size: .92rem; color: var(--muted) }
.liste-status.fehler { color: var(--rot); font-weight: 600 }

.unter-kacheln { display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; margin-top: 20px }
.gesamtliste { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--r2); background: var(--soft); padding: 12px 16px }
.gesamtliste summary { cursor: pointer; font-weight: 650; color: var(--ink) }
.gesamtliste p { font-size: .92rem; color: var(--muted); margin: 10px 0 }
select { font: inherit; width: 100%; max-width: 34rem; padding: 11px 14px; border: 1px solid var(--line2); border-radius: 12px; background: #fff; color: var(--ink) }
select:disabled { background: var(--soft2); color: var(--muted) }

.recovery { margin-top: 18px; border: 2px solid var(--o); border-radius: var(--r); padding: 18px 20px; background: var(--o50) }
.recovery h4 { font-size: 1.1rem; margin-bottom: 6px }
.recovery ol { margin: 10px 0 14px; padding-left: 1.3rem }
.recovery li { margin: 6px 0 }

/* Schritt 2 und 3: Wahlkarten */
.wahl { display: grid; gap: 12px }
@media (min-width: 700px) { .wahl { grid-template-columns: 1fr 1fr } }
.wahlkarte { position: relative; display: block; border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px 14px 48px; cursor: pointer; background: #fff; transition: border-color .15s, background .15s }
.wahlkarte input { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; accent-color: var(--o6); margin: 0 }
.wahlkarte:has(input:checked) { border-color: var(--o); background: var(--o50) }
.wahlkarte:has(input:disabled) { opacity: .55; cursor: not-allowed }
.wahlkarte .w-titel { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-weight: 750; color: var(--ink); font-size: 1.02rem }
.wahlkarte .w-text { display: block; font-size: .92rem; color: var(--text); margin-top: 4px }
.wahlkarte .w-stand { display: block; font-size: .84rem; color: var(--gelb); font-weight: 600; margin-top: 4px }
.marke-klein { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--o7); background: var(--o100); border-radius: var(--rund); padding: 2px 8px }
.kanal-text { font-size: .92rem; color: var(--text); margin: 12px 0 0; max-width: 60rem }
.version-zeile { display: grid; gap: 10px; margin-top: 18px; align-items: end }
@media (min-width: 700px) { .version-zeile { grid-template-columns: minmax(0, 34rem) auto } }
.feldname { display: block; font-weight: 650; font-size: .9rem; color: var(--ink); margin-bottom: 6px }
.haken-feld { display: inline-flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; padding: 10px 0 }
.haken-feld input { width: 18px; height: 18px; accent-color: var(--o6) }
.version-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; margin-top: 8px; font-size: .92rem }
.vertrauen { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 0; font-size: .9rem; color: var(--muted); max-width: 60rem }
.vertrauen svg { color: var(--gruen); width: 20px; height: 20px; margin-top: 2px }

.notiz { border-radius: 12px; padding: 10px 14px; font-size: .92rem; border: 1px solid; margin: 12px 0 0 }
.notiz.info { background: var(--soft); border-color: var(--line); color: var(--text) }
.notiz.warn { background: var(--gelb-bg); border-color: var(--gelb-line); color: var(--gelb) }

/* Aktionsleiste: klebt unten, solange die Auswahl sichtbar ist */
.aktion { position: sticky; bottom: 10px; z-index: 20; margin-top: 8px; background: var(--nacht); color: #e7e5e4; border-radius: 22px;
  padding: 12px; display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; align-items: center; box-shadow: 0 22px 44px -18px rgb(0 0 0 / .55) }
@media (min-width: 760px) { .aktion { grid-template-columns: auto 1fr auto; padding: 12px 12px 12px 14px } }
.aktion .a-bildrahmen { width: 58px; height: 58px; border-radius: 14px; background: #fff; display: grid; place-items: center; overflow: hidden }
.aktion .a-bildrahmen img { width: 52px; height: 52px; object-fit: contain }
.aktion .a-bildrahmen svg { width: 26px; height: 26px; color: var(--faint) }
.aktion .a-bildrahmen:has(img:not([hidden])) svg { display: none }
.a-text { min-width: 0 }
.a-name { display: block; color: #fff; font-weight: 750; font-size: 1.02rem }
.a-info { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .86rem; color: #bdbab7 }
.a-info b { color: var(--o) }
.a-info code { background: var(--nacht2); border-color: #3a3a3a; color: #e7e5e4; font-size: .8em }
.a-art { color: #fff; font-weight: 600 }
.a-fein { display: block; font-size: .8rem; color: #8f8c89; margin-top: 2px }
.aktion .knopf-voll { grid-column: 1 / -1; padding: 15px 24px; font-size: 1.05rem }
@media (max-width: 759px) {
  .aktion { padding: 10px; gap: 8px 12px; border-radius: 18px }
  .aktion .a-bildrahmen { width: 46px; height: 46px; border-radius: 12px }
  .aktion .a-bildrahmen img { width: 42px; height: 42px }
  .a-dateien, .a-fein { display: none !important }
  .aktion .knopf-voll { padding: 12px 18px; font-size: 1rem }
}
@media (min-width: 760px) { .aktion .knopf-voll { grid-column: auto } }
.ohne-usb-box { margin-top: 14px; border: 1px solid var(--gelb-line); background: var(--gelb-bg); border-radius: var(--r2); padding: 16px 18px; color: var(--ink) }
.ohne-usb-box .o-titel { display: flex; gap: 8px; align-items: center; color: var(--gelb) }
.ohne-usb-box .o-titel svg { width: 20px; height: 20px }
.o-schritte { margin: 8px 0 12px; padding-left: 1.3rem }
.o-schritte li { margin: 4px 0 }
.o-dateien { display: flex; flex-wrap: wrap; gap: 10px }
.o-ein-klick { margin: 12px 0 0; font-size: .92rem }

/* ---------- Lauf ---------- */
.lauf { border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--schatten); padding: 20px; background: #fff }
.lauf-kopf { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center }
@media (min-width: 640px) { .lauf-kopf { grid-template-columns: auto 1fr auto } }
.lauf-bild { width: 84px; height: 84px; object-fit: contain; border-radius: 16px; background: #fff; border: 1px solid var(--line); padding: 6px }
.lauf-art { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--o7); margin: 0 }
.lauf-titel { font-size: 1.4rem; font-weight: 800 }
.lauf-sub { margin: 2px 0 0; font-size: .86rem; color: var(--muted); overflow-wrap: anywhere }
.lauf-pct { grid-column: 1 / -1; font-size: 2.2rem; font-weight: 820; color: var(--ink); letter-spacing: -.03em; font-variant-numeric: tabular-nums }
@media (min-width: 640px) { .lauf-pct { grid-column: auto } }
.balken { height: 12px; border-radius: var(--rund); background: var(--soft2); overflow: hidden; margin: 16px 0 8px }
.balken > div { height: 100%; width: 0; border-radius: var(--rund); background: linear-gradient(90deg, var(--o6), var(--o)); transition: width .3s ease }
.lauf-text { font-weight: 650; color: var(--ink); min-height: 1.6em; margin: 0 0 10px }
.schrittliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px }
.schrittliste li { display: grid; grid-template-columns: 26px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px }
.schrittliste .st-icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line2) }
.schrittliste .st-icon svg { width: 15px; height: 15px }
.schrittliste .st-detail { font-size: .85rem; color: var(--muted); text-align: right; overflow-wrap: anywhere }
.schrittliste .st-wartet { color: var(--faint) }
.schrittliste .st-aktiv { background: var(--o50); color: var(--ink); font-weight: 650 }
.schrittliste .st-aktiv .st-icon { border-color: transparent }
.schrittliste .st-ok { color: var(--ink) }
.schrittliste .st-ok .st-icon { background: var(--gruen); border-color: var(--gruen); color: #fff }
.schrittliste .st-fehler { color: var(--rot); background: var(--rot-bg) }
.schrittliste .st-fehler .st-icon { background: var(--rot); border-color: var(--rot); color: #fff }
.dreher { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--o6); border-right-color: transparent; animation: drehen .8s linear infinite }
@keyframes drehen { to { transform: rotate(360deg) } }
.lauf-hinweis { display: flex; gap: 8px; align-items: center; margin: 14px 0 0; font-size: .92rem; color: var(--gelb); font-weight: 600 }
.lauf-frage { margin-top: 14px; border: 2px solid var(--gelb-line); background: var(--gelb-bg); border-radius: var(--r2); padding: 16px 18px; color: var(--ink) }
.frage-titel, .fehler-titel { display: flex; gap: 8px; align-items: center; font-size: 1.05rem }
.frage-titel svg { color: var(--gelb); width: 22px; height: 22px }
.lauf-fehler { margin-top: 14px; border: 1px solid var(--rot-line); background: var(--rot-bg); border-radius: var(--r2); padding: 16px 18px; color: var(--ink) }
.lauf-fehler.info { border-color: var(--line); background: var(--soft) }
.fehler-titel svg { color: var(--rot); width: 22px; height: 22px }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 12px }
.protokoll-box { margin-top: 16px; font-size: .9rem }
.protokoll-box summary { cursor: pointer; color: var(--muted); font-weight: 600 }
.protokoll { max-height: 260px; overflow: auto; background: var(--nacht); color: #d6d3d1; border-radius: 12px; padding: 12px; font-size: 12px; line-height: 1.5; white-space: pre-wrap; margin: 10px 0 }

/* ---------- Fertig ---------- */
.fertig-kopf { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; background: var(--gruen-bg); border: 1px solid var(--gruen-line); border-radius: var(--r); padding: 20px }
@media (min-width: 760px) { .fertig-kopf { grid-template-columns: auto 1fr auto } }
.fertig-haken svg { width: 56px; height: 56px; color: var(--gruen) }
.fertig-haken .zug { stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .5s .2s ease-out forwards }
@keyframes zeichnen { to { stroke-dashoffset: 0 } }
@media (prefers-reduced-motion: reduce) { .fertig-haken .zug { stroke-dashoffset: 0 } }
.fertig-titel { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 820; outline: none }
.fertig-lead { margin: 4px 0 8px; color: var(--ink) }
.fertig-fakten { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .88rem; color: var(--gruen); font-weight: 600 }
.fertig-fakten li { display: inline-flex; gap: 6px; align-items: center }
.fertig-bild { display: none; width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 18px; padding: 8px }
@media (min-width: 760px) { .fertig-bild { display: block } }
.fertig-karte { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-top: 14px; background: #fff }
.fertig-karte h3 { font-size: 1.15rem; margin-bottom: 8px }
.neustart { display: flex; gap: 10px; align-items: center; font-weight: 650; color: var(--ink) }
.puls { width: 12px; height: 12px; border-radius: 50%; background: var(--o); box-shadow: 0 0 0 0 rgb(247 147 26 / .6); animation: puls 1.6s infinite }
.neustart.fertig .puls { background: var(--gruen); animation: none }
@keyframes puls { 70% { box-shadow: 0 0 0 10px rgb(247 147 26 / 0) } 100% { box-shadow: 0 0 0 0 rgb(247 147 26 / 0) } }
.fertig-cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center }
.einrichten { margin: 0 0 10px; padding-left: 1.4rem }
.einrichten li { margin: 7px 0 }
.fertig-alt dl { margin: 8px 0 0; display: grid; gap: 8px }
.fertig-alt dt { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 650 }
.fertig-alt dd { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; overflow-wrap: anywhere }
.kopieren { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: #fff; color: var(--text); cursor: pointer }
.kopieren.kopiert { color: var(--gruen); border-color: var(--gruen) }
.weiter { margin-top: 26px }
.weiter-titel { font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; margin-bottom: 10px }
.weiter-raster { display: grid; gap: 12px }
@media (min-width: 760px) { .weiter-raster { grid-template-columns: repeat(3, 1fr) } }
.weiter-karte { border: 1px solid var(--line); border-radius: var(--r2); padding: 14px 16px; background: var(--soft) }
.weiter-karte h4 { font-size: 1rem; margin-bottom: 4px }
.weiter-karte p { font-size: .9rem; margin: 0 0 6px }
.weiter-links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-weight: 600 }

/* ---------- Inhaltsabschnitte ---------- */
.abschnitt { padding: 52px 0; border-top: 1px solid var(--line) }
.abschnitt.dunkel { background: var(--nacht); color: #d6d3d1; border-top: 0 }
.abschnitt.dunkel h2, .abschnitt.dunkel h3 { color: #fff }
.abschnitt.dunkel a { color: var(--o) }
.abschnitt.zart { background: var(--soft) }
.abschnitt h2 { font-size: clamp(1.55rem, 4vw, 2.15rem); font-weight: 800; margin-bottom: 10px; max-width: 44rem }
.abschnitt .einleitung { max-width: 46rem; font-size: 1.04rem }
.abschnitt h3 { font-size: 1.12rem; font-weight: 750; margin-bottom: 6px }
.text { max-width: 46rem }
.text p { margin-bottom: 1rem }
.karten { display: grid; gap: 14px; margin-top: 22px }
@media (min-width: 760px) { .karten { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1040px) { .karten.drei { grid-template-columns: repeat(3, 1fr) } }
.karte { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; background: #fff }
.abschnitt.dunkel .karte { background: var(--nacht2); border-color: #333; color: #d6d3d1 }
.karte .etikett { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--o7); margin-bottom: 6px }
.abschnitt.dunkel .karte .etikett { color: var(--o) }
.karte ol, .karte ul { padding-left: 1.2rem; margin: 8px 0 0 }
.karte li { margin: 5px 0 }
.ablauf { counter-reset: n; list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px }
@media (min-width: 760px) { .ablauf { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1100px) { .ablauf { grid-template-columns: repeat(4, 1fr) } }
.ablauf li { counter-increment: n; border: 1px solid var(--line); border-radius: var(--r2); padding: 16px; background: #fff; position: relative }
.ablauf li::before { content: counter(n); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--o); color: #1c1100; font-weight: 800; margin-bottom: 8px }
.ablauf b { display: block; color: var(--ink); margin-bottom: 2px }
.ablauf span { font-size: .92rem }
.ip-oeffner { margin-top: 22px; display: grid; gap: 10px; max-width: 46rem }
.ip-oeffner label { font-weight: 650; color: #fff }
.ip-oeffner input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid #444; background: #0b0b0b; color: #fff; width: 100% }
.ip-oeffner .knopfreihe { margin-top: 0 }
.ip-oeffner .aus { background: #262626; color: #8f8c89; border-color: #333; box-shadow: none; pointer-events: none }
.tabelle-rahmen { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r2); margin-top: 20px; background: #fff }
table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 640px }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--soft); font-weight: 700 }
tbody tr:last-child td { border-bottom: 0 }
td code { font-size: .8rem }
.faq { margin-top: 18px; border-top: 1px solid var(--line); max-width: 52rem }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 14px; align-items: center; padding: 16px 2px; font-weight: 700; color: var(--ink); font-size: 1.03rem }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--soft2); color: var(--o7); font-weight: 800 }
.faq details[open] summary::after { content: "\2212"; background: var(--o100) }
.faq .antwort { padding: 0 2px 16px; max-width: 46rem }
.faq .antwort p:last-child { margin-bottom: 0 }
.geraete-links { display: grid; gap: 12px; margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) }
.geraete-link { display: flex; gap: 12px; align-items: center; border: 1px solid var(--line); border-radius: var(--r2); padding: 10px 12px; text-decoration: none; color: var(--ink); background: #fff; font-weight: 700 }
.geraete-link:hover { border-color: var(--o); color: var(--ink) }
.geraete-link img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #fff }
.geraete-link small { display: block; font-weight: 500; color: var(--muted) }

/* ---------- Fuss ---------- */
.fuss { background: var(--nacht); color: #a8a29e; padding: 44px 0 30px; font-size: .92rem }
.fuss-raster { display: grid; gap: 26px; grid-template-columns: 1fr 1fr }
@media (min-width: 900px) { .fuss-raster { grid-template-columns: 1.3fr 1fr 1fr 1fr } }
.fuss-marke { grid-column: 1 / -1 }
@media (min-width: 900px) { .fuss-marke { grid-column: auto } }
.fuss .marke { color: #fff }
.fuss .marke b { color: var(--o) }
.fuss .marke-text { display: inline }
.fuss h2 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 10px }
.fuss ul { list-style: none; padding: 0; margin: 0 }
.fuss li { margin: 6px 0 }
.fuss a { color: #d6d3d1; text-decoration: none }
.fuss a:hover { color: var(--o) }
.fuss-unten { border-top: 1px solid #2c2c2c; margin-top: 30px; padding-top: 18px; font-size: .84rem; color: #8f8c89 }
