#footer {
    padding: var(--p-600) 0px;
    .container{
        padding: var(--p-600);
        .footer-3 {
            overflow-x: unset;

            .component.footer-3::before {
                display: none !important;
            }
            .contactformular {
                width: 100% !important;
                background-color: #ffffff;
                border-radius: var(--br-primary);
                padding: var(--p-400);
                box-shadow: var(--shadow);
                max-width: 441px;
                max-height: 315px;
                @media (max-width: 992px ) {
                    max-width: unset;
                }

                .sitepart_16::before {
                    content: "Nehmen Sie Kontakt zu uns auf";
                    display: block;
                    font-weight: var(--fw-semibold) !important;
                    text-align: left;
                    padding-bottom: 5px;
                }

                .form-label-left {
                    display: flex;
                    flex-wrap: wrap;
                    gap: 10px;
                    width: 100%;
                }

                .form-group {
                    margin-bottom: 0;
                    position: relative;
                    padding: unset;

                    &.mail,
                    &.telefon {
                        flex: 0 0 calc(50% - 6px);
                    }

                    &.adress,
                    &.nachricht {
                        flex: 0 0 100%;
                    }

                    &.nachricht .form-control {
                        resize: vertical;
                        font-family: inherit;
                    }
                }

                .form-control {
                    width: 100%;
                    padding: 12px 16px;
                    border: 1px solid #E0E0E0;
                    border-radius: 8px;
                    font-size: 14px;
                    color: #333333;
                    transition: all 0.3s ease;
                    box-sizing: border-box;

                    &:focus {
                        outline: 2px solid transparent; /* box-shadow below is the visible indicator */
                        border-color: #3E9CFF;
                        background-color: #ffffff;
                        box-shadow: 0 0 0 3px rgba(62, 156, 255, 0.4);
                    }

                    &:focus-visible {
                        outline: 2px solid #3E9CFF;
                        outline-offset: 2px;
                    }

                    @media (forced-colors: active) {
                        &:focus {
                            outline: 2px solid ButtonText;
                        }
                    }

                    &::placeholder {
                        color: #999999;
                        font-size: 14px;
                    }
                }

                textarea.form-control {
                    /* min-height: 100px;  */
                    resize: vertical;
                    font-family: inherit;
                }

                label {
                    display: none;
                }

                input[type="checkbox"] {
                    width: 18px;
                    height: 18px;
                    cursor: pointer;
                }

                .form-check {
                    display: flex;
                    align-items: center;
                    font-size: 13px;
                    margin: 0px;

                    label {
                        align-items: center;
                        display: flex;
                        justify-content: center;
                        cursor: pointer;
                        user-select: none;
                    }

                    span {
                        white-space: nowrap;
                        word-spacing: -0.1rem;

                        br {
                            display: none;
                        }
                    }
                }

                .recaptcha-class {
                    width: 100% !important;
                    float: none !important;
                    margin: 15px 0 !important;
                    display: flex;
                    justify-content: flex-start;
                }

                .contact-button {
                    width: 140px;
                    margin-top: 10px;

                    input[type="submit"],
                    .button {
                        width: 100%;
                        padding: 10px 24px;
                        background-color: #3E9CFF !important;
                        color: #ffffff !important;
                        border: none;
                        border-radius: 8px;
                        font-size: 16px;
                        font-weight: var(--fw-regular);
                        cursor: pointer;
                        transition: all 0.3s ease;
                        box-shadow: 0 2px 8px rgba(62, 156, 255, 0.3);

                        &:hover {
                            background-color: #2F8AE6 !important;
                            box-shadow: 0 4px 12px rgba(62, 156, 255, 0.4);
                            transform: translateY(-1px);
                        }

                        &:active {
                            transform: translateY(0);
                            box-shadow: 0 2px 6px rgba(62, 156, 255, 0.3);
                        }

                        &:focus-visible {
                            outline: 3px solid #3E9CFF;
                            outline-offset: 3px;
                        }

                        &:focus {
                            outline: 3px solid #3E9CFF;
                            outline-offset: 3px;
                        }

                        &:focus:not(:focus-visible) {
                            outline: none;
                        }
                    }
                }

                div[style*="display:none"],
                div[style*="display: none"] {
                    display: none !important;
                }

                @media (max-width: 768px) {
                    .form-group {
                        &.mail,
                        &.telefon {
                            flex: 0 0 100%;
                        }
                    }

                    .sitepart_16::before {
                        font-size: 18px;
                        margin-bottom: 20px;
                    }
                }
            }
        }
    }
    
}

@media (max-width: 1200px) {
    .container{
        .footer-3 {
            .contactformular {
                max-height: unset !important; 
                span {
                    white-space: wrap !important;
                    word-spacing: unset !important;

                    br {
                        display: none;
                    }
                }
            }
        }
    }   
}   
    
    







