/* =====================================================================
   Kennisbank - overzicht en artikelen
   (Basis: /css/style.css)
   ===================================================================== */

/* --- Overzicht --- */
.kb-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.kb-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 34px 30px 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    color: var(--text-dark);
    text-decoration: none;
    transition: transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.kb-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.kb-card h3 {
    font-size: 1.3rem;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.kb-card p {
    color: var(--text-light);
    line-height: 1.65;
    margin: 0 0 26px;
    flex: 1;
}

.kb-card:hover .icon-tile {
    background: var(--dark);
    color: #fff;
    transform: rotate(-4deg);
}

/* --- Artikel: kop --- */
.article-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 90px;
    text-align: center;
    color: #fff;
    background: var(--ink) radial-gradient(70% 90% at 50% 0%, rgba(255, 255, 255, 0.12), transparent 70%);
    isolation: isolate;
}

.article-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
    margin: 0 auto 18px;
    max-width: 900px;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, 0.72));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rise 0.9s var(--ease) both 0.06s;
}

.article-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 680px;
    margin: 0 auto;
    animation: rise 0.9s var(--ease) both 0.12s;
}

.breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 7px 16px;
    margin-bottom: 26px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    animation: rise 0.9s var(--ease) both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

/* --- Artikel: inhoud --- */
.article-wrapper {
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px 100px;
}

.intro-lead {
    font-size: 1.35rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 50px;
    padding-bottom: 44px;
    border-bottom: 1px solid var(--line);
}

.article-content {
    color: #3a3a3f;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.15;
    letter-spacing: -0.025em;
    font-weight: 700;
    color: var(--text-dark);
    margin: 64px 0 20px;
}

.article-content h2:first-child {
    margin-top: 0;
}

.article-content p {
    margin: 0 0 24px;
}

.article-content strong {
    color: var(--text-dark);
}

.article-content ul {
    padding-left: 0;
    margin: 0 0 30px;
    list-style: none;
    display: grid;
    gap: 12px;
}

.article-content ul li {
    position: relative;
    padding-left: 34px;
}

.article-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Uitgelichte informatie */
.info-callout {
    position: relative;
    margin: 44px 0;
    padding: 30px 32px 30px 88px;
    border-radius: 20px;
    background: var(--background-offwhite);
    color: var(--text-light);
    line-height: 1.7;
}

.info-callout::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 30px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.info-callout strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

/* Kaarten in artikelen */
.tech-grid,
.type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 36px 0 44px;
}

.tech-card,
.type-card {
    padding: 28px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.tech-card:hover,
.type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.tech-card h4,
.type-card h4 {
    display: inline-flex;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--background-offwhite);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-dark);
}

.tech-card p,
.type-card p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-light);
    margin: 0;
}

/* Stappen */
.strategy-step {
    display: flex;
    gap: 22px;
    align-items: flex-start;
    padding: 26px 28px;
    margin-bottom: 14px;
    border: 1px solid var(--line);
    border-radius: 20px;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.strategy-step:hover {
    border-color: transparent;
    box-shadow: var(--shadow);
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dark);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.strategy-step h4 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    letter-spacing: -0.015em;
    color: var(--text-dark);
}

.strategy-step p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-light);
}

/* Onderhoudslijst */
.maintenance-list {
    margin: 36px 0;
    padding: 30px 32px;
    border-radius: 20px;
    background: var(--background-offwhite);
}

.maintenance-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 20px;
}

.maintenance-item:last-child {
    margin-bottom: 0;
}

.maintenance-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Toepassingen-box */
.use-case-box {
    margin: 36px 0;
    padding: 30px 32px;
    border-radius: 20px;
    background: var(--background-offwhite);
}

.use-case-box ul {
    margin: 0;
}

.use-case-box ul li {
    padding-left: 0;
}

.use-case-box ul li::before {
    display: none;
}

/* Tabellen */
.table-container,
.spec-table-container,
.comparison-container {
    overflow-x: auto;
    margin: 36px 0 44px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.pitch-table,
.spec-table,
.comp-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.98rem;
}

.pitch-table th,
.spec-table th,
.comp-table th {
    padding: 16px 20px;
    text-align: left;
    background: var(--background-offwhite);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.pitch-table td,
.spec-table td,
.comp-table td {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
    line-height: 1.55;
    vertical-align: top;
}

.pitch-table tbody tr:hover,
.spec-table tbody tr:hover,
.comp-table tbody tr:hover {
    background: #fafafb;
}

.comp-table tr td:first-child {
    font-weight: 600;
    color: var(--text-dark);
    width: 30%;
}

/* Afsluitende call-to-action in een artikel */
.cta-fixed {
    position: relative;
    overflow: hidden;
    margin-top: 80px;
    padding: 64px 36px;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    background: var(--ink) radial-gradient(70% 120% at 50% 0%, rgba(255, 255, 255, 0.13), transparent 70%);
    isolation: isolate;
}

.article-content .cta-fixed h2,
.cta-fixed h2 {
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.3rem);
    margin: 0 0 14px;
}

.article-content .cta-fixed p,
.cta-fixed p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto 30px;
}

.btn-lumos {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s;
}

.btn-lumos::after {
    content: "→";
    transition: transform 0.25s var(--ease);
}

.btn-lumos:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 255, 255, 0.18);
}

.btn-lumos:hover::after {
    transform: translateX(3px);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 44px;
    height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.back-btn:hover {
    border-color: var(--text-dark);
    transform: translateY(-1px);
}

.back-btn span {
    transition: transform 0.25s var(--ease);
}

.back-btn:hover span {
    transform: translateX(-3px);
}

@media (max-width: 992px) {
    .kb-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .kb-grid,
    .tech-grid,
    .type-grid {
        grid-template-columns: 1fr;
    }

    .article-hero {
        padding: 70px 0 64px;
    }

    .article-wrapper {
        padding: 56px 16px 80px;
    }

    .intro-lead {
        font-size: 1.15rem;
    }

    .info-callout {
        padding: 84px 24px 26px;
    }

    .info-callout::before {
        left: 24px;
        top: 26px;
    }

    .strategy-step {
        flex-direction: column;
        gap: 14px;
    }

    .cta-fixed {
        padding: 48px 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .article-hero h1,
    .article-hero p,
    .breadcrumb {
        animation: none;
    }
}
