/* Hanware Business - gemeinsames Layout der Benutzerhandbuecher */
:root {
  --navy: #1b2f5b;
  --navy-hell: #e8edf6;
  --text: #1f2430;
  --grau: #5b6272;
  --linie: #d9dee8;
  --hinweis: #fff7e0;
  --hinweis-rand: #e0a400;
  --warnung: #fdecec;
  --warnung-rand: #c62828;
  --tipp: #e9f6ee;
  --tipp-rand: #2e7d4f;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: "Segoe UI", Arial, sans-serif; font-size: 15px; line-height: 1.55;
  color: var(--text); background: #f4f6fa;
}
header.kopf {
  background: #fff; border-bottom: 4px solid var(--navy);
  display: flex; align-items: center; gap: 24px; padding: 14px 32px; position: sticky; top: 0; z-index: 10;
}
header.kopf img { height: 44px; }
header.kopf .titel { font-size: 21px; font-weight: 600; color: var(--navy); }
header.kopf .untertitel { font-size: 13px; color: var(--grau); }
header.kopf .rechts { margin-left: auto; font-size: 13px; color: var(--grau); text-align: right; }
.rahmen { display: grid; grid-template-columns: 260px minmax(0, 1fr); max-width: 1500px; margin: 0 auto; }
nav.inhalt {
  position: sticky; top: 76px; align-self: start; max-height: calc(100vh - 76px); overflow-y: auto;
  padding: 24px 12px 24px 24px; font-size: 14px;
}
nav.inhalt h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--grau); margin: 0 0 8px; }
nav.inhalt a { display: block; padding: 4px 10px; border-radius: 6px; color: var(--text); text-decoration: none; }
nav.inhalt a:hover { background: var(--navy-hell); color: var(--navy); }
nav.inhalt a.unter { padding-left: 24px; font-size: 13px; color: var(--grau); }
main { padding: 24px 32px 64px; min-width: 0; }
section { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 22px 28px; margin-bottom: 22px; }
h1 { color: var(--navy); font-size: 28px; margin: 0 0 6px; }
h2 { color: var(--navy); font-size: 21px; margin: 0 0 12px; padding-bottom: 6px; border-bottom: 1px solid var(--linie); }
h3 { color: var(--navy); font-size: 17px; margin: 22px 0 8px; }
p { margin: 8px 0; }
.lead { font-size: 16px; color: var(--grau); }
figure { margin: 14px 0; }
figure img { max-width: 100%; border: 1px solid var(--linie); border-radius: 6px; box-shadow: 0 2px 8px rgba(20,30,60,.08); }
figure.klein img { max-width: 520px; }
figcaption { font-size: 13px; color: var(--grau); margin-top: 6px; }
.bildscroll { overflow-x: auto; }
.bildscroll img { max-width: none; height: auto; }
table { border-collapse: collapse; width: 100%; margin: 10px 0; font-size: 14px; }
th, td { border: 1px solid var(--linie); padding: 6px 10px; text-align: left; vertical-align: top; }
th { background: var(--navy-hell); color: var(--navy); font-weight: 600; }
td.nr { width: 42px; text-align: center; font-weight: 700; color: #fff; background: #d62828; }
.tabelle-scroll { overflow-x: auto; }
kbd { font-family: Consolas, monospace; font-size: 13px; background: #fff; border: 1px solid #b9c0cc; border-bottom-width: 2px; border-radius: 4px; padding: 1px 6px; }
code { font-family: Consolas, monospace; font-size: 13px; background: #eef1f6; padding: 1px 5px; border-radius: 4px; }
.kasten { border-left: 5px solid; border-radius: 6px; padding: 10px 16px; margin: 12px 0; }
.kasten > strong:first-child { display: block; margin-bottom: 2px; }
.hinweis { background: var(--hinweis); border-color: var(--hinweis-rand); }
.warnung { background: var(--warnung); border-color: var(--warnung-rand); }
.tipp { background: var(--tipp); border-color: var(--tipp-rand); }
.farbe { display: inline-block; width: 14px; height: 14px; border: 1px solid #999; vertical-align: -2px; margin-right: 6px; border-radius: 2px; }
.btn { display: inline-block; padding: 2px 8px; border-radius: 3px; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; }
ol.schritte { counter-reset: s; list-style: none; padding-left: 0; }
ol.schritte > li { counter-increment: s; position: relative; padding: 6px 0 6px 44px; }
ol.schritte > li::before {
  content: counter(s); position: absolute; left: 0; top: 4px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.dialog { background: #fff; border: 1px solid #9aa3b5; border-radius: 4px; max-width: 560px; font-size: 13px; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.dialog .dkopf { background: #e9edf4; padding: 4px 10px; font-size: 12px; border-bottom: 1px solid #c7cedb; }
.dialog .dinhalt { padding: 12px 16px; white-space: pre-line; }
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.karte { background: #fff; border: 1px solid var(--linie); border-radius: 10px; padding: 18px; text-decoration: none; color: var(--text); }
.karte:hover { border-color: var(--navy); box-shadow: 0 2px 10px rgba(27,47,91,.15); }
.karte h3 { margin: 0 0 6px; }
footer { text-align: center; color: var(--grau); font-size: 12px; padding: 20px; }
.aktion { border: 1px solid var(--linie); border-radius: 8px; margin: 18px 0; overflow: hidden; }
.aktion > h3 { margin: 0; padding: 10px 16px; background: var(--navy-hell); display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.aktion > .inhalt { padding: 6px 16px 12px; }
.aktion table.eigenschaften th { width: 150px; background: #f6f8fb; }
.aktion figure img { box-shadow: none; }
.formel { font-family: Consolas, monospace; font-size: 13px; background: #f3f5f9; border: 1px solid var(--linie); border-radius: 6px; padding: 8px 12px; margin: 8px 0; white-space: pre-wrap; }
.marke { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #d62828; color: #fff; font-weight: 700; font-size: 13px; }
.spalte-edit { background: #fff3c4; font-weight: 600; }
.stempel { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; color: #fff; background: #c62828; vertical-align: middle; }
.stempel.gruen { background: #2e7d4f; }
@media (max-width: 900px) {
  .rahmen { grid-template-columns: 1fr; }
  nav.inhalt { position: static; max-height: none; }
  header.kopf { position: static; }
}
@media print {
  header.kopf, nav.inhalt { position: static; }
  .rahmen { grid-template-columns: 1fr; }
  nav.inhalt { display: none; }
  section { break-inside: avoid-page; }
}

/* FIX 2026-09-30 14:35 Hanware Business (Schulungsvideos): Verweis vom Handbuch auf das Schulungsvideo
   (liegt unter Hilfe/<Thema>/videos/, ein Klick oeffnet das Video) */
/* FIX 2026-10-06 01:00 Hanware Business (Anwender-Vorgabe 06.10.2026 "modernes Label oder Button", Website-Session): Kasten als
   Knopf - blauer Verlauf am Abspielsymbol, Marke "Schulungsvideo", Pfeil rechts, hebt sich beim Ueberfahren; Markup unveraendert. */
.videolink { display: inline-flex; max-width: 100%; align-items: center; gap: 14px; margin: 14px 0; padding: 12px 20px 12px 14px;
             border: 1px solid #c7d4ea; border-radius: 14px; background: linear-gradient(135deg, #f3f7fd, #e7eefa); color: #1b2f5b;
             text-decoration: none; box-shadow: 0 1px 2px rgba(15, 30, 61, .06), 0 4px 14px rgba(15, 30, 61, .07);
             transition: transform .18s, box-shadow .18s, border-color .18s; position: relative; }
.videolink:hover { transform: translateY(-2px); border-color: #2563eb; box-shadow: 0 8px 22px rgba(15, 30, 61, .14); color: #1b2f5b; }
.videolink .spiel { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, #2563eb, #1e3a5f);
                    position: relative; box-shadow: 0 4px 12px rgba(37, 99, 235, .35); }
.videolink .spiel::after { content: ""; position: absolute; left: 18px; top: 13px; border-style: solid; border-width: 10px 0 10px 16px;
                           border-color: transparent transparent transparent #fff; }
.videolink > span:last-of-type { display: block; min-width: 0; padding-right: 22px; }
.videolink b { display: block; font-size: 16px; line-height: 1.25; color: #1e3a5f; }
.videolink span.t { font-size: 13px; color: #475569; display: block; }
.videolink::after { content: "\203A"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 26px; line-height: 1; color: #2563eb; transition: transform .18s; }
.videolink:hover::after { transform: translate(3px, -50%); }
@media print { .videolink { display: none; } }

/* FIX 2026-10-13 18:30 Hanware (Handbuch Premium-Analysen, Pruefung bei 390 px): Kopf am Handy umbrechen - "Stand / Alle Handbuecher" machte die Seite breiter als den Bildschirm */
@media (max-width: 600px) {
  header.kopf { flex-wrap: wrap; }
  header.kopf .rechts { margin-left: 0; text-align: left; width: 100%; }
}
