/* =================================================================
   FÖRDERMITTEL SPECIFIC STYLES
   Spezifische Styles nur für foerdermittel.html
   ================================================================= */

/* Fördermittel Hero Background */
.hero-foerdermittel {
    background-image: linear-gradient(rgba(23, 60, 75, 0.7), rgba(26, 68, 85, 0.7)), 
                      url(../src/img/förderung.png);
    background-size: cover;
    background-position: center;
    min-height: 90vh;
}

/* Fallback if funding image doesn't exist */
.hero-foerdermittel:not([style*="background-image"]) {
    background-image: linear-gradient(rgba(23, 60, 75, 0.7), rgba(26, 68, 85, 0.7)), 
                      url(../src/img/förderung.png);
}

/* Fördermittel specific color accents - Gold theme for "free money" */
.hero-foerdermittel .stat-number {
    color: #daab36;
}

.hero-foerdermittel .stat-item {
    border: 1px solid rgba(218, 171, 54, 0.3);
}

/* =================================================================
   FUNDING PROGRAMS SECTION
   ================================================================= */

.funding-programs {
    padding: 5rem 0;
    background: white;
}

.funding-programs h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #173c4b;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.program-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #daab36;
}

.program-header {
    background: linear-gradient(135deg, #daab36, #c4982e);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.program-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.program-logo img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.program-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.funding-amount {
    font-size: 1.8rem;
    font-weight: bold;
    color: #f4e7c1;
}

.program-details {
    padding: 2rem;
}

.program-details h4 {
    color: #173c4b;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid #f0fdf4;
    padding-bottom: 0.5rem;
}

.program-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.program-details li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    border-bottom: 1px solid #f8fafc;
}

.program-details li:before {
    color: #daab36;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* =================================================================
   PROGRAM COMBINATIONS SECTION
   ================================================================= */

.program-combinations {
    padding: 5rem 0;
    background: #f8fafc;
}

.program-combinations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #173c4b;
}

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

.combination-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.combination-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.combination-header {
    background: #173c4b;
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #f0f9ff;
}

.combination-header h3 {
    color: white;
    font-size: 1.3rem;
}

.total-funding {
    font-size: 1.6rem;
    font-weight: bold;
    color: #daab36;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: inline-block;
}

.combination-details {
    padding: 2rem;
}

.combination-item {
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f8fafc;
    border-radius: 8px;
}

.combination-item strong {
    color: #173c4b;
    display: block;
    margin-bottom: 0.5rem;
}

.combination-item small {
    color: #daab36;
    font-weight: 500;
}

/* =================================================================
   FUNDING REQUIREMENTS SECTION
   ================================================================= */

.funding-requirements {
    padding: 5rem 0;
    background: white;
}

.funding-requirements h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #173c4b;
}

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

.requirement-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 4px solid #daab36;
}

.requirement-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.requirement-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #daab36, #c4982e);
    border-radius: 50%;
}

.requirement-icon img {
    width: 50px;
    height: 50px;
    filter: brightness(0) invert(1);
}

.requirement-card h3 {
    color: #173c4b;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.requirement-details {
    text-align: left;
}

.requirement-details h4 {
    color: #daab36;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.requirement-details ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.requirement-details li {
    padding: 0.4rem 0;
    color: #666;
    font-size: 0.9rem;
    border-bottom: 1px solid #f1f5f9;
}

.requirement-details li:before {
    content: "▶ ";
    color: #daab36;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* =================================================================
   CALCULATOR SPECIFIC STYLING
   ================================================================= */

#familie-calculator .input-group input:focus,
#energie-calculator .input-group input:focus,
#kombination-calculator .input-group input:focus,
#familie-calculator .input-group select:focus,
#energie-calculator .input-group select:focus,
#kombination-calculator .input-group select:focus {
    border-color: #daab36;
    box-shadow: 0 0 0 3px rgba(218, 171, 54, 0.2);
}

#familie-calculator .calculate-btn,
#energie-calculator .calculate-btn,
#kombination-calculator .calculate-btn {
    background: linear-gradient(135deg, #daab36, #c4982e);
}

