/* Hepsi-Markt Landingpage-Sektionen - home-landing.css
 * Prospekt & WhatsApp, Sortiment-Kacheln, Filialen, mobile Bottom-Bar.
 * Nutzt die Tokens aus home.css (:root --hepsi-*).
 */

/* ============================================================
   Prospekt & WhatsApp
   ============================================================ */

.hepsi-kanaele {
    padding: 8px 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hepsi-kanaele__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--hepsi-gap);
}

.hepsi-kanaele__card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--hepsi-white);
    border: 1px solid var(--hepsi-border);
    border-radius: var(--hepsi-radius);
    padding: 24px 26px;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hepsi-kanaele__card:hover {
    box-shadow: var(--hepsi-shadow-lg);
    transform: translateY(-2px);
}

.hepsi-kanaele__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #f2f6e8;
    color: var(--hepsi-green-dark);
    flex-shrink: 0;
}

.hepsi-kanaele__card--wa .hepsi-kanaele__icon {
    background: #e8f6ec;
    color: #1d7a3f;
}

.hepsi-kanaele__cover {
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: var(--hepsi-shadow);
}

.hepsi-kanaele__cover img {
    display: block;
    width: 120px;
    height: auto;
}

.hepsi-kanaele__cover--wide img {
    width: 170px;
}

.hepsi-kanaele__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hepsi-kanaele__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--hepsi-text);
}

.hepsi-kanaele__text {
    font-size: 14px;
    line-height: 1.45;
    color: var(--hepsi-text-light);
}

.hepsi-kanaele__cta {
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
}

.hepsi-kanaele__card:hover .hepsi-kanaele__cta {
    text-decoration: underline;
}

/* ============================================================
   Sortiment-Kacheln + Teaser
   ============================================================ */

.hepsi-sortiment {
    padding: 8px 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hepsi-sortiment__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hepsi-sortiment__heading {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    margin: 0;
    color: var(--hepsi-text);
}

.hepsi-sortiment__all {
    font-size: 14px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
    text-decoration: none;
}

.hepsi-sortiment__all:hover {
    text-decoration: underline;
}

.hepsi-sortiment__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--hepsi-gap);
}

.hepsi-sortiment__tile {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--hepsi-radius);
    overflow: hidden;
    background: var(--hepsi-white);
    border: 1px solid var(--hepsi-border);
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hepsi-sortiment__tile:hover {
    box-shadow: var(--hepsi-shadow-lg);
    transform: translateY(-2px);
}

.hepsi-sortiment__tile-image {
    display: block;
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
}

.hepsi-sortiment__tile-image--empty {
    background: linear-gradient(135deg, #eef3e2, #dfe8cd);
}

.hepsi-sortiment__tile-label {
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hepsi-text);
}

/* Rezepte-Teaser: echtes Rezeptfoto mit dunklem Verlauf */
.hepsi-sortiment__rezepte {
    display: block;
    margin-top: var(--hepsi-gap);
    border-radius: var(--hepsi-radius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hepsi-sortiment__rezepte:hover {
    box-shadow: var(--hepsi-shadow-lg);
    transform: translateY(-2px);
}

.hepsi-sortiment__rezepte-inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 40px 32px;
    background: linear-gradient(100deg, rgba(16, 24, 14, 0.82) 0%, rgba(16, 24, 14, 0.45) 55%, rgba(16, 24, 14, 0.1) 100%);
}

.hepsi-sortiment__teaser-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.hepsi-sortiment__teaser-text {
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.85);
    max-width: 480px;
}

.hepsi-sortiment__teaser-cta {
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--hepsi-green);
}

.hepsi-sortiment__rezepte:hover .hepsi-sortiment__teaser-cta {
    text-decoration: underline;
}

/* ============================================================
   Marken-Strip
   ============================================================ */

.hepsi-marken {
    padding: 8px 5% 40px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hepsi-marken__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hepsi-marken__heading {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    margin: 0;
    color: var(--hepsi-text);
}

.hepsi-marken__all {
    font-size: 14px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
    text-decoration: none;
}

.hepsi-marken__all:hover {
    text-decoration: underline;
}

.hepsi-marken__strip {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: var(--hepsi-gap);
}

.hepsi-marken__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hepsi-white);
    border: 1px solid var(--hepsi-border);
    border-radius: var(--hepsi-radius);
    padding: 10px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hepsi-marken__logo:hover {
    box-shadow: var(--hepsi-shadow);
    transform: translateY(-2px);
}

