/* Plak dit in module.css */

/* Root variabelen */
.niki-wrapper {
    --donkerblauw: #0F2C5A;
    --oranje: #F97316;
    --oranje-donker: #EA580C;
    --lichtgrijs: #F9FAFB;
    --wit: #FFFFFF;
    --tekstkleur: #374151;
    --tekstkleur-light: #6B7280;
    --border-kleur: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* Reset voor module */
.niki-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Wrapper */
.niki-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--lichtgrijs);
    color: var(--tekstkleur);
    line-height: 1.6;
}

/* Container */
.niki-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ===================================
   Hero Sectie
   =================================== */
.niki-hero {
    text-align: center;
    margin-bottom: 100px;
}

.niki-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--donkerblauw);
    margin-bottom: 24px;
    line-height: 1.1;
}

.niki-hero-subtitle {
    font-size: 20px;
    color: var(--tekstkleur-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.niki-hero-description {
    font-size: 16px;
    color: var(--tekstkleur);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===================================
   Secties
   =================================== */
.niki-featured {
    margin-bottom: 100px;
}

.niki-secondary {
    margin-bottom: 100px;
}

.niki-section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    color: var(--donkerblauw);
    margin-bottom: 60px;
}

/* ===================================
   Grid Layouts
   =================================== */
.niki-grid {
    display: grid;
    gap: 40px;
}

.niki-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.niki-grid-4 {
    grid-template-columns: repeat(2, 1fr);
}

/* ===================================
   Card Styles
   =================================== */
.niki-card {
    background: var(--wit);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-kleur);
    display: flex;
    flex-direction: column;
}

.niki-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Card Image Container */
.niki-card-image {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.niki-card-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    min-height: 100px;
}

/* Small Card Variations */
.niki-card-small .niki-card-image {
    height: 160px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Content */
.niki-card-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.niki-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: var(--donkerblauw);
    margin-bottom: 16px;
}

.niki-card-small h3 {
    font-size: 19px;
}

.niki-card p {
    color: var(--tekstkleur-light);
    line-height: 1.7;
    margin-bottom: 24px;
    flex-grow: 1;
}

/* ===================================
   Buttons
   =================================== */
.niki-btn {
    display: inline-block;
    background-color: var(--oranje);
    color: var(--wit) !important;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.niki-btn:hover {
    background-color: var(--oranje-donker);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
    color: var(--wit) !important;
    text-decoration: none !important;
}

/* ===================================
   Tools Section
   =================================== */
.niki-tools {
    margin-top: 100px;
    padding-top: 60px;
    border-top: 1px solid var(--border-kleur);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 992px) {
    .niki-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .niki-hero h1 {
        font-size: 36px;
    }
    
    .niki-container {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .niki-grid-2,
    .niki-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .niki-hero h1 {
        font-size: 32px;
    }
    
    .niki-hero-subtitle {
        font-size: 18px;
    }
    
    .niki-container {
        padding: 40px 20px;
    }
    
    .niki-card-content {
        padding: 24px;
    }
    
    .niki-section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .niki-hero {
        margin-bottom: 60px;
    }
    
    .niki-featured,
    .niki-secondary {
        margin-bottom: 60px;
    }
}
<!-- CSS voor in module.css -->
<style>
.niki-ebook-module { width: 100%; margin: 0; padding: 0; }
.niki-ebook-module * { box-sizing: border-box; }
.niki-wrapper { max-width: 1200px; margin: 0 auto; padding: 20px; }
.niki-container { width: 100%; }
.niki-section-title { font-size: 2rem; margin-bottom: 30px; text-align: center; font-weight: bold; color: #333; }
.niki-grid { display: grid; gap: 20px; margin-bottom: 40px; }
.niki-grid-4 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.niki-grid-2 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.niki-card { background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; border: 1px solid rgba(0,0,0,0.05); }
.niki-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.niki-card-small .niki-card-image { height: 260px; overflow: visible; position: relative; display: flex; align-items: center; justify-content: center; background: #fff; }
.niki-card .niki-card-image { height: 300px; overflow: visible; position: relative; display: flex; align-items: center; justify-content: center; background: #fff; }
.niki-card-image img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; object-position: center; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; image-rendering: -moz-crisp-edges; -webkit-backface-visibility: hidden; backface-visibility: hidden; transform: translateZ(0); filter: contrast(1.05) saturate(1.1); transition: transform .3s ease; }
.niki-card:hover .niki-card-image img { transform: scale(1.05); }
.niki-card-content { padding: 20px; display: flex; flex-direction: column; justify-content: space-between; min-height: 180px; }
.niki-card-small .niki-card-content { min-height: 180px; }
.niki-card-content h3 { font-size: 1.2rem; margin-bottom: 10px; font-weight: 700; color: #333; flex-shrink: 0; line-height: 1.3; height: 3.2rem; display: flex; align-items: center; }
.niki-card-content p { color: #666; line-height: 1.4; margin-bottom: 20px; flex-grow: 1; font-size: .95rem; }
.niki-btn { display: block; background: #FF6B35 !important; color: #fff !important; padding: 14px 20px; text-decoration: none !important; border-radius: 8px; font-weight: 600; text-align: center; transition: all .3s ease; border: none; cursor: pointer; height: 52px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: .9rem; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.niki-btn:hover { background: #E55A2B !important; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255,107,53,.4); color: #fff !important; text-decoration: none !important; }

/* Responsive */
@media (max-width: 768px) {
  .niki-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .niki-grid-2 { grid-template-columns: 1fr; }
  .niki-card-small .niki-card-image { height: 220px; }
  .niki-card .niki-card-image { height: 260px; }
  .niki-card-small .niki-card-content { min-height: 160px; }
  .niki-card-content { min-height: 140px; }
  .niki-card-content h3 { height: auto; min-height: 2.8rem; }
}
@media (max-width: 480px) {
  .niki-card-small .niki-card-image { height: 180px; }
  .niki-card .niki-card-image { height: 220px; }
  .niki-wrapper { padding: 10px; }
  .niki-card-small .niki-card-content { min-height: 150px; }
  .niki-card-content { min-height: 130px; }
  .niki-btn { height: 48px; font-size: .85rem; }
  .niki-section-title { font-size: 1.5rem; }
}
</style>