/* Branchen-Unterseiten „Eure Abläufe“ – 5 Fassungen (Dirk 06.11.). Klassen ab-.
   Hausgrössen: Fliesstext wie .nx-lead (var(--tc-fs-text)), Zeilen-Titel wie .rx-svc b (800 20px), Zeilentext var(--tc-fs-klein),
   Labels Mono 12 px wie .rx small, Karten = /branchen/-Bausteine (.rx-name …) aus bv.css. */
.ab { --g: clamp(12px, 1.2vw, 18px); --G: clamp(16px, 1.8vw, 28px); }
#swup main .ab .ab-text p { margin: 0 0 1em !important; max-width: 36rem; font: 400 var(--tc-fs-text, 18px)/1.55 var(--display) !important; color: rgba(11,15,6,.78) !important; }
#swup main .ab .ab-text p:last-child { margin-bottom: 0 !important; }
.ab small { display: block; font: 500 var(--tc-fs-mini, 12px)/1.3 var(--mono, monospace); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,15,6,.5); }
.ab .ab-ref .rb-arr, :is(.ab2, .ab3, .ab4) .rb-arr { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: #0b0f06; color: #c5f74f; transition: rotate .35s cubic-bezier(.2,.8,.2,1); }
.ab .ab-ref .rb-arr svg, :is(.ab2, .ab3, .ab4) .rb-arr svg { width: 15px; height: 15px; } .ab .ab-ref:hover .rb-arr, :is(.ab2, .ab3, .ab4) a:hover .rb-arr { rotate: 45deg; }
.ab .ab-ref { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font: 600 var(--tc-fs-klein, 15px)/1 var(--display); color: #0b0f06; text-decoration: none; }
.ab .ab-ref .rb-arr { width: 30px; height: 30px; } .ab .ab-ref .rb-arr svg { width: 12px; height: 12px; }

/* Zeilen (1, 3) */
.ab-rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(11,15,6,.16); }
.ab-rows li { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; padding: clamp(16px, 1.6vw, 22px) 0; border-bottom: 1px solid rgba(11,15,6,.16); }
.ab-rows li > small { grid-row: 1 / 4; padding-top: 4px; }
.ab-rows b { font: 800 20px/1.15 var(--display); color: #0b0f06; }
.ab-rows span { margin-top: 6px; font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.66); }
.ab-rows .ab-ref { grid-column: 2; }

/* 1 · Editorial: Text links, Abläufe als Zeilen rechts */
.ab1 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }

/* 2 · Text links, Ablauf-Karten 2×2 rechts (/branchen/-Namenskarten) */
.ab2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.ab2 .ab-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--g); }
:is(.ab2, .ab3, .ab4) .rx-name { min-height: 0; color: #0b0f06; text-decoration: none; }
:is(.ab2, .ab3, .ab4) .rx-name b { font-size: clamp(24px, 2vw, 32px); }
:is(.ab2, .ab3, .ab4) .rx-name .rx-tease { margin-top: 6px; padding-right: 0; }
:is(.ab2, .ab3, .ab4) .rx-name .rx-lab { margin-top: auto; padding-top: 14px; padding-right: 50px; font-size: var(--tc-fs-klein, 15px); }
:is(.ab2, .ab3, .ab4) .rx-name > .rb-arr { position: absolute; right: 18px; bottom: 18px; }
:is(.ab2, .ab3, .ab4) a.rx-name .rx-tease { padding-right: 46px; }

/* 3 · Text + Zeilen links, Bild aus der Referenz rechts (Cluster wie /branchen/) */
.ab3 { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.ab3 .ab-rows { margin-top: clamp(24px, 2.4vw, 36px); }
.ab3 .ab-pic { text-decoration: none; }
.ab3 .ab-pic .rx-ph { aspect-ratio: 16 / 10; }
.ab3 .ab-pic .rx-name { background: transparent; box-shadow: none; padding-top: 8px; }

/* 4 · Bento-Text: getönter Cluster, Textkarte links, vier Ablauf-Karten rechts */
.ab4-grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(2, minmax(0, 3fr)); grid-template-rows: auto auto; gap: var(--g); }
.ab4-txt { grid-row: 1 / 3; padding: clamp(24px, 2.4vw, 38px) !important; }
.ab4-txt .ab-text { margin-top: 14px; }

/* 5 · Magazin: Text in zwei Spalten, Abläufe als Lime-Band */
#swup main .ab5 .ab-text.cols { columns: 2; column-gap: clamp(28px, 4vw, 64px); }
#swup main .ab5 .ab-text.cols p { max-width: none; break-inside: avoid; }
.ab-band { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(28px, 3vw, 48px) 0 0; padding: 0; list-style: none; border-radius: clamp(22px, 2vw, 30px); background: #c5f74f; overflow: hidden; }
.ab-band li { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2vw, 28px); }
.ab-band li + li { border-left: 1px solid rgba(11,15,6,.14); }
.ab-band b { font: 800 20px/1.15 var(--display); }
.ab-band span { font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.72); }
.ab-band .ab-ref { margin-top: auto; padding-top: 6px; }

