

*{
    box-sizing:border-box;
}

body{
    margin:0;
    font-family:Arial,sans-serif;
    background:#f3f6fb;
    color:#0b1f4f;
}

.wrapper{
    display:flex;
    flex-wrap:wrap;
    min-height:100vh;
}

.sidebar{
    width:380px;
    background:white;
    padding:30px;
    border-right:1px solid #e5e7eb;
}

.content{
    flex:1;
    padding:40px;
}

.logo{

    text-align:center;

    margin-bottom:28px;

}

.logo-image{

    width:220px;

    max-width:100%;

    height:auto;

    display:block;

    margin:0 auto;

}

.logo span{
    color:#d4a017;
}

.form-group{
    margin-bottom:25px;
}

label{
    display:block;
    margin-bottom:10px;
    font-weight:bold;
}

input[type="number"]{
    width:100%;
    padding:15px;
    border-radius:14px;
    border:1px solid #d1d5db;
    font-size:16px;
}

.checkbox-card{
    display:flex;
    align-items:center;
    gap:12px;
    background:#f9fafb;
    padding:16px;
    border-radius:16px;
    margin-bottom:15px;
    font-weight:bold;
}

.etf-card{
    background:#f9fafb;
    padding:20px;
    border-radius:18px;
    margin-bottom:18px;
}

.sidebar button{

    width:100%;
    background:#14532d;
    color:white;
    border:none;
    padding:18px;
    border-radius:16px;
    font-size:18px;
    cursor:pointer;
    margin-top:25px;

}

.chart-card{
    background:white;
    padding:35px;
    border-radius:28px;
    box-shadow:0 5px 20px rgba(0,0,0,0.05);
}

.result-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:20px;
    margin-top:30px;
}

.result-box{
    border-radius:22px;
    padding:30px;
    color:white;
    text-align:center;
}

.blue{
    background:#60a5fa;
}

.green{
    background:#16a34a;
}

.gold{
    background:#d4a017;
}

.gray{
    background:#374151;
}

.result-box p{
    font-size:28px;
    font-weight:bold;
}


.compare-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:20px;
    margin-top:30px;
}

.compare-card{
    background:white;
    border-radius:24px;
    padding:24px;
    box-shadow:0 6px 20px rgba(0,0,0,0.05);
}

.compare-card h3{
    margin-top:0;
    margin-bottom:18px;
    font-size:24px;
}

.compare-card .big{
    font-size:42px;
    font-weight:bold;
    margin-bottom:20px;
}

.vm{
    border-top:6px solid #16a34a;
}

.dir{
    border-top:6px solid #0b1f4f;
}

.free{
    border-top:6px solid #9ca3af;
}

.ein{
    border-top:6px solid #7c3aed;
}

.compare-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    color:#374151;
}

.compare-divider{

    margin:22px 0;

    border:none;

    border-top:1px solid #e5e7eb;
}

.compare-info{

    margin-top:20px;
}

.compare-info-title{

    font-size:15px;

    font-weight:700;

    color:#0f172a;

    margin-bottom:8px;
}

.compare-info-text{

    color:#475569;

    line-height:1.55;

    white-space:pre-line;
}

.info-note{
    margin-top:30px;
    background:#eff6ff;
    border:1px solid #bfdbfe;
    padding:18px;
    border-radius:18px;
    color:#1e3a8a;
}

@media(max-width:900px){

    .sidebar{
        width:100%;
        border-right:none;
        border-bottom:1px solid #e5e7eb;
    }

    .content{
        padding:20px;
    }

    .compare-grid{
        grid-template-columns:1fr;
    }
}


.payout-grid{
    margin-top:30px;
}

.payout-grid .big{
    font-size:38px;
    font-weight:700;
    margin:20px 0;
}


.compare-card{
    transition:all .25s ease;
}

.compare-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,0.08);
}

