/* === BLOG — 3D-ARCHI.DE === */

:root {
    --accent-green: #1C8F5C;
}

/* === BLOG LISTING === */
.blog-hero {
    background: #282727;
    padding: 120px 0 60px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.blog-hero__eyebrow {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 16px;
}
.blog-hero h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 16px;
}
.blog-hero__desc {
    font-size: 17px;
    color: rgba(255,255,255,0.5);
    max-width: 540px;
}

.blog-grid-section {
    background: #282727;
    padding: 60px 0 100px;
}
.blog-grid-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
}
.blog-card {
    background: #282727;
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
    text-decoration: none;
}
.blog-card:hover {
    border-color: var(--accent-green);
    text-decoration: none;
}
.blog-card__body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.blog-card__cat {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 14px;
    width: fit-content;
}
.blog-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 10px;
}
.blog-card__excerpt {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}
.blog-card__meta {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    display: flex;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 14px;
    align-items: center;
}
.blog-card__kd {
    margin-left: auto;
    font-size: 11px;
    color: var(--accent-green);
    font-weight: 700;
}
.blog-grid-section .section-title {
    max-width: 1200px;
    margin: 0 auto 32px;
    padding: 0 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
}

/* === ARTICLE HERO === */
.article-hero {
    background: #282727;
    padding: 120px 24px 52px;
}
.article-hero__inner {
    max-width: 860px;
    margin: 0 auto;
}
.breadcrumb-nav {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-bottom: 28px;
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}
.breadcrumb-nav a {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
}
.breadcrumb-nav a:hover { color: #fff; }
.article-hero__cat {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 18px;
}
.article-hero__title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 20px;
}
.article-hero__lead {
    font-size: 18px;
    color: rgba(255,255,255,0.65);
    line-height: 1.65;
    margin-bottom: 24px;
    max-width: 720px;
}
.article-hero__meta {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 20px;
    margin-top: 8px;
}

/* === ARTICLE LAYOUT === */
.article-body {
    background: #282727;
    padding: 56px 24px 100px;
}
.article-layout {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 72px;
    align-items: start;
}

/* === ARTICLE CONTENT === */
.article-content {
    color: rgba(255,255,255,0.82);
    font-size: 17px;
    line-height: 1.75;
}
.article-content h2 {
    font-size: clamp(20px, 2.8vw, 28px) !important;
    font-weight: 800 !important;
    color: #fff !important;
    line-height: 1.2 !important;
    margin: 52px 0 18px !important;
    padding-top: 36px !important;
    border-top: 1px solid rgba(255,255,255,0.08) !important;
    display: block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-align: left !important;
    width: 100% !important;
    flex-direction: unset !important;
    flex-wrap: unset !important;
    justify-content: unset !important;
    align-items: unset !important;
}
.article-content h3 {
    font-size: 19px;
    font-weight: 700;
    color: #fff;
    margin: 32px 0 12px;
    line-height: 1.3;
}
.article-content p {
    margin-bottom: 22px;
}
.article-content ul, .article-content ol {
    margin: 0 0 22px 0;
    padding-left: 26px;
}
.article-content li {
    margin-bottom: 9px;
    line-height: 1.65;
}
.article-content strong { color: #fff; font-weight: 700; }
.article-content a { color: var(--accent-green); text-decoration: underline; text-underline-offset: 3px; }
.article-content a:hover { color: #fff; }

.article-callout {
    background: rgba(28,143,92,0.1);
    border-left: 3px solid var(--accent-green);
    padding: 20px 24px;
    margin: 32px 0;
    font-size: 16px;
    color: rgba(255,255,255,0.88);
}
.article-callout strong {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-green);
}
.article-callout p { margin: 0; }

.article-table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
}
.article-table th {
    background: rgba(255,255,255,0.06);
    color: #fff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 13px;
    letter-spacing: 0.5px;
}
.article-table td {
    padding: 11px 16px;
    color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 15px;
}
.article-table tr:hover td {
    background: rgba(255,255,255,0.02);
}
.td-green { color: var(--accent-green) !important; font-weight: 700; }
.td-red { color: #e05050 !important; }

/* === TOC SIDEBAR === */
.article-toc {
    background: #282727;
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px;
    position: sticky;
    top: 80px;
}
.article-toc__title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent-green);
    margin-bottom: 18px;
}
.article-toc ol {
    margin: 0;
    padding-left: 18px;
    list-style: decimal;
}
.article-toc li { margin-bottom: 9px; line-height: 1.35; }
.article-toc a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    font-size: 13px;
}
.article-toc a:hover { color: #fff; }
.toc-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin: 20px 0;
}
.toc-cta {
    font-size: 13px;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
    margin-bottom: 14px;
}

/* === ARTICLE CTA BOX === */
.article-cta-box {
    background: rgba(28,143,92,0.1);
    border: 1px solid var(--accent-green);
    padding: 32px;
    margin: 52px 0;
    text-align: center;
}
.article-cta-box h3 {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #fff !important;
    margin: 0 0 10px !important;
    line-height: 1.2 !important;
    border: none !important;
    padding: 0 !important;
}
.article-cta-box p {
    color: rgba(255,255,255,0.55);
    margin-bottom: 20px;
    font-size: 15px;
}

/* === FAQ === */
.article-faq { margin: 52px 0; }
.article-faq__title {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px;
}
details.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
details.faq-item summary {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 18px 0;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
    content: '+';
    color: var(--accent-green);
    font-size: 22px;
    font-weight: 300;
    flex-shrink: 0;
    line-height: 1;
}
details.faq-item[open] summary::after { content: '−'; }
details.faq-item .faq-answer {
    font-size: 15px;
    color: rgba(255,255,255,0.55);
    padding: 0 0 20px 0;
    line-height: 1.7;
    margin: 0;
}

/* === RELATED === */
.article-related {
    background: #282727;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 60px 24px;
}
.article-related__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.article-related__title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 28px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 960px) {
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-toc { display: none; }
    .blog-grid-inner {
        grid-template-columns: 1fr;
    }
    .article-table,
    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        border-right: 3px solid rgba(28,143,92,0.4);
    }
    .article-table td,
    .article-table th,
    .article-content table td,
    .article-content table th {
        white-space: normal;
        min-width: 120px;
    }
    .article-table::after,
    .article-content table::after {
        content: '← Tabelle scrollen →';
        display: block;
        text-align: center;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 1px;
        color: #1C8F5C;
        padding: 7px 0 2px;
        opacity: 0.8;
    }
}
@media (max-width: 600px) {
    .article-hero { padding: 110px 16px 36px; }
    .article-body { padding: 32px 16px 80px; }
    .article-content { font-size: 16px; line-height: 1.7; }
    .article-hero__title { font-size: 26px !important; }
    .article-hero__lead { font-size: 15px; }
    .article-hero__meta { gap: 12px; font-size: 12px; }
    .article-cta-box { padding: 20px 16px; }
    .article-cta-box h3 { font-size: 18px !important; }
    .article-callout { padding: 16px 16px; font-size: 15px; }
    .article-content h2 { font-size: 20px !important; margin: 36px 0 14px !important; padding-top: 24px !important; }
    .article-content h3 { font-size: 17px; }
    .article-faq__title { font-size: 18px; }
    .blog-hero { padding: 100px 16px 48px; }
    .blog-hero h1 { font-size: 28px; }
    .blog-hero__desc { font-size: 15px; }
    .blog-grid-inner { padding: 0 16px; gap: 16px; }
    .blog-card__body { padding: 20px; }
    .related-grid { grid-template-columns: 1fr; }
}
