/*
Theme Name: ImmoSV Netzwerk
Description: WordPress Theme für Sachverständigen-Netzwerk mit Newsletter-Funktionalität
Version: 1.0
Author: ImmoSV Team
Text Domain: immosv-netzwerk
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Header Styles */
/* Header Styles - FIXED */
.site-header {
    background: #4a7c59;
    color: white !important;
    padding: 20px 0;
    text-align: center;
}

.site-header.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-header .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-title {
    font-size: 32px;
    margin: 0;
    font-weight: 600;
    color: white !important;
}

.site-description {
    font-size: 16px;
    margin: 5px 0 0 0;
    opacity: 0.9;
    color: white !important;
}

.site-logo a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
}

.main-navigation a:hover {
    opacity: 0.8;
}

/* Main Content - Homepage */
.hero-section {
    background: linear-gradient(135deg, #4a7c59 0%, #7fb069 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.feature-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cta-button {
    background: #4a7c59;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #3a6249;
}

/* Newsletter Section */
.newsletter-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.newsletter-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.newsletter-title {
    color: #4a7c59;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #666;
}

.newsletter-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #4a7c59;
    text-align: left;
}

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

.form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4a7c59;
}

.form-explanation {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 2px;
}

.submit-button {
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: not-allowed;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.submit-button:enabled {
    background: #4a7c59;
    cursor: pointer;
}

.submit-button:enabled:hover {
    background: #3a6249;
}

/* Page Content Styles */
.page-main {
    background: #f8f9fa;
    padding: 60px 0;
    min-height: 70vh;
}

.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
}

.breadcrumbs a {
    color: #4a7c59;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.page-content {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-top: 4px solid #4a7c59;
}

.page-header-content {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #4a7c59;
    padding-bottom: 20px;
}

.page-title {
    color: #4a7c59;
    font-size: 2.5rem;
    margin: 0;
}

.page-text {
    line-height: 1.8;
    color: #333;
}

.page-text h2 {
    color: #4a7c59;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-text h3 {
    color: #4a7c59;
    margin-top: 25px;
    margin-bottom: 10px;
}

.page-text ul, .page-text ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-text a {
    color: #4a7c59;
    text-decoration: none;
}

.page-text a:hover {
    text-decoration: underline;
}

/* Footer */
.site-footer {
    background: #4a7c59;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: #a7c957;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
}

.success-message h3 {
    margin-bottom: 15px;
}

/* Error Styles */
.error-page {
    text-align: center;
    padding: 60px 20px;
}

.error-title {
    color: #4a7c59;
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-button {
    background: #4a7c59;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    display: inline-block;
    margin-top: 20px;
}

.error-button:hover {
    background: #3a6249;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header.page-header .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .newsletter-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        padding: 20px;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .main-navigation a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-container,
    .newsletter-container,
    .page-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .newsletter-title {
        font-size: 1.8rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .feature-box {
        padding: 20px;
    }
    
    .newsletter-form {
        padding: 15px;
    }
    
    .page-content {
        padding: 15px;
    }
}
