.hegau24-job-submit {
    width: 100%;
    max-width: 980px;
    margin: 40px auto;
    box-sizing: border-box;
}

.hegau24-job-submit *,
.hegau24-job-submit *::before,
.hegau24-job-submit *::after {
    box-sizing: border-box;
}

.hegau24-job-submit__header {
    margin-bottom: 32px;
}

.hegau24-job-submit__title {
    margin: 0 0 10px;
    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
}

.hegau24-job-submit__intro {
    margin: 0;
    max-width: 720px;
    font-size: 17px;
    line-height: 1.6;
}

.hegau24-job-submit__form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.hegau24-job-submit__section {
    padding: 30px;
    border: 1px solid #e4e7eb;
    border-radius: 16px;
    background: #fff;
}

.hegau24-job-submit__section-head {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.hegau24-job-submit__section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f0f3f6;
    font-weight: 700;
    line-height: 1;
}

.hegau24-job-submit__section-head h2 {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.25;
}

.hegau24-job-submit__section-head p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    opacity: .7;
}

.hegau24-job-submit__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.hegau24-job-submit__field:last-child {
    margin-bottom: 0;
}

.hegau24-job-submit__field label {
    font-size: 15px;
    font-weight: 600;
}

.hegau24-job-submit__field .required {
    margin-left: 3px;
}

.hegau24-job-submit__field input,
.hegau24-job-submit__field select,
.hegau24-job-submit__field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #d8dde3;
    border-radius: 9px;
    background: #fff;
    font: inherit;
    line-height: 1.4;
}

.hegau24-job-submit__field textarea {
    min-height: 140px;
    resize: vertical;
}

.hegau24-job-submit__field input:focus,
.hegau24-job-submit__field select:focus,
.hegau24-job-submit__field textarea:focus {
    outline: none;
    border-color: #8c98a5;
}

.hegau24-job-submit__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.hegau24-job-submit__checks {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin-top: 24px;
}

.hegau24-job-submit__check {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    cursor: pointer;
}

.hegau24-job-submit__check input {
    width: 18px;
    height: 18px;
    margin: 0;
}


/* =========================================================
   VALIDATION
   ========================================================= */

.hegau24-job-submit__validation {
    margin-bottom: 22px;
    padding: 20px 22px;
    border: 1px solid #e5484d;
    border-left: 5px solid #e5484d;
    border-radius: 12px;
    background: #fff5f5;
}

.hegau24-job-submit__validation-title {
    margin: 0 0 7px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
}

.hegau24-job-submit__validation-text {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
}

.hegau24-job-submit__validation-list {
    margin: 0;
    padding-left: 20px;
}

.hegau24-job-submit__validation-list li {
    margin: 4px 0;
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

.hegau24-job-submit__field--error input,
.hegau24-job-submit__field--error select,
.hegau24-job-submit__field--error textarea {
    border-color: #e5484d;
    background: #fff8f8;
}

.hegau24-job-submit__field--error input:focus,
.hegau24-job-submit__field--error select:focus,
.hegau24-job-submit__field--error textarea:focus {
    border-color: #e5484d;
    box-shadow: 0 0 0 3px rgba(229, 72, 77, .12);
}


.hegau24-job-submit__field-error-message {
    margin-top: -2px;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
    color: #c92f35;
}

.hegau24-job-submit__field--error label {
    color: #c92f35;
}

.hegau24-job-submit__publish {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px 30px;
    border-radius: 16px;
    background: #f5f7f9;
}

.hegau24-job-submit__publish-note {
    margin: 0;
    max-width: 560px;
    font-size: 14px;
    line-height: 1.5;
    opacity: .75;
}

.hegau24-job-submit__button {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 12px 24px;
    border: 0;
    border-radius: 9px;
    background: #222;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.hegau24-job-submit__button:hover {
    opacity: .9;
}

@media (max-width: 700px) {

    .hegau24-job-submit {
        margin: 25px auto;
    }

    .hegau24-job-submit__section {
        padding: 22px;
        border-radius: 13px;
    }

    .hegau24-job-submit__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hegau24-job-submit__publish {
        flex-direction: column;
        align-items: stretch;
        padding: 22px;
    }

    .hegau24-job-submit__button {
        width: 100%;
    }
}