.payout-grid .compare-card{
    background:linear-gradient(180deg,#ffffff,#f8fafc);
}

.payout-grid .big{
    color:#111827;
    font-size:46px;
    line-height:1.1;
}

.payout-grid h3{
    min-height:72px;
}




.portfolio-topbar{
display:flex;
justify-content:space-between;
align-items:flex-start;
gap:24px;
margin-bottom:28px;
flex-wrap:wrap;
}

.portfolio-open-button{
background:linear-gradient(135deg,#0f172a,#1e293b);
color:white;
border:none;
padding:18px 28px;
border-radius:22px;
font-size:18px;
font-weight:700;
cursor:pointer;
box-shadow:0 10px 25px rgba(15,23,42,0.2);
}

.portfolio-shield{

    width:42px;

    height:42px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#22c55e;

    font-size:32px;

}

.calculate-main-button{

    width:100%;

    border:none;

    cursor:pointer;

    min-height:96px;

    padding:22px;

    border-radius:24px;

    display:flex;

    align-items:center;

    background:
    linear-gradient(
        135deg,
        #0f9f44 0%,
        #16c04f 100%
    );

    color:white;

    box-shadow:
        0 12px 28px rgba(22,163,74,.25);

    transition:.25s;

}

.calculate-main-button:hover{

    transform:translateY(-2px);

    box-shadow:
        0 18px 36px rgba(22,163,74,.35);

}

.calc-main-line{

    font-size:24px;
    font-weight:800;

}

.calc-sub-line{

    font-size:17px;
    font-weight:500;

}

.calculate-main-button:disabled{

    background:
    linear-gradient(
        135deg,
        #9fd8b0 0%,
        #89cf9f 100%
    );

    cursor:not-allowed;

    box-shadow:none;

}

.calc-left{

    display:flex;

    align-items:center;

    gap:16px;

    width:100%;

    text-align:left;

}

.calc-icon{

    width:54px;
    height:54px;

    border-radius:50%;

    background:white;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    flex-shrink:0;

    color:#16c04f;

}

.calc-title{

    font-size:18px;

    font-weight:700;

    color:white;

    line-height:1.2;

}

.calc-subtitle{

    margin-top:4px;

    font-size:14px;

    font-weight:400;

    color:rgba(255,255,255,.85);

}
.selected-portfolio{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-top:18px;
max-width:900px;
}

.portfolio-chip{
background:#ffffff;
border:1px solid #0f9f44;
display:flex;
align-items:center;
gap:8px;

color:#0f9f44;
padding:10px 16px;
border-radius:999px;
font-size:14px;
font-weight:700;
}

.etf-modal{
display:none;
position:fixed;
inset:0;
background:rgba(15,23,42,0.7);
backdrop-filter:blur(6px);
z-index:99999;
padding:40px;
}

.etf-modal-content{
background:white;
border-radius:32px;
max-width:1200px;
margin:auto;
height:90vh;
display:flex;
flex-direction:column;
overflow:hidden;
}

.etf-modal-header{
display:flex;
justify-content:space-between;
align-items:flex-start;
padding:30px;
border-bottom:1px solid #e5e7eb;
}

.etf-modal-header h2{
margin:0;
font-size:32px;
}

.etf-modal-header p{
margin-top:10px;
color:#64748b;
}

.close-modal{

    border:none;

    background:none;

    cursor:pointer;

    font-size:36px;

    color:#64748b;

    flex-shrink:0;

    margin-left:20px;

    align-self:flex-start;

}

.etf-search-wrapper{
padding:24px;
border-bottom:1px solid #f1f5f9;
}

.etf-search{
width:100%;
padding:18px 22px;
border-radius:20px;
border:1px solid #dbe2ea;
font-size:16px;
}

.etf-list{
padding:24px;
overflow-y:auto;
display:flex;
flex-direction:column;
gap:14px;
}

.etf-row{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px;
background:#f8fafc;
border-radius:24px;
gap:20px;
}

.etf-name{
font-size:18px;
font-weight:700;
margin-bottom:6px;
}

.etf-wkn{
color:#64748b;
font-size:14px;
}

.etf-right{
display:flex;
align-items:center;
gap:14px;
}

.anteil-input{
width:90px;
padding:12px;
border-radius:14px;
border:1px solid #dbe2ea;
text-align:center;
    width:210px;
    min-width:210px;
}

.add-etf-button{
background:#0b1f4f;
color:white;
border:none;
padding:12px 18px;
border-radius:14px;
font-weight:700;
cursor:pointer;
    width:150px;
    min-width:150px;
}

@media(max-width:900px){

.etf-modal{
padding:12px;
}

.etf-row{
flex-direction:column;
align-items:flex-start;
}

.etf-right{
width:100%;
}

.portfolio-topbar{
flex-direction:column;
}

}






.sidebar{
display:flex;
flex-direction:column;
gap:18px;
}

.portfolio-topbar{
order:1;
margin-bottom:10px;
}

.calculate-main-button{
width:100%;
margin-top:10px;
}

.sonderzahlungen-block{
border-top:1px solid #e5e7eb;
padding-top:20px;
margin-top:10px;
}

.sonder-toggle{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px;

    margin-top:18px;

    border-radius:22px;

    cursor:pointer;

    background:
    linear-gradient(
        135deg,
        #07122f 0%,
        #0b1f4f 100%
    );

    color:white;

    min-height:75px;

    box-shadow:
        0 12px 28px rgba(7,18,47,.22);

    transition:.25s;

}

.sonder-toggle:hover{

    transform:translateY(-2px);

    box-shadow:
        0 18px 36px rgba(7,18,47,.35);

}

.sonder-plus{

    color:#8b5cf6;

    font-size:28px;

    font-weight:700;

    margin-right:10px;

}

.sonder-content{
display:none;
margin-top:12px;
}
#portfolioCard{
background:linear-gradient(180deg,#ffffff,#f8fafc)!important;
}
.portfolio-open-button{
font-size:20px;
padding:20px 28px;
}



<style id="v5-ui-system">
.sidebar{
 background:#fff;
 border-radius:28px;
 box-shadow:0 12px 40px rgba(15,23,42,.08);
 padding:32px;
}
.form-group{
 margin-bottom:20px;
}
.form-group label{
 font-size:15px;
 font-weight:800;
 color:#0f172a;
 margin-bottom:10px;
}
input[type="number"]{
 border-radius:18px;
 border:1px solid #dbe2ea;
 min-height:62px;
 font-size:18px;
}
.sonder-toggle{
 background:linear-gradient(135deg,#07122f,#0b1f4f)!important;
 border-radius:18px!important;
 font-weight:700!important;
}
.portfolio-open-button{
 background:linear-gradient(135deg,#07122f,#0b1f4f)!important;
 border-radius:22px!important;
 padding:22px!important;
 text-align:left;
}
.portfolio-open-button:before{
 content:"◔  ";
}
#portfolioCard{
 background:#fbfffc!important;
 border:1px solid #0f9f44!important;
 border-radius:22px!important;
 padding:22px!important;
}
#portfolioCount,#portfolioAllocation,#portfolioState{
 font-size:16px;
 font-weight:700;
 margin-top:10px;
}
.calculate-main-button{
 background:linear-gradient(135deg,#16a34a,#16c04f)!important;
 border-radius:22px!important;
 padding:22px!important;
 font-size:22px!important;
 font-weight:800!important;
}


.allocation-info{

    text-align:right;

    padding:0 24px 12px 24px;

    font-size:13px;

    font-weight:700;

    color:#64748b;

}

.rr-input{

    display:flex;
    align-items:center;

    height:74px;

    background:#ffffff;

    border:1px solid #dfe5ef;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
        0 2px 10px rgba(15,23,42,.04);

}

select.rr-input-field{

    width:100%;

    height:74px;

    padding:0 52px 0 18px;

    border:1px solid #dfe5ef;

    border-radius:18px;

    background:#ffffff;

    color:#0b1f4f;

    font-size:18px;

    font-weight:500;

    font-family:inherit;

    cursor:pointer;

    appearance:none;
    -webkit-appearance:none;
    -moz-appearance:none;

    box-shadow:0 2px 10px rgba(15,23,42,.04);

    transition:.2s;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1f4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 18px center;

    background-size:18px;
}

select.rr-input-field:hover{

    border-color:#0b1f4f;

}

select.rr-input-field:focus{

    outline:none;

    border-color:#16c04f;

    box-shadow:0 0 0 4px rgba(22,192,79,.15);

}

.rr-icon{

    width:56px;
    height:56px;

    margin-left:8px;

    border-radius:14px;

    background:white;

    color:#0b1f4f;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;

}

.rr-icon-money{

    background:#f5f3ff;

    color:#8b5cf6;

}

.rr-icon-tax{

    background:#f5f3ff;

    color:#8b5cf6;

    font-weight:700;

}

.rr-input-field{

    flex:1;

    border:none !important;

    background:transparent;

    font-size:18px;

    font-weight:500;

    padding-left:16px;

    outline:none;

    min-height:auto !important;

}

.rr-arrows{

    width:44px;

    display:flex;
    flex-direction:column;

    align-items:center;
    justify-content:center;

    color:#475569;

    font-size:12px;

    gap:2px;

    margin-right:10px;

}

.rr-arrows span{

    line-height:1;
    cursor:pointer;

}

.gender-label{

    display:flex;
    align-items:center;
    gap:8px;

}

.info-icon{

    position:relative;

    color:#16c04f;

    cursor:pointer;

    font-size:15px;

}

.info-tooltip{

    position:absolute;

    left:24px;
    top:-10px;

    width:320px;

    background:#0f172a;

    color:white;

    padding:12px 14px;

    border-radius:12px;

    font-size:13px;

    font-weight:400;

    line-height:1.45;

    opacity:0;

    visibility:hidden;

    transition:.2s;

    z-index:9999;

    box-shadow:
        0 10px 25px rgba(15,23,42,.25);

}

.info-icon:hover .info-tooltip{

    opacity:1;

    visibility:visible;

}

.rr-etf-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:22px;

    margin-top:18px;

    border-radius:22px;

    cursor:pointer;

    background:
    linear-gradient(
        135deg,
        #07122f 0%,
        #0b1f4f 100%
    );

    color:white;

    min-height:75px;

    box-shadow:
        0 12px 28px rgba(7,18,47,.22);

    transition:.25s;

}

.rr-etf-card:hover{

    transform:translateY(-2px);

    box-shadow:
        0 18px 36px rgba(7,18,47,.35);

}

.rr-etf-left{

    display:flex;

    align-items:center;

    gap:16px;

}

.rr-etf-icon{

    width:54px;

    height:54px;

    border-radius:50%;

    background:white;

    color:#0b1f4f;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:24px;

    flex-shrink:0;

}

.rr-etf-title{

    font-size:18px;

    font-weight:700;

    color:white;

}

.rr-etf-subtitle{

    margin-top:4px;

    font-size:14px;

    color:rgba(255,255,255,.85);

}

.rr-etf-arrow{

    font-size:20px;

    color:white;

}


/* =========================================
   DASHBOARD V2
========================================= */

.v2-section{

    margin-top:32px;

}

.v2-grid-4{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(220px,1fr)
        );

    gap:20px;

}

.v2-grid-3{

    display:grid;

    grid-template-columns:
        repeat(
            auto-fit,
            minmax(300px,1fr)
        );

    gap:24px;

}

.v2-card{

    background:white;

    border-radius:28px;

    padding:28px;

    box-shadow:
        0 8px 24px
        rgba(
            15,
            23,
            42,
            .06
        );
}

.v2-card h2{

    margin-top:0;

    margin-bottom:24px;

    color:#0f172a;
}

.v2-kpi{

    text-align:center;

    color:white;

    border-radius:24px;

    padding:28px;
}

.v2-kpi h3{

    margin:0 0 12px 0;

    font-size:18px;
}

.v2-kpi-value{

    font-size:34px;

    font-weight:800;
}

.v2-blue{

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #3b82f6
        );
}

