/* ═══════════════════════════════════════════════════════════════════════
   WPT v3-aim.css — VERBATIM aus V3 styles.css
   Klassen für die AIM-Page (Dimensionen-Viewer, aim-horiz-output,
   aim-phasen-flow, aim-netzwerk, impact-strip, cfo-Block).
   Quelle: _v3_staging/ui_kits/wpt-institut-v3/styles.css mit Zeilenangaben.

   Hinweis: V3 nutzt einige ghost-Vars (--ink, --mist-deep, --ink-soft) die
   im aktuellen tokens-Setup undefined sind. Verbatim übernommen, damit das
   Visual exakt dem V3-Prototyp entspricht. Wo der Effekt fehlt, ergänze ich
   einen Fallback auf den canonical Token-Namen (--fg1, --mist-strong, --fg2).
   ═══════════════════════════════════════════════════════════════════════ */

/* ═════════════ V3 L997-1112 — Dimensionen-Viewer (interaktiv) ═════════════ */
.dim-section { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.dim-viewer {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: var(--space-2xl);
    align-items: start;
}
@media (max-width: 880px) { .dim-viewer { grid-template-columns: 1fr; gap: var(--space-lg); } }
.dim-list {
    list-style: none;
    margin: 0; padding: 0;
    border-top: 1px solid var(--mist-strong);
}
.dim-list li { border-bottom: 1px solid var(--mist-strong); }
.dim-tab {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: var(--space-md);
    align-items: center;
    background: transparent;
    border: 0;
    text-align: left;
    padding: 0.95rem 0.4rem;
    cursor: pointer;
    transition: background 120ms ease, padding 120ms ease;
}
.dim-tab:hover { background: var(--mist); padding-left: 0.8rem; }
.dim-tab[data-active="true"] {
    background: var(--paper);
    padding-left: 0.8rem;
    box-shadow: inset 3px 0 0 var(--accent-deep);
}
.dim-num {
    font-family: var(--font-mono);
    font-size: var(--fs-xs);
    color: var(--accent-deep);
    letter-spacing: 0.12em;
    min-width: 1.6rem;
}
.dim-name {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -0.012em;
    font-variation-settings: 'opsz' 36, 'SOFT' 40;
}
.dim-tab[data-active="true"] .dim-name { color: var(--accent-deep); }
.dim-arrow {
    font-family: var(--font-mono);
    color: var(--fg3);
    transform: translateX(-4px);
    opacity: 0;
    transition: opacity 120ms ease, transform 120ms ease;
}
.dim-tab[data-active="true"] .dim-arrow,
.dim-tab:hover .dim-arrow { opacity: 1; transform: translateX(0); color: var(--accent-deep); }

.dim-detail {
    background: var(--paper);
    border: 1px solid var(--mist);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    min-height: 320px;
}
.dim-detail-num {
    font-family: var(--font-mono);
    font-size: var(--fs-micro);
    color: var(--accent-deep);
    letter-spacing: 0.18em;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}
.dim-detail-head {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    font-weight: 400;
    color: var(--navy);
    letter-spacing: -0.022em;
    line-height: 1.18;
    margin-bottom: var(--space-md);
    font-variation-settings: 'opsz' 96, 'SOFT' 40;
}
.dim-detail-kurz {
    font-size: var(--fs-body);
    color: var(--fg2);
    line-height: 1.55;
    margin-bottom: var(--space-xl);
    max-width: 50ch;
}
.dim-tools-label {
    font-family: var(--font-body);
    font-size: var(--fs-micro);
    font-weight: var(--fw-semibold);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--fg3);
    margin-bottom: var(--space-sm);
}
.dim-tools {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.dim-tools li {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--navy);
    background: var(--mist-soft);
    border: 1px solid var(--mist);
    padding: 0.35rem 0.7rem;
    border-radius: var(--radius-sm);
}

