@import "common.css";

.hero-section {
    position: relative;
    width: 100%;
    height: 40vh;
    min-height: 400px;
    background: url("../../img/highlight-box-Hintergrund.JPG") no-repeat center center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.team-check-wrap {
    max-width: 990px;
    padding: 24px;
    font-family: 'Roboto', sans-serif;
    color: #1a1a1a;
    margin: -204px auto 100px;
    z-index: 1;
    position: relative;
}


.tc-intro {
    text-align: center;
    padding: 48px 0 40px;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.tc-intro__title {
    font-size: 2rem;
    font-weight: 600;
    color: #1a1a1a;
    background-color: #fff;
    border-radius: 15px;
    padding: 12px 24px;
    width: fit-content;
    margin: 0;
}

.tc-intro img {
    vertical-align: middle;
    border-style: none;
    height: 60px;
    background-color: #fff;
    padding: 10px;
    object-fit: contain;
    margin-top: -18px;
    margin-bottom: -18px;
}

.tc-intro__sub {
    font-size: 24px;
    color: #444;
    margin-bottom: 20px;
    border-radius: 15px;
    background-color: #fff;
    padding: 14px;
}
.tc-intro__meta {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 28px;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 24px;
}
.tc-intro__desc {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}


.tc-quadrant {
    margin-bottom: 80px;
}
.tc-quadrant__label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #F42B37;
    margin-bottom: 24px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F42B37;
}

.tc-question {
    margin-bottom: 36px;
}
.tc-question__thema {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}
.tc-question__text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.tc-slider {
    margin-top: 20px;
    padding: 0 4px;
}

.tc-slider__track-wrap {
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
    cursor: pointer;
    touch-action: none;
}

.tc-slider__line {
    position: relative;
    width: 100%;
    height: 2px;
    background: #333333;
}

.tc-slider__tick {
    position: absolute;
    top: 50%;
    width: 2px;
    height: 12px;
    margin-top: -6px;
    margin-left: -1px;
    background: #333333;
    pointer-events: none;
}

.tc-slider__tick--edge {
    height: 16px;
    margin-top: -8px;
}

.tc-slider__fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #F42B37;
}

.tc-slider__thumb {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #F42B37;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    transform: translate(-50%, -50%);
    cursor: grab;
    transition: box-shadow 0.15s;
    z-index: 2;
}
.tc-slider__thumb:active { cursor: grabbing; box-shadow: 0 2px 10px rgba(0,0,0,0.35); }
.tc-slider__thumb:focus-visible { outline: 2px solid #F42B37; outline-offset: 3px; }

.tc-slider--untouched .tc-slider__thumb { opacity: 0; }
.tc-slider--untouched .tc-slider__fill  { display: none; }

.tc-slider__labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    margin-top: 6px;
}

.tc-slider__value {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: #F42B37;
    margin-top: 4px;
    min-height: 1.2em;
}

.tc-submit-wrap {
    text-align: center;
    padding: 48px 0 24px;
    border-top: 1px solid #e0e0e0;
    margin-top: 16px;
}
.tc-submit-hint {
    font-size: 0.88rem;
    color: #999;
    margin-top: 12px;
}


.tc-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, opacity 0.2s;
}
.tc-btn--primary {
    background: #F42B37 ;
    color: #fff;
}
.tc-btn--primary:hover:not(:disabled) { background: #a93226; }
.tc-btn--primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.tc-btn--outline {
    background: transparent;
    border: 2px solid #F42B37 ;
    color: #F42B37 ;
}
.tc-btn--outline:hover { background: #F42B37 ; color: #fff; }


.tc-lead {
    max-width: 480px;
    margin: 0 auto;
    padding: 64px 0;
    text-align: center;
}
.tc-lead__title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
}
.tc-lead__text {
    font-size: 0.97rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 32px;
}
.tc-lead__form { text-align: left; }
.tc-lead__field { margin-bottom: 18px; }
.tc-lead__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
}
.tc-lead__input {
    width: 100%;
    padding: 11px 14px;
    font-size: 0.97rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.2s;
}
.tc-lead__input:focus { border-color: #F42B37 ; }
.tc-lead__check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.83rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 14px;
    cursor: pointer;
}
.tc-lead__check input {
    margin-top: 3px;
    flex-shrink: 0;
}
.tc-lead__submit {
    text-align: center;
    margin-top: 28px;
}
.tc-lead__hint {
    font-size: 0.85rem;
    color: #F42B37 ;
    margin-top: 12px;
    min-height: 1.2em;
}


