/*
================================================================================
    SUCH-OVERLAY CSS – REDESIGN
================================================================================
*/

/* =================================================================
   1. OVERLAY & HINTERGRUND
   ================================================================= */

body > header {
    position: relative;
    z-index: 200005 !important;
}

#ruwac-search-backdrop {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height-mobile));
    background-color: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 200004;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: top 0.5s ease, height 0.5s ease, opacity 0.4s ease, visibility 0.4s ease;
}

@media (min-width: 1380px) {
    #ruwac-search-backdrop {
        top: var(--header-height-desktop);
        height: calc(100vh - var(--header-height-desktop));
    }

    body.search-bar-is-elevated #ruwac-search-backdrop {
        top: 72px;
        height: calc(100vh - 72px);
    }
}

body.search-overlay-is-active #ruwac-search-backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.search-overlay-is-active {
    overflow: hidden;
}


/* =================================================================
   2. HAUPT-CONTAINER
   ================================================================= */

.header-search-results {
    display: none;
    position: fixed;
    z-index: 200006;
    --search-overlay-heading-size: clamp(1.2rem, 1.04rem + 0.58vw, 1.5rem);
    --search-overlay-category-size: clamp(0.84rem, 0.79rem + 0.18vw, 1rem);
    --search-overlay-title-size: clamp(0.84rem, 0.8rem + 0.2vw, 1rem);
    --search-overlay-copy-size: clamp(0.82rem, 0.78rem + 0.16vw, 0.95rem);
    --search-overlay-meta-size: clamp(0.74rem, 0.71rem + 0.14vw, 0.875rem);
    --search-overlay-badge-size: clamp(0.62rem, 0.59rem + 0.1vw, 0.6875rem);
    --search-overlay-icon-size: clamp(1.35rem, 1.12rem + 0.5vw, 2rem);
    --search-overlay-card-padding: clamp(12px, 0.95vw, 16px);
    --search-overlay-contact-image-size: clamp(44px, 3vw, 56px);

    width: 1664px;
    max-width: calc(100vw - clamp(16px, 3vw, 64px));
    left: 50%;
    transform: translateX(-50%);
    top: 88px;

    background-color: #ffffff;
    border: 1px solid #e8e8e8;
    border-top: 1px solid #000000;
    border-radius: 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.06);

    padding: clamp(24px, 2.5vw, 48px) clamp(20px, 3.75vw, 72px) clamp(22px, 2.1vw, 40px);

    font-family: var(--ruwac-font-family);
    height: fit-content;
    max-height: calc(100vh - 110px);
    overflow-x: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Haupt-Zweispalten-Layout */
.header-search-results .search-results-main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 clamp(28px, 3.35vw, 34px);
    align-items: start;
}

.header-search-results .search-results-column-sidebar {
    border-left: none;
}

/* Sidebar nimmt volle Breite wenn kein Main Content */
.header-search-results .search-results-main-layout.sidebar-is-main {
    grid-template-columns: 1fr;
}

.header-search-results .search-results-main-layout.sidebar-is-main .search-results-column-main {
    display: none;
}

.header-search-results .search-results-main-layout.sidebar-is-main .search-results-column-sidebar {
    border-left: none;
    padding-left: 0;
}


/* =================================================================
   3. SPALTEN-ÜBERSCHRIFTEN
   ================================================================= */

.header-search-results .search-column-title {
    font-family: 'Aeonik Extended Pro', var(--ruwac-font-family), sans-serif;
    font-weight: 700;
    font-size: var(--search-overlay-heading-size);
    letter-spacing: 0;
    text-transform: none;
    color: #1A1A1A;
    margin: 0 0 clamp(20px, 1.45vw, 28px) 0;
    padding-bottom: clamp(12px, 0.85vw, 16px);
    border-bottom: 1px solid #1A1A1A;
    line-height: 1.2;
}


