/* hochzwei · Security
 * Page-spezifische Styles. Erbt Tokens aus colors_and_type.css.
 * Bewusst nur die NEUEN Module: Reifegradmodell, Roadmap.
 * Shared modules (Header, Hero, Outcome, Pillars, Tech-Strip, Vorgehen,
 * Mini-Case, Managed, FAQ, Cross, CTA, Footer) erben aus mw.css.
 */
@import url("mw.css?v=20260526");

/* ======================================================
 * Säulen 4er-Grid (statt 5er aus MW)
 * ====================================================== */
@media (min-width: 1100px) {
  .pillar-grid--four {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
  .pillar-grid--four .pillar:nth-child(1),
  .pillar-grid--four .pillar:nth-child(2),
  .pillar-grid--four .pillar:nth-child(3),
  .pillar-grid--four .pillar:nth-child(4),
  .pillar-grid--four .pillar:nth-child(5) {
    grid-column: span 1;
  }
}
@media (min-width: 720px) and (max-width: 1099px) {
  .pillar-grid--four { grid-template-columns: repeat(2, 1fr); }
  .pillar-grid--four .pillar { grid-column: span 1; }
}

/* ======================================================
 * Reifegradmodell: vertikaler Stufen-Stack
 * Bewusst ANDERS als das horizontale 4er-Vorgehen:
 *   • vertikale Achse links mit Stufen-Indikator-Punkt
 *   • Stufen-Tag rechts oben, monochrom
 *   • aktiver "Sie sind hier"-Marker setzbar via [data-current]
 *   • Stufen-Nummern als []-Klammern wie der Brand-Marker
 * ====================================================== */
.maturity {
  display: grid;
  gap: 0;
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stage;
}
/* Markup ist <li><button class="maturity-stage">...</button></li>.
   Button-Defaults plattmachen, sonst zerschiesst der Browser das Grid. */
.maturity-stage {
  counter-increment: stage;
  position: relative;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px 16px;
  padding: 28px 0 28px 0;
  border-top: 1px solid var(--border-1);
  width: 100%;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-bottom: 0;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: background-color var(--dur-fast, 120ms) ease;
}
.maturity > li:first-child > .maturity-stage { border-top: 2px solid var(--hz-navy); }
.maturity > li:last-child > .maturity-stage { border-bottom: 2px solid var(--hz-navy); }

.maturity-stage:hover:not([data-current]) {
  background-color: rgba(0, 48, 87, 0.025);
}
.maturity-stage:hover:not([data-current]) .maturity-dot {
  border-color: var(--hz-navy);
  box-shadow: 0 0 0 4px rgba(0, 48, 87, 0.08);
}
.maturity-stage:focus { outline: none; }
.maturity-stage:focus-visible {
  outline: 2px solid var(--hz-green);
  outline-offset: -2px;
  border-radius: var(--r-sm);
}

@media (min-width: 720px) {
  .maturity-stage {
    grid-template-columns: 100px 1fr auto;
    gap: 24px 40px;
    padding: 36px 0;
    align-items: start;
  }
  .maturity-stage::before {
    top: 52px;
    bottom: -36px;
  }
}
@media (min-width: 1024px) {
  .maturity-stage {
    grid-template-columns: 140px 1fr auto;
    gap: 24px 64px;
  }
}

/* Linke Spalte: Indikator + Stufen-Nummer
   Dot und "[ Stufe NN ]" liegen in einer Zeile auf Höhe der Überschrift,
   damit der Stage-Header optisch zusammenhängt. flex-start statt center,
   damit auf Mobile (Axis stretcht auf Body-Höhe) Dot + Label trotzdem
   am oberen Rand auf Heading-Linie sitzen. */
.maturity-axis {
  display: flex; flex-direction: row; align-items: flex-start; gap: 10px;
  position: relative;
  padding-top: 6px; /* Optische Mitte mit erster Heading-Zeile (lh 1.2) */
}
/* Vertikale Achse: an den Stage-Container gehaengt, damit die Linie immer
   von Dot-Unterkante bis ueber die Stage-Border in den naechsten Stage reicht.
   Der Trick mit bottom: -28px springt durch die 1px-Border in den naechsten
   Stage-Top-Padding, sodass die Linie optisch durchgehend wirkt. */
.maturity-stage::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 44px;       /* padding-top + dot-radius + kleiner Abstand */
  bottom: -28px;   /* bis kurz vor den naechsten Dot */
  width: 1px;
  background: var(--border-1);
  pointer-events: none;
}
.maturity > li:last-child > .maturity-stage::before { display: none; }
.maturity-dot {
  width: 16px; height: 16px;
  border: 2px solid var(--hz-navy);
  background: var(--hz-white);
  border-radius: 50%;
  flex: none;
  position: relative;
  z-index: 1;
}
.maturity-num {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--fg-3);
  white-space: nowrap;
}
.maturity-num::before { content: "[ Stufe "; }
.maturity-num::after  { content: " ]"; }
@media (max-width: 480px) {
  .maturity-num { font-size: 10.5px; letter-spacing: 0.06em; }
}

