:root {
    --primary-color: #2c3e50;
    --accent-color: #27ae60;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --card-shadow: 0 5px 15px rgba(0,0,0,0.08);
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 76px;
}

.navbar {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
}

.navbar-brand .brand-text {
    -webkit-background-clip: text;

}

.nav-item {
    margin: 0 0.2rem;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-color) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-color);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        margin-top: 1rem;
    }
    
    .nav-item {
        margin: 0.2rem 0;
    }
}

.hero-section {
    background: linear-gradient(135deg, var(--accent-color) 0%, #219a52 100%);
    position: relative;
    overflow: hidden;
    padding: 7rem 0 4rem 0;
    height: 450px;
    color: white;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons .btn {
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.calculator-widget {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.5rem 1.2rem;
    border-radius: 25px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.btn-primary:hover {
    background-color: #219a52;
    border-color: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.4);
}

.btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
}

.btn-outline-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.result-details {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 400px;
        padding: 6rem 0 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons .btn {
        padding: 0.6rem 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .calculator-widget {
        padding: 1rem;
    }
}

/* Blog Styles */
.blog-post .article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
}

.blog-post .article-content h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.blog-post .article-content p {
    margin-bottom: 1.5rem;
}

.blog-post .article-content ul,
.blog-post .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #6c757d;
}

.pagination .page-link {
    color: #2c3e50;
    border: none;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

/* Blog-Übersicht Styles */
.blog-overview {
    background: var(--bg-gradient);
    padding: 3rem 0;
    margin-top: -1.5rem;
}

.blog-sidebar .card {
    border: none;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}

.blog-sidebar .list-group-item {
    border: none;
    padding: 0.8rem 1rem;
    margin-bottom: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.blog-sidebar .list-group-item:hover {
    background: var(--accent-color);
    color: white;
    transform: translateX(5px);
}

.article-card {
    border: none;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.article-card .card-title a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.article-card .card-title a:hover {
    color: var(--accent-color);
}

.article-meta {
    color: #6c757d;
    font-size: 0.9rem;
}

.article-meta i {
    color: var(--accent-color);
}

/* Dekorative Elemente */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    background: var(--accent-color);
}

.decoration-circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.decoration-circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    right: -50px;
}

.decoration-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.1;
}

/* Feature Cards */
.features-section {
    background: var(--bg-gradient);
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #219a52 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 2rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #666;
}

/* Füge einen subtilen Hintergrundeffekt hinzu */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    opacity: 0.3;
}

/* Calculator Styles */
.calculator-section {
    margin-top: -2rem;
    position: relative;
    z-index: 1;
}

.calculator-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.calculator-section .calculator-section {
    /* background: #f8f9fa; */
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.calculator-section h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 1rem 0 1.5rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.form-label {
    font-weight: 500;
    color: var(--primary-color);
}

.result-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    margin-top: 2rem;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.result-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.result-total {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.3rem;
}

.text-danger {
    color: #dc3545 !important;
}

.text-success {
    color: var(--accent-color) !important;
}

.result-details {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Consultation Card Styles */
.consultation-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    border-left: 4px solid var(--accent-color);
    height: fit-content;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    margin-bottom: 1rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.feature-list i {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .consultation-card {
        text-align: center;
    }
    
    .feature-list {
        text-align: left;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 991px) {
    .consultation-card {
        margin-top: 2rem;
    }
    
    .consultation-card.sticky-top {
        position: relative !important;
        top: 0 !important;
    }
}

/* Slim Hero Section */
.hero-section-slim {
    background: linear-gradient(135deg, var(--accent-color) 0%, #219a52 100%);
    height: 250px;
    margin-bottom: 0;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    padding: 4rem 0 2rem 0;
}

.hero-title-slim {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-subtitle-slim {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hero-section-slim {
        height: 200px;
        padding: 4rem 0 2rem 0;
    }
    
    .hero-title-slim {
        font-size: 2rem;
    }
    
    .hero-subtitle-slim {
        font-size: 1rem;
    }
}

/* ETF Calculator Styles */
.overview-box {
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent-color);
}

.overview-box .list-unstyled li {
    margin-bottom: 0.5rem;
}

.overview-box .text-success {
    color: #28a745 !important;
}

.overview-box .text-danger {
    color: #dc3545 !important;
}

.monthly-overview {
    background-color: white;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
}

/* Final Summary Styles */
.final-summary {
    background-color: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
}

.summary-box {
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease;
}

.summary-box:hover {
    transform: translateY(-5px);
}

.summary-value .h3 {
    font-weight: 700;
    line-height: 1.2;
}

.summary-details {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    margin-top: 1rem;
}

.summary-details p:last-child {
    margin-bottom: 0;
}

/* Calculator Preview Styles */
.calculator-preview {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.calculator-preview-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.calculator-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.calculator-preview-card .card-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.calculator-preview-card .card-icon i {
    font-size: 24px;
    color: white;
}

.calculator-preview-card .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.calculator-preview-card .feature-list li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.calculator-preview-card .feature-list i {
    color: var(--accent-color);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Card Styles */
.content-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #e9ecef;
    margin-bottom: 2rem;
}

.content-card h2 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent-color);
    display: inline-block;
}

.content-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
}

.content-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.content-card a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-card a:hover {
    color: #219a52;
    text-decoration: underline;
}

/* Ergänzungen zu custom.css */

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.stat-card {
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.display-4 {
    font-weight: 700;
}

/* Anpassungen für die Erfolgsgeschichten */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Anpassungen für den Newsletter-Bereich */
.bg-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #219a52 100%) !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
} 