/*#search-toggle {
    all: unset !important;
    cursor: pointer !important;
    color: white !important;
    font-size: 1.2rem !important;
}

#search-toggle i {
    pointer-events: none;
}*/

/*button#search-toggle,
.nav-inner button#search-toggle,
.navbar button#search-toggle {
    all: unset !important;
    cursor: pointer !important;
    color: white !important;
    font-size: 1.2rem !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: unset !important;
    min-height: unset !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}*/

/* ============================================================
   SEARCH STRIP
   ============================================================ */

#search-strip {
    display: none;
    position: fixed;
    top: 80px;
    left: 2%;
    right: 2%;
    width: auto;
    z-index: 998;
    background: #fff;
    padding: 20px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
    border-radius: 0 0 8px 8px;
}

#search-strip.visible {
    display: flex;
    align-items: center;
    gap: 12px;
}

#search-form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

#search-input {
    flex: 1;
    font-size: 1rem;
    padding: 8px 0;
    border: none;
    border-bottom: 1px solid #ccc;
    outline: none;
    background: transparent;
    -webkit-appearance: none;
    appearance: none;
}

/* Browser-eigenen X-Button im Input entfernen */
#search-input::-webkit-search-cancel-button,
#search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

#search-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: #999;
    padding: 0;
    line-height: 1;
    flex-shrink: 0;
}

#search-close:hover {
    color: #111;
}

/* Such-Button (Lupe) */
#search-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

#search-toggle i {
    font-size: 1.2rem;
    color: white;
    transition: color 0.3s ease;
}

#search-toggle:hover i {
    opacity: 0.7;
}

.navbar-active #search-toggle i {
    color: #111;
}

/* ============================================================
   SEARCH RESULTS — Cards
   ============================================================ */

#search-results {
    display: none;
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    max-width: calc(100vw - 48px);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 997;
    box-sizing: border-box;
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

#search-results.show {
    display: flex;
}

/* Einzelne Card */
.search-result-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 24px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.10);
    border: 1px solid #f0f0f0;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    width: 100%;
    box-sizing: border-box;
}

.search-result-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.13);
    border-color: #e0e0e0;
}

.search-result-item::before {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: #ff1bb9;
    border-radius: 2px;
    margin-bottom: 4px;
}

.sri-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
}

.sri-url {
    font-size: 0.68rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sri-snippet {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.55;
    margin-top: 4px;
}

#search-results mark {
    background: none;
    color: #ff1bb9;
    font-weight: 600;
    padding: 0;
}

.search-empty {
    padding: 24px;
    color: #888;
    font-size: 0.88rem;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}