/* ETF Kosten Page Specific Styles */

.etf-kosten-guide {
    --cost-color: #f59e0b;
    --cost-color-light: #fbbf24;
    --cost-color-dark: #d97706;
    --savings-green: #10b981;
    --warning-red: #ef4444;
}

/* Hero Section - uses standard ratgeber.css styling */

/* Cost Breakdown Section */
.cost-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 280px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
    margin: 2rem 0;
}

.cost-item {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.cost-item:hover {
    border-color: var(--cost-color-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.2);
}

.cost-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cost-item h3 {
    color: var(--cost-color-dark);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.cost-range {
    background: linear-gradient(135deg, var(--cost-color) 0%, var(--cost-color-dark) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    margin-top: 1rem;
    display: inline-block;
}

/* TER Calculator */
.ter-calculator {
    background: linear-gradient(135deg, 
        rgba(245, 158, 11, 0.05) 0%, 
        rgba(245, 158, 11, 0.02) 100%);
    border: 1px solid var(--cost-color-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.ter-calculator h3 {
    color: var(--cost-color-dark);
    margin-bottom: 1rem;
}

.calculator-example {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.calc-input {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--cost-color);
}

.calc-result {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--savings-green);
}

.calc-info {
    background: #fef3c7;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--warning-red);
    font-size: 0.9rem;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 300px);
    width: fit-content;
    margin: auto;
    gap: 1.5rem;
    margin: 2rem 0;
}

.tip-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: var(--shadow);
}

.tip-card:hover {
    border-color: var(--cost-color-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.15);
}

.tip-number {
    position: absolute;
    top: -12px;
    left: 20px;
    background: linear-gradient(135deg, var(--cost-color) 0%, var(--cost-color-dark) 100%);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.tip-card h3 {
    color: var(--cost-color-dark);
    margin-bottom: 0.8rem;
    margin-top: 0.5rem;
}

/* Cost Impact Warning */
.cost-impact-warning {
    background: linear-gradient(135deg, 
        rgba(239, 68, 68, 0.05) 0%, 
        rgba(239, 68, 68, 0.02) 100%);
    border: 2px solid #fecaca;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.cost-impact-warning h3 {
    color: var(--warning-red);
    margin-bottom: 1rem;
}

.cost-impact-warning p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.cost-impact-warning strong {
    color: var(--warning-red);
    font-size: 1.2rem;
}

/* Table styling - uses standard tables.css styling */

/* Info box styling - uses standard ratgeber.css styling */

/* FAQ section uses standard components.css styling */

/* CTA section styling */
.etf-kosten-guide .cta-section {
    background: linear-gradient(135deg, 
        var(--cost-color) 0%, 
        var(--cost-color-dark) 50%,
        #b45309 100%);
}

/* Table of contents uses standard ratgeber.css styling */

/* Money symbols animation */
@keyframes floatMoney {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.etf-kosten-guide .cost-icon {
    animation: floatMoney 3s ease-in-out infinite;
}

/* Savings highlight */
.savings-highlight {
    background: linear-gradient(135deg, 
        rgba(16, 185, 129, 0.05) 0%, 
        rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid var(--savings-green);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    color: var(--savings-green);
}

.savings-highlight::before {
    content: "💰";
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .cost-breakdown {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calculator-example {
        text-align: center;
    }
    
    .etf-kosten-guide .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Percentage highlighting */
.percentage-highlight {
    background: linear-gradient(135deg, var(--cost-color) 0%, var(--cost-color-dark) 100%);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    margin: 0 0.2rem;
} 