.profiradar-craftsmen-search {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: var(--space-lg) var(--space-md);
}
.search-form-container {
background: #ffffff;
border-radius: var(--radius-md);
padding: var(--space-2xl);
box-shadow: var(--shadow-sm);
border: var(--border-width) solid var(--border-color-light);
}
.search-form-title {
font-size: var(--font-size-2xl);
font-weight: var(--font-weight-bold);
margin: 0 0 var(--space-xs) 0;
color: var(--gray-900);
text-align: center;
}
.search-form-subtitle {
font-size: var(--font-size-base);
color: var(--gray-600);
margin: 0 0 var(--space-lg) 0;
text-align: center;
}
.craftsmen-search-form {
display: flex;
flex-direction: column;
gap: var(--space-lg);
} .search-field-label {
display: flex;
align-items: center;
gap: var(--space-xs);
font-size: var(--font-size-sm);
font-weight: var(--font-weight-semibold);
color: var(--gray-700);
margin-bottom: var(--space-sm);
letter-spacing: var(--letter-spacing-wide);
}
.search-field-label .mi {
font-size: 20px;
color: var(--accent);
} .gewerk-selection {
margin-bottom: 10px;
}
.gewerk-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 5px;
}
.gewerk-checkbox-item {
position: relative;
display: flex;
align-items: center;
justify-content: center;
padding: var(--space-sm);
background: var(--gray-50);
border: 2px solid var(--border-color-light);
border-radius: var(--radius-md);
cursor: pointer;
transition: var(--transition-fast);
min-height: 80px;
}
.gewerk-checkbox-item:hover {
border-color: var(--accent);
background: var(--gray-100);
} .gewerk-checkbox-item.disabled {
opacity: 0.5;
pointer-events: none;
cursor: not-allowed;
}
.gewerk-checkbox-item.disabled:hover {
border-color: var(--border-color-light);
background: var(--gray-50);
}
.gewerk-checkbox {
position: absolute;
opacity: 0;
pointer-events: none;
display: none;
}
.gewerk-item-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
text-align: center;
}
.gewerk-item-content .mi,
.gewerk-item-content .gewerk-icon-image {
font-size: 32px;
color: #7f8c8d;
transition: color 0.3s ease;
}
.gewerk-icon-image {
width: 32px;
height: 32px;
object-fit: contain;
}
.gewerk-name {
font-size: 16px;
font-weight: 600;
color: #2c3e50;
line-height: 1.3;
}
.checkmark {
position: absolute;
top: 8px;
right: 8px;
width: 24px;
height: 24px;
background: #ffffff;
border: 2px solid #dee2e6;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transform: scale(0.8);
transition: all 0.3s ease;
}
.checkmark .mi {
font-size: 16px;
color: #ffffff;
} .gewerk-checkbox:checked + .gewerk-item-content + .checkmark {
opacity: 1;
transform: scale(1);
background: #27ae60;
border-color: #27ae60;
}
.gewerk-checkbox:checked ~ .checkmark {
opacity: 1;
transform: scale(1);
background: #27ae60;
border-color: #27ae60;
} .gewerk-checkbox-item:has(.gewerk-checkbox:checked) {
border-width: 3px;
}
.gewerk-checkbox:checked + .gewerk-item-content .mi,
.gewerk-checkbox:checked + .gewerk-item-content .gewerk-icon-image {
transform: scale(1.1);
} .gewerk-checkbox-item.has-bg-image {
background-size: cover;
background-position: center;
background-repeat: no-repeat;
position: relative;
overflow: hidden;
}
.gewerk-checkbox-item.has-bg-image::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6));
transition: background 0.3s ease;
z-index: 1;
}
.gewerk-checkbox-item.has-bg-image:hover::before {
background: rgba(233, 105, 9, 0.8);
}
.gewerk-checkbox-item.has-bg-image .gewerk-item-content {
position: relative;
z-index: 2;
}
.gewerk-checkbox-item.has-bg-image .gewerk-name {
color: #ffffff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.gewerk-checkbox-item.has-bg-image .gewerk-item-content .mi,
.gewerk-checkbox-item.has-bg-image .gewerk-item-content .gewerk-icon-image {
color: #ffffff;
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.gewerk-checkbox-item.has-bg-image .checkmark {
z-index: 2;
} .gewerk-checkbox-item.has-bg-image:has(.gewerk-checkbox:checked)::before {
background: linear-gradient(to bottom, rgba(52, 152, 219, 0.6), rgba(52, 152, 219, 0.8));
} .text-search-field .search-input {
width: 100%;
padding: 14px 18px;
font-size: 16px;
border: 2px solid #e9ecef;
border-radius: 8px;
transition: all 0.3s ease;
background: #ffffff;
}
.text-search-field .search-input:focus {
outline: none;
border-color: var(--accent);
box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
} .location-radius-wrapper {
display: flex;
gap: 20px;
align-items: flex-start;
}
.location-radius-wrapper .plz-search-field {
flex: 1;
min-width: 0;
}
.location-radius-wrapper .radius-field {
flex: 0 0 200px;
min-width: 150px;
} .plz-search-field .search-input {
width: 100%;
padding: 14px 18px;
font-size: 16px;
border: 2px solid #e9ecef;
border-radius: 8px;
transition: all 0.3s ease;
background: #ffffff;
}
.plz-search-field .search-input:focus {
outline: none;
border-color: #9b59b6;
box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.1);
} .radius-field .search-select {
width: 100%;
padding: 11.5px 18px;
color: #34495e;
font-size: 16px;
border: 2px solid #e9ecef;
border-radius: 8px;
transition: all 0.3s ease;
background: #ffffff;
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 18px center;
padding-right: 45px;
}
.radius-field .search-select:focus {
outline: none;
border-color: #e67e22;
box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
} .submit-field {
margin-top: 10px;
}
.search-submit-button {
width: 100%;
padding: var(--space-sm) var(--space-lg);
font-size: var(--font-size-lg);
font-weight: var(--font-weight-semibold);
color: #ffffff;
background: var(--accent);
border: none;
border-radius: var(--radius-md);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-xs);
transition: var(--transition-fast);
box-shadow: var(--shadow-sm);
}
.search-submit-button:hover {
opacity: 0.9;
}
.search-submit-button:active {
opacity: 0.8;
}
.search-submit-button .mi {
font-size: 24px;
} .craftsmen-registration-link {
margin-top: 20px;
text-align: center;
}
.craftsmen-registration-link a {
color: #2c3e50;
font-size: 14px;
font-weight: 500;
text-decoration: none;
display: inline-block;
transition: all 0.3s ease;
position: relative;
}
.craftsmen-registration-link a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 50%;
transform: translateX(-50%);
background: var(--accent);
transition: width 0.3s ease;
}
.craftsmen-registration-link a:hover {
color: var(--accent);
}
.craftsmen-registration-link a:hover::after {
width: 100%;
} @media (max-width: 768px) {
.search-form-container {
padding: 25px 20px;
}
.search-form-title {
font-size: 24px;
}
.search-form-subtitle {
font-size: 14px;
}
.gewerk-grid {
grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
gap: 10px;
}
.gewerk-checkbox-item {
padding: 12px 8px;
min-height: 70px;
}
.gewerk-item-content .mi {
font-size: 28px;
}
.gewerk-name {
font-size: 12px;
} .location-radius-wrapper {
flex-direction: column;
gap: 15px;
}
.location-radius-wrapper .radius-field {
flex: 1;
width: 100%;
}
.search-submit-button {
font-size: 16px;
padding: 14px 20px;
}
}
@media (max-width: 480px) {
.gewerk-grid {
grid-template-columns: repeat(2, 1fr);
}
.profiradar-craftsmen-search {
padding: 20px 10px;
}
.search-form-container {
padding: 20px 15px;
}
}