.tsi-quick-scan {
max-width: 820px;
margin: 40px auto;
padding: 48px;
font-family: Arial, sans-serif;
}

.tsi-quick-scan #tsi-progress-text {
margin-bottom: 20px;
font-size: 14px;
opacity: .7;
}

.tsi-quick-scan #tsi-dimension {
margin-bottom: 16px;
font-weight: 600;
}

.tsi-quick-scan #tsi-question {
font-size: 28px;
line-height: 1.35;
margin-bottom: 32px;
}

.tsi-quick-scan .tsi-answer {
display: block;
width: 100%;
padding: 16px 20px;
margin: 10px 0;
text-align: left;
cursor: pointer;
}

.tsi-quick-scan,
.tsi-quick-scan * {
box-sizing: border-box;
}

.tsi-quick-scan #tsi-question {
width: 100%;
max-width: 100%;
white-space: normal;
overflow-wrap: anywhere;
}

/* TSI Radar Chart */
#tsi-radar-chart {
display: block;
width: 100% !important;
height: 600px !important;
max-width: 900px;
margin: 20px auto 40px;
}

/* =========================================================
   TSI EXECUTIVE REPORT
   ========================================================= */

.tsi-report {
margin-top: 40px;
}

.tsi-report-hero,
.tsi-report-section {
background: rgba(255,255,255,0.035);
border: 1px solid rgba(255,255,255,0.10);
border-radius: 18px;
padding: 32px;
margin-bottom: 28px;
}

.tsi-report-kicker,
.tsi-ai-eyebrow {
font-size: 12px;
font-weight: 700;
letter-spacing: .16em;
text-transform: uppercase;
opacity: .65;
}

.tsi-report-hero h2 {
margin: 10px 0 8px;
font-size: 36px;
line-height: 1.15;
}

.tsi-report-meta {
margin: 0 0 28px;
opacity: .7;
}

.tsi-kpi-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.tsi-kpi-card {
padding: 24px;
border-radius: 14px;
background: rgba(255,255,255,0.045);
border: 1px solid rgba(255,255,255,0.08);
}

.tsi-kpi-label {
display: block;
font-size: 13px;
opacity: .65;
margin-bottom: 8px;
}

.tsi-kpi-value {
display: inline-block;
font-size: 48px;
line-height: 1;
margin-right: 8px;
}

.tsi-kpi-unit {
opacity: .6;
}

.tsi-kpi-level {
display: block;
font-size: 24px;
line-height: 1.25;
}

.tsi-section-heading {
display: flex;
gap: 16px;
align-items: flex-start;
margin-bottom: 26px;
}

.tsi-section-number {
font-size: 13px;
font-weight: 700;
opacity: .45;
padding-top: 5px;
}

.tsi-section-heading h3 {
margin: 0 0 4px;
font-size: 28px;
}

.tsi-section-heading p {
margin: 0;
opacity: .65;
}

.tsi-profile-layout {
display: grid;
grid-template-columns: minmax(280px, .9fr) minmax(0, 1.1fr);
gap: 30px;
align-items: start;
}

.tsi-radar-panel {
background: rgba(255,255,255,0.025);
border: 1px solid rgba(255,255,255,0.07);
border-radius: 14px;
padding: 18px;
position: sticky;
top: 24px;
}

#tsi-radar-svg svg {
display: block;
width: 100%;
max-width: 520px;
margin: 0 auto;
}

.tsi-dimension-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}

.tsi-dimension-card {
display: grid;
grid-template-columns: 1fr auto;
gap: 3px 12px;
align-items: center;
padding: 14px 16px;
border-radius: 12px;
background: rgba(255,255,255,0.035);
border: 1px solid rgba(255,255,255,0.07);
}

.tsi-dimension-name {
font-size: 14px;
line-height: 1.35;
}

.tsi-dimension-score {
font-size: 22px;
font-weight: 700;
grid-row: 1 / span 2;
grid-column: 2;
}

.tsi-dimension-max {
font-size: 11px;
opacity: .5;
}

.tsi-ai-analysis {
display: grid;
gap: 18px;
}

.tsi-ai-loading {
padding: 24px;
border-radius: 12px;
background: rgba(255,255,255,0.035);
opacity: .75;
}

.tsi-ai-card,
.tsi-management-impulse {
padding: 24px;
border-radius: 14px;
background: rgba(255,255,255,0.035);
border: 1px solid rgba(255,255,255,0.08);
}

