.uelegal-rente {
    max-width: 1100px;
    margin: 0 auto;
    padding: 24px 16px 60px;
    box-sizing: border-box;
    color: #172033;
}

.uelegal-rente *,
.uelegal-rente *::before,
.uelegal-rente *::after {
    box-sizing: border-box;
}

.uelegal-rente-hero {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    padding: 38px;
    border-radius: 22px;
    background: #172033;
    color: #fff;
    margin-bottom: 22px;
}

.uelegal-rente-kicker {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    opacity: .8;
}

.uelegal-rente-hero h1 {
    color: #fff;
    margin: 0 0 10px;
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.05;
}

.uelegal-rente-hero p {
    margin: 0;
    max-width: 650px;
    font-size: 17px;
    line-height: 1.6;
    opacity: .9;
}

.uelegal-rente-year {
    display: flex;
    width: 92px;
    height: 92px;
    min-width: 92px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: #172033;
    font-size: 22px;
    font-weight: 800;
}

.uelegal-rente-info,
.uelegal-rente-legal {
    padding: 18px 20px;
    border: 1px solid #dfe5ec;
    border-radius: 14px;
    background: #f7f9fb;
    line-height: 1.6;
}

.uelegal-rente-info {
    margin-bottom: 22px;
}

.uelegal-rente-section {
    margin: 22px 0;
    padding: 28px;
    border: 1px solid #e0e5eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 30px rgba(23, 32, 51, .06);
}

.uelegal-rente-section-title {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 24px;
}

.uelegal-rente-section-title > span {
    display: flex;
    width: 44px;
    height: 44px;
    min-width: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #172033;
    color: #fff;
    font-weight: 800;
}

.uelegal-rente-section-title h2 {
    margin: 0 0 4px;
    font-size: 23px;
}

.uelegal-rente-section-title p {
    margin: 0;
    color: #667085;
}

.uelegal-rente-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.uelegal-rente-method {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 18px;
    border: 1px solid #dce2e9;
    border-radius: 13px;
    cursor: pointer;
}

.uelegal-rente-method input {
    margin-top: 4px;
}

.uelegal-rente-method strong,
.uelegal-rente-method small {
    display: block;
}

.uelegal-rente-method small {
    margin-top: 4px;
    color: #667085;
    line-height: 1.4;
}

.uelegal-rente-income-head,
.uelegal-rente-income-row {
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) 48px;
    gap: 14px;
    align-items: end;
}

.uelegal-rente-income-head {
    padding: 0 0 8px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.uelegal-rente-income-row {
    padding: 14px 0;
    border-top: 1px solid #edf0f3;
}

.uelegal-rente-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.uelegal-rente-field input {
    width: 100%;
    height: 48px;
    padding: 0 13px;
    border: 1px solid #ccd4dd;
    border-radius: 9px;
    background: #fff;
    font-size: 16px;
}

.uelegal-rente-money {
    display: flex;
    align-items: center;
    border: 1px solid #ccd4dd;
    border-radius: 9px;
    overflow: hidden;
}

.uelegal-rente-money input {
    border: 0;
    border-radius: 0;
}

.uelegal-rente-money span {
    padding: 0 15px;
    font-weight: 700;
    color: #667085;
}

.uelegal-rente-remove-year {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 9px;
    background: #f1f3f5;
    font-size: 25px;
    cursor: pointer;
}

.uelegal-rente-remove-year:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.uelegal-rente-add-year {
    margin-top: 15px;
    padding: 12px 17px;
    border: 1px solid #172033;
    border-radius: 9px;
    background: #fff;
    color: #172033;
    font-weight: 800;
    cursor: pointer;
}

.uelegal-rente-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.uelegal-rente-points-field {
    max-width: 400px;
}

.uelegal-rente-actions {
    margin: 25px 0;
}

.uelegal-rente-primary {
    width: 100%;
    min-height: 56px;
    padding: 14px 22px;
    border: 0;
    border-radius: 12px;
    background: #172033;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.uelegal-rente-results {
    margin: 28px 0;
    padding: 28px;
    border: 1px solid #dce2e9;
    border-radius: 18px;
    background: #fff;
}

.uelegal-rente-results-heading span {
    color: #667085;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.uelegal-rente-results-heading h2 {
    margin: 5px 0 20px;
}

.uelegal-rente-placeholder {
    padding: 20px;
    border-radius: 12px;
    background: #f7f9fb;
}

.uelegal-rente-placeholder p {
    margin-bottom: 0;
}

@media (max-width: 720px) {
    .uelegal-rente-hero {
        padding: 28px 22px;
        align-items: flex-start;
    }

    .uelegal-rente-year {
        width: 68px;
        height: 68px;
        min-width: 68px;
        font-size: 17px;
    }

    .uelegal-rente-section {
        padding: 20px 16px;
    }

    .uelegal-rente-methods,
    .uelegal-rente-grid {
        grid-template-columns: 1fr;
    }

    .uelegal-rente-income-head {
        display: none;
    }

    .uelegal-rente-income-row {
        grid-template-columns: 1fr 48px;
    }

    .uelegal-rente-income-row .uelegal-rente-field:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .uelegal-rente-hero {
        display: block;
    }

    .uelegal-rente-year {
        margin-top: 20px;
    }
}

/* =========================================================
   RENTENRECHNER - RESULTS
   ========================================================= */

.uelegal-rente-result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.uelegal-rente-result-card {
    padding: 20px;
    border: 1px solid #dce3ec;
    border-radius: 16px;
    background: #fff;
}

.uelegal-rente-result-card span {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #64748b;
}

.uelegal-rente-result-card strong {
    display: block;
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
}

.uelegal-rente-result-card small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

.uelegal-rente-projection-main {
    margin-top: 18px;
    padding: 24px;
    border-radius: 18px;
    background: #172033;
    color: #fff;
}

.uelegal-rente-projection-main span,
.uelegal-rente-projection-main small {
    display: block;
}

.uelegal-rente-projection-main span {
    margin-bottom: 7px;
    opacity: .8;
}

.uelegal-rente-projection-main strong {
    display: block;
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.1;
}

.uelegal-rente-projection-main small {
    margin-top: 8px;
    opacity: .8;
}

.uelegal-rente-detail-wrap {
    margin-top: 24px;
}

.uelegal-rente-detail-wrap h3 {
    margin: 0 0 12px;
}

.uelegal-rente-table-scroll {
    overflow-x: auto;
    border: 1px solid #dce3ec;
    border-radius: 14px;
}

.uelegal-rente-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 650px;
}

.uelegal-rente-table th,
.uelegal-rente-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid #e8edf3;
}

.uelegal-rente-table th {
    background: #f8fafc;
    font-size: 13px;
}

.uelegal-rente-table tbody tr:last-child td {
    border-bottom: 0;
}

.uelegal-rente-result-note {
    margin-top: 18px;
    padding: 16px 18px;
    border: 1px solid #dce3ec;
    border-radius: 14px;
    background: #f8fafc;
    line-height: 1.6;
}

@media (max-width: 700px) {
    .uelegal-rente-result-grid {
        grid-template-columns: 1fr;
    }
}
