/* =========================================================================
   Human Vista · NIS-2-Schutzschild — erklärende Zeichnungen
   -------------------------------------------------------------------------
   Warum eine eigene Datei und nicht loesung-premium.css: das Premium-CSS
   liegt unter VIER Branchenlösungs-Seiten. Alles, was hier steht, gilt nur
   für /nis2-schutzschild/. Und warum nicht sections/nis2.css: die Datei
   wird von keiner einzigen Seite geladen, sie ist ein Überbleibsel.
   Wer hier etwas anfasst, fasst genau eine Seite an.

   Diese Datei wird als LETZTE eingebunden. Das ist Absicht: loesung-premium
   .css macht aus jedem .step, .stake, .side eine Karte mit Radius, Schatten,
   Hover-Hub und Maus-Spotlight. Die Zeichnungen hier sollen gezeichnet
   aussehen, nicht gekachelt — sie tragen deshalb eigene Klassen und erben
   nichts davon.

   Bewegung: ein einziger Laufbalken, 11 s, linear, in der Prüfstrecke.
   Sonst nichts. Die Seite hat im Kopf bereits ein globales
   prefers-reduced-motion-!important; der Block am Ende ist trotzdem da,
   damit die Datei für sich allein korrekt bleibt.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1 — DIE PRÜFSTRECKE
   Die sechs Prüfbereiche standen bisher als Fließtext in Position 01 der
   Leistungsliste: "Identitäten, Zugriffe, Freigaben, Konfiguration,
   Datenflüsse, Schutzmechanismen". Sechs Substantive hintereinander, die
   ein Geschäftsführer nicht auseinanderhalten kann und auch nicht muss.
   Hier bekommt jeder Bereich die Frage, die er beantwortet — und alle sechs
   hängen an einer Achse, weil es eine Prüfung ist und nicht sechs.
   ------------------------------------------------------------------------- */
/* Derselbe Kopf-zu-Inhalt-Abstand, den loesung-premium.css seitenweit auf
   .steps, .offer-grid, .fit-grid legt: clamp(44px, 5.5vw, 72px). Meine
   erste Fassung stand auf 34–52 und saß damit als einziger Block der Seite
   zu dicht unter dem Lede. Das sieht man nicht als Zahl, aber man sieht,
   dass eine Zeile nicht mitläuft. */
.hv-n2-scan {
  margin: clamp(44px, 5.5vw, 72px) 0 0;
}

/* Der Messstreifen über der Achse. Die Teilung sitzt auf Sechsteln, also
   genau auf den Spaltenkanten darunter; die feine Teilung auf Vierundzwan-
   zigsteln. Das ist kein Muster aus der Tapete, das ist der Maßstab. */
.hv-n2-scan-rail {
  position: relative;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(46, 140, 116, .30);
  border-bottom: 0;
  background-color: rgba(46, 140, 116, .055);
  background-image:
    linear-gradient(90deg, rgba(46, 140, 116, .30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 140, 116, .15) 1px, transparent 1px);
  background-size: calc(100% / 6) 100%, calc(100% / 24) 100%;
}

/* Der Laufbalken. Vierzehn Prozent breit, Weg also 114 % der Schiene, das
   sind 814 % der eigenen Breite — deshalb -100 % bis 714 %. Damit stimmt
   der Lauf bei jeder Fensterbreite ohne zweite Rechnung. */
.hv-n2-scan-sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 14%;
  background: linear-gradient(90deg,
    rgba(46, 140, 116, 0) 0%,
    rgba(46, 140, 116, .10) 30%,
    rgba(46, 140, 116, .26) 46%,
    rgba(46, 140, 116, .44) 50%,
    rgba(46, 140, 116, .20) 56%,
    rgba(46, 140, 116, 0) 100%);
  animation: hvN2Sweep 11s linear infinite;
}
.hv-n2-scan-sweep::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(23, 89, 75, .70);
}
@keyframes hvN2Sweep {
  from { transform: translateX(-100%); }
  to   { transform: translateX(714%); }
}

