
p:has(+.pq){
    position: relative;
    z-index: 3
}

#james{margin-bottom: -34%}
:is(.sda,.sda-pf) #james{margin-bottom: -13%}

#james .bg{
    -webkit-mask-image:none;
    mask-image:none;
}

@media(min-width:62ch){#james{margin-bottom: -13%}}
:is(#bild,#pic) header.pq{align-items: flex-start;}
#bild .pq img{object-position: 73%}
@media(max-width:24rem){#bild .pq img{object-position: 75%}}

#bild header.pq .bg{
    -webkit-mask-image: linear-gradient(to bottom,rgba(0,0,0,1)0%,rgba(0,0,0,1)30%);
    mask-image: linear-gradient(to bottom,rgba(0,0,0,1)0%,rgba(0,0,0,1)30%);
}

:is(#bild,#pic) header.pq hgroup{
    margin-top: 1.618em;
    margin-right: 5vw
}

:is(#bild,#pic) header h2{
    margin-inline:auto 0;
    width: 62%;
    color: #fff;
    text-align: right;
    text-wrap:balance;
}

#bild header.pq+.space{margin-top: -34%}
:is(.sda,.sda-pf) #bild header.pq+.space{margin-top: -21%}

:is(#bild,#pic) header+.space blockquote{
    width: var(--width);
    text-align: center;
    margin-bottom: 2lh;
    -webkit-mask-image:none;
    mask-image:none;
}

#bild header+.space blockquote:first-of-type p{
    font-size: var(--h2);
    text-wrap:balance
}

@media(min-aspect-ratio:1/1) and (min-width:calc(100ch + 2em)){
    :is(#bild,#pic) header{
        -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)55vh);
        mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)55vh);
    }
    
    #bild header.pq+.space{margin-top: -21%}

    :is(#bild,#pic) header+.space blockquote{
        width: var(--width);
        width: min(100% - 2em,100ch);
        text-align: center;
        margin-bottom: 2lh;
        -webkit-mask-image:none;
        mask-image:none
    }
}

p:has(+.fullscreen),
.fullscreen+p{
    position: relative;
    z-index: 5
}

#pic h2{color: #fff}
#pic img{object-position: 55%}

#pic .pq{
    -wekit-mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)8vh);
    mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)8vh);
}

#pic .pq img{object-position: 55%}
@media(max-width:24rem){#pic .pq img{object-position: 65%}}

#pic .pq .bg{
    -webkit-mask-image: none;
    mask-image: none;
}

#pic header.pq+.space{margin-top: -27%}
:is(.sda,.sda-pf) #pic header.pq+.space{margin-top: -1lh}

@media(min-aspect-ratio:1/1) and (min-width:calc(100ch + 2em)){
    :is(.sda,.sda-pf) #bild header.pq+.space{margin-top: -5lh}
    #pic .pq{
        -webkit-mask-image:linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)13vh);
        mask-image:linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)13vh);
    }
    
    #pic .pq .bg,
    #pic .pq .fg:not(:last-of-type){
        display: flex;
        align-items: center;
        -webkit-mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)34vh);
        mask-image: linear-gradient(to top,rgba(0,0,0,0)0%,rgba(0,0,0,1)34vh)
    }
    
    #pic header.pq+.space{margin-top: -13%}
}

.bg-img img{
    object-fit: cover;
    height: 100%;
}