/* Hilfe & Feedback – Knopf in der Kopfzeile, Seitenfenster (Suche, Artikel, Rückmeldung), Markier-Werkzeug
   für Bildschirmfotos und das Hilfe-Center (hilfe.html). Designsprache wie die App: dunkel, Pult-Bernstein.
   Alles mit Präfix hf- (Fenster) bzw. hc- (Hilfe-Center), damit nichts mit den Seiten kollidiert. */
:root {
  --hf-bg: var(--bg, #08090c); --hf-panel: var(--panel, #111318); --hf-panel-2: var(--panel-2, #171a21); --hf-panel-3: #1e222b;
  --hf-line: var(--line, #242833); --hf-line-2: #313744; --hf-line-hover: #4a5263;
  --hf-text: var(--text, #e7e9ee); --hf-muted: #9aa1ae; --hf-quiet: #6f7685;
  --hf-accent: #ffb020; --hf-ink: #1a1205; --hf-ok: #3ddc84; --hf-bad: #ff5a5f;
  --hf-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --hf-mono: "SF Mono", ui-monospace, Menlo, monospace;
}

/* ------------------------------------------------------------------ Knopf „Hilfe“ */
.hf-launch {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
  min-height: 44px; min-width: 44px; padding: 0 14px 0 10px; border-radius: 10px;
  border: 1px solid var(--hf-line); background: var(--hf-panel-2); color: var(--hf-muted);
  font: 600 14px/1 var(--hf-font); cursor: pointer; text-decoration: none;
}
.hf-launch:hover { color: var(--hf-text); border-color: var(--hf-line-hover); }
.hf-launch .hf-q {
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hf-accent); color: var(--hf-ink); font-weight: 800; font-size: 14px;
}
.app-top .hf-launch { min-height: 46px; }
.hf-launch.hf-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 80; padding: 0 16px 0 12px; min-height: 48px;
  border-radius: 999px; box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
}
.hf-launch.hf-dock { position: fixed; right: 14px; bottom: 14px; z-index: 5; min-height: 40px; padding: 0 12px 0 8px; border-radius: 999px; }
@media (max-width: 760px) { .hf-launch:not(.hf-float) .hf-lbl { display: none; } .hf-launch:not(.hf-float) { padding: 0; width: 44px; } }
@media print { .hf-launch, .hf-drawer { display: none !important; } }

.hf-drawer :focus-visible, .hf-launch:focus-visible, .hf-anno :focus-visible, .hc :focus-visible {
  outline: 2px solid var(--hf-accent); outline-offset: 2px;
}

/* ------------------------------------------------------------------ Seitenfenster */
dialog.hf-drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0; padding: 0; width: min(460px, 100vw); height: 100vh; height: 100dvh;
  max-width: 100vw; max-height: none; border: 0; border-left: 1px solid var(--hf-line); background: var(--hf-panel);
  color: var(--hf-text); font: 15px/1.5 var(--hf-font); z-index: 1000; box-shadow: -18px 0 48px rgba(0, 0, 0, .5);
  display: none; flex-direction: column; overflow: hidden;
}
dialog.hf-drawer[open] { display: flex; animation: hf-in .22s cubic-bezier(.2, .8, .2, 1); }
dialog.hf-drawer::backdrop { background: rgba(0, 0, 0, .35); }
dialog.hf-drawer.hf-hide { visibility: hidden; }
@keyframes hf-in { from { transform: translateX(32px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 640px) {
  dialog.hf-drawer { inset: auto 0 0 0; width: 100vw; height: auto; max-height: 92vh; max-height: 92dvh; border-left: 0;
    border-top: 1px solid var(--hf-line); border-radius: 16px 16px 0 0; }
  @keyframes hf-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { dialog.hf-drawer[open] { animation: none; } }

.hf-head { display: flex; align-items: center; gap: 6px; padding: 12px 12px 10px 18px; border-bottom: 1px solid var(--hf-line); flex: none; }
.hf-head h2 { margin: 0; flex: 1; font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--hf-text); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hf-ibtn {
  min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid transparent; background: none; color: var(--hf-muted);
  font: inherit; font-size: 20px; line-height: 1; cursor: pointer; display: inline-grid; place-items: center; padding: 0 10px;
}
.hf-ibtn:hover { color: var(--hf-text); border-color: var(--hf-line); }
.hf-ibtn[hidden] { display: none; }
.hf-body { flex: 1; overflow: auto; padding: 16px 18px 24px; display: grid; gap: 18px; align-content: start; overscroll-behavior: contain; }
.hf-sec { display: grid; gap: 10px; }
.hf-sec > h3, .hf-eyebrow {
  margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted);
}
.hf-link { color: var(--hf-accent); text-decoration: none; font-weight: 600; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.hf-link:hover { text-decoration: underline; }

/* Suche */
.hf-search { position: relative; }
.hf-search input {
  width: 100%; min-height: 50px; padding: 0 16px 0 44px; border-radius: 999px; border: 1px solid var(--hf-line-2);
  background: var(--hf-panel-2); color: var(--hf-text); font: inherit; font-size: 16px;
}
.hf-search input::placeholder { color: var(--hf-quiet); }
.hf-search input:focus { border-color: var(--hf-accent); outline: none; }
.hf-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--hf-muted); pointer-events: none; }
.hf-search kbd { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
kbd.hf-kbd, .hf-art kbd {
  font: 600 12px/1 var(--hf-mono); padding: 3px 6px; border-radius: 6px; border: 1px solid var(--hf-line-2);
  border-bottom-width: 2px; background: var(--hf-panel-3); color: var(--hf-text);
}
.hf-res { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hf-res button, .hf-res a {
  display: grid; gap: 2px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--hf-line);
  background: var(--hf-panel-2); color: var(--hf-text); font: inherit; cursor: pointer; text-decoration: none;
}
.hf-res button:hover, .hf-res a:hover, .hf-res .is-sel { border-color: var(--hf-line-hover); background: var(--hf-panel-3); }
.hf-res .hf-k { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-accent); }
.hf-res .hf-t { font-weight: 650; }
.hf-res .hf-s { color: var(--hf-muted); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hf-res mark, .hc mark { background: rgba(255, 176, 32, .22); color: inherit; border-radius: 3px; padding: 0 1px; }
.hf-empty { color: var(--hf-muted); font-size: 14px; margin: 0; }

/* Melden: drei Kacheln */
.hf-tiles { display: grid; gap: 8px; }
.hf-tile {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px;
  border-radius: 12px; border: 1px solid var(--hf-line); background: var(--hf-panel-2); color: var(--hf-text);
  font: inherit; text-align: left; cursor: pointer;
}
.hf-tile:hover { border-color: var(--hf-line-hover); background: var(--hf-panel-3); }
.hf-tile .hf-ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.hf-tile b { display: block; font-size: 15px; }
.hf-tile small { color: var(--hf-muted); font-size: 13px; }
.hf-tile .hf-go { color: var(--hf-quiet); font-size: 20px; }
.hf-ic.fehler { background: #2a1214; color: #ff8a8d; }
.hf-ic.idee { background: #2a2110; color: var(--hf-accent); }
.hf-ic.frage { background: #0f2230; color: #6fb3ff; }
.hf-ic.community { background: #10241a; color: #3ddc84; }
.hf-note { color: var(--hf-muted); font-size: 13.5px; margin: 0; }

/* ------------------------------------------------------------------ Artikel (Seitenfenster und Hilfe-Center) */
.hf-art { display: grid; gap: 14px; min-width: 0; }
.hf-art h1 { margin: 0; font-size: 22px; line-height: 1.25; letter-spacing: -.01em; }
.hf-art .hf-lead { margin: 0; color: #c9cdd6; font-size: 16px; }
.hf-art h2 { margin: 12px 0 0; font-size: 17px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--hf-text); scroll-margin-top: 80px; }
.hf-art h3 { margin: 6px 0 0; font-size: 15px; }
.hf-art p, .hf-art ul, .hf-art ol { margin: 0; }
.hf-art p, .hf-art li { color: #c9cdd6; }
.hf-art ul { padding-left: 20px; display: grid; gap: 4px; }
.hf-art strong { color: var(--hf-text); }
.hf-art a { color: var(--hf-accent); }
.hf-art code { font: 13px var(--hf-mono); background: var(--hf-panel-3); border: 1px solid var(--hf-line); border-radius: 5px; padding: 1px 5px; }
.hf-art ol.hf-steps { list-style: none; padding: 0; counter-reset: hfs; display: grid; gap: 10px; }
.hf-art ol.hf-steps > li { counter-increment: hfs; display: grid; grid-template-columns: 32px 1fr; gap: 4px 12px; align-items: start; }
.hf-art ol.hf-steps > li::before {
  content: counter(hfs); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--hf-accent); color: var(--hf-ink); font-weight: 800; font-size: 14px; margin-top: -2px;
}
.hf-art ol.hf-steps > li > ul { grid-column: 2; margin-top: 4px; }
.hf-where { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border-radius: 12px; border: 1px solid #5a4415; background: #1d1709; }
.hf-where .hf-wi { width: 34px; height: 34px; border-radius: 9px; background: var(--hf-accent); color: var(--hf-ink); display: grid; place-items: center; }
.hf-where b { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-accent); margin-bottom: 2px; }
.hf-where p { color: var(--hf-text); }
.hf-faq { display: grid; gap: 0; }
.hf-faq > div { padding: 12px 0; border-top: 1px solid var(--hf-line); }
.hf-faq > div:last-child { border-bottom: 1px solid var(--hf-line); }
.hf-faq b { display: block; color: var(--hf-text); margin-bottom: 4px; }
.hf-art .hf-sec-trouble ul { list-style: none; padding: 0; }
.hf-art .hf-sec-trouble li { padding-left: 26px; position: relative; }
.hf-art .hf-sec-trouble li::before { content: "!"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: #2a1214; color: #ff8a8d; font: 800 12px/18px var(--hf-font); text-align: center; }
.hf-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-pill { font-size: 12.5px; font-weight: 600; border-radius: 999px; padding: 3px 10px; border: 1px solid var(--hf-line-2); color: var(--hf-muted); }
.hf-vote { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px; border-radius: 12px; background: var(--hf-panel-2); border: 1px solid var(--hf-line); }
.hf-vote span { flex: 1 1 180px; font-weight: 650; }
.hf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--hf-line-2); background: var(--hf-panel-3); color: var(--hf-text); font: 600 15px/1 var(--hf-font);
  cursor: pointer; text-decoration: none;
}
.hf-btn:hover { border-color: var(--hf-line-hover); }
.hf-btn.primary { background: var(--hf-accent); border-color: var(--hf-accent); color: var(--hf-ink); }
.hf-btn.primary:hover { filter: brightness(1.06); }
.hf-btn:disabled { opacity: .5; cursor: default; }
.hf-btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.hf-related { display: grid; gap: 6px; }

/* ------------------------------------------------------------------ Neuigkeiten (Changelog) */
.hf-launch { position: relative; }
.hf-newdot {
  position: absolute; top: -7px; right: -7px; min-width: 18px; height: 18px; padding: 0 6px; border-radius: 999px;
  background: var(--hf-ok); color: #06210f; font: 800 10.5px/18px var(--hf-font); letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 0 0 2px var(--hf-panel); pointer-events: none;
}
@media (max-width: 760px) { .hf-launch:not(.hf-float) .hf-newdot { font-size: 0; min-width: 12px; width: 12px; height: 12px; padding: 0; top: -3px; right: -3px; } }
.hf-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hf-sec-head h3 { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
.hf-sec-head .hf-link { font-size: 13.5px; }
.hf-chip {
  display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: 999px; font: 700 11px/1 var(--hf-font);
  letter-spacing: .06em; text-transform: uppercase; background: #10241a; color: #9fe9bf; border: 1px solid #1f5a3a;
}
.hf-chip.besser { background: #1d1709; color: var(--hf-accent); border-color: #5a4415; }
.hf-chip.behoben { background: #121a24; color: #9cc6f5; border-color: #233448; }
.hf-res .hf-k:has(.hf-chip) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; letter-spacing: normal; text-transform: none; color: var(--hf-muted); font-weight: 600; font-size: 12.5px; }
.hf-unread { display: inline-flex; align-items: center; gap: 5px; color: var(--hf-ok); font-size: 12px; font-weight: 700; }
.hf-unread::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--hf-ok); }
.hf-res button.is-new, .hf-res a.is-new { border-color: #1f5a3a; }
.hf-news-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--hf-muted); font-size: 13.5px; font-weight: 600; }
.hf-news section { display: grid; gap: 10px; }
.hf-news section h2 { margin-top: 4px; }
.hf-news-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px; border-radius: 12px; background: #1d1709; border: 1px solid #5a4415; }
.hf-news-act > .hf-note { flex: 1 1 100%; color: #e4c993; }
.hf-news-act .hf-btn[hidden], .hf-news-act .hf-note[hidden] { display: none; }
.hf-news-act:not(:has(> :not([hidden]))) { display: none; }
.hf-vmark { display: inline-flex; align-items: center; gap: 4px; color: var(--hf-accent); font-size: 12px; font-weight: 700; }
.hf-toc { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-toc a { padding: 6px 10px; border-radius: 8px; background: var(--hf-panel-2); border: 1px solid var(--hf-line); color: var(--hf-muted); font-size: 13px; text-decoration: none; }
.hf-toc a:hover { color: var(--hf-text); border-color: var(--hf-line-hover); }
.hf-where .hf-btn { margin-top: 8px; }
button.hc-bot { display: flex; align-items: center; gap: 14px; width: 100%; margin-bottom: 18px; text-align: left; cursor: pointer; font: inherit; color: var(--hf-text); }
button.hc-bot > svg { flex: none; width: 28px; height: 28px; color: var(--hf-accent); }
button.hc-bot b { display: block; font-size: 16px; }
button.hc-bot span span { color: var(--hf-muted); font-size: 14px; }

/* Hilfe-Assistent (chat.js) */
.hf-ic.assistent { background: rgba(255, 176, 32, .14); color: var(--hf-accent); }
.hf-chat { display: grid; gap: 12px; align-content: start; }
.hf-msg { display: grid; gap: 8px; max-width: 100%; min-width: 0; font-size: 15px; line-height: 1.5; color: #c9cdd6; }
.hf-msg p, .hf-msg ul, .hf-msg ol { margin: 0; }
.hf-msg p, .hf-msg li, .hf-chipbtn { overflow-wrap: anywhere; }   /* lange Adressen oder Wörter brechen um, statt herauszuragen */
.hf-msg ul, .hf-msg ol { padding-left: 20px; }
.hf-msg strong { color: var(--hf-text); }
.hf-msg.du { justify-self: end; max-width: 86%; padding: 9px 13px; border-radius: 14px 14px 4px 14px; background: var(--hf-panel-3); color: var(--hf-text); }
.hf-msg.bot { padding: 12px 14px; border-radius: 14px 14px 14px 4px; background: var(--hf-panel-2); border: 1px solid var(--hf-line); }
.hf-msg.bot.ki { border-color: #5a4415; background: #1d1709; }
.hf-msg-von { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-accent); }
.hf-msg-txt { display: grid; gap: 8px; min-width: 0; }
.hf-msg-th { color: var(--hf-text); }
.hf-msg-denkt { color: var(--hf-muted); animation: hf-denkt 1.2s ease-in-out infinite alternate; }
@keyframes hf-denkt { from { opacity: .5; } to { opacity: 1; } }
.hf-msg-rest { color: var(--hf-quiet); font-size: 12px; }
.hf-msg-fb { display: flex; align-items: center; gap: 4px; color: var(--hf-muted); font-size: 13px; }
.hf-msg-fb .hf-ibtn { width: 40px; height: 40px; }
.hf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-chipbtn { min-height: 40px; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--hf-line-2); background: var(--hf-panel); color: var(--hf-text); font: 600 14px/1.25 var(--hf-font); text-align: left; cursor: pointer; }
.hf-chipbtn:hover { border-color: var(--hf-line-hover); background: var(--hf-panel-3); }
.hf-chipbtn.primary { background: var(--hf-accent); border-color: var(--hf-accent); color: var(--hf-ink); }
.hf-chat-in { display: flex; gap: 8px; align-items: flex-end; width: 100%; }
.hf-chat-in textarea { flex: 1; min-width: 0; min-height: 46px; max-height: 120px; padding: 11px 12px; resize: none; border-radius: 10px; border: 1px solid var(--hf-line-2); background: var(--hf-panel-2); color: var(--hf-text); font: 16px/1.4 var(--hf-font); }
.hf-chat-in textarea:focus { outline: 2px solid var(--hf-accent); outline-offset: 1px; }
.hf-chat-in .hf-btn { min-height: 46px; }
@media (prefers-reduced-motion: reduce) { .hf-msg-denkt { animation: none; } }

/* Bilder und Mikroanimationen in Artikeln (medien.js) */
.hf-fig { position: relative; margin: 4px 0; display: grid; gap: 6px; min-width: 0; }
.hf-fig-pic { position: relative; display: block; width: 100%; padding: 0; overflow: hidden; border-radius: 12px; border: 1px solid var(--hf-line-2); background: var(--hf-panel-2); cursor: zoom-in; }
.hf-fig-pic:hover { border-color: var(--hf-line-hover); }
.hf-fig-pic img, .hf-fig-pic video { display: block; width: 100%; height: 100%; object-fit: contain; }
.hf-fig-zoom { position: absolute; right: 8px; bottom: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 9, 12, .72); color: var(--hf-text); opacity: 0; transition: opacity .15s; }
.hf-fig-pic:hover .hf-fig-zoom, .hf-fig-pic:focus-visible .hf-fig-zoom { opacity: 1; }
.hf-fig figcaption { color: var(--hf-muted); font-size: 13px; line-height: 1.4; }
.hf-fig-play { position: absolute; left: 8px; top: 8px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(8, 9, 12, .72); color: var(--hf-text); cursor: pointer; }
.hf-fig-play:hover { background: var(--hf-accent); color: var(--hf-ink); }
dialog.hf-lupe { margin: auto; padding: 12px; width: min(1400px, 96vw); max-height: 96dvh; border: 1px solid var(--hf-line-2); border-radius: 14px; background: var(--hf-panel); color: var(--hf-text); font-family: var(--hf-font); overflow: auto; }
dialog.hf-lupe::backdrop { background: rgba(0, 0, 0, .78); }
.hf-lupe > .hf-ibtn { position: absolute; right: 18px; top: 18px; z-index: 1; background: rgba(8, 9, 12, .72); }
.hf-lupe-in img, .hf-lupe-in video { display: block; width: 100%; max-height: calc(96dvh - 80px); object-fit: contain; border-radius: 8px; }
.hf-lupe p { margin: 10px 4px 2px; color: var(--hf-muted); font-size: 14px; }
@media (max-width: 640px) {   /* Handy: querformatige Bilder wirklich größer, seitlich schieben; sonst wären sie kleiner als im Artikel */
  .hf-lupe-in.breit { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 8px; }
  .hf-lupe-in.breit img { width: 240%; max-width: none; max-height: none; }
}
.hf-video { margin: 0; display: grid; gap: 6px; }
.hf-video video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--hf-line); background: #000; display: block; }
.hf-video figcaption { display: inline-flex; align-items: center; gap: 6px; color: var(--hf-muted); font-size: 13px; font-weight: 600; }
.hf-vwahl { display: grid; gap: 8px; }
.hf-vlist { display: flex; flex-wrap: wrap; gap: 6px; }
.hf-vpick { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 12px 4px 4px; border-radius: 10px; border: 1px solid var(--hf-line-2); background: var(--hf-panel); color: var(--hf-text); font: 600 13px/1.2 var(--hf-font); text-align: left; cursor: pointer; }
.hf-vpick:hover { border-color: var(--hf-line-hover); background: var(--hf-panel-3); }
.hf-vpick.on { border-color: var(--hf-accent); }
.hf-vpick img { width: 60px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; display: block; }
.hf-video video::cue { font: 600 15px/1.35 var(--hf-font); background: rgba(8, 9, 12, .82); color: #fff; }
.hc-news-pic { position: relative; display: block; margin: -18px -18px 4px; border-radius: 14px 14px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.hc-news-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 176, 32, .92); color: var(--hf-ink); font-size: 20px; padding-left: 3px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); }
/* „Zeig mir, wo“: Ring um die Stelle, Rest abgedunkelt */
.hf-spot {
  position: fixed; z-index: 2147483000; pointer-events: none; border-radius: 12px; border: 3px solid var(--hf-accent);
  box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5), 0 0 22px 4px rgba(255, 176, 32, .6); animation: hf-spot 1.3s ease-in-out infinite;
}
.hf-spot span {
  position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%); white-space: nowrap; padding: 8px 12px;
  border-radius: 9px; background: var(--hf-accent); color: var(--hf-ink); font: 700 14px/1 var(--hf-font); box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.hf-spot.is-up span { top: auto; bottom: calc(100% + 10px); }
@keyframes hf-spot { 50% { box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5), 0 0 34px 10px rgba(255, 176, 32, .35); } }
@media (prefers-reduced-motion: reduce) { .hf-spot { animation: none; } }

/* ------------------------------------------------------------------ Formular „Rückmeldung“ */
.hf-form { display: grid; gap: 14px; }
.hf-kind { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; border-radius: 12px; background: var(--hf-bg); border: 1px solid var(--hf-line); }
.hf-kind button {
  min-height: 44px; border-radius: 9px; border: 0; background: none; color: var(--hf-muted); font: 600 14px/1.1 var(--hf-font);
  cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0 6px;
}
.hf-kind button:hover { color: var(--hf-text); }
.hf-kind button[aria-pressed="true"] { background: var(--hf-panel-3); color: var(--hf-text); box-shadow: inset 0 0 0 1px var(--hf-line-2); }
.hf-kind button[aria-pressed="true"] svg { color: var(--hf-accent); }
.hf-f { display: grid; gap: 6px; font-size: 14px; color: var(--hf-muted); font-weight: 600; }
.hf-f small { font-weight: 400; color: var(--hf-quiet); }
.hf-f input[type="text"], .hf-f input[type="email"], .hf-f textarea {
  width: 100%; min-height: 48px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--hf-line-2); background: var(--hf-panel-2);
  color: var(--hf-text); font: 400 15px/1.45 var(--hf-font);
}
.hf-f textarea { min-height: 132px; padding: 12px 14px; resize: vertical; }
.hf-f input:focus, .hf-f textarea:focus { border-color: var(--hf-accent); outline: none; }
.hf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.hf-suggest { display: grid; gap: 6px; padding: 10px 12px; border-radius: 12px; border: 1px dashed var(--hf-line-2); }
.hf-suggest > b { font-size: 13px; color: var(--hf-muted); }
.hf-shot { display: grid; gap: 10px; padding: 12px; border-radius: 12px; border: 1px dashed var(--hf-line-2); background: var(--hf-bg); }
.hf-shot.is-drag { border-color: var(--hf-accent); background: #1d1709; }
.hf-shot-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hf-shot-row .hf-btn { flex: 1 1 auto; }
.hf-thumb { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--hf-line); background: #000; cursor: zoom-in; }
.hf-thumb img { display: block; width: 100%; max-height: 220px; object-fit: contain; }
.hf-thumb .hf-badge { position: absolute; left: 8px; top: 8px; background: rgba(8, 9, 12, .85); border: 1px solid var(--hf-line); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; color: var(--hf-text); }
.hf-busy { display: flex; align-items: center; gap: 10px; color: var(--hf-muted); font-size: 14px; }
.hf-busy::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--hf-line-2); border-top-color: var(--hf-accent); animation: hf-spin .8s linear infinite; }
@keyframes hf-spin { to { transform: rotate(360deg); } }
.hf-check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--hf-muted); }
.hf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--hf-accent); }
.hf-tech { font-size: 13px; color: var(--hf-muted); }
.hf-tech summary { cursor: pointer; color: var(--hf-accent); font-weight: 600; min-height: 32px; display: flex; align-items: center; }
.hf-tech pre { margin: 6px 0 0; padding: 10px; border-radius: 9px; background: var(--hf-bg); border: 1px solid var(--hf-line); font: 12px/1.45 var(--hf-mono); white-space: pre-wrap; word-break: break-word; max-height: 220px; overflow: auto; color: #c9cdd6; }
.hf-msg { border-radius: 10px; padding: 10px 12px; font-size: 14px; border: 1px solid; white-space: pre-line; }
.hf-msg.ok { background: #10241a; border-color: #1f5a3a; color: #9fe9bf; }
.hf-msg.bad { background: #2a1214; border-color: #5a2224; color: #ffb0b2; }
.hf-msg.info { background: #121a24; border-color: #233448; color: #bcd3ee; }
.hf-foot { display: flex; gap: 8px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--hf-line); flex: none; background: var(--hf-panel); }
.hf-foot .hf-sp { flex: 1; }
.hf-done { display: grid; gap: 14px; justify-items: start; padding: 8px 0; }
.hf-done .hf-big { width: 56px; height: 56px; border-radius: 50%; background: #10241a; color: var(--hf-ok); display: grid; place-items: center; }
.hf-done h3 { margin: 0; font-size: 20px; }
.hf-done p { margin: 0; color: #c9cdd6; }

/* ------------------------------------------------------------------ Markieren (Bildschirmfoto bearbeiten) */
.hf-anno { position: fixed; inset: 0; z-index: 2147483000; background: rgba(5, 6, 8, .94); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; color: var(--hf-text); font: 15px/1.4 var(--hf-font); }
dialog.hf-anno { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; }
dialog.hf-anno:not([open]) { display: none; }
dialog.hf-anno::backdrop { background: transparent; }
.hf-anno-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--hf-line); background: var(--hf-panel); }
.hf-anno-bar b { margin-right: auto; font-size: 16px; }
.hf-tools { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--hf-bg); border: 1px solid var(--hf-line); }
.hf-tools button { min-height: 40px; padding: 0 12px; border-radius: 9px; border: 0; background: none; color: var(--hf-muted); font: 600 14px var(--hf-font); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.hf-tools button[aria-pressed="true"] { background: var(--hf-panel-3); color: var(--hf-text); box-shadow: inset 0 0 0 1px var(--hf-line-2); }
.hf-anno-stage { display: grid; place-items: center; overflow: hidden; padding: 14px; min-height: 0; }
.hf-anno-stage canvas { border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .6); cursor: crosshair; touch-action: none; background: #000; }
.hf-anno-hint { padding: 8px 14px 12px; text-align: center; color: var(--hf-muted); font-size: 13.5px; }

/* ------------------------------------------------------------------ Hilfe-Center (hilfe.html) */
.hc { min-height: 100vh; background: var(--hf-bg); color: var(--hf-text); font: 16px/1.55 var(--hf-font); }
.hc-head { position: sticky; top: 0; z-index: 20; background: var(--hf-panel); border-bottom: 1px solid var(--hf-line); }
.hc-head .hc-wrap { display: flex; align-items: center; gap: 14px; min-height: 60px; flex-wrap: wrap; }
.hc-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.hc-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--hf-text); text-decoration: none; }
.hc-brand .hc-mark { width: 24px; height: 24px; flex: none; background: url("marke/droplit-symbol.svg") center / contain no-repeat; }
.hc-brand .brand-word { display: block; height: 18px; width: auto; }
.hc-brand small { color: var(--hf-muted); font-weight: 600; }
.hc-brand small::before { content: "· "; }
.hc-head .hc-sp { flex: 1; }
.hc-nav { display: flex; gap: 6px; flex-wrap: wrap; }
.hc-band { border-bottom: 1px solid var(--hf-line); background: linear-gradient(180deg, #111318, #0b0c10); }
.hc-band .hc-wrap { padding-top: 34px; padding-bottom: 30px; display: grid; gap: 14px; }
.hc-band h1 { margin: 0; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.01em; }
.hc-band h1 em { font-style: normal; color: var(--hf-accent); }
.hc-band p { margin: 0; color: var(--hf-muted); max-width: 46em; }
.hc-band .hf-search { max-width: 720px; }
.hc-band .hf-search input { min-height: 58px; font-size: 17px; }
.hc-drop { position: relative; max-width: 720px; }
.hc-drop .hf-res { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 30; background: var(--hf-panel); border: 1px solid var(--hf-line-2); border-radius: 14px; padding: 6px; box-shadow: 0 18px 40px rgba(0, 0, 0, .55); max-height: 60vh; overflow: auto; }
.hc-drop .hf-res[hidden] { display: none; }
.hc-pop { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hc-pop span { color: var(--hf-muted); font-size: 14px; }
.hc-chip { min-height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--hf-line-2); background: var(--hf-panel-2); color: var(--hf-text); font: 500 14px var(--hf-font); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.hc-chip:hover { border-color: var(--hf-accent); }
.hc-main { display: flex; gap: 32px; align-items: flex-start; padding-top: 26px; padding-bottom: 64px; }
.hc-side { width: 270px; flex: none; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow: auto; display: grid; gap: 14px; }
.hc-toc { width: 210px; flex: none; position: sticky; top: 80px; display: grid; gap: 6px; font-size: 14px; }
.hc-toc b { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--hf-muted); }
.hc-toc a { color: var(--hf-muted); text-decoration: none; padding: 4px 0 4px 10px; border-left: 2px solid var(--hf-line); }
.hc-toc a:hover, .hc-toc a.on { color: var(--hf-text); border-left-color: var(--hf-accent); }
.hc-content { flex: 1; min-width: 0; display: grid; gap: 22px; }
.hc-chapters { display: grid; gap: 4px; }
.hc-chapters details > summary { list-style: none; }
.hc-chap {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px;
  border-radius: 10px; color: var(--hf-text); text-decoration: none; font-weight: 600; font-size: 15px;
}
.hc-chap:hover { background: var(--hf-panel-2); }
.hc-chap.on { background: var(--hf-text); color: var(--hf-bg); }
.hc-chap .hc-n { font-size: 12.5px; color: var(--hf-muted); font-weight: 600; }
.hc-chap.on .hc-n { color: #4a5263; }
.hc-chap svg { color: var(--hf-accent); }
.hc-chap.on svg { color: var(--hf-bg); }
.hc-sub { display: grid; gap: 2px; padding: 4px 0 8px 38px; }
.hc-sub a { color: var(--hf-muted); text-decoration: none; font-size: 14px; padding: 5px 8px; border-radius: 8px; }
.hc-sub a:hover { color: var(--hf-text); background: var(--hf-panel-2); }
.hc-sub a.on { color: var(--hf-accent); font-weight: 600; }
.hc-ask { display: grid; gap: 8px; padding: 14px; border-radius: 12px; background: var(--hf-panel); border: 1px solid var(--hf-line); font-size: 14px; }
.hc-ask b { font-size: 15px; }
.hc-ask p { margin: 0; color: var(--hf-muted); }
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hc-card { display: grid; gap: 8px; align-content: start; padding: 18px; border-radius: 14px; background: var(--hf-panel); border: 1px solid var(--hf-line); }
.hc-card h2 { margin: 0; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.hc-card h2 a { color: var(--hf-text); text-decoration: none; }
.hc-card h2 a:hover { color: var(--hf-accent); }
.hc-card h2 svg { color: var(--hf-accent); flex: none; }
.hc-card p { margin: 0; color: var(--hf-muted); font-size: 14.5px; }
.hc-card ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 2px; }
.hc-card li a { color: #c9cdd6; text-decoration: none; font-size: 14.5px; display: block; padding: 4px 0; }
.hc-card li a:hover { color: var(--hf-accent); }
.hc-card .hc-all { color: var(--hf-accent); text-decoration: none; font-weight: 600; font-size: 14px; }
.hc-crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--hf-muted); font-size: 14px; }
.hc-crumbs a { color: var(--hf-muted); text-decoration: none; }
.hc-crumbs a:hover { color: var(--hf-text); }
.hc .hf-art { max-width: 760px; gap: 16px; }
.hc .hf-art h1 { font-size: clamp(26px, 3.4vw, 34px); }
.hc .hf-art .hf-lead { font-size: 18px; }
.hc .hf-art h2 { font-size: 20px; margin-top: 18px; }
.hc .hf-art p, .hc .hf-art li { font-size: 16px; line-height: 1.6; }
.hc-list { display: grid; gap: 8px; max-width: 760px; }
.hc-list a { display: grid; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--hf-line); background: var(--hf-panel); text-decoration: none; color: var(--hf-text); }
.hc-list a:hover { border-color: var(--hf-line-hover); }
.hc-list a b { font-size: 16px; }
.hc-list a span { color: var(--hf-muted); font-size: 14.5px; }
.hc-foot { border-top: 1px solid var(--hf-line); padding: 24px 0 40px; color: var(--hf-muted); font-size: 14px; }
.hc-foot .hc-wrap { display: flex; flex-wrap: wrap; gap: 18px; }
.hc-foot a { color: var(--hf-muted); }
.hc-news-link .hc-fresh { color: var(--hf-ok); font-weight: 700; }
.hc-chap.on .hc-fresh { color: #1f7a4a; }
.hc-news-start { display: grid; gap: 12px; }
.hc-news-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px; }
.hc-news-head h2 { margin: 0; font-size: 20px; display: flex; align-items: center; gap: 10px; }
.hc-news-head h2 svg { color: var(--hf-accent); }
.hc-news-head .hc-all { color: var(--hf-accent); text-decoration: none; font-weight: 600; font-size: 14px; }
a.hc-news-card { text-decoration: none; color: var(--hf-text); border-color: var(--hf-line); }
a.hc-news-card:hover { border-color: var(--hf-line-hover); }
a.hc-news-card.is-new { border-color: #1f5a3a; }
a.hc-news-card b { font-size: 16.5px; line-height: 1.3; }
a.hc-news-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hc-list a.is-new { border-color: #1f5a3a; }
.hc-news-day { display: grid; gap: 10px; max-width: 760px; }
.hc .hf-art > .hf-btn { justify-self: start; }
.hc .hf-news-act { max-width: 760px; }
.hc-news-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; max-width: 760px; }
.hc-news-nav a { text-decoration: none; color: var(--hf-text); }
.hc-news-nav a:hover { border-color: var(--hf-line-hover); }
.hc-mob { display: none; }
.hc-ask-mob { display: none !important; }
.hc-band.is-compact .hc-wrap { padding-top: 18px; padding-bottom: 18px; }
.hc-band.is-compact h1, .hc-band.is-compact p, .hc-band.is-compact .hc-pop { display: none; }
@media (max-width: 1100px) {
  .hc-main { flex-direction: column; gap: 16px; }
  .hc-side { position: static; width: 100%; max-height: none; overflow: visible; }
  .hc-toc { display: none; }
  .hc-side .hc-chapters { display: none; }
  .hc-mob { display: block; }
  .hc-mob > summary { min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--hf-line); background: var(--hf-panel); cursor: pointer; font-weight: 600; }
  .hc-mob .hc-chapters { display: grid; padding-top: 8px; }
  .hc-side > .hc-ask { display: none; }
  .hc-ask-mob { display: grid !important; }
}
@media (max-width: 560px) { .hc-wrap { padding: 0 16px; } .hc-band .hc-wrap { padding-top: 24px; } }