/* =================================================================
   4. KATEGORIE-ÜBERSCHRIFTEN (Produkte, Zubehör, Seiten …)
   ================================================================= */

.header-search-results .result-category {
    margin-bottom: clamp(22px, 1.7vw, 32px);
}

.header-search-results .result-category:last-child {
    margin-bottom: 0;
}

.header-search-results .result-category .result-category-title {
    font-family: 'Aeonik Fono Pro', var(--ruwac-font-family), sans-serif;
    font-weight: 700;
    font-size: var(--search-overlay-category-size);
    text-transform: none;
    letter-spacing: 0;
    color: #B0B0B0;
    margin: 0 0 clamp(12px, 0.85vw, 16px) 0;
    padding-bottom: 0;
    border-bottom: none;
    position: static;
}

.header-search-results .result-category .result-category-title::after {
    display: none;
}


/* =================================================================
   5. PRODUKT- & ZUBEHÖR-GRID
   ================================================================= */

.header-search-results .result-category-products .result-list,
.header-search-results .result-category-zubehoer .result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(132px, 8.85vw, 170px), 1fr));
    gap: clamp(12px, 1.05vw, 20px);
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Einzelne Karte */
.header-search-results .search-result-item {
    display: flex;
    min-width: 0;
}

.header-search-results .search-result-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #111111;
    background-color: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    transition: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.header-search-results .search-result-item-link:hover,
.header-search-results .search-result-item-link:focus {
    outline: none;
    transform: none;
    box-shadow: none;
    border-color: transparent;
    background-color: transparent;
}

/* Bild-Container mit border-radius 24px */
.header-search-results .search-result-item-image-wrapper {
    width: 100%;
    margin-bottom: clamp(8px, 0.65vw, 12px);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f2f2f2;
    border-radius: clamp(14px, 1.25vw, 24px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    min-height: unset;
}

.header-search-results .search-result-item-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: clamp(10px, 0.85vw, 16px);
    box-sizing: border-box;
    transition: transform 0.22s ease;
}

.header-search-results .search-result-item-link:hover .search-result-item-image {
    transform: scale(1.03);
}

.header-search-results .search-result-item-image-placeholder {
    font-size: var(--search-overlay-icon-size);
    color: #cccccc;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border-radius: 0;
}

/* Text-Bereich unter dem Bild */
.header-search-results .search-result-item-content {
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.header-search-results .search-result-item-title {
    font-family: 'Aeonik Extended Pro', var(--ruwac-font-family), sans-serif;
    font-size: var(--search-overlay-title-size);
    font-weight: 900;
    line-height: 1.3;
    color: #1A1A1A;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.header-search-results .search-result-item-supertitle {
    font-family: 'Aeonik Pro', var(--ruwac-font-family), sans-serif;
    font-size: var(--search-overlay-copy-size);
    font-weight: 400;
    color: #1A1A1A;
    line-height: 1.3;
    text-align: left;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.header-search-results .search-result-item-label {
    display: none;
}

.header-search-results .search-result-item-category-label {
    display: none !important;
}

.header-search-results .search-result-item-articleno {
    font-size: var(--search-overlay-meta-size);
    color: #888888;
    margin-top: 2px;
}


/* =================================================================
   6. VIDEO-GRID
   ================================================================= */

.header-search-results .result-category-videos .result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 9.4vw, 180px), 1fr));
    gap: clamp(12px, 0.85vw, 16px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-search-results .search-result-item-image-wrapper.is-video-wrapper {
    aspect-ratio: 16 / 9;
    min-height: unset;
    background-color: #f2f2f2;
    border-radius: clamp(14px, 1.25vw, 24px);
    position: relative;
    overflow: hidden;
}

.header-search-results .search-result-item-image.is-video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    max-height: none;
    border-radius: 0;
}

