/* =========================================================
   Niklas Schade, Tests-Core
   Test-Subsystem im exakten CI (Licht-Theme).
   Setzt auf /assets/css/style.css auf (Tokens via body.mode-light).
   ========================================================= */

.test-page { padding-top: var(--header-height); }

/* Karten-Schatten: leicht versetzter, scharfer Orangeton
   (angelehnt an den Blob der Startseite). Statt Links-Rand-Akzent. */
:root {
    --card-lift: 0 2px 4px rgba(40,30,12,0.04), 4px 6px 0 rgba(212,116,44,0.10);
    --card-lift-hover: 0 4px 9px rgba(40,30,12,0.06), 6px 9px 0 rgba(212,116,44,0.16);
}

.test-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.test-eyebrow {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-orange);
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}
.test-eyebrow::before {
    content: "";
    width: 22px; height: 1px;
    background: var(--accent-orange);
    display: inline-block;
}

.test-section { padding: 4.5rem 0; }

/* ---------- Stages (Flow) ---------- */
.test-stage { display: none; }
.test-stage.is-active { display: block; animation: stageIn 0.5s var(--ease-out-expo); }
@keyframes stageIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Hero / Intro ---------- */
/* Mobile-first: image banner on top, text below on the page background.
   Desktop (>=1100px): full-bleed header image with text overlaid on the bright left area. */
.test-hero {
    position: relative;
    display: block;
    padding: 0;
    min-height: 0;
    overflow: hidden;
    isolation: isolate;
}
.test-hero__media-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--bg-card);
}
.test-hero__media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
.test-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Weißes Overlay: durchgängig helle Trübung, damit der Text (auch
       im zentrierten Layout) über dem Bild gut lesbar bleibt. */
    background:
        linear-gradient(180deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.84) 38%, rgba(255,255,255,0.84) 60%, rgba(255,255,255,0.95) 100%),
        linear-gradient(90deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0.2) 18%, rgba(255,255,255,0.2) 82%, rgba(255,255,255,0.6) 100%);
}
.test-hero .test-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin: 0 auto;
    padding-top: clamp(1rem, 3vh, 1.6rem);
    padding-bottom: clamp(1.8rem, 6vh, 3rem);
}
.test-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    line-height: 1.04;
    letter-spacing: -0.025em;
    margin: 1rem 0 1.4rem;
    color: var(--text-primary);
}
.test-lede {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 640px;
}
.test-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.4rem 0 2.2rem;
    max-width: 660px;
}
.test-fact {
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    border-radius: 10px;
    padding: 1.2rem 1.3rem;
    box-shadow: var(--card-lift);
}
.test-fact__num {
    font-family: var(--font-mono);
    font-size: clamp(1.85rem, 3vw, 2.25rem);
    font-weight: 600;
    color: var(--accent-orange);
    line-height: 1;
}
.test-fact__label {
    font-size: 0.84rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    line-height: 1.35;
}
.test-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.test-start { display: flex; flex-direction: column; align-items: flex-start; gap: 0.9rem; }
.test-badge {
    display: inline-flex; align-items: center;
    font-family: var(--font-mono); font-size: 0.68rem; font-weight: 600;
    letter-spacing: 0.10em; text-transform: uppercase;
    color: var(--accent-orange);
    border: 1px solid rgba(212,116,44,0.36);
    background: rgba(255,255,255,0.88);
    box-shadow: 0 2px 8px rgba(40,30,12,0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 99px; padding: 0.34rem 0.7rem;
}
.test-fineprint {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
}
.test-fineprint .lock-ico {
    width: 14px; height: 14px;
    color: var(--accent-orange);
    flex: 0 0 auto;
}

/* ---------- Privacy note ---------- */
.privacy-note {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1.3rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid var(--border-faint);
    border-radius: 8px;
    background: var(--bg-card);
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 640px;
}
.privacy-note__icon { flex: 0 0 auto; color: var(--accent-orange); margin-top: 0.05rem; }
.privacy-note__icon svg { width: 16px; height: 16px; display: block; }
.privacy-note strong { color: var(--text-primary); font-weight: 600; }

/* ---------- Responsive hero ---------- */
@media (max-width: 640px) {
    .test-title { font-size: clamp(1.85rem, 7vw, 2.3rem); margin: 0.6rem 0 0.7rem; }
    .test-lede { font-size: 0.98rem; }
    .test-facts { gap: 0.5rem; margin: 1.1rem 0 1.2rem; }
    .test-fact { padding: 0.6rem 0.6rem; border-radius: 8px; }
    .test-fact__num { font-size: 1.45rem; }
    .test-fact__label { font-size: 0.72rem; line-height: 1.25; }
    .test-badges { gap: 0.4rem; }
    .test-badge { font-size: 0.62rem; padding: 0.28rem 0.6rem; }
    .test-hero .test-hero-inner { padding-top: 1.4rem; padding-bottom: 1.6rem; }
}

/* Desktop >=1100px: full-bleed header image, text overlaid on the bright left area */
@media (min-width: 1100px) {
    .test-hero {
        display: flex;
        align-items: flex-start;
        min-height: clamp(460px, 58vh, 620px);
        padding: 1.3rem 0 3rem;
    }
    .test-hero__media-wrap { position: absolute; inset: 0; height: 100%; z-index: 0; }
    .test-hero__media { object-position: right center; }
    .test-hero__scrim {
        display: block;
        position: absolute; inset: 0; z-index: 1; pointer-events: none;
        /* Desktop: starke weiße Trübung über der linken Textspalte,
           nach rechts ausblendend, damit das Bild rechts sichtbar bleibt. */
        background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.78) 28%, rgba(255,255,255,0.4) 48%, rgba(255,255,255,0.08) 64%, rgba(255,255,255,0) 78%);
    }
    .test-hero .test-container { max-width: 100%; }
    .test-hero .test-hero-inner {
        max-width: min(720px, 46vw);
        margin: 0;
        padding-top: 0.5rem;
        padding-bottom: 1.5rem;
    }
}

