/* Global reset - geen ruimte boven header */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) body {
        background: #111827;         color: #f3f4f6;
    }
}
html[data-theme="dark"] body {
    background: #111827;         color: #f3f4f6;
}



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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    color: #1f2937;
    min-height: 100vh;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]), html:not([data-theme="light"]) body {
        background: linear-gradient(135deg, #0f172a 0%, #1a202c 100%);         color: #f3f4f6;
    }
}
html[data-theme="dark"], html[data-theme="dark"] body {
    background: linear-gradient(135deg, #0f172a 0%, #1a202c 100%);         color: #f3f4f6;
}


.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero {
    padding: 5rem 1.5rem 4rem;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .hero p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .hero p {
    color: #9ca3af;
}


.input-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 500px;
    margin: 0 auto 3rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .input-card {
        background: #1f2937;         box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}
html[data-theme="dark"] .input-card {
    background: #1f2937;         box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


.input-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .input-group label {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .input-group label {
    color: #9ca3af;
}


.input-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-family: monospace;
    margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .input-group input {
        background: #111827;         border-color: #374151;         color: #f3f4f6;
    }
}
html[data-theme="dark"] .input-group input {
    background: #111827;         border-color: #374151;         color: #f3f4f6;
}


.input-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input-group button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.input-group button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
}

.score-section {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .score-section {
        background: #1f2937;         box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
}
html[data-theme="dark"] .score-section {
    background: #1f2937;         box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}


.score-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
}

.score-bar {
    margin-bottom: 2.5rem;
}

.bar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    font-size: 14px;
}

.bar-label {
    font-weight: 600;
}

.bar-points {
    color: #3b82f6;
    font-weight: 700;
}

.bar-container {
    width: 100%;
    height: 12px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .bar-container {
        background: #374151;
    }
}
html[data-theme="dark"] .bar-container {
    background: #374151;
}


.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 999px;
    animation: fillBar 1.5s ease-out forwards;
}

.bar-fill.bar-1 { animation-delay: 0.1s; }
.bar-fill.bar-2 { animation-delay: 0.3s; }
.bar-fill.bar-3 { animation-delay: 0.5s; }
.bar-fill.bar-4 { animation-delay: 0.7s; }
.bar-fill.bar-5 { animation-delay: 0.9s; }

@keyframes fillBar {
    from { width: 0%; }
    to { width: var(--bar-width); }
}

.bar-detail {
    font-size: 12px;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .bar-detail {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .bar-detail {
    color: #9ca3af;
}


.result-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2.5rem;
}

.result-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-value {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.result-info {
    font-size: 13px;
    opacity: 0.85;
}

.how-it-works {
    padding: 4rem 1.5rem;
    margin: 3rem auto;
    max-width: 1320px;
}

.how-it-works .container {
    max-width: 1200px;
}

.how-it-works h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 1rem;
}

/* "Wat analyseren we precies?" — gecentreerd, consistent met de rest */
.features-block {
    margin-top: 4rem;
}

.how-it-works .features-heading {
    text-align: center;
    font-size: 24px;
    margin-bottom: 2rem;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .section-subtitle {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .section-subtitle {
    color: #9ca3af;
}


.process-flow {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    align-items: stretch;
}

@media (max-width: 1024px) {
    .process-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.process-step {
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: white;
    border: 1px solid #eceff4;
    border-radius: 16px;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.process-step:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .process-step {
        background: #172032;         border-color: #2a3550;
    }
    html:not([data-theme="light"]) .process-step:hover {
        border-color: #3b82f6;         box-shadow: 0 12px 28px rgba(0,0,0,0.4);
    }
}
html[data-theme="dark"] .process-step {
    background: #172032;         border-color: #2a3550;
}
html[data-theme="dark"] .process-step:hover {
    border-color: #3b82f6;         box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}


.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.25s ease;
}

.process-step:hover .step-icon {
    transform: translateY(-2px);
}

.step-icon i {
    font-size: 26px;
    line-height: 1;
}

.step-icon svg {
    width: 32px;
    height: 32px;
    stroke: white;
    fill: white;
}

.process-step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .process-step h3 {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .process-step h3 {
    color: #f3f4f6;
}


.process-step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .process-step p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .process-step p {
    color: #9ca3af;
}


.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #60a5fa;
    font-weight: bold;
    text-align: center;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .process-arrow {
        display: none;
    }
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .step {
        background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }
}
html[data-theme="dark"] .step {
    background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}


.step-number {
    font-size: 36px;
    font-weight: 900;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .step p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .step p {
    color: #9ca3af;
}


.features {
    padding: 4rem 1.5rem;
    background: transparent;
    margin: 3rem 0;
    border-radius: 12px;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2.25rem 1.5rem;
    background: white;
    border: 1px solid #eceff4;
    border-radius: 16px;
    box-shadow: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.12);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .feature-card {
        background: #172032;         border-color: #2a3550;
    }
    html:not([data-theme="light"]) .feature-card:hover {
        border-color: #3b82f6;         box-shadow: 0 12px 28px rgba(0,0,0,0.4);
    }
}
html[data-theme="dark"] .feature-card {
    background: #172032;         border-color: #2a3550;
}
html[data-theme="dark"] .feature-card:hover {
    border-color: #3b82f6;         box-shadow: 0 12px 28px rgba(0,0,0,0.4);
}


.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.25s ease;
}

.feature-card:hover .feature-icon {
    transform: translateY(-2px);
}

.feature-icon i {
    font-size: 26px;
    line-height: 1;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.feature-card h3,
.feature-card h4 {
    font-size: 16px;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .feature-card h3, html:not([data-theme="light"]) .feature-card h4 {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .feature-card h3, html[data-theme="dark"] .feature-card h4 {
    color: #f3f4f6;
}


.feature-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .feature-card p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .feature-card p {
    color: #9ca3af;
}


/* FAQ */
.faq {
    padding: 4rem 1.5rem;
    margin: 3rem 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    border-radius: 14px;
    border: 1px solid #eceff4;
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
    border-color: #dbe3ef;
}

.faq-item.open {
    border-color: #bfdbfe;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.08);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .faq-item {
        background: #172032;         border-color: #2a3550;
    }
    html:not([data-theme="light"]) .faq-item:hover {
        border-color: #3a486a;
    }
    html:not([data-theme="light"]) .faq-item.open {
        border-color: #3b82f6;         box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    }
}
html[data-theme="dark"] .faq-item {
    background: #172032;         border-color: #2a3550;
}
html[data-theme="dark"] .faq-item:hover {
    border-color: #3a486a;
}
html[data-theme="dark"] .faq-item.open {
    border-color: #3b82f6;         box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}


.faq-question {
    font-weight: 600;
    font-size: 15.5px;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: color 0.2s ease;
    user-select: none;
}

.faq-item.open .faq-question {
    color: #2563eb;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .faq-item.open .faq-question {
        color: #60a5fa;
    }
}
html[data-theme="dark"] .faq-item.open .faq-question {
    color: #60a5fa;
}


/* Toggle: '+' dat naar '×' draait bij openen (rotatie van 45°) */
.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eff6ff;
    color: #3b82f6;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.3s ease, background-color 0.2s ease, color 0.2s ease;
}

.faq-toggle.open {
    transform: rotate(45deg);
    background: #3b82f6;
    color: #ffffff;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .faq-toggle {
        background: #1e293b;         color: #60a5fa;
    }
    html:not([data-theme="light"]) .faq-toggle.open {
        background: #3b82f6;         color: #ffffff;
    }
}
html[data-theme="dark"] .faq-toggle {
    background: #1e293b;         color: #60a5fa;
}
html[data-theme="dark"] .faq-toggle.open {
    background: #3b82f6;         color: #ffffff;
}


.faq-answer {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.7;
    padding: 0 1.5rem 1.4rem 1.5rem;
    animation: slideDown 0.28s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-answer.hidden {
    display: none;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .faq-answer {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .faq-answer {
    color: #9ca3af;
}


/* DOMEIN VERKOPEN POPUP */
.offer-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    backdrop-filter: blur(3px);
}

.offer-popup.active {
    display: flex;
}

.offer-popup-content {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-popup-content {
        background: #1f2937;
    }
}
html[data-theme="dark"] .offer-popup-content {
    background: #1f2937;
}


.offer-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-close:hover {
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-close:hover {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .offer-close:hover {
    color: #f3f4f6;
}


.offer-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.offer-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 2rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-subtitle {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .offer-subtitle {
    color: #9ca3af;
}


.offer-form-group {
    margin-bottom: 1.5rem;
}

.offer-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-form-group label {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .offer-form-group label {
    color: #9ca3af;
}


.offer-form-group input,
.offer-form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-form-group input, html:not([data-theme="light"]) .offer-form-group textarea {
        background: #111827;         border-color: #374151;         color: #f3f4f6;
    }
}
html[data-theme="dark"] .offer-form-group input, html[data-theme="dark"] .offer-form-group textarea {
    background: #111827;         border-color: #374151;         color: #f3f4f6;
}


.offer-form-group input:focus,
.offer-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

.offer-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.offer-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.offer-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.offer-submit:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.offer-success {
    text-align: center;
    padding: 2rem;
}

.offer-success-icon {
    font-size: 48px;
    margin-bottom: 1rem;
}

.offer-success-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.offer-success-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .offer-success-text {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .offer-success-text {
    color: #9ca3af;
}


.offer-info-block {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    text-align: center;
}

.offer-info-domain {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.offer-info-label {
    font-size: 11px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.offer-info-value {
    font-size: 32px;
    font-weight: 900;
}

.offer-success-close {
    width: 100%;
    padding: 1rem;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.offer-success-close:hover {
    background: #2563eb;
}

.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .error {
        background: #7f1d1d;         color: #fee2e2;         border-color: #991b1b;
    }
}
html[data-theme="dark"] .error {
    background: #7f1d1d;         color: #fee2e2;         border-color: #991b1b;
}


/* LAADSCHERM */
.loading-screen {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.loading-screen.active {
    display: flex;
}

.loading-content {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .loading-content {
        background: #1f2937;
    }
}
html[data-theme="dark"] .loading-content {
    background: #1f2937;
}


.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .spinner {
        border-color: #374151;
    }
}
html[data-theme="dark"] .spinner {
    border-color: #374151;
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .loading-text {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .loading-text {
    color: #f3f4f6;
}


.loading-subtext {
    font-size: 14px;
    color: #6b7280;
    margin-top: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .loading-subtext {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .loading-subtext {
    color: #9ca3af;
}


/* POPUP MODAL */
.result-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
    backdrop-filter: blur(3px);
}

.result-popup.active {
    display: flex;
}

.result-popup-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.75rem 2rem 2rem;
    max-width: 640px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
    position: relative;
    animation: popup-pop 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes popup-pop {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to   { opacity: 1; transform: none; }
}

.popup-close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--text-3);
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.popup-close:hover {
    color: var(--text-1);
    background: var(--hairline);
}

.popup-domain-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-align: center;
    margin: 0 0 1.25rem;
    color: var(--text-1);
}

.popup-result-card {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1.4rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 1.6rem;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.popup-result-label {
    font-size: 11px;
    opacity: 0.9;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.popup-result-value {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.popup-result-info {
    font-size: 12px;
    opacity: 0.85;
}

/* Bars in 2 kolommen: compact, past zonder scrollen */
.popup-bars {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.1rem 1.6rem;
    margin-bottom: 1.6rem;
}

.popup-bar {
    opacity: 0;
    animation: popup-barIn 0.5s ease-out forwards;
}

.popup-bar:nth-child(1) { animation-delay: 0.05s; }
.popup-bar:nth-child(2) { animation-delay: 0.12s; }
.popup-bar:nth-child(3) { animation-delay: 0.19s; }
.popup-bar:nth-child(4) { animation-delay: 0.26s; }
.popup-bar:nth-child(5) { animation-delay: 0.33s; }
.popup-bar:nth-child(6) { animation-delay: 0.40s; }

@keyframes popup-barIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.popup-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    font-size: 12.5px;
}

.popup-bar-label {
    font-weight: 600;
    color: var(--text-1);
}

.popup-bar-points {
    flex-shrink: 0;
    background: var(--tint-blue);
    color: var(--tint-blue-text);
    font-weight: 700;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 999px;
}

.popup-bar-container {
    width: 100%;
    height: 8px;
    background: var(--hairline);
    border-radius: 999px;
    overflow: hidden;
}

.popup-bar-fill {
    position: relative;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.45);
    overflow: hidden;
    animation: popup-fillBar 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Glans die één keer over de balk sweept */
.popup-bar-fill::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
    transform: translateX(-100%);
    animation: popup-shimmer 1.3s ease-in-out 0.5s;
}

@keyframes popup-fillBar {
    from { width: 0%; }
    to   { width: var(--bar-width, 0%); }
}

@keyframes popup-shimmer {
    to { transform: translateX(100%); }
}

.popup-bar-detail {
    font-size: 11px;
    color: var(--text-2);
    margin-top: 0.35rem;
    line-height: 1.4;
}

.popup-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none;
    text-align: center;
}

.popup-action:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

@media (max-width: 560px) {
    .result-popup-content {
        padding: 1.5rem 1.25rem 1.75rem;
    }
    .popup-bars {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .popup-domain-title {
        font-size: 20px;
    }
    .popup-result-value {
        font-size: 34px;
    }
}

/* Respecteer 'prefers-reduced-motion': geen animaties, balken direct gevuld */
@media (prefers-reduced-motion: reduce) {
    .result-popup-content,
    .popup-bar { animation: none; opacity: 1; }
    .popup-bar-fill {
        width: var(--bar-width, 0%);
        animation: none;
    }
    .popup-bar-fill::after { display: none; }
}

/* ===== HEADER/NAVIGATION ===== */
/* Header handled via inline styles */
header {
    /* Styles now inline in HTML */
}

.header-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    height: 50px;
    width: auto;
}

.logo svg {
    height: 100%;
    width: auto;
}

nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    transition: color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) nav a {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] nav a {
    color: #f3f4f6;
}


nav a:hover {
    color: #3b82f6;
}



/* ===== PRICING SECTION ===== */
.pricing-section {
    padding: 4rem 1.5rem;
    margin: 3rem 0;
    /* Geen eigen achtergrond: laat de geanimeerde aurora erdoorheen zien,
       net als de andere secties (hero, "hoe het werkt", faq). */
    background: transparent;
}

.pricing-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 1rem;
}

.pricing-section > p {
    text-align: center;
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-section > p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .pricing-section > p {
    color: #9ca3af;
}


.pricing-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.pricing-explanation,
.pricing-examples {
    display: flex;
    flex-direction: column;
}

.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card {
        background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}
html[data-theme="dark"] .pricing-card {
    background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.pricing-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card h3 {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .pricing-card h3 {
    color: #f3f4f6;
}


.pricing-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.8;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .pricing-card p {
    color: #9ca3af;
}


.pricing-breakdown {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.breakdown-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 3px solid #3b82f6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .breakdown-item {
        background: #111827;
    }
}
html[data-theme="dark"] .breakdown-item {
    background: #111827;
}


.example-box {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .example-box {
        border-bottom-color: #374151;
    }
}
html[data-theme="dark"] .example-box {
    border-bottom-color: #374151;
}


.example-box:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.example-header {
    font-size: 13px;
    font-weight: 700;
    color: #3b82f6;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.example-calc {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #6b7280;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .calc-row {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .calc-row {
    color: #9ca3af;
}


.calc-row strong {
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .calc-row strong {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .calc-row strong {
    color: #f3f4f6;
}


.calc-value {
    font-weight: 700;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .calc-value {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .calc-value {
    color: #f3f4f6;
}


.calc-total {
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 0.75rem;
    font-weight: 700;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .calc-total {
        border-top-color: #374151;         color: #f3f4f6;
    }
}
html[data-theme="dark"] .calc-total {
    border-top-color: #374151;         color: #f3f4f6;
}


.calc-total .calc-value {
    color: #3b82f6;
}

/* ====== BUY DOMAIN PAGE ====== */
.input-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .input-card {
        background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}
html[data-theme="dark"] .input-card {
    background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .form-group label {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .form-group label {
    color: #f3f4f6;
}


.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    color: #1f2937;
    background: white;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .form-group input, html:not([data-theme="light"]) .form-group textarea {
        background: #111827;         border-color: #374151;         color: #f3f4f6;
    }
}
html[data-theme="dark"] .form-group input, html[data-theme="dark"] .form-group textarea {
    background: #111827;         border-color: #374151;         color: #f3f4f6;
}


.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.button {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(59, 130, 246, 0.3);
}

.section-subtitle {
    font-size: 16px;
    color: #6b7280;
    margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .section-subtitle {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .section-subtitle {
    color: #9ca3af;
}


.pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: 100%;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card {
        background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
}
html[data-theme="dark"] .pricing-card {
    background: #1f2937;         box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}


.pricing-card h3 {
    font-size: 20px;
    margin: 1rem 0 0 0;
    color: #1f2937;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card h3 {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] .pricing-card h3 {
    color: #f3f4f6;
}


.pricing-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .pricing-card p {
        color: #9ca3af;
    }
}
html[data-theme="dark"] .pricing-card p {
    color: #9ca3af;
}


/* Logo link - klikbaar logo */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

/* Menu badge - domeinen counter */
.menu-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #10b981;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
}

/* (oude #mainHeader-stijlen verwijderd — zie sectie SITE HEADER onderaan) */

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.85;
}

.logo-link img {
    height: 50px;
    width: auto;
    display: block;
}

nav ul li a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) nav ul li a {
        color: #f3f4f6;
    }
}
html[data-theme="dark"] nav ul li a {
    color: #f3f4f6;
}


nav ul li a:hover {
    color: #3b82f6;
}

nav ul li a[style*="color: #10b981"] {
    color: #10b981 !important;
}

nav ul li a[style*="color: #10b981"]:hover {
    color: #059669 !important;
}

/* ===== HAMBURGER MENU (MOBILE) ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
    gap: 6px;
}

.hamburger-btn span {
    width: 24px;
    height: 3px;
    background: #1f2937;
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .hamburger-btn span {
        background: #f3f4f6;
    }
}
html[data-theme="dark"] .hamburger-btn span {
    background: #f3f4f6;
}


.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile nav menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 100;
    animation: slideDown 0.3s ease;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .mobile-nav {
        background: #111827;
    }
}
html[data-theme="dark"] .mobile-nav {
    background: #111827;
}


.mobile-nav.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-nav a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .mobile-nav a {
        color: #f3f4f6;         border-bottom-color: #374151;
    }
}
html[data-theme="dark"] .mobile-nav a {
    color: #f3f4f6;         border-bottom-color: #374151;
}


.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a[style*="color: #10b981"] {
    color: #10b981 !important;
    border-bottom: 2px solid #10b981 !important;
    padding-bottom: calc(0.75rem - 2px);
}

/* Hamburger only on mobile */
@media (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    
    nav {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-nav {
        display: none !important;
    }
}

/* ===== MOBILE FILTER CONTROLS ===== */
.filter-controls-mobile {
    display: none;
}

/* ============================================================
   SITE HEADER — strak menu (markup: includes/header.php)
   Staat bewust onderaan het bestand zodat deze regels winnen
   van oudere header/dark-mode regels hierboven.
   ============================================================ */

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 72px;
}

/* ---- Thema-tokens: licht standaard, donker via data-theme of systeem ---- */
:root {
    --hdr-bg: rgba(255, 255, 255, 0.92);
    --hdr-border: #eef0f3;
    --hdr-link: #374151;
    --hdr-link-hover: #111827;
    --hdr-toggle-border: #e5e7eb;
    --hdr-toggle-color: #6b7280;
    --mnav-bg: #ffffff;
    --mnav-border: #f3f4f6;
    --mnav-link: #1f2937;
    --card-bg: #ffffff;
    --card-border: #e8eaee;
    --hairline: #f1f3f6;
    --text-1: #111827;
    --text-2: #6b7280;
    --text-3: #9ca3af;
    --tint-blue: #eff6ff;
    --tint-blue-text: #1e3a8a;
}

html[data-theme="light"] {
    --hdr-bg: rgba(255, 255, 255, 0.92);
    --hdr-border: #eef0f3;
    --hdr-link: #374151;
    --hdr-link-hover: #111827;
    --hdr-toggle-border: #e5e7eb;
    --hdr-toggle-color: #6b7280;
    --mnav-bg: #ffffff;
    --mnav-border: #f3f4f6;
    --mnav-link: #1f2937;
    --card-bg: #ffffff;
    --card-border: #e8eaee;
    --hairline: #f1f3f6;
    --text-1: #111827;
    --text-2: #6b7280;
    --text-3: #9ca3af;
    --tint-blue: #eff6ff;
    --tint-blue-text: #1e3a8a;
}

html[data-theme="light"] {
    --hdr-bg: rgba(255, 255, 255, 0.92);
    --hdr-border: #eef0f3;
    --hdr-link: #374151;
    --hdr-link-hover: #111827;
    --hdr-toggle-border: #e5e7eb;
    --hdr-toggle-color: #6b7280;
    --mnav-bg: #ffffff;
    --mnav-border: #f3f4f6;
    --mnav-link: #1f2937;
    --card-bg: #ffffff;
    --card-border: #e8eaee;
    --hairline: #f1f3f6;
    --text-1: #111827;
    --text-2: #6b7280;
    --text-3: #9ca3af;
    --tint-blue: #eff6ff;
    --tint-blue-text: #1e3a8a;
}

html[data-theme="dark"] {
    --hdr-bg: rgba(17, 24, 39, 0.82);
    --hdr-border: #232f47;
    --hdr-link: #cbd5e1;
    --hdr-link-hover: #ffffff;
    --hdr-toggle-border: #334155;
    --hdr-toggle-color: #94a3b8;
    --mnav-bg: #111827;
    --mnav-border: #232f47;
    --mnav-link: #e5e7eb;
    --card-bg: #1f2937;
    --card-border: #374151;
    --hairline: #374151;
    --text-1: #f3f4f6;
    --text-2: #9ca3af;
    --text-3: #6b7280;
    --tint-blue: rgba(59, 130, 246, 0.14);
    --tint-blue-text: #bfdbfe;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        --hdr-bg: rgba(17, 24, 39, 0.82);
        --hdr-border: #232f47;
        --hdr-link: #cbd5e1;
        --hdr-link-hover: #ffffff;
        --hdr-toggle-border: #334155;
        --hdr-toggle-color: #94a3b8;
        --mnav-bg: #111827;
        --mnav-border: #232f47;
        --mnav-link: #e5e7eb;
        --card-bg: #1f2937;
        --card-border: #374151;
        --hairline: #374151;
        --text-1: #f3f4f6;
        --text-2: #9ca3af;
        --text-3: #6b7280;
        --tint-blue: rgba(59, 130, 246, 0.14);
        --tint-blue-text: #bfdbfe;
    }
}

/* De balk zelf: volgt het thema, verbergt bij naar beneden scrollen */
#mainHeader {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--hdr-bg);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    backdrop-filter: blur(12px) saturate(180%);
    border-bottom: 1px solid var(--hdr-border);
    box-shadow: none;
    transition: transform 0.35s ease, background 0.3s ease, border-color 0.3s ease;
}

#mainHeader.header-hidden {
    transform: translateY(-100%);
}

#mainHeader .logo-link {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    flex-shrink: 0;
}

#mainHeader .logo-mark {
    height: 30px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

#mainHeader .logo-word {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-1);
    white-space: nowrap;
}

#mainHeader .logo-word span {
    color: #2563eb;
}

#mainHeader .logo-link img {
    height: 44px;
    width: auto;
    display: block;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Licht/donker-knop */
.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid var(--hdr-toggle-border);
    background: transparent;
    color: var(--hdr-toggle-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
    color: var(--hdr-link-hover);
    border-color: var(--hdr-toggle-color);
}

.theme-toggle svg {
    width: 16px;
    height: 16px;
    display: block;
}

/* Maan in licht thema, zon in donker thema (CSS regelt de wissel) */
.theme-toggle .icon-sun { display: none; }

html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
    html:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
}

#mainHeader .site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-shrink: 0;
}

#mainHeader .nav-link {
    position: relative;
    color: var(--hdr-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.01em;
    white-space: nowrap;
    padding: 0.4rem 0;
    transition: color 0.2s ease;
}

#mainHeader .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

#mainHeader .nav-link:hover {
    color: var(--hdr-link-hover);
}

#mainHeader .nav-link:hover::after {
    transform: scaleX(1);
}

/* CTA: Domeinen in verkoop */
#mainHeader .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #10b981;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

#mainHeader .nav-cta:hover {
    background: #059669;
    transform: translateY(-1px);
}

.nav-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: #059669;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
}

#mainHeader .hamburger-btn span {
    background: var(--hdr-link-hover);
}

/* ---- Mobiel menu: volgt het thema ---- */
#mobileNav {
    top: 72px;
    background: var(--mnav-bg);
    border-top: 1px solid var(--hdr-border);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.10);
    padding: 0.5rem 1.25rem 1.25rem;
    gap: 0;
}

#mobileNav a {
    color: var(--mnav-link);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 0.9rem 0.25rem;
    border-bottom: 1px solid var(--mnav-border);
}

#mobileNav a:active {
    color: #3b82f6;
}

#mobileNav .mobile-cta {
    margin-top: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #10b981;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    border-bottom: none;
}