.header-search-results .search-result-video-thumb {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.header-search-results .search-result-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.4em;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.header-search-results .search-result-item-link:hover .search-result-play-icon {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 0.8;
}

/* Video Titel unter dem Thumb */
.header-search-results .result-category-videos .search-result-item-content {
    text-align: left;
    margin-top: clamp(8px, 0.65vw, 12px);
}

.header-search-results .result-category-videos .search-result-item-title {
    font-size: var(--search-overlay-title-size);
    font-weight: 900;
    color: #1A1A1A;
    margin-top: 0;
}

/* Video Hover Overlay (Titel-Einblendung) */
.video-hover-overlay {
    display: none;
}

.search-result-item-link:hover .video-hover-overlay {
    display: none;
}


/* =================================================================
   7. PDF / PROSPEKTE GRID
   ================================================================= */

.header-search-results .result-category-prospekte .result-list,
.header-search-results .result-category-datenblaetter .result-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(92px, 7vw, 120px), 1fr));
    gap: clamp(12px, 0.85vw, 16px);
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-search-results .result-category-prospekte .result-list > li,
.header-search-results .result-category-datenblaetter .result-list > li {
    min-width: 0;
}

.header-search-results .search-result-pdf-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    min-width: 0;
    text-decoration: none;
    color: #111111;
}

/* PDF Bild-Wrapper: DIN A4 Ratio, border-radius 24px */
.header-search-results .search-result-pdf-preview-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 210 / 297;
    margin-bottom: 10px;
    background-color: #f2f2f2;
    border: none;
    border-radius: clamp(14px, 1.25vw, 24px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PDF Icon Overlay entfernen – kein ::after mehr nötig bei sauberen Previews */
.header-search-results .search-result-pdf-preview-wrapper::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    background-image: url('/fileadmin/media_new/_global/icons/ruwac-icon-pdf-file-red.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
    z-index: 10;
    transition: transform 0.18s ease;
}

.header-search-results .search-result-pdf-link:hover .search-result-pdf-preview-wrapper::after {
    transform: scale(1.05);
}

.header-search-results .search-result-pdf-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.header-search-results .search-result-pdf-icon {
    font-size: var(--search-overlay-icon-size);
    color: #cccccc;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.header-search-results .search-result-pdf-link .search-result-item-title {
    font-family: 'Aeonik Extended Pro', var(--ruwac-font-family), sans-serif;
    font-size: var(--search-overlay-title-size);
    font-weight: 900;
    color: #1A1A1A;
    width: 100%;
    line-height: 1.35;
    text-align: left;
    margin-top: 0;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
}

/* PDF Loading-Animationen */
.result-image.pdf-preview-loading {
    animation: pdf-preview-pulse 1.5s ease-in-out infinite;
}

@keyframes pdf-preview-pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.85; }
}

.result-image.pdf-preview-loaded {
    animation: pdf-preview-fadein 0.3s ease-in;
}

@keyframes pdf-preview-fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}


/* =================================================================
   8. SEITEN / BLOG – LINKLISTE
   ================================================================= */

.header-search-results .result-category-pages .result-list,
.header-search-results .result-category-blog .result-list,
.header-search-results .result-category-prospekte-list .result-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-search-results .result-category-pages .result-list li + li,
.header-search-results .result-category-blog .result-list li + li {
    margin-top: 2px;
}

.header-search-results .result-category-pages .result-list a,
.header-search-results .result-category-blog .result-list a {
    display: block;
    padding: 6px 10px;
    text-decoration: none;
    border-radius: 8px;
    background-color: transparent;
    border: 1px solid transparent;
    transition: background-color 0.16s ease, border-color 0.16s ease;
    font-size: var(--search-overlay-copy-size);
    line-height: 1.3;
    color: #111111;
    box-sizing: border-box;
}

.header-search-results .result-category-pages .result-list a:hover,
.header-search-results .result-category-pages .result-list a:focus,
.header-search-results .result-category-blog .result-list a:hover,
.header-search-results .result-category-blog .result-list a:focus {
    background-color: #f5f5f5;
    border-color: #e8e8e8;
    outline: none;
    color: #111111;
}