/* ---------- Setup (Industry select) ---------- */
.setup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-top: 2rem;
}
.industry-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 1.3rem 1.1rem;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.industry-tile:hover { transform: translateY(-3px); box-shadow: var(--card-lift-hover); }
.industry-tile.is-selected {
    border-color: var(--accent-orange);
    box-shadow: 0 0 0 3px var(--accent-glow), var(--card-lift);
}
.industry-tile__icon {
    width: 30px; height: 30px;
    color: var(--accent-orange);
}
.industry-tile__name {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--text-primary);
    line-height: 1.2;
}
.industry-tile__blurb {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.setup-field { margin-top: 2.2rem; max-width: 460px; }
.setup-field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.setup-field input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: border-color 0.2s;
}
.setup-field input:focus { outline: none; border-color: var(--accent-orange); box-shadow: 0 0 0 3px var(--accent-glow); }

.flow-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 2.6rem;
}
.flow-actions .spacer { flex: 1; }

/* ---------- Questions ---------- */
.q-progress-bar {
    position: sticky; top: var(--header-height);
    z-index: 20;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-faint);
    padding: 0.9rem 0;
}
.q-progress-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 820px;
    margin: 0 auto 0.6rem;
    padding: 0 2rem;
}
.q-progress-label {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.q-progress-label strong { color: var(--accent-orange); }
.q-progress-track {
    height: 5px;
    background: var(--border-faint);
    border-radius: 99px;
    overflow: hidden;
}
.q-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
    box-shadow: 0 0 12px var(--accent-glow);
    transition: width 0.4s var(--ease-out-expo);
}

.dimension-head { max-width: 820px; margin: 2.4rem auto 1.4rem; padding: 0 2rem; }
.dimension-head .test-eyebrow { color: var(--text-muted); }
.dimension-head .test-eyebrow::before { background: var(--text-muted); }
.dimension-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.6rem, 3.4vw, 2.2rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0.6rem 0 0.4rem;
}
.dimension-desc {
    color: var(--text-secondary);
    font-size: 0.98rem;
    max-width: 620px;
}

