:root {
    --color-primary: #c0392b;
    --color-secondary: #e67e22;
    --color-text: #34495e;
    --color-background: #fdfdfd;
    --color-light-gray: #f4f6f9; /* Helleres Grau */
    --color-dark-gray: #576574;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --shadow: 0 8px 32px rgba(0,0,0,0.08); /* Weicherer Schatten */
    --radius: 16px; /* Größerer Radius */
    --color-try: #d35400;
    --color-eur: #2980b9;
    --color-usd: #27ae60;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Basis-Schriftgröße */
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-background);
    line-height: 1.7;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px; /* Etwas breiter */
    margin: 0 auto;
    padding: 0 24px;
}

/* ==================
   Navbar (Modern)
   ================== */
.navbar {
    background: rgba(255,255,255,0.85); /* Stärkerer Blur-Effekt */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 45px;
    border-radius: 10px;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volunteer-btn {
    display:inline-flex;
    align-items:center;
    gap:.5rem;
    background:var(--color-secondary);
    color:#fff;
    padding:.6rem 1.1rem;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
    white-space:nowrap;
    transition: all 0.3s ease;
}
.volunteer-btn:hover {
    opacity:.9;
    transform: translateY(-2px);
}

.lang-switcher button {
    background: var(--color-light-gray);
    border: 1px solid #e0e0e0;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
}
.lang-switcher button:hover {
    background-color: #e9ecef;
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 115%;
    right: 0;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 0.5rem;
    margin:0;
    z-index: 1001;
    width: max-content;
    border: 1px solid #f0f0f0;
}
.lang-dropdown.show { display: block; }
.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1rem;
    text-decoration: none;
    color: var(--color-text);
    border-radius: 10px;
    font-weight: 500;
}
.lang-dropdown a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
}
.lang-dropdown img { width: 20px; }

/* ==================
   Hero Section
   ================== */
.hero-section {
    height: 95vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

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

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 24px;
    max-width: 800px; /* Fokusierterer Inhalt */
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    font-weight: 900;
    text-shadow: 0 5px 25px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    max-width: 700px;
    margin: 1.5rem auto 2.5rem auto;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
    font-weight: 400;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: var(--color-secondary);
    color: #fff;
    padding: 1.1rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.cta-button:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.25);
}

.trust-bar {
    background-color: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 0.85rem 1rem;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}

/* ==================
   Generelle Sektion
   ================== */
.section {
    padding: 5rem 0;
}
.section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    text-align: center;
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 3.5rem;
    color: #333;
}
#status {
    background-color: var(--color-light-gray);
}

/* ==================
   Status & Countdown
   ================== */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.status-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid #eef;
}
.status-card h3 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 2rem;
    font-size: 1.6rem;
}
.progress-bar {
    position: relative;
    background: #e9ecef;
    border-radius: 50px;
    height: 2.8rem;
    overflow: hidden;
}
.progress-bar-fill {
    background: linear-gradient(90deg, var(--color-secondary), var(--color-primary));
    height: 100%;
    border-radius: 50px;
    transition: width 1.5s ease-out;
}
.progress-bar-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
    font-size: 1.2rem;
}
.amount-display {
    display: flex;
    justify-content: space-between;
    margin-top: 1.25rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark-gray);
}
.countdown {
    display: flex;
    justify-content: space-around;
}
.countdown-item {
    text-align: center;
}
.countdown-item span {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1.1;
}
.countdown-item p {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
    color: var(--color-dark-gray);
    text-transform: uppercase;
    font-weight: 700;
}

/* ==================
   Story & SMA Sektion
   ================== */
.story-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}
.story-text-content {
    text-align: left;
    font-size: 1.1rem;
}
.story-text-content h3 {
    margin-top: 0;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}
.video-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background-size: cover;
    background-position: center;
    aspect-ratio: 9 / 16;
    transition: transform 0.4s ease;
}
.video-thumbnail:hover {
    transform: scale(1.03);
}
.video-thumbnail::after {
    content: '\f144';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5.5rem;
    color: white;
    text-shadow: 0 0 30px rgba(0,0,0,0.7);
    transition: transform 0.3s ease, color 0.3s ease;
}
.video-thumbnail:hover::after {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--color-secondary);
}

.sma-info-section {
    max-width: 850px;
    margin: 0 auto;
}
.sma-info-content {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: left;
}
.sma-info-content strong {
    color: var(--color-primary);
    font-weight: 700;
}

