/* Homepage-Clips + Vertrauenskarten/FAQ-Medien + Mobile-Preis-Wabe (v=6)
   Header-Hero-Video bleibt unangetastet (hero-video.js / hero.css). */

.clip-frame{position:relative;overflow:hidden;isolation:isolate}
.clip-frame .clip-poster,
.clip-frame .clip-poster img{display:block;width:100%;height:auto}
.clip-video{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  display:block;opacity:0;transition:opacity .45s ease;
  pointer-events:none;background:transparent;
}
.clip-video.is-ready{opacity:1}

/* Anlass-Kacheln: Video füllt das Thumb, Poster bleibt als Hintergrund */
.anl-thumb{position:relative;overflow:hidden}
.anl-thumb .clip-video{z-index:0}
.anl-thumb::after{z-index:1}

/* Anlass-Seiten: Hero-Bild -> Video */
.lp-hero-media{position:relative;border-radius:20px;overflow:hidden;box-shadow:var(--shadow-card,0 18px 40px -24px rgba(20,20,25,.35));background:#F3E4C2}
.lp-hero-media img{width:100%;height:auto;display:block;border-radius:0!important;box-shadow:none!important}
.lp-hero-media .clip-video{border-radius:0}
.lp-grid .lp-hero-media{align-self:center}

/* Vertrauenskarten: Bild/Clip oben, Inhalt darunter */
.vt-card{display:flex;flex-direction:column;overflow:hidden;transition:transform .35s ease, box-shadow .35s ease}
.vt-media{margin:-22px -22px 16px;border-radius:18px 18px 0 0;overflow:hidden;aspect-ratio:16/10;background:#FFF3D6;position:relative}
.vt-media img,.vt-media .clip-poster img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.02);transition:transform .6s ease}
@media(hover:hover){
  .vt-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px -24px rgba(60,40,5,.45)}
  .vt-card:hover .vt-media img{transform:scale(1.06)}
}
.vt-card--cta .vt-media{display:none}
.vt-card .vt-ic{margin-top:0}

/* FAQ: visuelle Kachel unter dem Titel + sanftes Aufklappen */
.faq-visual{margin-top:22px;border-radius:18px;overflow:hidden;box-shadow:0 14px 28px -22px rgba(60,40,5,.45);background:#FFF3D6}
.faq-visual img{width:100%;height:auto;display:block}
@media(min-width:1081px){.faq-visual{max-width:290px}}
#faq .faq-item{transition:transform .35s ease, box-shadow .35s ease, border-color .2s ease}
#faq .faq-item.is-in,
.vt-card.is-in,
.anl-card.is-in{animation:hc-rise .6s ease both}
@keyframes hc-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}

/* Waben-Highlight beim Öffnen bleibt in faq.css; hier nur leichte Bewegung */
#faq .faq-item[open]{transform:translateY(-1px)}

/* Mobil: WhatsApp-FAB aus (ist schon in der Bottom-Leiste). Preis-Wabe über die Leiste heben. */
@media(max-width:900px){
  html body .wa-fab{display:none!important}
  html body{padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}
}

@media(prefers-reduced-motion:reduce){
  .clip-video,.vt-media img,.vt-card,.anl-card,#faq .faq-item{transition:none!important;animation:none!important}
  .vt-card:hover .vt-media img{transform:none}
}

/* Anlass-Waben: generierte Bienenszenen statt Personenfotos (Poster als Fallback) */
html body .anl-hochzeit .anl-thumb,
html body .anl-hochzeit .anl-thumb.hex-face{
  background-image:url("/assets/video/anl-hochzeit-poster.jpg")!important;
  background-image:image-set(url("/assets/video/anl-hochzeit-poster.webp") type("image/webp"),url("/assets/video/anl-hochzeit-poster.jpg") type("image/jpeg"))!important;
  background-size:cover!important;background-position:center!important;
}
html body .anl-kindergeb .anl-thumb,
html body .anl-kindergeb .anl-thumb.hex-face{
  background-image:url("/assets/video/anl-kindergeb-poster.jpg")!important;
  background-image:image-set(url("/assets/video/anl-kindergeb-poster.webp") type("image/webp"),url("/assets/video/anl-kindergeb-poster.jpg") type("image/jpeg"))!important;
  background-size:cover!important;background-position:center!important;
}
html body .anl-firmen .anl-thumb,
html body .anl-firmen .anl-thumb.hex-face{
  background-image:url("/assets/video/anl-firmen-poster.jpg")!important;
  background-image:image-set(url("/assets/video/anl-firmen-poster.webp") type("image/webp"),url("/assets/video/anl-firmen-poster.jpg") type("image/jpeg"))!important;
  background-size:cover!important;background-position:center!important;
}
html body .anl-sommer .anl-thumb,
html body .anl-sommer .anl-thumb.hex-face{
  background-image:url("/assets/video/anl-sommer-poster.jpg")!important;
  background-image:image-set(url("/assets/video/anl-sommer-poster.webp") type("image/webp"),url("/assets/video/anl-sommer-poster.jpg") type("image/jpeg"))!important;
  background-size:cover!important;background-position:center!important;
}
html body .anl-card .anl-thumb.hex-face{overflow:hidden}
html body .anl-thumb .clip-video{z-index:0;width:100%;height:100%}