.tsi-ai-card-featured {
background: rgba(255,255,255,0.055);
}

.tsi-ai-card h4 {
margin: 0 0 14px;
font-size: 20px;
}

.tsi-ai-card p,
.tsi-management-impulse p {
line-height: 1.7;
margin-bottom: 0;
}

.tsi-ai-card ul {
margin: 0;
padding-left: 20px;
}

.tsi-ai-card li {
margin-bottom: 10px;
line-height: 1.55;
}

.tsi-ai-two-column {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}

.tsi-action-plan {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
}

.tsi-action-phase {
padding: 18px;
border-radius: 12px;
background: rgba(255,255,255,0.03);
border: 1px solid rgba(255,255,255,0.07);
}

.tsi-action-phase > strong {
display: block;
font-size: 18px;
margin-bottom: 12px;
}

.tsi-management-impulse {
border-left: 4px solid rgba(84,168,255,1);
}

.tsi-management-impulse p {
font-size: 18px;
}

@media (max-width: 900px) {

.tsi-profile-layout,
.tsi-ai-two-column,
.tsi-action-plan {
grid-template-columns: 1fr;
}

.tsi-radar-panel {
position: static;
}

.tsi-dimension-grid {
grid-template-columns: 1fr;
}

}

@media (max-width: 640px) {

.tsi-quick-scan {
padding: 20px;
margin: 20px auto;
}

.tsi-report-hero,
.tsi-report-section {
padding: 22px;
border-radius: 14px;
}

.tsi-report-hero h2 {
font-size: 28px;
}

.tsi-kpi-grid {
grid-template-columns: 1fr;
}

.tsi-kpi-value {
font-size: 40px;
}

.tsi-section-heading h3 {
font-size: 24px;
}

}

/* =========================================================
   TSI REPORT LAYOUT REFINEMENT
   ========================================================= */

/* Kompetenzprofil: Radar und Werte klar voneinander trennen */
.tsi-profile-layout {
grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr);
gap: 24px;
}

.tsi-dimension-grid {
grid-template-columns: 1fr;
gap: 8px;
}

.tsi-dimension-card {
grid-template-columns: minmax(0, 1fr) auto;
padding: 11px 14px;
min-height: 58px;
}

.tsi-dimension-name {
padding-right: 14px;
overflow-wrap: normal;
word-break: normal;
}

.tsi-dimension-score {
min-width: 52px;
text-align: right;
white-space: nowrap;
}

.tsi-dimension-max {
grid-column: 1;
}

/* 30 / 60 / 90: mehr Platz für lesbaren Text */
.tsi-action-plan {
grid-template-columns: 1fr;
gap: 12px;
}

.tsi-action-phase {
display: grid;
grid-template-columns: 110px minmax(0, 1fr);
gap: 20px;
padding: 20px;
}

.tsi-action-phase > strong {
margin: 0;
}

.tsi-action-phase ul {
margin: 0;
}

/* Tablet / Mobile */
@media (max-width: 900px) {

.tsi-profile-layout {
grid-template-columns: 1fr;
}

.tsi-action-phase {
grid-template-columns: 1fr;
gap: 10px;
}

}


/* Dimensionswerte kleiner und ruhiger */
.tsi-dimension-score {
font-size: 17px;
font-weight: 700;
min-width: 44px;
margin-left: 16px;
text-align: right;
white-space: nowrap;
}

/* Radar im Kompetenzprofil vertikal zentrieren */
.tsi-radar-panel {
align-self: stretch;
display: flex;
align-items: center;
justify-content: center;
}

/* Responsive Gesamtbreite des Quick Scan Reports */
.tsi-quick-scan {
width: min(1180px, calc(100% - 48px));
max-width: 1180px;
}

.tsi-profile-layout {
grid-template-columns: minmax(360px, 0.95fr) minmax(420px, 1.05fr);
}

#tsi-radar-svg svg {
max-width: 620px;
}

@media (max-width: 1000px) {

.tsi-quick-scan {
width: min(920px, calc(100% - 36px));
}

.tsi-profile-layout {
grid-template-columns: 1fr;
}

.tsi-radar-panel {
min-height: 420px;
}

}

@media (max-width: 640px) {

.tsi-quick-scan {
width: calc(100% - 24px);
max-width: none;
padding: 16px;
}

.tsi-radar-panel {
min-height: 0;
}

}

/* Radar größer und besser lesbar */
#tsi-radar-svg svg {
width: 100%;
max-width: 760px;
}