.questions { max-width: 820px; margin: 0 auto; padding: 0 2rem 2rem; display: grid; gap: 1rem; }
.question {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.3rem 1.4rem;
    transition: border-color 0.2s, box-shadow 0.25s var(--ease-out-expo);
    box-shadow: 0 1px 2px rgba(40,30,12,0.03);
}
.question.is-answered { border-color: var(--accent-orange); box-shadow: 0 0 0 2px var(--accent-glow); }
.question__text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.45;
    margin-bottom: 0.9rem;
}
.q-scale { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.q-pill {
    flex: 1 1 0;
    min-width: 96px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 0.6rem 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s var(--ease-out-expo);
    text-align: center;
    line-height: 1.2;
}
.q-pill:hover { border-color: var(--accent-orange); color: var(--text-primary); }
.q-pill.is-selected {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-bright));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px rgba(212,116,44,0.32);
}

/* ---------- Report ---------- */
.report { padding-top: 1rem; }
.report-eyebrow-row {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 0.8rem;
}
.report-hero {
    display: grid;
    grid-template-columns: minmax(220px, 260px) 1fr;
    gap: 2.4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    border-radius: 16px;
    padding: 2.4rem;
    margin: 1.6rem 0 2.4rem;
    box-shadow: var(--shadow-soft);
}
.gauge { position: relative; width: 100%; max-width: 260px; margin: 0 auto; }
.gauge__num {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gauge__num span {
    font-family: var(--font-mono);
    font-weight: 600;
    line-height: 1;
}
.gauge__big { font-size: 3.1rem; color: var(--text-primary); }
.gauge__max { font-size: 1rem; color: var(--text-muted); margin-top: 0.3rem; }
.gauge__stage-label {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-top: 0.7rem;
}
.report-hero__text { min-width: 0; }
.report-hero__stage {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0.2rem 0 0.6rem;
}
.report-hero__verdict {
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--text-secondary);
    max-width: 560px;
}
.report-hero__meta {
    display: flex; flex-wrap: wrap; gap: 1.2rem;
    margin-top: 1.2rem;
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--text-muted);
}
.report-hero__meta span strong { color: var(--text-secondary); }

.report-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; margin-bottom: 1.4rem; }
.report-block {
    background: var(--bg-card);
    border: 1px solid var(--border-faint);
    border-radius: 14px;
    padding: 1.8rem;
    box-shadow: 0 2px 8px rgba(40,30,12,0.05);
}

.report-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(212,116,44,0.10), rgba(255,255,255,0.92));
    border: 1px solid rgba(212,116,44,0.22);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    margin: -0.8rem 0 1.4rem;
    box-shadow: 0 2px 8px rgba(40,30,12,0.05);
}
.report-tools__text {
    display: grid;
    gap: 0.18rem;
    min-width: 0;
}
.report-tools__kicker {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-orange);
}
.report-tools__text strong {
    font-family: var(--font-display);
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--text-primary);
}
.report-tools__text span:last-child {
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--text-secondary);
}
.report-tools__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
    flex: 0 0 auto;
}

/* ---------- Report-Tabs ---------- */
.report-tabs {
    display: flex; gap: 0.55rem;
    overflow-x: auto; scrollbar-width: none;
    border: 1px solid var(--border-faint);
    border-radius: 14px;
    background: rgba(255,255,255,0.72);
    box-shadow: 0 2px 8px rgba(40,30,12,0.05);
    padding: 0.45rem;
    margin: 0 0 1.7rem;
    -webkit-overflow-scrolling: touch;
}
.report-tabs::-webkit-scrollbar { display: none; }
.report-tab {
    font-family: var(--font-mono);
    font-size: 0.74rem; font-weight: 600;
    letter-spacing: 0.10em; text-transform: uppercase;
    padding: 0.8rem 1rem;
    white-space: nowrap;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: color 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo), background 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo);
}
.report-tab:hover { color: var(--text-primary); border-color: var(--border-soft); background: var(--bg-card); }
.report-tab.is-active {
    color: var(--text-primary);
    border-color: rgba(212,116,44,0.32);
    background: var(--bg-card);
    box-shadow: var(--card-lift);
}
.tab-panel { display: none; }
.tab-panel.is-active { display: grid; gap: 1.4rem; animation: stageIn 0.4s var(--ease-out-expo); }
.report-block__title {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-orange);
    margin-bottom: 1.1rem;
}
.report-block h3 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 0.6rem;
}

