
/* Homepage mailing / enterprise overlays — zelfde premium motion als dashboard modal-backdrop */
.home-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 24px;
    box-sizing: border-box;
    background: rgba(10, 10, 12, 0.42);
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.34s,
        backdrop-filter 0.45s ease,
        -webkit-backdrop-filter 0.45s ease;
}

.home-modal-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    backdrop-filter: blur(16px) saturate(1.1);
    transition:
        opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s,
        backdrop-filter 0.48s ease,
        -webkit-backdrop-filter 0.48s ease;
}

.home-modal-backdrop--compact {
    padding: 16px;
}

@media (min-width: 640px) {
    .home-modal-backdrop--compact {
        padding: 24px;
    }
}

@keyframes homepage-modal-pane-in {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.982);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.home-modal-backdrop.is-open > .modal-content {
    animation: homepage-modal-pane-in 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.06) inset,
        0 28px 64px -20px rgba(0, 0, 0, 0.65),
        0 14px 32px -16px rgba(0, 0, 0, 0.38);
}

@media (prefers-reduced-motion: reduce) {
    .home-modal-backdrop,
    .home-modal-backdrop.is-open {
        transition-duration: 0.01ms;
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }
    .home-modal-backdrop.is-open > .modal-content {
        animation: none;
    }
}

.modal-content {
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #666;
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}
.modal-close:hover { color: #fff; }
.mailing-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fff;
    font-size: 14px;
    margin-bottom: 16px;
    outline: none;
    transition: all 0.2s;
}
.mailing-input:focus { border-color: var(--color-brand); background: rgba(255,255,255,0.05); }

/*
 * Chrome vervangt de donkere veldvulling door wit/lichtblauw bij autofill.
 * De doorschijnende 3%-witlaag ligt boven een dekkende #1a1a1a (kaart van login en contact),
 * anders schijnt de browserkleur erdoor. De limoen focusrand blijft border-color.
 */
.mailing-input:-webkit-autofill,
.mailing-input:-webkit-autofill:hover,
.mailing-input:-webkit-autofill:focus,
.mailing-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #242424 inset !important;
    box-shadow: 0 0 0 1000px #242424 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    color: #fff !important;
    transition: background-color 9999s ease-out 0s, border-color 0.2s ease !important;
}
.mailing-input:autofill {
    box-shadow: 0 0 0 1000px #242424 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    color: #fff !important;
    background-color: #242424 !important;
    transition: background-color 9999s ease-out 0s, border-color 0.2s ease !important;
}

