/* Anleitungen Seite spezifische Styles */

/* Suchfunktion und Filter */
.search-filter-section {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #dee2e6;
}

.search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.search-bar input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #dee2e6;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.25);
}

.search-btn {
    padding: 12px 20px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: #0056b3;
}

.category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.category-btn {
    padding: 8px 16px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn:hover {
    background: #e9ecef;
    border-color: #007bff;
}

.category-btn.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.search-results {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.empty-anleitungen {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-anleitungen h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.anleitungen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.anleitung-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 25px;
}

.anleitung-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.anleitung-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.anleitung-header h3 {
    margin: 0;
    color: #212529;
    font-size: 1.3em;
    flex: 1;
    margin-right: 15px;
}

.anleitung-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.anleitung-link:hover {
    color: #007bff;
}

.anleitung-description {
    color: #6c757d;
    margin-bottom: 20px;
    line-height: 1.5;
}

.anleitung-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.9em;
}

.category-tag {
    background: #007bff;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.date {
    color: #6c757d;
}

.read-more-btn {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.read-more-btn:hover {
    color: #0056b3;
    transform: translateX(2px);
}

.read-more-btn i {
    transition: transform 0.3s ease;
}

.read-more-btn:hover i {
    transform: translateX(2px);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.no-results h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
}

.hidden {
    display: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .anleitungen-grid {
        grid-template-columns: 1fr;
    }
    
    .anleitung-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .anleitung-header h3 {
        margin-right: 0;
    }
    
    .search-bar {
        flex-direction: column;
    }
    
    .category-filters {
        justify-content: center;
    }
    
    .anleitung-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}