/* Fullscreen-Breakout: unabhängig vom Semplice-Grid, kein Offset nötig */
.ts-hero{
  --ts-hero-overlay:.3;--ts-hero-offset:0px;
  --ts-font-head:"Didot","2E75FA 1 0","2E75FA 1 unhinted 0","Bodoni 72",serif;
  --ts-font-text:"Inter",sans-serif;
  position:relative;
  width:100vw;max-width:100vw;
  left:50%;margin-left:-50vw;
  height:calc(100vh - var(--ts-hero-offset));
  height:calc(100svh - var(--ts-hero-offset));
  min-height:420px;
  overflow:hidden;background:#000;color:#fff;
}
.ts-hero *{box-sizing:border-box}
.ts-hero .ts-hero-track{position:absolute;inset:0}
.ts-hero .ts-hero-slide{position:absolute;inset:0;opacity:0;transition:opacity 1s ease}
.ts-hero .ts-hero-slide.is-active{opacity:1}
.ts-hero .ts-hero-img{position:absolute;inset:0;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover;display:block}

/* Variante: Schieben */
.ts-hero[data-effect="slide"] .ts-hero-track{display:flex;transition:transform .9s cubic-bezier(.65,0,.35,1)}
.ts-hero[data-effect="slide"] .ts-hero-slide{position:relative;flex:0 0 100%;opacity:1;transition:none}

