/* Language controls share the existing visual style. */
.language-switch{display:flex;align-items:center;gap:2px;flex:none;font-size:15px;font-weight:700;white-space:nowrap;line-height:1}
.language-switch a{display:grid;place-items:center;min-width:36px;min-height:44px;padding:8px 5px;color:var(--muted);border-bottom:2px solid transparent}
.language-switch a[aria-current=true]{color:var(--heading-blue);border-bottom-color:var(--heading-blue)}
.language-switch>span{color:var(--muted);font-weight:400}
.site-header{gap:20px}
.site-header nav{gap:17px}
.home .hero h1,.home .hero h1 em{color:#fff}
html[lang=de] :is(h1,h2,h3,h4){hyphens:auto;overflow-wrap:anywhere}
html[lang=de] main .section>div{min-width:0}
html[lang=de] .section-marker .section-name{font-size:clamp(43px,6.3vw,96px)}
html[lang=de] .partner-card.partnership-invite h2{font-size:clamp(25px,2.6vw,37px)}
html[lang=de] .home .hero h1{font-size:clamp(43px,5.6vw,88px)}
html[lang=de] .camp-head h1{font-size:clamp(44px,6.2vw,94px)}
html[lang=de] .home .events>.section-heading{align-items:flex-start}
html[lang=de] .home .events>.section-heading>div{min-width:0;flex:1}
html[lang=de] .home .events>.section-heading>p{flex:0 1 24ch}
html[lang=de] .home .events>.section-heading h2{font-size:clamp(30px,3.8vw,58px)}
@media(min-width:761px) and (max-width:1250px){
 .site-header{gap:12px;padding-inline:24px}
 .site-header .header-cta{display:none}
 .site-header nav{font-size:13px;gap:12px}
 .site-header .brand .brand-sail{width:45px;height:57px}
 .language-switch{font-size:14px}
 .language-switch a{min-width:30px}
}
@media(max-width:760px){
 .site-header{display:grid;grid-template-columns:minmax(0,1fr) auto;height:auto;min-height:108px;padding:10px 20px;gap:4px 12px}
 .site-header .brand{grid-column:1;grid-row:1/3;justify-self:start;min-width:0}
 .site-header .language-switch{grid-column:2;grid-row:1;justify-self:end}
 .site-header .menu-toggle{grid-column:2;grid-row:2;justify-self:end;padding:7px 10px;min-height:38px}
 .site-header .header-cta{display:none}
 .site-header nav{top:100%;max-height:calc(100svh - 108px);margin:0}
 .home .hero h1{text-shadow:0 1px 3px #194e78;-webkit-text-stroke:1px #194e78;paint-order:stroke fill}
 html[lang=de] .home .hero h1{font-size:clamp(29px,8.5vw,58px)}
 html[lang=de] .home .section-marker .section-name{font-size:clamp(32px,8.5vw,60px)}
 html[lang=de] .camp-head h1{font-size:clamp(42px,11vw,74px)}
 html[lang=de] .home .events>.section-heading{display:block}
 html[lang=de] .home .events>.section-heading>p{margin-top:22px}
 html[lang=de] .partner-card.partnership-invite h2{font-size:25px}
 html[lang=de] .camp-company h2,html[lang=de] .location-spot h2{font-size:clamp(30px,8vw,40px)}
 .language-switch a{min-width:34px;min-height:40px}
}
@media(max-width:370px){
 .site-header{padding-inline:14px;column-gap:8px}
 .site-header .brand>svg{width:25px}
 .site-header .brand .brand-sail{width:37px;height:49px}
 .site-header .brand strong{font-size:22px}
 .language-switch{font-size:14px}
}
@media(scripting:none) and (max-width:760px){
 .site-header{position:relative}
 .site-header .menu-toggle{display:none}
 .site-header nav{grid-column:1/-1;position:static;display:flex;width:100%;max-height:none}
}

/* Small press feedback preserves existing hover transforms and layout. */
p a,li a{display:inline-block}
@media(prefers-reduced-motion:no-preference){
 :is(a[href],button,summary){transition:scale 120ms ease-out,transform .2s,background .2s,color .2s}
 :is(a[href],button,summary):not(:disabled):active{scale:.96}
}

/* Keep long fact labels clear of their values at every card width. */
.detail-box{container-type:inline-size;container-name:camp-facts}
.detail-box dl>div{grid-template-columns:minmax(0,140px) minmax(0,1fr);column-gap:24px}
.detail-box dt,.detail-box dd{min-width:0;overflow-wrap:anywhere;hyphens:auto}
@container camp-facts (max-width:340px){
 .detail-box dl>div{grid-template-columns:minmax(0,1fr);gap:5px}
}
.content-photo{min-width:0}
.content-photo img{width:100%;height:auto}
@media(max-width:760px){
 .home .content-section>.content-photo{order:1;margin-top:30px}
}
