/* Intro-Bereich */
.projects-intro {
    text-align: center;
    
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 90px;
    padding-bottom: 30px;
}

/* Hauptüberschrift */
.projects-intro h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: bold;
    max-width: 900px;
}

/* Einleitender Text */
.projects-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 900px;
    margin: 15px auto;
    line-height: 1.1;
}

.projects-intro-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.intro-card {
    background: #EAEAEA;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
    transition: transform 0.2s ease-in-out;
}

.intro-card:hover {
    transform: scale(1.05);
}

.intro-icon {
    margin-bottom: 12px;
}

.intro-icon img {
    width: 50px;
    height: 50px;

}

.intro-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.intro-card p {
    font-size: 1rem;
    color: #666;
}

/* Erklärung */
.projects-explanation {
    text-align: center;
    padding: 50px 20px;
    background-color: #f8f8f8;
    width: 100%;
    margin-bottom: 30px; /* Abstand zu den Buttons */
}

/* Erklärung - Spiegelstriche */
.projects-explanation ul {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: auto;
}

.projects-explanation ul li {
    font-size: 1.1rem;
    color: #333;
    padding-left: 30px;
    position: relative;
    margin-bottom: 10px;
    text-align: left;
}

.projects-explanation ul li::before {
    content: "✔";
    color: #ff6600;
    font-size: 1.3rem;
    position: absolute;
    left: 0;
    top: 2px;
}

/* Abstand zwischen den Buttons */
.filter-bar, .filter-mode {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Buttons */
.filter-btn, .status-filter-btn, .filter-mode button {
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1rem;
    background-color: #f5f5f5;
    border: none;
    color: #333;
    transition: all 0.3s ease-in-out;
}

/* Aktive Buttons bleiben orange hervorgehoben */
.filter-btn.active, 
.status-filter-btn.active, 
.filter-mode button.active {
    background-color: #ff6600 !important;
    color: white;
}

/* Hover-Effekt */
.filter-btn:hover, 
.status-filter-btn:hover, 
.filter-mode button:hover {
    background-color: #ff6600;
    color: white;
}

/* Projekt-Kacheln */
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
    max-width: 1400px;
    margin: auto;
    padding-bottom: 40px;
}

.project-item {
    flex: 0 0 400px;
    height: 600px;
    padding: 20px;
    background: #EAEAEA;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.project-status-wrapper {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.project-status {
    display: inline-block;
    font-size: 1rem;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    margin-left: 10px;
}

.project-status.abgeschlossen {
    background-color: #ff6600;
}

.project-status.laufend {
    background-color: #ff6600;
}

.project-status.geplant {
    background-color: #ff6600;
}

.project-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: left;
}

.project-item .content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-item ul {
    list-style: none;
    padding-left: 20px;
    text-align: left;
    flex: 0 0 30%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
}

.project-item ul li {
    font-size: 1rem;
    padding-left: 30px;
    position: relative;
    margin-bottom: 5px;
    text-align: left;
    display: flex;
    align-items: flex-start;
}

.project-item ul li::before {
    content: "•";
    color: #ff6600;
    font-size: 1rem;
    position: absolute;
    left: 5px;
    
}

.project-item p {
    flex: 0 0 60%;
    font-size: 1rem;
    color: #666;
    text-align: justify;
    padding-top: 5px;
    overflow: hidden;
    padding-bottom: 5px;
}

/* Buttons bleiben aktiv hervorgehoben */
.filter-btn.active, 
.status-filter-btn.active, 
.filter-mode button.active {
    background-color: #ff6600 !important;
    color: white;
}

@media (max-width: 1300px) {
 
     .about-content {
        flex-direction: column;
        align-items: center;
    }

    .about-text {
        min-width: auto;
        
        text-align: left;
    }

    .about-image img {
        max-width: 80%;
        height: auto;
        display: inline;
    }
}

/* Responsive Design */
@media (max-width: 1100px) {
    .hero-container, .about-container {
        padding: 0 40px;
    }
    .approach-container {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
   
}

@media (max-width: 900px) {
    /* Intro-Bereich zentriert und luftiger */
    .projects-intro {
        padding: 90px 20px 40px;
        text-align: center;
    }

    .projects-intro h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .projects-intro p {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .projects-intro-cards {
        flex-direction: column;
        align-items: center;
    }

    .intro-card {
        width: 90%;
        max-width: 340px;
    }

    /* Filterbereich: Buttons umbrechen */
    .filter-bar,
    .filter-mode {
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
    }

    .filter-bar span,
    .filter-mode span {
        flex: 1 1 100%;
        margin-bottom: 5px;
    }

    /* Projekt-Kacheln untereinander */
    .projects-grid {
        flex-direction: column;
        align-items: center;
        padding: 0 10px 40px;
    }

    .project-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .project-item h3 {
        font-size: 1.2rem;
    }

    .project-item ul li {
        font-size: 0.95rem;
        margin-bottom: 6px;
    }

    .project-item p {
        font-size: 0.95rem;
        line-height: 1.4;
    }
    
    .filter-btn:focus:not(.active),
    .status-filter-btn:focus:not(.active),
    .filter-mode button:focus:not(.active) {
        background-color: #f5f5f5;
        color: #333;
        outline: none;
}
}