/*
 * ps-funnel.css — Styling für [ps_funnel slot="…"]-Renderer.
 *
 * Slots:
 *   .ps-funnel--videos                YouTube-Embed-Liste
 *   .ps-funnel--gyg-touren            GetYourGuide-Affiliate-Banner
 *   .ps-funnel--anreise               (legacy aus Plugin-Config)
 *   .ps-funnel--inhalt                (legacy)
 *   .ps-funnel--mid/early/late/bottom (klassische position-Slots)
 */

.ps-funnel {
    margin: 1.6em 0;
}

/* ── VIDEOS ────────────────────────────────────────────────── */
.ps-funnel--videos {
    background: #f7f7f9;
    border: 1px solid #e1e1e6;
    border-radius: 6px;
    padding: 18px 22px;
}

.ps-funnel-videos__title {
    margin: 0 0 12px;
    font-size: 1em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #555;
}

.ps-funnel-videos__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
}

.ps-funnel-videos__item {
    margin: 0;
}

.ps-funnel-videos__link {
    display: block;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #000;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ps-funnel-videos__link:hover,
.ps-funnel-videos__link:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ps-funnel-videos__thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: opacity 0.18s ease;
}

.ps-funnel-videos__link:hover .ps-funnel-videos__thumb {
    opacity: 1;
}

.ps-funnel-videos__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.85);
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    pointer-events: none;
}

/* ── GYG TOUREN ────────────────────────────────────────────── */
.ps-funnel--gyg-touren {
    display: block;
    text-decoration: none;
    border-radius: 6px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ps-funnel--gyg-touren:hover,
.ps-funnel--gyg-touren:focus {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.ps-funnel-gyg__img {
    width: 100%;
    height: auto;
    display: block;
}

.ps-funnel-gyg__cta {
    display: block;
    background: linear-gradient(135deg, #ff7e1d 0%, #ff5722 100%);
    color: #fff;
    text-align: center;
    padding: 18px 24px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 1.05em;
}

/* ── ANREISE (12go-CTA) ────────────────────────────────────── */
.ps-funnel--anreise {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #d4e7f7;
    border-left: 4px solid #2271b1;
    border-radius: 6px;
    padding: 18px 22px;
    margin: 1.6em 0;
}

.ps-funnel-anreise__icon {
    font-size: 2.4em;
    line-height: 1;
    flex-shrink: 0;
}

.ps-funnel-anreise__body {
    flex: 1;
}

.ps-funnel-anreise__title {
    margin: 0 0 4px;
    font-size: 1.05em;
    font-weight: 600;
    color: #1d2327;
}

.ps-funnel-anreise__desc {
    margin: 0 0 10px;
    color: #555;
    font-size: 0.95em;
    line-height: 1.45;
}

.ps-funnel-anreise__cta {
    display: inline-block;
    background: #2271b1;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s ease;
}

.ps-funnel-anreise__cta:hover,
.ps-funnel-anreise__cta:focus {
    background: #135e96;
    color: #fff;
}

/* ── INHALT (Native-Banner mid-content) ────────────────────── */
.ps-funnel--inhalt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff8e6;
    border: 1px solid #ffe5a3;
    border-radius: 6px;
    padding: 14px 20px;
    margin: 1.4em 0;
    font-size: 0.95em;
}

.ps-funnel-inhalt__head {
    display: flex;
    flex-direction: column;
}

.ps-funnel-inhalt__title {
    font-weight: 600;
    color: #1d2327;
}

.ps-funnel-inhalt__brand {
    font-size: 0.82em;
    color: #888;
    margin-top: 2px;
}

.ps-funnel-inhalt__cta {
    background: #ff7e1d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.ps-funnel-inhalt__cta:hover,
.ps-funnel-inhalt__cta:focus {
    background: #e96d10;
    color: #fff;
}

.ps-funnel--inhalt-booking {
    background: #e8f1ff;
    border-color: #b7d3f5;
}

.ps-funnel--inhalt-booking .ps-funnel-inhalt__cta {
    background: #003580;
}

.ps-funnel--inhalt-booking .ps-funnel-inhalt__cta:hover,
.ps-funnel--inhalt-booking .ps-funnel-inhalt__cta:focus {
    background: #002257;
}

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 640px) {
    .ps-funnel--videos {
        padding: 14px 16px;
    }
    .ps-funnel-videos__list {
        grid-template-columns: 1fr;
    }
    .ps-funnel--anreise,
    .ps-funnel--inhalt {
        flex-direction: column;
        align-items: flex-start;
    }
    .ps-funnel-inhalt__cta {
        align-self: stretch;
        text-align: center;
    }
}