@media (max-width: 960px) {
  .ab1, .ab2, .ab3 { grid-template-columns: 1fr; }
  .ab4-grid { grid-template-columns: 1fr 1fr; } .ab4-txt { grid-column: 1 / -1; grid-row: auto; }
  #swup main .ab5 .ab-text.cols { columns: 1; }
  .ab-band { grid-template-columns: 1fr 1fr; } .ab-band li:nth-child(3) { border-left: 0; } .ab-band li:nth-child(n+3) { border-top: 1px solid rgba(11,15,6,.14); }
}
@media (max-width: 560px) {
  .ab2 .ab-cards, .ab4-grid, .ab-band { grid-template-columns: 1fr; }
  .ab-band li + li { border-left: 0; border-top: 1px solid rgba(11,15,6,.14); }
}

/* ---- Runde 2: Text und Typografie, kaum Kacheln, Lime nur als Akzent. Klassen ac-.
   Aussage = Grösse der „Heute“-Zeile auf /branchen/ (800 clamp(22–32px), 85 %); grosse Titel = /branchen/-Kartenüberschrift
   (900 clamp(30–44px) 72 % Versal); Abschnittstitel 800 20px; Fliesstext var(--tc-fs-text); Kleintext var(--tc-fs-klein). ---- */
.ab mark { background: linear-gradient(transparent 58%, #c5f74f 58%, #c5f74f 92%, transparent 92%); color: inherit; padding: 0 .06em; }
#swup main .ab .ab-text.cols { columns: 2; column-gap: clamp(28px, 4vw, 64px); }
#swup main .ab .ab-text.cols p { max-width: none; break-inside: avoid; }

/* 1 · Aussage + Fliesstext */
#swup main .ab .ac-say { margin: 0 0 clamp(24px, 2.6vw, 40px) !important; max-width: 26em; font: 800 clamp(22px, 2vw, 32px)/1.2 var(--display) !important; font-stretch: 85% !important; color: #0b0f06 !important; }
#swup main .ab .ac-run { margin: clamp(28px, 3vw, 44px) 0 0 !important; padding-top: clamp(18px, 1.8vw, 24px); border-top: 1px solid rgba(11,15,6,.16); font: 800 20px/1.6 var(--display) !important; color: #0b0f06 !important; }
.ac-run span { white-space: nowrap; }

/* 2 · Index-Zeilen: grosse Versal-Titel, Text rechts */
.ac2 > .ab-text { margin-bottom: clamp(28px, 3vw, 48px); }
.ac-idx { margin: 0; padding: 0; list-style: none; border-top: 1.5px solid #0b0f06; }
.ac-idx li { display: grid; grid-template-columns: 60px minmax(0, 5fr) minmax(0, 6fr); gap: 20px; align-items: baseline; padding: clamp(18px, 1.8vw, 26px) 0; border-bottom: 1px solid rgba(11,15,6,.16); }
.ac-idx b { font: 900 clamp(30px, 2.6vw, 44px)/.95 var(--display); font-stretch: 72%; letter-spacing: -.005em; text-transform: uppercase; }
.ac-idx li:first-child b { background: linear-gradient(transparent 60%, #c5f74f 60%, #c5f74f 94%, transparent 94%); justify-self: start; padding: 0 .05em; }
.ac-idx span { font: 400 var(--tc-fs-text, 17px)/1.5 var(--display); color: rgba(11,15,6,.72); }
.ac-idx .ab-ref { display: flex; width: max-content; }

/* 3 · Artikel: Einleitung links, Absätze mit Lime-Einstieg rechts */
.ac3 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
#swup main .ab .ac-para { margin: 0 0 1.1em !important; font: 400 var(--tc-fs-text, 18px)/1.6 var(--display) !important; color: rgba(11,15,6,.78) !important; }
.ac-para b { font-weight: 800; color: #0b0f06; }
.ac-para a { color: #0b0f06; font-weight: 600; text-underline-offset: 3px; }
.ac3-r { border-top: 1.5px solid #0b0f06; padding-top: clamp(18px, 1.8vw, 26px); }

/* 4 · Vier Spalten mit Lime-Linie oben */
#swup main .ab .ab-text.wide p { max-width: 52rem; }
.ac-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); margin: clamp(32px, 3.4vw, 56px) 0 0; padding: 0; list-style: none; }
.ac-cols li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 5px solid #c5f74f; }
.ac-cols b { font: 800 20px/1.15 var(--display); }
.ac-cols span { font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.68); }
.ac-cols .ab-ref { margin-top: auto; }

/* 5 · Text mit Randnotizen */
.ac5 { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
#swup main .ab .ab-text.big p { max-width: 40rem; font: 400 clamp(19px, 1.5vw, 22px)/1.55 var(--display) !important; color: #0b0f06 !important; }
.ac5-side { display: grid; gap: clamp(16px, 1.6vw, 22px); }
.ac-note { display: grid; gap: 6px; padding: 2px 0 2px 18px; border-left: 4px solid #c5f74f; }
.ac-note small { color: #0b0f06; }
.ac-note span { font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.68); }
.ac-note .ab-ref { margin-top: 2px; }

@media (max-width: 960px) {
  #swup main .ab .ab-text.cols { columns: 1; }
  .ac3, .ac5 { grid-template-columns: 1fr; }
  .ac-idx li { grid-template-columns: 44px minmax(0, 1fr); } .ac-idx li > span { grid-column: 2; }
  .ac-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .ac-cols { grid-template-columns: 1fr; } .ac-run span { white-space: normal; } }

/* ---- Runde 3: echte Bilder je Ablauf, /branchen/-Bausteine, Bewegung beim Erscheinen. Klassen ad-.
   Grössen: Titel 800 20px bzw. /branchen/-Kartenüberschrift, Text var(--tc-fs-klein)/(--tc-fs-text), Labels Mono 12px. ---- */
.ad-fr { display: flex; } .ad-fr .rx-ph { flex: 1; aspect-ratio: 4 / 3; }
.ab .ad1-s b, .ab .ad2-row b, .ab .ad3-steps b { display: block; font: 800 20px/1.15 var(--display); color: #0b0f06; }
.ab .ad1-s span, .ab .ad2-row span, .ab .ad3-steps span { display: block; margin-top: 6px; font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.68); }
.ab .ad1-s small, .ab .ad3-steps small { margin-top: 16px; margin-bottom: 6px; }

/* Bewegung: Grundzustand nur mit .ad-anim ohne .on (Skript setzt .on beim Erscheinen) */
.ad-anim:not(.on) .ad1-s, .ad-anim:not(.on) .ad2-row li { opacity: 0; translate: 0 30px; }
.ad1-s, .ad2-row li { transition: opacity .8s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s + .1s), translate .9s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s + .1s); }
.ad-anim .ad-fr .rx-ph img { transition: scale 1.4s cubic-bezier(.2,.8,.2,1) calc(var(--i, 0) * .12s + .1s); }
.ad-anim:not(.on) .ad-fr .rx-ph img { scale: 1.12; }

/* 1 · Bilder je Ablauf: Einleitung links, 2×2 Abläufe mit gerahmtem Foto rechts */
.ad1 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.ad1-l { position: sticky; top: 110px; }
.ad1-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) var(--G); }
.ad1-s .ad-fr .rx-ph { margin: 10px; }

/* 2 · Prozess-Linie: vier Stationen, Lime-Linie zeichnet sich beim Erscheinen */
.ad2-row { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--G); margin: clamp(32px, 3.4vw, 56px) 0 0; padding: 0; list-style: none; }
.ad2-row .ad-fr .rx-ph { margin: 8px; aspect-ratio: 1; }
.ad2-line { position: absolute; left: 0; right: 0; top: var(--ly, 0); height: 4px; border-radius: 4px; background: #c5f74f; transform-origin: 0 50%; transition: scale 1.6s cubic-bezier(.65,0,.35,1) .2s; }
.ad-anim:not(.on) .ad2-line { scale: 0 1; }
.ad2-row li { position: relative; display: flex; flex-direction: column; }
.ad2-dot { position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; margin: 16px 0 14px; border-radius: 50%; background: #0b0f06; color: #c5f74f; font: 600 12px/1 var(--mono, monospace); font-style: normal; letter-spacing: .06em; }
.ad2-row .ab-ref { margin-top: 12px; }

/* 3 · Bild-Story: Abläufe links, grosses Bild rechts schaltet automatisch weiter, Balken zeigt die Zeit */
.ad3 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.ad3-steps { margin: clamp(24px, 2.6vw, 40px) 0 0; padding: 0; list-style: none; }
.ad3-steps li { position: relative; padding: 14px 0 14px 22px; border-left: 2px solid rgba(11,15,6,.12); transition: opacity .4s; }
.ad3-steps li:not(.is) { opacity: .5; } .ad3-steps li:not(.is) span { display: none; }
.ad3-steps small { margin-top: 0 !important; }
.ad3-bar { position: absolute; left: -2px; top: 0; width: 2px; height: 0; background: #0b0f06; }
.ad3-steps li.is .ad3-bar { animation: ad3-t 4s linear both; }
@keyframes ad3-t { from { height: 0; } to { height: 100%; } }
.ad3-stage { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.ad3-stage img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px) !important; object-fit: cover; border-radius: clamp(12px, 1.2vw, 16px); opacity: 0; scale: 1.06; transition: opacity .8s, scale 4.4s linear; }
.ad3-stage img.is { opacity: 1; scale: 1; }

/* 4 · L-Bento gespiegelt (Geometrie wie „Was sich ändert.“, Klassen as5): Referenz-Box lime, Textkarte, Foto, Abläufe als breiter Fuss */
.ad4 > .ad4-txt { grid-area: 1 / 3 / 2 / 4; padding: clamp(22px, 2.2vw, 34px); }
.ad4 > .ad4-steps { grid-area: 3 / 1 / 4 / 4; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--G); padding: clamp(20px, 2vw, 28px); }
.ad4-steps > span { display: flex; flex-direction: column; gap: 6px; transition: opacity .7s calc(var(--i) * .12s + .3s), translate .8s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .12s + .3s); }
.ad-anim:not(.on) .ad4-steps > span { opacity: 0; translate: 0 16px; }
.ad4-steps b { font: 800 20px/1.15 var(--display); color: #0b0f06; }
.ad4-steps em { font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); font-style: normal; color: rgba(11,15,6,.68); }
.ad4 .ad4-ref img { width: 64px; height: 44px !important; object-fit: cover; object-position: top left; border-radius: 8px; }
#swup main .ad4 .ad4-txt .ab-text p { font-size: var(--tc-fs-klein, 15px) !important; }

/* 5 · Zettel wird Ablauf: Notiz streicht sich durch, daraus werden die vier Abläufe mit Haken */
.ad5 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 4vw, 72px); align-items: center; }
.ad5-r { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.15fr); gap: var(--g); align-items: center; }
.ad5-note { display: grid; gap: 12px; padding: clamp(20px, 2vw, 28px); border-radius: 10px; background: #fbfaf4; box-shadow: 0 30px 50px -40px rgba(11,15,6,.45); }
.ad5-note s { font: 500 clamp(16px, 1.3vw, 19px)/1.3 var(--mono, monospace); color: rgba(11,15,6,.7); text-decoration: none;
  background: linear-gradient(#c5f74f, #c5f74f) 0 56% / 0% 4px no-repeat; transition: background-size .6s cubic-bezier(.65,0,.35,1) calc(var(--i) * .35s + .3s); }
.ad-anim.on .ad5-note s { background-size: 100% 4px; }
.ad5-arw { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #0b0f06; color: #c5f74f; font-style: normal; transition: scale .5s cubic-bezier(.3,1.6,.5,1) 1.4s; }
.ad5-arw .rb-arr { background: none; width: auto; height: auto; rotate: 45deg; } .ad-anim:not(.on) .ad5-arw { scale: 0; }
.ad5-app { gap: 12px !important; min-height: 0; }
.ad5-app > span { display: flex; align-items: center; gap: 12px; transition: opacity .6s calc(var(--i) * .2s + 1.6s), translate .7s cubic-bezier(.2,.8,.2,1) calc(var(--i) * .2s + 1.6s); }
.ad-anim:not(.on) .ad5-app > span { opacity: 0; translate: 12px 0; }
.ad5-app b { font: 800 20px/1.15 var(--display); }
.ad5-ok { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #0b0f06; color: #c5f74f; }
.ad5-ok svg { width: 15px; height: 15px; }

@media (max-width: 960px) {
  .ad1, .ad3, .ad5 { grid-template-columns: 1fr; } .ad1-l { position: static; }
  .ad2-row { grid-template-columns: 1fr 1fr; row-gap: 32px; } .ad2-line { display: none; }
  .ad4 > .ad4-steps { grid-template-columns: 1fr 1fr; }
  .ad5-r { grid-template-columns: 1fr; } .ad5-arw { justify-self: center; rotate: 90deg; }
}
@media (max-width: 560px) { .ad1-g, .ad4 > .ad4-steps { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .ad-anim * { transition: none !important; animation: none !important; } }
/* Runde 3 – Korrekturen: Pfeile in Text-Links nicht absolut (Regel .rx .rb-arr aus bv.css); L-Fuss mit 2×2 statt 4 Spalten */
.ab .ab-ref .rb-arr { position: static; translate: none; }
.ad4 > .ad4-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }

/* ---- Runde 4: Basis R3/1. Kopf + Einleitung links (bleibt stehen), 2×2 Bilder rechts oben auf Höhe der Eyebrow,
   Haus-Buttons. Lime je Fassung an einer Stelle. Klassen ae4-. ---- */
.ae4w { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.ae4-l { position: sticky; top: 110px; }
.ae4-l .nx-head { margin-bottom: clamp(24px, 2.6vw, 40px); display: block; }
.ae4w .ad1-s { display: flex; flex-direction: column; align-items: flex-start; }
.ae4w .ad1-s > .ad-fr { align-self: stretch; }
.ae4w .ae4-btn { margin-top: 16px; }
/* 2 · Lime-Nummer im Bild (oben links auf dem Foto) */
.ae4w .ad1-s { position: relative; }
.ae4-badge { position: absolute; z-index: 2; left: 24px; top: 24px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #c5f74f; color: #0b0f06; font: 600 12px/1 var(--mono, monospace); font-style: normal; letter-spacing: .06em; box-shadow: 0 8px 18px -8px rgba(11,15,6,.5); }
.ae4-2 .ad1-s > b { margin-top: 16px; }
/* 3 · Lime-Markierung unter „bei euch.“ (wie die Markierung in der Hero-Überschrift) */
#swup main .ae4w .nx-head h2 em.ae4-mark { background: linear-gradient(transparent 62%, #c5f74f 62%, #c5f74f 92%, transparent 92%); padding: 0 .04em; }
/* 4 · eine Kachel in Lime (erster Ablauf) */
.ae4-lf > .ad-fr { background: #c5f74f; }
/* 5 · kurzer Lime-Strich über jedem Titel */
.ae4-line { display: block; width: 44px; height: 5px; margin: 16px 0 12px; border-radius: 5px; background: #c5f74f; }
.ae4-5 .ad1-s > small { display: none; }
@media (max-width: 960px) { .ae4w { grid-template-columns: 1fr; } .ae4-l { position: static; } }

/* ---- Runde 5: Abläufe als /branchen/-Cluster mit rundem Pfeil (bv.css .rx …). Hier nur Anordnung. Klassen ab5-. ---- */
.ab5 .rx-name { min-height: 0; text-decoration: none; }
.ab5 .rx-b { text-decoration: none; }
.ab5 .rx-fit > .rx-big .rx-ph { min-height: 220px; }
.ab5 .rx-fit.rx-top6 > .rx-big .rx-ph { min-height: 0; aspect-ratio: 16 / 9; }
/* Einblende-Klasse (nx-anim) darf den Hover-Übergang nicht überschreiben – sonst springt die Karte hart hoch */
.ab5 a.rx-b, .nxa .ab5 a.rx-b.nxa-on { transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--nxa-d, 0s), transform .9s cubic-bezier(.2,.8,.2,1) var(--nxa-d, 0s), translate .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s; }
.ab5 a.rx-b:hover { translate: 0 -5px; }
/* Textkarte (Einleitung) im Kartenstil */
.ab5-txt { padding: clamp(22px, 2.2vw, 34px) !important; }
.ab5-txt .ab-text { margin-top: 10px; }
#swup main .ab5 .ab5-txt .ab-text p { font-size: var(--tc-fs-text, 17px) !important; }
/* 1 · versetzt wie /branchen/ */
.ab5-1 .rx-mas { margin-top: clamp(28px, 3vw, 48px); }
/* 2 · Kopf + Einleitung links, vier Cluster rechts */
.ab5-2 { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 4vw, 72px); align-items: start; }
.ab5-l { position: sticky; top: 110px; } .ab5-l .nx-head { display: block; margin-bottom: clamp(24px, 2.6vw, 40px); }
.ab5-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); }
.ab5-2 .ab5-g { grid-template-columns: 1fr; }
.ab5-2 .rx-fit > .rx-big .rx-ph { min-height: 200px; }
/* 3 · Text oben breit, 2×2 Cluster */
.ab5-txtrow { margin: clamp(28px, 3vw, 48px) 0 clamp(16px, 1.8vw, 28px); }
#swup main .ab5-3 .ab5-txt .ab-text p { max-width: 60rem; }
/* 4 · dunkle Karte („Was klemmt bei euch?“) wie „Hier könnte eure Branche stehen.“ */
.ab5-4 .rx-mas { margin-top: clamp(28px, 3vw, 48px); }
.ab5-you { display: flex; flex-direction: column; gap: 10px; position: relative; min-height: 220px; justify-content: flex-end; padding: clamp(24px, 2.4vw, 34px) !important; }
/* 5 · vier Cluster in einer Reihe, Foto oben, Karte darunter */
.ab5-row4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); margin-top: clamp(28px, 3vw, 48px); }
.ab5-row4 > .rx-b { display: flex; flex-direction: column; }
.ab5-row4 .rx-big { display: block; } .ab5-row4 .rx-ph { aspect-ratio: 4 / 3; }
.ab5-row4 .rx-name { flex: 1; } .ab5-row4 .rx-name b { font-size: clamp(22px, 1.8vw, 30px); }
@media (max-width: 960px) {
  .ab5-2 { grid-template-columns: 1fr; } .ab5-l { position: static; }
  .ab5-g, .ab5-row4 { grid-template-columns: 1fr; }
}

/* Chat-Kachel (Büros, „Ein Ansprechpartner“) – wie der Chat auf /it-support/ */
.ab-chat { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 16px; background: #e9eae6; }
.ab-chat-h { position: absolute; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; padding: 12px 16px; background: #f4f5f2; }
.ab-chat-h img { grid-row: 1 / 3; width: 40px; height: 40px !important; border-radius: 50%; object-fit: cover; }
.ab-chat-h b { font: 800 15px/1.1 var(--display); color: #0b0f06; } .ab-chat-h small { font-size: 10px !important; color: rgba(11,15,6,.55) !important; }
.ab-chat-b { max-width: 82%; padding: 10px 13px; border-radius: 14px 14px 14px 4px; background: #fff; font: 500 13px/1.35 var(--display); color: #0b0f06; box-shadow: 0 6px 14px -10px rgba(11,15,6,.4); }
.ab-chat-b.ab-me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: #c5f74f; }
.ab5 .rx-ph:has(> .ab-chat) { position: relative; min-height: 240px; }

/* Spaltenbreite je Kachel nur auf dem Desktop (vorher inline – das hob die einspaltige Handy-Ansicht auf) */
@media (min-width: 961px) { .rx .rx-fit[style*="--cols"] { grid-template-columns: var(--cols); } }