/* =================================================================
   9. ANSPRECHPARTNER / KONTAKTE
   ================================================================= */

.header-search-results .result-category-contacts .result-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px;
    padding: 0;
    margin: 0;
    list-style: none;
    align-items: stretch;
}

.header-search-results .is-contact-item {
    display: block;
    width: 100%;
    height: 100%;
}

.header-search-results .ruwac-contact-card {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: var(--search-overlay-card-padding);
    display: flex;
    flex-direction: column;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
    height: 100%;
    box-sizing: border-box;
}

.header-search-results .ruwac-contact-card:hover {
    border-color: #cccccc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    transform: translateY(-2px);
}

.header-search-results .card-header-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 12px;
}

.header-search-results .contact-photo {
    width: var(--search-overlay-contact-image-size);
    height: var(--search-overlay-contact-image-size);
    border-radius: 50%;
    object-fit: cover;
}

.header-search-results .badge-type {
    font-size: var(--search-overlay-badge-size);
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 100px;
    background-color: var(--primary-color);
    color: #fff;
    letter-spacing: 0.5px;
}

.header-search-results .badge-type.service {
    background-color: #005DCF;
}

.header-search-results .badge-type.partner {
    background-color: #6c757d;
}

.header-search-results .card-name {
    font-size: var(--search-overlay-title-size);
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
    margin: 0;
}

.header-search-results .card-company {
    font-size: var(--search-overlay-copy-size);
    color: #888888;
    line-height: 1.35;
    margin: 0;
}

.header-search-results .card-details-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid #f0f0f0;
    padding-top: 10px;
    margin-top: auto;
}

.header-search-results .detail-item {
    display: flex;
    align-items: center;
    padding: 3px 0;
    color: #333333;
    text-decoration: none;
    font-size: var(--search-overlay-copy-size);
    line-height: 1.25;
    border: none;
    transition: color 0.16s ease;
}

.header-search-results .detail-item:hover,
.header-search-results .detail-item:focus {
    color: var(--primary-color);
    outline: none;
}

.header-search-results .detail-item--vcard {
    font-weight: 700;
}


/* =================================================================
   10. FOOTER MIT CTA-BUTTON
   ================================================================= */

.header-search-results .search-footer {
    margin-top: clamp(28px, 2.1vw, 40px);
    padding-top: clamp(22px, 1.7vw, 32px);
    text-align: left;
    border-top: 1px solid #e8e8e8;
}

/* Kein zusätzliches Button-Styling – wird durch globale buttons.css geregelt */


/* =================================================================
   11. KEINE ERGEBNISSE
   ================================================================= */

.header-search-results .no-results {
    text-align: center;
    padding: 48px 0;
    color: #888888;
    font-size: var(--search-overlay-title-size);
}

.header-search-results .no-results p {
    margin: 0;
}


/* =================================================================
   12. LADEANIMATION IM SUCHFELD
   ================================================================= */

.header-search-container .search-input-spinner {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--header-search-icon-color);
    pointer-events: none;
    z-index: 2;
}

.header-search-container.is-loading .header-search-close-button {
    right: 15px;
}


/* =================================================================
   13. VIDEO MODAL
   ================================================================= */

#search-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 210000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    box-sizing: border-box;
}

#search-video-modal.is-visible {
    display: flex !important;
}

#search-video-modal .rw-video-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(2px);
    z-index: 1;
}

#search-video-modal .rw-video-modal__container {
    position: relative;
    z-index: 2;
    background-color: #000;
    width: 100%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#search-video-modal .rw-video-modal__video-container,
#search-video-modal .rw-video-modal__privacy-notice {
    width: 100%;
    height: 100%;
    flex-grow: 1;
}

#search-video-modal .rw-video-modal__video-container {
    display: none;
    z-index: 20;
    background: #000;
}

