/* © 1994–2026 Dammermann. Alle Rechte vorbehalten. */
/* The title shares the opening card's text grid on every subpage. */
.main .page-hero__inner {
  width:calc(100% - 2 * var(--intro-gutter)); max-width:1160px;
  margin-inline:auto; padding-inline:var(--intro-padding); box-sizing:border-box;
}
/* Preserve an opaque old snapshot beneath the incoming page: no blank frame. */
@view-transition{navigation:none}
.main{view-transition-name:none}
@media(prefers-reduced-motion:no-preference){
 @view-transition{navigation:auto}
 ::view-transition-group(root){animation:none}
 ::view-transition-image-pair(root){isolation:isolate}
 ::view-transition-old(root){animation:none;opacity:1;mix-blend-mode:normal;z-index:1}
 ::view-transition-new(root){animation:page-crossfade 220ms cubic-bezier(.2,0,.2,1) both;mix-blend-mode:normal;z-index:2;will-change:opacity}
}
@keyframes page-crossfade{from{opacity:0}to{opacity:1}}
/* Start with the first presentation, independent of load/pageshow and widgets. */
@keyframes hero-photo-enter{from{opacity:.6}to{opacity:1}}
@media(prefers-reduced-motion:no-preference){
 .main :is(.hero__bg,.page-hero__bg){animation:hero-photo-enter 240ms cubic-bezier(.23,1,.32,1) both}
 html[data-page-crossfade] .main :is(.hero__bg,.page-hero__bg){animation:none}
}
@media(prefers-reduced-motion:reduce){
 @view-transition{navigation:none}
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}


/* A shared centre line for the home logo and every subpage heading. */
.main :is(.hero,.page-hero){min-height:max(20rem,72svh);padding:0;display:flex;align-items:center;justify-content:center}
.main .page-hero__inner{text-align:center}
.main .page-hero__title{margin:0;text-align:center;text-wrap:balance;overflow-wrap:break-word}
.main .hero__logo{position:relative;gap:0}
.main .hero__logo .hero__caption{position:absolute;top:100%;left:50%;transform:translateX(-50%);width:100%;margin:14px 0 0}
@media(max-width:980px){.main :is(.hero,.page-hero){min-height:max(24rem,64svh)}}
