/* Stevie Klai – Kontaktformular V4.12 */

.contact-form-card {
    margin-top: 34px;
    padding: 34px;
    background: var(--paper);
    border: 1px solid var(--line);
}

.contact-form-copy {
    max-width: 760px;
    margin-bottom: 26px;
}

.contact-form-copy h2 {
    margin: 6px 0 12px;
}

.contact-form-copy p {
    margin: 0;
    color: #34312d;
    line-height: 1.65;
}

.contact-form-copy a {
    color: inherit;
}

.contact-form-message {
    max-width: 760px;
    margin: 0 0 24px;
    padding: 14px 16px;
    border: 1px solid var(--line);
    line-height: 1.5;
}

.contact-form-message--success {
    border-left-width: 4px;
}

.contact-form-message--error {
    border-left-width: 4px;
}

.contact-form-message ul {
    margin: 8px 0 0 20px;
    padding: 0;
}

.contact-form {
    max-width: 760px;
}

.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.contact-field {
    margin-bottom: 18px;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 14px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    font: inherit;
    line-height: 1.4;
}

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

.contact-field input:focus,
.contact-field textarea:focus {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

.contact-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.contact-form-note {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.contact-submit {
    flex: 0 0 auto;
    padding: 12px 18px;
    border: 1px solid var(--text);
    background: var(--text);
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.contact-submit:hover {
    opacity: .88;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 720px) {
    .contact-form-card {
        padding: 24px;
    }

    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-form-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media print {
    .contact-form-card {
        display: none !important;
    }
}