.v2-green{

    background:
        linear-gradient(
            135deg,
            #15803d,
            #22c55e
        );
}

.v2-gold{

    background:
        linear-gradient(
            135deg,
            #b8860b,
            #d4a017
        );
}

.v2-dark{

    background:
        linear-gradient(
            135deg,
            #0f172a,
            #1e293b
        );
}

.v2-comparison{

    background:white;

    border-radius:26px;

    padding:30px;

    box-shadow:
        0 8px 24px
        rgba(
            15,
            23,
            42,
            .06
        );
}

.v2-comparison h3{

    margin-top:0;

    font-size:24px;
}

.v2-big{

    font-size:42px;

    font-weight:800;

    margin:20px 0;
}

.v2-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:14px;

    color:#475569;
}

.v2-placeholder{

    background:
        linear-gradient(
            135deg,
            #f8fafc,
            #eef2f7
        );

    border:2px dashed #cbd5e1;

    border-radius:24px;

    padding:40px;

    text-align:center;

    color:#64748b;

    font-size:18px;

    font-weight:600;
}

#portfolioChart{

    width:100% !important;

    height:420px !important;
}

.chart-placeholder{
    background:#f8fafc;
    border:1px solid #cbd5e1;
    border-radius:24px;
    padding:35px;
    color:#334155;
    line-height:1.7;
}
.chart-placeholder h2{margin-top:0;color:#0f172a;}
.chart-placeholder p{margin-bottom:14px;}


/* ======================================================
   DASHBOARD V3
====================================================== */

.chart-summary{

    background:transparent;

    padding:0;

    margin:0;

}

.chart-summary-title{

    font-size:15px;

    font-weight:700;

    color:#64748b;

}

.chart-summary-value{

    font-size:42px;

    font-weight:800;

    color:#0f172a;

    margin-top:6px;

}


.alternative-card{

    margin-top:32px;

    background:#ffffff;

    border-radius:28px;

    padding:30px;

    box-shadow:
        0 12px 30px rgba(15,23,42,.06);

}

.alternative-header{

    display:flex;

    align-items:center;

    gap:18px;

    margin-bottom:30px;

}

.alternative-header i{

    width:64px;

    height:64px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:18px;

    background:#eef4ff;

    color:#2563eb;

    font-size:28px;

}

.alternative-header h2{

    margin:0;

    font-size:28px;

    color:#0f172a;

}

.alternative-header p{

    margin:6px 0 0;

    color:#64748b;

    font-size:15px;

}

.alternative-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.alternative-row{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:24px;

    padding:30px 24px;

    border-radius:20px;

    border:1px solid #edf2f7;

    transition:.25s;

    cursor:default;

}

.alternative-row:hover{

    transform:translateY(-2px);

    box-shadow:
        0 12px 24px rgba(15,23,42,.08);

    border-color:#dbeafe;

}

.alternative-row.active{

    transform:translateY(-3px);

    box-shadow:
        0 16px 36px rgba(15,23,42,.15);

    border-width:2px;

}

.kpi-card.active{

    transform:translateY(-3px);

    box-shadow:
        0 16px 36px rgba(15,23,42,.15);

}

.kpi-card[data-dataset="eingezahlt"].active{

    border-top:6px solid #2563eb;

    background:#f4f8ff;

}

.kpi-card[data-dataset="etf"].active{

    border-top:6px solid #16a34a;

    background:#f3fff5;

}

.kpi-card[data-dataset="gewinn"].active{

    border-top:6px solid #d4a017;

    background:#fffbea;

}

.alternative-row[data-dataset="immobilien"].active{

    border-color:#2563eb;

    background:#f4f8ff;

}

.alternative-row[data-dataset="gold"].active{

    border-color:#d4a017;

    background:#fff9e8;

}

.alternative-row[data-dataset="tagesgeld"].active{

    border-color:#06b6d4;

    background:#eefcff;

}

.alternative-row[data-dataset="festgeld"].active{

    border-color:#7c3aed;

    background:#f7f2ff;

}

.alternative-row[data-dataset="kopfkissen"].active{

    border-color:#94a3b8;

    background:#f8fafc;

}

.alternative-row[data-dataset="direkt"].active{

    border-color:#0b1f4f;

    background:#eef3ff;

}

.alternative-row[data-dataset="versicherung"].active{

    border-color:#16a34a;

    background:#effdf4;

}

.alternative-left{

    display:flex;

    align-items:center;

    gap:18px;

}

.alternative-title{

    font-size:19px;

    font-weight:700;

    color:#0f172a;

}

.alternative-title i{

    margin-right:8px;

    width:22px;

}

.alternative-sub{

    margin-top:6px;

    color:#64748b;

    font-size:14px;

}

.alternative-values{

    display:flex;

    gap:50px;

}

.alternative-values div{

    text-align:right;

    min-width:120px;

}

.alternative-values strong{

    display:block;

    font-size:24px;

    color:#111827;

    margin-bottom:6px;

}

.alternative-values span{

    font-size:13px;

    color:#64748b;

}


.alternative-links{

    margin-top:14px;

    padding-top:12px;

    border-top:1px solid #e5e7eb;

    display:flex;

    flex-wrap:wrap;

    gap:18px;

}

.alternative-links a{

    color:#64748b;

    font-size:13px;

    font-weight:600;

    text-decoration:none;

    transition:.2s;

}

.alternative-links a:hover{

    color:#0b1f4f;

    text-decoration:underline;

}


.legend-color{

    width:18px;

    height:18px;

    border-radius:50%;

    display:block;

}

.legend-direkt{
    background:#0b1f4f;
}

.legend-versicherung{
    background:#16c04f;
}

.legend-vorsorgekombi{
    background:#2563eb;
}

.legend-immo{
    background:#ea580c;
}

.legend-gold{
    background:#d4a017;
}

.legend-tagesgeld{
    background:#06b6d4;
}

.legend-festgeld{
    background:#8b5cf6;
}

.legend-kopfkissen{
    background:#dc2626;
}



@media(max-width:900px){

.alternative-row{

    flex-direction:column;

    align-items:flex-start;

}

.alternative-values{

    width:100%;

    justify-content:space-between;

    gap:10px;

}

.alternative-values div{

    min-width:auto;

    text-align:left;

}

}


/* =====================================
   Consent Dialog
===================================== */

#consentOverlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:999999;
}

