.mtg-form-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    font-family: inherit;
    color: #1f1f1f;
}

.mtg-form {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 12px;
    padding: 34px 32px;
}

.mtg-form-section {
    margin-bottom: 34px;
}

.mtg-form-section h2 {
    margin: 0;
    font-size: 46px;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    line-height: 1.05;
}

.mtg-divider {
    height: 3px;
    background: #ffcc00;
    margin: 12px 0 24px;
}

.mtg-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.mtg-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mtg-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mtg-field label {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.2;
}

.mtg-field input,
.mtg-field select,
.mtg-field textarea {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #fff;
    padding: 14px 16px;
    font-size: 18px;
    line-height: 1.3;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.mtg-field textarea {
    min-height: 170px;
    resize: vertical;
}

.mtg-field input,
.mtg-field select {
    min-height: 56px;
}

.mtg-field input::placeholder,
.mtg-field textarea::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.mtg-field input:focus,
.mtg-field select:focus,
.mtg-field textarea:focus {
    outline: none;
    border-color: #ffcc00;
    box-shadow: 0 0 0 2px rgba(255, 204, 0, 0.2);
}

.mtg-field small {
    color: #666;
    font-size: 14px;
}

.mtg-field.mtg-field-error input,
.mtg-field.mtg-field-error select,
.mtg-field.mtg-field-error textarea {
    border-color: #cc2f2f;
    box-shadow: 0 0 0 2px rgba(204, 47, 47, 0.12);
}

.mtg-error-text {
    color: #b32020;
    font-weight: 600;
}

.mtg-file-reselect-note {
    color: #7a5a00;
    font-weight: 600;
}

.mtg-hinweis-alcohol {
    gap: 0;
}

.mtg-hinweis-alcohol-text {
    display: block;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}

.mtg-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 17px;
    line-height: 1.4;
}

.mtg-checkbox-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-height: 20px;
    margin-top: 3px;
    accent-color: #ffcc00;
}

.mtg-checkbox-row a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.mtg-checkbox-row a:hover {
    color: #000;
}

.mtg-actions {
    margin-top: 24px;
}

.mtg-actions button {
    border: none;
    border-radius: 8px;
    background: #161616;
    color: #fff;
    font-weight: 600;
    padding: 14px 28px;
    font-size: 16px;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.1s ease;
}

.mtg-actions button:hover {
    background: #2a2a2a;
}

.mtg-actions button:active {
    transform: translateY(1px);
}

.mtg-submit-note {
    margin: 10px 0 0;
    font-size: 14px;
    color: #5f5f5f;
}

.mtg-fee-list {
    margin: 8px 0 0 18px;
    padding: 0;
}

.mtg-fee-list li {
    margin-bottom: 6px;
}

.mtg-alert {
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 14px;
}

.mtg-alert-success {
    background: #e7f6ec;
    border: 1px solid #7bc291;
}

.mtg-alert-error {
    background: #ffe8e8;
    border: 1px solid #e28b8b;
}

.mtg-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.mtg-captcha-code {
    display: inline-block;
    margin-left: 10px;
    font-family: monospace;
    font-size: 18px;
    background: #fff6c8;
    border: 1px solid #ffcc00;
    border-radius: 6px;
    padding: 2px 8px;
}

.mtg-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.mtg-modal-backdrop.mtg-submit-loading-modal {
    display: none;
    z-index: 10001;
}

.mtg-modal-backdrop.mtg-submit-loading-modal.is-visible {
    display: flex;
}

.mtg-modal-loading .mtg-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 18px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: #ffcc00;
    border-radius: 50%;
    animation: mtg-spin 0.75s linear infinite;
}

@keyframes mtg-spin {
    to {
        transform: rotate(360deg);
    }
}

.mtg-loading-message {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
}

.mtg-loading-hint {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #555;
}

.mtg-modal {
    width: min(520px, calc(100% - 24px));
    background: #fff;
    border-radius: 12px;
    padding: 22px 20px;
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.mtg-modal h3 {
    margin: 0 0 6px;
    font-size: 28px;
}

.mtg-modal p {
    margin: 0 0 16px;
}

.mtg-modal-close {
    border: none;
    border-radius: 8px;
    background: #161616;
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
}

@media (max-width: 800px) {
    .mtg-form {
        padding: 24px 20px;
    }

    .mtg-form-section h2 {
        font-size: 32px;
    }

    .mtg-field label {
        font-size: 17px;
    }

    .mtg-field input,
    .mtg-field select,
    .mtg-field textarea {
        font-size: 16px;
    }

    .mtg-field small,
    .mtg-submit-note {
        font-size: 16px;
    }

    .mtg-grid-2 {
        grid-template-columns: 1fr;
    }
}
