/* CONTAINER STYLE - ANGELEHNT AN DAS PORTAL DESIGN */
.hps-roi-wrapper {
    font-family: var(--hps-font);
    color: var(--hps-dark);
    line-height: 1.5;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.hps-roi-wrapper * { box-sizing: border-box; }

.playfair { font-family: 'Playfair Display', serif; }

/* MAIN CARD (Document Style) */
.hps-document-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    padding: 40px; 
    border: 1px solid var(--hps-border);
}

.hps-header-section {
    text-align: center;
    margin-bottom: 50px;
}

.hps-header-section h2 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    color: var(--hps-dark);
}
.hps-header-section p {
    color: #64748b;
    font-size: 1.1rem;
    margin: 0;
}

/* GRID LAYOUT */
.hps-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 30px;
}

.hps-col {
    background: var(--hps-bg);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid var(--hps-border);
    display: flex;
    flex-direction: column;
}

.hps-col-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.hps-col-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.icon-box {
    width: 32px; height: 32px;
    background: white;
    border-radius: 6px;
    display: grid;
    place-items: center;
    border: 1px solid var(--hps-border);
    font-size: 1rem;
}

/* COLUMN 1: SELECT CARDS */
.hps-selection-list { display: flex; flex-direction: column; gap: 15px; }

.hps-select-card {
    background: white;
    border: 1px solid var(--hps-border);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.hps-select-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

.hps-select-card.active {
    border-color: var(--hps-gold);
    background: #fff;
    box-shadow: 0 0 0 1px var(--hps-gold);
}

.hps-card-icon {
    font-size: 1.4rem;
    background: var(--hps-bg);
    width: 44px; height: 44px;
    border-radius: 8px;
    display: grid; place-items: center;
    color: var(--hps-dark);
}

.hps-card-info strong { display: block; font-size: 0.95rem; margin-bottom: 3px; color: var(--hps-dark); }
.hps-card-info span { display: block; font-size: 0.8rem; color: #64748b; }

/* Checkmark logic pure CSS */
.checkmark-circle {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 2px solid var(--hps-border);
    margin-left: auto;
    position: relative;
}
.hps-select-card.active .checkmark-circle {
    background: var(--hps-gold);
    border-color: var(--hps-gold);
}
.hps-select-card.active .checkmark-circle::after {
    content: '✓';
    position: absolute;
    color: white;
    font-size: 12px;
    top: -2px; left: 3px;
    font-weight: bold;
}

/* COLUMN 2: SLIDERS */
.hidden { display: none; }
.fade-in { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.hps-slider-group { margin-bottom: 25px; }

.slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
}

.slider-value { color: var(--hps-gold); font-weight: 800; font-size: 1rem; }
.slider-meta { font-size: 0.75rem; color: #94a3b8; margin-top: 5px; margin-bottom: 0; }

input[type=range] {
    -webkit-appearance: none; 
    width: 100%; 
    background: transparent; 
    margin: 5px 0;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 20px; width: 20px;
    border-radius: 50%;
    background: var(--hps-gold);
    cursor: pointer;
    margin-top: -8px; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border: 2px solid white;
}
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
}

/* COLUMN 3: RESULTS (Hervorgehoben) */
.result-col {
    background: white; /* Weißer Hintergrund für Kontrast */
    border: 2px solid var(--hps-bg);
}

.res-banner-gold {
    background: rgba(212, 175, 55, 0.1); /* Gold transparent */
    color: var(--hps-dark);
    padding: 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.res-card-clean {
    border: 1px solid var(--hps-border);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff;
}

.res-card-clean.highlight-border {
    border-color: var(--hps-gold);
    background: #fffbf0; /* Helles Gold */
}

.res-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.res-icon-circle { 
    width: 24px; height: 24px; 
    border-radius: 50%; 
    background: var(--hps-bg); 
    display: grid; place-items: center; font-size: 0.8rem; 
}
.res-icon-circle.filled { background: var(--hps-gold); color: white; }

.res-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; color: #64748b; }

.res-big-value { font-size: 1.8rem; font-weight: 800; line-height: 1.2; color: var(--hps-dark); }
.highlight-text { color: var(--hps-gold); }
.res-sub { font-size: 0.75rem; color: #94a3b8; }

.res-mini-grid { display: flex; gap: 10px; margin-bottom: 20px; margin-top: 20px; }
.res-mini-box {
    flex: 1;
    background: var(--hps-bg);
    border-radius: 8px;
    padding: 10px;
    text-align: center;
}
.res-mini-box span { display: block; font-size: 1.1rem; font-weight: 800; color: var(--hps-dark); }
.res-mini-box label { display: block; font-size: 0.65rem; text-transform: uppercase; color: #64748b; font-weight: 600; margin-top: 2px; }

/* CTA BUTTON STYLE */
.btn-gold { 
    background: var(--hps-gold); 
    color: white; 
    padding: 16px 20px; 
    border-radius: 6px; 
    text-decoration: none; 
    font-weight: 700; 
    transition: 0.3s; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 10px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-gold:hover { 
    transform: translateY(-2px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.15); 
    color: white; 
}
.full-width { width: 100%; }

/* RESPONSIVE */
@media (max-width: 900px) {
    .hps-dashboard-grid { grid-template-columns: 1fr; }
    .hps-document-card { padding: 20px; }
    .hps-col { padding: 20px; }
    .hps-header-section h2 { font-size: 1.8rem; }
}