/* ==================
   NEUE Spenden Sektion
   ================== */
.donation-professional-grid {
    display: grid;
    /* Optimiertes Grid: 280px Mindestbreite, passt sich an */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1100px;
    margin: 2.5rem auto 3.5rem auto;
}

.donation-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: var(--radius);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
}
.donation-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}
.donation-card.is-disabled {
    cursor: not-allowed;
    background-color: #f9f9f9;
    opacity: 0.7;
}
.donation-card.is-disabled:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.donation-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Stellt sicher, dass der Inhalt wächst */
}
.donation-card-content-single {
    padding: 1rem;
    display: grid;
    place-content: center;
    text-align:center;
    flex-grow: 1;
    min-height: 120px; /* Mindesthöhe */
}
.donation-card-content-single.has-logo-and-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.donation-card-content-single h3 {
    margin: 0;
    font-size: 1.15rem;
}
.payment-logo {
    max-height: 35px; /* Etwas kleiner für clean look */
    max-width: 100px;
    object-fit: contain;
    margin-right: 8px; /* Logos im Header */
}
.payment-logo-full {
    width: 100%;
    max-width: 220px;
    object-fit: contain;
    margin: auto;
    padding: 1rem 0; /* Platz für Logos */
}

.donation-card-header {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}
.donation-card-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    flex-grow: 1; /* Beschreibung füllt Platz */
}
.donation-card-button {
    display: block;
    width: 100%;
    background: var(--color-secondary);
    color: #fff !important; /* Wichtig für <a> Tags */
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    margin-top: auto;
    transition: background-color 0.3s ease;
}
.donation-card-button:hover {
    background: #d35400; /* Dunklerer Hover */
}

/* PayTR Karte (Angepasst) */
.paytr-card {
    grid-column: 1 / -1; /* Volle Breite */
    flex-direction: row;
    align-items: stretch;
}
.paytr-card .donation-card-content {
    flex-basis: 60%;
}
.donation-card-video {
    flex-basis: 40%;
    overflow: hidden;
    background: #000;
    position: relative;
    cursor: pointer;
}
.donation-card-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* PayPal Karte (Span 2) */
.paypal-card {
    grid-column: span 2;
    padding: 1.5rem;
    display:grid;
    place-content: center;
}

/* Währungs-Karten (Angepasst) */
.currency-card {
    padding: 0;
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
}
.currency-symbol-area {
    display: grid;
    place-items: center;
    padding: 1.5rem;
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    min-width: 100px; /* Feste Breite */
}
.currency-text-area {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.currency-text-area h4 {
    margin: 0 0 0.25rem 0;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-text);
}
.currency-text-area span {
    font-size: 0.95rem;
    color: var(--color-dark-gray);
}
.try-bg { background-color: var(--color-try); }
.eur-bg { background-color: var(--color-eur); }
.usd-bg { background-color: var(--color-usd); }

/* ==================
   YENİ: Interaktive Karten (Tosla etc.)
   ================== */
.interactive-card {
    position: relative;
    min-height: 150px; /* Feste Höhe für Animation */
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.card-front {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.card-content-hidden {
    display: none; /* Standardmäßig versteckt */
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
/* Aktiv-Status */
.interactive-card.is-active .card-front {
    opacity: 0;
    transform: scale(0.9);
    display: none; /* Verstecken */
}
.interactive-card.is-active .card-content-hidden {
    display: flex; /* Anzeigen */
    opacity: 1;
    transform: translateY(0);
}
/* Sekundärer Button (Video) */
.donation-card-button-secondary {
    display: block;
    width: 100%;
    background: var(--color-light-gray);
    color: var(--color-text);
    text-align: center;
    padding: 0.9rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.donation-card-button-secondary:hover {
    background: #e9ecef;
}

/* ==================
   YENİ: Stripe Grid
   ================== */
.stripe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    max-width: 1100px;
    margin: 0 auto 3.5rem auto; /* Unter .donation-grid */
    padding: 2.5rem;
    background: var(--color-light-gray);
    border-radius: var(--radius);
}
.stripe-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 1.1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s ease;
}
.stripe-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.07);
    border-color: var(--color-secondary);
    color: var(--color-secondary);
}
.stripe-card i {
    font-size: 1.2rem;
}

/* ==================
   IBAN & Transparenz
   ================== */
