/* Alert-Boxen */
.alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Kontakt-Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* Kontaktinformationen */
.contact-info h2 {
    margin-bottom: 20px;
    color: #333;
}

.contact-item {
    margin-bottom: 25px;
}

.contact-item h3 {
    font-size: 16px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-item p {
    margin: 0;
}

.contact-item a {
    color: #007bff;
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Kontaktformular */
.contact-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #dc3545;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #007bff;
}

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

/* Fehler-Styling */
.error-input {
    border-color: #dc3545 !important;
    background-color: #fff5f5;
}

.error-message {
    display: block;
    color: #dc3545;
    font-size: 14px;
    margin-top: 5px;
}

/* Zeichenzähler */
.character-count {
    display: block;
    text-align: right;
    color: #666;
    font-size: 13px;
    margin-top: 5px;
}

/* Pflichtfeld-Hinweis */
.required-note {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* Submit-Button */
.btn-submit {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #0056b3;
}

.btn-submit:active {
    transform: translateY(1px);
}