/* ============================================================
   ardda.de · Startseite "MARKTPLATZ" (v1)
   Heller Marktplatz-Look wie Check24/MyHammer:
   - Foto-Hero mit Kino-Scroll-Effekt (Bild bewegt sich mit dem
     Scrollen vorwärts, rückwärts beim Hochscrollen)
   - Firmen-Karten mit Titelbild + rundem Profilbild + Sternen
   Wird NACH home-bunt.css geladen.
   ============================================================ */

/* ===== Helle Bühne (Cinema-Dunkel abgelöst) ===== */
body.home-bunt {
    background: #f6f8fb;
}

/* ============================================================
   FOTO-HERO mit Kino-Effekt
   ============================================================ */
.home-bunt .hero.hero--photo {
    position: relative;
    overflow: hidden;
    background: #0b1220;
    padding: 110px 0 120px;
}

/* Blobs + Linien-Netz aus dem alten Hero hier ausblenden */
.hero--photo .hero-blob,
.hero--photo .hero-net { display: none !important; }

/* Das Kino-Bild: etwas größer als der Hero, damit Bewegung Platz hat */
.hero--photo .hero-media {
    position: absolute;
    inset: -8% -4%;
    z-index: 0;
    pointer-events: none;
}
.hero--photo .hero-media img,
.hero--photo .hero-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.08);
    will-change: transform;
}

/* Dunkle Überblendung, damit Text + Suche lesbar bleiben */
.hero--photo .hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(7, 12, 26, .62) 0%, rgba(7, 12, 26, .38) 45%, rgba(246, 248, 251, .0) 96%),
        radial-gradient(900px 480px at 30% 40%, rgba(7, 12, 26, .45), transparent 70%);
}

.hero--photo .hero-content { position: relative; z-index: 2; }

.hero--photo .hero-headline,
.hero--photo .hero-text h1 { color: #ffffff; text-shadow: 0 2px 24px rgba(2, 6, 23, .45); }
.hero--photo .hero-text p { color: #e6ebf5; text-shadow: 0 1px 12px rgba(2, 6, 23, .45); }
.hero--photo .hero-acronym { color: #cdd6e8; }
.hero--photo .hero-badge {
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .28);
    color: #fff;
    backdrop-filter: blur(6px);
}
.hero--photo .hero-stat-value { color: #fff; }
.hero--photo .hero-stat-label { color: #cdd6e8; }
.hero--photo .trust-badge {
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #eef2fa;
    backdrop-filter: blur(6px);
}

/* Suchleiste: weiße Box mit orangem Button (wie Screenshot) */
.hero--photo .hero-search {
    background: #ffffff;
    border-radius: 14px;
    padding: 8px;
    box-shadow: 0 18px 50px -18px rgba(2, 6, 23, .55);
    display: flex;
    gap: 8px;
    max-width: 720px;
}
.hero--photo .hero-search input {
    background: #ffffff;
    border: none;
    box-shadow: none;
    color: #0f172a;
    font-size: 15.5px;
}
.hero--photo .hero-search input:focus { outline: none; }
.hero--photo .hero-search input::placeholder { color: #94a3b8; }
.hero--photo .hero-search .btn { white-space: nowrap; }

@media (max-width: 640px) {
    .home-bunt .hero.hero--photo { padding: 84px 0 90px; }
    .hero--photo .hero-search { flex-direction: column; }
}

/* ============================================================
   MARKTPLATZ-KARTEN (Startseite + Suche)
   Titelbild oben, rundes Profilbild, Name, Ort, Sterne
   ============================================================ */
.mk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
}
.mk-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e9edf3;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 10px rgba(2, 6, 23, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}
.mk-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px -14px rgba(2, 6, 23, .22);
}
.mk-cover {
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
    position: relative;
    overflow: hidden;
}
.mk-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.mk-card:hover .mk-cover img { transform: scale(1.05); }
.mk-cover-ph {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 800;
    color: #e8955c;
    background: linear-gradient(135deg, #fdf6ee, #f9e4cd);
}
.mk-chip {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(15, 23, 42, .72);
    color: #fff;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 100px;
    backdrop-filter: blur(4px);
}
.mk-body {
    display: flex;
    gap: 12px;
    padding: 12px 14px 14px;
    align-items: flex-start;
}
.mk-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    margin-top: -34px;
    border: 3px solid #fff;
    background: linear-gradient(135deg, #fbe3c8, #f2b47e);
    box-shadow: 0 2px 8px rgba(2, 6, 23, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}
.mk-avatar img { width: 100%; height: 100%; object-fit: cover; }
.mk-avatar span { color: #9a5b25; font-weight: 700; font-size: 20px; }
.mk-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mk-name {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mk-verified { color: #2563eb; font-size: 13px; }
.mk-meta { color: #64748b; font-size: 12.5px; }
.mk-rating { color: #f59e0b; font-size: 13px; font-weight: 600; }
.mk-rating-none { color: #94a3b8; font-weight: 400; }

/* Kopfzeile der Karten-Sektion: Titel links, „Alle ansehen" rechts */
.mk-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}
.mk-head h2 { margin: 0; font-size: clamp(20px, 3vw, 27px); color: #0f172a; }
.mk-head .mk-all {
    color: #ea580c;
    font-weight: 700;
    text-decoration: none;
    font-size: 14.5px;
    white-space: nowrap;
}
.mk-head .mk-all:hover { text-decoration: underline; }