#search-video-modal .rw-video-modal__video-container.is-visible {
    display: block;
}

#search-video-modal .rw-video-modal__video-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

#search-video-modal .rw-video-modal__video-container > div {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    #search-video-modal {
        padding: 0 12px;
    }

    #search-video-modal .rw-video-modal__container {
        width: min(100%, 348px);
        max-width: calc(100vw - 24px);
        border-radius: 12px;
    }

    #search-video-modal .rw-video-modal__video-container {
        display: none;
        align-items: stretch;
        justify-content: stretch;
    }

    #search-video-modal .rw-video-modal__video-container.is-visible {
        display: flex;
    }

    #search-video-modal .rw-video-modal__video-container iframe {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 100%;
    }

    #search-video-modal .rw-video-modal__video-container > div {
        width: 100%;
        height: 100%;
    }
}

#search-video-modal .rw-video-modal__privacy-notice {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #000;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    z-index: 10;
    position: relative;
}

#search-video-modal .rw-video-modal__privacy-notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 1;
}

#search-video-modal .rw-video-modal__privacy-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#search-video-modal .rw-video-modal__privacy-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    width: 100%;
}

#search-video-modal .rw-video-modal__privacy-content p {
    color: #e0e0e0;
    margin-bottom: 25px;
    line-height: 1.5;
    font-size: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 500px;
}

#search-video-modal .rw-video-modal__privacy-content button {
    margin-left: auto;
    margin-right: auto;
}

#search-video-modal .rw-video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

#search-video-modal .rw-video-modal__close::before,
#search-video-modal .rw-video-modal__close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: #fff;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    transform: translate(-50%, -50%) rotate(45deg);
}

#search-video-modal .rw-video-modal__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}


/* =================================================================
   14. RESPONSIVE
   ================================================================= */

@media (max-width: 1600px) {
    .header-search-results {
        width: calc(100vw - 48px);
    }
}

@media (max-width: 1200px) {
    .header-search-results {
        width: calc(100vw - 32px);
    }

    .header-search-results .search-results-main-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .header-search-results .search-results-column-sidebar {
        border-left: none;
        border-top: 1px solid #e8e8e8;
        padding-left: 0;
        padding-top: clamp(24px, 2.65vw, 32px);
        margin-top: clamp(24px, 2.65vw, 32px);
    }
}

@media (max-width: 767px) {
    .header-search-results {
        top: var(--header-height-mobile);
        width: 100vw;
        max-width: 100vw;
        max-height: calc(100vh - var(--header-height-mobile));
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
        border-radius: 0;
        padding: 22px 16px 24px;
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
    }

    .header-search-results .search-column-title {
        font-size: 1.25rem;
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .header-search-results .result-category .result-category-title {
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
    }

    .header-search-results .search-result-item-title {
        font-size: clamp(0.84rem, 3vw, 0.94rem);
    }

    .header-search-results .search-result-item-supertitle {
        font-size: clamp(0.8rem, 2.8vw, 0.9rem);
    }

    .header-search-results .result-category {
        margin-bottom: 22px;
    }

    .header-search-results .result-category-products .result-list,
    .header-search-results .result-category-zubehoer .result-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .header-search-results .result-category-videos .result-list {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .header-search-results .result-category-prospekte .result-list,
    .header-search-results .result-category-datenblaetter .result-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .header-search-results .result-category-pages .result-list a,
    .header-search-results .result-category-blog .result-list a {
        padding: 9px 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
        border-bottom-color: #ededed;
    }

    .header-search-results .result-category-contacts .result-list {
        grid-template-columns: 1fr;
    }

    .header-search-results .ruwac-contact-card {
        padding: 14px;
        border-radius: 12px;
    }

    .header-search-results .search-footer {
        margin-top: 24px;
        padding-top: 20px;
    }

    .header-search-results .search-footer a.btn,
    .header-search-results .search-footer button.btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