/* Radar */
.radar-wrap { display: flex; flex-direction: column; gap: 1.4rem; }
.radar-svg { width: 100%; max-width: 460px; margin: 0 auto; display: block; }
.radar-axis-label { font-family: var(--font-mono); font-size: 12px; fill: var(--text-secondary); }
.radar-grid { stroke: var(--border-soft); fill: none; }
.radar-axis { stroke: var(--border-faint); }
.radar-data { fill: rgba(212,116,44,0.18); stroke: var(--accent-orange); stroke-width: 2; stroke-linejoin: round; }
.radar-point { fill: var(--accent-orange); }

/* Dimension list */
.dim-list { display: grid; gap: 0.9rem; }
.dim-row {
    display: grid;
    grid-template-columns: 150px 1fr 56px;
    gap: 1rem;
    align-items: center;
    padding: 0.5rem 0;
}
.dim-row__name { font-weight: 500; font-size: 0.9rem; color: var(--text-primary); }
.dim-row__bar {
    height: 8px;
    background: var(--border-faint);
    border-radius: 99px;
    overflow: hidden;
    position: relative;
}
.dim-row__bar::after {
    content: "";
    position: absolute; inset: 0 auto 0 0;
    width: var(--w, 0%);
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
    border-radius: 99px;
    transition: width 0.8s var(--ease-out-expo);
}
.dim-row__score {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.92rem;
    text-align: right;
    color: var(--text-primary);
}
.dim-row__score small { color: var(--text-muted); font-weight: 400; }
.dim-row__stage { font-family: var(--font-mono); font-size: 0.68rem; color: var(--text-muted); display:block; margin-top:0.15rem; }

/* Two-column block (strengths / risks) */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.insight-list { display: grid; gap: 1rem; }
.insight {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 10px;
    padding: 1rem 1.1rem;
    box-shadow: var(--card-lift);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}
.insight:hover { transform: translateY(-2px); box-shadow: var(--card-lift-hover); }
.insight.is-risk .insight__tag { color: #b6502a; }
.insight:not(.is-risk):not(.is-neutral) .insight__tag { color: var(--accent-orange); }
.insight__tag {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.insight__head { font-weight: 600; font-size: 0.96rem; color: var(--text-primary); margin: 0.2rem 0 0.4rem; }
.insight__body { font-size: 0.86rem; line-height: 1.5; color: var(--text-secondary); }
.insight-empty {
    background: linear-gradient(135deg, rgba(212,116,44,0.07), rgba(255,255,255,0.92));
    border-style: dashed;
    box-shadow: none;
}
.insight-empty:hover { transform: none; box-shadow: none; }
.insight-empty .insight__tag { color: var(--accent-orange); }

/* Recommendations */
.recs { display: grid; gap: 1rem; }
.rec {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.2rem 1.3rem;
    background: var(--bg-card);
    box-shadow: var(--card-lift);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}
.rec:hover { transform: translateY(-2px); box-shadow: var(--card-lift-hover); }
.rec__rank {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    color: var(--accent-orange);
    font-weight: 600;
}
.rec__title { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin: 0.25rem 0 0.4rem; }
.rec__why { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.5; }
.rec__action {
    margin-top: 0.6rem;
    font-size: 0.86rem;
    color: var(--text-primary);
    line-height: 1.5;
    padding-top: 0.6rem;
    border-top: 1px dashed var(--border-soft);
}
.rec__action b { color: var(--accent-orange); font-weight: 600; }
.rec__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.tag {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.55rem;
    border-radius: 99px;
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
    background: var(--bg-card);
}
.tag--impact-hoch { color: var(--accent-orange); border-color: var(--accent-orange); }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.roadmap.steps-grid { grid-template-columns: repeat(4, 1fr); }
.roadmap-phase {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.4rem 1.3rem;
    background: var(--bg-card);
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-lift);
    transition: transform 0.25s var(--ease-out-expo), box-shadow 0.25s var(--ease-out-expo);
}
.roadmap-phase:hover { transform: translateY(-2px); box-shadow: var(--card-lift-hover); }
.roadmap-phase::before {
    content: "";
    position: absolute; top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--accent-orange), var(--accent-orange-bright));
    opacity: 0.85;
}
.roadmap-phase__when {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-orange);
}
.roadmap-phase__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    margin: 0.3rem 0 0.8rem;
}
.roadmap-phase ul { list-style: none; display: grid; gap: 0.55rem; }
.roadmap-phase li { font-size: 0.84rem; line-height: 1.45; color: var(--text-secondary); padding-left: 1.1rem; position: relative; }
.roadmap-phase li::before { content: "→"; position: absolute; left: 0; color: var(--accent-orange); font-weight: 700; }
.roadmap-logic { font-size: 0.86rem; color: var(--text-secondary); line-height: 1.55; margin-top: 1.2rem; padding: 1rem 1.2rem; background: var(--bg-card-alt); border-radius: 10px; border: 1px solid var(--border-soft); box-shadow: var(--card-lift); }

