/* ===== CONTACT PAGE STYLES ===== */
/* Spezifische Styles für die Kontakt-Seite - Mobile First */

/* ===== CONTACT FORM ===== */
.contact-form {
    background-color: #1e1e2e;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 100%;
}

/* Form Group (ein Feld im Formular) */
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #cdd6f4;
    margin-bottom: 8px;
    font-weight: bold;
    font-size: 14px;
}

/* Input & Textarea Styling */
.form-group input,
.form-group textarea {
    background-color: #313244;
    border: 1px solid #585b70;
    color: #cdd6f4;
    padding: 12px;
    border-radius: 4px;
    font-family: Arial;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Focus-Zustand beim klicken ins Input */
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #89b4fa;
    box-shadow: 0 0 8px rgba(137, 180, 250, 0.3);
}

/* ===== SUBMIT BUTTON ===== */
.submit-btn {
    background-color: #a6e3a1;
    color: #1e1e2e;
    padding: 14px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    display: block;
    margin: 20px auto 0;
}

.submit-btn:active {
    background-color: #89dceb;
}

/* ===== SUCCESS MESSAGE ===== */
.success-message {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #a6e3a1;
    color: #1e1e2e;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    animation: slideIn 0.3s ease;
}

/* Wenn Nachricht erfolgreich versendet: .show Klasse wird hinzugefügt */
.success-message.show {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== CONTACT INFO SECTION ===== */
.contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #1e1e2e;
    border-radius: 8px;
    font-size: 14px;
}

.contact-info a {
    color: #89b4fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #b4befe;
    text-decoration: underline;
}

/* ===== TABLET RESPONSIVE (480px+) ===== */
@media (min-width: 480px) {
    .contact-form {
        max-width: 500px;
        padding: 25px;
        margin: 25px auto;
    }
    
    .form-group label {
        font-size: 15px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 12px 40px;
        font-size: 16px;
        width: auto;
    }
    
    .contact-info {
        font-size: 15px;
    }
}

/* ===== DESKTOP RESPONSIVE (768px+) ===== */
@media (min-width: 768px) {
    .contact-form {
        max-width: 600px;
        padding: 30px;
        margin: 30px auto;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 16px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 10px;
    }
    
    .submit-btn {
        width: auto;
        padding: 12px 30px;
        margin-top: 25px;
    }
    
    .submit-btn:hover {
        background-color: #89dceb;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .contact-info {
        max-width: 600px;
        margin: 30px auto;
        font-size: 16px;
    }
}

.contact-content {
    max-width: 600px;
    margin: 30px auto;
    text-align: left;
}

.contact-form {
    background-color: #1e1e2e;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #cdd6f4;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    background-color: #313244;
    border: 1px solid #585b70;
    color: #cdd6f4;
    padding: 10px;
    border-radius: 4px;
    font-family: Arial;
    font-size: 16px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #89b4fa;
}

.submit-btn {
    background-color: #a6e3a1;
    color: #1e1e2e;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #94e2d5;
}

.contact-info {
    margin-top: 30px;
    padding: 20px;
    background-color: #1e1e2e;
    border-radius: 8px;
}

.contact-info a {
    color: #a6adc8;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.success-message {
    display: none;
    margin-top: 15px;
    padding: 15px;
    background-color: #a6e3a1;
    color: #1e1e2e;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
}

.success-message.show {
    display: block;
}

.error-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    background-color: #1e1e2e;
    border-radius: 8px;
    text-align: center;
}

.error-container h1 {
    color: #f38ba8;
    margin-bottom: 20px;
}

.error-container p {
    color: #cdd6f4;
    margin-bottom: 20px;
}

.error-container a {
    color: #89b4fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.error-container a:hover {
    color: #b4befe;
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background-color: #89b4fa;
    color: #1e1e2e;
    border-radius: 4px;
    font-weight: bold;
}