/* ═════════════ V3 L2574-2611 — aim-netzwerk-strip (3-Cell) ═════════════ */
.aim-netzwerk-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  background: var(--paper);
  border: 1px solid var(--mist-strong);
}
@media (max-width: 720px) {
  .aim-netzwerk-strip { grid-template-columns: 1fr; }
  .aim-netzwerk-item + .aim-netzwerk-item { border-left: none !important; border-top: 1px solid var(--mist-strong); }
}
.aim-netzwerk-item {
  padding: 28px;
  text-align: center;
}
.aim-netzwerk-item + .aim-netzwerk-item {
  border-left: 1px solid var(--mist-strong);
}
.aim-netzwerk-wert {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 8px;
}
.aim-netzwerk-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg1);
  margin-bottom: 4px;
}
.aim-netzwerk-detail {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg2);
  letter-spacing: 0.04em;
}

/* ═════════════ V3 L2750-2787 — Impact-Strip (3-Cell) ═════════════ */
.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  background: var(--paper);
  border: 1px solid var(--mist-strong);
}
@media (max-width: 720px) {
  .impact-strip { grid-template-columns: 1fr; }
  .impact-item + .impact-item { border-left: none !important; border-top: 1px solid var(--mist-strong); }
}
.impact-item {
  padding: 40px 32px;
  text-align: center;
}
.impact-item + .impact-item {
  border-left: 1px solid var(--mist-strong);
}
.impact-wert {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 400;
  color: var(--accent-deep);
  line-height: 1;
  margin-bottom: 12px;
}
.impact-label {
  font-size: 16px;
  font-weight: 500;
  color: var(--fg1);
  margin-bottom: 4px;
}
.impact-detail {
  font-size: 14px;
  color: var(--fg2);
  line-height: 1.5;
}

/* ═════════════ V3 L2790-2871 — CFO-Block (auf Navy via .foerderung-block) ═════════════ */
.cfo-head {
  text-align: left;
  max-width: 56ch;
  margin-bottom: 56px;
}
.cfo-head .eyebrow.on-dark { color: var(--sand-deep); }
.cfo-head .eyebrow.on-dark::before { background: var(--sand-deep); }
.cfo-headline {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--paper);
  margin: 16px 0 16px;
}
.cfo-headline em {
  color: var(--sand-deep);
  font-style: italic;
}
.cfo-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.85;
  margin: 0;
}
.cfo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
@media (max-width: 880px) {
  .cfo-grid { grid-template-columns: 1fr; }
}
.cfo-arg {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cfo-arg-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--sand-deep);
  letter-spacing: 0.08em;
}
.cfo-arg-titel {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--paper);
  margin: 0;
  line-height: 1.25;
}
.cfo-arg-detail {
  font-size: 15px;
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.88;
  margin: 0;
}
.cfo-arg-vergleich {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  color: var(--sand-deep);
  border-left: 2px solid var(--sand-deep);
  padding-left: 14px;
  margin-top: 4px;
}
.cfo-arg-quelle {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--paper);
  opacity: 0.55;
  letter-spacing: 0.04em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 12px;
  margin-top: 8px;
}