.hepsi-marken__logo img {
    width: 100%;
    height: auto;
    max-width: 110px;
    border-radius: 4px;
}

/* ============================================================
   Filialen & Öffnungszeiten
   ============================================================ */

.hepsi-filialen {
    padding: 8px 5% 48px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hepsi-filialen__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hepsi-filialen__heading {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    margin: 0;
    color: var(--hepsi-text);
}

.hepsi-filialen__all {
    font-size: 14px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
    text-decoration: none;
}

.hepsi-filialen__all:hover {
    text-decoration: underline;
}

/* auto-fit: eine 4. Filiale ordnet sich automatisch ein */
.hepsi-filialen__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--hepsi-gap);
}

.hepsi-filialen__tel {
    font-size: 13px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
    text-decoration: none;
    width: fit-content;
}

.hepsi-filialen__tel:hover {
    text-decoration: underline;
}

.hepsi-filialen__card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--hepsi-white);
    border: 1px solid var(--hepsi-border);
    border-radius: var(--hepsi-radius);
    padding: 18px 20px;
}

.hepsi-filialen__pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fdeaea;
    color: var(--hepsi-red);
    flex-shrink: 0;
}

.hepsi-filialen__info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-grow: 1;
}

.hepsi-filialen__stadt {
    font-size: 16px;
    font-weight: 700;
    color: var(--hepsi-text);
}

.hepsi-filialen__adresse {
    font-size: 13px;
    line-height: 1.4;
    color: var(--hepsi-text-light);
}

.hepsi-filialen__route {
    font-size: 13px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
    border: 1px solid var(--hepsi-border);
    border-radius: 999px;
    padding: 8px 16px;
    text-decoration: none;
    white-space: nowrap;
}

.hepsi-filialen__route:hover {
    background: var(--hepsi-green-dark);
    color: #fff;
    border-color: var(--hepsi-green-dark);
}

.hepsi-filialen__band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: var(--hepsi-gap);
    background: #f2f6e8;
    border-radius: var(--hepsi-radius);
    padding: 16px 22px;
}

.hepsi-filialen__zeiten {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--hepsi-green-dark);
}

.hepsi-filialen__halal {
    font-size: 14px;
    font-weight: 700;
    color: var(--hepsi-green-dark);
    background: var(--hepsi-white);
    border: 1px solid var(--hepsi-green);
    border-radius: 999px;
    padding: 7px 16px;
}

/* ============================================================
   Mobile Bottom-Bar (nur Startseite, nur Mobile)
   ============================================================ */

.hepsi-bottombar {
    display: none;
}

@media (max-width: 768px) {

    .hepsi-kanaele__grid,
    .hepsi-filialen__grid {
        grid-template-columns: 1fr;
    }

    .hepsi-sortiment__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hepsi-marken__strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .hepsi-sortiment__rezepte-inner {
        padding: 28px 20px;
    }

    .hepsi-filialen__band {
        flex-direction: column;
        align-items: flex-start;
    }

    .hepsi-bottombar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 9999;
        display: flex;
        justify-content: space-around;
        background: var(--hepsi-white);
        border-top: 1px solid var(--hepsi-border);
        box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
        padding: 8px 4px calc(8px + env(safe-area-inset-bottom));
    }

    .hepsi-bottombar__item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        min-width: 64px;
        padding: 4px 6px;
        font-size: 11px;
        font-weight: 600;
        color: var(--hepsi-text-light);
        text-decoration: none;
    }

    .hepsi-bottombar__item--active,
    .hepsi-bottombar__item:hover {
        color: var(--hepsi-green-dark);
    }

    /* Platz fuer die Bar am Seitenende */
    .hepsi-home-main {
        padding-bottom: 68px;
    }

    /* Schwebender Chat-Button entfaellt auf Mobile: der Chat sitzt jetzt
       als eigener Eintrag in der Bottom-Bar. */
    .page-template-template-home .qlwapp__container {
        display: none !important;
    }

    .hepsi-bottombar__item {
        min-width: 0;
        flex: 1 1 0;
    }
}
