/* General Styles */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
}

h1,
h2,
h3 {
    font-family: 'Georgia', serif;
    color: #f5f5f5;
    text-shadow: 2px 2px 4px #000000;
    text-align: center;
}

a {
    color: #c79c6b;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #e0c89d;
}

button,
.cta-button {
    background-color: #c79c6b;
    color: #121212;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover,
.cta-button:hover {
    background-color: #e0c89d;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #1f1f1f;
    border-bottom: 1px solid #c79c6b;
}

.logo {
    margin: 0px auto;
    text-align: center;
    width: 100%;
}

.logo img {
    max-width: 80%;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li {
    font-size: 1rem;
}

/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 70px);
    /* Bildschirmhöhe abzüglich Header-Höhe */
    padding: 20px;
    background-image: url('./images/bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    background-color: rgba(0, 0, 0, 0.7);
    color: #f5f5f5;
    text-align: center;
}

#hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 20px;
}



/* Phases */
.phase {
    display: none;
    /* Show dynamically based on JavaScript */
    padding: 40px 20px;
    text-align: center;
}

.phase h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.phase p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Footer */
footer {
    padding: 20px;
    background-color: #1f1f1f;
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #c79c6b;
    margin-top: 2rem;
}

#legal-info {
    font-size: 0.8rem;
    color: #bbb;
    background-color: #333;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
}




#crowdfunding {
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    background-color: #191b1f;
    padding: 2rem;
    /* Mehr Innenabstand um den Inhalt */
    margin: 0 auto;
    max-width: 800px;
    /* Begrenzung der maximalen Breite */
    text-align: center;
    border-radius: 2rem;
    display: flex;
    /* Flexbox für flexibles Layout */
    justify-content: space-between;
    /* Abstand zwischen den Elementen */
    align-items: stretch;
    /* Elemente auf gleiche Höhe bringen */
    gap: 1.5rem;
    /* Mehr Abstand zwischen den Elementen */
    flex-wrap: wrap;
    /* Elemente umbrechen bei kleinerem Platz */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Dezenter Schatten für visuelle Tiefe */
}

.cf-extwidget {
    flex: 3 1 0%;
    /* Nimmt mehr Platz ein als das Bild */
    max-width: 100%;
    /* Passt sich flexibel an */
    min-width: 0;
    /* Verhindert Layout-Probleme */
    width: auto;
    /* Automatische Breite */
    padding: 1rem;
    /* Innenabstand innerhalb des Widgets */
    background: rgba(0, 0, 0, 0.1);
    /* Leichte Hintergrundfarbe für Abgrenzung */
    border-radius: 1rem;
    /* Sanfte Abrundung */
    display: flex;
    /* Flexbox für zentrierten Inhalt */
    justify-content: center;
    /* Inhalt horizontal zentrieren */
    align-items: center;
    /* Inhalt vertikal zentrieren */
}

.rondell-image {
    flex: 1 1 0%;
    /* Nimmt weniger Platz ein als das Widget */
    max-width: 100%;
    /* Bild passt sich an */
    height: auto;
    /* Verhältnis beibehalten */
    object-fit: contain;
    /* Sorgt für gutes Layout des Bildes */
    border-radius: 1rem;
    /* Sanfte Abrundung */
    padding: 0.5rem;
    /* Innenabstand für das Bild */
    background: rgba(0, 0, 0, 0.1);
    /* Leichte Hintergrundfarbe für Abgrenzung */
}

.cf-extwidget .project-box--bordered::after {
    background: #daeae3 !important;
}

.progress-wrapper {
    max-width: 600px !important;
}

#hero {
    border-bottom: 1px dotted #746049;
}

main,
header,
footer {
    background: url(./images/bg-dark.png) !important;
    background-size: 100% auto !important;
    background-position: center !important;

}

/* Mobile Anpassungen */
@media (max-width: 800px) {
    main {
        background: url(./images/bg-dark.png) !important;
        background-size: auto 100% !important;
        background-position: center !important;

    }
}

/* Mobile Anpassungen */
@media (max-width: 600px) {

    #crowdfunding {
        flex-direction: column;
        /* Elemente untereinander */
        align-items: center;
        /* Zentrierung */
        padding: 1rem;
        /* Weniger Innenabstand auf kleinen Geräten */
    }

    .cf-extwidget,
    .rondell-image {
        flex: 1 1 auto;
        /* Gleicher Platz für beide Elemente */
    }
}







/* Responsive Styles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    #hero h1 {
        font-size: 2rem;
    }

    #timeline {
        padding: 20px 10px;
    }

    .milestone-labels {
        flex-direction: column;
        gap: 20px;
    }

    .phase h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .cta-button {
        font-size: 0.9rem;
        padding: 8px 15px;
    }

    #hero h1 {
        font-size: 1.5rem;
    }

    #hero p {
        font-size: 1rem;
    }

    .phase p {
        font-size: 0.9rem;
    }
}