.handwerker-search-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.handwerker-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.search-field select,
.search-field input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.search-button {
    grid-column: 1 / -1;
    padding: 12px 24px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.search-button:hover {
    background: #005177;
}

.search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.handwerker-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease;
}

.handwerker-card:hover {
    transform: translateY(-5px);
}

.handwerker-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.handwerker-card .firmenname {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.handwerker-card .adresse {
    color: #666;
    margin-bottom: 10px;
}

.handwerker-card .kontakt {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.handwerker-card .distance {
    display: inline-block;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    margin-top: 10px;
}

.ui-autocomplete {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ui-autocomplete li {
    padding: 8px 12px;
    cursor: pointer;
}

.ui-autocomplete li:hover {
    background: #f5f5f5;
}

@media (max-width: 768px) {
    .handwerker-search-form {
        grid-template-columns: 1fr;
    }
    
    .search-results {
        grid-template-columns: 1fr;
    }
} 