@media (max-width: 768px) {
    .header-inner {
        height: 64px;
    }

    #mainHeader .logo-link img {
        height: 36px;
    }

    #mobileNav {
        top: 64px;
    }
}

/* ============================================================
   SITE FOOTER — zelfde band-stijl als .pricing-section
   ============================================================ */
.site-footer {
    margin: 3rem 0 0;
    padding: 4rem 0 2rem;
    background: #f9fafb;
    color: var(--text-1);
    border-top: 1px solid var(--hairline);
}

html[data-theme="dark"] .site-footer {
    background: #111827;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .site-footer {
        background: #111827;
    }
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: start;
}

.site-footer__col {
    min-width: 0;
}

.site-footer__brand-top,
.site-footer__heading {
    min-height: 36px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.site-footer__logo {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.site-footer__logo-mark {
    height: 32px;
    width: auto;
    flex-shrink: 0;
}

.site-footer__logo-word {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-1);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.site-footer__logo-word span {
    color: #2563eb;
}

.site-footer__tagline {
    font-size: 14px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.6;
    max-width: 32ch;
}

.site-footer__heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-2);
    margin: 0 0 1rem;
}

.site-footer__contact {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-2);
    margin: 0;
}

.site-footer__contact-name {
    display: block;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.25rem;
}

