:root {
    --primary-color: #3498db;
    /* Ein hoffnungsvolles Blau */
    --secondary-color: #f1c40f;
    /* Ein warmes Gelb/Gold */
    --background-color: #f9f9f9;
    --text-color: #333;
    --light-text-color: #fdfdfd;
    --card-bg-color: #ffffff;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
}

/* Basis-Reset und globale Stile */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Container für zentrierten Inhalt */
.container {
    max-width: calc(100% - 60px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header und Navigation */
.main-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
    z-index: 10;
    cursor: pointer;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    transition: color 0.3s ease;
    height: 100%;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Burger Menü Stile */
.burger-menu {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

/* Hero-Sektion mit Bilder-Karussell */
.hero {
    width: 100%;
    height: calc(100vh - 70px);
    margin-top: 70px;
    position: relative;
}

.swiper-container {
    width: 100%;
    height: 100%;
}

/* Swiper Navigationspfeile ausblenden, da sie nicht benötigt werden */
.swiper-button-next,
.swiper-button-prev {
    display: none;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    background-size: cover;
    background-position: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--light-text-color);
}

.hero-overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.hero-overlay p {
    font-size: 1.2rem;
    font-weight: 300;
}

/* Allgemeine Sektionsstile */
.section {
    padding: 90px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Story-Sektion */
.story-content {
    display: flex;
    gap: 40px;
}

.story-text {
    flex: 2;
}

.story-text p {
    margin-bottom: 1.2rem;
}

.story-image {
    flex: 1;
    text-align: center;
}

.story-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.highlight {
    background-color: #eaf5ff;
    padding: 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 8px;
    margin: 2rem 0;
    font-style: italic;
}

/* Spenden-Sektion */
#spenden {
    background-color: var(--card-bg-color);
}

.donation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(335px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.donation-card {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.donation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.donation-card .icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.donation-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.donation-card p {
    margin-bottom: 20px;
    flex-grow: 1;
}

.bank-details {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}


.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 600;
    color: var(--text-color);
    word-break: break-all;
    padding-left: 10px;
}

.copy-btn {
    margin-top: auto; /* Button nach unten schieben */
    background-color: #eaf5ff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.copy-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}

.copy-btn .fa-check {
    color: #2ecc71;
}


.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: #d4ac0d;
}

/* NEUE STILE FÜR SHARE-BUTTONS */
.share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Schiebt die Buttons nach unten */
}

.btn-icon {
    background-color: #f3f4f6;
    color: #6b7280;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--secondary-color);
    color: var(--light-text-color);
    transform: scale(1.1);
}

.btn-icon .fa-check {
    color: #2ecc71;
}



/* Bildergalerie-Stile */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
}

.gallery-item p {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox-Stile */
.lightbox {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    display: block;
    max-width: 90%;
    max-height: 90vh;
    -webkit-animation-name: zoom;
    animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.lightbox-caption {
    text-align: center;
    color: #ccc;
    padding: 15px 20px;
    width: 100%;
    max-width: 700px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
    line-height: 1.5;
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
    -webkit-animation-duration: 0.6s;
    animation-duration: 0.6s;
}

.lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #bbb;
    text-decoration: none;
}

.lightbox-prev,
.lightbox-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -50px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
    border-radius: 3px 0 0 3px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Animationen für Lightbox */
@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

#dank {
    background-color: var(--card-bg-color);
}

/* Dankbarkeits-Sektion */
.gratitude-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.gratitude-content .heart-icon {
    font-size: 3rem;
    color: #e74c3c;
    margin-bottom: 20px;
}

/* Footer */
.main-footer {
    background-color: #2c3e50;
    color: var(--light-text-color);
    padding: 40px 0;
    text-align: center;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--light-text-color);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Scroll-Animationen */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transform: translateX(100%);
        transition: transform 0.5s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--primary-color);
    }

    .hero-overlay h1 {
        font-size: 2rem;
    }

    .hero-overlay p {
        font-size: 1rem;
    }

    .story-content {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .lightbox-content {
        width: 95%;
    }
}