/* Occasion-Seiten: WhatsApp in der Bottom-Leiste (wie Startseite), FAB aus */
@media(max-width:900px){
  html body .mobile-cta .mc-wa{flex:0 0 52px;width:52px;height:52px;border-radius:14px;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;text-decoration:none}
  html body .mobile-cta .mc-wa svg{width:26px;height:26px}
}

@media(min-width:901px){html body .mobile-cta .mc-wa{display:none}}

/* Slogan unter der Footer-Wortmarke (Stil wie App include_logo.xml, Farbe #FFC928 auf dunklem Footer) */
footer.mini .ft-lockup{display:flex;flex-direction:column;justify-content:center;gap:2px}
footer.mini .ft-logo .ft-mark{margin:0}
footer.mini .ft-tagline{display:block;font-family:Poppins,Lexend,system-ui,sans-serif;font-weight:700;font-size:.62rem;letter-spacing:.16em;text-transform:uppercase;color:#FFC928;line-height:1.25;margin:2px 0 0}


/* ===== Mobil/Tablet-Hero bis 1100 px (26.11. / Update 27.11.2026) =====
   Text und CTA im normalen Fluss, darunter die Box mit EINER vollständigen
   Biene und der Preis-Wabe als Badge an der Box-Ecke. Kein Text-Überlapp,
   keine angeschnittenen Hintergrund-Bienen, kein milchiger Verlauf.
   Leichtes Hero-Video unter gleichmäßigem Creme-Schleier (kein L-R-Veil).
   Desktop (≥ 1101 px) bleibt unverändert. */
@media (max-width:1100px){
  html body .hero{
    padding:12px 0 28px!important;
    min-height:0!important;
    background:#FFFBF3!important;
    overflow-x:clip!important;
    overflow-y:visible!important;
  }
  /* Leichte Mobile-Variante: Video spielt unter gleichmäßigem Creme-Schleier
     (kein Verlauf/Schleier, keine angeschnittenen Bienen als Hauptmotiv).
     Typo bleibt dunkel und lesbar. Poster bleibt unsichtbar. */
  html body .hero .hero-bg img,
  html body .hero .hero-bg picture,
  html body .hero .hero-bg picture img{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }
  html body .hero .hero-bg video.hero-video{
    display:block!important;
    visibility:visible!important;
    opacity:0!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    top:0!important;
    left:0!important;
    object-fit:cover!important;
    object-position:60% 40%!important;
    pointer-events:none!important;
    z-index:0!important;
  }
  html body .hero .hero-bg video.hero-video.is-ready{
    opacity:1!important;
  }
  html body .hero .hero-bg::after{
    background:rgba(255,251,243,.82)!important;
    opacity:1!important;
    inset:0!important;
    -webkit-mask-image:none!important;
            mask-image:none!important;
  }
  html body .hero .hero-photo,
  html body .hero .hero-photo-mobile{display:none!important}

  html body .hero .hero-grid,
  html body .hero .wrap.hero-grid{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
    grid-template-areas:none!important;
    gap:8px!important;
    align-items:stretch!important;
    min-height:0!important;
  }
  html body .hero .hero-left{display:contents!important}
  html body .hero .hero-rest{display:contents!important}

  html body .hero .hero-lead{
    order:1!important;
    position:relative!important;
    z-index:4!important;
    margin:0!important;
    padding:0!important;
    background:none!important;
  }
  html body .hero .hero-cta,
  html body .hero .hero-reassure{
    order:2!important;
    position:relative!important;
    z-index:4!important;
  }
  html body .hero .hero-cta{flex-direction:column;margin-top:14px!important}
  html body .hero .hero-cta .btn{width:100%}

  html body .hero .hero-stage{
    order:3!important;
    position:relative!important;
    z-index:2!important;
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    min-height:0!important;
    margin:8px 0 12px!important;
    padding:52px 12px 32px!important;
    overflow:visible!important;
    background:none!important;
  }
  html body .hero .hero-stage::before{display:none!important;content:none!important}
  html body .hero .hero-stage::after{
    left:50%!important;
    transform:translateX(-50%)!important;
    width:40%!important;
    height:22px!important;
    bottom:14px!important;
  }

  html body .hero .hero-box{
    position:relative!important;
    left:auto!important;
    right:auto!important;
    top:auto!important;
    bottom:auto!important;
    transform:none!important;
    translate:none!important;
    display:block!important;
    height:min(68vw,340px)!important;
    width:auto!important;
    max-width:min(280px,80vw)!important;
    margin:0 auto!important;
    z-index:2!important;
  }

  html body .hero .hero-bee-layer{
    display:block!important;
    position:absolute!important;
    width:100px!important;
    max-width:28vw!important;
    left:calc(50% + 36px)!important;
    right:auto!important;
    top:4px!important;
    z-index:4!important;
    pointer-events:none!important;
    overflow:visible!important;
  }
  html body .hero .hero-bee-layer .hero-bee{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:none!important;
    transform:rotate(6deg);
  }

  html body .hero .price-card{
    position:absolute!important;
    left:calc(50% - 156px)!important;
    bottom:24px!important;
    width:124px!important;
    z-index:5!important;
    margin:0!important;
  }

  html body .hero .hero-right{
    order:4!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  html body .hero .usp,
  html body .hero .price-side,
  html body .hero .hero-note{
    order:5!important;
    position:relative!important;
    z-index:3!important;
  }
}
@media (max-width:430px){
  html body .hero .hero-box{height:min(72vw,320px)!important;max-width:min(260px,78vw)!important}
  html body .hero .price-card{width:100px!important;left:calc(50% - 148px)!important;bottom:18px!important}
  html body .hero .hero-bee-layer{width:80px!important;left:calc(50% + 36px)!important}
  html body .hero .hero-stage{padding:36px 8px 24px!important}
  html body .hero .hero-cta{margin-top:10px!important}
}
@media (min-width:701px) and (max-width:1100px){
  html body .hero .hero-box{height:360px!important;max-width:280px!important}
  html body .hero .hero-bee-layer{width:112px!important;left:calc(50% + 48px)!important;top:2px!important}
  html body .hero .price-card{width:132px!important;left:calc(50% - 176px)!important;bottom:28px!important}
  html body .hero .hero-stage{padding:56px 16px 36px!important}
  html body .hero .hero-cta{flex-direction:row;flex-wrap:wrap}
  html body .hero .hero-cta .btn{width:auto;flex:1 1 200px}
}


/* Neue Clips 27.11.2026: Trust, FAQ-Gästebuch, Hex-Szenen, Foto-Bänder, Magenta-App-Bienen */
.vt-media.clip-frame .clip-poster,
.vt-media.clip-frame .clip-poster img{width:100%;height:100%;object-fit:cover;display:block}
.vt-media.clip-frame .clip-video{z-index:1}

html body .hex-cell--photo .hex-face.clip-frame{position:relative;overflow:hidden}
html body .hex-cell--photo .clip-poster,
html body .hex-cell--photo .clip-poster img{display:block;width:100%;height:100%;object-fit:cover}
html body .hex-cell--photo .clip-video{z-index:0}

.photo-band.clip-frame{position:relative;overflow:hidden;line-height:0}
.photo-band.clip-frame .clip-poster img{width:100%;height:auto;display:block;aspect-ratio:1280/640;object-fit:cover}
.photo-band.clip-frame .clip-video{z-index:0}

.bee-magenta-sec{padding:48px 0 28px;background:#FFFBF3}
.bee-magenta-head{text-align:center;max-width:640px;margin:0 auto 22px}
.bee-magenta-head h2{font-family:"Baloo 2","Trebuchet MS",sans-serif;font-size:clamp(1.45rem,3vw,2rem);color:#231a02;margin:8px 0 10px}
.bee-magenta-head p{margin:0;color:#6a6f76;font-size:1.02rem}
.bee-magenta-grid{list-style:none;margin:0 auto;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:16px;max-width:920px}
.bee-magenta-grid .clip-frame{border-radius:24px;overflow:hidden;background:#e1046b;box-shadow:0 16px 32px -22px rgba(120,0,50,.45)}
.bee-magenta-grid .clip-poster img{width:100%;height:auto;display:block;aspect-ratio:1;object-fit:cover}
@media (max-width:700px){
  .bee-magenta-grid{grid-template-columns:1fr;max-width:360px;gap:12px}
}
@media (prefers-reduced-motion:reduce){
  .bee-magenta-grid .clip-video{display:none}
}


/* FAQ-Zierbiene (Fragezeichen) nicht über das Gästebuch-Clip legen */
@media (min-width:1081px){
  html body #faq img.fb-bee--faq{display:none!important}
}