.site-footer__contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.site-footer__contact-links a,
.site-footer__links a {
    color: var(--text-2);
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer__contact-links a:hover,
.site-footer__links a:hover {
    color: #3b82f6;
}

.site-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--hairline);
    font-size: 13px;
    color: var(--text-3);
}

.site-footer__bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-footer__brand-top,
    .site-footer__heading {
        min-height: 0;
        margin-bottom: 0.75rem;
    }

    .site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
}

/* ============================================================
   GSAP lazy-load reveal + Lenis smooth scroll
   ------------------------------------------------------------
   De onderstaande selectorlijst moet gelijk blijven aan
   REVEAL_SELECTORS in assets/js/animations.js.

   html.vjd-anim wordt vóór de eerste paint gezet (zie includes/
   header.php), maar NIET bij prefers-reduced-motion. Zo blijven
   de blokken zichtbaar als animaties uit staan of JS niet draait.
   ============================================================ */
html.vjd-anim .hero h1:not(.vjd-shown),
html.vjd-anim .hero > .container > p:not(.vjd-shown),
html.vjd-anim .input-card:not(.vjd-shown),
html.vjd-anim .how-it-works > .container > h2:not(.vjd-shown),
html.vjd-anim .how-it-works .section-subtitle:not(.vjd-shown),
html.vjd-anim .process-step:not(.vjd-shown),
html.vjd-anim .process-arrow:not(.vjd-shown),
html.vjd-anim .how-it-works > .container > div > h3:not(.vjd-shown),
html.vjd-anim .feature-card:not(.vjd-shown),
html.vjd-anim .pricing-section h2:not(.vjd-shown),
html.vjd-anim .pricing-section .section-subtitle:not(.vjd-shown),
html.vjd-anim .price-card:not(.vjd-shown),
html.vjd-anim .faq > h2:not(.vjd-shown),
html.vjd-anim .faq-item:not(.vjd-shown),
html.vjd-anim .mp-head:not(.vjd-shown),
html.vjd-anim .mp-toolbar:not(.vjd-shown),
html.vjd-anim .mp-meta:not(.vjd-shown),
html.vjd-anim .domain-card:not(.vjd-shown),
html.vjd-anim .privacy-container > *:not(.vjd-shown) {
    opacity: 0;
    transform: translateY(28px);
    will-change: opacity, transform;
}

