/* Bereichssuche — scoped Prüfmethoden search on the landing pages.
   Visual language follows the existing Prüfmethoden grids: white cards,
   soft borders, lift on hover. */

.inno-bereichssuche {
    margin: 1.5rem 0 2.5rem;
    position: relative;
}

.inno-bs-form {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.inno-bs-input {
    flex: 1 1 260px;
    min-width: 0;
    font: inherit;
    font-size: 1rem;
    padding: 0.85rem 1.35rem;
    border: 1px solid #dfe4ec;
    border-radius: 999px;
    background: #fff;
    color: inherit;
}

.inno-bs-input:focus {
    outline: 2px solid #0d4978;
    outline-offset: -1px;
}

.inno-bs-btn {
    font: inherit;
    font-weight: 600;
    padding: 0.85rem 2rem;
    border: none;
    border-radius: 999px;
    background: #001c46;
    color: #fff;
    cursor: pointer;
    flex: 0 0 auto;
}

.inno-bs-btn:hover { background: #0d4978; }
.inno-bs-btn[disabled] { opacity: 0.5; cursor: default; }

.inno-bs-out {
    margin-top: 1.5rem;
    max-height: 380px;
    overflow-y: auto;
    overflow-x: hidden;
}
.inno-bs-out:empty { margin-top: 0; max-height: none; }
.inno-bs-out:not(:empty) {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 16px 32px rgba(0, 12, 40, 0.22);
    padding: 1.1rem calc(1.1rem - 0.5rem) 1.1rem 1.1rem;
}

.inno-bs-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
}

.inno-bs-reset {
    font: inherit;
    font-size: 0.85rem;
    background: none;
    border: none;
    padding: 0;
    color: #5b6472;
    text-decoration: underline;
    cursor: pointer;
}

.inno-bs-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #0d4978;
    margin: 0 0 0.75rem;
}

/* Set apart on purpose: these results come from a different Prüfbereich. */
.inno-bs-heading--secondary {
    color: #5b6472;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e9f1;
}

/* Normen stehen zuletzt (nach Primary/Secondary) — eigener Separator wie bei
   --secondary, statt der Trennlinie darunter aus der alten "zuerst"-Reihenfolge. */
.inno-bs-heading--norms {
    color: #0d4978;
    margin-top: 2rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e5e9f1;
}

.inno-bs-summary-wrap {
    background: #f4f8fb;
    border-radius: 8px;
    padding: 0.9rem 1.1rem;
    margin-bottom: 1.25rem;
}

.inno-bs-summary-label {
    margin: 0 0 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #7a8595;
}

.inno-bs-summary {
    margin: 0;
    color: #23324a;
    line-height: 1.5;
}

.inno-bs-summary-trust {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 0.6rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(13, 73, 120, 0.12);
    font-size: 0.7rem;
    color: #7a8595;
}
.inno-bs-summary-trust img { display: block; opacity: 0.85; flex: 0 0 auto; }

.inno-bs-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.inno-bs-item { margin: 0; }

.inno-bs-item a {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    height: 100%;
    padding: 1.1rem 1.25rem;
    background: #fff;
    border: 1px solid #e5e9f1;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.inno-bs-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 28, 70, 0.1);
    border-color: #cfd7e4;
}

/* Norms are a different hit type than methods — a left accent plus a tinted
   group label keep that distinction visible without a separate layout. */
.inno-bs-item--norm a {
    border-left: 3px solid #0d4978;
}
.inno-bs-item--norm .inno-bs-group {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #0d4978;
}

.inno-bs-badge {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #0d4978;
    background: #e7eef5;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
}

.inno-bs-sub {
    font-size: 0.85rem;
    color: #5b6472;
    line-height: 1.4;
}

.inno-bs-group {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a8595;
}

.inno-bs-title {
    font-weight: 600;
    line-height: 1.35;
    color: #001c46;
}

.inno-bs-empty {
    color: #5b6472;
    line-height: 1.6;
}

@media (max-width: 520px) {
    .inno-bs-btn { flex: 1 1 100%; }
}
