:root {
    --color-teal: #0d9488;       
    --color-gold: #f59e0b;       
    --color-coral: #fb7185;      
    --color-mint: #34d399;       
    
    --bg-cream: #fffbf5;         
    --text-dark: #374151;        
    --text-heading: #111827;     
    
    --border-radius-card: 24px;  
    --font-head: 'Nunito', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

* { box-sizing: border_box; margin: 0; padding: 0; }

h1, h2, h3, h4 {
    font-family: var(--font-head);
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.2;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }

a { text-decoration: none; transition: 0.3s; }

.container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 2;
}

.blob-bg {
    position: absolute;
    z-index: -1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    opacity: 0.15;
    filter: blur(40px);
    pointer-events: none;
}
.page-header {
    padding: 80px 0 60px 0;
    text-align: center;
    position: relative;
}
.page-header h1 { color: var(--color-teal); margin-bottom: 20px; }
.page-header p { max-width: 700px; margin: 0 auto; font-size: 1.15rem; color: #6b7280; }

.header-blob {
    position: absolute; top: -50%; left: 50%; transform: translateX(-50%);
    width: 600px; height: 600px; background: var(--color-mint); opacity: 0.1;
    border-radius: 50%; z-index: -1; filter: blur(60px);
}

.timeline-section { padding: 60px 0; }

.timeline-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 30px;
    margin-bottom: 50px;
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    border: 1px solid #f3f0e7;
}

.step-badge {
    width: 60px; height: 60px;
    background: var(--color-teal);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800;
    box-shadow: 0 5px 15px rgba(13, 148, 136, 0.3);
}

.step-1 .step-badge { background: var(--color-coral); box-shadow: 0 5px 15px rgba(251, 113, 133, 0.3); }
.step-2 .step-badge { background: var(--color-teal); }
.step-3 .step-badge { background: var(--color-gold); box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3); }
.step-4 .step-badge { background: var(--color-mint); box-shadow: 0 5px 15px rgba(52, 211, 153, 0.3); }

.timeline-content h3 { margin-bottom: 15px; font-size: 1.5rem; }
.timeline-content p { margin-bottom: 15px; color: #4b5563; }
.timeline-icon { color: var(--color-teal); font-size: 1.2rem; margin-right: 8px; vertical-align: middle; }

.practical-section { padding: 60px 0; }
.practical-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.info-box {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius-card);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 6px solid var(--color-teal);
}

.info-box h3 { margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.info-box i { color: var(--color-teal); font-size: 1.8rem; }

.waiting-list-row {
    display: flex; justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #f3f0e7;
}
.waiting-list-row:last-child { border-bottom: none; }
.status-dot {
    height: 12px; width: 12px; border-radius: 50%; display: inline-block; margin-right: 8px;
}
.status-green { background-color: var(--color-mint); }
.status-orange { background-color: var(--color-gold); }

.municipality-list {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.municipality-tag {
    background: #f0fdfa; color: var(--color-teal);
    padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 700;
}
.municipality-tag-btn {
    background: #f0fdfa; color: var(--color-teal);
    padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 700;
    cursor: pointer;   
}
.municipality-tag-btn:hover {
    background: #f0fdfa; color: var(--color-teal);
    padding: 6px 14px; border-radius: 20px; font-size: 0.9rem; font-weight: 700;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: var(--color-teal);
    transition: all 0.3s ease;   
}

.tag-extra {
    background: #fff7ed; color: var(--color-gold); border: 1px solid #ffedd5;
}

.cta-container-wrapper { padding: 60px 0; position: relative; }
.cta-blob { bottom: -10%; left: -10%; width: 500px; height: 500px; background: var(--color-mint); opacity: 0.15; position: absolute; border-radius: 50%; filter: blur(50px); z-index: 0; }

.cta-bar {
    background: white; color: var(--text-heading); padding: 70px 40px; text-align: center;
    border-radius: var(--border-radius-card); margin: 0 auto; max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08); border: 1px solid #f3f0e7;
    position: relative; border-top: 6px solid var(--color-teal); z-index: 2;
}
.cta-bar h2 { color: var(--color-teal); margin-bottom: 15px; }
.cta-btn {
    background-color: var(--color-teal); color: white; padding: 15px 45px; font-weight: 800;
    border-radius: 50px; font-size: 1.1rem; display: inline-block; margin-top: 25px;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2); transition: 0.3s;
}
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(13, 148, 136, 0.3); background-color: #0f766e; }

.read-more-btn { 
    margin-top: auto; align-self: flex-start; 
    color: var(--color-teal); font-weight: 800; 
    border-bottom: 3px solid rgba(13, 148, 136, 0.2); 
    transition: 0.2s;
}
.service-item:hover .read-more-btn { border-color: var(--color-teal); }

.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.5); z-index: 2000; backdrop-filter: blur(5px);
    align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
    transform: translateZ(0);
    will-change: opacity;
}

.modal-overlay.active { display: flex; opacity: 1; }

.modal-content {
    background: white; width: 90%; max-width: 600px;
    border-radius: 24px; padding: 40px; position: relative;
    transform: translateY(20px); transition: transform 0.3s;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); border: 2px solid var(--color-teal);
    max-height: 85vh;
    overflow-y: auto;
    overscroll-behavior: none;
    backface-visibility: hidden;
    -webkit-overflow-scrolling: touch;
    will-change: transform, scroll-position;
}
.modal-overlay.active .modal-content { transform: translateY(0) translateZ(0); }

.close-modal {
    position: absolute; top: 15px; right: 15px; background: #f3f4f6; border: none;
    width: 35px; height: 35px; border-radius: 50%; font-size: 1.5rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: #374151;
}
.close-modal:hover { background: var(--color-teal); color: white; }

.modal-content h3 { color: var(--color-teal); margin-bottom: 15px; font-size: 1.8rem; }
.modal-content p { font-size: 1rem; color: #4b5563; line-height: 1.6; margin-bottom: 20px; }
.modal-content ul { padding-left: 20px; margin-bottom: 20px; color: #4b5563; }
.modal-content li { margin-bottom: 8px; }

.modal-cta-btn {
    display: inline-block; background-color: var(--color-teal); color: white; 
    padding: 12px 30px; border-radius: 50px; font-weight: 700; text-decoration: none; margin-top: 10px;
    box-shadow: 0 10px 20px rgba(13, 148, 136, 0.2);
}
.modal-cta-btn:hover { background-color: #0f766e; transform: translateY(-2px); }

.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 35px; position: relative; z-index: 2; }

.service-item {
    background: white; border-radius: var(--border-radius-card); overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05); transition: all 0.3s ease;
    border: 2px solid white; display: flex; flex-direction: column;
    cursor: pointer; 
}
.service-item:hover { transform: translateY(-7px); border-color: var(--color-teal); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

.service-img-container { height: 220px; background-size: cover; background-position: center; }

.service-content { padding: 30px; flex: 1; display: flex; flex-direction: column; }
.service-content h3 { margin-bottom: 12px; font-size: 1.4rem; color: var(--text-heading); }
.service-content p { font-size: 1rem; color: #6b7280; margin-bottom: 25px; }

p.lijstgemeente {
    margin-top: 20px;
}

@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .practical-grid { grid-template-columns: 1fr; }
    .timeline-item { grid-template-columns: 1fr; text-align: center; }
    .step-badge { margin: 0 auto 20px auto; }
    .nav-menu { display: none; }
}