.imprint-contact-container {
    height: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
    padding-left: 150px;
    padding-right: 150px;
    margin-bottom: 80px;
}

.imprint-contact-content {
    color: var(--avoxa-anthrazit);
    width: 100%;
}

.imprint-contact-title {
    font-size: 55px;
    color: var(--avoxa-red);
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.imprint-contact-section {
    font-size: 18px;

    margin-bottom: 1.5rem;
}

.imprint-contact-subtitle {
    font-size: 35px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.imprint-contact-bold {
    font-weight: bold;
    margin-top: 1rem;
}

.contact-imprint-contact-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
    padding-left: 150px;
    padding-right: 150px;
    padding-bottom: 80px;
    color: var(--avoxa-anthrazit);
    /* Background setup */
    background-color: var(--avoxa-anthrazit);
    background-image: url("../images/AdobeStock_961563422.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    position: relative;
    user-select: none;
}

.contact-imprint-contact-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.3);
    z-index: 1;
    pointer-events: none;
}

.contanct-page-wrapper {
    max-width: 780px;
    width: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 25px;
    padding-bottom: 50px;
    border-radius: 10px;
    box-shadow: 0px 20px 26px var(--custom-shadow-color);
    margin-top: 74px;
    margin-bottom: 74px;
    position: relative;
    z-index: 2;
}
.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90%;
    margin-bottom: 25px;
}
.contact-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--avoxa-anthrazit);
}
.contanct-title-line {
    width: 220px;
    height: 3px;
    background-color: var(--avoxa-red);
}
.form-wrapper {
    width: 90%;
}
.required-span {
    color: var(--avoxa-red);
    margin-left: 5px;
}
.input-group-2items {
    display: flex;
    flex-direction: column;
}
.inputs-wrapper {
    display: flex;
    flex-direction: row;
}
.input-group-2item {
    flex: 1;
}
.input-group-2item-left {
    margin-right: 10px;
}
.input-group-2item-right {
    margin-right: 10px;
}
.contact-page-lable-name {
    font-weight: 500;
}
.input-group-2item label {
    font-weight: 500 !important;
    font-size: 14px !important;
}
.input-group {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group label {
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 14px !important;
    color: var(--avoxa-anthrazit);
}

.input-group input,
.input-group select,
input[name="captcha"] {
    width: 100%;
    padding-left: 20px;
    border: none;
    border-radius: 15px;
    background-color: var(--avoxa-background-color) !important;
    height: 51px;
    font-size: 16px;
}

.contact-message-textarea {
    width: 100%;
    height: 120px;
    border-radius: 15px;
    border: none;
    resize: none;
    padding: 20px;
    background-color: var(--avoxa-background-color) !important;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
}

.input-group input:focus,
.input-group select:focus,
input[name="captcha"]:focus,
.contact-message-textarea:focus {
    outline: none;
    /* Remove inset shadow */
}

.captchaIMG {
    display: flex;
    margin-top: 0;
    margin-bottom: 5px;
    border-radius: 10px;
}

input:-webkit-autofill {
    background-color: var(--white) !important;
    color: var(--black);
    transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill {
    background-color: var(--white) !important;
    color: var(--black);
}

input:-ms-autofill {
    background-color: var(--white) !important;
    color: var(--black);
}

.submit-button {
    background-color: var(--avoxa-red);
    color: var(--white);
    border: none;
    width: 100%;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 20px;
    cursor: pointer;
    align-self: stretch;
    margin: 42px 0;
    transition: background-color 0.33s ease;
}

.submit-button:hover {
    background: var(--avoxa-anthrazit);
}

.captcha-container {
    position: relative;
    display: inline-block;
}

.captcha-refresh-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.captcha-refresh-btn:hover {
    background: white;
    border-color: var(--avoxa-red);
    transform: scale(1.1);
}

.captcha-refresh-btn svg {
    color: #666;
}

.captcha-refresh-btn:hover svg {
    color: var(--avoxa-red);
}

.myavoxa-logo {
    text-align: center;
    margin-bottom: 30px;
    margin-top: 0;
}

.myavoxa-text {
    font-size: 28px;
    font-weight: 600;
    color: var(--avoxa-anthrazit);
    margin: 0;
}

.contact-page-wrapper {
    display: flex;
    background-color: var(--avoxa-anthrazit);
    background-image: url("../images/AdobeStock_961563422.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 200px;
    min-height: 100vh;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-content-box {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 979px;
    background: var(--white);
    box-shadow: 0px 20px 26px var(--custom-shadow-color);
    border-radius: 10px;
    padding: 40px;
    margin: 0 auto;
}

.contact-page-title {
    font-size: 40px;
    color: var(--avoxa-anthrazit);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-form-container {
    color: var(--avoxa-anthrazit);
}

.contact-form {
    display: flex;
    flex-direction: column;
    align-self: center;
    width: 100%;
}

.imprint-page-wrapper {
    display: flex;
    background-color: var(--avoxa-anthrazit);
    background-image: url("../images/AdobeStock_961563422.png");
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 200px;
    min-height: 100vh;
    justify-content: center;
    align-items: flex-start;
    padding-top: 40px;
    padding-bottom: 40px;
}

.imprint-content-box {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 979px;
    background: var(--white);
    box-shadow: 0px 20px 26px var(--custom-shadow-color);
    border-radius: 10px;
    padding: 40px;
    margin: 0 auto;
}

.imprint-page-title {
    font-size: 40px;
    color: var(--avoxa-anthrazit);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-align: center;
}

.imprint-content {
    color: var(--avoxa-anthrazit);
}

.imprint-section {
    font-size: 18px;
    margin-bottom: 1.5rem;
}

.imprint-subtitle {
    font-size: 28px;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--avoxa-anthrazit);
}

.imprint-bold {
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .imprint-contact-container {
        margin-top: 100px;
        padding-left: unset;
        margin-bottom: 80px;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 80px;
    }

    .imprint-page-wrapper {
        margin-top: 100px;
        background-image: none;
        background-color: var(--white);
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .imprint-content-box {
        width: 95%;
        padding: 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .imprint-page-title {
        font-size: 32px;
    }

    .contact-page-wrapper {
        margin-top: 100px;
        background-image: none;
        background-color: var(--white);
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .contact-content-box {
        width: 95%;
        padding: 20px;
        box-shadow: none;
        border-radius: 0;
    }

    .contact-page-title {
        font-size: 32px;
    }

    .contact-imprint-contact-container {
        min-height: auto;
        background-image: none;
        margin-top: 74px;
        padding-left: 0;
        padding-right: 0;
        padding-bottom: 40px;
    }

    .contact-imprint-contact-container::before {
        display: none;
    }

    .contanct-page-wrapper {
        width: 100%;
        border-radius: 0;
        margin: 0;
        box-shadow: unset;
        margin-top: 0;
        margin-bottom: 40px;
        z-index: auto;
    }

    .title-wrapper {
        margin-top: 0;
    }

    .contact-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .form-wrapper {
        width: 85%;
    }

    .captchaIMG {
        width: auto;
        align-self: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    input[name="captcha"] {
        width: 100%;
        align-self: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .captcha-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .submit-button {
        display: block;
        margin: 42px auto;
        align-self: center;
    }

    .contact-message-textarea {
        width: 100%;
    }
}
