/* 10 Kopf: Text, Abstände, Sterne, Sonnenaufgang, Verlauf (Präfix k-) */
.hero{--apex:.76}
.hero-copy{top:0;height:80svh}
.hero-copy-in{padding:0 var(--pad)}
.hero h1{font-size:clamp(3.4rem,min(8vw,13svh),7.4rem);line-height:.98;letter-spacing:-.022em}
.hero::after{height:26%;background:linear-gradient(rgba(9,16,48,0),rgb(9,16,48))}
.hero .k-sub{text-wrap:balance;color:var(--ink-2);font-size:clamp(1.15rem,1.4vw,1.3rem);line-height:1.55;max-width:560px;margin-top:28px}
.k-cta{margin-top:36px;pointer-events:auto}
.k-btn{min-height:58px;padding:0 34px}
.k-btn:hover{background:#6f8cf6;transform:translateY(-1px);box-shadow:0 12px 36px -10px rgba(111,140,246,.7)}
.k-btn:hover svg{transform:translateX(3px)}
.k-btn:active{background:var(--blue-600);transform:scale(.98);box-shadow:none;transition-duration:.08s}
.k-btn:active svg{transform:translateX(1px)}
.k-btn:focus-visible{outline:2px solid var(--ring);outline-offset:4px}
.k-btn::after{content:none}

/* Sterne */
.k-stars{position:absolute;left:-2%;top:0;width:104%;height:100%;pointer-events:none;opacity:0;animation:k-starsIn 2.4s var(--ease) .3s forwards,k-starsDrift 180s linear infinite alternate;
  -webkit-mask-image:linear-gradient(to bottom,#000 0,#000 52%,transparent 76%);mask-image:linear-gradient(to bottom,#000 0,#000 52%,transparent 76%)}
@keyframes k-starsIn{to{opacity:1}}
@keyframes k-starsDrift{from{transform:translate3d(0,0,0)}to{transform:translate3d(-1.6%,.8%,0)}}

/* Sonnenaufgang beim Scrollen: --k-sun von 0 bis 1 (gesetzt in 10-kopf.js) */
.hero{--k-sun:0}
.hero .earth{transform:translate3d(0,calc(var(--k-sun)*-12px),0);will-change:transform}
.hero .sunrim{transform:scale(calc(1 + var(--k-sun)*.42),calc(1 + var(--k-sun)*.12));transform-origin:50% 60%}
.hero .glow{filter:brightness(calc(1 + var(--k-sun)*.7))}

/* Kein Farbband mehr zwischen Kopf und Produkt (Kona 22.11.): .dawn bleibt nur Marke für die Kopfzeile */
.dawn{height:0;background:none}
.dawn::after{display:none}

@media(max-width:900px){
  .hero{--apex:.74}
  .hero h1{font-size:clamp(3.4rem,15vw,4.6rem)}
  .hero .k-sub{font-size:1.1875rem;max-width:340px;margin-top:24px}
  .k-cta{margin-top:32px;width:auto}
  .hero-cta{margin-top:0}
  .dawn{height:0}
}
@media(prefers-reduced-motion:reduce){
  .k-stars{animation:none;opacity:1}
  .hero .earth,.hero .sunrim{transform:none}
}