/* Lenis smooth scroll (aanbevolen basis-CSS) */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: clip;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}

/* ============================================================
   Hero calculator — opgefrist + strakkere sectie-afstand
   (gescoped op .hero zodat de buy-pagina ongemoeid blijft)
   ============================================================ */
.hero {
    padding: 4rem 1.5rem 2rem;
}

.hero p {
    margin-bottom: 2.25rem;
}

.hero .input-card {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    padding: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
    border: 1px solid #e7ecf5;
    border-radius: 22px;
    box-shadow:
        0 24px 48px -8px rgba(37, 99, 235, 0.32),
        0 12px 28px rgba(15, 23, 42, 0.10);
}

/* Subtiele blauwe gradient-rand rond de kaart */
.hero .input-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.55), rgba(37, 99, 235, 0) 45%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

.hero .input-group label {
    text-align: left;
    color: #6b7280;
}

/* Invoerveld met globe-icoon links */
.hero .input-field {
    position: relative;
    margin-bottom: 0.9rem;
}

.hero .input-field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    font-size: 16px;
    line-height: 1;
    color: #9ca3af;
    pointer-events: none;
    transition: color 0.2s ease;
}

.hero .input-group input {
    padding: 1.05rem 1.1rem 1.05rem 2.9rem;
    border-radius: 14px;
    margin-bottom: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero .input-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.hero .input-field:focus-within .input-field-icon {
    color: #3b82f6;
}

/* Knop met pijl die meebeweegt bij hover */
.hero .input-group button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 1.05rem;
    border-radius: 14px;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero .input-group button i {
    display: flex;
    font-size: 15px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.hero .input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.45);
}

