/* 04.11.2026: Foto-Mockups als Header der Projektseiten. Die Website läuft perspektivisch über den Bildschirm im Foto. */
html body .mh-rv{position:relative;overflow:hidden;isolation:isolate}
html body .mh-rv>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;border-radius:0!important}
.mh-maske{position:absolute;inset:0;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.mh-seite{position:absolute;left:0;top:0;width:1440px;overflow:visible;transform-origin:0 0;background:#fff}
.mh-band{will-change:transform}
html body .mh-maske .mh-platte{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;mix-blend-mode:multiply;border-radius:0!important;pointer-events:none}
html body .mh-band img{display:block;width:1440px;height:auto;max-width:none;border-radius:0!important}
html body .mh-band .or-live{position:relative;width:1440px;opacity:1;animation:none}
html body .mh-band .or-live>img{position:static;display:block;width:100%;height:auto}
html body .mh-rv .mh-band .laptop-screen.jr-anim{position:relative;box-sizing:border-box;width:1440px!important;height:931px!important;margin:0!important;padding:0!important;border:0!important;aspect-ratio:auto!important;border-radius:0!important;max-width:none!important;transform:none!important}
html body .mh-band .laptop-screen.jr-anim::after{content:none}
@media (max-width:760px){html body .mh-rv{aspect-ratio:4/3!important}}
/* Dabei: Foto statt Animation in der Fläche unter der Überschrift */
html body .dh-stage img.dh-foto.dh-foto{position:absolute!important;inset:0!important;z-index:20;display:block;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;object-fit:cover!important;transform:none!important;scale:none!important;translate:none!important;animation:none!important;filter:none!important;border-radius:0!important}
html body .dh-stage:has(.dh-foto){height:auto!important;aspect-ratio:16/9!important;padding:0!important;gap:0!important}
html body .dh-stage:has(.dh-foto)>:not(.dh-foto){visibility:hidden}
/* Box40: gelber Grund wie auf der Startseite */
html body .pj-stage .rise-video.b40-gelb{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Crect width='100' height='100' fill='%23FDDC3F'/%3E%3Cpolygon points='67,0 100,0 100,100 33,100 33,84' fill='%23FEE56E'/%3E%3C/svg%3E") center / 100% 100% no-repeat !important}
/* Jack Rabbit: das Intro-Logo fliegt nicht mehr in die Ecke (zweizeilig ist nicht die Wortmarke der Leiste): es klingt an Ort und Stelle aus, zugleich zieht sich die Fläche schnell in die Leiste */
@keyframes jr-logo { 0%, 6.0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 8.5% { transform: scale(.95); opacity: 0; } 93.0% { transform: none; opacity: 0; } 97.0%, 100% { transform: none; opacity: 1; } }
@keyframes jr-ibg { 0%, 6.0% { transform: translateY(0); opacity: 1; animation-timing-function: cubic-bezier(.65, 0, .35, 1); } 9.5% { transform: translateY(-100%); opacity: 1; } 87.0% { transform: translateY(-100%); opacity: 0; } 87.5% { transform: translateY(0); opacity: 0; } 92.0%, 100% { transform: translateY(0); opacity: 1; } }
@keyframes jr-head { 0%, 7.5% { opacity: 0; animation-timing-function: cubic-bezier(.4, 0, .6, 1); } 9.5% { opacity: 1; } 88.0% { opacity: 1; } 92.0%, 100% { opacity: 0; } }
/* Bundesregister: Hilfe und Nach oben bleiben im Bildschirm stehen, die Seite läuft darunter */
html body .mh-seite>.mh-fest{position:absolute;display:block;max-width:none;margin:0;z-index:2}
html body .mh-seite>.brn-hilfe{right:0;top:468px;width:40px;height:46px;border-radius:4px 0 0 4px!important;box-shadow:0 2px 5px rgba(0,0,0,.3)}
html body .mh-seite>.brn-hoch{right:16px;bottom:16px;width:40px;height:40px;border-radius:50%!important;box-shadow:0 2px 5px rgba(0,0,0,.3)}
/* Dabei, Kapitel 05: Bild links, Karten rechts, je die Hälfte. Am Rechner Text immer offen, Bild so hoch wie die Karten; auf dem Handy Bild über dem Akkordeon */
.ways-mit-bild{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:40px !important}
.ways-mit-bild>*{grid-column:2;min-width:0}
.ways-mit-bild>.ways-bild{grid-column:1;grid-row:1;position:relative;margin:0}
.ways-bild img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:var(--r-lg)}
html body .long-version .ways-mit-bild ul.ways-as-learn{grid-template-columns:minmax(0,1fr) !important;margin:0 !important}
html[data-version="kurz"] .ways-mit-bild{margin-top:0 !important}
html[data-version="kurz"] .ways-mit-bild>.ways-answer{grid-column:1 / -1;margin-bottom:28px}
html[data-version="kurz"] .ways-mit-bild>.ways-bild{grid-row:2}
@media (min-width:861px){
  html body .long-version .ways-mit-bild ul.ways-as-learn{grid-auto-rows:1fr}
  html body .long-version .ways-mit-bild ul.ways-as-learn>li{min-height:0 !important;height:auto !important;align-self:stretch !important;padding-right:var(--card-pad) !important;cursor:default;pointer-events:none}
  html body .long-version .ways-mit-bild.ways-mit-bild.ways-mit-bild.ways-mit-bild ul.ways-as-learn.ways-as-learn.ways-as-learn>li::after{display:none !important}
  html body .long-version .ways-mit-bild ul.ways-as-learn>li p{max-height:none !important;opacity:1 !important;margin-top:var(--gap-title) !important}
}
@media (max-width:860px){
  .ways-mit-bild{grid-template-columns:minmax(0,1fr)}
  .ways-mit-bild>*{grid-column:1}
  .ways-mit-bild>.ways-bild,html[data-version="kurz"] .ways-mit-bild>.ways-bild{grid-column:1;grid-row:auto;aspect-ratio:4/3;order:-1}
  html[data-version="kurz"] body .long-version .ways-mit-bild>.ways-answer{order:-2 !important}
}