/* Industry / benchmark */
.benchmark { display: grid; gap: 0.8rem; }
.benchmark p { font-size: 0.9rem; line-height: 1.55; color: var(--text-secondary); }
.benchmark ul { list-style: none; display: grid; gap: 0.4rem; margin-top: 0.4rem; }
.benchmark li { font-size: 0.86rem; color: var(--text-secondary); padding-left: 1.1rem; position: relative; }
.benchmark li::before { content: "◆"; position: absolute; left: 0; color: var(--accent-orange); font-size: 0.7rem; top: 0.18rem; }
.benchmark li strong { color: var(--text-primary); }

/* Maturity ladder */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; margin: 0.4rem 0 0.6rem; }
.ladder__step {
    text-align: center;
    padding: 0.7rem 0.3rem;
    border-radius: 8px;
    border: 1px solid var(--border-soft);
    background: var(--bg-card-alt);
    position: relative;
    box-shadow: 0 1px 2px rgba(40,30,12,0.03);
}
.ladder__step.is-current {
    border-color: var(--accent-orange);
    background: linear-gradient(135deg, rgba(212,116,44,0.12), rgba(255,140,66,0.06));
    box-shadow: 0 0 0 2px var(--accent-glow);
}
.ladder__num { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: var(--accent-orange); }
.ladder__name { font-size: 0.72rem; color: var(--text-secondary); margin-top: 0.2rem; line-height: 1.2; }
.ladder__range { font-family: var(--font-mono); font-size: 0.62rem; color: var(--text-muted); margin-top: 0.2rem; }

/* CTA / actions */
.report-cta {
    background: linear-gradient(135deg, var(--bg-card-alt), var(--bg-card));
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 2rem;
    margin-top: 1.4rem;
    text-align: center;
}
.report-cta h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.5rem; }
.report-cta p { color: var(--text-secondary); max-width: 560px; margin: 0 auto 1.3rem; line-height: 1.55; }
.report-cta__btns { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; }

