/* Stayle für Formular */
.contact-form-container {
max-width: 600px;
margin: 0 auto;
padding: 2rem;
border-radius: 12px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 600;
    font-size: 2rem;
}

.subtitle {
    text-align: center;
    margin-bottom: 2rem;
    color: #718096;
    font-size: 1.5em;
    font-weight: 400;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid #f5c6cb;
}

.error-message ul {
    margin: 0;
    padding-left: 1.2rem;
}

.error-message li {
    margin-bottom: 0.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-weight: 400;
    font-size: 1.1em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1.1em;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.form-group input.error,
.form-group textarea.error {
    border-color: #e53e3e;
    box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.1);
}

/* --- HONEYPOT --- */
.honeypot-field {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    width: 0;
    z-index: -1;
    pointer-events: none;
}

/* --- ACCESSIBILITY --- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.char-counter {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #718096;
}

.char-counter.warning {
    color: #d69e2e;
}

.char-counter.danger {
    color: #e53e3e;
}

.privacy-notice {
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 1.1em;
    color: #4a5568;
    border-left: 4px solid #4299e1;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4299e1 0%, #004c7e 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #3182ce 0%, #004c7e 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 153, 225, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(66, 153, 225, 0.3);
}

.submit-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-container {
        margin: 1rem;
        padding: 1.5rem;
    }

    .contact-form-container h2 {
        font-size: 1.75rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
    }

    .submit-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-container {
        margin: 0.5rem;
        padding: 1rem;
    }

    .contact-form-container h2 {
        font-size: 1.5rem;
    }
}