#consentModal{

    width:min(900px,92vw);

    max-height:90vh;

    overflow-y:auto;

    background:#ffffff;

    border-radius:18px;

    padding:35px;

    box-shadow:0 25px 60px rgba(0,0,0,.35);

}

#consentModal h2{

    color:#14532d;

    margin-bottom:20px;

}

#consentModal h3{

    margin-top:28px;

    color:#14532d;

}

#consentModal p{

    line-height:1.65;

}

#consentModal ul{

    margin-left:22px;

    line-height:1.7;

}

#consentFooter{

    margin-top:30px;

    border-top:1px solid #ddd;

    padding-top:20px;

}

#consentButtons{

    display:flex;

    gap:15px;

    margin-top:25px;

}

#btnConsent{

    background:#16a34a;

    color:white;

    border:none;

    border-radius:8px;

    padding:14px 30px;

    cursor:pointer;

    font-size:16px;

}

#btnConsent:disabled{

    background:#bcbcbc;

    cursor:not-allowed;

}

#btnLeave{

    background:#ef4444;

    color:white;

    border:none;

    border-radius:8px;

    padding:14px 30px;

    cursor:pointer;

}

.rechnung-zeile{
    display:grid;
    grid-template-columns: 320px 1fr 1fr;
    align-items:center;
    gap:20px;
}

.rechnung-zeile span{
    text-align:left;
}

.rechnung-wert{
    text-align:right;
}

.rechnung-kopf{
    font-weight:700;
}

#consentSmall{

    margin-top:20px;

    font-size:.88rem;

    color:#666;
}


.sidebar-footer{

    margin-top:18px;

    text-align:center;

}

.sidebar-footer a{

    color:#64748b;

    text-decoration:none;

    font-size:13px;

    font-weight:600;

    margin:0 8px;

    transition:.2s;

}

.sidebar-footer a:hover{

    color:#14532d;

    text-decoration:underline;

}

/*
=====================================

Modal für die Porfolioentwicklung Berech
Open Berechnung: Versicherung
===================================
*/


.modal-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:30px;

    padding:32px 40px;

    border-bottom:1px solid #e5e7eb;

    background:#ffffff;

}

.modal-header h2{
    margin:0;
    font-size:34px;
    font-weight:800;
    color:#0b1f4f;
}

.modal-header > div{

    flex:1;

    min-width:0;

}

.modal-header p{
    margin-top:8px;
    color:#64748b;
    font-size:16px;
}

.modal-header h2{
    margin:0;
    font-size:34px;
    font-weight:800;
    color:#0b1f4f;
}

.modal-header p{
    margin-top:8px;
    color:#64748b;
    font-size:16px;
}

.modal-table-wrapper{
    padding:28px;
}

.modal-table-card{
    background:white;
    border-radius:22px;
    overflow:hidden;
    box-shadow:0 12px 35px rgba(15,23,42,.08);
}

thead th{

    background:#0b1f4f;

    color:white;

    padding:18px 14px;

    font-size:14px;

    font-weight:700;

    text-align:center;

    line-height:1.35;

    white-space:normal;

    position:sticky;

    top:0;

    z-index:5;

}

tbody tr:nth-child(even){
    background:#f8fafc;
}

tbody tr:nth-child(odd){
    background:white;
}

tbody tr:hover{

    background:#edf7ff;

}

tbody td{

    padding:11px 14px;

    font-size:15px;

    border-bottom:1px solid #eef2f7;

}

td.year{

    font-weight:700;

    color:#0b1f4f;

}

.modal-content{

    width:96%;

    max-width:1700px;

}

td.numeric{

    text-align:right;

    font-variant-numeric:tabular-nums;

    white-space:nowrap;

}


.berechnung-info{

    padding:30px 40px 20px;

    background:#fff;

}

.berechnung-info h3{

    margin:0;

    font-size:24px;

    font-weight:800;

    color:#0b1f4f;

}

.berechnung-trenner{

    width:90px;

    height:4px;

    background:#16c04f;

    border-radius:10px;

    margin:18px 0 24px;

}

.berechnung-info p{

    margin:0 0 16px;

    font-size:16px;

    line-height:1.8;

    color:#475569;

    max-width:900px;

}

#berechnungTabelle td{
    text-align:right;
    font-variant-numeric:tabular-nums;
}

#berechnungTabelle td:first-child{
    text-align:left;
    font-weight:700;
}



#berechnungTabelle th,
#berechnungTabelle td{

    padding:12px 16px;

}

#berechnungTabelle thead th{

    text-align:center;

}

/* Jahr */

.berechnung-tabelle th:nth-child(1),
.berechnung-tabelle td:nth-child(1){
    width:70px;
}

/* Anfangskapital */

.berechnung-tabelle th:nth-child(2),
.berechnung-tabelle td:nth-child(2){
    width:250px;
}

/* Einzahlung */

.berechnung-tabelle th:nth-child(3),
.berechnung-tabelle td:nth-child(3){
    width:200px;
}

/* Sonderzahlung */

.berechnung-tabelle th:nth-child(4),
.berechnung-tabelle td:nth-child(4){
    width:200px;
}

/* Rendite */

.berechnung-tabelle th:nth-child(5),
.berechnung-tabelle td:nth-child(5){
    width:150px;
}

/* Dividenden */

.berechnung-tabelle th:nth-child(6),
.berechnung-tabelle td:nth-child(6){
    width:150px;
}

/* Abschlusskosten */

.berechnung-tabelle th:nth-child(7),
.berechnung-tabelle td:nth-child(7){
    width:150px;
}

/* Verwaltungskosten */

.berechnung-tabelle th:nth-child(8),
.berechnung-tabelle td:nth-child(8){
    width:150px;
}

/* ETF-Kosten */

.berechnung-tabelle th:nth-child(9),
.berechnung-tabelle td:nth-child(9){
    width:150px;
}

/* Gesamte Steuern */

.berechnung-tabelle th:nth-child(10),
.berechnung-tabelle td:nth-child(10){
    width:150px;
}

/* Endkapital */

.berechnung-tabelle th:nth-child(11),
.berechnung-tabelle td:nth-child(11){
    width:250px;
}

/* Steuer-Spalten */

.berechnung-tabelle th:nth-child(n+12),
.berechnung-tabelle td:nth-child(n+12){
    width:200px;
}


.rechnung-card{

    margin:35px;

    background:#fff;

}


.rechnung-zeile strong{

    font-size:22px;

    font-weight:700;

    font-variant-numeric:tabular-nums;

}

.abzug{

    color:#dc2626;

}

.ergebnis{

    color:#0b1f4f;

    font-weight:700;

}

.rechnung-endbetrag{

    margin-top:35px;

    padding:28px;

    border-radius:18px;

    background:#0b1f4f;

    color:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.rechnung-endbetrag strong{

    font-size:42px;

}

/* =====================================================
   Kapitalvergleich Modal V2
===================================================== */

.kapitalvergleich-card{

    margin:35px;

    background:#ffffff;

    border-radius:24px;

    padding:30px 36px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.06);

}


/* =====================================
   Tabellenkopf
===================================== */

.kapitalvergleich-header{

    display:grid;

    grid-template-columns:340px 1fr 1fr;

    gap:30px;

    padding-bottom:18px;

    border-bottom:2px solid #edf2f7;

    margin-bottom:10px;

}

.vergleich-spalte{

    text-align:right;

    font-size:16px;

    font-weight:700;

    color:#0b1f4f;

}