.report-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.method-note { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; margin-top: 1.6rem; border-top: 1px solid var(--border-faint); padding-top: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .setup-grid { grid-template-columns: repeat(2, 1fr); }
    .report-hero { grid-template-columns: 1fr; text-align: center; }
    .report-hero__verdict { margin-left: auto; margin-right: auto; }
    .gauge { max-width: 220px; }
    .report-tools { align-items: flex-start; flex-direction: column; }
    .report-tools__actions { width: 100%; justify-content: flex-start; }
    .roadmap { grid-template-columns: 1fr; }
    .split-2 { grid-template-columns: 1fr; }
    .roadmap.steps-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
    .test-container { padding: 0 1.2rem; }
    .test-section { padding: 3rem 0; }
    .setup-grid { grid-template-columns: 1fr; }
    /* kompakter mobile Stepper statt vier schwerer Karten */
    .roadmap.steps-grid { counter-reset: step; grid-template-columns: 1fr; gap: 0.6rem; }
    .roadmap.steps-grid .roadmap-phase {
        counter-increment: step;
        display: grid;
        grid-template-columns: 1.9rem 1fr;
        column-gap: 0.85rem;
        row-gap: 0.2rem;
        align-items: start;
        padding: 0.85rem 0.95rem;
        border: 1px solid var(--border-faint);
        border-radius: 10px;
        box-shadow: 0 3px 0 rgba(212, 116, 44, 0.07);
    }
    .roadmap.steps-grid .roadmap-phase::before {
        content: counter(step);
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: center;
        width: 1.9rem;
        height: 1.9rem;
        border-radius: 50%;
        background: var(--accent-orange);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-family: var(--font-mono);
        font-size: 0.82rem;
        font-weight: 600;
        position: static;
        opacity: 1;
        letter-spacing: 0;
    }
    .roadmap.steps-grid .roadmap-phase__when { display: none; }
    .roadmap.steps-grid .roadmap-phase__title { grid-column: 2; grid-row: 1; margin: 0; align-self: center; font-size: 1rem; }
    .roadmap.steps-grid .roadmap-phase ul { grid-column: 2; grid-row: 2; }
    .roadmap.steps-grid .roadmap-phase li { font-size: 0.8rem; }
    .dim-row { grid-template-columns: 1fr 50px; gap: 0.6rem; }
    .dim-row__name { grid-column: 1 / -1; }
    .questions { padding: 0 1.2rem 2rem; }
    .q-scale { flex-direction: column; align-items: stretch; gap: 0.55rem; }
    .q-pill { min-width: 0; width: 100%; text-align: left; padding: 0.8rem 1rem; display: flex; align-items: center; gap: 0.7rem; }
    .q-pill::before { content: attr(data-v); font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--accent-orange); width: 1.1rem; flex: 0 0 auto; }
    .q-pill.is-selected::before { color: #fff; opacity: 0.95; }
    .gauge__big { font-size: 2.4rem; }
    .report-tools__actions .btn { width: 100%; justify-content: center; }
    .report-tab { padding: 0.5rem 0.6rem; font-size: 0.68rem; }
    .report-tabs { margin-bottom: 1.2rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .test-stage.is-active { animation: none; }
    .q-progress-fill, .dim-row__bar::after { transition: none; }
    .industry-tile:hover, .btn-primary:hover, .insight:hover, .rec:hover, .roadmap-phase:hover { transform: none; }
}

/* Mobile-Navigation: backdrop-filter auf .top-nav macht das fixierte
   .nav-links-Panel zum Containing-Block-Kind und zerquetscht es auf 80px.
   Auf Testseiten blenden wir das Blur bis 768px aus und geben dem Nav
   einen nahezu deckenden Hintergrund, damit das Panel vollflächig wird. */
@media (max-width: 768px) {
    .top-nav {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(244, 242, 238, 0.95);
    }
}

/* Druck-Header nur im Print sichtbar */
.print-report-head { display: none; }

/* ---------- Print (nur Report) ---------- */
@media print {
    @page { size: A4; margin: 14mm 12mm; }
    .top-nav, .background-effects, .scroll-progress, .back-to-top,
    .q-progress-bar, .report-actions, .report-tools, .report-cta__btns, .flow-actions,
    .report-tabs, .site-footer { display: none !important; }
    body { background: #fff; }
    * { -webkit-print-color-adjust: exact !important; print-color-adjust: exact !important; }
    .test-page { padding-top: 0; }
    .test-stage { display: none; }
    #stage-report { display: block !important; }
    .tab-panel { display: block !important; }
    .report-hero, .report-block, .rec, .roadmap-phase, .insight, .ladder__step, .report-cta {
        box-shadow: none; border: 1px solid #ddd; break-inside: avoid;
    }
    .report-block__title { break-after: avoid; }
    .radar-svg, .gauge { max-width: 320px; }
    .split-2 { display: block; }
    .split-2 > div { break-inside: avoid; margin-bottom: 1rem; }
    .roadmap { grid-template-columns: repeat(3, 1fr); }
    .ladder { grid-template-columns: repeat(5, 1fr); }
    .print-report-head { display: block !important; border-bottom: 2px solid var(--accent-orange); padding-bottom: 0.6rem; margin-bottom: 1.4rem; }
    .print-report-head__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: #17150f; }
    .print-report-head__sub { font-size: 1rem; color: #17150f; }
    .print-report-head__meta { font-family: var(--font-mono); font-size: 0.8rem; color: #5d574c; margin-top: 0.2rem; }
}

/* =========================================================
   Overrides für Testseiten (Licht-Theme only)
   helle Modale (style.css modals sind dunkel)
   Disabled-Button- und Shake-States (vom Motor genutzt)
   ========================================================= */

/* Helle Modale: style.css definiert Modale dunkel (Master-Gen-Kontext).
   Testseiten sind rein hell, daher überschreiben wir hier. */
body.mode-light .modal { background-color: rgba(23, 21, 15, 0.45); }
body.mode-light .modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-soft);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft);
    border-radius: 12px;
}
body.mode-light .modal h2 { color: var(--text-primary); }
body.mode-light .modal-body { color: var(--text-secondary); }
body.mode-light .modal-body h3 { color: var(--text-primary); }
body.mode-light .modal-divider { background: var(--border-soft); }
body.mode-light .close-modal { color: var(--text-muted); }
body.mode-light .close-modal:hover { color: var(--accent-orange); }

/* Disabled-Button-State (Motor: .is-disabled + disabled-Attr) */
.btn.is-disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none;
}
.btn-primary.is-disabled,
.btn-primary:disabled { box-shadow: none; }