.hero .input-group button:hover i {
    transform: translateX(3px);
}

/* Kleine geruststelling onder de knop */
.input-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 1.1rem;
    margin: 1rem 0 0;
    font-size: 12.5px;
    color: #9ca3af;
}

.input-note span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.input-note i {
    color: #10b981;
    font-size: 12px;
}

/* Strakkere overgang naar "Hoe werkt het?" */
.how-it-works {
    padding: 2rem 1.5rem 3rem;
    margin: 0.5rem auto 2rem;
}

/* Dark mode (dubbel: systeemvoorkeur + handmatige theme-toggle) */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .hero .input-card {
        background: linear-gradient(180deg, #1a2436 0%, #151d2e 100%);
        border-color: #2a3550;
        box-shadow:
            0 24px 48px -8px rgba(0, 0, 0, 0.55),
            0 12px 28px rgba(0, 0, 0, 0.35);
    }
    html:not([data-theme="light"]) .hero .input-group label {
        color: #9ca3af;
    }
    html:not([data-theme="light"]) .hero .input-field-icon {
        color: #64748b;
    }
}
html[data-theme="dark"] .hero .input-card {
    background: linear-gradient(180deg, #1a2436 0%, #151d2e 100%);
    border-color: #2a3550;
    box-shadow:
        0 24px 48px -8px rgba(0, 0, 0, 0.55),
        0 12px 28px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .hero .input-group label {
    color: #9ca3af;
}
html[data-theme="dark"] .hero .input-field-icon {
    color: #64748b;
}

/* ============================================================
   PRICING — strak (markup: index.php #pricing)
   Gebruikt de thema-tokens (--card-bg, --text-1, ...) en volgt
   dus automatisch licht/donker.
   ============================================================ */

.section-eyebrow {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #3b82f6;
    margin: 0 0 0.6rem;
}

.pricing-section {
    padding: 4.5rem 1.5rem;
}

.pricing-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-1);
    margin: 0 0 0.6rem;
}

