
/* Standardmäßig ausblenden (für PC/Laptop) */
.app-bottom-nav, 
.sticky-mobile-cta {
    display: none;
}


/* --- 1. FONTS (MUSS GANZ OBEN STEHEN) --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* =========================================
   2. FARBPALETTE & BASIS-EINSTELLUNGEN
   ========================================= */
:root {
    --cc-blue: #14374E;    
    --cc-green: #64a70b;    
    --cc-red: #f44336;      
    --cc-yellow: #FFC000; 

    --primary: var(--cc-blue);
    --primary-light: #f8fafc;
    --accent: var(--cc-red);
    --contrast-yellow: var(--cc-yellow);
    
    --bg: #eef5ff;
    --card-bg: #ffffff;
    --text: #333333;
    --text-light: #64748b;
    
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ZENTRALE ABSTANDS-VARIABLE */
    --block-abstand: 200px; 
}

* { box-sizing: border-box; }

body { 
    font-family: 'Inter', system-ui, sans-serif; /* Fallback verbessert */
    margin: 0; 
    background: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
    line-height: 1.6; 
    

    padding-top: 90px; 
}

h1, h2, h3, h4, .nav-links a { 
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif; 
}

#scroll-progress {
    position: fixed; top: 0; left: 0; 
    height: 4px; background: var(--cc-red); width: 0%; z-index: 2000; 
    transition: width 0.1s ease-out;
}

/* =========================================
   3. NAVIGATION (DESKTOP)
   ========================================= */

nav {
    background: var(--primary); 
    padding: 20px 50px;
    display: flex; justify-content: space-between; align-items: center;
    
    /* FIXIERT */
    position: fixed; 
    top: 0; 
    left: 0;
    width: 100%; 
    z-index: 1000;
    
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-logo {
    font-weight: 900; 
    font-size: 1.8rem;
    color: #ffffff; 
    text-transform: uppercase; 
    text-decoration: none;
    display: flex; align-items: center; gap: 15px;
}
.nav-logo img { height: 45px; width: auto; }

.nav-links { display: flex; gap: 40px; align-items: center; }

.nav-links a {
    text-decoration: none; 
    color: #ffffff; 
    font-weight: 700;  
    font-size: 1rem; 
    text-transform: uppercase; 
    position: relative; 
    padding-bottom: 5px;
}

.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 3px; 
    background: var(--cc-green); transition: width 0.3s;
}
.nav-links a:hover::after { width: 100%; }

(Impressum/Datenschutz) --- */
.nav-minimal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #14374E; 
}

.btn-back-simple {
    color: white;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.btn-back-simple:hover {
    background: white;
    color: #14374E;
    border-color: white;
}

/* =========================================
   4. HERO / HEADER
   ========================================= */
.hero-header {
    position: relative;
    height: 75vh; 
    min-height: 500px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #204e6e;
    padding: 0 60px;
    
    background: linear-gradient(
        rgba(20, 55, 78, 0.75), 
        rgba(20, 55, 78, 0.55)
    ), url('img/banner.jpg'); 
    
    background-size: cover;
    background-position: center;
    
    padding-bottom: 40px; 
    margin-bottom: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1200px;
}

.hero-header h1 {
    font-size: clamp(3rem, 8vw, 6rem); 
    font-weight: 900; 
    margin: 0;
    line-height: 1.1;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

#dynamic-slogan {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem); 
    font-weight: 700; 
    margin: 0;
    color: white;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8); 
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.btn-hero {
    background: #f44336;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
    transition: transform 0.2s, background 0.3s;
    display: inline-block;
    letter-spacing: 1px;
    margin-top: 30px; 
}
.btn-hero:hover { transform: translateY(-3px); background: #d32f2f; }

.custom-shape-divider-bottom {
    position: absolute; bottom: -1px; left: 0; width: 100%;
    overflow: hidden; line-height: 0; z-index: 2;
}
.custom-shape-divider-bottom svg {
    position: relative; display: block; width: calc(100% + 1.3px); height: 100px;
}
.custom-shape-divider-bottom .shape-fill { fill: var(--bg); }

/* =========================================
   5. ALLGEMEINE SEKTIONEN
   ========================================= */
.container { max-width: 1400px; margin: auto; padding: 0 20px 100px; }

.intro-section { text-align: center; padding: 0px 20px 20px; max-width: 900px; margin: 0 auto 120px; }
.intro-section h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 20px; }
.intro-section p { font-size: 1.3rem; color: var(--text-light); line-height: 1.6; font-weight: 300; }
.intro-divider { width: 80px; height: 4px; background: var(--accent); margin: 30px auto 0; }

.section-title { text-align: center; margin: 100px 0 60px; }
.section-title h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 10px; text-transform: uppercase; }
.section-title span { color: var(--accent); font-weight: 700; font-size: 0.9rem; letter-spacing: 2px; text-transform: uppercase; }
.divider { width: 60px; height: 4px; background: var(--accent); margin: 15px auto; }