/* Shake-Feedback bei ungültigem Setup-Weiter-Klick */
@keyframes nikkShake {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}
.shake { animation: nikkShake 0.4s var(--ease-in-out); }

/* Fokus-Sichtbarkeit für Test-Controls (Pills/Tiles), die outline none erben */
.q-pill:focus-visible,
.industry-tile:focus-visible,
.btn-secondary:focus-visible {
    outline: 2px solid var(--accent-orange);
    outline-offset: 3px;
}

/* Neutrale Entwicklungsfelder (mittlere Reife 52 bis 61), dezent, nicht rot */
.insight.is-neutral .insight__tag { color: var(--text-muted); }


/* =========================================================
   TESTS-ÜBERSICHT (/tests/) — Premium-Hero + Bildkachel-Grid
   ========================================================= */
.ov-page { padding-top: 0; } /* Offset übernimmt main.test-page, kein Doppelpadding */

.ov-hero {
    position: relative;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
}
.ov-hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.ov-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(244,242,238,0.88) 0%, rgba(244,242,238,0.62) 38%, rgba(244,242,238,0.92) 100%);
}
.ov-hero__inner {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: clamp(1.1rem, 4vh, 2rem) 2rem clamp(1.6rem, 5vh, 2.6rem);
}
.ov-hero h1 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin: 1rem 0 1.1rem;
}
.ov-hero .ov-lede {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    max-width: 680px;
}
.ov-hero__facts {
    display: flex;
    gap: 2.4rem;
    flex-wrap: wrap;
    margin-top: 1.8rem;
}
.ov-hero__fact { display: flex; flex-direction: column; }
.ov-hero__fact b {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-orange);
    line-height: 1;
}
.ov-hero__fact span {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.ov-section { padding: clamp(2.5rem, 5vw, 3.5rem) 0 1rem; }
.ov-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
}
.ov-cats a {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: var(--bg-card);
    transition: color 0.25s var(--ease-out-expo), border-color 0.25s var(--ease-out-expo), transform 0.25s var(--ease-out-expo);
}
.ov-cats a:hover { color: var(--accent-orange); border-color: var(--accent-orange); transform: translateY(-1px); }

.ov-cat { margin-bottom: 2.4rem; scroll-margin-top: calc(var(--header-height) + 1rem); }
.ov-cat:last-child { margin-bottom: 0; }
.ov-cat__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 0 0 0.3rem;
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
}
.ov-cat__num {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-orange);
    letter-spacing: 0.06em;
}
.ov-cat__sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0 0 1.1rem;
    max-width: 560px;
}
.ov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}
.ov-card {
    position: relative;
    display: block;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-soft);
    background: var(--bg-card);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    color: inherit;
    min-height: 240px;
    isolation: isolate;
    transition: transform 0.5s var(--ease-out-expo),
                box-shadow 0.5s var(--ease-out-expo),
                border-color 0.5s var(--ease-out-expo);
}
.ov-card:hover, .ov-card:focus-visible {
    transform: translateY(-6px);
    border-color: rgba(212, 116, 44, 0.5);
    box-shadow: 0 30px 60px rgba(40, 30, 12, 0.20),
                0 0 0 1px rgba(212, 116, 44, 0.18);
    outline: none;
}
.ov-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 32%;
    z-index: -2;
    transition: transform 0.8s var(--ease-out-expo);
}
.ov-card:hover .ov-card__media { transform: scale(1.05); }
.ov-card__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(15, 12, 8, 0.55) 0%, rgba(15, 12, 8, 0) 30%),
        linear-gradient(0deg, rgba(15, 12, 8, 0.95) 0%, rgba(15, 12, 8, 0.5) 45%, rgba(15, 12, 8, 0) 80%),
        linear-gradient(120deg, rgba(212, 116, 44, 0.14), transparent 55%);
}
.ov-card__scrim::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 90% at 16% 108%, rgba(212, 116, 44, 0.3), transparent 58%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out-expo);
}
.ov-card:hover .ov-card__scrim::after { opacity: 1; }
.ov-card__top {
    position: absolute;
    top: 0.9rem; left: 1.1rem; right: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}