.pricing-section .section-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--text-2);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
    max-width: 1080px;
    margin: 0 auto;
}

.price-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 2rem;
    text-align: left;
    box-shadow: none;
}

.price-card h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-1);
    margin: 0 0 1rem;
}

.price-intro {
    font-size: 14px;
    color: var(--text-2);
    line-height: 1.65;
    margin: 0 0 1.5rem;
}

.price-steps {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.price-steps li {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
}

.step-num {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: var(--tint-blue);
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.price-steps strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
    margin-bottom: 0.2rem;
}

.price-steps p {
    font-size: 13px;
    color: var(--text-2);
    margin: 0;
    line-height: 1.55;
}

.price-note {
    background: var(--tint-blue);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    font-size: 13px;
    line-height: 1.6;
    color: var(--tint-blue-text);
}

.price-example {
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.15rem 1.25rem;
    margin-bottom: 1rem;
}

.price-example-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-1);
    margin: 0 0 0.6rem;
}

.calc-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 13.5px;
    color: var(--text-2);
    padding: 0.3rem 0;
}

.calc-line span:last-child {
    font-weight: 600;
    color: var(--text-1);
    font-variant-numeric: tabular-nums;
}

.calc-line.total {
    border-top: 1px solid var(--hairline);
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    color: var(--text-1);
    font-weight: 600;
}

