/* Feature Grid für Funktionskacheln */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-tile {
    padding: 25px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    /* Einheitliche Höhe */
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-tile:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.feature-tile .feature-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    height: 60px; /* Einheitliche Höhe für Icons */
    align-items: center;
}

.feature-tile .feature-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.feature-tile h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark);
    /* Einheitliche Höhe für Titel */
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-tile p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    /* Beschränken wir die Textlänge */
    overflow: hidden;
    /* Einheitliche Höhe für Text */
    height: 60px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
        width: 100%;
        overflow-x: hidden;
    }
    
    .feature-tile {
        min-height: auto;
        max-width: 100%;
    }
    
    .feature-tile h3, 
    .feature-tile p {
        height: auto;
    }
}
