/* ============================================
   SOLAR DINO - Pricing CSS
   ============================================ */

/* --- Calculator Section --- */
.calculator-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.calculator-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.06);
    padding: 3rem;
    border: 1px solid #e2e8f0;
}

.calculator-title {
    font-size: 2rem;
    color: #1e293b;
    text-align: center;
    margin-bottom: 0.5rem;
}

.calculator-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 3rem;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calc-group {
    margin-bottom: 2rem;
}

.calc-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #334155;
    font-size: 1.1rem;
}

/* Radio Cards */
.radio-group {
    display: flex;
    gap: 1rem;
}

.radio-group--services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.radio-group--levels {
    flex-wrap: wrap;
}

.radio-card {
    flex: 1;
    position: relative;
    cursor: pointer;
}

.radio-card input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    transition: all 0.2s ease;
    height: 100%;
}

.radio-content span {
    font-weight: 600;
    color: #1e293b;
}

.radio-content small {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.radio-content .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: #0f3b2e;
    border-radius: 8px;
    color: #fff;
    font-size: 0.85rem;
    letter-spacing: 0;
    margin-bottom: 0.5rem;
}

.radio-card input:checked ~ .radio-content {
    border-color: #0f3b2e;
    background: #edf5f1;
    box-shadow: 0 4px 12px rgba(15,59,46,0.13);
}

.radio-card--service .radio-content {
    min-height: 8.5rem;
}

.dynamic-controls {
    display: grid;
    gap: 1.35rem;
}

.dynamic-control {
    padding: 1.1rem;
    border: 1px solid #dce6e1;
    border-radius: 8px;
    background: #fbfdfc;
}

.dynamic-control label,
.dynamic-label {
    display: block;
    margin: 0 0 0.8rem;
    color: #223327;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.choice-card {
    position: relative;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    opacity: 0;
}