.iban-container {
    max-width: 750px;
    margin: 3rem auto 0 auto;
    background: var(--color-light-gray);
    padding: 2.5rem;
    border-radius: var(--radius);
    display: none;
    border: 1px solid #e9ecef;
}
.iban-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    background-color: #e0e0e0;
    border-radius: 50px;
    padding: 6px;
}
.iban-tab-button {
    flex: 1;
    padding: 12px 18px;
    border: none;
    background-color: transparent;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    color: var(--color-dark-gray);
}
.iban-tab-button.active {
    background-color: #fff;
    color: var(--color-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.iban-details { display: none; }
.iban-details.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.iban-details h4 {
    font-family: var(--font-heading);
    margin: 0 0 1.5rem 0;
    text-align: center;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.copy-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    margin-bottom: 0.85rem;
    border: 1px solid #ddd;
    font-size: 1.05rem;
    font-weight: 500;
}
.copy-item.address-item { align-items: flex-start; }
.address-block {
    margin: 0.25rem 0 0 0;
    line-height: 1.6;
    font-size: 0.95rem;
}
.copy-button {
    background: #e9ecef;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.copy-button:hover {
    background: #dde2e6;
}

.transparency-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
.document-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    padding: 1.25rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.document-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    color: var(--color-primary);
}
.document-link i {
    font-size: 2rem;
    color: var(--color-primary);
    width: 40px;
    text-align: center;
}

/* ==================
   Footer & Modals
   ================== */
.footer {
    background: #2c3e50; /* Dunklerer Footer */
    color: #bdc3c7;
    padding: 4rem 0;
    text-align: center;
}
.footer h4 {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-top: 0;
}
.social-links a {
    color: #fff;
    margin: 0 1.2rem;
    font-size: 1.8rem;
    transition: color 0.3s ease;
}
.social-links a:hover {
    color: var(--color-secondary);
}
.legal-links {
    margin: 2.5rem 0 1.5rem 0;
}
.legal-links a {
    color: #bdc3c7;
    text-decoration: underline;
    margin: 0 12px;
    font-size: 0.9rem;
}

.copy-feedback {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #2c3e50;
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s ease;
    font-weight: bold;
    pointer-events: none;
}
.copy-feedback.show {
    opacity: 1;
    top: 40px;
}

.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.video-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
}
/* Stellt sicher, dass das Video-Container-Div die Größe anpasst */
#video-modal-player-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
}
#video-modal-player-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.video-modal-close {
    position: absolute;
    top: -40px;
    right: -10px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    font-weight: 300;
}

/* ==================
   Responsive
   ================== */
@media (min-width: 992px) {
    .transparency-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 90vh;
        padding: 5rem 0;
    }
    .story-layout {
        grid-template-columns: 1fr;
    }
    .video-thumbnail {
        aspect-ratio: 16 / 9; /* Breiteres Video für mobil */
    }
    .paytr-card {
        flex-direction: column;
    }
    .paytr-card .donation-card-content,
    .paytr-card .donation-card-video {
        flex-basis: auto;
        width: 100%;
    }
    .donation-card-video video {
        max-height: 250px;
    }
    .paypal-card {
        grid-column: span 1;
    }
    .stripe-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1.5rem;
    }
}

@media (max-width: 600px) {
    html {
        font-size: 15px;
    }
    .navbar .container {
        flex-direction: column;
        gap: 1.25rem;
    }
    .donation-professional-grid,
    .stripe-grid {
        grid-template-columns: 1fr;
    }
    .paytr-card, .paypal-card, .donation-card.is-disabled {
        grid-column: 1 / -1;
    }
    .status-grid {
        grid-template-columns: 1fr;
    }
    .section {
        padding: 3.5rem 0;
    }
    #video-modal-player-container {
        padding-top: 0; /* Aspect Ratio entfernen */
        height: auto; /* Höhe anpassen */
    }
    #video-modal-player-container video {
        position: static; /* Statisch positionieren */
        max-height: 80vh; /* Maximale Höhe */
    }
    .video-modal-close {
        top: 10px;
        right: 10px;
        background: rgba(0,0,0,0.5);
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: grid;
        place-items: center;
        font-size: 1.8rem;
        line-height: 1;
    }
}

/* Kredi Kartı Videosu Oynatıcı Stilleri */
.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    transition: all 0.3s ease;
    z-index: 10;
}
#paytr-video-container:hover .play-button-overlay {
    background-color: rgba(220, 53, 69, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}
.play-button-overlay.hidden {
    display: none;
    opacity: 0;
}