/* === COUNTDOWN === */
.countdown-container { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    margin: 40px 0 0px; 
    flex-wrap: wrap; 
}

.countdown-item {
    text-align: center; 
    background: white; 
    padding: 30px; 
    min-width: 150px; 
    border-radius: var(--radius);
    box-shadow: var(--shadow); 
    border-top: 6px solid var(--primary); 
}

/* Farben für Countdown */
.countdown-item:nth-child(1) { border-top-color: var(--cc-red); }
.countdown-item:nth-child(1) .countdown-number { color: var(--cc-red); }
.countdown-item:nth-child(2) { border-top-color: var(--cc-green); }
.countdown-item:nth-child(2) .countdown-number { color: var(--cc-green); }
.countdown-item:nth-child(3) { border-top-color: var(--cc-blue); }
.countdown-item:nth-child(3) .countdown-number { color: var(--cc-blue); }
.countdown-item:nth-child(4) { border-top-color: var(--cc-yellow); }
.countdown-item:nth-child(4) .countdown-number { color: var(--cc-yellow); }

.countdown-number { 
    display: block; 
    font-size: 3.5rem; 
    font-weight: 900; 
    line-height: 1.1;
}

.countdown-label { 
    font-size: 0.9rem; 
    color: var(--text-light); 
    text-transform: uppercase; 
    font-weight: 700; 
    margin-top: 5px;
}

/* Features */
.feature-row { 
    display: flex; align-items: center; gap: 60px; margin-bottom: 80px; 
    opacity: 0; transform: translateY(30px); transition: all 0.6s ease-out; 
    background: white; padding: 40px; border-radius: var(--radius); box-shadow: 0 5px 20px rgba(0,0,0,0.03);
}
.feature-row.visible { opacity: 1; transform: translateY(0); }
.feature-row.reverse { flex-direction: row-reverse; }
.feature-text { flex: 1; }
.feature-text h3 { font-size: 1.8rem; color: var(--primary); display: flex; align-items: center; gap: 15px; margin-top: 0; }
.feature-text .num { 
    background: var(--cc-yellow); color: var(--primary); width: 40px; height: 40px; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-weight: 900; flex-shrink: 0; 
}
.feature-text li { margin-bottom: 10px; list-style: none; position: relative; padding-left: 25px; }
.feature-text li::before { content: '✓'; color: var(--accent); position: absolute; left: 0; font-weight: bold; }
.feature-img { flex: 1; min-height: 350px; border-radius: var(--radius); background-size: cover; background-position: center; }

/* =========================================
   6. TEAM GRID (4er Reihe - "Cinema Mode")
   ========================================= */
#team { margin-top: 40px; margin-bottom: 30px; }

.team-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; 
    width: 112%;
    margin-left: -6%;
}

@media (max-width: 1450px) {
    .team-grid {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        margin-left: 0;
    }
}

.member-card { 
    background: var(--card-bg); 
    border-radius: var(--radius); 
    border: 1px solid #eee; 
    min-height: 480px; 
    height: auto;
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: flex-start;
    
 
    padding: 45px 15px 30px; 
    
    position: relative; 
    overflow: hidden; 
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); 
    z-index: 1;
}

.member-card:hover { 
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.12); 
    border-color: transparent; 
    z-index: 10; 
}

