/* Webblickfang: Szenen der Zielgruppenseiten Startups, SaaS und Personenmarken (Grundlage: webblickfang-zielgruppen-v1.html).
   Haken sind die globalen Klassen "wbs-zg-…"; darunter wird über Struktur und Tags adressiert.
   Alles, was einen Abschnitt umbaut oder bewegt, steht unter ".wb-live" (im Elementor-Editor bleibt die ruhige Fassung stehen). */

/* ===== Hero: Text links, Schaubild der Bausteine rechts ===== */
.elementor .wbs-zg-hero{min-height:min(100svh,940px);display:flex;align-items:center;padding-block:clamp(112px,14vh,146px) clamp(84px,11vh,130px)}
.elementor .wbs-zg-hero::before{left:74%;top:50%;width:min(1000px,100%);height:auto;aspect-ratio:1;transform:translate(-50%,-50%)}
.elementor .wbs-zg-hero>.wb-wrap>div{display:grid;grid-template-columns:minmax(0,1.14fr) minmax(0,.86fr);gap:44px clamp(30px,5vw,84px);align-items:center;width:100%}
.wbs-zg-hero .wb-h1>span{display:block}

/* Auswahl der Zielgruppe: drei Links zu den Schwesterseiten, die aktive Seite trägt den Markenverlauf (lokaler Stil) */
.elementor .wbs-zg-wahl{display:inline-flex;flex-wrap:nowrap;max-width:100%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.13)}
.elementor .wbs-zg-wahl>a{white-space:nowrap;transition:background .4s,color .4s}
.elementor .wbs-zg-wahl>a:not([aria-current]):hover{color:#F5F6F4}
.wb-js .wbs-zg-wahl{animation:wb-up 1.1s var(--wb-ease) both}
.wb-js .wbs-zg-hero .wb-h1{animation-delay:.12s}
.wb-js .wbs-zg-hero .wb-lead{animation-delay:.3s}
.wb-js .wbs-zg-hero .wb-row{animation-delay:.45s}
.wb-live .wbs-zg-hero>.wb-wrap>div>div:nth-child(2){animation:wb-up 1.4s var(--wb-ease) .4s both}

/* Schaubild: dieselben Bausteine, je Zielgruppe anders gewichtet (Bausteine setzt zielgruppe.js ein) */
.elementor .wbs-zg-bild{position:relative;container-type:inline-size;aspect-ratio:4/3.1;box-shadow:0 0 0 1px rgba(255,255,255,.14),0 60px 120px -50px rgba(109,214,204,.65),0 40px 80px -40px #000}
.elementor .wbs-zg-bild::before{content:"";position:absolute;left:6%;right:6%;top:5%;width:auto;height:4.2%;border-radius:9px;background:repeating-linear-gradient(90deg,#E4E5E2 0 9%,transparent 9% 12%);-webkit-mask-image:linear-gradient(90deg,#000 14%,transparent 14% 52%,#000 52%);mask-image:linear-gradient(90deg,#000 14%,transparent 14% 52%,#000 52%)}
.wbs-zg-bild>i{position:absolute;left:calc(var(--l)*1%);top:calc(var(--t)*1%);width:calc(var(--w)*1%);height:calc(var(--h)*1%);border-radius:1.6cqw;background:#ECEDEB;transition:left .9s var(--wb-ease),top .9s var(--wb-ease),width .9s var(--wb-ease),height .9s var(--wb-ease),opacity .5s,border-radius .9s var(--wb-ease);display:grid;place-items:center;padding:0 2cqw;font:500 max(9px,2cqw)/1.25 Inter,"Helvetica Neue",Arial,sans-serif;font-style:normal;color:#69727D;text-align:center;overflow:hidden}
.wbs-zg-bild .b-h{background:none;color:#181818;font-size:max(11px,3.5cqw);letter-spacing:-.035em;justify-items:start;text-align:left;padding:0}
.wbs-zg-bild .b-t{background:repeating-linear-gradient(180deg,#ECEDEB 0 1.4cqw,transparent 1.4cqw 3.4cqw)}
.wbs-zg-bild .b-m{background:linear-gradient(155deg,#dff3ec,#f1f6e4)}
.wbs-zg-bild .b-x{background:#100F0F;color:#F5F6F4}
.wbs-zg-bild .b-c{background:var(--wb-grad);color:#1D1E1C;border-radius:99px;box-shadow:0 2cqw 4cqw -2cqw rgba(80,190,160,.9)}
.wbs-zg-bild.wbs-zg-personen .b-m.is-set{border-radius:50% 50% 6cqw 6cqw}

@media (max-width:980px){
  .elementor .wbs-zg-hero{min-height:0}
  .elementor .wbs-zg-hero>.wb-wrap>div{grid-template-columns:1fr}
}
@media (max-width:420px){
  .elementor .wbs-zg-wahl>a{padding-left:.95em;padding-right:.95em;font-size:.84rem}
}

/* ===== Anspruch: nummerierte Liste links, Beleg-Karte rechts (bleibt beim Scrollen stehen) ===== */
.elementor .wbs-zg-anspruch{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:30px clamp(30px,5vw,84px);align-items:start}
.elementor .wbs-zg-anspruch>div:first-child{counter-reset:wbszg}
.elementor .wbs-zg-anspruch>div:first-child>.wb-item{position:relative;counter-increment:wbszg}
.elementor .wbs-zg-anspruch>div:first-child>.wb-item:last-child{border-bottom:1px solid rgba(24,24,24,.09)}
.elementor .wbs-zg-anspruch>div:first-child>.wb-item::before{content:"0" counter(wbszg);position:absolute;left:0;top:clamp(20px,2.4vw,30px);width:auto;height:auto;font:500 .78rem/1 Inter,"Helvetica Neue",Arial,sans-serif;color:#a4a9ae;font-variant-numeric:tabular-nums}
.elementor .wbs-zg-beleg{position:sticky;top:max(104px,14vh)}
.elementor .wbs-zg-beleg>div:first-child{position:relative;overflow:hidden;aspect-ratio:16/10.5}
.elementor .wbs-zg-beleg>div:first-child img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:top}
/* Fassung ohne Projektbild: Preis-Einstieg */
.elementor .wbs-zg-beleg>div:first-child:not(:has(img)){display:grid;place-items:center;aspect-ratio:16/7;background:radial-gradient(closest-side,rgba(109,214,204,.22),transparent)}
.wbs-zg-beleg>div:first-child p span{font-size:.34em;letter-spacing:0;color:#9F9F9F;font-weight:400;margin-right:.4em}
@media (max-width:900px){
  .elementor .wbs-zg-anspruch{grid-template-columns:1fr}
  .elementor .wbs-zg-beleg{position:static}
}
