.vgl-hersteller-page {
    padding: var(--vgl-space-6) 0 var(--vgl-space-10);
}

.vgl-hersteller-page__hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 360px);
    gap: var(--vgl-space-6);
    align-items: end;
    margin-bottom: var(--vgl-space-5);
    padding: var(--vgl-space-6);
    border-radius: var(--vgl-radius-lg);
    background: linear-gradient(135deg, var(--vgl-color-primary-soft), var(--vgl-color-bg-alt));
}

.vgl-hersteller-page__title {
    margin: 0 0 var(--vgl-space-2);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
    color: var(--vgl-color-text);
}

.vgl-hersteller-page__lead {
    margin: 0;
    max-width: 42rem;
    color: var(--vgl-color-text-muted);
    line-height: 1.55;
}

.vgl-hersteller-page__search-wrap {
    display: flex;
    flex-direction: column;
    gap: var(--vgl-space-2);
    justify-self: end;
    width: 100%;
}

.vgl-hersteller-page__search-input {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.vgl-hersteller-page__search-icon {
    position: absolute;
    left: var(--vgl-space-3);
    font-size: var(--vgl-font-size-lg);
    pointer-events: none;
}

.vgl-hersteller-page__search {
    width: 100%;
    border: 1px solid var(--vgl-color-border);
    border-radius: var(--vgl-radius);
    padding: var(--vgl-space-3) var(--vgl-space-4) var(--vgl-space-3) calc(var(--vgl-space-8) + var(--vgl-space-1));
    font: inherit;
    font-size: var(--vgl-font-size-lg);
    background: var(--vgl-color-surface);
    color: var(--vgl-color-text);
    box-shadow: var(--vgl-shadow-sm);
}

.vgl-hersteller-page__search:focus {
    outline: 2px solid var(--vgl-color-primary-soft);
    border-color: var(--vgl-color-primary);
}

.vgl-hersteller-page__status {
    min-height: 1.25rem;
    margin: 0;
    font-size: var(--vgl-font-size-sm);
    color: var(--vgl-color-text-muted);
}

.vgl-hersteller-page__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--vgl-space-3);
    margin-bottom: var(--vgl-space-6);
    padding: var(--vgl-space-3) var(--vgl-space-4);
    border: 1px solid var(--vgl-color-border);
    border-radius: var(--vgl-radius);
    background: var(--vgl-color-surface);
}

.vgl-hersteller-page__filters-label,
.vgl-hersteller-page__canton-label {
    font-size: var(--vgl-font-size-sm);
    font-weight: 600;
    color: var(--vgl-color-text-muted);
    white-space: nowrap;
}

.vgl-hersteller-page__chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vgl-space-2);
    flex: 1 1 auto;
}

.vgl-hersteller-page__chip {
    display: inline-flex;
    align-items: center;
    gap: var(--vgl-space-1);
    padding: var(--vgl-space-1) var(--vgl-space-3);
    border: 1px solid var(--vgl-color-border);
    border-radius: 999px;
    background: var(--vgl-color-bg);
    color: var(--vgl-color-text);
    font-size: var(--vgl-font-size-sm);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.vgl-hersteller-page__chip:hover {
    border-color: var(--vgl-color-primary);
}

.vgl-hersteller-page__chip.is-active {
    background: var(--vgl-color-primary);
    border-color: var(--vgl-color-primary);
    color: var(--vgl-color-text-inverse);
}

.vgl-hersteller-page__chip-icon {
    font-size: var(--vgl-font-size-base);
}

.vgl-hersteller-page__canton-select {
    padding: var(--vgl-space-1) var(--vgl-space-2);
    border: 1px solid var(--vgl-color-border);
    border-radius: var(--vgl-radius-sm);
    background: var(--vgl-color-bg);
    color: var(--vgl-color-text);
    font: inherit;
    font-size: var(--vgl-font-size-sm);
}

.vgl-hersteller-page__alpha {
    display: flex;
    flex-wrap: wrap;
    gap: var(--vgl-space-1);
    margin-bottom: var(--vgl-space-6);
    padding: var(--vgl-space-3);
    border: 1px solid var(--vgl-color-border);
    border-radius: var(--vgl-radius);
    background: var(--vgl-color-surface);
}

.vgl-hersteller-page__alpha-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0 var(--vgl-space-2);
    border-radius: var(--vgl-radius-sm);
    color: var(--vgl-color-text);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--vgl-font-size-sm);
}

.vgl-hersteller-page__alpha-link:hover,
.vgl-hersteller-page__alpha-link:focus-visible {
    color: var(--vgl-color-primary);
    background: var(--vgl-color-primary-soft);
}

.vgl-hersteller-page__alpha-link.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.vgl-hersteller-page__sections {
    display: flex;
    flex-direction: column;
    gap: var(--vgl-space-8);
}

.vgl-hersteller-page__section-title {
    margin: 0 0 var(--vgl-space-4);
    padding-bottom: var(--vgl-space-2);
    border-bottom: 1px solid var(--vgl-color-border);
    font-size: var(--vgl-font-size-xl);
    color: var(--vgl-color-text);
}

.vgl-hersteller-page__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--vgl-space-3);
}

.vgl-hersteller-page__card.is-filtered-out,
.vgl-hersteller-page__section.is-filtered-out {
    display: none !important;
}

.vgl-hersteller-page__card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--vgl-space-1);
    padding: var(--vgl-space-4);
    border: 1px solid var(--vgl-color-border);
    border-radius: var(--vgl-radius);
    background: var(--vgl-color-surface);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.vgl-hersteller-page__card:hover,
.vgl-hersteller-page__card:focus-visible {
    border-color: var(--vgl-color-primary);
    box-shadow: var(--vgl-shadow);
    transform: translateY(-2px);
}

.vgl-hersteller-page__badge {
    align-self: flex-start;
    padding: 0.1rem var(--vgl-space-2);
    border-radius: var(--vgl-radius-sm);
    background: var(--vgl-color-accent-soft);
    color: var(--vgl-color-accent);
    font-size: var(--vgl-font-size-xs);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.vgl-hersteller-page__name {
    font-size: var(--vgl-font-size-base);
    font-weight: 600;
    line-height: 1.3;
    color: var(--vgl-color-text);
}

.vgl-hersteller-page__city {
    font-size: var(--vgl-font-size-sm);
    color: var(--vgl-color-text-muted);
}

.vgl-hersteller-page__icons {
    display: flex;
    gap: var(--vgl-space-1);
    margin-top: var(--vgl-space-1);
    font-size: var(--vgl-font-size-lg);
}

.vgl-hersteller-page__empty {
    margin: var(--vgl-space-8) 0 0;
    padding: var(--vgl-space-6);
    border: 1px dashed var(--vgl-color-border);
    border-radius: var(--vgl-radius);
    text-align: center;
    color: var(--vgl-color-text-muted);
    background: var(--vgl-color-surface);
}

@media (max-width: 768px) {
    .vgl-hersteller-page__hero {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .vgl-hersteller-page__search-wrap {
        justify-self: stretch;
    }

    .vgl-hersteller-page__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vgl-hersteller-page__filters {
        flex-direction: column;
        align-items: flex-start;
    }
}