.ts-hero .ts-hero-shade{position:absolute;inset:0;background:#000;opacity:var(--ts-hero-overlay);pointer-events:none}

.ts-hero .ts-hero-content{
  position:absolute;inset:0;z-index:2;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:clamp(24px,5vw,80px);
}
.ts-hero .ts-hero-kicker{margin:0 0 14px!important;padding:0!important;font-family:var(--ts-font-text)!important;font-size:clamp(16px,1.6vw,22px)!important;font-weight:300!important;line-height:1.3!important;letter-spacing:.01em!important;text-transform:none!important;color:#fff!important}
.ts-hero .ts-hero-title{margin:0 0 clamp(18px,2.2vw,30px)!important;padding:0!important;max-width:14em;overflow-wrap:break-word;font-family:var(--ts-font-head)!important;font-size:clamp(44px,8vw,128px)!important;font-weight:400!important;font-style:normal!important;line-height:1!important;letter-spacing:0!important;text-transform:none!important;color:#fff!important}
.ts-hero .ts-hero-title em{font-style:italic!important}
.ts-hero .ts-hero-text{margin:0 0 clamp(20px,2.2vw,32px)!important;padding:0!important;max-width:34em;font-family:var(--ts-font-text)!important;font-size:clamp(14px,1.2vw,16px)!important;font-weight:300!important;line-height:1.5!important;letter-spacing:.01em!important;color:#fff!important}
.ts-hero .ts-hero-btn{display:inline-block;padding:12px 32px!important;border-radius:999px;background:#fff!important;color:#000!important;text-decoration:none!important;font-family:var(--ts-font-text)!important;font-size:16px!important;font-weight:400!important;line-height:1.2!important;border:0!important}

.ts-hero .ts-hero-dots{position:absolute;left:0;right:0;bottom:28px;z-index:3;display:flex;justify-content:center;gap:10px}
.ts-hero .ts-hero-dot{width:8px;height:8px;padding:0;border:1px solid #fff;border-radius:50%;background:none;cursor:pointer}
.ts-hero .ts-hero-dot.on{background:#fff}

@media (prefers-reduced-motion:reduce){
  .ts-hero .ts-hero-slide,.ts-hero[data-effect="slide"] .ts-hero-track{transition:none}
}

/* ---------- Video-Hero (mode=video) ---------- */
.ts-vhero{position:relative;background:#050505}
.ts-vhero-stage{position:sticky;top:0;height:100svh;overflow:hidden;background:#050505}
.ts-vhero-poster,.ts-vhero-video,.ts-vhero-swap{position:absolute;inset:0;width:100%;height:100%}
.ts-vhero-poster{object-fit:cover;z-index:1;transition:opacity .8s cubic-bezier(.22,1,.26,1)}
.ts-vhero-poster.is-off{opacity:0}
.ts-vhero-video{object-fit:cover;z-index:2}
.ts-vhero-veil{position:absolute;inset:0;z-index:3;pointer-events:none;background:radial-gradient(135% 100% at 50% 50%,transparent 62%,rgba(0,0,0,calc(var(--ts-vh-veil,.18)*1.6)) 100%)}
.ts-vhero-swap{z-index:4;opacity:0;pointer-events:none;background:#010101}
.ts-vhero-swap img{width:100%;height:100%;object-fit:contain;display:block;transform:translate(calc(var(--ts-vh-ax,0%) + var(--ts-vh-ox,0%)),calc(var(--ts-vh-ay,0%) + var(--ts-vh-oy,0%))) scale(var(--ts-vh-endscale,.7));transform-origin:50% 50%}
.ts-vhero-swap::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(252,252,251,var(--ts-vh-swapveil,.1)) 0,transparent 20%,transparent 80%,rgba(252,252,251,var(--ts-vh-swapveil,.1)) 100%)}
.ts-vhero-lock{position:absolute;left:0;right:0;top:50%;transform:translate3d(0,-50%,0);z-index:6;
  display:grid;justify-items:center;gap:clamp(18px,3vh,40px);pointer-events:none;color:#f6f4f1;
  padding:0 clamp(16px,4vw,64px)}
.ts-vhero-title{display:flex;justify-content:center;align-items:baseline;white-space:nowrap;
  gap:clamp(14px,3.6vw,64px);margin:0;font-family:var(--ts-font-head,inherit);font-weight:400;
  font-size:clamp(40px,var(--ts-vh-vw,9.4vw),var(--ts-vh-size,164px));line-height:.92;letter-spacing:var(--ts-vh-track,.015em)}
.ts-vhero-title span{display:block;will-change:transform,opacity}
.ts-vhero-title em{font-style:italic}
.ts-vhero-whisper{overflow:hidden;margin:0;padding-bottom:.2em}
.ts-vhero-whisper i{display:block;font-style:normal;font-family:var(--ts-font-text,inherit);
  font-size:clamp(11px,1.15vw,16px);letter-spacing:.42em;text-transform:uppercase;
  transform:translateY(130%);will-change:transform}
.ts-vhero-cue{position:absolute;left:50%;bottom:clamp(22px,4vh,46px);transform:translateX(-50%);z-index:6;
  display:grid;justify-items:center;gap:9px;color:#f6f4f1;font-family:var(--ts-font-text,inherit)}
.ts-vhero-cue span{font-size:10px;letter-spacing:.3em;text-transform:uppercase;opacity:.6}
.ts-vhero-cue b{display:block;width:1px;height:34px;background:linear-gradient(#f6f4f1,transparent)}
.ts-vhero-cards{position:absolute;left:50%;bottom:0;transform:translateX(-50%);z-index:7;
  width:min(100% - 2*clamp(16px,4vw,64px),760px);display:grid;gap:clamp(8px,1.1vw,16px);
  padding-bottom:clamp(20px,3.6vh,44px)}
.ts-vhero-cards figure{position:relative;overflow:hidden;background:#e7e7e5;aspect-ratio:16/11;
  margin:0;opacity:0;transform:translateY(46px);will-change:transform,opacity}
.ts-vhero-cards img{width:100%;height:100%;object-fit:cover;display:block}
.ts-vhero-cards figcaption{position:absolute;left:0;right:0;bottom:0;padding:9px 11px;
  font-family:var(--ts-font-text,inherit);font-size:10px;letter-spacing:.22em;text-transform:uppercase;
  color:#1a1a1a;background:linear-gradient(transparent,rgba(255,255,255,.86))}
@media (max-width:760px){
  .ts-vhero-title{gap:clamp(10px,3vw,30px)}
  .ts-vhero-cards{padding-bottom:16px}
}
.ts-vhero.is-static .ts-vhero-cards figure,
.ts-vhero.is-static .ts-vhero-whisper i{opacity:1;transform:none}
.ts-vhero.is-static .ts-vhero-poster{opacity:1}

/* ---------- Semplice-Overrides fuer den Video-Hero ---------- */
.ts-vhero-title{margin:0!important;padding:0!important;max-width:none!important;
  font-family:var(--ts-font-head)!important;font-size:clamp(40px,var(--ts-vh-vw,9.4vw),var(--ts-vh-size,164px))!important;
  font-weight:400!important;font-style:normal!important;line-height:.92!important;
  letter-spacing:var(--ts-vh-track,.015em)!important;text-transform:none!important;color:inherit!important}
.ts-vhero-title span{font:inherit!important;color:inherit!important;margin:0!important;padding:0!important}
.ts-vhero-title em{font-style:italic!important;font-family:inherit!important;font-size:inherit!important}
.ts-vhero-whisper{margin:0!important;padding:0 0 .2em!important}
.ts-vhero-whisper i{font-family:var(--ts-font-text,inherit)!important;
  font-size:clamp(11px,1.15vw,16px)!important;letter-spacing:.42em!important;
  text-transform:uppercase!important;font-style:normal!important;line-height:1.3!important;color:inherit!important}
.ts-vhero-cue span{font-family:var(--ts-font-text,inherit)!important;font-size:10px!important;
  letter-spacing:.3em!important;text-transform:uppercase!important;line-height:1!important}
.ts-vhero-cards figure{margin:0!important;padding:0!important}
.ts-vhero-cards figcaption{font-family:var(--ts-font-text,inherit)!important;font-size:10px!important;
  letter-spacing:.22em!important;text-transform:uppercase!important;margin:0!important;line-height:1.2!important}

/* ---------- sticky-fix: Semplice kapselt in .sections mit overflow:hidden ---------- */
body:has(.ts-vhero) .sections,
body:has(.ts-vhero) .sections > .section,
body:has(.ts-vhero) #content,
body:has(.ts-vhero) .semplice-content{overflow:visible!important;overflow-x:clip!important}

/* ---------- Typo-Steuerung Hero ---------- */
.ts-vhero-title{font-stretch:calc(var(--ts-vh-wdth,100)*1%)!important;font-variation-settings:"wdth" var(--ts-vh-wdth,100)!important}
.ts-vf-mix .ts-vhero-title em{font-family:"Didot","Bodoni 72","Bodoni Moda",Georgia,serif!important;font-stretch:normal!important;font-variation-settings:normal!important}

/* ---------- Raumbilder nach dem Hero ---------- */
.ts-rooms{position:relative}
.ts-rooms.is-light{background:#fcfcfb}
.ts-rooms.is-dark{background:#0a0a0a}
.ts-rooms-pin{position:sticky;top:0;height:100svh;display:flex;align-items:center;overflow:hidden}
.ts-rooms-track{position:relative;width:100%;height:100%;transform-style:preserve-3d}
.ts-rooms .ts-room{position:absolute;left:50%;top:50%;width:min(64vw,920px);margin:0!important;padding:0!important;transform-origin:50% 50%;transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity}
.ts-rooms .ts-room-frame{overflow:hidden;aspect-ratio:3/2;background:#efedea}
.ts-rooms.is-dark .ts-room-frame{background:#141414}
.ts-rooms .ts-room img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.14);will-change:transform}
.ts-rooms figcaption{margin:14px 0 0!important;padding:0!important;font-family:var(--ts-font-text,inherit)!important;font-size:10px!important;letter-spacing:.28em!important;text-transform:uppercase!important;line-height:1.2!important;color:#8a8a8a!important}
@media (max-width:760px){.ts-rooms .ts-room{width:86vw}}

body:has(.ts-rooms) .sections,
body:has(.ts-rooms) .sections > .section,
body:has(.ts-rooms) #content,
body:has(.ts-rooms) .semplice-content{overflow:visible!important;overflow-x:clip!important}

/* ---------- Raumbilder: 3D-Buehne ---------- */
.ts-rooms-pin{perspective:1700px;perspective-origin:50% 50%}
.ts-rooms-track{transform-style:preserve-3d}
.ts-rooms .ts-room{transform-style:preserve-3d;backface-visibility:hidden;will-change:transform,opacity}
.ts-rooms .ts-room-frame{box-shadow:0 50px 110px rgba(0,0,0,.30)}
.ts-rooms.is-dark .ts-room-frame{box-shadow:0 50px 110px rgba(0,0,0,.65)}

/* ---------- Raumbilder: Index ---------- */
.ts-rooms-dots{position:absolute;left:50%;bottom:clamp(18px,3.5vh,40px);transform:translateX(-50%);z-index:20;display:flex;gap:10px;align-items:center}
.ts-rooms-dots button{width:34px;height:2px;padding:0;border:0;cursor:pointer;background:currentColor;opacity:.22;transition:opacity .35s ease,transform .35s ease;color:#111}
.ts-rooms.is-dark .ts-rooms-dots button{color:#f2efe9}
.ts-rooms-dots button.is-on{opacity:.9;transform:scaleY(2)}
.ts-rooms-pin{touch-action:pan-y}

/* ---------- Coverflow ---------- */
.ts-cf{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;
perspective:1600px;overflow:hidden;outline:none;padding:clamp(28px,6vh,80px) 0}
.ts-cf.is-light{background:#fcfcfb}
.ts-cf.is-dark{background:#0a0a0a}
.ts-cf-stage{position:relative;width:min(var(--cf-w,600px),var(--cf-vw,92vw));aspect-ratio:var(--cf-ar,5 / 4);transform-style:preserve-3d}
.ts-cf-card{position:absolute;left:50%;top:50%;width:100%;height:100%;margin:0!important;padding:0!important;
border-radius:var(--cf-r,0);overflow:hidden;background:#141414;transform-style:preserve-3d;transform-origin:50% 50%;
transform:translate(-50%,-50%);cursor:pointer;will-change:transform,opacity;
transition:transform .6s cubic-bezier(.22,1,.36,1),opacity .6s cubic-bezier(.22,1,.36,1)}
.ts-cf-card.is-active{cursor:default}
.ts-cf-card img{position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover;display:block;user-select:none}
.ts-cf-veil{position:absolute;inset:0;background:#000;opacity:0;pointer-events:none;
transition:opacity .6s cubic-bezier(.22,1,.36,1)}
.ts-cf-cap{position:absolute;left:0;right:0;bottom:0;padding:22px;pointer-events:none;
background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(0,0,0,.62) 100%)}
.ts-cf-cap span{color:#fff;font-family:var(--ts-font-text,inherit);font-size:11px;letter-spacing:.28em;
text-transform:uppercase;line-height:1.2;text-shadow:0 2px 10px rgba(0,0,0,.4)}
.ts-cf-dots{display:flex;gap:10px;margin-top:clamp(20px,3.4vh,40px);z-index:5}
.ts-cf-dots button{width:34px;height:2px;padding:0;border:0;cursor:pointer;background:currentColor;opacity:.22;
transition:opacity .35s ease,transform .35s ease;color:#111}
.ts-cf.is-dark .ts-cf-dots button{color:#f2efe9}
.ts-cf-dots button.is-on{opacity:.9;transform:scaleY(2)}
@media (prefers-reduced-motion:reduce){
.ts-cf-card,.ts-cf-veil{transition-duration:.01ms}
}