.choice-card span {
    display: block;
    min-height: 5.25rem;
    padding: 0.9rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice-card strong {
    display: block;
    color: #1e293b;
    font-size: 0.95rem;
}

.choice-card small {
    display: block;
    margin-top: 0.25rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.35;
}

.choice-card input:checked + span {
    border-color: #0f3b2e;
    background: #edf5f1;
    box-shadow: 0 8px 18px rgba(15,59,46,0.1);
}

.calculator-note {
    margin: 0.65rem 0 0;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Slider */
.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #0f3b2e;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    transition: transform 0.1s;
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

/* Result Box */
.calculator-result {
    position: sticky;
    top: 7rem;
    align-self: start;
}

.result-box {
    --result-a: #1e293b;
    --result-b: #0f172a;
    --result-c: #2bbf7a;
    --result-soft: rgba(43,191,122,0.12);
    background:
        radial-gradient(circle at 15% 10%, rgba(255,255,255,0.08), transparent 28%),
        linear-gradient(135deg, var(--result-a) 0%, var(--result-b) 100%);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(15,23,42,0.2);
    position: relative;
    overflow: hidden;
}

.result-box--pv { --result-a: #123d2e; --result-b: #071a14; --result-c: #63d471; }
.result-box--speicher { --result-a: #0d3b3e; --result-b: #071b24; --result-c: #60d6bd; }
.result-box--wallbox { --result-a: #102f4f; --result-b: #081827; --result-c: #7dd3fc; }
.result-box--elektro { --result-a: #263342; --result-b: #101721; --result-c: #a8dcc3; }
.result-box--waermepumpe { --result-a: #173b45; --result-b: #07191d; --result-c: #9ad7df; }
.result-box--notdienst { --result-a: #3b1d1d; --result-b: #160b0b; --result-c: #fca5a5; }
.result-box--dguv { --result-a: #1d2f43; --result-b: #101827; --result-c: #93c5fd; }
.result-box--netzwerk { --result-a: #242946; --result-b: #111322; --result-c: #c4b5fd; }
.result-box--sicherheit { --result-a: #24351f; --result-b: #0f170c; --result-c: #bef264; }

.result-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, var(--result-c));
}

.result-box::after {
    content: '';
    position: absolute;
    width: 16rem;
    height: 16rem;
    right: -7rem;
    bottom: -7rem;
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 2rem rgba(255,255,255,0.03), 0 0 0 4rem rgba(255,255,255,0.02);
    pointer-events: none;
}

.result-visual {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    margin-bottom: 1rem;
    border-radius: 1.2rem;
    background: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.16);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: inset 0 -18px 32px rgba(0,0,0,0.1), 0 12px 28px rgba(0,0,0,0.18);
}

.result-box h3 {
    position: relative;
    z-index: 1;
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 1rem;
}

.result-price {
    position: relative;
    z-index: 1;
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.result-hint {
    position: relative;
    z-index: 1;
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.calc-metrics {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1.25rem;
}

.calc-metrics span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.45rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.86);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.25;
}

.calc-included {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    display: grid;
    gap: 0.55rem;
}

.calc-included li {
    color: #dbe7e1;
    font-size: 0.92rem;
    line-height: 1.45;
    padding-left: 1.5rem;
    position: relative;
}

.calc-included li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--result-c);
    font-weight: 800;
}

.result-guarantee {
    position: relative;
    z-index: 1;
    background: rgba(255,255,255,0.08);
    color: #d7f7e8;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.12);
}

.calc-btn {
    position: relative;
    z-index: 1;
    width: 100%;
    font-size: 1.1rem;
    padding: 1.2rem;
}

/* --- Pricing Cards Section --- */
.pricing-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-kicker {
    margin-bottom: 0.75rem;
    color: #0f3b2e;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #1e293b;
}

.section-header p {
    color: #64748b;
    font-size: 1.1rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-grid--complete {
    align-items: stretch;
}

.price-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.price-card--featured {
    border: 2px solid #0f3b2e;
    box-shadow: 0 10px 40px rgba(15,59,46,0.1);
    transform: translateY(-10px);
}

.price-card--featured:hover {
    transform: translateY(-15px);
}

.price-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.price-header--light {
    background: #f8fafc;
    border-radius: 8px 8px 0 0;
}

.price-header--dark {
    background: #1e293b;
    color: white;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.price-header--accent {
    background: linear-gradient(135deg, #0f3b2e 0%, #17664d 100%);
    color: white;
    border-radius: 8px 8px 0 0;
    border-bottom: none;
}

.price-eyebrow {
    margin: 0 0 0.6rem;
    color: #0f3b2e;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.price-header--accent .price-eyebrow,
.price-header--dark .price-eyebrow {
    color: #d7f7e8;
}

.badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #d7f7e8;
    color: #0f3b2e;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.4rem 1rem;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 14px;
}

.price-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.price-header--dark h3,
.price-card--featured .price-header h3,
.price-header--accent h3 {
    color: #ffffff;
}

.price-header--dark p,
.price-card--featured .price-header p,
.price-header--accent p {
    color: rgba(255, 255, 255, 0.88);
    opacity: 1;
}

.price-header p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.price-amount {
    margin-top: 1rem;
}

.price-amount .value {
    font-size: 2.15rem;
    font-weight: 700;
    color: inherit;
}

.price-amount .unit {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

.price-body {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-features {
    list-style: none;
    margin: 0 0 2rem 0;
    padding: 0;
}

.price-features li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: #334155;
}

.price-features li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: #0f3b2e;
    font-weight: bold;
}

.price-features li.not-included {
    color: #94a3b8;
    text-decoration: line-through;
}

.price-features li.not-included::before {
    content: '-';
    color: #ef4444;
}

.price-cta {
    margin-top: auto;
}

.price-cta .btn {
    width: 100%;
}

.price-card .btn--outline {
    color: #0f3b2e;
    border-color: #0f3b2e;
    background: #ffffff;
}

.price-card .btn--outline:hover {
    color: #ffffff;
    background: #0f3b2e;
    border-color: #0f3b2e;
}

/* --- Buyer Checklist --- */
.buyer-checklist {
    padding: 4rem 0;
    background: #f4f8f6;
}

.checklist-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 2rem;
    align-items: stretch;
}

.checklist-card,
.warning-panel {
    background: #ffffff;
    border: 1px solid #dce6e1;
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(15,59,46,0.08);
}

.checklist-card {
    padding: 1.25rem;
    display: grid;
    gap: 0.85rem;
}

.checklist-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 0.85rem;
    align-items: start;
    padding: 1rem;
    border-radius: 8px;
    background: #f8fbf9;
    border: 1px solid #e3ece7;
}

.checklist-item span {
    grid-row: span 2;
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #e5f5ee;
    color: #0f3b2e;
    font-weight: 900;
}

.checklist-item strong {
    color: #15211d;
    font-size: 1rem;
}

.checklist-item small {
    color: #5f7068;
    line-height: 1.5;
}

.warning-panel {
    padding: 2rem;
    background: #10281f;
    color: #ffffff;
}

.warning-panel__kicker {
    margin: 0 0 0.75rem;
    color: #bfe8d3;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
}

.warning-panel h3 {
    color: #ffffff;
    font-size: 1.55rem;
    margin-bottom: 1rem;
}

.warning-panel ul {
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.75rem;
}

.warning-panel li {
    color: #d6e2dd;
    padding-left: 1.35rem;
    position: relative;
    line-height: 1.45;
}

.warning-panel li::before {
    content: '!';
    position: absolute;
    left: 0;
    top: 0;
    color: #a8dcc3;
    font-weight: 900;
}

.warning-panel .btn {
    width: 100%;
}

/* --- Guarantees Section --- */
.guarantees {
    background: #ffffff;
    padding: 4rem 0;
    color: #17211d;
    margin-top: 0;
}

.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.guarantee-item {
    text-align: left;
    padding: 2rem;
    border: 1px solid #dce6e1;
    border-top: 4px solid #0f3b2e;
    border-radius: 8px;
    background: #f8fbf9;
}

.guarantee-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #e5f5ee;
    color: #0f3b2e;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.guarantee-item h3 {
    color: #0f3b2e;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.guarantee-item p {
    color: #56655f;
    font-size: 0.95rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .calculator-result {
        position: static;
        top: auto;
    }

    .checklist-layout {
        grid-template-columns: 1fr;
    }

    .radio-group--services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .price-card--featured {
        transform: translateY(0);
    }
    
    .price-card--featured:hover {
        transform: translateY(-5px);
    }
}
@media (max-width: 500px) {
    .radio-group {
        flex-direction: column;
    }

    .radio-group--services {
        grid-template-columns: 1fr;
    }

    .calculator-wrapper {
        padding: 1.5rem;
    }
    .choice-grid {
        grid-template-columns: 1fr;
    }
    .checklist-item {
        grid-template-columns: 1fr;
    }
    .checklist-item span {
        grid-row: auto;
    }
    .result-price {
        font-size: 2rem;
    }
}