/* =====================================
   Tabellenzeilen
===================================== */

.vergleich-row{

    display:grid;

    grid-template-columns:340px 1fr 1fr;

    gap:30px;

    align-items:center;

    padding:18px 0;

}

.vergleich-label{

    font-size:16px;

    font-weight:600;

    color:#475569;

}

.vergleich-value{

    text-align:right;

    font-size:18px;

    font-weight:700;

    color:#0f172a;

    font-variant-numeric:tabular-nums;

}

.vergleich-divider{

    height:1px;

    background:#edf2f7;

    margin:10px 0;

}


/* =====================================
   Auszahlungsbetrag
===================================== */

.auszahlung-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

    margin:35px;

}

.auszahlung-card{

    background:#ffffff;

    border-radius:24px;

    padding:28px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.06);

    text-align:center;

}

.auszahlung-titel{

    font-size:18px;

    font-weight:700;

    color:#0b1f4f;

}

.auszahlung-label{

    margin-top:14px;

    font-size:14px;

    color:#64748b;

}

.auszahlung-betrag{

    margin-top:18px;

    font-size:36px;

    font-weight:800;

    color:#0b1f4f;

    font-variant-numeric:tabular-nums;

}


/* =====================================
   Steuerinformationen
===================================== */

.steuer-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

    margin:35px;

}

.steuer-card{

    background:#ffffff;

    border-radius:24px;

    padding:28px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.06);

}

.steuer-card h3{

    margin:0 0 24px;

    font-size:20px;

    font-weight:700;

    color:#0b1f4f;

}

.steuer-block{

    margin-bottom:26px;

}

.steuer-block:last-child{

    margin-bottom:0;

}

.steuer-ueberschrift{

    margin-bottom:10px;

    font-size:14px;

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:.05em;

    color:#64748b;

}

.steuer-text{

    line-height:1.7;

    font-size:15px;

    color:#334155;

    white-space:pre-line;

}


/* =====================================
   Responsive
===================================== */

@media (max-width:900px){

    .kapitalvergleich-card{

        margin:20px;

        padding:22px;

    }

    .kapitalvergleich-header{

        display:none;

    }

    .vergleich-row{

        grid-template-columns:1fr;

        gap:10px;

        padding:18px 0;

    }

    .vergleich-label{

        font-weight:700;

        color:#0b1f4f;

    }

    .vergleich-value{

        text-align:left;

    }

    .auszahlung-grid{

        grid-template-columns:1fr;

        margin:20px;

    }

    .steuer-grid{

        grid-template-columns:1fr;

        margin:20px;

    }

}

/* =====================================
   Vorteil
===================================== */

.vorteil-card{

    display:flex;

    align-items:center;

    gap:28px;

    margin:35px;

    padding:30px;

background:linear-gradient(
    135deg,
    #16c04f,
    #13ad47
);

    color:#fff;

    border-radius:24px;

    box-shadow:
        0 12px 32px rgba(11,31,79,.18);

}

.vorteil-icon{

    width:74px;

    height:74px;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:36px;

    flex-shrink:0;

}

.vorteil-content{

    flex:1;

}

.vorteil-label{

    font-size:15px;

    color:rgba(255,255,255,.75);

    margin-bottom:10px;

}

.vorteil-betrag{

    font-size:42px;

    font-weight:800;

    line-height:1;

    margin-bottom:12px;

}

.vorteil-gewinner{

    display:inline-flex;

    align-items:center;

    padding:8px 18px;

    border-radius:999px;

    background:rgba(255,255,255,.12);

    font-size:15px;

    font-weight:700;

}

.steuerhinweis-card{

    margin:35px;

    margin-top:0;

    background:#fff8e8;

    border-left:6px solid #f59e0b;

    border-radius:18px;

    padding:24px;

}

.steuerhinweis-title{

    font-size:17px;

    font-weight:700;

    color:#92400e;

    margin-bottom:12px;

}

.steuerhinweis-text{

    line-height:1.7;

    color:#6b4d11;

}

/* =====================================================
   Verrentungsmodal
===================================================== */

.rentenvergleich-card{

    margin:35px;

    background:#ffffff;

    border-radius:24px;

    padding:30px 36px;

    box-shadow:
        0 8px 24px rgba(15,23,42,.06);

}


/* =====================================
   Jahresrente unter Monatsrente
===================================== */

.auszahlung-jahr{

    margin-top:22px;

    padding-top:18px;

    border-top:1px solid #edf2f7;

    display:flex;

    justify-content:space-between;

    align-items:center;

    font-size:15px;

    color:#64748b;

}

.auszahlung-jahr strong{

    font-size:18px;

    font-weight:700;

    color:#0b1f4f;

}


/* =====================================
   Statistikkarten
===================================== */

.renten-statistik{

    margin-top:35px;

}

.renten-statistik .steuer-card{

    text-align:center;

}

.renten-statistik .steuer-card h3{

    margin-bottom:18px;

}

.renten-statistik .auszahlung-betrag{

    margin-top:0;

    font-size:32px;

}


/* =====================================
   Responsive
===================================== */

@media (max-width:900px){

    .rentenvergleich-card{

        margin:20px;

        padding:22px;

    }

    .auszahlung-jahr{

        flex-direction:column;

        gap:8px;

        text-align:center;

    }

}

.vm-actions{

    display:grid;

    grid-template-columns:repeat(5,1fr);

    gap:18px;

    margin:24px 0 30px;

}

.vm-action{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:18px;

    padding:22px 10px;

    text-align:center;

    text-decoration:none;

    color:#0f172a;

    transition:.25s;

    box-shadow:0 6px 20px rgba(15,23,42,.06);

}

.vm-action:hover{

    transform:translateY(-4px);

    box-shadow:0 12px 28px rgba(15,23,42,.12);

    border-color:#16a34a;

}

.vm-action i{

    display:block;

    font-size:28px;

    color:#16a34a;

    margin-bottom:12px;

}

.vm-action span{

    font-size:15px;

    font-weight:700;

}

.alternative-action{

    margin-left:auto;
    margin-right:26px;

    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

}

.alt-action-btn{

    width:50px;
    height:50px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:#fff;

    border:2px solid #e5e7eb;

    color:#16a34a;

    text-decoration:none;

    box-shadow:0 6px 18px rgba(15,23,42,.08);

    transition:.25s;

}

.alt-action-btn:hover{

    background:#16a34a;

    color:#fff;

    border-color:#16a34a;

    transform:translateY(-3px);

    box-shadow:0 12px 24px rgba(15,23,42,.15);

}

.alt-action-btn i{

    font-size:20px;

}


.content-section{

    padding:0;

    background:transparent;

    border:none;

    box-shadow:none;




}

/* ===========================
   Dashboard Karten
=========================== */

.headline-card{

    background:#fff;

    border-radius:24px;

    padding:28px 34px;

    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(15,23,42,.08);

}


.summary-card{

    background:#fff;

    border-radius:24px;

    padding:24px 34px;

    margin-bottom:20px;

    box-shadow:0 8px 25px rgba(15,23,42,.08);

}

.chart-card{

    background:#fff;

    border-radius:24px;

    padding:25px;

    box-shadow:0 8px 25px rgba(15,23,42,.08);

    margin-bottom:35px;

    position:relative;

}

.headline-card h1{

    margin:0;

    font-size:34px;

    line-height:1.25;

    font-weight:700;

    color:#0b1f4f;

}