#familie-calculator .calculate-btn:hover,
#energie-calculator .calculate-btn:hover,
#kombination-calculator .calculate-btn:hover {
    background: linear-gradient(135deg, #c4982e, #b8901a);
}

/* Calculator result styling for foerdermittel */
.calc-result.familie-result {
    background: linear-gradient(135deg, rgba(218, 171, 54, 0.1), rgba(218, 171, 54, 0.05));
    border: 2px solid #daab36;
}

.calc-result.energie-result {
    background: linear-gradient(135deg, rgba(218, 171, 54, 0.1), rgba(218, 171, 54, 0.05));
    border: 2px solid #daab36;
}

.calc-result.kombination-result {
    background: linear-gradient(135deg, rgba(218, 171, 54, 0.1), rgba(218, 171, 54, 0.05));
    border: 2px solid #daab36;
}

/* Fördermittel form specific styling */
#foerdermittel-form input:focus,
#foerdermittel-form select:focus,
#foerdermittel-form textarea:focus {
    border-color: #daab36;
    box-shadow: 0 0 0 3px rgba(218, 171, 54, 0.1);
}

#foerdermittel-form button {
    background: linear-gradient(135deg, #daab36, #c4982e);
}

#foerdermittel-form button:hover {
    background: linear-gradient(135deg, #c4982e, #b8901a);
}

/* Specialist note for foerdermittel */
.specialist-note {
    border: 1px solid rgba(218, 171, 54, 0.3);
}

.specialist-note h4 {
    color: #daab36;
}

/* Success indicators */
.success-indicator {
    color: #daab36;
    font-weight: bold;
}

.success-badge {
    background: #daab36;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* CTA section foerdermittel specific */
.cta-section .cta-benefit .benefit-icon {
    color: #daab36;
}

.cta-benefit img {
    width: 40px;
    filter: brightness(0) invert(1);
}

/* Testimonials details for foerdermittel */
.testimonials .testimonial-details {
    font-size: 0.9rem;
    color: #daab36;
    font-weight: 500;
    margin-top: 0.5rem;
}

/* Special styling for funding amounts */
.funding-highlight {
    background: linear-gradient(135deg, #daab36, #c4982e);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-weight: bold;
    font-size: 0.9rem;
}

.savings-amount {
    color: #daab36;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Program specific colors - Keep some variety but in our color scheme */
.program-card[data-program="kfw"] .program-header {
    background: linear-gradient(135deg, #173c4b, #1a4455);
}

.program-card[data-program="nrw"] .program-header {
    background: linear-gradient(135deg, #daab36, #c4982e);
}

.program-card[data-program="kommunal"] .program-header {
    background: linear-gradient(135deg, #daab36, #c4982e);
}

.program-card[data-program="energie"] .program-header {
    background: linear-gradient(135deg, #173c4b, #1a4455);
}

/* Animation for successful calculation */
@keyframes fundingPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.calc-result.show-success {
    animation: fundingPulse 0.6s ease-out;
}

/* Mobile specific adjustments */
@media (max-width: 768px) {
    .hero-foerdermittel {
        min-height: 70vh;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .combinations-grid {
        grid-template-columns: 1fr;
    }
    
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .program-header {
        padding: 1.5rem;
    }
    
    .program-details {
        padding: 1.5rem;
    }
    
    .combination-header {
        padding: 1.5rem;
    }
    
    .combination-details {
        padding: 1.5rem;
    }
    
    .funding-amount {
        font-size: 1.5rem;
    }
    
    .total-funding {
        font-size: 1.3rem;
    }
    
    .funding-programs h2,
    .program-combinations h2,
    .funding-requirements h2 {
        font-size: 2rem;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .hero-foerdermittel .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-foerdermittel .hero-content p {
        font-size: 1rem;
    }
    
    .program-card,
    .combination-card,
    .requirement-card {
        margin: 0 0.5rem;
    }
    
    .program-header,
    .combination-header {
        padding: 1rem;
    }
    
    .program-details,
    .combination-details {
        padding: 1rem;
    }
    
    .requirement-card {
        padding: 1.5rem;
    }
    
    .funding-amount {
        font-size: 1.3rem;
    }
    
    .total-funding {
        font-size: 1.1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .combination-item {
        padding: 0.75rem;
    }
}