/* ===== Hero-Funnel-Block ===== */
.block-hero-funnel {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-soft, #f8fafc) 0%, #fff 100%);
}
.block-hero-funnel .hf-grid {
    display: grid;
    gap: 40px;
    align-items: center;
}
/* Zweispaltig: Medium links, Text rechts */
.block-hero-funnel.layout-split .hf-grid {
    grid-template-columns: 1fr 1fr;
}
.block-hero-funnel.layout-split.media-none .hf-grid {
    grid-template-columns: 1fr;
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}
/* Zentriert: Medium oben, Text darunter */
.block-hero-funnel.layout-centered .hf-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.block-hero-funnel.layout-centered .hf-media { margin: 0 auto; max-width: 480px; }

/* Medien */
.block-hero-funnel .hf-cover {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg, 14px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    display: block;
}
.block-hero-funnel .hf-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: var(--radius-lg, 14px);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}
.block-hero-funnel .hf-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.block-hero-funnel .hf-video-missing {
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: var(--radius-lg, 14px);
    padding: 50px 20px;
    text-align: center;
    color: #64748b;
}

/* Text */
.block-hero-funnel .hf-headline {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    margin: 0 0 18px;
    color: var(--brand-primary-dark, var(--brand-primary));
}
.block-hero-funnel .hf-desc {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-medium, #475569);
    margin-bottom: 26px;
}

/* CTA */
.block-hero-funnel .hf-cta {
    font-size: 1.1rem;
    padding: 15px 32px;
}
.block-hero-funnel .hf-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 420px;
}
.block-hero-funnel.layout-centered .hf-form,
.block-hero-funnel.media-none .hf-form { margin: 0 auto; }
.block-hero-funnel .funnel-input {
    padding: 14px 16px;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm, 8px);
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}
.block-hero-funnel .funnel-input:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}
.block-hero-funnel .hf-cta[type="submit"] { width: 100%; }
.block-hero-funnel .funnel-hp { position: absolute; left: -9999px; }
.block-hero-funnel .hf-msg { font-size: 0.9rem; min-height: 1.2em; }
.block-hero-funnel .hf-trust {
    margin-top: 14px;
    font-size: 0.85rem;
    color: var(--text-medium, #64748b);
}
.block-hero-funnel .hf-admin-warn {
    margin-top: 14px;
    font-size: 0.85rem;
    background: #fee2e2;
    color: #991b1b;
    padding: 8px 12px;
    border-radius: 6px;
    display: inline-block;
}
.block-hero-funnel .hf-setup-hint {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    color: #92400e;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
}

/* Popup-Modal */
.block-hero-funnel .hf-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.block-hero-funnel .hf-modal[style*="flex"] { display: flex !important; }
.block-hero-funnel .funnel-modal-inner {
    background: #fff;
    border-radius: 14px;
    max-width: 460px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    padding: 32px;
    position: relative;
    text-align: center;
}
.block-hero-funnel .funnel-modal-close {
    position: absolute;
    top: 12px; right: 16px;
    background: none; border: none;
    font-size: 28px; cursor: pointer;
    color: #999; line-height: 1;
}
.block-hero-funnel .hf-modal-cover {
    max-height: 140px;
    border-radius: 8px;
    margin: 0 auto 16px;
    display: block;
}
.block-hero-funnel .hf-modal .funnel-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

/* Responsive: einspaltig auf Mobil */
@media (max-width: 768px) {
    .block-hero-funnel.layout-split .hf-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .block-hero-funnel.layout-split .hf-media { order: -1; max-width: 360px; margin: 0 auto; }
    .block-hero-funnel.layout-split .hf-form { margin: 0 auto; }
    .block-hero-funnel { padding: 40px 0; }
}