.calc-line.total span:last-child {
    color: #059669;
    font-weight: 800;
    font-size: 15px;
}

.price-fineprint {
    font-size: 12px;
    color: var(--text-3);
    margin: 1.25rem 0 0;
    line-height: 1.6;
}

@media (max-width: 860px) {
    .price-grid {
        grid-template-columns: 1fr;
    }

    .pricing-section {
        padding: 3.5rem 1.5rem;
    }

    .pricing-section h2 {
        font-size: 26px;
    }
}

/* Menubalk en mobiel menu blijven bewust licht in beide thema's
   (het logo heeft donkere tekst; zie gesprek 09-07-2026) */
html[data-theme="dark"] #mainHeader .hamburger-btn span,
html:not([data-theme="light"]) #mainHeader .hamburger-btn span {
    background: var(--hdr-link-hover);
}

/* ============================================================
   LOADING — analyse-scherm (markup: index.php #loadingScreen)
   Pulserend merkje, afvinkende stappen en een voortgangsbalk.
   De animaties herstarten vanzelf bij elke keer tonen, omdat het
   scherm van display:none naar flex gaat.
   ============================================================ */

.loading-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2.5rem 2.25rem 2.25rem;
    width: min(90vw, 360px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    text-align: center;
}

/* ---- Pulserend merkje met radar-ringen ---- */
.loading-orbit {
    position: relative;
    width: 88px;
    height: 88px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-mark {
    width: 44px;
    height: 44px;
    animation: vjd-mark-pulse 1.6s ease-in-out infinite;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.45);
    animation: vjd-ring-pulse 1.8s ease-out infinite;
}

.orbit-ring-2 {
    animation-delay: 0.9s;
}

@keyframes vjd-ring-pulse {
    0%   { transform: scale(0.55); opacity: 0.9; }
    100% { transform: scale(1.15); opacity: 0; }
}

@keyframes vjd-mark-pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.09); }
}

/* ---- Titel met lopende puntjes ---- */
.loading-text {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-1);
}

.loading-dots span {
    animation: vjd-dot-blink 1.2s infinite;
}

.loading-dots span:nth-child(2) { animation-delay: 0.2s; }
.loading-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes vjd-dot-blink {
    0%, 60%, 100% { opacity: 0.2; }
    30%           { opacity: 1; }
}

/* ---- Afvinkende analysestappen ---- */
.loading-steps {
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    text-align: left;
}

.loading-steps li {
    position: relative;
    padding-left: 1.85rem;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    animation: vjd-step-text 0.3s ease forwards;
    animation-delay: calc(0.45s + var(--i) * 0.55s);
}

/* rondje ... */
.loading-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--card-border);
    box-sizing: border-box;
    animation: vjd-step-dot 0.3s ease forwards;
    animation-delay: calc(0.45s + var(--i) * 0.55s);
}

