/* VIT-Exact – Offerteformulier (modern, responsief) */
.vit-exact-wrapper { --vit-accent: #FF8514; --vit-accent-dark: #c96900; }

.vit-exact-wrapper {
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
    width: 100%;
}
.vit-exact-wrapper *,
.vit-exact-wrapper *::before,
.vit-exact-wrapper *::after { box-sizing: border-box; }

/* De form-card zelf */
.vit-exact-form {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    border: 1px solid #ececed;
}
@media (max-width: 600px) {
    .vit-exact-form { padding: 20px; border-radius: 10px; }
}

/* Melding */
.vit-exact-melding {
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
}
.vit-exact-melding.vitex7-state-error   { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.vit-exact-melding.vitex7-state-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }

/* Velden grid */
.vit-form-velden {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.vit-veld-breed { grid-column: 1 / -1; }
.vit-veld-smal { max-width: 100%; }

@media (max-width: 640px) {
    .vit-form-velden { grid-template-columns: 1fr; gap: 14px; }
}

/* Veld */
.vit-veld { display: flex; flex-direction: column; min-width: 0; }
.vit-veld label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #1f2937;
    letter-spacing: 0.01em;
}
.vit-verplicht-ster { color: var(--vit-accent); margin-left: 2px; }

.vit-veld input,
.vit-veld select,
.vit-veld textarea {
    width: 100%;
    max-width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d8dade;
    border-radius: 9px;
    font-size: 15px;
    font-family: inherit;
    line-height: 1.5;
    background: #fff;
    color: #111827;
    transition: border-color 0.15s, box-shadow 0.15s;
    -webkit-appearance: none;
    appearance: none;
}
.vit-veld select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
    cursor: pointer;
}
.vit-veld textarea { resize: vertical; min-height: 110px; }

.vit-veld input:focus,
.vit-veld select:focus,
.vit-veld textarea:focus {
    outline: none;
    border-color: var(--vit-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--vit-accent) 18%, transparent);
}
.vit-veld input::placeholder,
.vit-veld textarea::placeholder { color: #9ca3af; }

.vit-veld input.vitex7-field-error,
.vit-veld select.vitex7-field-error,
.vit-veld textarea.vitex7-field-error { border-color: #ef4444; background: #fff8f8; }

.vit-veld-fout {
    font-size: 12.5px;
    color: #dc2626;
    margin-top: 5px;
    display: block;
    min-height: 1em;
    font-weight: 500;
}

/* Postcode forceert hoofdletters */
.vit-exact-form input[data-validatie="postcode_nl"] { text-transform: uppercase; }

/* Privacy */
.vit-privacy-veld {
    margin: 22px 0 4px;
    font-size: 14px;
    padding-top: 4px;
}
.vit-privacy-veld label {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    cursor: pointer;
    line-height: 1.5;
    color: #374151;
}
.vit-privacy-veld input[type="checkbox"] {
    width: 18px; height: 18px;
    margin: 2px 0 0 0;
    flex-shrink: 0;
    accent-color: var(--vit-accent);
    cursor: pointer;
}
.vit-privacy-veld a { color: var(--vit-accent); text-decoration: underline; }

/* Knop */
.vit-exact-knop {
    display: inline-block;
    width: auto;
    margin-top: 20px;
    padding: 14px 38px;
    background: var(--vit-accent);
    color: #fff;
    border: none;
    border-radius: 9px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 8px color-mix(in srgb, var(--vit-accent) 35%, transparent);
}
.vit-exact-knop:hover:not(:disabled) { background: var(--vit-accent-dark); box-shadow: 0 4px 12px color-mix(in srgb, var(--vit-accent) 45%, transparent); }
.vit-exact-knop:active:not(:disabled) { transform: translateY(1px); }
.vit-exact-knop:disabled { background: #cbd0d6; cursor: not-allowed; box-shadow: none; }

@media (max-width: 600px) {
    .vit-exact-knop { width: 100%; padding: 15px; }
}

.vit-verplicht-uitleg { font-size: 12.5px; color: #9ca3af; margin-top: 12px; }

/* Bevestiging */
.vit-bevestiging {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #ececed;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}
.vit-bevestiging-icoon {
    width: 64px; height: 64px;
    background: #16a34a; color: #fff;
    border-radius: 50%;
    font-size: 32px;
    line-height: 64px;
    margin: 0 auto 20px;
    box-shadow: 0 4px 14px rgba(22,163,74,0.3);
}
.vit-bevestiging p { font-size: 17px; line-height: 1.6; color: #374151; margin: 0; }

/* Voorwaardelijke vragen */
.vit-vragen-blok {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 4px;
}
.vit-vragen-blok:empty { display: none; }
.vit-vraag { animation: vit-vraag-in 0.2s ease; }
@keyframes vit-vraag-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
    .vit-vragen-blok { grid-template-columns: 1fr; gap: 14px; }
}
