/* HB Photography – „Der Studiotisch erwacht“ als Kino-Szene. Wird nur aktiv, wenn hb-cinema.js die Klasse .hb-cine setzt. */
.hb-cine{--cine-dark:#08110d;--cine-gold:#C9A96E;--cine-cream:#F7F4EE;--w:min(52vw,104vh);position:relative;padding:0!important;background:var(--cine-cream)}
.hb-cine>.studio-story__layout{display:none}
.hb-cine__track{position:relative;height:620vh}
.hb-cine__stage{position:sticky;top:0;height:100vh;height:100svh;overflow:hidden;background:var(--cine-cream);color:var(--cine-cream);contain:layout paint}
.hb-cine__stage>*{position:absolute}
.hb-cine__dark{inset:0;background:radial-gradient(120% 90% at 60% 45%,#16261f 0,#0c1712 45%,var(--cine-dark) 100%);opacity:0;will-change:opacity}
.hb-cine__glow{inset:0;background:radial-gradient(60vmax 44vmax at var(--cx,60%) 52%,rgba(255,240,208,.20),transparent 70%);opacity:0;will-change:opacity}

/* Lichtkegel */
.hb-cine__beam{top:-12vh;width:80vmax;height:150vh;opacity:0;will-change:transform,opacity;pointer-events:none;-webkit-mask:linear-gradient(#000 0,#000 40%,transparent 88%);mask:linear-gradient(#000 0,#000 40%,transparent 88%)}
.hb-cine__beam--l{left:calc(var(--cx,60%) - 46.4vmax - 4vw);transform-origin:12% 0;background:conic-gradient(from 136deg at 12% 0,transparent 0deg,rgba(255,238,200,.42) 11deg,rgba(255,238,200,.5) 18deg,rgba(255,238,200,.42) 25deg,transparent 36deg,transparent 360deg)}
.hb-cine__beam--r{left:calc(var(--cx,60%) + 4vw - 33.6vmax);transform-origin:88% 0;background:conic-gradient(from 188deg at 88% 0,transparent 0deg,rgba(255,244,222,.4) 11deg,rgba(255,244,222,.48) 18deg,rgba(255,244,222,.4) 25deg,transparent 36deg,transparent 360deg)}

/* Das Bild auf dem Studiotisch */
.hb-cine__set{left:var(--cx,60%);top:50%;width:var(--w);aspect-ratio:1.5;margin:calc(var(--w)/-3) 0 0 calc(var(--w)/-2);will-change:transform,opacity;opacity:0}
.hb-cine__frame{position:absolute;inset:0;overflow:hidden;background:#fff;box-shadow:0 40px 90px -30px rgba(0,0,0,.75)}
.hb-cine__zoom{position:absolute;inset:0;will-change:transform}
.hb-cine__zoom img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}
.hb-cine__zoom img.is-soft{filter:blur(16px);transform:scale(1.04);will-change:opacity}
.hb-cine__shade{position:absolute;inset:-1px;will-change:opacity;pointer-events:none}
.hb-cine__shade--l{background:linear-gradient(90deg,rgba(8,17,13,.97) 0,rgba(8,17,13,.97) 35%,rgba(8,17,13,.55) 100%)}
.hb-cine__shade--r{background:linear-gradient(270deg,rgba(8,17,13,.97) 0,rgba(8,17,13,.97) 35%,rgba(8,17,13,.55) 100%)}
.hb-cine__glint{position:absolute;inset:-20% -40%;background:linear-gradient(105deg,transparent 44%,rgba(255,255,255,.9) 50%,transparent 56%);mix-blend-mode:screen;transform:translateX(-80%);will-change:transform;pointer-events:none}
.hb-cine__stamp{position:absolute;left:0;top:calc(100% + 12px);font:600 10px/1 Arial,Helvetica,sans-serif;letter-spacing:.24em;color:var(--cine-gold);opacity:0;white-space:nowrap}

/* Sucher */
.hb-cine__vf{left:var(--cx,60%);top:50%;width:calc(var(--w)*1.12);aspect-ratio:1.42;margin:calc(var(--w)*-.394) 0 0 calc(var(--w)*-.56);opacity:0;will-change:transform,opacity;pointer-events:none;font:600 10px/1 Arial,Helvetica,sans-serif;letter-spacing:.2em;color:var(--cine-gold)}
.hb-cine__vf i{position:absolute;width:38px;height:38px;border:0 solid var(--cine-gold)}
.hb-cine__vf i:nth-child(1){left:0;top:0;border-left-width:1.5px;border-top-width:1.5px}
.hb-cine__vf i:nth-child(2){right:0;top:0;border-right-width:1.5px;border-top-width:1.5px}
.hb-cine__vf i:nth-child(3){left:0;bottom:0;border-left-width:1.5px;border-bottom-width:1.5px}
.hb-cine__vf i:nth-child(4){right:0;bottom:0;border-right-width:1.5px;border-bottom-width:1.5px}
.hb-cine__grid{position:absolute;inset:5%;background:linear-gradient(90deg,transparent calc(33.33% - .5px),rgba(201,169,110,.28) calc(33.33% - .5px),rgba(201,169,110,.28) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.66% - .5px),rgba(201,169,110,.28) calc(66.66% - .5px),rgba(201,169,110,.28) calc(66.66% + .5px),transparent calc(66.66% + .5px)),linear-gradient(0deg,transparent calc(33.33% - .5px),rgba(201,169,110,.28) calc(33.33% - .5px),rgba(201,169,110,.28) calc(33.33% + .5px),transparent calc(33.33% + .5px),transparent calc(66.66% - .5px),rgba(201,169,110,.28) calc(66.66% - .5px),rgba(201,169,110,.28) calc(66.66% + .5px),transparent calc(66.66% + .5px))}
.hb-cine__cross{position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border:1px solid rgba(201,169,110,.7);border-radius:50%;will-change:transform}
.hb-cine__cross::before,.hb-cine__cross::after{content:"";position:absolute;background:var(--cine-gold)}
.hb-cine__cross::before{left:50%;top:-10px;bottom:-10px;width:1px;margin-left:-.5px;-webkit-mask:linear-gradient(#000 0 22%,transparent 22% 78%,#000 78%);mask:linear-gradient(#000 0 22%,transparent 22% 78%,#000 78%)}
.hb-cine__cross::after{top:50%;left:-10px;right:-10px;height:1px;margin-top:-.5px;-webkit-mask:linear-gradient(90deg,#000 0 22%,transparent 22% 78%,#000 78%);mask:linear-gradient(90deg,#000 0 22%,transparent 22% 78%,#000 78%)}
.hb-cine__vf b{position:absolute;font-weight:600;white-space:nowrap}
.hb-cine__vf .is-tl{left:52px;top:4px}
.hb-cine__vf .is-tr{right:52px;top:4px}
.hb-cine__vf .is-bl{left:52px;bottom:4px}
.hb-cine__vf .is-br{right:52px;bottom:4px}
.hb-cine__rec{opacity:0}
.hb-cine__rec::before{content:"";display:inline-block;width:7px;height:7px;margin-right:8px;border-radius:50%;background:#d8553f;vertical-align:1px;animation:hb-cine-blink 1s steps(2) infinite}
@keyframes hb-cine-blink{50%{opacity:.15}}

/* Verschluss + Blitz */
.hb-cine__iris{inset:0;width:100%;height:100%;pointer-events:none;visibility:hidden}
.hb-cine__flash{inset:0;background:#fff;opacity:0;pointer-events:none;will-change:opacity}

/* Shop-Karte im Finale */
.hb-cine__shop{left:var(--cx,60%);top:50%;width:calc(var(--w)*1.1);height:calc(var(--w)*.74);margin:calc(var(--w)*-.37) 0 0 calc(var(--w)*-.55);background:#fff;color:#1F3B30;box-shadow:0 40px 80px -40px rgba(31,59,48,.45);border:1px solid rgba(201,169,110,.5);opacity:0;will-change:transform,opacity;padding:calc(var(--w)*.035);display:grid;grid-template-rows:auto 1fr}
.hb-cine__shop .studio-shopbar{color:#1F3B30}
.hb-cine__shopinfo{align-self:center;justify-self:end;width:36%;padding-left:2%}
.hb-cine__shopinfo small{display:block;font:600 9px/1.3 Arial,Helvetica,sans-serif;letter-spacing:.14em;color:#9b885f}
.hb-cine__shopinfo h3,.hb-cine__shopinfo .studio-shop-title{margin:8px 0 14px;font:400 clamp(17px,calc(var(--w)*.042),30px)/1.08 Georgia,'Times New Roman',serif;color:#1F3B30}
.hb-cine__shopinfo button{width:100%;border:0;background:#1F3B30;color:#fff;padding:12px 6px;font:600 9px/1 Arial,Helvetica,sans-serif;letter-spacing:.1em}

/* Titelkarte */
.hb-cine__title{inset:0;display:grid;place-content:center;justify-items:center;text-align:center;padding:14vh 6vw;will-change:transform,opacity;color:#1F3B30;transition:color .5s ease}
.hb-cine__title .eyebrow{margin:0 0 22px;color:#9b885f;letter-spacing:.3em}
.hb-cine__title .eyebrow::after{display:none!important}
.hb-cine__title h2{margin:0;max-width:none;font:400 clamp(40px,6.4vw,104px)/1.02 Georgia,'Times New Roman',serif;color:inherit!important;letter-spacing:-.01em}
.hb-cine__title h2 em{color:var(--cine-gold)!important}
.hb-cine__title p:not(.eyebrow){margin:26px 0 0;max-width:520px;font-size:18px;color:inherit;opacity:.8}
.hb-cine.is-dark .hb-cine__title{color:var(--cine-cream)}
.hb-cine__hint{left:50%;bottom:11vh;transform:translateX(-50%);font:600 10px/1 Arial,Helvetica,sans-serif;letter-spacing:.3em;color:#9b885f;display:grid;justify-items:center;gap:12px;will-change:opacity}
.hb-cine__hint::after{content:"";width:1px;height:44px;background:linear-gradient(var(--cine-gold),transparent);animation:hb-cine-hint 1.8s cubic-bezier(.6,0,.2,1) infinite;transform-origin:top}
@keyframes hb-cine-hint{0%{transform:scaleY(0)}60%{transform:scaleY(1);opacity:1}100%{transform:scaleY(1);opacity:0}}

/* Untertitel zu jeder Szene */
.hb-cine__caps{left:6vw;top:50%;width:min(26vw,360px);height:0}
.hb-cine .studio-story__step{position:absolute;left:0;top:0;width:100%;min-height:0;padding:0;display:block;opacity:0;transform:translateY(calc(-50% + 34px));filter:blur(8px);transition:opacity .55s ease,transform .8s cubic-bezier(.2,.7,.1,1),filter .6s ease;color:var(--cine-cream);text-shadow:none;pointer-events:none}
.hb-cine .studio-story__step.is-on{opacity:1;transform:translateY(-50%);filter:blur(0);transition-delay:.12s}
.hb-cine .studio-story__step.is-gone{transform:translateY(calc(-50% - 34px))}
.hb-cine .studio-story__step>span{display:block;font:400 clamp(72px,9vw,150px)/.9 Georgia,'Times New Roman',serif;color:transparent;-webkit-text-stroke:1px var(--cine-gold);letter-spacing:-.02em}
.hb-cine .studio-story__step>p{margin:22px 0 14px;font:600 11px/1 Arial,Helvetica,sans-serif;letter-spacing:.32em;color:var(--cine-gold);display:flex;align-items:center;gap:14px}
.hb-cine .studio-story__step>p::before{content:"";width:34px;height:1px;background:var(--cine-gold)}
.hb-cine .studio-story__step h3{margin:0 0 14px;font:400 clamp(28px,3vw,46px)/1.08 Georgia,'Times New Roman',serif;color:inherit!important;transition:color .5s ease}
.hb-cine .studio-story__step small{display:block;max-width:320px;font-size:16px;line-height:1.6;color:inherit;opacity:.72}
.hb-cine.is-light .studio-story__step{color:#1F3B30}
.hb-cine.is-light .studio-story__step>span{-webkit-text-stroke-color:#9b885f}

/* Kinobalken, Anzeige unten, Filmkorn */
.hb-cine__bar{left:0;right:0;height:8vh;background:#000;will-change:transform;z-index:3}
.hb-cine__bar--t{top:0;transform:translateY(-101%)}
.hb-cine__bar--b{bottom:0;transform:translateY(101%)}
.hb-cine__hud{left:6vw;right:6vw;bottom:calc(8vh + 22px);display:flex;align-items:center;gap:18px;font:600 10px/1 Arial,Helvetica,sans-serif;letter-spacing:.24em;color:var(--cine-gold);opacity:0;will-change:opacity;z-index:4;font-variant-numeric:tabular-nums}
.hb-cine__rail{position:relative;flex:1;height:1px;background:rgba(201,169,110,.28)}
.hb-cine__rail span{position:absolute;left:0;top:-.5px;height:2px;width:100%;background:var(--cine-gold);transform-origin:left;transform:scaleX(0);will-change:transform}
.hb-cine__rail::after{content:"";position:absolute;inset:-4px 0;background:repeating-linear-gradient(90deg,rgba(201,169,110,.6) 0 1px,transparent 1px 20%);background-position:20% 0}
.hb-cine.is-light .hb-cine__hud{color:#9b885f}
.hb-cine__grain{inset:-50%;width:200%;height:200%;opacity:0;pointer-events:none;z-index:2;mix-blend-mode:overlay;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");animation:hb-cine-grain .7s steps(5) infinite}
@keyframes hb-cine-grain{0%{transform:translate(0,0)}20%{transform:translate(-6%,4%)}40%{transform:translate(5%,-7%)}60%{transform:translate(-3%,-4%)}80%{transform:translate(7%,6%)}100%{transform:translate(0,0)}}
.hb-cine:not(.is-playing) .hb-cine__grain,.hb-cine:not(.is-playing) .hb-cine__hint::after,.hb-cine:not(.is-playing) .hb-cine__rec::before{animation-play-state:paused}

@media (max-width:820px){
  .hb-cine{--w:88vw}
  .hb-cine__stage{--cx:50%}
  .hb-cine__set{top:39%}
  .hb-cine__vf{top:39%}
  .hb-cine__shop{top:39%}
  .hb-cine__iris{top:-22%}
  .hb-cine__glow{background:radial-gradient(70vmax 40vmax at 50% 38%,rgba(255,240,208,.20),transparent 70%)}
  .hb-cine__beam{width:120vmax;top:-16vh}
  .hb-cine__beam--l{left:calc(50% - 50.4vmax)}
  .hb-cine__beam--r{left:calc(50% - 69.6vmax)}
  .hb-cine__caps{left:7vw;top:71%;width:86vw}
  .hb-cine .studio-story__step>span{font-size:54px;float:left;margin:0 16px 0 0}
  .hb-cine .studio-story__step>p{margin:10px 0 10px}
  .hb-cine .studio-story__step h3{font-size:25px;margin-bottom:8px}
  .hb-cine .studio-story__step small{font-size:14px;line-height:1.5;clear:both;padding-top:6px;max-width:none}
  .hb-cine__bar{height:5.5vh}
  .hb-cine__hud{bottom:calc(5.5vh + 64px);right:84px}
  .hb-cine__hud b:last-child{display:none}
  .hb-cine__hint{bottom:calc(5.5vh + 70px)}
  .hb-cine__vf b{font-size:8px}
  .hb-cine__vf .is-tl,.hb-cine__vf .is-bl{left:30px}
  .hb-cine__vf .is-tr,.hb-cine__vf .is-br{right:30px}
  .hb-cine__vf i{width:22px;height:22px}
  .hb-cine__cross{width:44px;height:44px;margin:-22px 0 0 -22px}
  .hb-cine__shopinfo button{padding:8px 2px;font-size:7px}
  .hb-cine__shopinfo small{font-size:7px}
  .hb-cine__title h2{font-size:clamp(38px,11vw,64px)}
}
