.projects-header {
    text-align: center;
    padding: 60px 20px 30px;
    background: #1a1a2e;
}

.projects-header h1 {
    font-size: 2.5rem;
}

.projects-header p {
    color: #aaa;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Filterleiste */
.filter-bar {
    text-align: center;
    padding: 20px 10px;
    background: #141425;
}

.filter-btn {
    background: #2a2a40;
    color: #ccc;
    border: none;
    padding: 10px 18px;
    margin: 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: #4c4cff;
    color: white;
}

/* Projektübersicht */
.project-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 40px 20px;
}


.project-card {
    width: 100%;
    max-width: 400px;
    background: #1f1f3d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 400px; /* Fixe Gesamthöhe */
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card img {
    width: 100%;
    height: 270px;
    object-fit: cover;
    flex-shrink: 0;
}

.project-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #1f1f3d;
}

.short-name {
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 5px;
}

.full-name {
    font-size: 1.1rem;
    margin-bottom: 10px;
    flex-grow: 1;
    color: #fff;
}

.type-tag {
    align-self: flex-start;
    font-size: 0.75rem;
    padding: 4px 10px;
    background: #333;
    border-radius: 20px;
    color: #aaa;
}