/* --- CSS Variables & Design System --- */
:root {
    /* Colors - Otterstadt Blau & Weiß */
    --primary: #004b87;
    --primary-dark: #003366;
    --primary-light: #e6f2ff;
    --secondary: #0073e6;
    
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --container-width: 1100px;
    --radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary);
}

/* --- Buttons --- */
.btn-primary, .btn-secondary, .btn-primary-small, .btn-outline {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 75, 135, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-primary-small {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

/* --- Navigation & Logo --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wappen-logo {
    height: 40px;
    width: auto;
}

.chor-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-primary-small) {
    font-weight: 500;
    color: var(--text-main);
}

.nav-links a:not(.btn-primary-small):hover {
    color: var(--primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%);
    overflow: hidden;
}

/* Subtle background circles for modern aesthetic */
.hero::before, .hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: 0;
}

.hero::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 75, 135, 0.08) 0%, rgba(255,255,255,0) 70%);
    top: -100px;
    left: -100px;
}

.hero::after {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 115, 230, 0.05) 0%, rgba(255,255,255,0) 70%);
    bottom: -200px;
    right: -100px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s ease;
}

.hero h1 {
    font-size: 4.5rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero h1 em {
    color: var(--primary);
    font-style: italic;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

/* --- About Section --- */
.about {
    padding: 6rem 0;
    background: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-color);
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* --- Projects Section --- */
.projects {
    padding: 6rem 0;
    background: var(--bg-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    padding: 2.5rem;
    border-top: 4px solid transparent;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.active-project {
    border-top-color: var(--primary);
    background: linear-gradient(to bottom, #ffffff, var(--primary-light));
}

.past-project {
    border-top-color: var(--text-muted);
}

.project-status {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1rem;
    display: block;
}

.active-project .project-status {
    color: var(--primary);
}

.project-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Events Section --- */
.events {
    padding: 6rem 0;
    background: white;
}

.events-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.event-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.event-card:hover {
    box-shadow: var(--shadow-sm);
    transform: translateX(5px);
}

.event-date {
    background: var(--primary-light);
    color: var(--primary);
    padding: 1rem;
    border-radius: var(--radius);
    text-align: center;
    min-width: 80px;
    margin-right: 2rem;
}

.event-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.event-details {
    flex-grow: 1;
}

.event-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event-details p {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.event-details p i {
    width: 16px;
    height: 16px;
}

/* --- CTA / Join Section --- */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-container h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-container p {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--bg-color);
}

/* --- Footer --- */
footer {
    background: #0f172a;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0;
}

.footer-info p {
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    background: rgba(255,255,255,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4, .footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links a {
    display: block;
    color: #94a3b8;
    margin-bottom: 0.8rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: #94a3b8;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #94a3b8;
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .logo {
        font-size: 1.3rem;
    }
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .about-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .event-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .event-date {
        margin-right: 0;
    }
    .event-action {
        width: 100%;
    }
    .event-action .btn-outline {
        width: 100%;
    }
}
