/* ============================================================
   ardda · Premium-Partner-Werbung auf der Suchseite
   Eigenständig - überschreibt nichts Bestehendes.
   ============================================================ */

.promo-section {
    position: relative;
    margin: 28px 0 40px;
    padding: 30px 28px 32px;
    border-radius: 24px;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(255,90,95,.10), transparent 55%),
        radial-gradient(120% 140% at 100% 100%, rgba(255,138,61,.12), transparent 55%),
        linear-gradient(135deg, #fff7f2, #fff1f6 60%, #fdf3ff);
    border: 1px solid #ffe1d4;
    box-shadow: 0 24px 60px -34px rgba(255,120,60,.45);
    overflow: hidden;
}
/* dezenter Glanz oben */
.promo-section::before {
    content: '';
    position: absolute; top: -60px; right: -40px;
    width: 220px; height: 220px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255,160,90,.25), transparent 70%);
    pointer-events: none;
}

.promo-head { position: relative; margin-bottom: 22px; }
.promo-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: linear-gradient(100deg, #ff5a5f, #ff8a3d 60%, #ffc24b);
    color: #fff; font-weight: 800; font-size: 12.5px; letter-spacing: .04em;
    padding: 6px 14px; border-radius: 100px; text-transform: uppercase;
    box-shadow: 0 8px 18px -6px rgba(255,90,95,.55);
}
.promo-title {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-weight: 800; font-size: clamp(22px, 3vw, 30px);
    margin: 12px 0 4px; color: #1a1726; letter-spacing: -.01em;
}
.promo-sub { font-size: 15px; color: #6b6580; margin: 0; }

/* Karten-Raster */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 18px;
    position: relative;
}

.promo-card {
    position: relative;
    display: flex; flex-direction: column;
    background: #fff;
    border: 1px solid #ffe1d4;
    border-radius: 18px;
    padding: 22px 20px 18px;
    text-decoration: none; color: inherit;
    box-shadow: 0 14px 34px -22px rgba(80,40,120,.3);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.promo-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(100deg, #ff5a5f, #ff8a3d 60%, #ffc24b);
}
.promo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px -24px rgba(255,120,60,.5);
    border-color: #ffc8b0;
}

.promo-flag {
    position: absolute; top: 14px; right: 14px;
    background: rgba(255,90,95,.12); color: #d8431f;
    font-weight: 800; font-size: 11px; letter-spacing: .03em;
    padding: 4px 10px; border-radius: 100px;
}

