.is-hidden,
[hidden] {
    display: none !important;
}

.kwb-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kwb-companies-wrap {
    max-width: 1100px;
    margin: 0 auto;
    font-family: 'Public Sans', sans-serif;
}

.kwb-companies-filter {
    margin-bottom: 20px;
}

.kwb-companies-filter .ts-wrapper {
    width: 100%;
}

.kwb-companies-filter .ts-control {
    background: #f1eeee;
    border: 1px solid #cccccc;
    border-radius: 5px;
    padding: 20px;
    font-family: 'Public Sans', sans-serif;
    font-size: 17px;
    color: #1a1a1a;
    min-height: auto;
}

.kwb-companies-filter .ts-wrapper.focus .ts-control {
    background: #f1eeee;
    border-color: #1a1a1a;
    box-shadow: 0 0 0 1px #1a1a1a;
}

.kwb-companies-filter .ts-control > input {
    font-family: 'Public Sans', sans-serif;
    font-size: 17px;
    color: #1a1a1a;
}

.kwb-companies-filter .ts-control > input::placeholder {
    color: #6b6b6b;
}

.kwb-companies-filter .ts-dropdown {
    font-family: 'Public Sans', sans-serif;
    font-size: 15px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
    margin-top: 4px;
}

.kwb-companies-filter .ts-dropdown .ts-dropdown-content {
    max-height: 300px;
    padding: 5px 0;
}

.kwb-companies-filter .ts-dropdown .option {
    padding: 10px 20px;
    color: #1a1a1a;
    transition: background 0.15s ease, color 0.15s ease;
}

.kwb-companies-filter .ts-dropdown .option.active {
    background: #f1eeee;
    color: #1a1a1a;
}

.kwb-companies-filter .ts-dropdown .option:hover {
    background: #e20a17;
    color: #ffffff;
}

.kwb-companies-filter .ts-dropdown .option.selected {
    background: #e20a17;
    color: #ffffff;
}

.kwb-companies-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 20px;
    background: #f1eeee;
    border-radius: 5px;
}

@media (max-width: 900px) {
    .kwb-companies-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .kwb-companies-list {
        grid-template-columns: 1fr;
    }
}

.kwb-company-card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    background: #ffffff;
    border: none;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
}

.kwb-company-name {
    font-family: 'Public Sans', sans-serif;
    font-weight: 800;
    font-size: 20px;
    line-height: 28px;
    color: #e20a17;
    margin: 0;
}

.kwb-company-bereich {
    font-family: 'Public Sans', sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 27px;
    color: #1a1a1a;
    margin: 5px 0 10px;
}

.kwb-company-phone,
.kwb-company-email {
    display: flex;
    align-items: center;
    gap: 5px;
    font-family: 'Public Sans', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.kwb-company-email {
    margin-bottom: 5px;
}

.kwb-company-phone:hover,
.kwb-company-email:hover,
.kwb-company-phone:focus,
.kwb-company-email:focus {
    color: #9b1918;
    text-decoration: underline;
}

.kwb-company-phone:focus:not(:focus-visible),
.kwb-company-email:focus:not(:focus-visible) {
    outline: none;
}

.kwb-company-phone:focus-visible,
.kwb-company-email:focus-visible {
    outline: 3px solid #005fcc;
    outline-offset: 2px;
    border-radius: 2px;
}

.kwb-company-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 100%;
    background-color: #de2b25;
    color: #fff;
}

.kwb-company-icon svg {
    display: block;
    width: 10px;
    height: 10px;
}

.kwb-companies-empty {
    margin: 20px 0;
    padding: 20px;
    font-family: 'Public Sans', sans-serif;
    font-size: 17px;
    color: #1a1a1a;
    background: #f1eeee;
    border-radius: 5px;
    text-align: center;
}