.tc-thanks {
    max-width: 560px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}
.tc-thanks__title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}
.tc-thanks__sub {
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 24px;
}
.tc-thanks__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}
.tc-thanks__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: inline-block;
}
.tc-thanks__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 18px;
}
.tc-thanks__text--strong {
    font-weight: 700;
    color: #1a1a1a;
}
.tc-thanks__text--muted {
    font-size: 0.87rem;
    color: #888;
}


.loading-position-relative {
    position: relative;
}
.loading-bar-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
    z-index: 10;
}
.loading-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    overflow: hidden;
    background: #f0d0cc;
    z-index: 11;
}
.loading-bar > div {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 40%;
    background: #c0392b;
    animation: tc-loading-bar 1.2s ease-in-out infinite;
}
@keyframes tc-loading-bar {
    0%   { left: -40%; }
    100% { left: 100%; }
}


.tc-loading {
    max-width: 480px;
    margin: 0 auto;
    padding: 120px 0;
    text-align: center;
}
.tc-loading__spinner {
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    border: 4px solid #eee;
    border-top-color: #F42B37 ;
    border-radius: 50%;
    animation: tc-spin 0.8s linear infinite;
}
@keyframes tc-spin {
    to { transform: rotate(360deg); }
}
.tc-loading__text {
    font-size: 0.95rem;
    color: #888;
}


.tc-error {
    max-width: 480px;
    margin: 0 auto;
    padding: 100px 0;
    text-align: center;
}
.tc-error__title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.tc-error__text {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
}


.tc-results { padding: 48px 0; }

.tc-results__header {
    text-align: center;
    margin-bottom: 48px;
    margin-top: 200px;
}
.tc-results__title {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tc-results__score {
    font-size: 4rem;
    font-weight: 700;
    color: #F42B37 ;
    line-height: 1;
}
.tc-results__score span {
    font-size: 1.8rem;
    color: #888;
}
.tc-results__phase {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 12px 0 4px;
    color: #1a1a1a;
}
.tc-results__phase-sub {
    font-size: 0.95rem;
    color: #888;
}
.tc-results__systemisch {
    font-size: 0.97rem;
    color: #555;
    line-height: 1.7;
    max-width: 600px;
    margin: 20px auto 0;
}


.tc-chart-wrap {
    margin: 48px 0;
}

.tc-radar {
    width: 100%;
    height: auto;
    display: block;
}
.tc-radar__spoke {
    stroke: #e2e2e2;
    stroke-width: 1;
}
.tc-radar__cross {
    stroke: #333;
    stroke-width: 2;
}
.tc-radar__area {
    fill: rgba(192,57,43,0.12);
    stroke: #F42B37 ;
    stroke-width: 2;
    stroke-linejoin: round;
}
.tc-radar__dot {
    fill: #1a1a1a;
}
.tc-radar__label {
    fill: #555;
    font-size: 12px;
    font-family: 'Roboto', sans-serif;
}
.tc-radar__cardinal {
    fill: #333;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'Roboto', sans-serif;
}
.tc-radar__bubble-text {
    fill: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}


.tc-quadrant-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}
.tc-quadrant-tile {
    background: #f9f9f9;
    border-left: 4px solid #F42B37 ;
    padding: 20px;
    border-radius: 4px;
}
.tc-quadrant-tile__label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F42B37 ;
    margin-bottom: 8px;
}
.tc-quadrant-tile__score {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.tc-quadrant-tile__score span {
    font-size: 1rem;
    color: #888;
    font-weight: 400;
}
.tc-quadrant-tile__text {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.6;
}


.tc-abgleich {
    background: #fff8f8;
    border: 1px solid #f0d0cc;
    border-radius: 6px;
    padding: 28px;
    margin-bottom: 48px;
}
.tc-abgleich__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F42B37 ;
    margin-bottom: 10px;
}
.tc-abgleich__headline {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
}
.tc-abgleich__text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}


.tc-cta {
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    border-radius: 6px;
    padding: 48px 32px;
}
.tc-cta__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.tc-cta__text {
    font-size: 0.97rem;
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}


@media (max-width: 600px) {
    .team-check-wrap { padding-top: 70px; }
    .tc-quadrant-grid { grid-template-columns: 1fr; }
    .tc-results__score { font-size: 3rem; }
    .tc-intro__meta { flex-direction: column; gap: 8px; }
    .tc-slider__thumb { width: 26px; height: 26px; }
}