#tsi-radar-svg text {
font-size: 16px;
font-weight: 500;
}

/* Radar füllt den linken Profilbereich stärker aus */
#tsi-radar-svg {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

#tsi-radar-svg svg {
width: 88%;
max-width: 880px;
}

/* Radar füllt den linken Profilbereich stärker aus */
#tsi-radar-svg {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}

#tsi-radar-svg svg {
width: 88%;
max-width: 880px;
}

/* =========================================================
   TSI Quick Scan – Ansari Dimension UI
   ========================================================= */

.tsi-quick-scan {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 48px 46px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 18%, rgba(126, 76, 255, 0.18), transparent 34%),
        radial-gradient(circle at 12% 82%, rgba(255, 73, 168, 0.10), transparent 30%),
        linear-gradient(145deg, rgba(28, 22, 64, 0.98), rgba(11, 15, 41, 0.99));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
    color: #ffffff;
    overflow: hidden;
}

#tsi-progress-text {
    margin-bottom: 30px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.10);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    position: relative;
}

#tsi-progress-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 28%;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff6a3d 0%, #f236a8 46%, #7a4dff 100%);
    box-shadow: 0 0 18px rgba(242, 54, 168, 0.35);
}

.tsi-scan-head {
    display: grid;
    grid-template-columns: 128px 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 34px;
}

#tsi-dimension-icon {
    width: 116px;
    height: 116px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at 30% 25%, rgba(255, 106, 61, 0.22), transparent 34%),
        radial-gradient(circle at 72% 68%, rgba(122, 77, 255, 0.28), transparent 38%),
        rgba(255, 255, 255, 0.025);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.025),
        0 18px 42px rgba(0, 0, 0, 0.24);
    position: relative;
}

#tsi-dimension-icon::before,
#tsi-dimension-icon::after {
    content: "";
    position: absolute;
    inset: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

#tsi-dimension-icon::before {
    width: 46px;
    height: 46px;
    border: 3px solid transparent;
    background:
        linear-gradient(#151331, #151331) padding-box,
        linear-gradient(135deg, #ff6a3d, #f236a8, #7a4dff) border-box;
}

#tsi-dimension-icon::after {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #ff6a3d, #f236a8, #7a4dff);
    box-shadow: 0 0 20px rgba(242, 54, 168, 0.55);
}

#tsi-dimension-number {
    margin-bottom: 9px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ff7b45, #ef3ca9, #8d63ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

#tsi-dimension {
    margin: 0;
    max-width: 860px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.06;
    font-weight: 750;
    letter-spacing: -0.035em;
    color: #ffffff;
}

#tsi-statements {
    display: grid;
    gap: 22px;
}

.tsi-statement {
    position: relative;
    padding: 28px 30px 26px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.tsi-statement-number {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.45);
}

.tsi-statement-text {
    max-width: 920px;
    margin-bottom: 25px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
}

.tsi-scale {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.tsi-scale-option {
    position: relative;
    display: flex;
    min-height: 86px;
    padding: 13px 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease,
        box-shadow 0.18s ease;
}

.tsi-scale-option:hover {
    transform: translateY(-2px);
    border-color: rgba(242, 54, 168, 0.45);
    background: rgba(255, 255, 255, 0.045);
}

.tsi-scale-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.tsi-scale-value {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 16px;
    font-weight: 800;
    color: #ffffff;
    transition: 0.18s ease;
}

.tsi-scale-label {
    max-width: 130px;
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
    color: rgba(255, 255, 255, 0.58);
}

.tsi-scale-option:has(input:checked) {
    border-color: transparent;
    background:
        linear-gradient(#171432, #171432) padding-box,
        linear-gradient(135deg, #ff6a3d, #f236a8, #7a4dff) border-box;
    box-shadow:
        0 0 0 1px rgba(242, 54, 168, 0.08),
        0 12px 28px rgba(83, 54, 160, 0.22);
}

.tsi-scale-option:has(input:checked) .tsi-scale-value {
    border-color: transparent;
    background: linear-gradient(135deg, #ff6a3d, #f236a8 48%, #7a4dff 100%);
    box-shadow: 0 8px 20px rgba(242, 54, 168, 0.28);
}

.tsi-scale-option:has(input:checked) .tsi-scale-label {
    color: rgba(255, 255, 255, 0.92);
}

.tsi-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

#tsi-prev,
#tsi-next {
    min-height: 50px;
    padding: 0 25px;
    border-radius: 999px;
    font: inherit;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: 0.18s ease;
}

#tsi-prev {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.025);
    color: rgba(255, 255, 255, 0.82);
}

#tsi-prev:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.07);
}

#tsi-prev:disabled {
    opacity: 0.28;
    cursor: not-allowed;
}