.ov-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
    padding: 0.3rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(15, 12, 8, 0.24);
}
.ov-card__eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-orange-bright);
    box-shadow: 0 0 8px var(--accent-glow);
}
.ov-card__index {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.62);
}
.ov-card__body {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1.1rem 1.2rem 1.15rem;
    color: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.ov-card__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.05rem, 1.8vw, 1.28rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.4);
    margin: 0;
}
.ov-card__lede {
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ov-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.4rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.ov-card__facts { display: flex; gap: 1.1rem; }
.ov-card__fact { display: flex; flex-direction: column; line-height: 1.1; }
.ov-card__fact b {
    font-family: var(--font-mono);
    font-size: 0.86rem; font-weight: 600; color: var(--accent-orange-bright);
}
.ov-card__fact span {
    font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
    margin-top: 0.15rem;
}
.ov-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600; font-size: 0.84rem;
    color: #fff;
    white-space: nowrap;
}
.ov-card__cta::after {
    content: "";
    width: 22px; height: 1px;
    background: var(--accent-orange-bright);
    transition: width 0.3s var(--ease-out-expo);
}
.ov-card:hover .ov-card__cta::after { width: 38px; }

.ov-content {
    max-width: 820px;
    margin: 0 auto;
    padding: 1rem 2rem 1rem;
}
.ov-content h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}
.ov-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.ov-faq { max-width: 820px; margin: 1rem auto 0; padding: 0 2rem 2.5rem; }
.ov-faq__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    margin: 1.5rem 0 1.2rem;
}
.ov-faq details {
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    background: var(--bg-card);
    margin-bottom: 0.8rem;
    padding: 1rem 1.2rem;
    box-shadow: var(--card-lift);
}
.ov-faq summary {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    color: var(--text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.ov-faq summary::-webkit-details-marker { display: none; }
.ov-faq summary::after { content: "+"; color: var(--accent-orange); font-weight: 600; font-size: 1.2rem; }
.ov-faq details[open] summary::after { content: "–"; }
.ov-faq__a { color: var(--text-secondary); line-height: 1.6; margin-top: 0.8rem; }

@media (max-width: 820px) {
    .ov-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ov-card { min-height: 230px; }
    .ov-hero__facts { gap: 1.6rem; }
}
@media (max-width: 560px) {
    .ov-grid { grid-template-columns: 1fr; }
    .ov-card { min-height: 250px; }
    .ov-cat__title { flex-wrap: wrap; gap: 0.4rem; }
}

/* ---------- Dark-Theme-Anpassung (Testseiten, wenn umgeschaltet) ---------- */
body.mode-dark .test-hero__scrim {
    background:
        linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 30%),
        linear-gradient(0deg, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0) 80%),
        linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(0,0,0,0) 48%),
        linear-gradient(120deg, rgba(212,116,44,0.18), transparent 55%);
}
body.mode-dark .ov-hero__scrim {
    background: linear-gradient(180deg, rgba(5,5,5,0.88) 0%, rgba(5,5,5,0.62) 40%, rgba(5,5,5,0.92) 100%);
}
body.mode-dark .ov-card { background: rgba(255,255,255,0.03); }
body.mode-dark .ov-cat__title,
body.mode-dark .ov-cat__sub { color: var(--text-primary); }
body.mode-dark .ov-cat__sub { color: var(--text-secondary); }
body.mode-dark .ov-cats a { color: var(--text-secondary); }
