/* --- APPS GRID LAYOUT --- */

.app-section {
    min-height: 80vh; /* Verhindert schwarzen Raum unten */
    padding-bottom: 60px;
}

.app-grid {
    display: grid;
    /* Erzeugt 3 Spalten auf Desktop, wenn Platz da ist */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px;
    margin-top: 40px;
}

/* Die einzelne App-Karte */
/* Die einzelne App-Karte - angepasst an Webauftritte-Stil */
.app-item {
    background-color: #1a1a1a; /* Gleiches Dunkelgrau wie bei Webauftritten */
    border: 1px solid #333;    /* Dezenter Rahmen */
    padding: 25px;             /* Genug Abstand zum Inhalt */
    border-radius: 10px;       /* Gleiche Abrundung wie bei Webauftritten */
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    margin-bottom: 20px;       /* Abstand nach unten im Mobile-Stacking */
}

.app-item:hover {
    border-color: #D40000;     /* Roter Ninja-Rahmen beim Hover */
    transform: translateY(-5px);
}

.app-icon-container {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.app-dummy-icon {
    width: 80px;
    height: 80px;
    background: #222;
    border: 1px solid #D40000;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D40000;
    font-size: 1.5rem;
    font-weight: bold;
}

.app-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Sorgt dafür, dass der Button unten bleibt */
    text-align: center;
}

.app-details h2 {
    color: #ffffff;
    margin: 10px 0;
    font-size: 1.5rem;
}

.tagline {
    color: #D40000;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.app-details p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 20px;
}

/* Der Button unten in der Karte */
.view-project-button {
    margin-top: auto;
    background-color: transparent;
    border: 1px solid #D40000;
    color: #ffffff;
    padding: 10px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.view-project-button:hover {
    background-color: #D40000;
}

/* Zentrierung für den "Zurück" Button unten */
.button-container {
    margin-top: 60px; /* Hier schaffst du den Raum zum Atmen */
    margin-bottom: 40px;
    display: flex;
    justify-content: center; /* Zentriert den Button bei Bedarf */
    padding-top: 20px;
    border-top: 1px solid #333; /* Trennlinie zur optischen Abgrenzung */
}