/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary-color: #719430;
    --primary-dark: #5a7a26;
    --primary-light: #92bb46;
    --primary-lighter: #acd464;
    --primary-lightest: #e1fbb2;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Entfernt das Standard-Tap-Highlight auf Mobile, da wir eigene Active-States haben */
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Global Mobile Optimizations
   ============================================ */
html {
    scroll-behavior: smooth;
    /* Verhindert, dass Anker unter dem Header verschwinden */
    scroll-padding-top: 80px;
}

/* Verhindert iOS Zoom bei Inputs */
input, select, textarea {
    font-size: 16px !important;
}

/* Besseres Touch-Feedback */
.btn:active, 
.mobile-fab:active,
.nav-menu a:active {
    transform: scale(0.98);
    opacity: 0.9;
}

/* Größere Touch-Targets im Footer */
.footer-section a {
    display: inline-block;
    padding: 5px 0;
}

@media (max-width: 768px) {
    /* Optimierte Abstände auf Mobilgeräten */
    section {
        padding: 3rem 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .section-header {
        margin-bottom: 2rem;
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .section-subtitle {
        margin-bottom: 2rem;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    /* Active State für alle klickbaren Elemente */
    button:active, a:active {
        opacity: 0.8;
    }
    
    /* Stelle sicher, dass alle Sektionen korrekt zentriert sind */
    .section-title {
        padding: 0 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

/* ============================================
   Image Optimization
   ============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimiere Bildlade-Performance */
img[loading="lazy"] {
    content-visibility: auto;
}

/* Verhindere Layout-Shift beim Laden - Bilder behalten Seitenverhältnis */

/* Optimiere Hintergrundbilder */
[style*="background-image"] {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    /* Fallback-Farbe für fehlende Bilder */
    background-color: var(--bg-light);
}

/* Fallback für mobile Geräte - deaktiviere background-attachment: fixed */
@media (max-width: 768px) {
    /* Verhindere horizontales Scrollen */
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
        width: 100%;
    }
    
    * {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Reduziere Container-Padding auf mobil für mehr Platz */
    .container {
        padding: 0 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    [style*="background-attachment: fixed"] {
        background-attachment: scroll !important;
    }
    
    /* Hero-Navigation auf mobil verstecken */
    .hero-slider-nav {
        display: none !important;
    }
    
    /* Pagination-Punkte mehr Abstand zum Button */
    .hero-slider-dots {
        bottom: 50px !important;
        margin-bottom: 1rem;
    }
    
    /* Hero-Content mehr Padding oben für bessere Lesbarkeit */
    .hero-content {
        padding-top: 140px !important;
        padding-bottom: 80px !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Hero-Section sicherstellen */
    .hero {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    .hero-slider {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .hero-slide {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Section-Divider auf mobil verstecken oder besser sichtbar machen */
    .section-divider {
        display: none;
    }
    
    /* Stelle sicher, dass Hintergrundbilder auch auf mobilen Geräten laden */
    [style*="background-image"] {
        background-size: cover;
        background-position: center;
        min-height: 200px;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }

.highlight {
    color: var(--primary-color);
    text-decoration: underline;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-medium);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-divider {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    margin: 2rem auto;
    opacity: 0.6;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
}

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

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.nav-brand:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Sticky Bar & FAB defaults (hidden on desktop) */
.mobile-sticky-bar, .mobile-fab {
    display: none;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

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

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

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    overflow: hidden;
    width: 100%;
    max-width: 100vw;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    max-width: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    max-width: 100%;
}

/* Fallback-Bild für mobile Geräte - Video wird versteckt */
@media (max-width: 768px) {
    .hero-slide video {
        display: none;
    }
    
    /* Stelle sicher, dass Hintergrundbild sichtbar ist */
    .hero-slide-bg {
        z-index: 1;
        opacity: 1;
    }
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    /* Performance-Optimierung für Hintergrundbilder */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transform: translateZ(0); /* GPU-Beschleunigung */
    backface-visibility: hidden;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 20px 60px;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    color: #ffffff;
    box-sizing: border-box;
}

.hero-content .highlight {
    color: var(--primary-lighter);
    font-weight: 600;
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.hero-nav-btn {
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.hero-nav-btn:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-slider-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-dots .dot.active,
.hero-slider-dots .dot:hover {
    background: white;
    transform: scale(1.2);
}

.hero-title {
    font-family: 'Inter', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7), 0 4px 16px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
    word-wrap: break-word;
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   Countdown Section
   ============================================ */
.countdown-section {
    padding: 4rem 0;
    background: var(--bg-light);
}

.countdown-card {
    background: white;
    border-radius: 0;
    padding: 4rem 3rem;
    box-shadow: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    /* Fallback-Farbe falls Hintergrundbild nicht lädt */
    background-color: white;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.countdown-profile-image {
    width: 150px;
    height: 150px;
    margin: -95px auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    background: white;
}

.countdown-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.countdown-header {
    text-align: center;
    margin-bottom: 2rem;
}

.countdown-header h2 {
    color: var(--text-dark);
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    font-weight: 400;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.01em;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: transparent;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0;
}

.info-card:hover {
    border-color: rgba(0, 0, 0, 0.2);
}

.info-amount {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

.info-text {
    color: var(--text-medium);
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

.countdown-footer {
    text-align: center;
    color: var(--text-medium);
    font-size: 1.125rem;
    margin-top: 3rem;
    line-height: 1.9;
    font-weight: 300;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   Progress Section
   ============================================ */
.progress-section {
    padding: 5rem 0;
    background: white;
}

.progress-card {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
    margin: 0 auto;
}

.progress-header {
    text-align: center;
    margin-bottom: 2rem;
}

.progress-text {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.progress-percentage {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
}

.progress-date {
    color: var(--text-medium);
    font-size: 0.9rem;
}

.progress-bar-container {
    background: var(--bg-light);
    border-radius: 50px;
    height: 30px;
    overflow: hidden;
    margin: 2rem 0;
}

.progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    height: 100%;
    border-radius: 50px;
    transition: width 1s ease;
    box-shadow: 0 2px 10px rgba(113, 148, 48, 0.3);
}

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

.stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
}

.stat-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* Campaign Restart Banner - Cineastisches Design */
.campaign-restart-banner {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #f5f5f5;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease;
}

.campaign-restart-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.6;
}

.campaign-restart-banner::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.restart-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.restart-label {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
}

.restart-content h3 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.restart-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    line-height: 1.8;
    margin: 0 auto 2rem;
    max-width: 700px;
    font-weight: 300;
}

.restart-content strong {
    color: #ffffff;
    font-weight: 500;
}

.restart-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 400;
}

.meta-item {
    font-family: 'Inter', sans-serif;
}

.meta-divider {
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
}

@media (max-width: 768px) {
    .campaign-restart-banner {
        padding: 3rem 2rem;
    }
    
    .restart-content h3 {
        font-size: 2rem;
    }
    
    .restart-content p {
        font-size: 1rem;
    }
    
    .restart-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .meta-divider {
        display: none;
    }
}

.patenschaft-card,
.project-details {
    background: var(--primary-lightest);
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
}

.patenschaft-card h3,
.project-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    /* Fallback-Farbe falls Hintergrundbild nicht lädt */
    background-color: var(--bg-light);
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 0;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 3rem;
    text-align: center;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    margin: 3rem 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-caption {
    text-align: center;
    color: var(--text-medium);
    font-style: italic;
    margin-top: 1rem;
}

.video-caption a {
    color: var(--primary-color);
    text-decoration: none;
}

.video-caption a:hover {
    text-decoration: underline;
}

/* ============================================
   Story Section
   ============================================ */
.story-section {
    padding: 5rem 0;
    background: white;
}

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

.story-image {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.story-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    object-position: center center;
    display: block;
}

.story-content h2 {
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.story-content p {
    margin-bottom: 1.5rem;
    color: var(--text-medium);
    line-height: 1.8;
    font-size: 1.125rem;
}

.story-portrait {
    text-align: center;
    margin: 2rem 0;
}

.story-portrait img {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    padding: 5px;
    object-fit: cover;
    object-position: center center;
    box-shadow: var(--shadow);
    display: block;
    margin: 0 auto;
}

.story-author {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-lightest);
}

.story-author p {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* ============================================
   Donation Section
   ============================================ */
.donation-section {
    padding: 5rem 0;
    background: white;
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.donation-card {
    background: white;
    border: 2px solid var(--primary-lightest);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.donation-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-lightest), white);
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.donation-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.donation-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 1.5rem 0;
}

.donation-card p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.donation-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Bank Details Copy Button */
.bank-details-copy {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.bank-info-text {
    flex: 1;
}

.copy-bank-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.copy-bank-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(113, 148, 48, 0.3);
}

.copy-bank-btn:active {
    transform: translateY(0);
}

.copy-icon {
    font-size: 1.1rem;
}

.copy-text {
    font-family: 'Inter', sans-serif;
}

.copy-feedback {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--primary-lightest);
    color: var(--primary-dark);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    animation: fadeInOut 3s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(-10px); }
    10% { opacity: 1; transform: translateY(0); }
    90% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 768px) {
    .bank-details-copy {
        flex-direction: column;
    }
    
    .copy-bank-btn {
        width: 100%;
        justify-content: center;
    }
}

.bank-info {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.bank-info h3 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

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

.bank-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.bank-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bank-card p {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.girocode {
    width: 180px;
    height: 180px;
    margin-top: 1rem;
    border-radius: 10px;
}

.tax-info {
    background: var(--primary-lightest);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.tax-info p {
    color: var(--text-dark);
    margin: 0;
}

/* ============================================
   Historical Images Section
   ============================================ */
.historical-section {
    padding: 5rem 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    display: block !important;
    visibility: visible !important;
}

.historical-section:nth-child(even) {
    background: white;
}

.historical-gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    width: 100%;
    max-width: 100%;
    visibility: visible !important;
    opacity: 1 !important;
}

.historical-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

/* Spezielle Anpassung für 2019-Galerie (Porträt-Bilder mit Köpfen) */
#historical-2019-gallery .historical-gallery-item {
    aspect-ratio: 3/4;
}

.historical-gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.historical-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

/* Spezielle Positionierung für 2019-Galerie - Fokus auf oberen Bereich (Köpfe) */
#historical-2019-gallery .historical-gallery-item img {
    object-position: top center;
}

/* ============================================
   Thank You Section
   ============================================ */
.thankyou-section {
    padding: 5rem 0;
    text-align: center;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thankyou-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.thankyou-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.thankyou-slide.active {
    opacity: 1;
}

.thankyou-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(225, 251, 178, 0.85), rgba(255, 255, 255, 0.85));
    z-index: 1;
}

.thankyou-section .container {
    position: relative;
    z-index: 2;
}

.thankyou-text {
    max-width: 800px;
    margin: 2rem auto 0;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-medium);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.testimonial-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--primary-color);
}

.testimonial-text {
    color: var(--text-medium);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

/* ============================================
   Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(10px);
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-caption {
    color: white;
    text-align: center;
    font-size: 1rem;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.lightbox-caption-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption #lightbox-counter {
    color: rgba(255, 255, 255, 0.7);
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.lightbox-caption #lightbox-title {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.lightbox-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    display: block;
    text-align: left;
}

.lightbox-description:empty {
    display: none;
}

.lightbox-description:not(:empty) {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 3rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
    line-height: 1;
    padding: 0;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 10px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 2rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2.5rem;
    }
    
    .lightbox-prev {
        left: 15px;
    }
    
    .lightbox-next {
        right: 15px;
    }
    
    .lightbox-content img {
        max-height: 75vh;
    }
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-light);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--primary-light);
    text-decoration: none;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-legal {
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar .btn-primary {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        z-index: 1000;
        gap: 0;
    }
    
    .nav-menu.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--bg-light);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        width: 100%;
    }
    
    .hero-title {
        font-size: 2rem; /* Reduced from 2.5rem for better fit */
        margin-top: 1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        padding: 0 0.5rem;
    }
    
    /* Spenden-Button zentrieren */
    .btn {
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    /* Navigation Button zentrieren auf mobil */
    .navbar .btn {
        display: none;
    }
    
    .nav-menu.mobile-open .btn {
        display: block;
        width: 100%;
        margin-top: 1rem;
        text-align: center;
    }
    
    /* Sticky Donation Bar für mobile Geräte */
    .mobile-sticky-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 0.75rem 1.5rem;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-top: 1px solid rgba(0,0,0,0.05);
        animation: slideUp 0.5s ease-out;
        padding-bottom: max(0.75rem, env(safe-area-inset-bottom)); /* Für iPhone Home Bar */
    }
    
    @keyframes slideUp {
        from { transform: translateY(100%); }
        to { transform: translateY(0); }
    }
    
    @keyframes heartbeat {
        0% { transform: scale(1); }
        5% { transform: scale(1.05); }
        10% { transform: scale(1); }
        15% { transform: scale(1.05); }
        20% { transform: scale(1); }
        100% { transform: scale(1); }
    }
    
    @keyframes shimmer {
        0% { background-position: -100px; }
        40%, 100% { background-position: 200px; }
    }
    
    .sticky-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
    }
    
    .sticky-label {
        font-weight: 800;
        color: var(--text-dark);
        font-size: 0.9rem;
    }
    
    .sticky-sub {
        font-size: 0.75rem;
        color: var(--text-medium);
    }
    
    .sticky-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
        box-shadow: 0 4px 10px rgba(113, 148, 48, 0.3);
        animation: heartbeat 5s infinite;
        position: relative;
        overflow: hidden;
    }
    
    /* Shimmer Effekt */
    .sticky-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
        background-size: 200px 100%;
        background-repeat: no-repeat;
        animation: shimmer 3s infinite linear;
    }

    /* Floating Action Button - deaktiviert zugunsten der Sticky Bar */
    .mobile-fab {
        display: none;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .countdown-card,
    .progress-card {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    /* Stelle sicher, dass Hintergrundbilder auf mobilen Geräten nicht zu weißen Flächen führen */
    .countdown-card {
        background-color: white !important;
        min-height: 300px;
    }
    
    .about-section {
        background-color: var(--bg-light) !important;
        background-attachment: scroll !important;
    }
    
    .story-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .donation-options {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    .donation-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .bank-details {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    
    /* Bankverbindung breiter machen auf mobil - weniger Padding */
    .bank-card {
        max-width: 100%;
        width: 100%;
        padding: 1.25rem !important;
    }
    
    .bank-info {
        padding: 1.25rem 0.75rem !important;
        margin: 2rem -1rem;
        border-radius: 15px;
    }
    
    .bank-details {
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* IBAN auf eine Zeile - kleinere Schrift und kompakter */
    .bank-info-text p {
        word-break: keep-all;
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* IBAN-Zeile speziell - noch kompakter */
    .bank-info-text p:first-of-type {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .tax-info {
        padding: 1.25rem 0.75rem !important;
        margin: 0 -1rem;
    }
    
    .girocode {
        width: 160px;
        height: 160px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    /* Stelle sicher, dass historische Galerien sichtbar sind */
    .historical-section {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .historical-gallery {
        display: grid !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    }
    
    .historical-gallery-item {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
}

/* ============================================
   Ausbildung Section (from Ausbildungsprogramme)
   ============================================ */
.ausbildung-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.ausbildung-intro {
    max-width: 900px;
    margin: 3rem auto;
    text-align: center;
}

.ausbildung-intro-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.ausbildung-intro-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 1rem;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.programme-card {
    background: white;
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.programme-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
    border-radius: 16px 16px 0 0;
}

.programme-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.programme-card:hover::after {
    transform: scaleX(1);
}

.programme-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px 16px 0 0;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1) contrast(1.02);
}

.programme-card:hover .programme-image img {
    transform: scale(1.15);
    filter: brightness(1.05) contrast(1.05);
}

.programme-card > *:not(.programme-image) {
    padding: 0 2rem;
}

.programme-card > *:last-child {
    padding-bottom: 2rem;
}

.programme-icon {
    margin: 1.5rem auto 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    opacity: 0.7;
}

.programme-icon svg {
    width: 100%;
    height: 100%;
}

.programme-partner-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
    background: rgba(113, 148, 48, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(113, 148, 48, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.programme-partner-badge.partner-stem {
    background: rgba(255, 115, 85, 0.1);
    color: #d46a4a;
    border-color: rgba(255, 115, 85, 0.2);
}

.programme-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.01em;
}

.programme-subtitle {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.programme-duration {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.375rem 1rem;
    border: none;
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.programme-description {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 400;
}

.programme-outcomes {
    list-style: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.programme-outcomes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.6;
    font-weight: 300;
}

/* ============================================
   Impact Calculator Section
   ============================================ */
.impact-calculator-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.calculator-content {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
}

.calculator-input {
    margin-bottom: 2rem;
}

.calculator-input label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-lightest);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(113, 148, 48, 0.1);
}

.currency {
    font-weight: 600;
    color: var(--text-medium);
    margin-right: 0.5rem;
    font-size: 1.25rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.quick-amounts {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.quick-amount-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid var(--primary-lightest);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.quick-amount-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-lightest);
}

.quick-amount-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.calculator-result {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    padding: 2rem;
    background: var(--primary-lightest);
    border-radius: 15px;
}

.result-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border-radius: 12px;
}

.result-text {
    flex: 1;
}

.result-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.result-label {
    font-size: 1rem;
    color: var(--text-medium);
    margin-bottom: 1rem;
    font-weight: 500;
}

.result-description {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.calculator-note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.calculator-note small {
    font-size: 0.875rem;
    color: var(--text-medium);
    font-style: italic;
}

/* Impact Details */
.impact-details {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-lightest);
}

.impact-details-header {
    text-align: center;
    margin-bottom: 2rem;
}

.impact-details-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.impact-intro {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.impact-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.impact-card {
    background: white;
    padding: 1.75rem;
    border-radius: 15px;
    border: 2px solid var(--primary-lightest);
    transition: var(--transition);
    text-align: center;
}

.impact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.impact-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.impact-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-card p {
    font-size: 0.9375rem;
    color: var(--text-medium);
    line-height: 1.7;
    margin: 0;
}

.impact-card p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.impact-card-highlight {
    background: linear-gradient(135deg, var(--primary-lightest), rgba(113, 148, 48, 0.05));
    border-color: var(--primary-color);
    border-width: 3px;
}

.impact-card-highlight h4 {
    color: var(--primary-dark);
}

/* Success Story */
.impact-success-story {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary-color);
    margin: 2rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: var(--shadow);
}

.success-story-icon {
    font-size: 3rem;
    flex-shrink: 0;
    line-height: 1;
}

.success-story-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.success-story-content p {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
}

.success-story-content p strong {
    color: var(--primary-color);
    font-weight: 700;
}

.calculator-cta {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .impact-calculator-section {
        padding: 3rem 0;
        background: var(--bg-light) !important;
        display: block !important;
        visibility: visible !important;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .calculator-content {
        width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
    }
    
    .calculator-box {
        padding: 2rem 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin: 0 auto;
    }
    
    .calculator-result {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .result-icon {
        align-self: center;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .impact-details {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .impact-details-header h3 {
        font-size: 1.5rem;
    }
    
    .impact-intro {
        font-size: 1rem;
    }
    
    .impact-grid-detailed {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }
    
    .impact-card-icon {
        font-size: 2.5rem;
    }
    
    .impact-card h4 {
        font-size: 1.125rem;
    }
    
    .impact-card p {
        font-size: 0.875rem;
    }
    
    .impact-success-story {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .success-story-icon {
        font-size: 2.5rem;
        align-self: center;
    }
    
    .success-story-content h4 {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .success-story-content p {
        font-size: 0.9375rem;
        text-align: center;
    }
}

.programme-outcomes li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 600;
}

.ausbildung-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.ausbildung-cta-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ausbildung-cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .programmes-grid {
        grid-template-columns: 1fr;
    }
    
    .ausbildung-cta-buttons {
        flex-direction: column;
    }
    
    .ausbildung-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .progress-percentage {
        font-size: 2rem;
    }
    
    .donation-amount {
        font-size: 2rem;
    }
}


/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-zoom {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-zoom.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays for lists/grids */
.reveal-delay-100 { transition-delay: 0.1s; }
.reveal-delay-200 { transition-delay: 0.2s; }
.reveal-delay-300 { transition-delay: 0.3s; }
.reveal-delay-400 { transition-delay: 0.4s; }

/* Disable animations on very slow devices or if user prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left, .reveal-right, .reveal-zoom {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/* Pulse Animation für Buttons */
.pulse-animation {
    animation: heartbeat 3s infinite;
}


/* Parallax Effect */
.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    z-index: 1;
}

/* Disable fixed background on mobile for performance and better UX */
@media (max-width: 768px) {
    .parallax {
        background-attachment: scroll !important;
        background-position: center center !important;
    }
}

/* Content Parallax Effect (JS controlled) */
.parallax-content {
    position: relative;
    will-change: transform, opacity;
}


/* ============================================
   Modern UI Enhancements
   ============================================ */

/* Gradient Text for Emphasis */
.text-gradient,
.stat-number,
.impact-number,
.budget-amount {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--primary-color); /* Fallback */
}

/* Glassmorphism for Cards */
.glass-effect,
.stat-card,
.programme-card,
.testimonial-card,
.budget-item,
.calculator-box,
.partner-type,
.countdown-card,
.info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

/* Enhanced Hover Effects for Cards */
.stat-card:hover,
.programme-card:hover,
.testimonial-card:hover,
.budget-item:hover,
.partner-type:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.12);
    border-color: var(--primary-light);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection Color */
::selection {
    background: var(--primary-lightest);
    color: var(--primary-dark);
}


/* Video Control Button for Mobile */
.hero-video-toggle-btn {
    position: absolute;
    bottom: 120px; /* Über den Dots */
    right: 20px;
    z-index: 100; /* Erhöht, um sicherzustellen, dass es über allem liegt */
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.3); /* Dunklerer Hintergrund für Kontrast */
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    /* Standardmäßig auf Desktop verstecken, da Autoplay läuft */
    opacity: 0; 
    pointer-events: none;
}

.hero-video-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.hero-video-toggle-btn .video-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.hero-video-toggle-btn .video-text {
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-video-toggle-btn.playing .video-icon {
    content: '⏸'; /* Pause symbol logic via JS usually, but CSS content works if text is empty */
}

/* Mobile: Button anzeigen */
@media (max-width: 768px) {
    .hero-video-toggle-btn {
        opacity: 1;
        pointer-events: auto;
        bottom: 100px;
        right: 15px;
    }
    
    /* Wenn Video läuft, Button dezenter machen */
    .hero-video-toggle-btn.playing {
        opacity: 0.5;
        background: rgba(0, 0, 0, 0.1);
    }
    
    .hero-video-toggle-btn.playing:hover {
        opacity: 1;
    }
}