.member-card::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:4px; 
    background: linear-gradient(to right, var(--cc-red) 0%, var(--cc-red) 25%, var(--cc-green) 25%, var(--cc-green) 50%, var(--cc-blue) 50%, var(--cc-blue) 75%, var(--cc-yellow) 75%, var(--cc-yellow) 100%);
    transform: scaleX(0); transform-origin: right; transition: transform 0.4s ease;
}
.member-card:hover::before { transform: scaleX(1); transform-origin: left; }

.avatar {
    width: 140px; height: 140px; 
    border-radius: 50%; margin: 0 auto 35px; /* Etwas weniger Abstand nach unten */
    overflow: hidden; border: 3px solid var(--primary); background-color: #eee;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar:not(:has(img)) { font-size: 4rem; background: #f0f4f8; border: none; display:flex; align-items:center; justify-content:center;}
.member-card:hover .avatar { width: 90px; height: 90px; border-color: var(--cc-green); margin-bottom: 15px; transform: translateY(-20px); }

.member-info { width: 100%; transition: transform 0.4s ease; transform: translateY(0); display: flex; flex-direction: column; align-items: center; padding-top: 5px; }
.member-card:hover .member-info { transform: translateY(-10px); }

.member-header { margin-bottom: 0; width: 100%; text-align: center; }
.member-header h4 { margin: 0; font-size: 1.3rem; color: var(--primary); font-weight: 700; } /* Schrift angepasst */
.member-header .job-title { font-size: 0.85rem; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-top: 5px; }

.member-desc, .skill-list, .card-divider { opacity: 0; max-height: 0; transform: translateY(10px); transition: all 0.4s ease; }
.member-desc { font-style: italic; color: var(--text-light); font-size: 0.9rem; margin: 0; text-align: center; line-height: 1.5; }
.card-divider { width: 0; height: 1px; background: #eee; margin: 0 auto; }
.skill-list { text-align: left; font-size: 0.85rem; color: var(--text-light); padding-left: 0; list-style: none; display: inline-block; }
.skill-list li { margin-bottom: 3px; position: relative; padding-left: 15px; }
.skill-list li::before { content: '•'; color: var(--cc-green); position: absolute; left: 0; font-weight: bold; }

.member-card:hover .member-desc { opacity: 1; max-height: 100px; transform: translateY(0); margin: 15px 0 15px; }
.member-card:hover .card-divider { opacity: 1; width: 80%; margin: 5px auto 15px; }
.member-card:hover .skill-list { opacity: 1; max-height: 180px; transform: translateY(0); } 

/* --- SMART GRID --- */
.smart-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 150px; position: relative; z-index: 2; }
.smart-card { background: white; padding: 20px 10px; border-radius: var(--radius); text-align: center; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-decoration: none; color: var(--text); border: 1px solid #eee; border-bottom: 4px solid transparent; transition: transform 0.3s ease, border-color 0.3s ease; display: block; }
.smart-card:hover { transform: translateY(-5px); border-bottom-color: var(--accent); color: var(--primary); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }
.smart-card .icon { font-size: 2rem; display: block; margin-bottom: 10px; }
.smart-card h3 { font-size: 0.85rem; margin: 0; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* =========================================
   7. INTERAKTIVES (Barometer, Form, DL, Thanks)
   ========================================= */
.barometer-card { 
    background: var(--card-bg); border-radius: var(--radius); padding: 40px; color: var(--text); 
    box-shadow: var(--shadow); width: 100%; max-width: 900px; border-top: 6px solid var(--primary); 
    margin: 0 auto; position: relative; min-height: 550px; display: flex; flex-direction: column; justify-content: center;
}
.step-dots { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; transition: 0.4s; }
.dot.active { background: var(--cc-green); width: 30px; border-radius: 6px; }

.view { display: none; animation: fadeInUp 0.5s ease forwards; }
.view.active { display: block; }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.barometer-card h3 { font-size: 1.5rem; text-align: center; color: var(--primary); margin-bottom: 30px; }

/* --- GRID LAYOUT (3 Oben, 2 Unten) --- */
.grid-options { 
    display: flex;             
    flex-wrap: wrap;           
    justify-content: center;   
    gap: 25px;                 
    margin-bottom: 30px;       
}

/* --- BUTTONS (Groß & Massiv) --- */
.choice-btn { 
    flex: 0 0 calc(33.333% - 25px);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 35px 20px;       
    min-height: 180px;         
    background: #fff; border: 2px solid #f1f5f9; border-radius: 16px;
    cursor: pointer; transition: var(--transition); min-width: 150px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.choice-btn:hover { 
    border-color: var(--cc-green); transform: translateY(-5px); 
    background: #f0fdf4; box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.choice-btn i { font-size: 2.5rem; margin-bottom: 15px; display: block; font-style: normal; color: var(--primary); }
.choice-btn span { font-size: 1.1rem; font-weight: 700; color: var(--primary); text-align: center; line-height: 1.4; }

/* --- EINGABEFELDER (Filigran) --- */
.custom-input-area {
    margin-top: 25px;
    border-top: 1px solid #f0f0f0; 
    padding-top: 20px;
}
.label-text {
    font-size: 0.9rem;
    color: #888; 
    margin-bottom: 8px; 
    display: block;
    font-weight: 500;
}
.input-group {
    display: flex;
    gap: 10px; 
    align-items: center; 
}

/* Das schlanke Input-Feld (40px Höhe, 1px Rand) */
.modern-input {
    flex: 1;
    padding: 0 15px;           
    border: 1px solid #ccc;    
    border-radius: 50px;       
    font-size: 0.95rem;        
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    background: #fff;
    height: 40px;              
}
.modern-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(20, 55, 78, 0.1); 
}

/* Senden-Button (Rund, 40px) */
.send-btn {
    background-color: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px; 
    width: 40px;       
    height: 40px;      
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.send-btn:hover {
    background-color: var(--cc-green);
    transform: scale(1.05);
}

/* --- ABSCHLUSS-SCREEN (#v-THANKS) --- */
#v-THANKS { height: 100%; display: none; }
#v-THANKS.active {
    display: flex; align-items: center; justify-content: center; flex-direction: column;
}
.success-content { text-align: center; padding: 20px; animation: fadeInUp 0.6s ease forwards; }
.success-icon {
    font-size: 4rem; margin-bottom: 20px; display: inline-block;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
#v-THANKS h3 { font-size: 1.8rem; color: var(--primary); margin: 0 0 15px 0; }
#v-THANKS p { color: var(--text-light); font-size: 1.1rem; line-height: 1.6; margin-bottom: 40px; }

.restart-btn {
    background-color: transparent; color: var(--primary);
    border: 1px solid var(--primary); padding: 10px 25px; border-radius: 50px;
    font-size: 1rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 10px; font-family: inherit;
}
.restart-btn:hover {
    background-color: var(--primary); color: #fff;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(20, 55, 78, 0.15);
}
.restart-btn:hover i { transform: rotate(180deg); }
.restart-btn i { font-style: normal; font-size: 1.2rem; transition: transform 0.5s ease; }

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); }
}

/* --- Mobile Anpassung für Barometer --- */
@media (max-width: 768px) {
    .choice-btn {
        flex: 0 0 100%; flex-direction: row; justify-content: flex-start;
        padding: 20px; min-height: auto; text-align: left;
    }
    .choice-btn i { margin-bottom: 0; margin-right: 20px; font-size: 2rem; width: 40px; text-align: center; }
}

/* --- WEITERE INTERAKTIVE ELEMENTE (Downloads etc) --- */
.btn-cta { background: var(--primary); color: white; border: none; padding: 15px 30px; border-radius: 50px; font-weight: 700; cursor: pointer; margin-top: 30px; text-transform: uppercase; }

.confetti { position: fixed; width: 10px; height: 10px; top: -10px; z-index: 9999; }
@keyframes fall { to { top: 100vh; transform: rotate(720deg); } }

.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.dl-card { background: white; padding: 30px; border-radius: var(--radius); box-shadow: var(--shadow); text-align: center; border: 1px solid #eee; transition: var(--transition); }
.dl-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.btn-dl { background: white; border: 2px solid var(--accent); color: var(--accent); padding: 10px 25px; border-radius: 30px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; margin-top: 15px; }
.btn-dl:hover { background: var(--accent); color: white; }

.smart-form { background: linear-gradient(135deg, var(--primary), var(--primary-light)); padding: 50px; border-radius: 20px; text-align: center; color: white; margin-top: 80px; position: relative; }
.smart-form textarea { width: 100%; max-width: 600px; height: 120px; padding: 20px; border-radius: 8px; border: none; margin: 25px 0; font-size: 1rem; font-family: inherit; }
.smart-form h2 { color: white !important; font-size: 2rem; text-transform: uppercase; margin-top: 0; }
.smart-form p { color: rgba(255, 255, 255, 0.9) !important; }

.btn-submit { background: var(--cc-red); color: white; padding: 18px 50px; border-radius: 50px; border: none; font-weight: 800; font-size: 1rem; text-transform: uppercase; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-top: 10px; }
.btn-submit:hover { background: #d32f2f; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

#overlay { display: none; position: absolute; inset: 0; background: rgba(20, 55, 78, 0.95); border-radius: 20px; align-items: center; justify-content: center; flex-direction: column; }

footer { background: #fff; color: var(--text-light); padding: 50px 20px; text-align: center; border-top: 1px solid #eee; margin-top: 80px; }
footer a { color: var(--primary); text-decoration: none; }

/* =========================================
   8. BRIEFWAHL & NEWSLETTER STYLES
   ========================================= */
.briefwahl-container { max-width: 1000px; margin: 0 auto 100px; }

/* Intro Card */
.participation-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 40px; border-radius: 12px; border-left: 5px solid var(--cc-red);
    margin-bottom: 40px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.participation-card h3 { color: var(--primary); margin-top: 0; font-size: 1.5rem; }
.participation-card p { color: var(--text); font-size: 1.1rem; line-height: 1.6; }
.stats-grid { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 25px; }
.stat-item { flex: 1; min-width: 250px; }
.stat-item strong { font-size: 1.2rem; display: block; margin-bottom: 5px; }
.stat-item span { color: var(--text-light); }
.stat-down { color: var(--cc-red); }
.stat-up { color: var(--cc-green); }

/* Guide Box */
.briefwahl-guide {
    background: white; border-radius: var(--radius) var(--radius) 0 0;
    padding: 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-bottom: 1px solid #eee; position: relative; z-index: 2;
}
.briefwahl-guide h3 { color: var(--primary); margin-top: 0; font-size: 1.8rem; margin-bottom: 30px; }
.guide-layout { display: flex; flex-wrap: wrap; gap: 40px; }
.steps-wrapper { flex: 1; min-width: 300px; }
.steps-list { list-style: none; padding: 0; margin: 0; }
.step-item { margin-bottom: 20px; display: flex; gap: 15px; align-items: flex-start; }
.step-item span { font-size: 0.9rem; color: var(--text-light); }
.step-badge {
    background: #e2e8f0; color: var(--primary); font-weight: bold; width: 32px; height: 32px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.badge-vote { background: var(--cc-yellow); }
.warning-box {
    flex: 1; min-width: 300px; background: #fff7ed; padding: 30px;
    border-radius: 12px; border: 1px solid #ffedd5;
}
.warning-box h4 { color: #c2410c; margin-top: 0; display: flex; align-items: center; gap: 10px; }
.warning-box p { font-size: 0.95rem; color: #9a3412; }
.warning-cta { font-weight: 700; color: #c2410c; margin-bottom: 0; }

/* Newsletter Section */
.newsletter-section {
    background: var(--cc-blue); color: white; padding: 40px 50px;
    border-radius: 0 0 var(--radius) var(--radius); margin-top: -1px;
    box-shadow: 0 20px 40px -10px rgba(20, 55, 78, 0.4); position: relative; z-index: 1;
}
.nl-layout { display: flex; flex-wrap: wrap; gap: 30px; align-items: center; }
.nl-content { flex: 1.2; min-width: 300px; }
.nl-header { display: flex; gap: 20px; }
.nl-icon { font-size: 2.5rem; padding-top: 5px; }
.nl-header h3 { margin: 0; font-size: 1.5rem; color: white; }
.nl-header p, .nl-header ul { margin: 10px 0 0; opacity: 0.9; font-size: 0.95rem; line-height: 1.5; }
.nl-header ul { padding-left: 20px; }
.nl-form-wrapper { flex: 1; min-width: 280px; }
.nl-card {
    background: rgba(255,255,255,0.05); padding: 20px; border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
}
.nl-card p { margin: 0 0 10px; font-size: 0.85rem; text-align: center; opacity: 0.8; }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input { padding: 12px 20px; border-radius: 8px; border: none; outline: none; width: 100%; font-family: inherit; }
.nl-form button {
    background: var(--cc-yellow); color: var(--cc-blue); font-weight: 800; border: none;
    padding: 12px 20px; border-radius: 8px; cursor: pointer; text-transform: uppercase; width: 100%;
    transition: background 0.2s;
}
#reminderSuccess { display: none; color: #a3e635; margin-top: 10px; font-size: 0.9rem; text-align: center; }

/* =========================================
   9. GLOBALE ABSTÄNDE (ZENTRAL GESTEUERT)
   ========================================= */

/* 1. Die zentrale Variable für Abstände */
:root {
    --block-abstand: 150px; 
}

/* 2. Abstände für die Haupt-Container */
.team-grid, 
.programm-container, 
.barometer-card, 
.briefwahl-container, 
.download-grid,
.smart-grid,
.intro-section,
.contact-card {
    /* Mobil etwas weniger, Desktop wird unten überschrieben */
    margin-bottom: 100px !important; 
}

/* 3. Überschriften (Default) */
.section-title {
    margin-bottom: 60px !important; 
}

/* 4. DESKTOP-SPEZIFISCHE ABSTÄNDE (Hier kommt die Luft her!) */
@media (min-width: 769px) {
    
    /* Jede Überschrift drückt den vorherigen Block weg */
    .section-title {
        margin-top: 180px !important; /* Viel Platz nach oben */
        padding-top: 20px !important;
    }
    
    /* Ausnahme: Die allererste Überschrift nach dem Banner */
    #programm.section-title, 
    .intro-section + .section-title {
        margin-top: 80px !important; 
    }

    /* Container haben auch gut Platz nach unten */
    .team-grid, 
    .programm-container, 
    .barometer-card, 
    .briefwahl-container {
        margin-bottom: 120px !important;
    }
}

/* 5. Scroll-Anker Korrektur (Damit das Menü nicht zu weit springt) */
#team, #check, #briefwahl, #kontakt, #downloads, #programm {
    scroll-margin-top: 150px; 
}
/* =========================================
   10. FINAL MOBILE APP EXPERIENCE (V8.0 - SPACED OUT)
   ========================================= */

@media (max-width: 768px) {

    /* --- 0. BASIS --- */
    html, body {
        overflow-x: hidden !important; 
        width: 100%;
        position: relative;
        background-color: #f4f6f8;
    }
    body { padding-bottom: 120px !important; }
    .container { padding: 0 20px; width: 100%; overflow: hidden; }

    /* --- 1. HEADER --- */
    .hero-header {
        height: 70vh; 
        margin: 0 -20px 0 -20px; /* Unten kein Margin, Title regelt das */
        border-radius: 0 0 35px 35px;
        background-attachment: scroll !important; 
        background-position: center bottom;
        padding: 30px;
        display: flex; align-items: flex-end;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }
    .hero-header h1 { font-size: 2.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
    nav { display: none; } 

    /* --- 2. ÜBERSCHRIFTEN (DER ABSTANDS-REGLER) --- */
    .section-title {
        text-align: left !important;
        
        /* HIER IST DIE LUFT: */
        margin-top: 100px !important;  /* Schiebt den Block vom vorherigen weg */
        margin-bottom: 30px !important; /* Abstand zum Inhalt */
        
        padding-left: 5px;
    }
    /* Ausnahme: Die allererste Überschrift nach dem Header braucht weniger Platz */
    #programm.section-title { margin-top: 50px !important; }

    .section-title h2 { font-size: 1.8rem; margin-bottom: 5px; color: #1e293b; }
    .section-title .divider { margin: 10px 0 0 0; width: 50px; height: 5px; border-radius: 10px; }

    /* --- 3. SWIPE CONTAINER --- */
    .programm-container, .team-grid, .smart-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: stretch; 
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        width: calc(100% + 40px); 
        margin-left: -20px; 
        padding: 5px 20px 40px 20px; 
        scrollbar-width: none; 
        -ms-overflow-style: none;
        margin-bottom: 0 !important; 
    }
    .programm-container::-webkit-scrollbar, 
    .team-grid::-webkit-scrollbar, 
    .smart-grid::-webkit-scrollbar { display: none; }

    /* --- 4. KARTEN --- */
    .feature-card {
        flex: 0 0 85vw !important; width: 85vw !important; max-width: 340px;
        scroll-snap-align: center; background: white; border-radius: 24px;
        border: 1px solid rgba(255,255,255,0.8);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06); transform: translateZ(0); 
        display: flex; flex-direction: column-reverse !important; 
        height: auto !important; min-height: 100%; overflow: hidden;
    }
    .feature-img-block { width: 100% !important; height: 150px !important; border-radius: 24px 24px 0 0 !important; flex-shrink: 0; }
    .feature-text-block { padding: 25px 20px !important; display: block !important; flex-grow: 1; }
    .feature-text-block h3 { font-size: 1.25rem; margin-bottom: 10px; display: flex; align-items: center; }
    .num-badge { width: 28px; height: 28px; font-size: 0.85rem; margin-right: 10px; }
    .feature-text-block p { font-size: 0.95rem; color: #64748b; line-height: 1.5; margin-bottom: 15px; }
    .feature-text-block ul { display: block !important; padding-left: 0 !important; margin-top: 10px !important; }
    .feature-text-block li { font-size: 0.9rem !important; margin-bottom: 6px !important; display: flex; align-items: flex-start; gap: 8px; color: var(--cc-blue); }
    .check-icon { font-size: 1rem; line-height: 1.2; }

    /* Team Cards */
    .member-card {
        flex: 0 0 75vw !important; width: 75vw !important; max-width: 280px;
        min-height: 480px !important; scroll-snap-align: center; margin-bottom: 0 !important;
        background: white; border-radius: 24px; box-shadow: 0 8px 25px rgba(0,0,0,0.08);
        padding: 40px 20px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; 
        text-align: center; border: 1px solid white;
    }
    .avatar { 
        width: 130px !important; height: 130px !important; min-width: 130px !important; min-height: 130px !important;
        border-radius: 50% !important; margin-bottom: 25px; box-shadow: 0 10px 20px rgba(0,0,0,0.15);
        display: flex; align-items: center; justify-content: center; overflow: hidden; background: #eee;
    }
    .avatar img { width: 100%; height: 100%; object-fit: cover; }
    .member-info { width: 100%; }
    .member-desc { margin-top: 15px; font-style: italic; color: #64748b; }
    .skill-list, .card-divider { opacity: 1; max-height: none; transform: none; margin: 10px 0; }

    /* Smart Grid */
    .smart-card {
        flex: 0 0 40vw !important; aspect-ratio: 1/1; scroll-snap-align: center;
        background: white; border-radius: 22px; box-shadow: 0 5px 15px rgba(0,0,0,0.04);
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        padding: 15px; text-align: center; border: 1px solid #f1f5f9;
    }
    .smart-card .icon { font-size: 2rem; margin-bottom: 8px; }

    /* --- 5. INTERAKTIVE BLÖCKE (ABSTAND NACH UNTEN) --- */
    .barometer-card, .briefwahl-container, .contact-card {
        width: 100%; 
        padding: 25px 20px;
        border-radius: 24px; box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        
        /* HIER IST DIE LUFT NACH UNTEN */
        margin: 0 0 80px 0 !important; 
    }
    
    .choice-btn {
        width: 100%; min-height: 70px; height: auto;
        padding: 15px 20px; border-radius: 18px; margin-bottom: 12px;
        display: flex; align-items: center; justify-content: flex-start; text-align: left;
        background: #f8fafc; border: 1px solid #e2e8f0;
    }
    .choice-btn i { font-size: 1.8rem; margin: 0 20px 0 0; flex-shrink: 0; width: 40px; text-align: center; }
    .choice-btn span { font-size: 1rem; line-height: 1.3; white-space: normal; word-wrap: break-word; }

    .custom-input-area { margin-top: 0; border: none; padding: 0; }
    .custom-input-area .label-text { display: none; } 
    .custom-input-area .input-group {
        width: 100%; min-height: 70px; background: #f8fafc; border: 1px solid #e2e8f0;
        border-radius: 18px; display: flex; align-items: center; padding: 5px 10px 5px 20px;
    }
    .custom-input-area input { border: none; background: transparent; height: 100%; padding: 0; font-size: 1rem; color: #333; }
    .custom-input-area button { width: 45px; height: 45px; border-radius: 14px; background: var(--cc-blue); color: white; border: none; font-size: 1.1rem; flex-shrink: 0; margin-left: 10px; }

    /* --- 6. FOOTER SPEZIAL (Programm Button) --- */
    .programm-footer {
        margin-top: -30px !important; 
        padding-top: 0 !important;
        
        /* HIER IST DIE LUFT NACH DEM PROGRAMM */
        margin-bottom: 80px !important; 
    }
    .programm-footer p { font-size: 0.85rem; opacity: 0.8; margin-bottom: 8px; }
    .btn-details { width: 90%; justify-content: center; }

    /* --- 7. BOTTOM NAV --- */
    .app-bottom-nav {
        display: flex !important;
        position: fixed; bottom: 20px; left: 15px; right: 15px; height: 65px;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.25);
        justify-content: space-evenly; align-items: center; z-index: 99999;
        border: 1px solid rgba(255,255,255,0.1);
    }
    .nav-icon { color: #94a3b8; font-size: 0.6rem; display: flex; flex-direction: column; align-items: center; text-decoration: none; }
    .nav-icon.active { color: white; }
    .nav-icon svg { width: 20px; height: 20px; margin-bottom: 3px; fill: currentColor; }
    .nav-fab {
        width: 50px; height: 50px;
        background: linear-gradient(135deg, #f44336, #ef4444);
        border-radius: 16px;
        display: flex; align-items: center; justify-content: center;
        color: white; font-size: 1.4rem;
        transform: translateY(-25px) rotate(45deg);
        box-shadow: 0 8px 20px rgba(244, 67, 54, 0.4);
        border: 4px solid #f4f6f8; 
    }
    .nav-fab span { transform: rotate(-45deg); display: block; }
}
/* --- OPTIMIERTER MOBILE-FIX (15% GRÖSSER & LUFTIGER) --- */
@media (max-width: 768px) {
    /* 1. Karten-Container: Mehr Padding und Abstand */
    .feature-card, 
    .feature-card.layout-reverse {
        display: flex !important;
        flex-direction: column-reverse !important; 
        padding: 18px !important; /* Von 12px auf 18px erhöht */
        margin-bottom: 20px !important; /* Mehr Abstand zwischen den Boxen */
        height: auto !important;
        min-height: 0 !important;
        gap: 12px !important;
        background: #ffffff !important;
        border-radius: 20px !important; /* Etwas weichere Ecken */
        box-shadow: 0 4px 15px rgba(0,0,0,0.05) !important;
    }

    /* 2. Bilder: Von 120px auf 150px Höhe (ca. 15-20% mehr) */
    .feature-img-block,
    .layout-reverse .feature-img-block {
        height: 150px !important; 
        width: 100% !important;
        margin: 0 !important;
    }

    .feature-img-block img {
        height: 150px !important;
        object-fit: cover !important;
    }

    /* 3. Text & Überschriften: Etwas präsenter */
    .feature-text-block,
    .layout-reverse .feature-text-block {
        width: 100% !important;
        padding: 0 5px !important;
    }

    .feature-text-block h3 {
        font-size: 1.3rem !important; /* Größere, griffigere Überschrift */
        margin: 8px 0 !important;
        color: var(--cc-blue);
    }

    .feature-text-block p {
        font-size: 1rem !important; /* Standard-Lesegröße */
        line-height: 1.45 !important;
        margin-bottom: 12px !important;
        /* Wir entfernen das Abschneiden (Line-Clamp), damit der Text wirken kann */
        display: block !important; 
        overflow: visible !important;
    }

    /* 4. Liste (Bullets): Mehr Platz für die Finger */
    .feature-text-block ul {
        margin-top: 10px !important;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .feature-text-block ul li {
        font-size: 0.95rem !important;
        padding-left: 25px !important;
        line-height: 1.3;
    }

    .feature-text-block ul li .check-icon {
        font-size: 0.9rem;
        top: 2px;
    }

    /* 5. Badge (Nummer) */
    .num-badge {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }
}