/* Mobile spacing only; retain desktop layout and existing gradient definitions. */
@media(max-width:800px){
  html body:is(#koosmos-site,#seitenanfang):is(#koosmos-site,#seitenanfang):is(#koosmos-site,#seitenanfang) main>.hero>.wrap{
    padding-top:36px!important;
    padding-bottom:200px!important;
  }
  html body:is(#koosmos-site,#seitenanfang) main>.footer-depth.footer-depth,
  html body#koosmos-site.koosmos-home #blick.look.footer-depth{
    padding-top:72px!important;
  }
  html body#koosmos-site.koosmos-home :is(#chapter1.chapter,#chapter2.chapter){
    top:max(calc(var(--chapter-top-v136,160px) + 36px),calc(22svh + 20vw + 28px))!important;
  }
}
/* Short screens need a compact text rhythm as well as a lower starting point. */
@media(max-width:800px) and (max-height:700px){
  html body#koosmos-site#koosmos-site.koosmos-home :is(#chapter1.chapter,#chapter2.chapter) h2{
    font-size:27px!important;line-height:1.06!important;margin:10px 0 12px!important;
  }
  html body#koosmos-site#koosmos-site.koosmos-home #chapter1 .question-set p{margin-bottom:10px!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter2 .work-outcome-v169{margin-bottom:10px!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter2 .work-bridge-v168{margin-bottom:12px!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter2 a.work-link-v168{margin-top:8px!important;min-height:48px!important;height:48px!important;padding:12px 18px!important}
}
@media(max-width:800px) and (max-height:600px){
  html body#koosmos-site#koosmos-site.koosmos-home :is(#chapter1.chapter,#chapter2.chapter){top:calc(22svh + 18vw + 20px)!important}
  html body#koosmos-site#koosmos-site.koosmos-home :is(#chapter1.chapter,#chapter2.chapter) h2{font-size:24px!important;margin:8px 0 10px!important}
  html body#koosmos-site#koosmos-site.koosmos-home :is(#chapter1,#chapter2) p,
  html body#koosmos-site#koosmos-site.koosmos-home #chapter1 .question-set p :is(strong,span){font-size:13.5px!important;line-height:1.35!important;margin-bottom:10px!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter1 .question-set p strong{margin-bottom:1px!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter1 .question-set p span{margin-bottom:0!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter2 .work-outcome-v169 p{margin:0!important}
  html body#koosmos-site#koosmos-site.koosmos-home #chapter2 .work-outcome-v169 p+p{margin-top:6px!important}
}