/* ... dat een blauw vinkje wordt */
.loading-steps li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 50%;
    width: 5px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: translateY(-70%) rotate(45deg) scale(0);
    animation: vjd-step-check 0.25s ease forwards;
    animation-delay: calc(0.55s + var(--i) * 0.55s);
}

@keyframes vjd-step-text {
    to { color: var(--text-1); }
}

@keyframes vjd-step-dot {
    to { border-color: #3b82f6; background: #3b82f6; }
}

@keyframes vjd-step-check {
    to { transform: translateY(-70%) rotate(45deg) scale(1); }
}

/* ---- Voortgangsbalk ---- */
.loading-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--hairline);
    overflow: hidden;
    margin-top: 1.5rem;
}

.loading-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    animation: vjd-bar-fill 2.6s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}

@keyframes vjd-bar-fill {
    to { width: 100%; }
}

/* ---- Zonder animatievoorkeur: alles direct in eindstand ---- */
@media (prefers-reduced-motion: reduce) {
    .orbit-ring { display: none; }

    .orbit-mark,
    .loading-dots span,
    .loading-steps li,
    .loading-steps li::before,
    .loading-steps li::after,
    .loading-bar span {
        animation: none;
    }

    .loading-steps li { color: var(--text-1); }
    .loading-steps li::before { border-color: #3b82f6; background: #3b82f6; }
    .loading-steps li::after { transform: translateY(-70%) rotate(45deg) scale(1); }
    .loading-bar span { width: 100%; }
}

/* ============================================================
   GEANIMEERDE ACHTERGROND (aurora)
   ------------------------------------------------------------
   Drijvende, vervaagde kleurvlekken achter alle content.
   Basis-gradient staat op <html> (canvas); <body> is transparant
   zodat de blobs erdoorheen zichtbaar zijn. Markup: includes/header.php.
   ============================================================ */
html {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f9 100%);
}
body {
    background: transparent;
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) {
        background: linear-gradient(180deg, #0a0f1c 0%, #0e1526 60%, #0b1120 100%);
    }
    html:not([data-theme="light"]) body {
        background: transparent;
    }
}
html[data-theme="dark"] {
    background: linear-gradient(180deg, #0a0f1c 0%, #0e1526 60%, #0b1120 100%);
}
html[data-theme="dark"] body {
    background: transparent;
}

.site-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Subtiel puntenraster dat naar onder wegvaagt — strakke SaaS-textuur */
.site-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.05) 1px, transparent 1.4px);
    background-size: 34px 34px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 78%);
            mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.45) 45%, transparent 78%);
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .site-bg::before {
        background-image: radial-gradient(circle, rgba(148, 163, 184, 0.08) 1px, transparent 1.4px);
    }
}
html[data-theme="dark"] .site-bg::before {
    background-image: radial-gradient(circle, rgba(148, 163, 184, 0.08) 1px, transparent 1.4px);
}

.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    will-change: transform;
}

/* ---- Licht thema: luchtige, samenhangende blauw/indigo-gloed ---- */
.bg-blob-1 {
    width: 44vw;
    height: 44vw;
    top: -16vw;
    left: -6vw;
    background: radial-gradient(circle at 35% 35%, rgba(59, 130, 246, 0.24), transparent 70%);
    animation: blob-a 30s ease-in-out infinite;
}
.bg-blob-2 {
    width: 40vw;
    height: 40vw;
    top: -8vw;
    right: -10vw;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.20), transparent 70%);
    animation: blob-b 36s ease-in-out infinite;
}
.bg-blob-3 {
    width: 38vw;
    height: 38vw;
    top: 32vh;
    left: 30vw;
    background: radial-gradient(circle at 50% 50%, rgba(56, 189, 248, 0.14), transparent 70%);
    animation: blob-c 33s ease-in-out infinite;
}

/* ---- Donker thema: diepere blauw/indigo/violet-gloed (samenhangend) ---- */
@media (prefers-color-scheme: dark) {
    html:not([data-theme="light"]) .bg-blob-1 {
        background: radial-gradient(circle at 35% 35%, rgba(37, 99, 235, 0.40), transparent 68%);
    }
    html:not([data-theme="light"]) .bg-blob-2 {
        background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.30), transparent 68%);
    }
    html:not([data-theme="light"]) .bg-blob-3 {
        background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.18), transparent 68%);
    }
}
html[data-theme="dark"] .bg-blob-1 {
    background: radial-gradient(circle at 35% 35%, rgba(37, 99, 235, 0.40), transparent 68%);
}
html[data-theme="dark"] .bg-blob-2 {
    background: radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.30), transparent 68%);
}
html[data-theme="dark"] .bg-blob-3 {
    background: radial-gradient(circle at 50% 50%, rgba(124, 58, 237, 0.18), transparent 68%);
}

/* Rustige, trage drift — premium in plaats van druk */
@keyframes blob-a {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(5vw, 4vh) scale(1.08); }
    66%      { transform: translate(-3vw, 7vh) scale(0.96); }
}
@keyframes blob-b {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(-5vw, 5vh) scale(1.06); }
    66%      { transform: translate(-1vw, -4vh) scale(0.95); }
}
@keyframes blob-c {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(4vw, -5vh) scale(1.07); }
    66%      { transform: translate(6vw, 2vh) scale(0.97); }
}

/* Geen beweging bij prefers-reduced-motion (blobs blijven staan) */
@media (prefers-reduced-motion: reduce) {
    .bg-blob { animation: none; }
}
