/* Blog – klar, modern, minimalistisch */

/* Article Layout */
.article-wrapper {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Article Header */
.article-header-modern {
    background: linear-gradient(135deg, #9db89d 0%, #8bb38b 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px;
}

.article-header-modern h1 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.article-meta-modern {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-meta-modern i {
    margin-right: 0.35rem;
    opacity: 0.9;
}

/* Article Content */
.article-content-modern {
    background: #fff;
    padding: 2.5rem 0;
    margin: 0 auto;
    max-width: 720px;
}

.article-content-modern p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1.25rem;
}

.article-content-modern h2 {
    color: #1e3a2f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.35;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #9db89d;
}

.article-content-modern h2:first-of-type {
    margin-top: 0;
}

.article-content-modern h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
}

.article-content-modern h4 {
    color: #4b5563;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.article-content-modern ul,
.article-content-modern ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.article-content-modern li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
    color: #374151;
}

.article-content-modern strong {
    color: #1e3a2f;
    font-weight: 600;
}

.article-content-modern a {
    color: #4a7c59;
    text-decoration: none;
}

.article-content-modern a:hover {
    text-decoration: underline;
}

/* Boxes – reduziert */
.info-box-modern {
    background: #f9fafb;
    border-left: 3px solid #9db89d;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.info-box-modern h3 {
    color: #111827;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-box-modern {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.tip-box-modern h3 {
    color: #166534;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.tip-box-modern p,
.tip-box-modern ul {
    margin-left: 0;
    color: #15803d;
}

.warning-box-modern {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.warning-box-modern h3 {
    color: #b45309;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.warning-box-modern p,
.warning-box-modern ul {
    margin-left: 0;
    color: #92400e;
}

/* Checklist */
.checklist-modern {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.checklist-modern ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.checklist-modern li {
    padding: 0.6rem 0 0.6rem 2rem;
    position: relative;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0;
}

.checklist-modern li:last-child {
    border-bottom: none;
}

.checklist-modern li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 18px;
    height: 18px;
    background: #9db89d;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.7rem;
}

.checklist-modern h3 {
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.checklist-modern h3:first-child {
    margin-top: 0;
}

/* Step Boxes */
.step-box-modern {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}

.step-number-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    background: linear-gradient(135deg, #9db89d, #8bb38b);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9375rem;
    margin-right: 1rem;
}

/* Table */
.table-modern {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9375rem;
}

.table-modern th {
    background: linear-gradient(135deg, #9db89d, #8bb38b);
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.table-modern td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.table-modern tr:last-child td {
    border-bottom: none;
}

/* Related Articles */
.related-articles {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.related-articles h3 {
    color: #1e3a2f;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.related-articles ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-articles li {
    margin-bottom: 0.5rem;
}

.related-articles a {
    color: #4a7c59;
    text-decoration: none;
    font-size: 0.9375rem;
}

.related-articles a:hover {
    text-decoration: underline;
}

.related-articles a::before {
    content: "→ ";
    color: #4a7c59;
}

/* Breadcrumb */
.breadcrumb-modern {
    padding: 0.75rem 0;
    font-size: 0.8125rem;
    color: #6b7280;
    margin-bottom: 0;
}

.breadcrumb-modern a {
    color: #4a7c59;
    text-decoration: none;
}

.breadcrumb-modern a:hover {
    text-decoration: underline;
}

.breadcrumb-modern span {
    margin: 0 0.35rem;
    color: #9ca3af;
}

/* Reading Time */
.reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
}

/* ===== Artikel mit article-header + about-section (einheitliches Design) ===== */
.article-header {
    background: linear-gradient(135deg, #9db89d 0%, #8bb38b 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
    margin-top: 70px;
}

.article-header h1 {
    color: white;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    margin: 0 0 0.75rem;
    font-weight: 600;
    line-height: 1.3;
}

.article-header .article-meta-modern {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-header .reading-time {
    color: rgba(255, 255, 255, 0.9);
}

.about-section .article-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 2.5rem 24px;
}

.about-section .article-content p {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #374151;
    margin-bottom: 1.25rem;
}

.about-section .article-content h2 {
    color: #1e3a2f;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #9db89d;
}

.about-section .article-content h2:first-of-type {
    margin-top: 0;
}

.about-section .article-content h3 {
    color: #374151;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.about-section .article-content h4 {
    color: #4b5563;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

.about-section .article-content ul,
.about-section .article-content ol {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.about-section .article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
    color: #374151;
}

.about-section .article-content strong {
    color: #1e3a2f;
    font-weight: 600;
}

.about-section .article-content a {
    color: #4a7c59;
    text-decoration: none;
}

.about-section .article-content a:hover {
    text-decoration: underline;
}

/* Legacy-Boxen in Artikeln */
.highlight-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h3 {
    color: #166534;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.phase-box {
    background: #f9fafb;
    border-left: 3px solid #9db89d;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.phase-box h3 {
    color: #1e3a2f;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.time-box {
    background: #f9fafb;
    border-left: 3px solid #9db89d;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}

.time-box h3 {
    color: #1e3a2f;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-box {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}

.step-box h3 {
    color: #374151;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.checklist {
    background: #f9fafb;
    border-left: 3px solid #9db89d;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 6px;
}

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

.checklist li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #9db89d;
    font-weight: bold;
    font-size: 1rem;
}

.comparison-table,
.cost-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.9375rem;
}

.comparison-table th,
.cost-table th {
    background: linear-gradient(135deg, #9db89d, #8bb38b);
    color: white;
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
}

.comparison-table td,
.cost-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.comparison-table tr:last-child td,
.cost-table tr:last-child td {
    border-bottom: none;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.pros {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.cons {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
}

.pros h3, .cons h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.pros h3 { color: #166534; }
.cons h3 { color: #b91c1c; }

/* Related / Verwandte Artikel (Legacy) */
.about-section .article-content [style*="border-top"] h3,
.about-section .article-content .related-articles h3 {
    color: #1e3a2f;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

.about-section .article-content [style*="border-top"] a,
.about-section .article-content .related-articles a {
    color: #4a7c59;
    text-decoration: none;
    font-size: 0.9375rem;
}

.about-section .article-content [style*="border-top"] a:hover,
.about-section .article-content .related-articles a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .article-wrapper {
        padding: 0 16px;
    }

    .article-header,
    .article-header-modern {
        padding: 2rem 1.25rem;
    }

    .about-section .article-content {
        padding: 1.5rem 16px;
    }

    .pros-cons {
        grid-template-columns: 1fr;
    }

    .article-content-modern {
        padding: 1.5rem 0;
    }

    .article-content-modern h2 {
        font-size: 1.25rem;
    }

    .article-content-modern h3 {
        font-size: 1.0625rem;
    }

    .step-number-modern {
        min-width: 28px;
        height: 28px;
        font-size: 0.875rem;
        margin-right: 0.75rem;
    }

    .tip-box-modern,
    .warning-box-modern,
    .info-box-modern {
        padding: 1rem 1.25rem;
    }
}
