/* Jürgen Scheer – persönlicher Namenszug, 04.11.2026 */
.wordmark.signature-wordmark{display:inline-flex;align-items:center;justify-content:flex-start;width:240px;max-width:42vw;line-height:1;letter-spacing:0;text-transform:none;flex:0 0 auto;}
.wordmark.signature-wordmark img{display:block;width:100%;height:auto;max-height:46px;object-fit:contain;object-position:left center;}
@media(max-width:640px){.wordmark.signature-wordmark{width:clamp(116px,33vw,152px);max-width:37vw;}.wordmark.signature-wordmark img{max-height:31px;}}
@media(max-width:380px){.site-header .header-right{gap:12px;}.site-header .language-switcher{gap:8px;}.site-header .menu-toggle{gap:8px;}}
/* The intro uses the same handwritten signature as the header. */
.hero .hero-title h1{width:max-content;max-width:100%;line-height:1;}
.hero .hero-title h1 .intro-signature{display:block;width:clamp(260px,42vw,640px);max-width:100%;height:auto;filter:drop-shadow(0 2px 12px rgba(0,0,0,.12));}
@media(max-width:760px){.hero .hero-title h1 .intro-signature{width:clamp(240px,72vw,420px);}}

/* Mobile profile readability — 2026-11-04 */
@media(max-width:760px){
body.layout-c .profile-figure p{font-size:13px;line-height:1.5;margin-top:6px;}
body.layout-c .profile-figure dt,body.layout-c .anniversary-figure dt{font-size:12px;line-height:1.4;}
body.layout-c .profile-figures{row-gap:24px;}
body.layout-c .country-flags{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:auto;gap:14px 8px;}
body.layout-c .country-flags span{font-size:12px;line-height:1.4;white-space:normal;}
}

/* Signature contrast on bright mobile imagery — 2026-11-05 */
@media(max-width:760px){
.hero .hero-title h1{position:relative;isolation:isolate;}
.hero .hero-title h1::before{content:"";position:absolute;inset:-22px -16px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at center,rgba(7,15,20,.80) 0%,rgba(7,15,20,.65) 48%,rgba(7,15,20,0) 75%);filter:blur(8px);}
.hero .hero-title h1 .intro-signature{filter:brightness(1.12) drop-shadow(0 1px 1px rgba(0,0,0,.95)) drop-shadow(0 3px 5px rgba(0,0,0,.9));}
.wordmark.signature-wordmark img{filter:drop-shadow(0 1px 1px rgba(0,0,0,.95)) drop-shadow(0 2px 4px rgba(0,0,0,.8));}
}

/* Mobile signature, film action and controls: consistent vertical rhythm — 2026-11-05 */
@media(max-width:760px){
.hero .hero-title,.hero[data-name-layout] .hero-title{bottom:240px;left:7vw;right:15vw;}
.hero .film-fallback{top:auto;bottom:158px;left:7vw;right:15vw;max-width:none;transform:none;text-align:left;}
.hero .film-fallback button{min-height:44px;padding:12px 22px;}
.hero .film-tools{left:7vw;bottom:94px;}
.hero .film-caption{left:7vw;}
}

/* Project chronicle headers share the original signature sizing. */
header:not(.site-header):has(> .signature-wordmark){display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;}
header:not(.site-header) > .signature-wordmark{grid-column:1;grid-row:1;}
header:not(.site-header):has(> .signature-wordmark) > .language-switcher{grid-column:2;grid-row:1;justify-self:end;}
header:not(.site-header):has(> .signature-wordmark) > .header-actions{grid-column:3;grid-row:1;}
@media(max-width:760px){
header:not(.site-header):has(> .signature-wordmark){grid-template-columns:minmax(0,1fr) auto;gap:8px 16px;}
header:not(.site-header):has(> .signature-wordmark) > .header-actions{grid-column:1 / -1;grid-row:2;flex-direction:row;justify-content:space-between;width:100%;gap:16px;}
header:not(.site-header):has(> .signature-wordmark) .back-link{font-size:12px;line-height:1.4;min-height:44px;display:inline-flex;align-items:center;}
}