#tsi-next {
    min-width: 155px;
    border: 0;
    background: linear-gradient(90deg, #ff6a3d 0%, #f236a8 48%, #7a4dff 100%);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(186, 54, 180, 0.28);
}

#tsi-next:hover {
    transform: translateY(-1px);
    box-shadow: 0 15px 34px rgba(186, 54, 180, 0.36);
}

#tsi-result:not(:empty) {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 760px) {
    .tsi-quick-scan {
        padding: 28px 20px 30px;
        border-radius: 20px;
    }

    .tsi-scan-head {
        grid-template-columns: 86px 1fr;
        gap: 18px;
    }

    #tsi-dimension-icon {
        width: 82px;
        height: 82px;
        border-radius: 20px;
    }

    #tsi-dimension {
        font-size: 30px;
    }

    .tsi-statement {
        padding: 22px 18px;
    }

    .tsi-statement-text {
        font-size: 18px;
    }

    .tsi-scale {
        grid-template-columns: 1fr;
    }

    .tsi-scale-option {
        min-height: auto;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px 14px;
    }

    .tsi-scale-label {
        max-width: none;
        text-align: left;
        font-size: 12px;
    }

    .tsi-navigation {
        align-items: stretch;
    }

    #tsi-prev,
    #tsi-next {
        flex: 1;
    }
}

#tsi-progress-text::after {
    width: var(--tsi-progress, 8.33%);
    transition: width 0.35s ease;
}

#tsi-dimension-icon svg {
    width: 58px;
    height: 58px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    fill: none;
    stroke: #f236a8;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 8px rgba(242, 54, 168, 0.32));
}

#tsi-dimension-icon:has(svg)::before,
#tsi-dimension-icon:has(svg)::after {
    display: none;
}

@media (max-width: 760px) {
    #tsi-dimension-icon svg {
        width: 44px;
        height: 44px;
    }
}

/* =========================================================
   TSI Quick Scan – Final Call to Action
   ========================================================= */

.tsi-cta {
    position: relative;
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 34px;
    align-items: center;
    margin-top: 34px;
    padding: 34px 38px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background:
        radial-gradient(circle at 12% 30%, rgba(255, 106, 61, 0.13), transparent 34%),
        radial-gradient(circle at 88% 80%, rgba(122, 77, 255, 0.20), transparent 38%),
        rgba(255, 255, 255, 0.035);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 24px 55px rgba(0, 0, 0, 0.18);
}

.tsi-cta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(
        180deg,
        #ff6a3d 0%,
        #f236a8 48%,
        #7a4dff 100%
    );
}

.tsi-cta-person {
    position: relative;
    width: 132px;
    height: 132px;
    padding: 4px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ff6a3d 0%,
        #f236a8 48%,
        #7a4dff 100%
    );
    box-shadow: 0 16px 36px rgba(101, 55, 174, 0.28);
}

.tsi-cta-person img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 4px solid #151331;
}

.tsi-cta-content {
    position: relative;
    z-index: 1;
}

.tsi-cta-kicker {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(
        90deg,
        #ff7b45,
        #ef3ca9,
        #8d63ff
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tsi-cta h3 {
    margin: 0 0 12px;
    max-width: 720px;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: #ffffff;
}

.tsi-cta p {
    max-width: 760px;
    margin: 0 0 23px;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.tsi-cta p strong {
    color: #ffffff;
    font-weight: 700;
}

.tsi-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 27px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        #ff6a3d 0%,
        #f236a8 48%,
        #7a4dff 100%
    );
    box-shadow: 0 12px 28px rgba(186, 54, 180, 0.28);
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 750;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.tsi-cta-button::after {
    content: "→";
    margin-left: 10px;
    font-size: 18px;
    line-height: 1;
}

.tsi-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(186, 54, 180, 0.38);
    color: #ffffff !important;
}

@media (max-width: 760px) {
    .tsi-cta {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 28px 22px;
        text-align: center;
    }

    .tsi-cta-person {
        width: 112px;
        height: 112px;
        margin: 0 auto;
    }

    .tsi-cta p {
        margin-left: auto;
        margin-right: auto;
    }

    .tsi-cta-button {
        width: 100%;
    }
}