.spinner{

    width:60px;
    height:60px;

    margin:auto;

    border:6px solid #dbe4ef;
    border-top:6px solid #0b1f4f;

    border-radius:50%;

    animation:spin 0.8s linear infinite;

}

@keyframes spin{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

#loadingModal{

    position:fixed;
    inset:0;

    display:none;

    justify-content:center;
    align-items:center;

    background:rgba(15,23,42,.55);

    z-index:99999;

    backdrop-filter:blur(3px);

}

.loading-box{

    width:420px;
    max-width:90%;

    background:#fff;

    border-radius:22px;

    padding:35px;

    text-align:center;

    box-shadow:0 20px 60px rgba(0,0,0,.30);

}

.loading-box h2{

    margin:20px 0 10px;
    color:#0b1f4f;

}

.loading-box p{

    margin:0;
    color:#64748b;

}


.investment-hint{

    display:none;

    margin-top:14px;

    padding:14px 16px;

    border-radius:12px;

    background:#fff7ed;

    border:1px solid #fdba74;

    color:#9a3412;

    font-size:14px;

    line-height:1.55;

    align-items:flex-start;

    gap:12px;

}

.investment-hint i{

    margin-top:2px;

    color:#ea580c;

    font-size:18px;

    flex-shrink:0;

}

.investment-hint strong{

    color:#7c2d12;

}

/* =========================================================
   RenditeRitter
   Anfrage-Modal
   ========================================================= */

.anfrage-modal {
    display: none;

    position: fixed;
    inset: 0;

    z-index: 999999;

    padding: 30px;

    background:
        rgba(15, 23, 42, .76);

    backdrop-filter:
        blur(7px);

    overflow-y: auto;
}


/* =========================================================
   Hauptfenster
   ========================================================= */

.anfrage-modal-box {
    width: min(1180px, 96%);

    margin: 20px auto;

    overflow: hidden;

    background: #fff;

    border-radius: 28px;

    box-shadow:
        0 24px 80px
        rgba(15, 23, 42, .30);
}


/* =========================================================
   Kopfbereich
   ========================================================= */

.anfrage-modal-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 30px;

    padding:
        30px
        34px
        26px;

    border-bottom:
        1px solid
        #e5e7eb;
}


.anfrage-modal-heading {
    max-width: 820px;
}


.anfrage-kicker {
    margin-bottom: 8px;

    color: #16a34a;

    font-size: 13px;
    font-weight: 900;

    letter-spacing: .08em;

    text-transform: uppercase;
}


.anfrage-modal-heading h2 {
    margin: 0;

    color: #0b1f4f;

    font-size: 32px;
    font-weight: 800;

    line-height: 1.15;
}


.anfrage-modal-heading p {
    margin:
        12px
        0
        0;

    color: #64748b;

    font-size: 16px;

    line-height: 1.6;
}


.anfrage-close {
    flex-shrink: 0;

    padding: 0;

    border: none;

    background: transparent;

    color: #64748b;

    font-size: 42px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition: .2s;
}


.anfrage-close:hover {
    color: #0b1f4f;

    transform:
        rotate(4deg)
        scale(1.05);
}


/* =========================================================
   Hauptinhalt
   ========================================================= */

.anfrage-modal-body {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(300px, .8fr);

    gap: 24px;

    padding: 28px;

    background: #f8fafc;
}


/* =========================================================
   Formularkarte
   ========================================================= */

.anfrage-form-card {
    padding: 26px;

    background: #fff;

    border:
        1px solid
        #e2e8f0;

    border-radius: 22px;

    box-shadow:
        0 8px 26px
        rgba(15, 23, 42, .05);
}


.anfrage-section-title {
    color: #0b1f4f;

    font-size: 21px;
    font-weight: 800;
}


.anfrage-section-subtitle {
    margin-top: 5px;
    margin-bottom: 24px;

    color: #64748b;

    font-size: 14px;

    line-height: 1.45;
}


/* =========================================================
   Felder
   ========================================================= */

.anfrage-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}


.anfrage-field {
    margin-bottom: 18px;
}


.anfrage-field label {
    display: block;

    margin-bottom: 7px;

    color: #0f172a;

    font-size: 14px;
    font-weight: 800;
}


.anfrage-field-plz {
    width: 50%;

    padding-right: 8px;
}


.anfrage-input-wrap {
    display: flex;

    align-items: center;

    min-height: 54px;

    overflow: hidden;

    border:
        1px solid
        #cbd5e1;

    border-radius: 15px;

    background: #fff;

    transition: .2s;
}


.anfrage-input-wrap:focus-within {
    border-color: #16a34a;

    box-shadow:
        0 0 0 3px
        rgba(22, 163, 74, .10);
}


.anfrage-input-wrap i {
    width: 48px;

    flex-shrink: 0;

    color: #16a34a;

    text-align: center;

    font-size: 16px;
}


.anfrage-input-wrap input {
    width: 100% !important;

    min-width: 0;

    padding:
        15px
        14px
        15px
        0 !important;

    border: none !important;

    border-radius: 0 !important;

    outline: none;

    background: transparent;

    color: #0f172a;

    font-family: inherit;

    font-size: 15px !important;
}


.anfrage-field textarea {
    width: 100%;

    min-height: 120px;

    padding: 15px 16px;

    resize: vertical;

    border:
        1px solid
        #cbd5e1;

    border-radius: 15px;

    outline: none;

    color: #0f172a;

    background: #fff;

    font-family: inherit;

    font-size: 15px;

    line-height: 1.5;

    transition: .2s;
}


.anfrage-field textarea:focus {
    border-color: #16a34a;

    box-shadow:
        0 0 0 3px
        rgba(22, 163, 74, .10);
}


.anfrage-character-row {
    display: flex;

    justify-content: space-between;

    margin-top: 6px;

    color: #94a3b8;

    font-size: 12px;
}


/* =========================================================
   Fehler
   ========================================================= */

.anfrage-field-error {
    min-height: 15px;

    margin-top: 5px;

    color: #dc2626;

    font-size: 12px;

    line-height: 1.25;
}


.anfrage-input-wrap.has-error {
    border-color: #dc2626;

    background: #fffafa;
}


/* =========================================================
   Datenschutz
   ========================================================= */

.anfrage-consent {
    display: grid;

    grid-template-columns:
        20px
        1fr;

    gap: 10px;

    align-items: start;

    margin:
        5px
        0
        20px;

    padding: 14px;

    border:
        1px solid
        #dbe4ee;

    border-radius: 14px;

    background: #f8fafc;

    color: #475569;

    font-size: 13px !important;
    font-weight: 400 !important;

    line-height: 1.5;
}


.anfrage-consent input {
    width: 18px;
    height: 18px;

    margin-top: 2px;

    accent-color: #16a34a;
}


