/* HSL Kontaktseite Fix */

/* Instagram Element ausblenden */
.entry-content a[href*="instagram"],
body.page a[href*="instagram"],
.kt-info-box290_006d9a-99,
.wp-block-kadence-infobox a[href*="instagram"] {
    display: none !important;
}

/* WICHTIG: Submit-Button anzeigen! */
.kadence-form-290_132847-39 .kadence-blocks-form-field.kb-submit-field {
    display: block !important;
}

/* Submit-Button muss sichtbar sein */
.kadence-form-290_132847-39 .kb-forms-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-height: 56px !important;
    visibility: visible !important;
    opacity: 1 !important;
    background: linear-gradient(135deg, #0F6F73 0%, #20A39A 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 24px rgba(15, 111, 115, 0.22) !important;
    font-weight: 700 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
    cursor: pointer !important;
    padding: 1rem 1.5rem !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease !important;
}

.kadence-form-290_132847-39 .kb-forms-submit:hover,
.kadence-form-290_132847-39 .kb-forms-submit:focus {
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 28px rgba(15, 111, 115, 0.28) !important;
    filter: brightness(1.02) !important;
}

/* Kadence-JS-Fallback ausblenden, wir liefern eine eigene Bestätigung */
.kadence-form-290_132847-39 .kadence-blocks-form-warning {
    display: none !important;
}

/* Formular Styling */
.kadence-form-290_132847-39 {
    display: flex !important;
    justify-content: center !important;
}

.entry-content form,
body.page form,
.kb-form {
    max-width: 700px !important;
    width: min(100%, 700px) !important;
    background: white !important;
    padding: 2rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
    margin: 2rem auto !important;
}

.entry-content form input[type="text"],
.entry-content form input[type="email"],
.entry-content form textarea,
body.page form input[type="text"],
body.page form input[type="email"],
body.page form textarea,
.kb-form input.kb-field,
.kb-form textarea.kb-field {
    width: 100% !important;
    padding: 1rem !important;
    border: 2px solid #e5e7e7 !important;
    border-radius: 8px !important;
    font-family: var(--global-body-font-family, inherit) !important;
    font-size: 16px !important;
    transition: border-color 0.3s ease !important;
    margin-bottom: 1.5rem !important;
    background: white !important;
}

.entry-content form input[type="text"]:focus,
.entry-content form input[type="email"]:focus,
.entry-content form textarea:focus,
body.page form input[type="text"]:focus,
body.page form input[type="email"]:focus,
body.page form textarea:focus,
.kb-form input.kb-field:focus,
.kb-form textarea.kb-field:focus {
    border-color: #D97B2E !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(217, 123, 46, 0.1) !important;
}

.entry-content form textarea,
body.page form textarea,
.kb-form textarea.kb-field {
    min-height: 150px !important;
    resize: vertical !important;
}

.entry-content form label,
body.page form label,
.kb-form label {
    display: block !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: var(--global-palette3, #1d1d1d) !important;
}

.hsl-kontakt-status {
    margin-top: 1rem !important;
    padding: 1rem 1.25rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    line-height: 1.55 !important;
    font-size: 16px !important;
}

.hsl-kontakt-status.is-success {
    background: #e8f6ef !important;
    color: #14532d !important;
    border: 1px solid #b9e4c9 !important;
}

.hsl-kontakt-status.is-error {
    background: #fef2f2 !important;
    color: #991b1b !important;
    border: 1px solid #f7b7b7 !important;
}

.hsl-kontakt-status a {
    color: inherit !important;
    text-decoration: underline !important;
}

.kadence-form-290_132847-39 .kb-form.is-submitting {
    opacity: 0.98 !important;
}

.kadence-form-290_132847-39 .kb-forms-submit:disabled {
    cursor: wait !important;
    opacity: 0.75 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Submit Button - HSL Styling */
.entry-content form button[type="submit"],
.entry-content form input[type="submit"],
body.page form button[type="submit"],
body.page form input[type="submit"],
.kb-form .kb-forms-submit {
    background: linear-gradient(135deg, #D97B2E 0%, #C25D1A 100%) !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border: none !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: var(--global-heading-font-family, inherit) !important;
    text-transform: uppercase !important;
}

.entry-content form button[type="submit"]:hover,
.entry-content form input[type="submit"]:hover,
body.page form button[type="submit"]:hover,
body.page form input[type="submit"]:hover,
.kb-form .kb-forms-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(217, 123, 46, 0.3) !important;
    background: linear-gradient(135deg, #C25D1A 0%, #D97B2E 100%) !important;
}

/* Ruhrgebiet-Links */
.entry-content ul li a,
body.page ul li a {
    color: #D97B2E !important;
    text-decoration: none !important;
    font-weight: 500 !important;
}

.entry-content ul li a:hover,
body.page ul li a:hover {
    color: #C25D1A !important;
    text-decoration: underline !important;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .kadence-form-290_132847-39 {
        display: block !important;
    }

    .entry-content form,
    body.page form,
    .kb-form {
        padding: 1.5rem !important;
        width: 100% !important;
    }
}