/* Contact card — zelfde taal als /dashboard/inloggen (OAuth + placeholders + pill) */
.homepage-contact-card {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 28px 24px 24px;
    position: relative;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color-scheme: dark;
}
@media (min-width: 640px) {
    .homepage-contact-card {
        padding: 36px 32px 32px;
    }
}
.homepage-contact-card .oauth-stack {
    margin: 0 0 4px;
}
.homepage-contact-wa-btn {
    width: 100%;
    margin: 0;
    border-color: rgba(37, 211, 102, 0.28);
}
.homepage-contact-wa-btn:hover {
    border-color: rgba(37, 211, 102, 0.45);
    background: rgba(37, 211, 102, 0.08);
}
.homepage-contact-or {
    margin: 18px 0;
}
.homepage-contact-oauth-secondary {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.homepage-contact-oauth-secondary__label {
    margin: 0 0 10px;
    text-align: center;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.35);
}
.homepage-contact-oauth-secondary__row {
    display: flex;
    gap: 8px;
}
.homepage-contact-oauth-secondary__btn {
    flex: 1;
    height: 42px;
    padding: 0 36px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.08);
    background: transparent;
}
.homepage-contact-oauth-secondary__btn:hover {
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.03);
}
.homepage-contact-oauth-secondary__btn .oauth-logo {
    left: 12px;
    width: 18px;
    height: 18px;
}
.homepage-contact-oauth-secondary__btn .oauth-logo svg {
    width: 18px;
    height: 18px;
}
.homepage-contact-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
#homepageContactForm .mailing-input {
    margin-bottom: 0;
    height: 50px;
    padding: 0 16px;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    transition: border-color 0.2s, box-shadow 0.2s;
}
#homepageContactForm .mailing-input::placeholder {
    color: #555;
    font-weight: 400;
}
#homepageContactForm .mailing-input:focus {
    outline: none;
    border-color: rgba(204, 255, 0, 0.4);
    background: #242424;
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.08);
}
.homepage-contact-textarea {
    min-height: 120px !important;
    height: auto !important;
    resize: vertical;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
    line-height: 1.45;
    font-weight: 500 !important;
}
.homepage-contact-submit {
    width: 100%;
    min-height: 50px;
    margin-top: 18px;
    border: none;
    border-radius: 999px;
    background: #CCFF00;
    color: #111;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.homepage-contact-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(204, 255, 0, 0.25);
}
.homepage-contact-submit:disabled {
    opacity: 0.4;
    pointer-events: none;
}
.homepage-contact-privacy {
    margin-top: 14px;
    text-align: center;
    font-size: 10px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.35);
}
#homepageContactForm .klic-phone-hint {
    display: none;
}
#homepageContactForm .homepage-contact-phone .klic-phone-unified {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #242424;
    min-height: 50px;
}
#homepageContactForm .homepage-contact-phone .klic-phone-prefix {
    background: rgba(255, 255, 255, 0.055);
}
#homepageContactForm .homepage-contact-phone .klic-phone-unified:focus-within {
    border-color: rgba(204, 255, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(204, 255, 0, 0.08);
}
#homepageContactForm .homepage-contact-phone .mailing-input {
    height: auto;
    min-height: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: 12px 14px;
}
#homepageContactForm .homepage-contact-phone select.mailing-input {
    padding: 12px 6px 12px 14px;
}
#homepageContactForm .homepage-contact-phone .mailing-input:focus {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Chrome autofill op contact: naam/mail/telefoon niet wit/blauw */
#homepageContactForm .mailing-input:-webkit-autofill,
#homepageContactForm .mailing-input:-webkit-autofill:hover,
#homepageContactForm .mailing-input:-webkit-autofill:focus,
#homepageContactForm .mailing-input:-webkit-autofill:active,
#homepageContactForm .homepage-contact-phone .klic-phone-input-slot input:-webkit-autofill,
#homepageContactForm .homepage-contact-phone .klic-phone-input-slot input:-webkit-autofill:hover,
#homepageContactForm .homepage-contact-phone .klic-phone-input-slot input:-webkit-autofill:focus,
#homepageContactForm .homepage-contact-phone .klic-phone-input-slot input:-webkit-autofill:active,
#homepageContactForm .homepage-contact-phone .mailing-input:-webkit-autofill,
#homepageContactForm .homepage-contact-phone .mailing-input:-webkit-autofill:hover,
#homepageContactForm .homepage-contact-phone .mailing-input:-webkit-autofill:focus,
#homepageContactForm .homepage-contact-phone .mailing-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #242424 inset !important;
    box-shadow: 0 0 0 1000px #242424 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    color: #fff !important;
    border-color: transparent !important;
    transition: background-color 9999s ease-out 0s !important;
}
#homepageContactForm .mailing-input:autofill,
#homepageContactForm .homepage-contact-phone .klic-phone-input-slot input:autofill,
#homepageContactForm .homepage-contact-phone .mailing-input:autofill {
    box-shadow: 0 0 0 1000px #242424 inset !important;
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    color: #fff !important;
    background-color: #242424 !important;
}

.mailing-fields .mailing-input {
    margin-bottom: 0;
}
.homepage-contact-success-desc {
    text-wrap: balance;
    max-width: 100%;
}
@media (min-width: 640px) {
    .homepage-contact-success-desc {
        white-space: nowrap;
    }
}

.homepage-contact-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
@media (min-width: 640px) {
    .homepage-contact-channels-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}
.homepage-contact-channel-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    height: 100%;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.85);
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}
a.homepage-contact-channel-card:hover {
    border-color: rgba(204, 255, 0, 0.35);
    background: rgba(32, 32, 32, 0.95);
    transform: translateY(-1px);
}
.homepage-contact-channel-card--static {
    cursor: default;
}
.homepage-contact-channel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(204, 255, 0, 0.1);
    color: var(--color-brand);
    font-size: 14px;
}
.homepage-contact-channel-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
}
.homepage-contact-channel-value {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}
.homepage-contact-channel-action {
    margin-top: auto;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-brand);
}
.homepage-contact-channel-card--static .homepage-contact-channel-action {
    display: none;
}

.shine { position: relative; overflow: hidden; }
