
/* ---- Toggle Liste / Feed (nur Mobile) ---- */
@media (max-width:980px){
  .ix-reels-switch{display:flex;gap:0;margin:0 16px 14px;border:1px solid #1A1D24}
  .ix-reels-switch button{flex:1;padding:11px 0;background:#fff;color:#1A1D24;border:0;font:700 11px/1 'Inter',sans-serif;letter-spacing:.14em;text-transform:uppercase;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:7px}
  .ix-reels-switch button.active{background:#1A1D24;color:#fff}
  .ix-reels-switch svg{width:15px;height:15px}
}
@media (min-width:981px){ .ix-reels-switch,.ix-reels-stories{display:none} }

/* ---- Objekt-Stories (Hinführung in den Feed) ---- */
.ix-reels-stories{margin:2px 0 16px}
.ix-reels-stories-kick{font:600 10px/1 'Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;color:#9b9b9b;padding:0 16px;margin-bottom:10px}
.ix-reels-stories-row{display:flex;gap:13px;overflow-x:auto;padding:2px 16px 4px;scrollbar-width:none}
.ix-reels-stories-row::-webkit-scrollbar{display:none}
.ix-story{flex:0 0 auto;width:62px;background:transparent;border:0;padding:0;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:6px}
.ix-story .ring{width:60px;height:60px;border-radius:50%;background:#eee center/cover no-repeat;border:2px solid #1A1D24;box-shadow:inset 0 0 0 2px #fff}
.ix-story small{font:500 10px/1.15 'Inter',sans-serif;color:#1A1D24;max-width:60px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
.ix-story.start .ring{background:#BC2E2B;border-color:#BC2E2B;box-shadow:none;display:flex;align-items:center;justify-content:center;animation:ixstartpulse 2.1s ease-out infinite}
.ix-story.start .ring .ic svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.ix-story.start small{color:#BC2E2B}
/* Home-Variante: als eigener Block direkt unter der Hero */
.ix-reels-stories--home{margin:0;padding:18px 0 10px;background:#fff;border-bottom:1px solid #efeae1}
.ix-reels-stories--home .ix-reels-stories-kick{color:#7a7a7a}
@keyframes ixstartpulse{0%{box-shadow:0 0 0 0 rgba(188,46,43,.45)}70%,100%{box-shadow:0 0 0 9px rgba(188,46,43,0)}}

/* ---- Feed-Overlay ---- */
.ix-reels{position:fixed;inset:0;z-index:100000;background:#000;display:none;font-family:'Inter',-apple-system,sans-serif}
.ix-reels.open{display:block}
html.ix-reels-lock,body.ix-reels-lock{overflow:hidden!important}
.ix-reels-scroll{position:absolute;inset:0;overflow-y:scroll;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.ix-reels-scroll::-webkit-scrollbar{display:none}

.ix-reel{position:relative;height:100vh;height:100dvh;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#15171c}
.ix-reel-img{position:absolute;inset:0;background-size:cover;background-position:center;background-repeat:no-repeat}
/* Horizontale Galerie pro Objekt */
.ix-reel-gal{position:absolute;inset:0;z-index:1;display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.ix-reel-gal::-webkit-scrollbar{display:none}
.ix-reel-gslide{flex:0 0 100%;min-width:100%;height:100%;scroll-snap-align:center;scroll-snap-stop:always;background:#15171c center/cover no-repeat}
/* Service-Filler im Carousel (dezent) */
.ix-reel-gad{display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.ix-reel-gad-in{padding:0 34px;max-width:320px}
.ix-reel-gad-tag{font:700 9px/1 'Inter',sans-serif;letter-spacing:.22em;text-transform:uppercase;color:rgba(255,255,255,.42);margin-bottom:20px}
.ix-reel-gad-ic{width:54px;height:54px;border-radius:50%;margin:0 auto 18px;display:flex;align-items:center;justify-content:center}
.ix-reel-gad-ic svg{width:25px;height:25px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ix-reel-gad-t{font:700 21px/1.22 'Inter',sans-serif;color:#fff !important;margin-bottom:12px}
.ix-reel-gad-c{font:700 12px/1 'Inter',sans-serif;letter-spacing:.05em;text-transform:uppercase}
/* Foto-Punkte oben (welches Bild im Objekt) */
.ix-reel-gdots{position:absolute;top:max(34px,calc(env(safe-area-inset-top) + 26px));left:0;right:0;z-index:22;display:flex;justify-content:center;gap:5px;pointer-events:none}
.ix-reel-gdots i{width:5px;height:5px;border-radius:50%;background:rgba(255,255,255,.5);box-shadow:0 0 3px rgba(0,0,0,.45)}
.ix-reel-gdots i.on{background:#fff;width:6px;height:6px}
.ix-reel-shade{position:absolute;left:0;right:0;bottom:0;height:58%;z-index:2;pointer-events:none;background:linear-gradient(to top,rgba(0,0,0,.9) 0%,rgba(0,0,0,.84) 40%,rgba(0,0,0,.5) 66%,rgba(0,0,0,.16) 86%,transparent 100%)}
.ix-reel-shade-top{position:absolute;left:0;right:0;top:0;height:130px;background:linear-gradient(to bottom,rgba(0,0,0,.5),transparent);pointer-events:none}

/* Topbar */
.ix-reels-top{position:absolute;top:0;left:0;right:0;z-index:30;display:flex;align-items:center;justify-content:space-between;padding:max(30px,calc(env(safe-area-inset-top) + 20px)) 14px 8px}
.ix-reels-brand img{height:20px !important;max-height:20px !important;width:auto !important}
.ix-reels-brand{display:flex;align-items:center;gap:8px}
.ix-reels-brand img{height:22px;width:auto;display:block;filter:brightness(0) invert(1)}
.ix-reels-brand .wm{color:#fff;font:800 16px/1 'Inter',sans-serif;letter-spacing:.16em}
.ix-reels-brand .wm b{color:#BC2E2B}
.ix-reels-close{appearance:none;background:rgba(0,0,0,.4);border:0;color:#fff;width:36px;height:36px;border-radius:50%;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer}

/* Daumen-Aktionsleiste rechts */
.ix-reel-rail{position:absolute;right:8px;bottom:160px;z-index:25;display:flex;flex-direction:column;gap:18px;align-items:center}
.ix-reel-rail .act{display:flex;flex-direction:column;align-items:center;gap:3px;color:#fff;background:transparent;border:0;cursor:pointer;padding:0}
.ix-reel-rail .ic{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.16);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}
.ix-reel-rail .ic svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ix-reel-rail .act.primary .ic{background:#BC2E2B}
.ix-reel-rail .act small{font:500 10px/1.1 'Inter',sans-serif}
.ix-reel-rail .act.saved .ic{background:#fff}
.ix-reel-rail .act.saved .ic svg{stroke:#BC2E2B;fill:#BC2E2B}

/* Info unten links */
.ix-reel-info{position:absolute;left:0;right:72px;bottom:0;z-index:25;color:#fff;padding:24px 16px max(22px,env(safe-area-inset-bottom));text-shadow:0 1px 3px rgba(0,0,0,.7)}
.ix-reel-badge{display:inline-block;background:#BC2E2B;color:#fff;font:700 10px/1 'Inter',sans-serif;letter-spacing:.05em;padding:5px 8px;margin-bottom:9px;text-transform:uppercase}
.ix-reel-badge.ghost{background:rgba(255,255,255,.2)}
.ix-reel-loc{display:flex;align-items:center;gap:5px;font:500 12px/1.2 'Inter',sans-serif;opacity:.88;margin-bottom:4px;letter-spacing:.04em;text-transform:uppercase}
.ix-reel-loc svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:1.8}
.ix-reel-title{font:700 18px/1.28 'Inter',sans-serif;margin:0 0 10px;color:#fff !important}
.ix-reel-specs{display:flex;flex-wrap:wrap;gap:14px;font:500 12px/1 'Inter',sans-serif;opacity:.92;margin-bottom:14px}
.ix-reel-specs span{display:inline-flex;align-items:center;gap:5px}
.ix-reel-specs svg{width:14px;height:14px;stroke:#fff;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.ix-reel-price{font:800 23px/1 'Inter',sans-serif;margin-bottom:13px}
.ix-reel-price .ppm{display:inline-block;font:500 11px/1 'Inter',sans-serif;opacity:.72;margin-left:9px}
.ix-reel-cta-row{display:flex;gap:9px}
.ix-reel-cta{flex:1;text-align:center;background:#fff;color:#1A1D24;font:700 11px/1.05 'Inter',sans-serif;letter-spacing:.05em;text-transform:uppercase;padding:14px 8px;text-decoration:none;display:flex;align-items:center;justify-content:center;gap:6px;text-shadow:none}
.ix-reel-cta svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ix-reel-cta.ghost{background:rgba(20,22,27,.42);color:#fff;border:1px solid rgba(255,255,255,.55);backdrop-filter:blur(4px)}

/* Wisch-Hinweis */
.ix-reel-hint{position:absolute;left:50%;top:42%;bottom:auto;transform:translateX(-50%);z-index:24;color:#fff;text-align:center;pointer-events:none;animation:ixreelbob 1.5s ease-in-out infinite;background:rgba(0,0,0,.34);backdrop-filter:blur(2px);padding:9px 13px 7px}
.ix-reel-hint svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2;display:block;margin:0 auto 1px}
.ix-reel-hint span{font:600 10px/1 'Inter',sans-serif;letter-spacing:.04em;text-transform:uppercase}
@keyframes ixreelbob{0%,100%{transform:translateX(-50%) translateY(0)}50%{transform:translateX(-50%) translateY(-6px)}}

/* Fortschritt oben */
.ix-reel-bars{position:absolute;top:max(8px,env(safe-area-inset-top));left:14px;right:14px;z-index:26;display:flex;gap:4px}
.ix-reel-bars i{flex:1;height:3px;background:rgba(255,255,255,.3)}
.ix-reel-bars i.on{background:#fff}

/* Abschluss-Karte */
.ix-reel-end{height:100vh;height:100dvh;scroll-snap-align:start;background:#1A1D24;color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 34px}
.ix-reel-end .chk{width:54px;height:54px;border:2px solid rgba(255,255,255,.3);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.ix-reel-end .chk svg{width:26px;height:26px;stroke:#fff;fill:none;stroke-width:2}
.ix-reel-end h4{font:700 17px/1.3 'Inter',sans-serif;margin:0 0 8px;color:#fff !important}
.ix-reel-end p{font:400 13px/1.55 'Inter',sans-serif;opacity:.7;margin:0 0 22px;max-width:280px}
.ix-reel-end a{background:#BC2E2B;color:#fff;font:700 11px/1 'Inter',sans-serif;letter-spacing:.06em;text-transform:uppercase;padding:13px 22px;text-decoration:none}

/* ---- Eigenwerbung / House-Ads im Feed ---- */
.ix-reel-ad{background:#15171c;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.ix-ad-glow{position:absolute;inset:0;opacity:.5;pointer-events:none}
.ix-ad-tag{position:absolute;top:max(22px,calc(env(safe-area-inset-top) + 14px));left:0;right:0;z-index:2;font:700 10px/1 'Inter',sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.5)}
.ix-ad-inner{position:relative;z-index:2;padding:0 32px;max-width:350px}
.ix-ad-ic{width:64px;height:64px;border-radius:50%;margin:0 auto 22px;display:flex;align-items:center;justify-content:center}
.ix-ad-ic svg{width:29px;height:29px;stroke:#fff;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ix-ad-kick{font:700 11px/1 'Inter',sans-serif;letter-spacing:.16em;text-transform:uppercase;margin-bottom:13px}
.ix-ad-title{font:800 27px/1.16 'Inter',sans-serif;color:#fff !important;margin:0 0 14px;letter-spacing:-.01em}
.ix-ad-sub{font:400 14px/1.6 'Inter',sans-serif;color:rgba(255,255,255,.78);margin:0 0 26px}
.ix-ad-cta{display:inline-block;color:#fff;font:700 12px/1 'Inter',sans-serif;letter-spacing:.05em;text-transform:uppercase;padding:15px 26px;text-decoration:none}
.ix-reel-loader{height:40dvh;display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6);font:500 12px/1 'Inter',sans-serif;letter-spacing:.1em}

/* ---- Mobile-Aufräumen: störende Floater auf dem Immobilien-Archiv ausblenden (Plugin lädt nur hier) ---- */
@media (max-width:980px){
  #ixLindaBubble,#ixLindaWin,#ixWaBubble,
  .rh_wrapper_floating_features,.rh_floating_compare_button,
  .ixf-social,.ix-footer-social{display:none !important}
}
/* Sicherheitsnetz: bei offenem Feed JEDES Site-Chrome unter dem Overlay verstecken */
body.ix-reels-lock #ixLindaBubble,body.ix-reels-lock #ixLindaWin,body.ix-reels-lock #ixWaBubble,
body.ix-reels-lock .rh_wrapper_floating_features{display:none !important}
