/* FDP Kommunalwahl 2025 - Zentrale Styles */

:root {
    --fdp-yellow: #FFE209;
    --fdp-magenta: #FF0078;
    --fdp-blue: #009ee3;
    --fdp-dark: #2c3e50;
    --fdp-light: #f8f9fa;
    --fdp-accent: rgba(255, 224, 9, 0.1);
    --fdp-gradient: linear-gradient(135deg, var(--fdp-yellow) 0%, var(--fdp-magenta) 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--fdp-dark);
}

/* ==============================================
   NAVBAR KOMPONENTEN
   ============================================== */

.navbar {
    background: white !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--fdp-blue) !important;
    font-size: 1.5rem;
}

.navbar .fdp-badge {
    background: var(--fdp-magenta);
    color: var(--fdp-yellow);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: var(--fdp-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: var(--fdp-accent);
    color: var(--fdp-magenta) !important;
}

/* ==============================================
   HERO SEKTION
   ============================================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 6rem 0 4rem;
    margin-top: 80px;
}

.hero-section.homepage {
    background: var(--fdp-gradient);
    padding: 8rem 0 6rem;
    color: white;
}

.hero-section.homepage h1 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section.homepage .lead {
    color: rgba(255,255,255,0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: var(--fdp-magenta);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 2rem;
}

.hero-section h1 {
    color: var(--fdp-magenta);
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-section .lead {
    color: var(--fdp-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Kandidaten-Foto im Hero */
.candidate-photo-hero {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border: 5px solid white;
}

.candidate-info-card {
    background: rgba(255,255,255,0.95);
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.candidate-info-card h3 {
    color: var(--fdp-dark);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.candidate-title {
    color: var(--fdp-magenta);
    font-size: 1.1rem;
    font-weight: 600;
}

/* ==============================================
   BUTTONS
   ============================================== */

.btn-fdp-primary {
    background: var(--fdp-magenta);
    border-color: var(--fdp-magenta);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-fdp-primary:hover {
    background: #e6006b;
    border-color: #e6006b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 120, 0.3);
}

.btn-fdp-secondary {
    background: var(--fdp-blue);
    border-color: var(--fdp-blue);
    color: white;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-fdp-secondary:hover {
    background: #0088cc;
    border-color: #0088cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 158, 227, 0.3);
}

.btn-fdp-outline {
    border: 2px solid var(--fdp-magenta);
    color: var(--fdp-magenta);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-fdp-outline:hover {
    background: var(--fdp-magenta);
    color: white;
}

/* ==============================================
   CARDS & KOMPONENTEN
   ============================================== */

.modern-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.modern-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.card-header-custom {
    background: var(--fdp-accent);
    border-bottom: 2px solid var(--fdp-yellow);
    border-radius: 12px 12px 0 0 !important;
    padding: 1.5rem;
}

.card-header-custom h5 {
    color: var(--fdp-magenta);
    font-weight: 600;
    margin: 0;
}

/* Theme Cards */
.theme-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--fdp-magenta);
}

.theme-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.theme-icon {
    width: 80px;
    height: 80px;
    background: var(--fdp-yellow);
    color: var(--fdp-magenta);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(255, 224, 9, 0.3);
}

.theme-title {
    color: var(--fdp-magenta);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.theme-subtitle {
    color: var(--fdp-blue);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.theme-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Candidate Cards */
.candidate-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--fdp-yellow);
}

.candidate-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.candidate-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--fdp-yellow);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.candidate-name {
    color: var(--fdp-dark);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.candidate-position {
    color: var(--fdp-magenta);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.list-position {
    color: var(--fdp-blue);
    font-weight: 500;
    margin-bottom: 1rem;
}

.candidate-bio {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ==============================================
   SECTIONS
   ============================================== */

.content-section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--fdp-magenta);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-header .lead {
    color: #6c757d;
    font-size: 1.1rem;
}

/* ==============================================
   UTILITIES
   ============================================== */

.text-fdp-magenta { color: var(--fdp-magenta) !important; }
.text-fdp-blue { color: var(--fdp-blue) !important; }
.text-fdp-yellow { color: var(--fdp-yellow) !important; }
.bg-fdp-light { background: var(--fdp-light) !important; }
.bg-fdp-accent { background: var(--fdp-accent) !important; }

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, var(--fdp-accent) 0%, rgba(0, 158, 227, 0.1) 100%);
    border-left: 4px solid var(--fdp-magenta);
    border-radius: 8px;
    padding: 2rem;
    margin: 2rem 0;
}

.highlight-box h4 {
    color: var(--fdp-magenta);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Stats Cards */
.stats-card {
    background: var(--fdp-gradient);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    height: 100%;
}

.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    display: block;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stats-label {
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ==============================================
   FOOTER
   ============================================== */

.footer {
    background: var(--fdp-dark);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer h5 {
    color: var(--fdp-yellow);
    margin-bottom: 1rem;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--fdp-yellow);
}

.footer-bottom {
    border-top: 1px solid #495057;
    padding-top: 1rem;
    margin-top: 2rem;
    text-align: center;
}

/* ==============================================
   RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0 2rem;
        margin-top: 70px;
    }
    
    .hero-section.homepage {
        padding: 4rem 0 3rem;
    }
    
    .content-section {
        padding: 2rem 0;
    }
    
    .theme-card,
    .candidate-card {
        margin-bottom: 2rem;
    }
    
    .candidate-photo-hero {
        max-width: 300px;
    }
}