/* Kopfbilder mit Eichhörnchen (Mikroimmuntherapie, Desensibilisierung, FeNO, Impfungen):
   Das Eichhörnchen liegt als eigenes Bild über dem Foto, hüpft herein,
   danach erscheinen die gepunktete Spur und zwei Eicheln. Mit Bee abgestimmt am 9.10.2026. */
#header .image{position:relative}
#header .eichkopf{position:absolute;inset:0;pointer-events:none;overflow:hidden}
#header .eichkopf .eich{position:absolute;z-index:2;height:auto;transform-origin:50% 100%;animation:eich-huepf 2.2s cubic-bezier(.3,.6,.4,1) both}
#header .eichkopf .spur{position:absolute;z-index:2;overflow:visible;filter:blur(.4px);animation:eich-spur 1.3s 2.1s ease-out both}
/* Eicheln als Bild mit weichem, leicht unregelmäßigem Kreide-Rand wie Eichhörnchen und Spur (Bee 25.10.2026), ohne CSS-Weichzeichner: Safari (iPhone/iPad/Mac) zeichnete am Rand des weichgezeichneten Bereichs einen feinen lila Strich (Bee 23.10.2026). */
#header .eichkopf .eichel{position:absolute;z-index:2;height:auto;transform:rotate(var(--r))}
#header .eichkopf .e1{animation:eich-pop .5s 2.8s both}
#header .eichkopf .e2{animation:eich-pop .5s 3.2s both}
@keyframes eich-huepf{0%{transform:translate(-150%,0)}15%{transform:translate(-112%,-16%) rotate(-6deg)}30%{transform:translate(-75%,0) scale(1.04,.94)}45%{transform:translate(-40%,-14%) rotate(-5deg)}60%{transform:translate(-8%,0) scale(1.04,.94)}72%{transform:translate(0,-6%) rotate(-2deg)}84%{transform:translate(0,0) scale(1.03,.96)}92%{transform:rotate(3deg)}100%{transform:none}}
@keyframes eich-spur{from{clip-path:inset(0 100% 0 0)}to{clip-path:inset(0 0 0 0)}}
@keyframes eich-pop{0%{opacity:0;transform:rotate(var(--r)) scale(.2)}70%{opacity:1;transform:rotate(var(--r)) scale(1.15)}100%{opacity:1;transform:rotate(var(--r)) scale(1)}}
@media (prefers-reduced-motion:reduce){#header .eichkopf .eich,#header .eichkopf .spur,#header .eichkopf .eichel{animation:none}}
#header .eichkopf-mit .eich{left:6.87%;top:1.20%;width:29.60%}
#header .eichkopf-mit .spur{left:37.5%;top:6%;width:20%;color:rgb(207,239,243)}
#header .eichkopf-mit .eichel{color:rgb(207,239,243)}
#header .eichkopf-des .eich{left:6.87%;top:1.2%;width:29.60%}
#header .eichkopf-des .spur{left:37%;top:7%;width:14%;color:rgb(240,220,241)}
#header .eichkopf-des .eichel{color:rgb(240,220,241)}
#header .eichkopf-feno .eich{left:6.79%;top:1.20%;width:29.68%}
#header .eichkopf-feno .spur{left:37.5%;top:8%;width:17%;color:rgb(246,190,148)}
#header .eichkopf-feno .eichel{color:rgb(246,190,148)}
#header .eichkopf-impf .eich{left:10.40%;top:1.20%;width:29.60%}
#header .eichkopf-impf .spur{left:39.5%;top:6%;width:18%;color:rgb(242,249,254)}
#header .eichkopf-impf .eichel{color:rgb(242,249,254)}
/* Am Handy ist die Welle im Verhältnis sehr hoch: Eichhörnchen, Spur und Eicheln
   liegen dort über der Welle, damit das Eichhörnchen ganz zu sehen bleibt. */
@media (max-width:767px){#header .eichkopf{z-index:5}}
/* KOPFBILD-STANDARD für Eichhörnchen-Kopfbilder (Bee 24.10.), nur Seiten mit Klasse kopf-std (FeNO, Mikroimmuntherapie, Impfung, Desensibilisierung):
   Das ganze Kopfbild endet genau dort, wo es bei Vorsorge endet (gleiche Höhe --kh wie dort).
   Weil das Bild hier erst unter der Menüleiste beginnt, ist das Foto um die Menühöhe (--pad, aus kopfbild-eichhoernchen.js) niedriger.
   Handy unverändert. Tablet (768–1099): Breite / 2,62, Welle 1/5. Laptop (1100–1499): Breite / 3, bisherige Welle.
   Großer PC (ab 1500): Breite / 2,62, höchstens 70 % der Bildschirmhöhe (nie unter 500), Welle 1/5.
   Eichhörnchen, Spur und Eicheln wachsen mit der Bildhöhe (--v), Abstand links in Bildpunkten des Fotos (--u); --off = am Tablet links abgeschnittenes Orange. */
@media (min-width:768px){
#header.eich.kopf-std{--kh:calc(100vw / 3);--c:0;--ih:calc(var(--kh) - var(--pad,0px));--u:max(calc(var(--ih) / 1000),calc(100vw / 3000));--v:calc(var(--ih) / 1000);--off:max(0px,min(calc(var(--u) * var(--c)),calc(var(--u) * 3000 - 100vw)));--l:calc(var(--u) * 260 - var(--off))}
#header.eich.kopf-std picture img{height:var(--ih);width:100%;object-fit:cover;object-position:calc(var(--off) * -1) 0}
#header.eich.kopf-std .eichkopf-feno .eich{left:var(--l);top:calc(var(--v) * 20);width:calc(var(--v) * 870)}
#header.eich.kopf-std .eichkopf-feno .spur{left:calc(var(--l) + var(--v) * 900);top:calc(var(--v) * 86);width:calc(var(--v) * 499)}
#header.eich.kopf-std .eichkopf-feno .e1{left:calc(var(--l) + var(--v) * 1150)!important;top:calc(var(--v) * 106)!important;width:calc(var(--v) * 176)!important}
#header.eich.kopf-std .eichkopf-feno .e2{left:calc(var(--l) + var(--v) * 1370)!important;top:calc(var(--v) * 145)!important;width:calc(var(--v) * 152)!important}
#header.eich.kopf-std .eichkopf-mit .eich{left:var(--l);top:calc(var(--v) * 20);width:calc(var(--v) * 870)}
#header.eich.kopf-std .eichkopf-mit .spur{left:calc(var(--l) + var(--v) * 899);top:calc(var(--v) * 65);width:calc(var(--v) * 587)}
#header.eich.kopf-std .eichkopf-mit .e1{left:calc(var(--l) + var(--v) * 1192)!important;top:calc(var(--v) * 96)!important;width:calc(var(--v) * 188)!important}
#header.eich.kopf-std .eichkopf-mit .e2{left:calc(var(--l) + var(--v) * 1471)!important;top:calc(var(--v) * 135)!important;width:calc(var(--v) * 164)!important}
#header.eich.kopf-std .eichkopf-impf .eich{left:var(--l);top:calc(var(--v) * 20);width:calc(var(--v) * 870)}
#header.eich.kopf-std .eichkopf-impf .spur{left:calc(var(--l) + var(--v) * 873);top:calc(var(--v) * 66);width:calc(var(--v) * 540)}
#header.eich.kopf-std .eichkopf-impf .e1{left:calc(var(--l) + var(--v) * 1143)!important;top:calc(var(--v) * 96)!important;width:calc(var(--v) * 180)!important}
#header.eich.kopf-std .eichkopf-impf .e2{left:calc(var(--l) + var(--v) * 1383)!important;top:calc(var(--v) * 136)!important;width:calc(var(--v) * 156)!important}
#header.eich.kopf-std .eichkopf-des .eich{left:var(--l);top:calc(var(--v) * 20);width:calc(var(--v) * 870)}
#header.eich.kopf-std .eichkopf-des .spur{left:calc(var(--l) + var(--v) * 904);top:calc(var(--v) * 70);width:calc(var(--v) * 420)}
#header.eich.kopf-std .eichkopf-des .e1{left:calc(var(--l) + var(--v) * 1099)!important;top:calc(var(--v) * 80)!important;width:calc(var(--v) * 156)!important}
#header.eich.kopf-std .eichkopf-des .e2{left:calc(var(--l) + var(--v) * 1279)!important;top:calc(var(--v) * 120)!important;width:calc(var(--v) * 156)!important}
}
@media (min-width:768px) and (max-width:1099px){
#header.eich.kopf-std{--kh:max(300px,calc(100vw / 2.62));--c:145}
#header.eich.kopf-std::after{height:calc(var(--kh) * .2)!important}
}
@media (min-width:1500px){
#header.eich.kopf-std{--kh:max(500px,min(calc(100vw / 2.62),calc(70vh - 26px)))}
#header.eich.kopf-std::after{height:calc(var(--kh) * .2)!important}
}
/* Großer PC: Kopfbild von Anfang an in voller Höhe, nicht erst nach dem Skript (kein Springen beim Laden, 11.11.2026) */
@media (min-width:1500px){#header.eich.kopf-std{max-height:none}}
