/* ================================================
   nachfolgeplan.eu Stylesheet
   ================================================ */

/* ================================================
   1. RESET & BASE STYLES
   ================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================================
   2. TYPOGRAPHY
   ================================================ */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #1a365d;
}

h1 { font-size: 2rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #004599;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================================================
   3. HEADER & NAVIGATION
   ================================================ */
header {
    background-color: #fff;
    border-bottom: 3px solid #92ba41;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.logo-image {
    height: 60px;           /* Fixed height */
    width: auto;            /* Auto width (maintains aspect ratio) */
    display: block;
    transition: opacity 0.3s;
}

.logo-image:hover {
    opacity: 0.8;           /* Slight fade on hover */
}

.logo h1 {
    font-size: 1.8rem;
    color: #004599;
    margin-bottom: 0.2rem;
    font-weight: 700;
}

.tagline {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    font-weight: 400;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu a {
    color: #333;
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.3s;
    white-space: nowrap;
}

.nav-menu a:hover {
    color: #92ba41;
    text-decoration: none;
}

.nav-menu a.active {
    color: #92ba41;
    border-bottom: 3px solid #92ba41;
    padding-bottom: calc(0.5rem - 3px);
}

.nav-highlight {
    background-color: #92ba41;
    color: #fff !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
}

.nav-highlight:hover {
    background-color: #7a9e35;
    color: #fff !important;
}

/* ================================================
   4. BUTTONS
   ================================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
}

.btn-primary {
    background-color: #E91E63;
    color: #fff;
}

.btn-primary:hover {
    background-color: #C2185B;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-secondary {
    background-color: #004599;
    color: #fff;
}

.btn-secondary:hover {
    background-color: #003377;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-outline {
    background-color: transparent;
    color: #004599;
    border: 2px solid #004599;
}

.btn-outline:hover {
    background-color: #004599;
    color: #fff;
    text-decoration: none;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    justify-content: center;
    align-items: center;
}

.cta-center {
    text-align: center;
    margin-top: 2rem;
}

/* ================================================
   5. HERO SECTION
   ================================================ */
.hero {
    background: linear-gradient(135deg, #004599 0%, #1a365d 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero .container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.hero h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 400;
    text-align: center;
}

.funding-badge {
    background-color: #92ba41;
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    display: inline-block;
    margin: 1.5rem auto;
    text-align: center;
}

.magazine-badge {
    background-color: rgba(255,255,255,0.2);
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    display: inline-block;
    margin: 1rem auto;
    font-style: italic;
    text-align: center;
}

/* ================================================
   6. SECTIONS
   ================================================ */
section {
    padding: 4rem 0;
}

/* Removed nth-child rule - sections now have explicit backgrounds */

section h3 {
    text-align: center;
    margin-bottom: 3rem;
    color: #1a365d;
}

/* ================================================
   7. HOW IT WORKS
   ================================================ */
.steps {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    background-color: #92ba41;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* ================================================
   8. BENEFITS GRID
   ================================================ */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.benefit {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 300px;
}

.benefit .icon {
    font-size: 2rem;
    color: #92ba41;
    display: block;
    margin-bottom: 1rem;
}

.benefit h4 {
    margin-bottom: 0.5rem;
}

/* ================================================
   9. PAIN POINTS SECTION
   ================================================ */
.pain-points {
    background-color: #f0f8ff;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem auto;
    max-width: 1200px;
    justify-items: center;
}

.pain-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #004599;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    width: 100%;
    max-width: 400px;
}
.pain-icon {
    font-size: 1.2rem;       /* Slightly larger for better visibility */
    flex-shrink: 0;
    color: #92ba41;          /* Your brand green */
    font-weight: bold;       /* Makes the '❯' look more like a UI element */
    margin-top: 2px;         /* Fine-tuning the vertical alignment */
}


.pain-item p {
    margin: 0;
    line-height: 1.5;
}

.pain-solution {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 2rem auto 0;
    text-align: center;
}

.pain-solution p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.pain-solution p:last-child {
    color: #004599;
    font-weight: 600;
    margin-bottom: 0;
}

/* ================================================
   11. ARTICLES & BLOG
   ================================================ */
.latest-article {
    background-color: #f0f8ff;
}

.article-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto;
}

.article-content h4 {
    color: #004599;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-highlights {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-left: 4px solid #92ba41;
    margin: 1.5rem 0;
}

.article-highlights li {
    margin-bottom: 0.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.coming-soon-card {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    border: 2px dashed #ccc;
}

.coming-soon-card h4 {
    color: #666;
    margin-bottom: 1rem;
}

/* Blog Post Styling */
.blog-post {
    padding: 3rem 0;
}

.post-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 3rem;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-lead {
    font-size: 1.2rem;
    color: #333;
    line-height: 1.8;
    margin-top: 1rem;
}

.post-content {
    line-height: 1.8;
}

.post-content h2 {
    color: #004599;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    color: #1a365d;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content h4 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-content ul, .post-content ol {
    margin: 1rem 0 1rem 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background-color: #f0f8ff;
    border-left: 4px solid #92ba41;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.highlight-box h4 {
    color: #004599;
    margin-top: 0;
}

.post-references {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.post-references h3 {
    color: #004599;
    margin-top: 0;
}

.post-references ol {
    font-size: 0.9rem;
    line-height: 1.6;
}

.post-footer {
    margin-top: 3rem;
}

.author-box {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.author-box h4 {
    color: #004599;
    margin-top: 0;
}

.cta-box {
    background: linear-gradient(135deg, #004599 0%, #1a365d 100%);
    color: #fff;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.cta-box h4 {
    color: #fff;
    margin-top: 0;
}

.cta-box p {
    color: #fff;
    margin-bottom: 1.5rem;
}

/* ================================================
   12. FOOTER
   ================================================ */
.download-section {
    background-color: #004599 !important;
    color: #fff !important;
    text-align: center;
    padding: 4rem 0;
}

.download-section .container {
    text-align: center;
}

.download-section p {
    text-align: center;
    color: #fff;
}

.download-section h3 {
    text-align: center;
    color: #fff;
}

/* Specific section backgrounds */

.how-it-works {
    background-color: #ffffff;
}

.benefits {
    background-color: #f8f9fa;
}

.download-section h3 {
    color: #fff;
}

.email-instruction {
    margin-top: 2rem;
    font-size: 1.1rem;
}

.email-instruction strong {
    color: #92ba41;
}

/* ================================================
   10. INQA HIGHLIGHT
   ================================================ */
.inqa-highlight {
    background-color: #f0f8ff;
}

.intro {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.example-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 2rem auto;
}

.example-box h4 {
    margin-bottom: 1rem;
    color: #1a365d;
}

.cost-table {
    width: 100%;
    border-collapse: collapse;
}

.cost-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #e0e0e0;
}

.cost-table .amount {
    text-align: right;
    font-weight: 600;
}

.highlight-row {
    background-color: #f0f8ff;
    color: #92ba41;
    font-weight: 600;
}

.total-row {
    border-top: 2px solid #004599;
    font-size: 1.1rem;
}

.highlight-price {
    color: #004599;      /* The dark blue used in your logo/buttons */
    font-weight: 800;    /* Extra bold */
}

/* ================================================
   11. FACTORS GRID
   ================================================ */
.factors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.factor {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #92ba41;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 350px;
}

.factor h4 {
    color: #004599;
    margin-bottom: 0.5rem;
}

/* ================================================
   12. TRUST BADGES
   ================================================ */
.trust-badges {
    background-color: #1a365d;
    color: #fff;
    padding: 2rem 0;
}

.badges {
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}

.badge {
    text-align: center;
    padding: 1rem;
}

.badge strong {
    font-size: 1.1rem;
}

/* ================================================
   13. FOOTER
   ================================================ */
footer {
    background-color: #1a365d;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #92ba41;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #92ba41;
    text-decoration: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* ================================================
   14. RESPONSIVE DESIGN
   ================================================ */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
    
    header {
        padding: 1rem 0;
    }
    
    header nav {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo {
        text-align: center;
        width: 100%;
    }
    
    .nav-menu {
        margin-top: 1rem;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .funding-badge {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

/* ================================================
   15. UTILITY CLASSES
   ================================================ */
.text-center {
    text-align: center;
}

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* ================================================
   ACCORDION FOR 8 FAKTOREN PAGE
   ================================================ */
.factor-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background-color: #fff;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.accordion-header {
    background: linear-gradient(135deg, #004599 0%, #1a365d 100%);
    color: #fff;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.accordion-header:hover {
    background: linear-gradient(135deg, #003377 0%, #0f1f3d 100%);
}

.accordion-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.accordion-header .factor-number {
    background-color: #92ba41;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
}

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.accordion-content.active {
    max-height: 3000px;
    transition: max-height 0.6s ease-in;
}

.accordion-body {
    padding: 2rem;
    line-height: 1.8;
}

.accordion-body h4 {
    color: #004599;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.accordion-body h4:first-child {
    margin-top: 0;
}

.accordion-body ul {
    margin: 1rem 0 1rem 2rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

.accordion-body .inqa-note {
    background-color: #f0f8ff;
    border-left: 4px solid #92ba41;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.accordion-body .factor-cta {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    text-align: center;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 768px) {
    .accordion-header h3 {
        font-size: 1.1rem;
    }
    
    .accordion-header .factor-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .accordion-body {
        padding: 1.5rem;
    }
    
    .accordion-body .factor-cta {
        flex-direction: column;
    }
    
    .accordion-body .factor-cta .btn {
        width: 100%;
    }
}
/* ================================================
   NEW CUSTOMIZATIONS & READABILITY FIXES
   ================================================ */

/* 1. Ensure the Pain Points section is Light Blue */
.pain-points {
    background-color: #f0f8ff !important;
}

/* 2. Style the 11.000 Euro amount (Dark Blue & Bold) */
.highlight-price {
    color: #004599 !important;
    font-weight: 800 !important;
}

/* 3. Fix Readability in the Download Sections */
/* This forces the headers and text to be white against the dark blue background */
.download-section {
    background-color: #004599 !important;
    color: #ffffff !important;
}

.download-section h3, 
.download-section p, 
.download-section .email-instruction {
    color: #ffffff !important;
}

/* Keep the email highlight green for contrast */
.download-section .email-instruction strong {
    color: #92ba41 !important;
}

.resource-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
