/* Kontakt Seite Styles */

:root {
    --primary-color: #2d6a4f;
    --secondary-color: #52b788;
    --accent-color: #95d5b2;
    --dark-color: #1b5e3f;
    --light-bg: #f8f9fa;
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding-top: 0;
    margin: 0;
    background-color: white;
}

/* Emergency Banner - nicht verwendet auf Kontaktseite */
/*
.emergency-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    font-size: 0.85rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.emergency-banner a {
    text-decoration: none;
    font-weight: 600;
}

.emergency-banner a:hover {
    text-decoration: underline;
}
*/

/* Navbar */
.navbar {
    transition: all 0.3s ease;
    background-color: rgba(45, 106, 79, 0.95) !important;
    top: 0;
    min-height: 60px;
    backdrop-filter: blur(10px);
    z-index: 1040;
}

.navbar-brand,
.nav-link {
    color: white !important;
}

.navbar.scrolled {
    background-color: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    top: 0;
}

.navbar.scrolled .navbar-brand,
.navbar.scrolled .nav-link {
    color: var(--primary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232d6a4f' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 80px 0 60px 0;
    margin-top: 60px;
    text-align: center;
}

/* Form Container */
.form-container {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: -60px auto 60px;
    position: relative;
    max-width: 1200px;
}

/* Form Styles */
.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.required-star {
    color: #dc3545;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(45, 106, 79, 0.15);
}

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

/* CAPTCHA Styles */
.captcha-container {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
}

.captcha-question {
    background: white;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--primary-color);
    min-width: 200px;
    text-align: center;
    display: inline-block;
}

.captcha-input {
    max-width: 100px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.captcha-refresh {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.captcha-refresh:hover {
    background: var(--dark-color);
    transform: translateY(-2px);
}

/* Submit Button */
.btn-submit {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 106, 79, 0.3);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.4);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-border-custom {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Alert Styles */
.alert-custom {
    border-radius: 10px;
    padding: 15px 20px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

/* Quick Contact Links */
.quick-contact {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.quick-contact:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
    color: var(--primary-color);
}

.quick-contact i {
    color: var(--primary-color);
}

/* Office Hours */
.office-hours {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.office-hours-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

.office-hours-item:last-child {
    border-bottom: none;
}

/* Contact Info Cards */
.contact-info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 40px 0 20px 0;
    margin-top: 60px;
}

footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    body {
        padding-top: 0;
    }
    
    .hero-section {
        padding: 40px 0 40px 0;
        margin-top: 60px;
    }
    
    .form-container {
        padding: 25px;
        margin: -40px 15px 40px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    .captcha-container .d-flex {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .captcha-question {
        min-width: auto;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .captcha-input {
        max-width: 100%;
        margin-bottom: 10px;
    }
    
    .captcha-refresh {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .emergency-banner {
        font-size: 0.7rem;
        text-align: center;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .btn-submit {
        width: 100%;
        padding: 12px 20px;
    }
}