/* Original website palette, typography, navigation and body remain authoritative. */
/* Full film frame (Brudi 2026-09-23, #9154): 16:9 at every width, as on 13.09. (a6baa5b). */
#top{min-height:0;height:auto;aspect-ratio:16/9;isolation:isolate;justify-content:flex-start}
#top>.ghost,#top>div[aria-hidden]{display:none}
#top>.shell{align-items:flex-start;text-align:start;padding-top:130px;padding-inline-start:57%;padding-inline-end:5%;width:100%;max-width:none}
#top h1{font-size:clamp(42px,4.5vw,68px)}
#top>.shell>.relative.mt-14{display:none}
#top>.shell>p{max-width:42ch}
.telos-hero-media{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#101111}
.telos-hero-media img,.telos-hero-media video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.telos-hero-media video{opacity:0}.telos-hero-media video.is-ready{opacity:1}
.telos-hero-media:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 35%,#10111166 65%,#101111aa),linear-gradient(0deg,#101111bb,transparent 24%);pointer-events:none}
.telos-hero-controls{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;font-size:13px}
.telos-hero-controls button,.telos-hero-controls a{border:1px solid #ffffff50;background:#101111a0;color:#fff;border-radius:30px;padding:12px 20px;cursor:pointer}
.telos-hero-controls a{background:var(--color-accent,#c33);color:#fff}
.telos-hero-controls :focus-visible{outline:2px solid white;outline-offset:4px}

/* First paint does not depend on the post-hydration video mount. */
#top::before{content:'';position:absolute;inset:0;z-index:-3;background:linear-gradient(90deg,transparent 35%,#10111166 65%,#101111aa),linear-gradient(0deg,#101111bb,transparent 24%),url('/assets/cinematic/telos-journey-v2.webp') center/cover no-repeat}
#top>.shell>h1,#top>.shell>p{opacity:1!important;transform:none!important}
/* Move the idea typography and its equalizer below FAQ, before the footer. */
main{display:flex;flex-direction:column}main>div.shell{order:1}main>div.eq{order:2}main>footer{order:3}

/* RTL: the film is not mirrored, the TV stays on the physical left. Logical padding put the Arabic
   copy on top of the TV (seen 2026-09-23); keep the copy on the physical right on wide screens. */
@media(min-width:1101px){[dir="rtl"] #top>.shell{padding-inline-start:5%;padding-inline-end:57%}}

/* Keep the entire TV frame visible below the copy on compact screens. */
@media(max-width:1100px){
  #top{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;aspect-ratio:auto;height:auto;min-height:0;padding-bottom:28px}
  #top>.shell{grid-area:1/1;padding:96px 24px 28px;align-items:center;text-align:center;min-width:0}
  #top h1{font-size:clamp(36px,7vw,60px);overflow-wrap:break-word}
  #top>.shell>p{font-size:15px}
  #top::before,.telos-hero-media{grid-area:2/1;position:relative;inset:auto;width:100%;height:auto;aspect-ratio:16/9}
  #top::before{background:url('/assets/cinematic/telos-journey-v2.webp') center/contain no-repeat}
  .telos-hero-media img,.telos-hero-media video{inset:0;height:100%;object-fit:contain;object-position:center}
  .telos-hero-media:after{background:linear-gradient(180deg,#10111155,transparent 15%,transparent 90%,#10111155)}
  .telos-hero-controls{justify-content:center}
}
/* Size navigation itself; global overflow clipping hid inaccessible links. */
main>nav{max-width:calc(100% - 24px);width:max-content}
main>nav>div{max-width:100%}
@media(max-width:420px){
  main>nav>div{gap:0;padding:6px}
  main>nav a{font-size:11px;padding:8px}
  main>nav a:first-child{flex-shrink:0;padding:0;width:28px;height:28px}
}

/* Top navigation (Brudi 2026-09-23: "fehlt Navigation oben"). Static markup at the end of <body>
   (tools/startseite/kopfleiste.py), like the language switcher. Wide screens: the bar carries the
   section links and the floating pill at the bottom steps back; compact screens: logo + CTA on
   top, the pill keeps the section links within thumb reach. The inline-end padding leaves room
   for the language switcher (.tsw, fixed top/inline-end). */
.tkl{position:fixed;inset-block-start:0;inset-inline:0;z-index:9999;height:64px;display:flex;align-items:center;gap:8px;padding-inline:24px 104px;background:linear-gradient(180deg,#101111e6,#101111b3);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid #ffffff14;font-family:var(--font-display,system-ui,sans-serif)}
.tkl a{color:var(--color-muted,#9a9aa6);text-decoration:none;font-size:14px;padding:8px 14px;border-radius:999px;transition:color .2s}
.tkl a:hover{color:var(--color-ink,#f4f4f6)}
.tkl .tkl-logo{display:flex;align-items:center;gap:10px;color:var(--color-ink,#f4f4f6);font-weight:700;font-size:18px;letter-spacing:.04em;padding-inline-start:0;margin-inline-end:auto}
.tkl .tkl-logo span{display:grid;place-items:center;height:30px}
.tkl .tkl-logo img{height:30px;width:auto;display:block}
/* Die schwebende Pille unten gehoert React (Play-Symbol im roten Kreis, nicht aenderbar ohne Quellbaum): per CSS auf die T-Marke umgestellt. */
nav.fixed a:has(> svg.lucide-play){background:#0b0b0f url(/assets/brand/telos-t-mark.svg) center/56% no-repeat !important;border-radius:9px !important}
nav.fixed a:has(> svg.lucide-play) > svg{display:none !important}
.tkl .tkl-cta{background:var(--color-accent,#e50914);color:#fff;font-weight:600}
.tkl .tkl-cta:hover{color:#fff}
.tkl a:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(min-width:1101px){main>nav{display:none}}
@media(max-width:1100px){.tkl .tkl-link{display:none}.tkl{padding-inline:16px 96px}}