.anfrage-consent a {
    color: #0b1f4f;

    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   Meldungsfeld
   ========================================================= */

.anfrage-form-message {
    margin-bottom: 16px;

    padding: 13px 15px;

    border-radius: 12px;

    font-size: 14px;

    line-height: 1.4;
}


.anfrage-form-message.error {
    color: #991b1b;

    border:
        1px solid
        #fecaca;

    background: #fef2f2;
}


.anfrage-form-message.success {
    color: #166534;

    border:
        1px solid
        #bbf7d0;

    background: #f0fdf4;
}


/* =========================================================
   Absenden
   ========================================================= */

.anfrage-submit {
    display: flex;

    align-items: center;

    gap: 14px;

    width: 100%;

    padding:
        16px
        20px;

    border: none;

    border-radius: 17px;

    background:
        linear-gradient(
            135deg,
            #0f9f44,
            #16c04f
        );

    color: #fff;

    text-align: left;

    cursor: pointer;

    box-shadow:
        0 10px 25px
        rgba(22, 163, 74, .22);

    transition: .2s;
}


.anfrage-submit:hover {
    transform: translateY(-2px);

    box-shadow:
        0 15px 32px
        rgba(22, 163, 74, .30);
}


.anfrage-submit:disabled {
    opacity: .65;

    cursor: wait;

    transform: none;
}


.anfrage-submit-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .18);

    font-size: 18px;
}


.anfrage-submit strong {
    display: block;

    color: #fff;

    font-size: 16px;
}


.anfrage-submit small {
    display: block;

    margin-top: 3px;

    color:
        rgba(255,255,255,.85);

    font-size: 12px;
}


/* =========================================================
   Rechte Seite
   ========================================================= */

.anfrage-info-column {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.anfrage-info-card {
    display: grid;

    grid-template-columns:
        44px
        1fr;

    gap: 13px;

    padding: 18px;

    border:
        1px solid
        #e2e8f0;

    border-radius: 18px;

    background: #fff;
}


.anfrage-info-card.highlight {
    border-color: #bbf7d0;

    background: #f0fdf4;
}


.anfrage-info-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    border-radius: 12px;

    background: #dcfce7;

    color: #16a34a;

    font-size: 17px;
}


.anfrage-info-icon.navy {
    background: #eef2ff;

    color: #0b1f4f;
}


.anfrage-info-card strong {
    display: block;

    margin-bottom: 5px;

    color: #0b1f4f;

    font-size: 15px;
}


.anfrage-info-card p {
    margin: 0;

    color: #64748b;

    font-size: 13px;

    line-height: 1.5;
}


.anfrage-mini-note {
    display: flex;

    gap: 10px;

    margin-top: auto;

    padding: 14px;

    border-radius: 14px;

    background: #eef2f7;

    color: #64748b;

    font-size: 12px;

    line-height: 1.45;
}


.anfrage-mini-note i {
    margin-top: 2px;

    color: #0b1f4f;
}


/* =========================================================
   Mobil
   ========================================================= */

@media(max-width:900px){

    .anfrage-modal {
        padding: 10px;
    }


    .anfrage-modal-box {
        width: 100%;

        margin: 5px auto;

        border-radius: 20px;
    }


    .anfrage-modal-header {
        padding:
            22px
            20px;
    }


    .anfrage-modal-heading h2 {
        font-size: 25px;
    }


    .anfrage-modal-body {
        grid-template-columns: 1fr;

        padding: 15px;
    }


    .anfrage-form-grid {
        grid-template-columns: 1fr;
    }


    .anfrage-field-plz {
        width: 100%;

        padding-right: 0;
    }


    .anfrage-form-card {
        padding: 20px;
    }

}

/* =========================================================
   Anfrage erfolgreich
   ========================================================= */

.anfrage-success-view {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    min-height: 520px;

    padding: 40px;

    text-align: center;
}


.anfrage-success-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    margin-bottom: 20px;

    border-radius: 50%;

    background: #dcfce7;

    color: #16a34a;

    font-size: 31px;

    box-shadow:
        0 8px 24px
        rgba(22,163,74,.14);
}


.anfrage-success-view h2 {
    margin:
        5px
        0
        13px;

    color: #0b1f4f;

    font-size: 30px;
}


.anfrage-success-view p {
    max-width: 540px;

    margin:
        0
        0
        12px;

    color: #64748b;

    font-size: 15px;

    line-height: 1.6;
}


.anfrage-success-button {
    margin-top: 20px;

    padding:
        14px
        25px;

    border: none;

    border-radius: 14px;

    background: #0b1f4f;

    color: white;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    transition: .2s;
}


.anfrage-success-button:hover {
    transform:
        translateY(-2px);

    background:
        #10285f;
}
/* =====================================================
   RENDITERITTER STARTSEITE 2026 – UX + SEO LAYOUT
   ===================================================== */
