/* ============================================================
   Hedgehog AI – interaktive Bausteine v15
   ------------------------------------------------------------
   1. Datenwege-Schaubild  (.hh-souv)   – wohin Ihre Daten gehen
   2. Live-Vergleich       (.hh-roi)    – Cloud gegen eigenes System
   3. Use-Case-Explorer    (.hh-explorer)

   Alle drei funktionieren ohne JavaScript in einem sinnvollen
   Grundzustand. Keine externen Requests.
   ============================================================ */

/* ============================================================
   1. DATENWEGE-SCHAUBILD
   ============================================================ */
.hh-souv {
  --aussen: #c0392b;
  --innen: #1e7a4a;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 30px;
}
@media (max-width: 900px) { .hh-souv { grid-template-columns: minmax(0, 1fr); } }
.hh-souv-buehne, .hh-souv-text { min-width: 0; }

/* Umschalter: zwei Radios, die die Bühne per CSS steuern.
   Ohne JavaScript voll bedienbar. */
.hh-souv-wahl { display: contents; }
.hh-souv-radio {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap;
}
.hh-souv-seg {
  grid-column: 1 / -1;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--hh-2, #0e1b32);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  border-radius: var(--r-pill, 999px);
  width: max-content;
  max-width: 100%;
  box-shadow: var(--sh-inset, inset 0 1px 0 rgba(240,237,232,.07));
}
.hh-souv-seg label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--r-pill, 999px);
  font-size: 14px;
  font-weight: 600;
  color: rgba(240, 237, 232, .62);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color var(--t-base, .26s) var(--ease, ease),
              color var(--t-base, .26s) var(--ease, ease);
}
.hh-souv-seg label:hover { color: #f0ede8; background: rgba(240, 237, 232, .05); }
.hh-souv-seg label .pkt {
  width: 8px; height: 8px; border-radius: 50%;
  background: currentColor; opacity: .55; flex: none;
}
#hh-souv-cloud:checked ~ .hh-souv .hh-souv-seg label[for="hh-souv-cloud"],
#hh-souv-lokal:checked ~ .hh-souv .hh-souv-seg label[for="hh-souv-lokal"] { color: #0a1628; }
#hh-souv-cloud:checked ~ .hh-souv .hh-souv-seg label[for="hh-souv-cloud"] { background: #d4674f; }
#hh-souv-lokal:checked ~ .hh-souv .hh-souv-seg label[for="hh-souv-lokal"] { background: #57c08c; }
#hh-souv-cloud:focus-visible ~ .hh-souv .hh-souv-seg label[for="hh-souv-cloud"],
#hh-souv-lokal:focus-visible ~ .hh-souv .hh-souv-seg label[for="hh-souv-lokal"] {
  outline: 2px solid var(--gold, #c9a84c); outline-offset: 3px;
}

/* Bühne */
.hh-souv-buehne {
  position: relative;
  border-radius: var(--r-lg, 20px);
  overflow: hidden;
  background:
    radial-gradient(760px 300px at 30% 0%, rgba(201, 168, 76, .07), transparent 68%),
    var(--hh-2, #0e1b32);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  box-shadow: var(--sh-2, 0 10px 28px -10px rgba(3,8,18,.6));
}
.hh-souv-svg { display: block; width: 100%; height: auto; }

/* Das Haus */
.hs-haus { fill: #16264a; stroke: rgba(201, 168, 76, .45); stroke-width: 1.5; }
.hs-dach { fill: #1c3057; stroke: rgba(201, 168, 76, .45); stroke-width: 1.5; }
.hs-raum { fill: rgba(240, 237, 232, .045); stroke: rgba(240, 237, 232, .14); stroke-width: 1; }
.hs-label {
  fill: rgba(240, 237, 232, .72);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.hs-titel {
  fill: #f0ede8;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
}

/* Hülle: geschlossen im lokalen Betrieb, durchbrochen in der Cloud */
.hs-huelle {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  transition: stroke .45s var(--ease, ease), stroke-dasharray .45s var(--ease, ease), opacity .45s;
}

/* Server im Haus */
.hs-server { fill: #0a1628; stroke: var(--gold, #c9a84c); stroke-width: 1.6; }
.hs-server-led { fill: var(--gold, #c9a84c); }

/* Außenwelt */
.hs-aussen { transition: opacity .45s var(--ease, ease); }
.hs-wolke { fill: rgba(192, 57, 43, .12); stroke: #d4674f; stroke-width: 1.5; }
.hs-grenze { stroke: rgba(240, 237, 232, .22); stroke-width: 1; stroke-dasharray: 5 5; }
.hs-grenze-text {
  fill: rgba(240, 237, 232, .5);
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: .1em;
}

/* Datenwege */
.hs-weg {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity .45s var(--ease, ease);
}
.hs-weg-raus { stroke: #d4674f; }
.hs-weg-rein { stroke: #57c08c; }
.hs-paket { r: 4; }
.hs-paket-raus { fill: #d4674f; }
.hs-paket-rein { fill: #57c08c; }

/* Zustände: Cloud */
#hh-souv-cloud:checked ~ .hh-souv .hs-huelle { stroke: #d4674f; stroke-dasharray: 14 12; opacity: .85; }
#hh-souv-cloud:checked ~ .hh-souv .hs-gruppe-raus { opacity: 1; }
#hh-souv-cloud:checked ~ .hh-souv .hs-gruppe-rein { opacity: 0; }
#hh-souv-cloud:checked ~ .hh-souv .hs-aussen { opacity: 1; }

/* Zustände: On-Premise */
#hh-souv-lokal:checked ~ .hh-souv .hs-huelle { stroke: #57c08c; stroke-dasharray: none; opacity: 1; }
#hh-souv-lokal:checked ~ .hh-souv .hs-gruppe-raus { opacity: 0; }
#hh-souv-lokal:checked ~ .hh-souv .hs-gruppe-rein { opacity: 1; }
#hh-souv-lokal:checked ~ .hh-souv .hs-aussen { opacity: .22; }

.hs-gruppe-raus, .hs-gruppe-rein { transition: opacity .45s var(--ease, ease); }

/* Laufende Pakete (JS setzt die Position; ohne JS stehen sie am Start) */
.hs-paket { transition: none; }

/* Erklärspalte */
.hh-souv-text {
  background: var(--hh-3, #121f3a);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  border-radius: var(--r-lg, 20px);
  padding: 26px 26px 22px;
  box-shadow: var(--sh-2, 0 10px 28px -10px rgba(3,8,18,.6)), var(--sh-inset, inset 0 1px 0 rgba(240,237,232,.07));
}
.hh-souv-text h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 23px;
  font-weight: 400;
  margin-bottom: 10px;
  color: #f0ede8;
}
.hh-souv-text > p { font-size: 15px; line-height: 1.65; }
.hh-souv-liste { list-style: none; margin: 18px 0 0; display: grid; gap: 12px; }
.hh-souv-liste li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 237, 232, .74);
}
.hh-souv-liste li b { color: #f0ede8; font-weight: 600; display: block; }
.hh-souv-liste .mk { font-size: 14px; line-height: 1.3; }
.hh-souv-liste .mk-raus { color: #d4674f; }
.hh-souv-liste .mk-rein { color: #57c08c; }

/* Nur der Text zum gewählten Zustand ist sichtbar */
.hh-souv-fall { display: none; }
#hh-souv-cloud:checked ~ .hh-souv .hh-souv-fall-cloud { display: block; }
#hh-souv-lokal:checked ~ .hh-souv .hh-souv-fall-lokal { display: block; }

.hh-souv-quelle {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(240, 237, 232, .62);
}
.hh-souv-quelle a,
.hh-souv-text a {
  color: var(--gold, #c9a84c);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .hs-paket { display: none; }
}

/* ============================================================
   2. LIVE-VERGLEICH
   ============================================================ */
.hh-roi { margin-top: 28px; }
.hh-roi-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}
@media (max-width: 980px) { .hh-roi-grid { grid-template-columns: minmax(0, 1fr); } }

.hh-roi-panel {
  min-width: 0;
  background: var(--hh-3, #121f3a);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  border-radius: var(--r-lg, 20px);
  padding: 26px;
  box-shadow: var(--sh-2, 0 10px 28px -10px rgba(3,8,18,.6)), var(--sh-inset, inset 0 1px 0 rgba(240,237,232,.07));
}
.hh-roi-ergebnis { min-width: 0; }
@media (max-width: 560px) {
  .hh-roi-panel, .hh-roi-ergebnis { padding: 20px 16px; }
}

/* Der geteilte Szenario-Schalter ist für helle Flächen gebaut –
   auf dem dunklen Bedienfeld bekommt er eine dunkle Fassung. */
.hh-roi-panel .hh-sz {
  background: var(--hh-1, #0a1628);
  border-color: var(--line-quiet, rgba(240,237,232,.1));
  color: #f0ede8;
  border-radius: var(--r-md, 14px);
  margin-bottom: 22px;
}
.hh-roi-panel .hh-sz .hh-sz-label { color: rgba(240, 237, 232, .5); }
.hh-roi-panel .hh-sz .hh-sz-text { color: rgba(240, 237, 232, .6) !important; }
.hh-roi-panel .hh-sz .hh-sz-seg {
  background: var(--hh-3, #121f3a);
  border-color: var(--line-quiet, rgba(240,237,232,.1));
}
.hh-roi-panel .hh-sz .hh-sz-seg button { color: rgba(240, 237, 232, .66); }
.hh-roi-panel .hh-sz .hh-sz-seg button:hover {
  background: rgba(240, 237, 232, .07);
  color: #f0ede8;
}
.hh-roi-panel .hh-sz .hh-sz-seg button:focus-visible { outline-color: var(--gold, #c9a84c); }
.hh-roi-panel .hh-sz .hh-sz-seg button.on[data-sz=real] { background: var(--gold, #c9a84c); color: #0a1628; }

/* Auf breiten Schirmen läuft das Ergebnis beim Regeln mit */
@media (min-width: 1100px) {
  .hh-roi-ergebnis { position: sticky; top: 96px; }
}

.hh-roi-feld { margin-bottom: 20px; }
.hh-roi-feld:last-of-type { margin-bottom: 8px; }
.hh-roi-feld > label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, .58);
  margin-bottom: 9px;
}
.hh-roi-feld > label output {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold, #c9a84c);
}
.hh-roi-feld input[type=range] {
  width: 100%;
  accent-color: var(--gold, #c9a84c);
  height: 22px;
  cursor: pointer;
}
.hh-roi-hinweis { font-size: 12.5px; line-height: 1.55; color: rgba(240, 237, 232, .52); margin-top: 4px; }

/* Paketwahl */
.hh-roi-pakete { display: grid; gap: 9px; margin-bottom: 20px; }
.hh-roi-pakete label {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 12px 14px;
  border-radius: var(--r-md, 14px);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  background: var(--hh-1, #0a1628);
  cursor: pointer;
  font-size: 14px;
  color: #f0ede8;
  transition: border-color var(--t-base, .26s) var(--ease, ease),
              background-color var(--t-base, .26s) var(--ease, ease);
}
.hh-roi-pakete label:hover { border-color: var(--line-strong, rgba(201,168,76,.42)); background: var(--hh-2, #0e1b32); }
.hh-roi-pakete label:has(input:checked) {
  border-color: var(--gold, #c9a84c);
  background: var(--hh-4, #17274a);
}
.hh-roi-pakete input { accent-color: var(--gold, #c9a84c); margin: 0; }
.hh-roi-pakete label > span { min-width: 0; overflow-wrap: anywhere; }
.hh-roi-pakete small { display: block; color: rgba(240, 237, 232, .55); font-size: 12px; margin-top: 2px; }
@media (max-width: 560px) {
  .hh-roi-pakete label { grid-template-columns: 18px 1fr; }
  .hh-roi-pakete .pr { grid-column: 2; }
}
.hh-roi-pakete .pr {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 12px;
  color: var(--gold, #c9a84c);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* Ergebnisseite */
.hh-roi-ergebnis {
  background: linear-gradient(180deg, #fbfbfc, #f2f4f7);
  color: #1a1a2e;
  border-radius: var(--r-lg, 20px);
  padding: 26px;
  box-shadow: var(--sh-3, 0 28px 64px -24px rgba(3,8,18,.78));
  border: 1px solid rgba(10, 22, 40, .08);
}
.hh-roi-kopf {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.hh-roi-kopf .lbl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #5a6472;
}
.hh-roi-gross {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.02;
  color: #0a1628;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin: 2px 0 2px;
}
.hh-roi-gross small {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #5a6472;
  letter-spacing: 0;
}
.hh-roi-satz { font-size: 15px; color: #33404f; margin: 6px 0 18px; line-height: 1.55; }

.hh-roi-kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 520px) { .hh-roi-kacheln { grid-template-columns: 1fr; } }
.hh-roi-kachel {
  background: #fff;
  border: 1px solid rgba(10, 22, 40, .07);
  border-radius: var(--r-md, 14px);
  padding: 13px 15px;
}
.hh-roi-kachel b {
  display: block;
  font-size: 21px;
  color: #0a1628;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.hh-roi-kachel span { font-size: 12px; color: #5a6472; }

/* Diagramm */
.hh-roi-chart { width: 100%; height: auto; display: block; margin: 4px 0 6px; }
.rc-achse { stroke: rgba(10, 22, 40, .14); stroke-width: 1; }
.rc-null { stroke: rgba(10, 22, 40, .3); stroke-width: 1; stroke-dasharray: 4 4; }
.rc-flaeche-plus { fill: rgba(30, 122, 74, .14); }
.rc-flaeche-minus { fill: rgba(192, 57, 43, .12); }
.rc-linie { fill: none; stroke: #0a1628; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.rc-punkt { fill: #c9a84c; stroke: #0a1628; stroke-width: 1.5; }
.rc-text {
  fill: #5a6472;
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 9.5px;
  font-variant-numeric: tabular-nums;
}
.rc-marke { stroke: #c9a84c; stroke-width: 1.5; stroke-dasharray: 3 3; }
.rc-marke-text { fill: #8a6d0f; font-family: 'IBM Plex Mono', ui-monospace, monospace; font-size: 9.5px; font-weight: 600; }

.hh-roi-fuss {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 22, 40, .09);
  font-size: 12px;
  line-height: 1.55;
  color: #5a6472;
}
.hh-roi-fuss a { color: #8a6d0f; }
.hh-roi-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.hh-roi-cta .btn-primary { box-shadow: none; }
.hh-roi-cta .btn-dunkel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0a1628;
  color: #f0ede8;
  border-radius: var(--r-pill, 999px);
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--t-fast, .16s) var(--ease-spring, ease), background-color var(--t-base, .26s) var(--ease, ease);
}
.hh-roi-cta .btn-dunkel:hover { background: #16264a; transform: translateY(-2px); }
.hh-roi-cta .btn-hell {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #33404f;
  border: 1px solid rgba(10, 22, 40, .2);
  border-radius: var(--r-pill, 999px);
  padding: 13px 22px;
  font-size: 15px;
  text-decoration: none;
  transition: border-color var(--t-base, .26s) var(--ease, ease), color var(--t-base, .26s) var(--ease, ease);
}
.hh-roi-cta .btn-hell:hover { border-color: #0a1628; color: #0a1628; }

/* Ohne JavaScript: Regler und Ergebnis ausblenden, Hinweis zeigen */
.hh-roi-ohne-js {
  background: var(--hh-3, #121f3a);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  border-radius: var(--r-lg, 20px);
  padding: 24px;
  font-size: 15px;
  color: rgba(240, 237, 232, .72);
}
.hh-roi.bereit .hh-roi-ohne-js { display: none; }
.hh-roi:not(.bereit) .hh-roi-grid { display: none; }

/* ============================================================
   3. USE-CASE-EXPLORER
   ============================================================ */
.hh-explorer-filter {
  margin: 4px 0 26px;
  display: grid;
  gap: 14px;
}
.hh-explorer-reihe {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.hh-explorer-reihe > .rl {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(240, 237, 232, .5);
  margin-right: 2px;
  flex: none;
}
.hh-chip {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  background: var(--hh-2, #0e1b32);
  color: rgba(240, 237, 232, .72);
  font: inherit;
  font-size: 13.5px;
  padding: 8px 15px;
  border-radius: var(--r-pill, 999px);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background-color var(--t-base, .26s) var(--ease, ease),
              border-color var(--t-base, .26s) var(--ease, ease),
              color var(--t-base, .26s) var(--ease, ease),
              transform var(--t-fast, .16s) var(--ease-spring, ease);
}
.hh-chip:hover { color: #f0ede8; border-color: var(--line-strong, rgba(201,168,76,.42)); transform: translateY(-1px); }
.hh-chip[aria-pressed="true"] {
  background: var(--gold, #c9a84c);
  border-color: var(--gold, #c9a84c);
  color: #0a1628;
  font-weight: 600;
}
.hh-chip .z {
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  opacity: .62;
}

.hh-explorer-suche {
  position: relative;
  flex: 1 1 220px;
  min-width: 190px;
  max-width: 340px;
}
.hh-explorer-suche input {
  width: 100%;
  padding: 10px 14px 10px 36px;
  border-radius: var(--r-pill, 999px);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  background: var(--hh-2, #0e1b32);
  color: #f0ede8;
  font: inherit;
  font-size: 14px;
}
.hh-explorer-suche input::placeholder { color: rgba(240, 237, 232, .4); }
.hh-explorer-suche svg {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(240, 237, 232, .4);
  pointer-events: none;
}

.hh-explorer-stand {
  font-size: 13px;
  color: rgba(240, 237, 232, .55);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hh-explorer-stand button {
  appearance: none;
  background: none;
  border: 0;
  color: var(--gold, #c9a84c);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 2px;
}

/* Karten aus- und einblenden, ohne das Raster springen zu lassen */
.usecase-card.hh-weg {
  display: none;
}
.usecase-card.hh-kommt {
  animation: hhKarteRein .42s var(--ease, ease) both;
}
@keyframes hhKarteRein {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* Schnellvorschau */
.usecase-card { position: relative; }
.hh-peek {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill, 999px);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.12));
  background: rgba(10, 22, 40, .7);
  color: rgba(240, 237, 232, .7);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--t-base, .26s) var(--ease, ease),
              background-color var(--t-base, .26s) var(--ease, ease),
              color var(--t-base, .26s) var(--ease, ease);
}
.usecase-card:hover .hh-peek,
.usecase-card:focus-within .hh-peek { opacity: 1; }
.hh-peek:hover { background: var(--gold, #c9a84c); color: #0a1628; border-color: var(--gold, #c9a84c); }
.hh-peek:focus-visible { opacity: 1; }

.hh-peek-dialog {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(4, 10, 20, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hh-peek-dialog[hidden] { display: none; }
.hh-peek-karte {
  width: min(560px, 100%);
  max-height: min(80vh, 640px);
  overflow: auto;
  background: var(--hh-3, #121f3a);
  border: 1px solid var(--line-strong, rgba(201,168,76,.42));
  border-radius: var(--r-xl, 28px);
  padding: 30px 30px 26px;
  box-shadow: var(--sh-3, 0 28px 64px -24px rgba(3,8,18,.78));
  animation: hhPeekRein .3s var(--ease-spring, ease) both;
}
@keyframes hhPeekRein {
  from { opacity: 0; transform: translateY(18px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.hh-peek-kopf {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.hh-peek-nr {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--gold, #c9a84c);
  text-transform: uppercase;
}
.hh-peek-karte h3 {
  font-family: 'DM Serif Display', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  color: #f0ede8;
  margin: 6px 0 10px;
}
.hh-peek-versprechen {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(240, 237, 232, .82);
  border-left: 2px solid var(--gold, #c9a84c);
  padding-left: 14px;
  margin-bottom: 18px;
}
.hh-peek-liste { list-style: none; display: grid; gap: 9px; margin: 0 0 20px; }
.hh-peek-liste li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(240, 237, 232, .72);
}
.hh-peek-liste li::before { content: "▸"; color: var(--gold, #c9a84c); font-size: 11px; line-height: 1.7; }
.hh-peek-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.hh-peek-meta span {
  font-family: 'IBM Plex Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .06em;
  padding: 5px 11px;
  border-radius: var(--r-pill, 999px);
  background: var(--hh-1, #0a1628);
  border: 1px solid var(--line-quiet, rgba(240,237,232,.1));
  color: rgba(240, 237, 232, .66);
}
.hh-peek-aktion { display: flex; gap: 10px; flex-wrap: wrap; }
.hh-peek-zu {
  appearance: none;
  border: 1px solid var(--line-quiet, rgba(240,237,232,.12));
  background: transparent;
  color: rgba(240, 237, 232, .6);
  width: 34px;
  height: 34px;
  border-radius: var(--r-pill, 999px);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  flex: none;
  transition: color var(--t-base, .26s) var(--ease, ease), border-color var(--t-base, .26s) var(--ease, ease);
}
.hh-peek-zu:hover { color: #f0ede8; border-color: var(--line-strong, rgba(201,168,76,.42)); }

.hh-explorer-leer {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--line-quiet, rgba(240,237,232,.14));
  border-radius: var(--r-lg, 20px);
  color: rgba(240, 237, 232, .6);
  font-size: 15px;
}
.hh-explorer-leer b { display: block; color: #f0ede8; font-size: 17px; margin-bottom: 6px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .usecase-card.hh-kommt, .hh-peek-karte { animation: none; }
}