/* Die Achse selbst ist die Oberkante dieser Liste.

   minmax(0,1fr), nicht 1fr. Mit 1fr kann eine Spalte nicht unter ihre
   min-content-Breite schrumpfen, und "Schutzmechanismen" ist als ein Wort
   breiter als ein Sechstel des Satzes. Die sechste Spalte wurde dadurch
   12 px breiter als die anderen — und weil die Teilung der Messschiene
   darüber auf exakten Sechsteln sitzt, standen Marke und Spalte am rechten
   Ende nicht mehr übereinander. In einer Zeichnung, die Maßstab behauptet,
   ist das kein Schönheitsfehler. Schriftgrad und Polster unten sind so
   gesetzt, dass das Wort in das feste Sechstel passt. */
.hv-n2-scan-list {
  position: relative;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid rgba(46, 140, 116, .45);
  margin: 0;
  padding: 0;
}
/* Schlussmarke am rechten Achsenende, damit die Strecke einen Anfang und
   ein Ende hat und nicht einfach ausläuft. */
.hv-n2-scan-list::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 11px;
  background: rgba(46, 140, 116, .45);
}

.hv-n2-scan-item {
  position: relative;
  padding: 17px 13px 4px 0;
}
.hv-n2-scan-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 11px;
  background: rgba(46, 140, 116, .45);
}
.hv-n2-scan-item + .hv-n2-scan-item { padding-left: 13px; }

