/* Suchformular und Trefferliste. */

.suchformular { display: flex; gap: 0.6rem; margin-bottom: 1.5rem; max-width: 42rem; }

.suchformular input {
    flex: 1;
    min-width: 0;
    padding: 0.65rem 1rem;
    font: inherit;
    font-size: 0.92rem;
    color: var(--text);
    background: var(--flaeche);
    border: 1px solid var(--rand-stark);
    border-radius: var(--radius-klein);
    box-shadow: var(--schatten-fein);
}

.suchformular input::placeholder { color: var(--gedimmt); }
.suchformular input:focus-visible {
    outline: none;
    border-color: var(--akzent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--akzent) 22%, transparent);
}

.trefferliste { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 0.65rem; max-width: 52rem; }

.trefferliste a {
    display: block;
    padding: 1rem 1.25rem;
    background: var(--flaeche);
    border: 1px solid var(--rand);
    border-radius: var(--radius-klein);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--schatten-fein);
    transition: border-color .15s, transform .15s, box-shadow .15s;
}

.trefferliste a:hover { border-color: var(--akzent); transform: translateX(3px); box-shadow: var(--schatten); }
.trefferliste a:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
.trefferliste h2 { margin: 0.2rem 0 0.35rem; font-size: 1rem; font-weight: 600; }

.treffer-pfad {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 550;
    letter-spacing: 0.02em;
    color: var(--akzent);
}

.schnipsel { margin: 0; font-size: 0.87rem; color: var(--gedimmt); line-height: 1.6; }

.schnipsel mark {
    background: var(--akzent-weich);
    color: var(--akzent);
    border-radius: 4px;
    padding: 0.05em 0.25em;
    font-weight: 600;
}
