/* Variante A · Soft UI — weiche Oberflächen, zentrierte Begrüßung, Gewichtung wie Entwurf 1 (Dabei! groß, 3er-Reihe, 5er-Reihe) */
:root { --r-lg: 32px; --r-md: 22px; --r-sm: 16px; --card-bg: var(--mist); --card-hover: #fff; --card-border: transparent; }
html[data-karten="2"] body { background: #f2f2f2; }
html[data-karten="2"] { --card-bg: #fff; --card-hover: #fff; }
html[data-karten="3"] { --card-bg: #fff; --card-hover: #fff; --card-border: #e6e6e6; }
main, .legal { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }

.chip { display: inline-flex; align-items: center; height: 30px; margin: 0; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.chip-dark { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 600; transition: background-color .3s; }
.btn-light { background: #fff; color: var(--ink); }
.btn:hover .arrow-ico, a:hover > .btn .arrow-ico, a:hover .feat-text .btn .arrow-ico { transform: translateX(4px); }

/* ---------- Hero, zentriert, ganz schwarz ---------- */
.hero { padding: clamp(140px, 20vh, 220px) 0 clamp(70px, 10vh, 120px); text-align: center; }
.hero-title { margin: 0; font-weight: 500; }
.hero-title .hl { display: block; }
.hl-1 { max-width: 15.5em; margin-inline: auto; font-size: clamp(38px, 6.4vw, 112px); font-weight: 400; line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
.hl-1 .ico { margin: 0 .08em; }
.hl-1 .ico-shapes { height: .5em; vertical-align: .04em; }
.hl-1 .ico-order { height: .56em; vertical-align: .04em; }
.hero-id { display: inline-flex; align-items: center; gap: 14px; margin-top: clamp(44px, 7vh, 72px); text-align: left; font-size: 15px; line-height: 1.35; color: var(--ink-2); }
.hero-id img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.hero-id b { display: block; color: var(--ink); font-weight: 600; }

/* ---------- Dabei!: drei Darstellungen, umschaltbar ---------- */
.feat { position: relative; display: grid; grid-template-columns: 5fr 7fr; align-items: center; min-height: clamp(520px, 44vw, 660px); overflow: hidden; border-radius: var(--r-lg); background: #f2efed; transition: background-color .5s; }
.feat-text { position: relative; z-index: 2; padding: clamp(28px, 4vw, 64px); }
.feat-kicker { margin: 0; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.feat h2 { margin: 0 0 10px; font-size: clamp(64px, 9vw, 140px); font-weight: 450; line-height: .9; letter-spacing: -.037em; } /* wie der Titel der Dabei!-Case-Study in Entwurf 1 */
.feat-desc { margin: 0 0 32px; max-width: 27em; font-size: 15px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.pill-break { flex-basis: 100%; height: 0; }
.feat-line { margin: 0 0 20px; max-width: 18em; text-wrap: balance; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; color: var(--ink); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 40px; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: 999px; font-size: 13px; font-weight: 500; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); }
.feat-stage { display: none; position: relative; height: 100%; min-height: inherit; }

/* 1 · Bühne: drei Screens gefächert */
html:not([data-dabei]) .stage-fan, html[data-dabei="1"] .stage-fan { display: block; }
.stage-fan .phone { position: absolute; top: 50%; left: 50%; width: clamp(150px, 15vw, 230px); transition: transform 1s var(--ease-out); }
.ph-1 { transform: translate(calc(-50% - 82%), calc(-44% + (1 - var(--p, .5)) * 60px)) rotate(-7deg) scale(.9); }
.ph-2 { z-index: 2; transform: translate(-50%, calc(-50% - (var(--p, .5) - .5) * 40px)); }
.ph-3 { transform: translate(calc(-50% + 82%), calc(-40% + var(--p, .5) * 60px)) rotate(7deg) scale(.9); }
.feat:hover .ph-1 { transform: translate(calc(-50% - 94%), calc(-45% + (1 - var(--p, .5)) * 60px)) rotate(-10deg) scale(.9); }
.feat:hover .ph-3 { transform: translate(calc(-50% + 94%), calc(-41% + var(--p, .5) * 60px)) rotate(10deg) scale(.9); }
.phone { box-shadow: 0 24px 40px -26px rgba(0,0,0,.35); }

/* 2 · Karte: weiße Karte mit Rahmen, Screens steigen aus einer Farbfläche (Lila aus der App) */
html[data-dabei="2"] .feat { background: #fff; box-shadow: inset 0 0 0 1px #e6e6e6; padding: 10px; }
html[data-dabei="2"] .stage-row { display: flex; justify-content: center; align-items: flex-start; gap: 3%; padding-top: 12%; overflow: hidden; border-radius: 24px; background: #e4dcff; }
.stage-row .phone { width: 28%; transition: transform .9s var(--ease-out); }
.stage-row .pr-1, .stage-row .pr-3 { transform: translateY(calc(18% - var(--p, .5) * 10%)); }
.stage-row .pr-2 { transform: translateY(calc(6% - var(--p, .5) * 10%)); }
.feat:hover .stage-row .phone { transform: translateY(-2%); }
.feat:hover .stage-row .pr-2 { transform: translateY(-6%); }

/* 3 · Band: Text oben, alle Screens als Band, das beim Scrollen wandert */
html[data-dabei="3"] .feat { grid-template-columns: 1fr; align-items: start; min-height: 0; }
html[data-dabei="3"] .feat-text .btn, html[data-dabei="3"] .pills { justify-self: start; }
html[data-dabei="3"] .feat-text { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 0 40px; padding-bottom: 10px; }
html[data-dabei="3"] .feat-text > :not(h2):not(.feat-kicker) { grid-column: 2; }
html[data-dabei="3"] .feat-text h2 { grid-row: 2 / 6; margin-bottom: 0; }
html[data-dabei="3"] .stage-band { display: block; min-height: 0; overflow: hidden; padding: 30px 0 0; }
.band-track { display: flex; gap: 20px; width: max-content; transform: translateX(calc(-8% - var(--p, .5) * 22%)); transition: transform .2s linear; }
.band-track .phone { width: clamp(120px, 10vw, 156px); }
html[data-dabei="3"] .stage-band { padding-top: 40px; height: clamp(300px, 26vw, 380px); }

/* runder Hinweis am Mauszeiger, wie in Entwurf 1 */
.cursor-badge { position: fixed; z-index: 70; left: 0; top: 0; display: grid; place-content: center; width: 112px; height: 112px; margin: -56px 0 0 -56px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.25; text-align: center; pointer-events: none; opacity: 0; transform: translate(var(--mx, -200px), var(--my, -200px)) scale(.4); transition: opacity .25s, transform .4s var(--ease-out); }
.cursor-badge span { display: block; }
.feat.has-badge { cursor: none; }
.feat.has-badge .cursor-badge { opacity: 1; transform: translate(var(--mx), var(--my)) scale(1); transition: opacity .25s, transform .12s linear; }
@media (hover: none) { .cursor-badge { display: none; } }

/* ---------- Projektkarten: 3er-Reihe, darunter 5 kleinere ---------- */
.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); margin-top: 16px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); gap: 12px; }
.more-title { margin: clamp(56px, 7vw, 96px) 0 18px; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.card { position: relative; display: block; padding: 8px; border-radius: var(--r-md); background: var(--card-bg); box-shadow: inset 0 0 0 1px var(--card-border); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background-color .4s; }
.card-img { overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-sm); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.card-text { padding: 14px 10px 8px; }
.card h3 { margin: 0; font-family: var(--font-display); font-feature-settings: "ss02" 1; font-size: 19px; font-weight: 600; letter-spacing: -.015em; }
.card-line { margin: 3px 0 0; font-size: 15px; line-height: 1.4; }
.card-meta { margin: 8px 0 0; font-size: 13px; color: var(--ink-3); }
.grid-5 .card { padding: 6px; border-radius: 18px; }
.grid-5 .card-img { border-radius: 13px; }
.grid-5 .card-text { padding: 10px 8px 6px; }
.grid-5 .card h3 { font-size: 15px; }
.grid-5 .card-meta { margin-top: 2px; font-size: 12px; }
.card-go { position: absolute; right: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); font-size: 15px; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .45s var(--ease-out); }
.grid-5 .card-go { display: none; }
.card:hover { background: var(--card-hover); transform: translateY(-5px); box-shadow: inset 0 0 0 1px var(--card-border), 0 22px 44px -26px rgba(0,0,0,.22); }
.card:hover .card-img img { transform: scale(1.04); }
.card:hover .card-go { opacity: 1; transform: none; }

/* ---------- Playground: eine Arbeit im Querformat ---------- */
.play { position: relative; display: grid; grid-template-columns: 4fr 7fr; align-items: stretch; margin-top: clamp(80px, 10vw, 140px); overflow: hidden; border-radius: var(--r-lg); background: var(--ink); color: #fff; }
.play-text { align-self: center; padding: clamp(28px, 4.5vw, 64px); }
.play .btn::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.play .reel-pause { z-index: 3; }
.play:hover .btn .arrow-ico { transform: translateX(4px); }
.play h2 { margin: 22px 0 32px; font-size: clamp(22px, 2.2vw, 34px); font-weight: 500; line-height: 1.16; letter-spacing: -.025em; }
.play-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #0532ff; } /* bündig in der Fläche, ohne eigenen Rahmen */
.play-media .reel, .play-media video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Kontakt, linksbündig in der Box ---------- */
.hello { display: flex; flex-direction: column; align-items: stretch; gap: 22px; margin-top: 16px; padding: clamp(48px, 7vw, 110px) clamp(28px, 4.5vw, 64px); border-radius: var(--r-lg); background: var(--mist); }
html[data-karten="2"] .hello { background: #fff; }
.hello p { margin: 0; font-size: clamp(17px, 1.5vw, 21px); }
.hello a { display: flex; align-items: center; justify-content: space-between; gap: .2em; font-size: clamp(56px, 9vw, 140px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.hello-btn { display: grid; place-items: center; width: .7em; height: .7em; border-radius: 50%; background: var(--ink); color: #fff; font-size: .62em; transition: transform .6s var(--ease-out), background-color .3s; }
.hello-btn svg { width: .55em; height: .55em; }
.hello a:hover .hello-btn { transform: rotate(45deg); }
.social { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: calc(1440px - 2 * var(--gutter)); margin: 16px auto 0; padding: clamp(32px, 4vw, 56px) clamp(28px, 4.5vw, 64px); border-radius: var(--r-lg); background: var(--ink); color: #fff; }
@media (max-width: 1488px) { .social { margin-inline: var(--gutter); } }
.social p { margin: 0; font-size: clamp(26px, 3vw, 44px); font-weight: 500; letter-spacing: -.03em; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-links a { display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 26px; border-radius: 999px; border: 1px solid rgba(255,255,255,.28); font-size: 17px; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.social-links a:hover { background: #fff; color: var(--ink); border-color: #fff; }
.legal { display: flex; justify-content: space-between; padding-block: 22px 90px; font-size: 13px; color: var(--ink-3); }
.legal a:hover { color: var(--ink); }

/* ---------- Vorschau-Schalter (nur in der Vorschau) ---------- */
.tweak { position: fixed; z-index: 80; left: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; max-width: calc(100vw - 24px); padding: 8px 10px; border-radius: 16px; background: rgba(255,255,255,.94); box-shadow: 0 10px 30px -10px rgba(0,0,0,.3), 0 0 0 1px rgba(0,0,0,.06); font-size: 12px; backdrop-filter: blur(10px); }
.tweak > span { font-weight: 600; color: var(--ink-2); }
.tw-seg { display: flex; padding: 2px; border-radius: 999px; background: #eee; }
.tw-seg button { padding: 5px 10px; border-radius: 999px; font-size: 12px; color: var(--ink-2); }
.tw-seg button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .feat, .play { grid-template-columns: 1fr !important; }
  .feat-stage.stage-fan, .stage-row { min-height: 460px; }
  html[data-dabei="3"] .feat-text { grid-template-columns: 1fr; }
  html[data-dabei="3"] .feat-text > * { grid-column: 1 !important; grid-row: auto !important; }
}
@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .stage-fan { min-height: 380px !important; }
  .stage-fan .phone { width: 140px; }
  .social { flex-direction: column; align-items: flex-start; }
  .legal { flex-direction: column; gap: 6px; }
  .card-go { opacity: 1; transform: none; }
  .tweak > span { display: none; }
}

/* Karten 4 · Outline (nach Danylo Usyk): eine Linie um die ganze Karte, das Bild sitzt bündig oben drin, ohne eigenen Rand */
html[data-karten="4"] .card { padding: 0; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #e4e4e4; }
html[data-karten="4"] .card-img { border-radius: 0; border-bottom: 1px solid #ececec; }
html[data-karten="4"] .card-text { padding: 18px 20px 20px; }
html[data-karten="4"] .grid-5 .card { border-radius: 16px; }
html[data-karten="4"] .grid-5 .card-text { padding: 12px 14px 14px; }
html[data-karten="4"] .card:hover { box-shadow: inset 0 0 0 1px #cfcfcf, 0 22px 44px -26px rgba(0,0,0,.2); }
html[data-karten="4"] .card-go { top: 14px; right: 14px; }

/* Dabei! 4 · Spalten und 5 · Raster: Handys mit zwölf verschiedenen Kern-Screens, laufen dauerhaft weiter
   (gegenläufig), zusätzlich leicht ans Scrollen gekoppelt. Handy-Rahmen wie im Raster von Entwurf 1. */
.pp { position: relative; display: block; padding: 5.111% 5.333%; filter: drop-shadow(0 10px 14px rgba(0,0,0,.22)); }
.pp::after { content: ""; position: absolute; inset: 0; background: url("../../assets/dabei/iphone-17-black.png") center / 100% 100% no-repeat; pointer-events: none; }
.pp img { display: block; width: 100%; height: auto; aspect-ratio: 1206 / 2622; object-fit: cover; object-position: top; border-radius: 12% / 5.5%; background: #fff; }
.drift { display: flex; flex-direction: column; gap: var(--dg, 18px); animation: drift var(--dur, 46s) linear infinite; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(calc(-50% - var(--dg, 18px) / 2)); } }

html[data-dabei="4"] .stage-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); height: clamp(520px, 44vw, 660px); min-height: 0; padding-right: clamp(20px, 3vw, 48px); overflow: hidden; }
html[data-dabei="4"] .feat { overflow: hidden; }
.stage-cols .col { --dg: clamp(14px, 1.8vw, 26px); }
/* Spalten: gerades Raster mit Handy-Rahmen, die Spalten laufen gleichmäßig und dauerhaft durch (mittlere gegenläufig),
   unabhängig vom Scrollen, ohne Zoom. (Nachbau des Nata-Suu-Videos am 22.10. verworfen.) */
html[data-dabei="4"] .stage-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 26px); height: clamp(520px, 44vw, 660px); min-height: 0; padding: 0 clamp(20px, 3vw, 48px) 0 24px; overflow: hidden; }
.stage-cols .col { --dg: clamp(14px, 1.8vw, 26px); }
.stage-cols .col:nth-child(1) { transform: translateY(-6%); --dur: 34s; }
.stage-cols .col:nth-child(2) { transform: translateY(-16%); --dur: 40s; }
.stage-cols .col:nth-child(2) .drift { animation-direction: reverse; }
.stage-cols .col:nth-child(3) { transform: translateY(-2%); --dur: 37s; }
.stage-cols .pp { filter: drop-shadow(0 8px 10px rgba(0,0,0,.14)); }
/* Detailseiten scrollen im Handy: kurz oben stehen, langsam nach unten, kurz unten stehen, zurück nach oben */
.pp-scr { position: relative; display: block; }
/* Detailseite scrollt erst, wenn ihr Handy in der Mitte der Fläche ankommt (a.js setzt is-scrolling); verlässt es die Fläche, steht sie wieder oben */
.pp.is-long .pp-long { object-position: 50% 0%; transition: none; }
.pp.is-long.is-scrolling .pp-long { object-position: 50% 100%; transition: object-position var(--sd, 7s) cubic-bezier(.45, 0, .3, 1) .3s; }
.pp .pp-bar { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: inset(89% 0 0 0); object-position: 50% 100%; }
@media (prefers-reduced-motion: reduce) { .pp.is-long .pp-long { transition: none !important; } }

html[data-dabei="5"] .stage-raster { display: block; overflow: hidden; container-type: size; }
.raster-track { position: absolute; left: 50%; top: 50%; display: flex; gap: 4cqw; width: 150cqw; transform: translate(-50%, calc(-50% + (var(--p, .5) - .5) * -8cqh)) rotate(-18deg); }
.rcol { flex: 1 1 0; min-width: 0; --dg: 4cqw; }
.rcol:nth-child(odd) { transform: translateY(10cqw); }
.rcol:nth-child(even) .drift { animation-direction: reverse; }
.rcol:nth-child(3n) { --dur: 52s; } .rcol:nth-child(3n+1) { --dur: 42s; }
@media (max-width: 1100px) { html[data-dabei="4"] .stage-cols, html[data-dabei="5"] .stage-raster { height: 520px; padding: 0 16px; } }
@media (prefers-reduced-motion: reduce) { .drift { animation: none; } }

/* Leistungen als Pills statt als Textzeile */
.card-tags { display: none; flex-wrap: wrap; gap: 5px; margin-top: 12px; }
.card-tags span { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px #dedede; font-size: 12px; color: var(--ink-2); }
html[data-leistungen="2"] .card-tags { display: flex; }
html[data-leistungen="2"] .card-meta { display: none; }
.grid-5 .card-tags { gap: 4px; margin-top: 8px; }
.grid-5 .card-tags span { height: 22px; padding: 0 8px; font-size: 11px; }

/* Dabei!-Kachel beim Darüberfahren: 1 hebt sich mit weichem, hellem Schatten · 2 Fläche wird eine Spur dunkler · 3 ohne */
/* gleiches Verhalten für Dabei!, Playground und »Sag hallo« */
.feat, .play, .hello { transition: background-color .5s, transform .7s var(--ease-out), box-shadow .7s var(--ease-out); }
html:not([data-hover="2"]):not([data-hover="3"]) :is(.feat, .play, .hello):hover { transform: translateY(-6px); box-shadow: 0 30px 70px -38px rgba(0, 0, 0, .2), 0 2px 10px -6px rgba(0, 0, 0, .06); }
html:not([data-hover="2"]):not([data-hover="3"]) .play:hover { box-shadow: 0 30px 70px -36px rgba(0, 0, 0, .45); }
html[data-hover="2"] .feat:hover { background: #ebe7e3; }
html[data-hover="2"] .play:hover { background: #1c1c1c; }
html[data-hover="2"] .hello:hover { background: #ececec; }

/* aufgebaut wie in Entwurf 1: feine Linie, direkt darunter der Satz, »Sag hallo« groß unten in der Fläche, Pfeil rechts */
html[data-hallo="2"] .hello { justify-content: space-between; gap: 48px; min-height: 46vh; margin-top: clamp(64px, 8vw, 110px); padding: 26px 0 clamp(40px, 5vw, 72px); border-radius: 0; background: none; border-top: 1px solid #dcdcdc; }
html[data-hallo="2"] .hello a { align-items: flex-end; }
html[data-hallo="2"] .hello:hover { transform: none !important; box-shadow: none !important; background: none !important; }
html[data-hallo="2"] .hello p { color: var(--ink-2); }

/* »Lass uns in Kontakt bleiben«: eine Spur kleiner, auf Deutsch (längerer Satz) noch etwas mehr */
.social p { font-size: clamp(24px, 2.6vw, 38px); }
html[lang="de"] .social p { font-size: clamp(22px, 2.3vw, 33px); }