/* Mittlere Spalte: Headline + Mikro-Copy */
.maturity-body { min-width: 0; }
.maturity-h {
  margin: 0 0 12px;
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--hz-navy);
  text-wrap: balance;
}
.maturity-desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 56ch;
  text-wrap: pretty;
}

/* Rechte Spalte: Tag */
.maturity-tag {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
  white-space: nowrap;
  align-self: start;
  padding-top: 4px;
}
@media (max-width: 719px) {
  .maturity-tag {
    grid-column: 2;
    margin-top: 4px;
    padding-top: 0;
  }
}

/* Aktive Stufe (z.B. "Sie sind hier"). Nicht initial gesetzt; per data-attr aktivierbar. */
.maturity-stage[data-current] .maturity-dot {
  background: var(--hz-green);
  border-color: var(--hz-green);
  box-shadow: 0 0 0 4px rgba(164,202,98,0.18);
}
.maturity-stage[data-current] .maturity-num { color: var(--hz-green); }
.maturity-stage[data-current] .maturity-h { color: var(--hz-navy); }
.maturity-stage[data-current]::after {
  content: "Sie sind hier";
  position: absolute;
  top: 36px; right: 0;
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--hz-green);
  padding: 4px 10px;
  border: 1px solid rgba(164,202,98,0.5);
  border-radius: var(--r-sm);
  background: var(--hz-white);
}
@media (max-width: 719px) {
  .maturity-stage[data-current]::after {
    position: static;
    grid-column: 2;
    justify-self: start;
    margin-top: 8px;
  }
}

/* ======================================================
 * Roadmap-Modul (24/7-SOC: ehrlicher Stand)
 * Zurückhaltend: heller Block, Text + kompakte Visualisierung,
 * KEINE Marketing-Sprache, KEINE großen Zahlen-Dramatik.
 * ====================================================== */
.roadmap {
  background: var(--bg-1);
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
}
.roadmap-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 56px var(--page-pad);
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .roadmap-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 80px;
    align-items: center;
    padding: 72px var(--page-pad);
  }
}
.roadmap-copy { max-width: 56ch; }
.roadmap-copy h2 {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--hz-navy);
  text-wrap: balance;
}
.roadmap-copy p {
  margin: 20px 0 24px;
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.roadmap-copy .eyebrow {
  font-size: var(--fs-micro);
  line-height: 1.5;
  letter-spacing: var(--tracking-caps);
  color: var(--hz-green-900);
  margin: 0 0 16px;
}
.roadmap-copy .roadmap-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--hz-navy);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid var(--hz-navy);
}
.roadmap-copy .roadmap-cta:hover { color: var(--hz-green); border-color: var(--hz-green); }
.roadmap-copy .roadmap-cta svg { width: 14px; height: 14px; transition: transform var(--dur-fast); }
.roadmap-copy .roadmap-cta:hover svg { transform: translateX(3px); }

/* SOC-Visualisierung: zwei nebeneinander stehende Kacheln "Heute" / "Im Aufbau". */
.soc {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 560px) {
  .soc { grid-template-columns: 1fr 1fr; gap: 16px; }
}
.soc-tile {
  position: relative;
  background: var(--hz-white);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 200px;
}
.soc-tile-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.soc-tile-label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.soc-tile-status {
  font-family: var(--font-mono);
  font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border-1);
}
.soc-tile--now .soc-tile-status {
  color: var(--hz-green);
  border-color: rgba(164,202,98,0.5);
  background: rgba(164,202,98,0.08);
}
.soc-tile--build .soc-tile-status {
  color: var(--hz-grey-700);
  border-color: var(--border-1);
  background: var(--bg-2);
}
.soc-tile-h {
  margin: 0;
  font-size: 17px; font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--hz-navy);
}
.soc-tile-list {
  margin: 0; padding: 0; list-style: none;
  display: grid; gap: 10px;
}
.soc-tile-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--fg-2);
}
.soc-tile-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1.5px;
  background: var(--hz-green);
}
.soc-tile--build .soc-tile-list li::before {
  background: var(--hz-grey-300, #d4d8de);
}
.soc-arrow {
  display: none;
}
@media (min-width: 560px) {
  .soc { position: relative; }
  /* Pfeil zwischen den Kacheln, dezent, mono-Stil. */
  .soc::before {
    content: "→";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-1);
    color: var(--fg-3);
    font-family: var(--font-mono);
    font-size: 14px;
    border: 1px solid var(--border-1);
    border-radius: 50%;
    z-index: 1;
  }
}

/* ======================================================
 * Compliance-Block: verwendet Highlight-Template aus mw.css.
 * Hier nur eine Variante: KEIN Bild rechts, sondern eine Mono-Datentafel.
 * ====================================================== */
.compliance-data {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border-1);
}
.compliance-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-1);
}
@media (min-width: 560px) {
  .compliance-row {
    grid-template-columns: 180px 1fr;
    gap: 0 24px;
    align-items: baseline;
  }
}
.compliance-row dt {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-3);
}
.compliance-row dd {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--hz-navy);
}
