.rechner-v3 {
    background: #0a0e1a;
    padding: 3rem 0 5rem;
}

.rechner-v3,
.rechner-v3 * {
    hyphens: none;
    -webkit-hyphens: none;
    word-break: normal;
    overflow-wrap: break-word;
}

.rechner-v3__container {
    max-width: min(var(--container-max), 100vw);
    margin: -15px auto 0;
    padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.rechner-v3__header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.rechner-v3__title {
    font-size: var(--text-3xl);
    text-align: center;
    margin-bottom: 0.75rem;
}

.rechner-v3__subtext {
    font-size: var(--text-lg);
    color: #d1d5db;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem auto;
}

.rechner-v3__grid {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    margin-top: -30px;
}

.rechner-v3__card {
    background: rgba(20, 27, 45, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.rechner-v3__inputs {
    flex: 1;
}

.rechner-v3__results {
    flex: 1;
    border-top: 2px solid rgba(0, 119, 255, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.rechner-v3__team-label {
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    color: #d1d5db;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.rechner-v3__team-toggle {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.rechner-v3__team-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #9ca3af;
    border-radius: 8px;
    padding: 0.5rem 1.25rem;
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.rechner-v3__team-btn:not(.active):hover .tab-text-pulse {
    animation-play-state: paused;
    opacity: 1;
}

.rechner-v3__team-btn:hover {
    border-color: rgba(255, 255, 255, 0.3);
    color: #d1d5db;
}

.rechner-v3__team-btn.active {
    background: #0077FF;
    color: #ffffff;
    border: 1px solid #0077FF;
    font-weight: 600;
    box-shadow: 0 0 15px rgba(0, 119, 255, 0.5), 0 0 30px rgba(0, 119, 255, 0.25);
}

.rechner-slider-group {
    margin-bottom: 1.5rem;
}

.rechner-slider-group label {
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    color: #d1d5db;
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.rechner-slider-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rechner-slider-row input[type='range'] {
    flex: 1;
    max-width: calc(100% - 130px);
    height: 6px;
    border-radius: 3px;
    background: #1f2937;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.rechner-slider-row input[type='range']::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 3px;
    background: #1f2937;
}

.rechner-slider-row input[type='range']::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0077FF;
    border: 2px solid #0a0e1a;
    box-shadow: 0 0 8px rgba(0, 119, 255, 0.4);
    margin-top: -7px;
    cursor: pointer;
}

.rechner-slider-row input[type='range']::-moz-range-track {
    height: 6px;
    border-radius: 3px;
    background: #1f2937;
}

.rechner-slider-row input[type='range']::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0077FF;
    border: 2px solid #0a0e1a;
    box-shadow: 0 0 8px rgba(0, 119, 255, 0.4);
    cursor: pointer;
}

.rechner-slider-row input[type='range']:hover::-webkit-slider-thumb {
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.6);
}

.rechner-slider-row input[type='range']:hover::-moz-range-thumb {
    box-shadow: 0 0 12px rgba(0, 119, 255, 0.6);
}

.rechner-slider-value {
    display: flex;
    align-items: center;
    min-width: 130px;
    width: 130px;
    flex-shrink: 0;
    justify-content: flex-start;
}

.rechner-slider-value input[type='number'] {
    width: 70px;
    background: #141b2d;
    border: 1px solid #1f2937;
    border-radius: 8px;
    color: #ffffff;
    text-align: center;
    padding: 0.4rem;
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
}

.rechner-slider-value input[type='number']::-webkit-outer-spin-button,
.rechner-slider-value input[type='number']::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.rechner-slider-unit {
    color: #d1d5db;
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    margin-left: 0.25rem;
    min-width: 72px;
    text-align: left;
    display: inline-block;
}

.rechner-v3__hint {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    color: #d1d5db;
    margin-top: 0.5rem;
}

.rechner-v3__result-label {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1rem;
}

.rechner-v3__amount-value,
.rechner-v3__amount-currency {
    font-size: clamp(2.5rem, 1.75rem + 3.75vw, 4.5rem);
    font-weight: 700;
    color: #ffffff;
}

.rechner-v3__amount-value {
    text-shadow: 0 0 20px rgba(0, 119, 255, 0.3), 0 0 40px rgba(0, 119, 255, 0.15);
}

.rechner-v3__amount-meta {
    font-size: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    color: #d1d5db;
    display: block;
    margin-top: 0.25rem;
}

.rechner-v3__monthly {
    font-size: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
    color: #d1d5db;
    margin-top: 0.75rem;
}

.rechner-v3__divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.rechner-v3__insight {
    font-size: clamp(1rem, 0.925rem + 0.375vw, 1.125rem);
    color: #d1d5db;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

.rechner-v3__time {
    font-size: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
    color: #d1d5db;
    margin-top: 1.25rem;
}

.rechner-v3__cta {
    margin-top: 2.5rem;
    text-align: center;
}

.rechner-v3__cta-btn {
    background: #0077FF;
    color: #ffffff;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: var(--text-base);
    font-weight: 600;
    font-family: var(--font-body);
    box-shadow: 0 0 20px rgba(0, 119, 255, 0.4), 0 0 40px rgba(0, 119, 255, 0.2);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.rechner-v3__cta-btn:hover {
    background: #0066DD;
    box-shadow: 0 0 25px rgba(0, 119, 255, 0.6), 0 0 50px rgba(0, 119, 255, 0.3);
}

.rechner-v3__trust {
    font-size: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    color: #d1d5db;
    text-align: center;
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.rechner-v3__trust-check {
    color: #00D98F;
}

@media (max-width: 767px) {
    .rechner-v3 {
        padding: 3rem 0;
    }

    .rechner-v3__grid {
        flex-direction: column;
    }

    .rechner-v3__card {
        padding: 1.25rem;
    }
}
