/* Seitenkopf der Leistungsseiten und der GEO-Agentur (freigegeben 24.11.2026, Entwurf maxonline-tools/leistung-kopf). Wird von inc/neu/kopf.php nur dort geladen. */
/* Entwurf Leistungsseiten (24.11.2026): Seitenkopf wie Ads-GEO-LP v5, blau, 3D-Karte mit Kundenfrage */
body #mo-root section.hero.lk-hero,:is(#mo-x,html) :is(#mo-y,body) #mo-root section.hero.lk-hero{position:relative;min-height:auto;padding:clamp(40px,5vw,72px) 0 0;overflow:hidden;background:linear-gradient(135deg,#3F66E6 0%,#3559D6 55%,#27409F 100%);text-align:left}
/* Theme-Ebenen des Kopfs (.hero::before/::after mit Animation) aus, eigene Ebenen für Korn und Mauslicht */
html body #mo-root section.lk-hero::before,html body #mo-root section.lk-hero::after{content:none!important;display:none!important;animation:none!important}
body #mo-root .lk-korn{position:absolute;inset:0;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");opacity:.42;mix-blend-mode:overlay}
body #mo-root .lk-licht{position:absolute;inset:0;pointer-events:none;overflow:hidden}
body #mo-root .lk-licht::before{content:"";position:absolute;left:0;top:0;width:1200px;height:900px;border-radius:50%;background:radial-gradient(closest-side,rgba(255,177,61,.5),rgba(255,177,61,.22) 45%,rgba(255,177,61,0));transform:translate3d(calc(var(--mx,900) * 1px - 600px),calc(var(--my,300) * 1px - 450px),0);transition:transform .8s cubic-bezier(.2,.7,.2,1)}
body #mo-root .lk-in{position:relative;z-index:1;width:min(1240px,100% - 48px);margin:0 auto;display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,5vw,80px);align-items:center;padding-bottom:clamp(40px,5vw,72px)}
body #mo-root .lk-text,body #mo-root .lk-text *{text-align:left}
body #mo-root .lk-hero .hero-crumb{margin:0 0 22px;color:rgba(255,255,255,.75)}
body #mo-root .lk-hero .hero-crumb a,body #mo-root .lk-hero .hero-crumb .cur{color:rgba(255,255,255,.85)}
body #mo-root .lk-hero .hero-eb{color:#fff;background:rgba(255,255,255,.12);box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
body #mo-root .lk-hero h1{margin:18px 0 0;font-size:clamp(2.3rem,4.2vw,4rem);line-height:1.04;letter-spacing:-.045em;color:#fff;text-wrap:balance}
body #mo-root .lk-hero h1 .mute{color:rgba(255,255,255,.68)}
body #mo-root .lk-hero .hero-lead{margin:22px 0 0;max-width:40ch;color:rgba(255,255,255,.9);font-size:clamp(17px,1.5vw,20px);line-height:1.5}
/* Rest einer langen Einleitung nur am Handy ausblenden, wie bisher im Kopf der Leistungsseiten (2.10.45) */
@media (max-width:680px){body #mo-root .lk-hero .nh-rest{display:none}}
body #mo-root .lk-hero .nh-cta{margin-top:28px;display:grid;gap:14px;justify-items:start}
body #mo-root .lk-hero .nh-who{color:#fff}
body #mo-root .lk-hero .nh-who span{color:rgba(255,255,255,.8)}
body #mo-root .lk-hero .nh-who b{color:#fff}
body #mo-root .lk-hero .btn-primary{background:#fff;color:#12141C;box-shadow:none}
body #mo-root .lk-hero .btn-primary:hover{background:#E6EAF5}
body #mo-root .lk-hero .btn-primary .ar{color:#2E50C8}
body #mo-root .lk-hero .nh-link{color:#fff}
body #mo-root .lk-hero .pl{background:rgba(255,255,255,.14);color:#fff}
body #mo-root .lk-hero .nh-lg{position:relative;z-index:1;background:rgba(10,14,40,.22);border-top:1px solid rgba(255,255,255,.14)}
/* Zeile, an der die Leistung ansetzt */
body #mo-root .g5-ebenen li{position:relative}
body #mo-root .g5-ebenen li em{grid-column:2;font-style:normal;font-size:12px;color:#A9BDFF;margin-top:-4px}
body #mo-root .g5-ebenen li.an{background:rgba(82,128,255,.16);box-shadow:inset 0 0 0 1px rgba(143,169,255,.45);color:#fff}
body #mo-root .g5-ebenen li.an.ki{background:rgba(255,177,61,.12);box-shadow:inset 0 0 0 1px rgba(255,177,61,.45)}
body #mo-root .g5-ebenen li.an.ki em{color:#FFD08A}

@media (max-width:980px){body #mo-root .lk-in{grid-template-columns:1fr}}
@media (max-width:720px){
  body #mo-root .lk-in{width:calc(100% - 32px);gap:28px}
  body #mo-root .g5-ebenen li{grid-template-columns:56px 1fr;font-size:15px;padding:10px 12px}
}
body #mo-root .g5-karte{border-radius:26px;background:#121219;box-shadow:0 30px 80px rgba(10,14,40,.35),inset 0 0 0 1px rgba(255,255,255,.1);padding:clamp(22px,2.6vw,34px)}
body #mo-root .g5-k-eb{display:block;font-size:14px;color:#A9BDFF;margin-bottom:14px}
body #mo-root .g5-frage{position:relative;border-radius:18px 18px 18px 6px;background:rgba(255,255,255,.07);padding:18px 20px;font-size:clamp(18px,1.6vw,21px);line-height:1.35;color:#F4F5FA}
body #mo-root .g5-ebenen{list-style:none;margin:18px 0 0;padding:0;display:grid;gap:8px}
body #mo-root .g5-ebenen li{display:grid;grid-template-columns:64px 1fr;align-items:center;gap:14px;padding:12px 14px;border-radius:14px;background:rgba(255,255,255,.035);font-size:16px;line-height:1.35;color:rgba(244,245,250,.86)}
body #mo-root .g5-ebenen b{justify-self:start;font-weight:500;font-size:13px;letter-spacing:.04em;padding:5px 10px;border-radius:999px;background:rgba(82,128,255,.22);color:#C9D6FF}
body #mo-root .g5-ebenen li.ki b{background:rgba(255,177,61,.2);color:#FFD08A}
body #mo-root .g5-karte small{display:block;margin-top:14px;font-size:13px;color:rgba(244,245,250,.5)}

/* Runde 2 (24.11.2026): Karte im Seitenkopf in 3D, folgt der Maus */
body #mo-root .g5-buehne{perspective:1400px;perspective-origin:30% 50%}
body #mo-root .g5-karte{position:relative;transform-style:preserve-3d;transform:rotateY(calc(-11deg + var(--ry,0deg))) rotateX(calc(5deg + var(--rx,0deg))) rotateZ(.6deg);transition:transform .9s cubic-bezier(.2,.7,.2,1),box-shadow .9s;box-shadow:-30px 40px 90px rgba(8,12,40,.45),-6px 10px 24px rgba(8,12,40,.25),inset 0 0 0 1px rgba(255,255,255,.12);animation:g5-schweben 7s ease-in-out infinite}
body #mo-root .g5-buehne.aktiv .g5-karte{transition:transform .25s ease-out,box-shadow .6s;animation-play-state:paused}
@keyframes g5-schweben{0%,100%{translate:0 0}50%{translate:0 -10px}}
body #mo-root .g5-karte>*{transform:translateZ(18px)}
body #mo-root .g5-karte .g5-frage{transform:translateZ(46px)}
body #mo-root .g5-karte .g5-ebenen li{transform:translateZ(30px);transition:transform .5s cubic-bezier(.2,.7,.2,1),background .3s}
body #mo-root .g5-karte .g5-ebenen li:hover{transform:translateZ(44px);background:rgba(255,255,255,.07)}
body #mo-root .g5-glanz{position:absolute;inset:0;border-radius:inherit;pointer-events:none;transform:translateZ(1px);background:radial-gradient(420px circle at var(--gx,70%) var(--gy,10%),rgba(255,255,255,.12),rgba(255,255,255,0) 60%);opacity:.9}
body #mo-root .g5-ebenen li{opacity:0;animation:g5-rein .7s cubic-bezier(.2,.7,.2,1) both}
body #mo-root .g5-ebenen li:nth-child(1){animation-delay:.5s}
body #mo-root .g5-ebenen li:nth-child(2){animation-delay:.75s}
body #mo-root .g5-ebenen li:nth-child(3){animation-delay:1s}
body #mo-root .g5-ebenen li:nth-child(4){animation-delay:1.25s}
@keyframes g5-rein{from{opacity:0;translate:18px 0}to{opacity:1;translate:0 0}}
@media (max-width:980px){
  body #mo-root .g5-karte{transform:rotateY(-6deg) rotateX(4deg);box-shadow:-14px 24px 50px rgba(8,12,40,.4),inset 0 0 0 1px rgba(255,255,255,.12)}
}
@media (prefers-reduced-motion:reduce){
  body #mo-root .g5-karte,body #mo-root .g5-ebenen li{animation:none;opacity:1}
}

body #mo-root .g5-ebenen li:not(.an){opacity:.72}
body #mo-root .g5-ebenen li:not(.an){animation-name:g5-rein-matt}
@keyframes g5-rein-matt{from{opacity:0;translate:18px 0}to{opacity:.72;translate:0 0}}
/* Feinschliff: Platz unter der durchsichtigen Kopfzeile, Überschrift etwas kleiner */
body #mo-root section.hero.lk-hero,:is(#mo-x,html) :is(#mo-y,body) #mo-root section.hero.lk-hero{padding-top:clamp(96px,9vw,128px)}
body #mo-root .lk-hero h1{font-size:clamp(2.1rem,3.6vw,3.5rem)}
@media (max-width:720px){body #mo-root section.hero.lk-hero,:is(#mo-x,html) :is(#mo-y,body) #mo-root section.hero.lk-hero{padding-top:92px}}

/* Agenturseite: alle vier Ebenen gleich */
body #mo-root .g5-buehne.gleich .g5-ebenen li:not(.an){opacity:1;animation-name:g5-rein}
/* Gelb nur noch für die GEO-Marke in der Karte: Beschriftungen, Nummern, Balken, Schritt-Titel blau bzw. weiß */
html body.mo-nf.look-b #mo-root .nf-lab-k{color:#A9BDFF!important}
html body.mo-nf.look-b #mo-root .nf-lab-k svg{background:rgba(82,128,255,.2);color:#8FA9FF;fill:currentColor}
html body.mo-nf.look-b #mo-root .nf-kiw{color:inherit!important}
html body.mo-nf.look-b #mo-root :is(.tag,.pill).nf-kiw{border-color:rgba(143,169,255,.45)!important}
html body.mo-nf.look-b #mo-root .cmp-row.nf-kb .viz-fill,html body.mo-nf.look-b #mo-root :is(.bento>div:has(>.nf-lab-k),.nf-ki) .viz-fill:not(.dim .viz-fill){background:linear-gradient(120deg,#5280FF,#3959AC)!important}
html body.mo-nf.look-b #mo-root :is(.bento>div:has(>.nf-lab-k),.nf-ki) .tag.on{color:#fff!important;background:#3559D6!important}
html body.mo-nf.look-b #mo-root .flow-mock .fl:has(.nf-kiw) .n{background:#3559D6!important;color:#fff!important;border-color:transparent!important}
/* Runde 3: Überschrift kleiner, Textspalte breiter, Platzhalter in der Beispielfrage */
body #mo-root .lk-in{grid-template-columns:1.15fr .85fr}
body #mo-root .lk-hero h1{font-size:clamp(1.9rem,2.9vw,2.9rem);line-height:1.08}
body #mo-root .lk-hero .hero-lead{font-size:clamp(16px,1.25vw,18px);max-width:46ch}
body #mo-root .g5-frage .ph{display:inline-block;padding:0 8px;border-radius:8px;background:rgba(82,128,255,.28);color:#DCE5FF;font-style:normal}
html body #mo-root section.lk-hero h1,html body #mo-root section.lk-hero h1 .ln,html body #mo-root section.lk-hero h1 .ln>span{font-size:clamp(1.9rem,2.9vw,2.9rem)!important;line-height:1.08!important}
html body #mo-root section.lk-hero h1,html body #mo-root section.lk-hero h1 .ln,html body #mo-root section.lk-hero h1 .ln>span{font-size:clamp(2rem,3.2vw,3.2rem)!important}
html body #mo-root section.lk-hero .hero-lead{font-size:clamp(16px,1.25vw,18px)!important;line-height:1.55!important;max-width:48ch!important}
/* Runde 4: schmale Fenster wieder einspaltig (die Spaltenregel aus Runde 3 hatte die Handy-Regel überschrieben) */
@media (max-width:980px){
  body #mo-root .lk-in{grid-template-columns:1fr}
  body #mo-root .g5-buehne{max-width:560px}
}
@media (max-width:720px){
  html body #mo-root section.lk-hero h1,html body #mo-root section.lk-hero h1 .ln,html body #mo-root section.lk-hero h1 .ln>span{font-size:clamp(1.75rem,7.2vw,2.3rem)!important}
  body #mo-root .lk-hero .hero-crumb{font-size:13px}
}

/* Zusatzzeile unter der Einleitung (z. B. Digitale PR, Website erstellen), wie bisher im Kopf der Leistungsseiten */
html body #mo-root section.lk-hero .nh-extra{margin-top:clamp(14px,2.2vh,22px);color:rgba(244,245,250,.66)}
html body #mo-root section.lk-hero .nh-extra,html body #mo-root section.lk-hero .nh-extra *{font-family:inherit!important;font-size:.9375rem!important;letter-spacing:0!important;text-transform:none!important;line-height:1.5}
html body #mo-root section.lk-hero .nh-extra p{margin:0 0 8px}
html body #mo-root section.lk-hero .nh-extra a{color:#fff;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4)}
html body #mo-root section.lk-hero .g5-frage .lk-nw{white-space:nowrap}
/* Google-Marke in der Einleitung: weiße Kontur statt blauer Fläche (Harald 24.11.2026, 2.10.46) */
html body #mo-root section.lk-hero .hero-lead .pl-g{background:transparent!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.9)!important;color:#fff!important}
/* Werbe-Karte (Suche, Anzeige, Seite, Messung): breitere Spalte für die Bezeichnung (2.10.51) */
html body #mo-root section.lk-hero .g5-buehne.werbung .g5-ebenen li{grid-template-columns:92px 1fr}
@media (max-width:720px){html body #mo-root section.lk-hero .g5-buehne.werbung .g5-ebenen li{grid-template-columns:86px 1fr}}