.promo-logo { width: 60px; height: 60px; margin-bottom: 14px; }
.promo-logo img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; }
.promo-logo-ph {
    width: 60px; height: 60px; border-radius: 16px;
    background: linear-gradient(100deg, #ff5a5f, #ff8a3d 60%, #ffc24b);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 26px; font-weight: 800;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.promo-body { flex: 1; }
.promo-card h3 {
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: 18px; font-weight: 700; margin: 0 0 4px; color: #1a1726;
}
.promo-meta { font-size: 13px; color: #908aa3; margin: 0 0 10px; }
.promo-desc { font-size: 13.5px; color: #555067; line-height: 1.55; margin: 0 0 12px; }
.promo-rating { font-size: 14px; color: #f0a500; font-weight: 800; margin: 0 0 14px; }
.promo-rating span { color: #b0a8c0; font-weight: 600; }

.promo-cta {
    display: inline-block; margin-top: auto;
    font-size: 14px; font-weight: 700; color: #d8431f;
    transition: transform .2s ease;
}
.promo-card:hover .promo-cta { transform: translateX(4px); }

@media (max-width: 600px) {
    .promo-section { padding: 22px 16px 24px; border-radius: 18px; }
    .promo-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v2 · Startseiten-Hintergrund + Scroll-Werbeleiste
   ============================================================ */

/* Startseiten-artiger Hintergrund hinter der ganzen Suchseite */
.search-bg {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(125deg, #ffe0d6, #ffe9f3, #ece4ff, #dcf3ff, #d6fff0, #ffe9f3);
    background-size: 300% 300%;
    animation: searchGradientShift 20s ease infinite;
}
@keyframes searchGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
/* dezentes Punktmuster für Tiefe */
.search-bg::before {
    content: '';
    position: absolute; inset: 0; z-index: -2;
    background-image: radial-gradient(circle, rgba(139,92,246,.10) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse 80% 50% at 50% 30%, #000 30%, transparent 80%);
}
/* schwebende Farbflecken */
.search-blob {
    position: absolute; border-radius: 50%; z-index: -1; opacity: .5;
    filter: blur(8px); animation: searchFloat 13s ease-in-out infinite;
}
.search-blob.sb1 { width:160px;height:160px;background:radial-gradient(circle,#7fe7cf,transparent 70%);top:80px;right:10%;animation-delay:-2s;}
.search-blob.sb2 { width:120px;height:120px;background:radial-gradient(circle,#ffd66e,transparent 70%);bottom:12%;left:8%;animation-delay:-5s;}
.search-blob.sb3 { width:200px;height:200px;background:radial-gradient(circle,#b9a0ff,transparent 70%);top:40%;right:-40px;animation-delay:-7s;}
.search-blob.sb4 { width:90px;height:90px;background:radial-gradient(circle,#ff9ec7,transparent 70%);top:24%;left:4%;animation-delay:-9s;}
@keyframes searchFloat {
    0%,100% { transform: translateY(0) translateX(0) scale(1); }
    50% { transform: translateY(-26px) translateX(14px) scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
    .search-bg { animation: none; }
    .search-blob { animation: none; }
}

/* Die Suchseiten-Inhalte über dem Hintergrund */
.search-bg .search-page { position: relative; z-index: 1; }

/* ===== Scroll-Werbeleiste (Premium-Unternehmen laufen durch) ===== */
.promo-marquee {
    position: relative;
    overflow: hidden;
    padding: 14px 0;
    background: rgba(255,255,255,.5);
    border-bottom: 1px solid rgba(255,255,255,.7);
    backdrop-filter: blur(6px);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    z-index: 1;
}
.promo-marquee .promo-marquee-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: max-content;
    gap: 12px;
    animation: promoMarqueeScroll 40s linear infinite;
}
.promo-marquee:hover .promo-marquee-track { animation-play-state: paused; }
@keyframes promoMarqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.promo-marquee .pm-item {
    display: inline-flex; align-items: center; gap: 10px;
    flex: 0 0 auto;
    background: #fff;
    border: 1px solid #ffe1d4;
    border-radius: 100px;
    padding: 7px 18px 7px 8px;
    box-shadow: 0 8px 18px -12px rgba(255,120,60,.4);
    white-space: nowrap;
}
.promo-marquee .pm-logo {
    width: 30px; height: 30px; flex-shrink: 0;
    border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
}
.promo-marquee .pm-logo img { width: 100%; height: 100%; object-fit: cover; }
.promo-marquee .pm-logo-ph {
    width: 30px; height: 30px; border-radius: 50%;
    background: linear-gradient(100deg, #ff5a5f, #ff8a3d 60%, #ffc24b);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
}
.promo-marquee .pm-name { font-size: 14px; font-weight: 700; color: #1a1726; }
.promo-marquee .pm-star { color: #ffb020; font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
    .promo-marquee .promo-marquee-track { animation: none; }
}

/* ===== Scroll-Leiste unten (über dem Footer) ===== */
.promo-marquee-bottom {
    margin-top: 0;
    padding-top: 22px;
    padding-bottom: 26px;
    background: linear-gradient(180deg, rgba(255,247,242,.85), rgba(255,241,246,.95));
    border-top: 1px solid #ffe1d4;
    backdrop-filter: none;
}
.promo-marquee-bottom .promo-marquee-head {
    text-align: center;
    font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    color: #d8431f;
    margin-bottom: 16px;
}

/* ===== GPS-Knopf "In meiner Nähe" ===== */
.btn-geo {
    display: inline-flex; align-items: center; gap: 6px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #ffd9cc;
    color: #d8431f;
    font-weight: 700; font-size: 14px;
    padding: 12px 18px; border-radius: 100px; cursor: pointer;
    white-space: nowrap;
    transition: background .18s ease, border-color .18s ease, transform .15s ease;
}
.btn-geo:hover { background: #fff3ee; border-color: #ffb59c; transform: translateY(-1px); }
.btn-geo:disabled { opacity: .6; cursor: wait; }
.geo-status {
    margin: 10px 4px 0;
    font-size: 13.5px; color: #6b6580; font-weight: 600;
    min-height: 18px;
}
@media (max-width: 640px) {
    .btn-geo { width: 100%; justify-content: center; }
}

/* ===== Suchleisten-Layout fixen (Suchen-Button rechts, sauberes Umbrechen) ===== */
.search-bg .search-form .search-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}
/* Stichwort + Ort dürfen wachsen */
.search-bg .search-form .search-row input[type="text"] {
    flex: 1 1 180px;
    min-width: 150px;
}
/* GPS-Knopf + Branchen-Select: feste, kompakte Breite */
.search-bg .search-form .search-row .btn-geo { flex: 0 0 auto; }
.search-bg .search-form .search-row select {
    flex: 0 0 auto;
    min-width: 150px;
}
/* Suchen-Button immer rechts, kompakt (nicht über volle Breite) */
.search-bg .search-form .search-row .btn-primary {
    flex: 0 0 auto;
    margin-left: auto;       /* schiebt den Button nach rechts */
    width: auto;
}
@media (max-width: 760px) {
    .search-bg .search-form .search-row .btn-primary {
        margin-left: 0;
        flex: 1 1 100%;       /* auf dem Handy volle Breite, das ist ok */
    }
}

/* ===== Umkreissuche: Auswahl + Entfernungs-Anzeige ===== */
.geo-extra {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 4px;
}
.umkreis-label {
    font-size: 14px; font-weight: 700; color: #1a1726;
    display: inline-flex; align-items: center; gap: 8px;
}
.umkreis-label select {
    padding: 8px 14px; border: 1px solid #ffd9cc; border-radius: 100px;
    font-size: 14px; font-weight: 700; color: #d8431f; background: #fff; cursor: pointer;
}
.umkreis-reset {
    font-size: 13.5px; font-weight: 700; color: #908aa3; text-decoration: none;
}
.umkreis-reset:hover { color: #d8431f; }
.company-distance {
    display: inline-block;
    font-size: 13px; font-weight: 800; color: #1d9e75;
    background: #e1f5ee; border-radius: 100px;
    padding: 3px 12px; margin: 0 0 10px;
}
