/* ════════════════════════════════════════════════
   WY CONTACT FORM SECTION
   ════════════════════════════════════════════════ */

.wy-contact-form-section {
    background-color: var(--wy-color-snow);
    padding: 80px 5%;
}

.wy-contact-form-section-inner {
    max-width: var(--wy-content-max-width, 1200px);
    margin: 0 auto;
}

.wy-contact-subtext {
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
    color: #666;
}

.wy-contact-form-section .wy-h2 {
    margin-bottom: 2.5rem;
    text-align: center;
}

/* ════════════════════════════════════════════════
   FORMULAR-LAYOUT — zentriert, eigene max-width
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 560px;
    margin: 0 auto;
}

/* ════════════════════════════════════════════════
   FELDER — Label im Overline-Stil
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-field {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
}

.wy-contact .wy-contact-field label {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--wy-color-dark-teal);
    line-height: 1.4;
    margin: 0;
}

.wy-contact .wy-required {
    color: #c0392b;
    letter-spacing: 0;
}

.wy-contact .wy-contact-field input[type="text"],
.wy-contact .wy-contact-field input[type="email"],
.wy-contact .wy-contact-field textarea {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--wy-color-sage-light);
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: var(--wy-color-white);
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    margin: 0;
}

.wy-contact .wy-contact-field input:focus,
.wy-contact .wy-contact-field textarea:focus {
    outline: none;
    border-color: var(--wy-color-teal);
    box-shadow: 0 0 0 2px rgba(61, 122, 110, 0.15);
}

.wy-contact .wy-contact-field textarea {
    resize: vertical;
    min-height: 140px;
}

/* ════════════════════════════════════════════════
   SUBMIT — ast-button Primary
   ════════════════════════════════════════════════ */

.wy-contact .ast-button {
    align-self: flex-start;
    margin-top: 0.5rem;
}

/* ════════════════════════════════════════════════
   HONEYPOT
   ════════════════════════════════════════════════ */

.wy-contact-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

/* ════════════════════════════════════════════════
   MELDUNGEN
   ════════════════════════════════════════════════ */

.wy-contact .wy-contact-success {
    background: rgba(61, 122, 110, 0.08);
    border: 1px solid var(--wy-color-teal);
    padding: 1.5rem 2rem;
    color: var(--wy-color-teal);
}

.wy-contact .wy-contact-success p {
    margin: 0 0 0.5rem;
}

.wy-contact .wy-contact-success p:last-child {
    margin-bottom: 0;
}

.wy-contact .wy-contact-errors {
    background: rgba(192, 57, 43, 0.06);
    border: 1px solid #c0392b;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}

.wy-contact .wy-contact-errors p {
    margin: 0 0 0.25rem;
    color: #c0392b;
    font-size: 0.9rem;
}

.wy-contact .wy-contact-errors p:last-child {
    margin-bottom: 0;
}

.wy-contact-error {
    color: #c0392b;
}

/* ════════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════════ */

@media (max-width: 640px) {
    .wy-contact-form-section {
        padding: 60px 24px;
    }

    .wy-contact .ast-button {
        width: 100%;
        text-align: center;
    }
}