.rr-home{background:#f3f6fb;color:#0b1f4f}
.rr-home-hero{padding:34px 40px 18px;background:linear-gradient(180deg,#fff 0%,#f3f6fb 100%)}
.rr-home-hero-inner{max-width:1540px;margin:auto;display:grid;grid-template-columns:300px 1fr;gap:50px;align-items:center;background:#fff;border:1px solid #e7edf4;border-radius:30px;padding:34px 42px;box-shadow:0 12px 40px rgba(15,23,42,.07)}
.rr-home-brand img{width:260px;max-width:100%;height:auto}.rr-home-kicker,.rr-results-kicker,.rr-seo-kicker{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:#16a34a;margin-bottom:8px}
.rr-home-hero h1{font-size:44px;line-height:1.08;margin:0;color:#0b1f4f}.rr-home-hero-copy>p{font-size:18px;line-height:1.6;color:#526174;max-width:900px;margin:14px 0 22px}
.rr-home-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:20px 0}.rr-home-steps>div{display:grid;grid-template-columns:40px 1fr;column-gap:10px;align-items:center;padding:14px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc}.rr-home-steps span{grid-row:1/3;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#e8f8ed;color:#16a34a;font-weight:900}.rr-home-steps strong{font-size:14px}.rr-home-steps small{color:#64748b;margin-top:2px}
.rr-home-primary{display:inline-flex;align-items:center;gap:9px;padding:14px 20px;border-radius:14px;background:#16a34a;color:#fff;text-decoration:none;font-weight:800;box-shadow:0 8px 22px rgba(22,163,74,.2)}
.rr-home .wrapper{max-width:1600px;margin:0 auto;padding:20px 40px 50px;gap:28px;align-items:flex-start}.rr-home .sidebar{width:400px;position:sticky;top:18px;border:1px solid #e5e7eb;border-radius:28px;box-shadow:0 12px 40px rgba(15,23,42,.08)}.rr-home .content{padding:0;min-width:0}.rr-sidebar-logo{display:none}.rr-sidebar-intro{padding-bottom:20px;border-bottom:1px solid #edf2f7}.rr-sidebar-intro>span,.rr-step-heading>span{display:inline-block;padding:5px 9px;border-radius:999px;background:#eaf9ef;color:#16813b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em}.rr-sidebar-intro h2{font-size:25px;margin:8px 0 5px}.rr-sidebar-intro p{margin:0;color:#64748b;font-size:13px;line-height:1.5}
.rr-step-heading{display:flex;gap:11px;align-items:flex-start;margin-top:8px;padding-top:18px;border-top:1px solid #edf2f7}.rr-step-heading>div{display:flex;flex-direction:column;gap:3px}.rr-step-heading strong{font-size:16px;color:#0b1f4f}.rr-step-heading small{font-size:12px;color:#64748b}.rr-home .rr-etf-card{outline:3px solid rgba(22,192,79,.13);box-shadow:0 14px 32px rgba(7,18,47,.22)}
.rr-home .headline-card{padding:30px 34px}.rr-home .headline-card h2{margin:0;font-size:32px;color:#0b1f4f}.rr-results-lead{margin:8px 0 0;color:#64748b;font-size:15px}.rr-empty-state{text-align:center;padding:48px 36px!important;border:1px solid #e2e8f0!important;background:linear-gradient(180deg,#fbfdff,#f6f9fc)!important}.rr-empty-icon{width:66px;height:66px;margin:0 auto 16px;border-radius:20px;display:flex;align-items:center;justify-content:center;background:#eaf9ef;color:#16a34a;font-size:28px}.rr-empty-state h2{margin:0 0 10px!important}.rr-empty-state p{max-width:760px;margin:0 auto 20px!important}.rr-empty-portfolio{border:0;border-radius:14px;background:#0b1f4f;color:#fff;padding:14px 20px;font-size:15px;font-weight:800;cursor:pointer}.rr-empty-portfolio i{margin-right:7px}
.rr-next-actions{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:26px 0 12px;padding:20px 24px;border-radius:20px;background:#eefbf2;border:1px solid #ccefd6}.rr-next-actions span{font-size:11px;font-weight:900;color:#16a34a;text-transform:uppercase;letter-spacing:.06em}.rr-next-actions h2{font-size:21px;margin:4px 0}.rr-next-actions p{margin:0;color:#64748b;font-size:13px}.rr-next-actions>i{font-size:24px;color:#16a34a}.rr-home .vm-actions{position:sticky;bottom:12px;z-index:30;padding:12px;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border:1px solid #e2e8f0;border-radius:22px;box-shadow:0 14px 38px rgba(15,23,42,.13)}
.rr-seo-section{padding:0 40px 60px}.rr-seo-inner{max-width:1540px;margin:auto;background:#fff;border:1px solid #e5e7eb;border-radius:28px;padding:36px 40px;box-shadow:0 10px 30px rgba(15,23,42,.05)}.rr-seo-inner>h2{font-size:30px;margin:0 0 12px}.rr-seo-inner>p{color:#526174;line-height:1.7}.rr-seo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:26px 0}.rr-seo-grid article{padding:22px;border:1px solid #e2e8f0;border-radius:18px;background:#f8fafc}.rr-seo-grid i{font-size:24px;color:#16a34a}.rr-seo-grid h3{margin:12px 0 7px}.rr-seo-grid p{margin:0;color:#64748b;line-height:1.55;font-size:14px}.rr-seo-note{font-size:12px!important;color:#718096!important;border-top:1px solid #edf2f7;padding-top:18px}
@media(max-width:1100px){.rr-home-hero-inner{grid-template-columns:1fr}.rr-home-brand{text-align:center}.rr-home-brand img{width:210px}.rr-home .wrapper{display:block}.rr-home .sidebar{width:100%;position:static;margin-bottom:28px}.rr-home-steps,.rr-seo-grid{grid-template-columns:1fr}.rr-home .vm-actions{position:static}}
@media(max-width:700px){.rr-home-hero{padding:14px}.rr-home-hero-inner{padding:24px 20px;gap:20px}.rr-home-hero h1{font-size:34px}.rr-home-hero-copy>p{font-size:16px}.rr-home .wrapper{padding:12px 14px 35px}.rr-seo-section{padding:0 14px 35px}.rr-seo-inner{padding:26px 20px}.rr-home .headline-card h2{font-size:26px}.rr-next-actions{align-items:flex-start}.rr-home .vm-actions{grid-template-columns:repeat(2,1fr)}}


/* Ergebnisranking: alle Anlageformen inkl. Kopfkissen werden sortiert; Immobilien bleibt als Zusatzinfo unten */
.rr-result-sort{
    order:1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:14px 18px;
    border:1px solid #e2e8f0;
    border-radius:14px;
    background:#f8fafc;
}
.rr-result-sort label{
    display:flex;
    align-items:center;
    gap:9px;
    font-weight:700;
    color:#334155;
}
.rr-result-sort select{
    min-width:310px;
    max-width:100%;
    padding:10px 38px 10px 12px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    background:#fff;
    color:#0f172a;
    font:inherit;
    font-weight:600;
}
.rr-immobilien-separator{
    order:999;
    height:1px;
    border-top:1px solid #dbe3ec;
    margin:18px 0 2px;
    flex:0 0 auto;
}

.alternative-row[data-dataset="immobilien"]{
    order:1000 !important;
    margin-top:0;
    position:relative;
}
#rr1262OverrideResultHint{ order:900; }

@media (max-width:700px){
    .rr-result-sort{
        align-items:stretch;
        flex-direction:column;
        gap:9px;
    }
    .rr-result-sort select{
        width:100%;
        min-width:0;
    }
}


/* v56: Hinweis unter dem AV-Auszahlungsplan */
.sp-plan-footnote{
  margin-top:18px;
  padding:14px 16px;
  border:1px solid #d8e2ef;
  border-radius:14px;
  background:#f7f9fc;
  color:#5f7390;
  font-size:13px;
  line-height:1.5;
}
.sp-plan-footnote strong{color:#0b2e67;}

/* Gesamtausdruck: nur drei gleich große Hauptaktionen */
.vm-actions.rr-result-main-actions{grid-template-columns:repeat(3,minmax(0,1fr));}
@media(max-width:700px){.vm-actions.rr-result-main-actions{grid-template-columns:1fr;}}

.rr-loading-progress{height:14px;background:#e8edf4;border-radius:999px;overflow:hidden;margin:22px 0 8px;box-shadow:inset 0 1px 2px rgba(15,37,87,.08)}
.rr-loading-progress>div{height:100%;width:0;background:#16a34a;border-radius:inherit;transition:width .35s ease}
.rr-loading-progress-simple{text-align:center;margin-top:10px}.rr-loading-progress-simple strong{font-size:16px;color:#0f2557;white-space:nowrap}
#rrLoadingProduct{min-height:42px;margin-bottom:0;color:#52657f;font-weight:600}

/* Ergebnis-Auswahl: jede Sparform wird in ihrer Chartfarbe markiert. */
.alternative-row[data-dataset="vorsorgekombi"].active{border-color:#2563eb;background:#f4f8ff;}
.alternative-row[data-dataset="direktanlage"].active{border-color:#0b1f4f;background:#eef3ff;}
.alternative-row[data-dataset="versicherung"].active{border-color:#16a34a;background:#effdf4;}
.alternative-row[data-dataset="immobilien"].active{border-color:#2563eb;background:#f4f8ff;}
.alternative-row[data-dataset="gold"].active{border-color:#d4a017;background:#fff9e8;}
.alternative-row[data-dataset="tagesgeld"].active{border-color:#06b6d4;background:#eefcff;}
.alternative-row[data-dataset="festgeld"].active{border-color:#7c3aed;background:#f7f2ff;}
.alternative-row[data-dataset="kopfkissen"].active{border-color:#dc2626;background:#fff3f3;}

/* Ergebnisaktionen 2026-10-05: vier gleichwertige Aktionen oben und nochmals am Ergebnisende. */
.vm-actions.rr-result-main-actions{grid-template-columns:repeat(4,minmax(0,1fr));}
.rr-results-bottom-actions{margin-top:20px;}
.rr-results-bottom-separator{height:1px;border-top:1px solid #dbe3ec;margin:22px 0 22px;}
.vm-actions.rr-result-main-actions-bottom{margin-top:0;margin-bottom:8px;}
@media(max-width:900px){.vm-actions.rr-result-main-actions{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){.vm-actions.rr-result-main-actions{grid-template-columns:1fr;}.rr-results-bottom-separator{margin:18px 0;}}
