/* ===================================
   Tüßlinger Liste Website - Custom Styles
   =================================== */

/* --- CSS Variables (Farbschema) --- */
:root {
    --primary-green: #066E2D;
    --light-green: #DFEDE6;
    --accent-red: #DC1F26;
    --background-white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --light-gray: #F5F5F5;
}

/* --- Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--background-white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-dark);
}

/* --- Header Styles --- */
.header-main {
    background-image: url('Attachments/TLI-Himmel-Gruen-ohneWahlslogan.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.logo-text-bottom {
    font-size: 1.2rem;
    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    margin-top: 0.3rem;
    font-family: 'Impact', 'Arial Black', sans-serif;
    letter-spacing: 0.5px;
}

.header-title {
    font-size: 4.2rem;
    color: var(--primary-green);
    font-weight: 900;
    margin-bottom: 0.3rem;
    letter-spacing: -1px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    line-height: 1;
}

.header-subtitle {
    font-size: 2.6rem;
    color: var(--primary-green);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Impact', 'Arial Black', sans-serif;
    line-height: 1;
}


/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-image-container {
    position: relative;
    width: 100%;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}


.hero-banner-bottom {
    background-color: var(--primary-green);
    color: white;
    padding: 1.2rem 3rem;
    text-align: center;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-x {
    font-size: 1.5rem;
    font-weight: bold;
    margin-right: 1rem;
}

.hero-text {
    font-size: 1.2rem;
    font-weight: 700;
    margin-right: 1rem;
}

.hero-subtext {
    font-size: 0.9rem;
    font-weight: 400;
}

/* --- Programm Section --- */
.programm-section {
    background-color: var(--light-gray);
}

.section-title {
    font-size: 2rem;
    color: var(--primary-green);
    font-weight: 700;
    line-height: 1.3;
}

.programm-intro {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.programm-points {
    margin-top: 1.5rem;
}

.programm-item {
    margin-bottom: 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--primary-green);
}

.programm-item h4 {
    font-size: 1.1rem;
    color: var(--primary-green);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.programm-item p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin: 0;
}

.anspruch-banner {
    background-color: var(--light-green);
    color: var(--text-dark);
    padding: 2.5rem;
    border-radius: 0;
    margin-top: 0;
    text-align: center;
}

.anspruch-banner h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding: 0;
    font-weight: 700;
}

.anspruch-banner p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.anspruch-slogan {
    font-size: 500rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-top: 1.5rem;
}

/* --- Kandidaten Section --- */
.kandidaten-section {
    background-color: var(--background-white);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.kandidat-card {
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.kandidat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.kandidat-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.kandidat-image {
    width: 100%;
    height: auto;
    display: block;
}


.kandidat-info {
    padding: 1.2rem;
    background-color: white;
    position: relative;
}

.kandidat-name {
    font-size: 1rem;
    color: #065E00;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.kandidat-details {
    font-size: 0.85rem;
    color: #8BB197;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.accordion-button {
    background-color: transparent;
    border: none;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0;
    box-shadow: none !important;
    border-top: 1px solid #E0E0E0;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.accordion-button:not(.collapsed) .mehr-text {
    display: none;
}

.accordion-button:not(.collapsed) .weniger-text {
    display: inline !important;
}

.accordion-button.collapsed .mehr-text {
    display: inline;
}

.accordion-button.collapsed .weniger-text {
    display: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: transparent;
    color: var(--accent-red);
}

.accordion-button::after {
    display: none;
}

.accordion-item {
    border: none;
    background-color: transparent;
}

.accordion-body {
    padding: 0.5rem 0 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- Wahlaufruf vor Footer --- */
.wahlaufruf-before-footer {
    background-color: var(--background-white);
}

.wahlaufruf-img {
    max-width: 500px;
    width: 100%;
    height: auto;
}

/* --- Footer Wahlaufruf --- */
.footer-wahlaufruf {
    background-color: var(--primary-green);
    padding: 3rem 0;
    color: white;
}

.footer-wahlaufruf-img {
    max-width: 300px;
    height: auto;
    margin: 0 auto;
}

.footer-text {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    margin-top: 1.5rem;
}

.footer-legal {
    margin-top: 1rem;
    color: white;
}

.footer-legal a {
    color: white;
    text-decoration: none;
    margin: 0 0.5rem;
}

.footer-legal a:hover {
    color: var(--light-green);
    text-decoration: underline;
}

/* ===================================
   Responsive Design - Mobile & Tablet
   =================================== */

/* Tablet (iPad, Medium devices) */
@media (max-width: 992px) {
    .header-title {
        font-size: 2.8rem;
    }
    
    .header-subtitle {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.7rem;
    }
    
    .logo {
        max-width: 130px;
    }
}

/* Mobile (Smartphones) */
@media (max-width: 768px) {
    .header-main {
        position: relative;
    }
    
    .header-title {
        font-size: 2rem;
        margin-top: 1rem;
    }
    
    .header-subtitle {
        font-size: 1.3rem;
    }
    
    .logo {
        max-width: 100px;
    }
    
    .logo-text-bottom {
        font-size: 0.9rem;
    }
    
    .hero-banner-bottom {
        padding: 0.8rem 1.5rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .hero-x {
        font-size: 1.2rem;
        margin-right: 0;
    }
    
    .hero-text {
        font-size: 0.9rem;
        margin-right: 0;
    }
    
    .hero-subtext {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .programm-item h4 {
        font-size: 1rem;
    }
    
    .programm-item p {
        font-size: 0.9rem;
    }
    
    .anspruch-banner {
        padding: 1.5rem;
    }
    
    .anspruch-banner h3 {
        font-size: 1.5rem;
    }
    
    .anspruch-banner p {
        font-size: 0.9rem;
    }
    
    .kandidat-name {
        font-size: 1rem;
    }
    
    .kandidat-details {
        font-size: 0.8rem;
    }
    
    .footer-wahlaufruf-img {
        max-width: 250px;
    }
}

/* Extra Small Mobile */
@media (max-width: 576px) {
    .header-title {
        font-size: 1.5rem;
    }
    
    .header-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .hero-banner {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .hero-x {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 0.75rem;
    }
    
    .hero-subtext {
        font-size: 0.65rem;
    }
}