.hv-n2-scan-no {
  display: block;
  font-weight: 700;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  color: var(--gold-deep, #17594B);
  opacity: .62;
}
.hv-n2-scan-ic {
  display: block;
  margin: 9px 0 10px;
  color: var(--gold-deep, #17594B);
}
.hv-n2-scan-nm {
  display: block;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.25;
  color: var(--ink, #10312B);
}
.hv-n2-scan-q {
  display: block;
  margin-top: 5px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-soft, #3D5C54);
}

/* Die Leserichtung. Ein Pfeil, eine Richtung — das ist die ganze Aussage
   des Satzes "reine Lese-Prüfung", und als Satz hat ihn bisher niemand
   geglaubt, weil er wie eine Beteuerung klingt. */
.hv-n2-scan-cap {
  margin-top: 26px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft, #3D5C54);
  max-width: 760px;
}
.hv-n2-scan-flow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.hv-n2-scan-node {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ink, #10312B);
  border: 1px solid rgba(17, 58, 51, .18);
  padding: 7px 13px;
}
.hv-n2-scan-node--out {
  border-color: rgba(46, 140, 116, .45);
  color: var(--gold-deep, #17594B);
}
.hv-n2-scan-arrow {
  position: relative;
  flex: 1 1 90px;
  min-width: 90px;
  max-width: 210px;
  height: 1px;
  background: repeating-linear-gradient(90deg,
    rgba(46, 140, 116, .55) 0 5px, transparent 5px 10px);
}
.hv-n2-scan-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid rgba(46, 140, 116, .75);
  border-right: 1px solid rgba(46, 140, 116, .75);
  transform: translate(1px, -50%) rotate(45deg);
}
.hv-n2-scan-arrow b {
  position: absolute;
  left: 50%;
  bottom: 5px;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--gold-deep, #17594B);
  background: var(--paper, #F2F8F5);
  padding: 0 7px;
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   2 — DIE ZEITACHSE
   Ersetzt die drei Ablauf-Kacheln. Der Inhalt ist derselbe, die Form ist
   eine Bemaßung: obere Linie zehn Werktage, Marken an Tag 0, Tag 1–2 und
   Werktag 10, darunter die drei Stationen, ganz unten der Aufwandsbalken.
   Der ist maßstäblich zur oberen Linie gerechnet: 30 Minuten von zehn
   Werktagen à acht Stunden sind 0,625 %. Er ist deshalb ein Strich. Genau
   das soll man sehen.
   ------------------------------------------------------------------------- */
.hv-n2-axis {
  margin: clamp(44px, 5.5vw, 72px) 0 0;
}

.hv-n2-axis-bar {
  position: relative;
  height: 1px;
  margin: 34px 0 0;
  background: rgba(46, 140, 116, .45);
}
/* Endmarken links und rechts, wie die Maßhilfslinien einer Zeichnung. */
.hv-n2-axis-bar::before,
.hv-n2-axis-bar::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 13px;
  background: rgba(46, 140, 116, .55);
}
.hv-n2-axis-bar::before { left: 0; }
.hv-n2-axis-bar::after  { right: 0; }

.hv-n2-axis-span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper, #F2F8F5);
  padding: 0 14px;
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: .02em;
  color: var(--gold-deep, #17594B);
  white-space: nowrap;
}

.hv-n2-axis-mark {
  position: absolute;
  left: var(--at, 0%);
  top: 0;
}
.hv-n2-axis-mark i {
  position: absolute;
  left: 0;
  bottom: 1px;
  width: 1px;
  height: 15px;
  background: rgba(46, 140, 116, .55);
}
.hv-n2-axis-mark b {
  position: absolute;
  left: 0;
  bottom: 20px;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 11.5px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-soft, #3D5C54);
  white-space: nowrap;
}
/* Erste und letzte Marke würden sonst über die Satzkante hinausragen. */
.hv-n2-axis-mark--start b { transform: translateX(0); }
.hv-n2-axis-mark--end   b { transform: translateX(-100%); }

.hv-n2-axis-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
}
.hv-n2-axis-step {
  position: relative;
  padding: 22px 26px 0 0;
}
.hv-n2-axis-step + .hv-n2-axis-step {
  padding-left: 26px;
  border-left: 1px solid rgba(17, 58, 51, .12);
}
.hv-n2-axis-no {
  display: block;
  font-weight: 700;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .06em;
  color: var(--gold-deep, #17594B);
  opacity: .62;
}
.hv-n2-axis-step h3 {
  font-family: 'Nunito', 'Segoe UI', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.22;
  letter-spacing: -.015em;
  color: var(--ink, #10312B);
  margin: 7px 0 8px;
  text-align: left;
}
.hv-n2-axis-step p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft, #3D5C54);
  margin: 0;
}
.hv-n2-axis-dur {
  display: block;
  margin-top: 13px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--gold-deep, #17594B);
}

/* Der Aufwandsbalken. Dieselbe Strecke, derselbe Nullpunkt, derselbe
   Maßstab — nur ist der eingezeichnete Wert 0,625 % lang. min-width hält
   ihn auf schmalen Geräten sichtbar; drei Pixel sind hier keine Schummelei,
   sondern die Untergrenze dessen, was ein Display noch zeichnen kann. */
.hv-n2-axis-effort {
  margin-top: clamp(34px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px dashed rgba(17, 58, 51, .16);
}
.hv-n2-axis-effort-head {
  margin: 0 0 30px;
  font-weight: 700;
  font-size: 12.5px;
  color: var(--ink-soft, #3D5C54);
}
/* Die untere Linie muss genauso deutlich sein wie die obere, sonst hat der
   eingezeichnete Strich nichts, woran er sich messen ließe — und dann ist
   die ganze Zeichnung sinnlos. */
.hv-n2-axis-effort-bar {
  position: relative;
  display: block;
  height: 1px;
  background: rgba(17, 58, 51, .30);
}
.hv-n2-axis-effort-bar::before,
.hv-n2-axis-effort-bar::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 1px;
  height: 13px;
  background: rgba(17, 58, 51, .38);
}
.hv-n2-axis-effort-bar::before { left: 0; }
.hv-n2-axis-effort-bar::after  { right: 0; }
.hv-n2-axis-effort-bar i {
  position: absolute;
  left: 0;
  top: -6px;
  width: .625%;
  min-width: 3px;
  height: 13px;
  background: var(--gold, #2E8C74);
}
/* Auszugslinie: waagerecht vom Strich weg zur Beschriftung, weil an der
   Stelle selbst kein Wort Platz hat. Genau so steht es in jeder Zeichnung,
   in der eine Maßzahl nicht mehr zwischen die Maßhilfslinien passt. */
.hv-n2-axis-effort-bar u {
  position: absolute;
  left: .625%;
  top: -6px;
  width: 46px;
  height: 1px;
  background: rgba(46, 140, 116, .65);
  text-decoration: none;
}
.hv-n2-axis-effort-bar b {
  position: absolute;
  left: calc(.625% + 54px);
  top: -6px;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 12px;
  color: var(--gold-deep, #17594B);
  white-space: nowrap;
}
.hv-n2-axis-effort-tx {
  margin: 20px 0 0;
  padding-left: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-soft, #3D5C54);
  max-width: 700px;
}
.hv-n2-axis-effort-tx b {
  color: var(--gold-deep, #17594B);
  font-weight: 700;
}

/* -------------------------------------------------------------------------
   3 — DIE WEGGABELUNG
   Steht in der Findings-Garantie und zeichnet den Satz "Es gibt keinen
   Ausgang dieses Audits, bei dem Sie verlieren". Beide Äste sind gleich
   stark gezeichnet und tragen dieselbe Farbe. Das ist die Aussage; ein
   grüner und ein roter Ast wäre das Gegenteil davon.
   Kein eigener Hintergrund, kein Rahmen — sonst wäre es eine Karte in
   einer Karte.
   ------------------------------------------------------------------------- */
.hv-n2-fork {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px dashed rgba(23, 89, 75, .28);
}
.g-box .hv-n2-fork-root {
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #10312B);
  text-align: center;
}
.hv-n2-fork-y {
  position: relative;
  display: block;
  height: 34px;
}
.hv-n2-fork-y span {
  position: absolute;
  background: rgba(23, 89, 75, .42);
}
.hv-n2-fork-stem { left: 50%; top: 0; width: 1px; height: 15px; }
.hv-n2-fork-cross { left: 25%; right: 25%; top: 15px; height: 1px; }
.hv-n2-fork-leg { top: 15px; width: 1px; height: 19px; }
.hv-n2-fork-leg--l { left: 25%; }
.hv-n2-fork-leg--r { left: 75%; }
.hv-n2-fork-leg::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: 6px;
  height: 6px;
  border-right: 1px solid rgba(23, 89, 75, .6);
  border-bottom: 1px solid rgba(23, 89, 75, .6);
  transform: translateX(-50%) rotate(45deg);
  background: none;
}
.hv-n2-fork-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 8px;
}
.hv-n2-fork-col + .hv-n2-fork-col {
  padding-left: 18px;
  border-left: 1px solid rgba(23, 89, 75, .22);
}
.hv-n2-fork-col b {
  display: block;
  font-weight: 700;
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--gold-deep, #17594B);
  margin-bottom: 5px;
}
.hv-n2-fork-col span {
  display: block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-soft, #3D5C54);
}
.g-box .hv-n2-fork-foot {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(23, 89, 75, .28);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink, #10312B);
  text-align: center;
}

/* =========================================================================
   BREITEN
   ========================================================================= */

/* Tablet: die Prüfstrecke auf drei Spalten, die Teilung der Schiene wandert
   mit — sonst stünden die Marken neben den Spalten statt auf ihnen. */
@media (max-width: 1000px) {
  .hv-n2-scan-rail {
    height: 44px;
    background-size: calc(100% / 3) 100%, calc(100% / 12) 100%;
  }
  .hv-n2-scan-list { grid-template-columns: repeat(3, 1fr); }
  .hv-n2-scan-item:nth-child(n+4) {
    margin-top: 16px;
    padding-top: 17px;
    border-top: 1px solid rgba(46, 140, 116, .30);
  }
}

@media (max-width: 860px) {
  .hv-n2-axis-steps { grid-template-columns: 1fr; }
  .hv-n2-axis-step {
    padding: 20px 0 0;
  }
  .hv-n2-axis-step + .hv-n2-axis-step {
    padding-left: 0;
    padding-top: 20px;
    margin-top: 20px;
    border-left: 0;
    border-top: 1px solid rgba(17, 58, 51, .12);
  }
  /* Die drei Marken auf der oberen Linie hätten hier keinen Platz mehr und
     würden übereinanderfallen. Die Zeitangaben stehen ohnehin in jeder
     Station; die Strecke und ihre Gesamtdauer bleiben stehen. */
  .hv-n2-axis-mark { display: none; }
  .hv-n2-axis-bar { margin-top: 8px; }
}

@media (max-width: 700px) {
  .hv-n2-scan-rail {
    height: 38px;
    background-size: 50% 100%, calc(100% / 8) 100%;
  }
  .hv-n2-scan-list { grid-template-columns: repeat(2, 1fr); }
  .hv-n2-scan-item { padding: 15px 12px 4px 0; }
  .hv-n2-scan-item + .hv-n2-scan-item { padding-left: 12px; }
  .hv-n2-scan-item:nth-child(n+4) {
    margin-top: 0;
    padding-top: 15px;
    border-top: 0;
  }
  .hv-n2-scan-item:nth-child(n+3) {
    margin-top: 14px;
    padding-top: 15px;
    border-top: 1px solid rgba(46, 140, 116, .30);
  }
  .hv-n2-scan-nm { font-size: 14.5px; }
  .hv-n2-scan-q  { font-size: 13px; }
  .hv-n2-scan-arrow { min-width: 60px; }

  .hv-n2-fork-cols { grid-template-columns: 1fr; gap: 14px; }
  .hv-n2-fork-col + .hv-n2-fork-col {
    padding-left: 0;
    padding-top: 14px;
    border-left: 0;
    border-top: 1px solid rgba(23, 89, 75, .22);
  }
  /* Bei einer Spalte zeigt die Gabelung ins Leere. Dann lieber nur der
     Stamm, ohne Querbalken. */
  .hv-n2-fork-y { height: 20px; }
  .hv-n2-fork-cross,
  .hv-n2-fork-leg--r { display: none; }
  .hv-n2-fork-leg--l { left: 50%; top: 0; height: 20px; }
  .hv-n2-fork-stem { display: none; }
}

/* Schmal: der Lesefluss kippt in die Senkrechte. Waagerecht umgebrochen
   zeigte der Pfeil auf das Zeilenende statt auf den Bericht — ein Pfeil,
   der ins Leere zeigt, ist schlimmer als gar keiner. */
@media (max-width: 560px) {
  .hv-n2-scan-flow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .hv-n2-scan-arrow {
    flex: none;
    width: 1px;
    min-width: 0;
    max-width: none;
    height: 30px;
    margin-left: 24px;
    background: repeating-linear-gradient(180deg,
      rgba(46, 140, 116, .55) 0 5px, transparent 5px 10px);
  }
  .hv-n2-scan-arrow::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: 0;
    border-top: 0;
    border-right: 1px solid rgba(46, 140, 116, .75);
    border-bottom: 1px solid rgba(46, 140, 116, .75);
    transform: translate(-50%, 1px) rotate(45deg);
  }
  .hv-n2-scan-arrow b {
    left: 0;
    bottom: auto;
    top: 50%;
    transform: translate(13px, -50%);
    background: none;
    padding: 0;
  }
}

@media (max-width: 420px) {
  .hv-n2-scan-item { padding-right: 10px; }
  .hv-n2-scan-item + .hv-n2-scan-item { padding-left: 10px; }
  .hv-n2-axis-effort-bar u { width: 38px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-n2-scan-sweep {
    animation: none;
    transform: translateX(300%);
  }
}