/* ═════════════ V3 L3058-3201 — aim-horiz Output-Layout (3 Schichten + Pfeile + Impact) ═════════════ */
.aim-horiz {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.aim-horiz-grid {
  display: grid;
  grid-template-columns: 1fr 24px 1fr 24px 1fr;
  gap: 0;
  align-items: stretch;
}
@media (max-width: 960px) {
  .aim-horiz-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .aim-horiz-arrow {
    transform: rotate(90deg);
    text-align: center;
    padding: 8px 0;
  }
}
.aim-horiz-card {
  background: var(--paper);
  border: 1px solid var(--mist-strong);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* V3 verbatim: schicht-1 nutzt --ink (undef) — kein Top-Border. schicht-2/3 sichtbar. */
.aim-horiz-card.schicht-1 { border-top: 3px solid var(--fg1); }
.aim-horiz-card.schicht-2 { border-top: 3px solid var(--accent); }
.aim-horiz-card.schicht-3 { border-top: 3px solid var(--accent-deep); }
.aim-horiz-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aim-horiz-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}
.aim-horiz-name {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  color: var(--fg1);
  line-height: 1.1;
}
.aim-horiz-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg2);
}
.aim-horiz-kurz {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg2);
  margin: 0;
  border-bottom: 1px solid var(--mist-strong);
  padding-bottom: 14px;
}
.aim-horiz-assets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.aim-horiz-assets li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.aim-horiz-asset-name {
  font-weight: 500;
  font-size: 14px;
  color: var(--fg1);
}
.aim-horiz-asset-detail {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--fg2);
}
.aim-horiz-zaehlt {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-deep);
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  margin-top: auto;
}
.aim-horiz-arrow {
  align-self: center;
  font-family: var(--font-mono);
  font-size: 24px;
  color: var(--accent);
  font-weight: 300;
}
.aim-horiz-impact {
  margin-top: 32px;
  background: var(--mist-soft);
  border: 1px solid var(--mist-strong);
  padding: 28px 32px;
}
.aim-horiz-impact-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg2);
  margin-bottom: 16px;
}
.aim-horiz-impact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .aim-horiz-impact-row { grid-template-columns: 1fr; }
}
.aim-horiz-impact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.aim-horiz-impact-wert {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--accent-deep);
  line-height: 1;
}
.aim-horiz-impact-cap {
  font-size: 13px;
  color: var(--fg2);
  line-height: 1.5;
}

/* ═════════════ V3 L3378-3544 — aim-phasen-flow (4 Phasen + Pfeile) ═════════════ */
.aim-phasen-section {
  background: var(--sand-soft, #F1ECE2);
}
.aim-phasen-section .section-head {
  margin-bottom: 48px;
}
.aim-phasen-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 18px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .aim-phasen-flow {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .aim-phasen-arrow { transform: rotate(90deg); padding: 4px 0; }
}
.aim-phasen-card {
  background: #fff;
  border: 1px solid color-mix(in oklab, var(--sand) 22%, transparent);
  border-radius: 4px;
  padding: 26px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.aim-phasen-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in oklab, var(--sand) 25%, transparent);
}
.aim-phasen-card-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}
.aim-phasen-card-wochen {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg2);
}
.aim-phasen-card-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  margin: 4px 0 6px 0;
  color: var(--navy);
}
.aim-phasen-card-frage {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fg1);
  margin: 0 0 4px 0;
  flex: 1;
}
.aim-phasen-card-adressiert {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  margin: 6px 0 4px;
  background: color-mix(in oklab, var(--sand) 7%, transparent);
  border-left: 2px solid var(--sand);
  border-radius: 0 6px 6px 0;
}
.aim-phasen-card-adressiert-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-deep);
  font-weight: 600;
}
.aim-phasen-card-adressiert-value {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--navy);
  font-weight: 500;
}
.aim-phasen-card-deliverables {
  list-style: none;
  margin: 0;
  padding: 12px 0 0 0;
  border-top: 1px dashed color-mix(in oklab, var(--sand) 35%, transparent);
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.aim-phasen-deliverable {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  position: relative;
}
.aim-phasen-deliverable::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.aim-phasen-deliverable-titel {
  font-size: 13px;
  line-height: 1.35;
  color: var(--navy);
  font-weight: 600;
}
.aim-phasen-deliverable-detail {
  font-size: 12px;
  line-height: 1.4;
  color: var(--fg2);
}
.aim-phasen-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--sand-deep);
  font-weight: 300;
  line-height: 1;
}

/* ═════════════ Foerderung-Block (host für .cfo-Inhalt) ═════════════ */
/* (.foerderung-block ist in v3-bootcamp.css — wird von beiden Pages genutzt) */
.foerderung-block {
    background: var(--navy);
    color: var(--paper);
    padding: clamp(3rem, 5vw, 4.5rem) 0;
}
