/* Seite Ergebnisse (Auftrag 115, nachgebessert in Auftrag 117; Stand davor: alt-2026-11-27/). Grundlage: ../assets/ci/ci.css, dann basis.css.
   Jede Farbe ist eine Rolle des Fundaments (--rb-…), jede Größe eine Stufe der Schriftleiter. Bewegt wird nur transform und opacity.
   Präfixe: bu- Bühne · bs- Branchen-Schalter · bahn- Bahn zum Ziehen · fl- Filter · er-, gr- Liste · kk- Kundenkarte · cs- Case Study (aufgeklappt)
   · bl-, pr- helle Blöcke zwischen den Branchen · gg- Google · wd- Wand unten */

h4, h5 { margin: 0; }
.sterne { display: inline-block; flex: none; width: 5em; height: 1em; font-size: var(--rb-t-3); background: linear-gradient(90deg, var(--rb-gruen) var(--anteil, 100%), var(--rb-linie) var(--anteil, 100%));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.700l2.550 5.230 5.750.810-4.170 4.040 1 5.720L10 14.780 4.870 17.500l1-5.720L1.700 7.740l5.750-.810z'/%3E%3C/svg%3E") 0 0 / 1em 1em repeat-x;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 1.700l2.550 5.230 5.750.810-4.170 4.040 1 5.720L10 14.780 4.870 17.500l1-5.720L1.700 7.740l5.750-.810z'/%3E%3C/svg%3E") 0 0 / 1em 1em repeat-x; }
.rb-hell .sterne { background: linear-gradient(90deg, var(--rb-petrol) var(--anteil, 100%), var(--rb-linie) var(--anteil, 100%)); }

/* ---------- Bahn zum Ziehen: kein Rollbalken, Pfeile und Ziehen ---------- */
.bahn { position: relative; min-width: 0; }
.bahn-in { display: flex; gap: var(--rb-a-4); overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * var(--rb-rand)); padding-inline: var(--rb-rand); scroll-padding-inline: var(--rb-rand); cursor: grab; }
.bahn-in::-webkit-scrollbar { display: none; }
.bahn-in.zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
.bahn-in.zieht * { pointer-events: none; }
.bahn-in > li { flex: none; scroll-snap-align: start; }
.bahn-in > li[hidden] { display: none; }
.bahn-in img { -webkit-user-drag: none; user-select: none; }
.bahn-pfeile { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.bahn-pf { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--rb-feld-rand); color: var(--rb-kopf); transition: opacity var(--rb-dauer); }
.bahn-pf svg { width: 18px; height: 18px; }
.bahn-pf[data-bahn="-1"] svg { transform: scaleX(-1); }
@media (hover: hover) { .bahn-pf:hover { background: var(--rb-hauch); } }
.bahn-pf:disabled { opacity: .3; cursor: default; }
.bahn.passt .bahn-pfeile { display: none; }
.bahn.passt .bahn-in { cursor: auto; }
/* Bahn mit Pfeilen an beiden Rändern und Zähler (Runde 27): Sie endet am Satzspiegel, die angeschnittene Karte läuft unter dem Pfeil aus. Der linke Pfeil erscheint erst, wenn man gewandert ist */
.bahn-kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 24px; margin-bottom: 12px; }
.bahn-titel { font-size: var(--rb-t-2); line-height: 1.3; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
.bahn-stand { flex: none; font-size: var(--rb-t-1); line-height: 1.3; color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.bahn-feld { position: relative; }
.bahn-rand .bahn-in { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 44px 0; --ml: 40px; --mr: 112px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--ml), #000 calc(100% - var(--mr)), transparent); mask-image: linear-gradient(90deg, transparent, #000 var(--ml), #000 calc(100% - var(--mr)), transparent); }
.bahn-rand.am-anfang .bahn-in { --ml: 0px; }
.bahn-rand.am-ende .bahn-in { --mr: 0px; }
.bahn-rand .bahn-pf { --s: 1; position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; background: var(--rb-gruen); color: var(--rb-knopf-schrift); box-shadow: 0 8px 24px rgba(0, 13, 17, 0.5); transform: scale(var(--s)); transition: opacity var(--rb-dauer), transform var(--rb-dauer) var(--rb-aus); }
.bahn-rand .bahn-pf svg { width: 22px; height: 22px; }
.bahn-rand .bahn-pf[data-bahn="1"] { right: calc(-1 * min(26px, var(--rb-rand) / 2)); }
.bahn-rand .bahn-pf[data-bahn="-1"] { left: calc(-1 * min(26px, var(--rb-rand) / 2)); }
.bahn-rand .bahn-pf:disabled { opacity: 0; pointer-events: none; }
.bahn-rand.passt .bahn-pf { display: none; }
@media (hover: hover) { .bahn-rand .bahn-pf:hover { --s: 1.08; background: var(--rb-gruen); } }
.bahn-rand .bahn-pf:active { --s: 0.96; }

/* ---------- Bühne: Überschrift, die Aussage von Bobcat neben dem Film, weitere Videos, Schalter, Spannende Ergebnisse ---------- */
.bu-sek { padding: calc(var(--rb-kopf-h) + clamp(24px, 3vw, var(--rb-a-7))) 0 clamp(20px, 2.4vw, var(--rb-a-6)); background-image: radial-gradient(90% 120% at 100% 0%, var(--s-licht), transparent 60%); }
.bu { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--rb-a-6) var(--rb-a-8); align-items: center; }
.bu h1 { max-width: 11em; }
.bu h1 span { display: block; }
@media (min-width: 1100px) { .bu h1 { font-size: var(--rb-t-7); } }
.bu-zitat { margin-top: clamp(20px, 2.4vw, var(--rb-a-6)); padding-top: 18px; border-top: 1px solid var(--rb-linie); }
.bu-zitat p { font-size: var(--rb-t-4); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-wrap: pretty; }
.bu-zitat footer { margin-top: 12px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.bu-zitat footer b { display: block; font-size: var(--rb-t-2); color: var(--rb-kopf); }
.bu-film .film, .bu-film .spieler { aspect-ratio: 16 / 9; border-radius: 0; }
.bu-film .film-start { --rb-spiel-g: clamp(60px, 5.4vw, 80px); left: 24px; bottom: 24px; }
.bu-film .film-zeit { left: calc(40px + clamp(60px, 5.4vw, 80px)); bottom: calc(24px + clamp(60px, 5.4vw, 80px) / 2 - 0.7em); }
.bu-reihe { margin-top: var(--rb-a-5); }
.bu-bahn > li { display: grid; width: clamp(252px, calc((100% - 4 * var(--rb-a-4)) / 4.36), 330px); }   /* am Laptop vier ganze Karten und der Anschnitt der fünften */
.bu-k { display: grid; grid-template-columns: 104px minmax(0, 1fr); column-gap: 14px; align-content: center; align-items: center; width: 100%; height: 100%; padding: 8px; border-radius: var(--rb-r-feld); text-align: left; box-shadow: inset 0 0 0 1px var(--rb-linie); }
@media (hover: hover) { .bu-k:hover { background: var(--rb-hauch); box-shadow: inset 0 0 0 1px var(--rb-feld-rand); } }
.bu-k[aria-current="true"] { background: var(--rb-hauch); box-shadow: inset 0 0 0 1.5px var(--rb-gruen); }
.bu-bild { position: relative; grid-row: span 2; display: block; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden; }
.bu-bild img { width: 100%; height: 100%; object-fit: cover; }
.bu-bild .rb-spiel { --rb-spiel-g: 28px; position: absolute; left: 6px; bottom: 6px; }
.bu-k b { align-self: end; font-size: var(--rb-t-2); line-height: 1.25; color: var(--rb-kopf); }
.bu-k > span:last-child { align-self: start; font-size: var(--rb-t-1); line-height: 1.35; color: var(--rb-leise); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.bu-fuss { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--rb-a-5); margin-top: var(--rb-a-6); padding-top: var(--rb-a-5); border-top: 1px solid var(--rb-linie); }
.bs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bs-t { flex: none; margin-right: 8px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.bs-k[aria-pressed="true"] { background: var(--rb-gruen); color: var(--rb-knopf-schrift); }
/* Spannende Ergebnisse: eine Fläche mit Gewicht. Zahl groß, Logo klar, Stellenzahl ruhig. Sie folgt dem Schalter und dem Land */
.ge[hidden] { display: none; }
.ge .bahn-kopf { align-items: end; margin-bottom: var(--rb-a-4); }
.ge-h { font-size: var(--rb-t-5); line-height: 1.2; font-weight: var(--rb-w-kopf); letter-spacing: var(--rb-lw-kopf); color: var(--rb-kopf); }
.ge-bahn > li { display: grid; width: clamp(204px, calc((100% - 4 * var(--rb-a-4)) / 4.62), 270px); }
.ge-k { position: relative; display: flex; flex-direction: column; padding: 20px 22px 22px; border-radius: var(--rb-r-karte); background: var(--rb-karte-2); box-shadow: var(--rb-karte-schatten); transition: transform var(--rb-dauer) var(--rb-aus); }
.ge-k::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--rb-gruen); opacity: 0; transition: opacity var(--rb-dauer); pointer-events: none; }
@media (hover: hover) { .ge-k:hover { transform: translateY(-3px); } .ge-k:hover::before { opacity: 1; } }
.ge-kopf { display: flex; align-items: center; height: 56px; min-width: 0; }
.ge-logo { flex: none; width: 140px; height: 56px; margin-left: calc(var(--lv, 0) * -140px); }
.ge-name { font-size: var(--rb-t-3); line-height: 1.2; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.ge-zahl { margin-top: 18px; font-size: var(--rb-t-8); line-height: 1; font-weight: var(--rb-w-kopf); letter-spacing: var(--rb-lw-kopf); color: var(--rb-gruen); font-variant-numeric: tabular-nums; }
.ge-wort { margin-top: 6px; font-size: var(--rb-t-2); line-height: 1.3; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
.ge-st { font-size: var(--rb-t-1); line-height: 1.4; color: var(--rb-leise); }
/* Logos: gleiche optische Größe über das Maß --lm, linke Kante über --lv. ?logos=weiss zeigt alle einfarbig hell (zum Vergleich) */
.lg { transform: scale(var(--lm, 1)); transform-origin: 0 50%; }
.wd-logo { transform-origin: 50% 50%; }
.logos-weiss .kk-logo:not(.lg-kasten), .logos-weiss .ge-logo:not(.lg-kasten), .logos-weiss .wd-logo:not(.lg-kasten), .logos-gemischt .kk-grund .kk-logo:not(.lg-kasten), .logos-gemischt .wd-logo:not(.lg-kasten) { filter: brightness(0) invert(1); opacity: .92; }   /* gemischt: hell, wo viele Logos nebeneinander stehen (Liste, Wand), Farbe auf Case Study und größten Ergebnissen */

/* ---------- Filter: bleibt beim Scrollen unter der Kopfzeile stehen ---------- */
.fl { position: sticky; top: var(--rb-kopf-h); z-index: 40; background-color: rgba(0, 42, 56, 0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block: 1px solid var(--rb-linie); }
.fl-in { display: flex; align-items: center; gap: 10px; padding-block: 12px; }
.fl-feld { display: flex; align-items: center; flex: 0 1 auto; min-width: 0; height: var(--rb-kn-h-klein); padding-left: 18px; border: 1px solid var(--rb-feld-rand); border-radius: var(--rb-r-pille); background: var(--rb-karte); }
.fl-feld > span { flex: none; font-size: var(--rb-t-1); color: var(--rb-leise); margin-right: 2px; }
.fl-feld:hover, .fl-feld:focus-within { border-color: var(--rb-kopf); }
.fl-feld.an { border-color: var(--rb-gruen); background: var(--rb-hauch); }
.fl-feld.an > span { color: var(--rb-gruen); }
.fl-feld select { -webkit-appearance: none; appearance: none; min-width: 0; max-width: calc(220px + 40 * var(--rb-w)); height: 100%; padding: 0 40px 0 8px; border: 0; border-radius: 0 var(--rb-r-pille) var(--rb-r-pille) 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; font-size: var(--rb-t-2); font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-overflow: ellipsis; cursor: pointer; }
.fl-feld select:focus-visible, .fl-feld input:focus-visible { outline: none; }
.fl-feld option { background: var(--rb-petrol-2); color: var(--rb-weiss); font-weight: var(--rb-w-text); }
.fl-suche { flex: 1 1 220px; }
.fl-suche input { flex: 1; min-width: 0; height: 100%; padding: 0 18px 0 8px; border: 0; background: none; font-size: var(--rb-t-2); font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
.fl-suche input::placeholder { color: var(--rb-leise); font-weight: var(--rb-w-text); opacity: 1; }
.fl-los { flex: none; }
@media (max-width: 1099px) {
  .fl-in { overflow-x: auto; scrollbar-width: none; }
  .fl-in::-webkit-scrollbar { display: none; }
  .fl-feld { flex: none; }
  .fl-suche { flex: none; width: calc(250px - 20px * var(--rb-m)); }
}

/* ---------- Liste nach Branchen ---------- */
.er { padding: clamp(40px, 5vw, var(--rb-a-9)) 0 var(--rb-luft); }
.er-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px var(--rb-a-8); align-items: end; }
.kk-legende { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.kk-leg-k { display: inline-flex; align-items: center; gap: 8px; }
.kk-leg-k .kk-z { color: var(--rb-gruen); }
.kk-z { width: 20px; height: 20px; flex: none; }
.gr-huelle[hidden] { display: none; }
.gr { margin-top: clamp(40px, 4.8vw, var(--rb-a-9)); }
.gr-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; margin-bottom: var(--rb-a-5); }
.gr-h { font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); font-weight: var(--rb-w-kopf); letter-spacing: var(--rb-lw-kopf); }
.gr-zahl { font-size: var(--rb-t-2); color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.gr-alle { display: flex; justify-content: center; margin-top: var(--rb-a-6); }
.gr-alle[hidden] { display: none; }
.er-leer { margin-top: var(--rb-a-8); padding: var(--rb-karte-innen); border: 1px solid var(--rb-linie); border-radius: var(--rb-r-bild); }
.er-leer p { margin-top: 12px; color: var(--rb-tx); font-size: var(--rb-t-4); max-width: 34em; }
/* Angeschnitten: Der Rest einer Branche wartet hinter „Alle … zeigen". Wer sucht oder nach Stelle und Region filtert, sieht alle Treffer */
@media (min-width: 560px) { .gruppen:not(.sucht) .gr:not(.zeigt-alle) .sp-d { display: none; } }
@media (max-width: 559px) { .gruppen:not(.sucht) .gr:not(.zeigt-alle) .sp-m { display: none; } }

/* ---------- Kundenkarte ---------- */
.kk-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--rb-a-4); }
.kk-unten { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--rb-a-5); }
.kk-oben + .kk-unten { margin-top: var(--rb-a-6); }
.kk { position: relative; min-width: 0; display: grid; scroll-margin-top: calc(var(--rb-kopf-h) + 90px); }
.kk[hidden] { display: none; }
.kk-vorn { position: relative; display: flex; flex-direction: column; min-width: 0; }
.kk-logo { width: 120px; height: 48px; margin: 0 0 6px calc(var(--lv, 0) * -120px); }
.kk-name { font-size: var(--rb-t-3); line-height: 1.25; font-weight: var(--rb-w-mittel); letter-spacing: 0; color: var(--rb-kopf); overflow-wrap: anywhere; text-wrap: balance; }
.kk-mit-logo .kk-name { font-size: var(--rb-t-2); font-weight: var(--rb-w-text); color: var(--rb-tx); }
.kk-text { margin-top: 6px; font-size: var(--rb-t-2); line-height: 1.45; color: var(--rb-tx); text-wrap: pretty; }
.kk-ort { margin-top: 2px; font-size: var(--rb-t-1); line-height: 1.4; color: var(--rb-leise); }
.kk-summe { margin-top: 10px; font-size: var(--rb-t-2); line-height: 1.35; color: var(--rb-tx); }
.kk-summe b { font-weight: var(--rb-w-mittel); color: var(--rb-gruen); font-variant-numeric: tabular-nums; }
.kk-stellen { margin-top: 10px; display: grid; gap: 3px; font-size: var(--rb-t-2); line-height: 1.35; color: var(--rb-tx); }
.kk-stellen li { min-width: 0; overflow-wrap: anywhere; }
.kk-rest, .kk-mehr { margin-top: 8px; font-size: var(--rb-t-1); line-height: 1.4; color: var(--rb-leise); text-align: left; }
.kk-mehr { align-self: flex-start; min-height: 32px; text-decoration: underline; text-decoration-color: var(--rb-gruen); text-underline-offset: 4px; color: var(--rb-tx); }
@media (hover: hover) { .kk-mehr:hover { color: var(--rb-kopf); } }

/* Grundkarte: Logo, Name, Ort, Stellen. Keine Fläche, nur eine Haarlinie */
.kk-grund .kk-vorn { padding: 14px 0 20px; border-top: 1px solid var(--rb-linie); }
.kk-grund .kk-summe { margin-top: 6px; font-size: var(--rb-t-1); }
.kk-grund .kk-stellen { font-size: var(--rb-t-1); line-height: 1.4; }
.kk:not(.kk-kann).blitz .kk-vorn::after { content: ""; position: absolute; inset: 0 -10px; border-radius: var(--rb-r-feld); box-shadow: inset 0 0 0 1.5px var(--rb-gruen); pointer-events: none; animation: kk-blitz 2.2s var(--rb-aus) both; }
@keyframes kk-blitz { 0%, 60% { opacity: 1; } 100% { opacity: 0; } }

/* Case Study und Karte mit Stimme: Fläche, Kennzeichen oben, Zitat oder Standbild vorn, unten der Knopf. Die ganze Karte ist die Schaltfläche */
.kk-cs .kk-vorn, .kk-stimme .kk-vorn { padding: 18px 20px 0; border-radius: var(--rb-r-karte); background: var(--rb-karte-2); box-shadow: var(--rb-karte-schatten); transition: transform var(--rb-dauer) var(--rb-aus); }
.kk-vorn::before { content: ""; position: absolute; inset: 0; border-radius: var(--rb-r-karte); box-shadow: inset 0 0 0 1.5px var(--rb-gruen); opacity: 0; transition: opacity var(--rb-dauer); pointer-events: none; }
.kk-kann .kk-vorn::before { opacity: .3; }
.kk-grund .kk-vorn::before { display: none; }
.kk-marke { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: var(--rb-t-1); line-height: 1.3; font-weight: var(--rb-w-mittel); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-gruen); }
.kk-marke .kk-z { width: 18px; height: 18px; }
.kk-cs .kk-logo, .kk-stimme .kk-logo { width: 140px; height: 56px; margin: 0 0 8px calc(var(--lv, 0) * -140px); }
.kk-cs .kk-name, .kk-stimme .kk-name { font-size: var(--rb-t-4); }
.kk-cs.kk-mit-logo .kk-name, .kk-stimme.kk-mit-logo .kk-name { font-size: var(--rb-t-2); }
.kk-cs .kk-summe b { font-size: var(--rb-t-4); font-weight: var(--rb-w-kopf); }
.kk-cs .kk-stellen, .kk-stimme .kk-stellen { margin-top: 14px; }
.kk-auf { --h: 0; position: static; display: flex; align-items: center; gap: 12px; width: calc(100% + 40px); margin: auto -20px 0; padding: 0 20px; min-height: 64px; border-top: 1px solid var(--rb-linie); font-size: var(--rb-t-2); line-height: 1.2; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-align: left; }
.kk-vorn > :nth-last-child(2) { margin-bottom: 18px; }
.kk-grund .kk-vorn > :nth-last-child(2) { margin-bottom: 0; }
.kk-cs:not(.kk-kann) .kk-vorn { padding-bottom: 20px; }   /* Case Study ohne Inhalt dahinter: Karte ohne Knopf */
.kk-auf::before { content: ""; position: absolute; inset: 0; border-radius: var(--rb-r-karte); }   /* Klickfläche über der ganzen Karte */
.kk-auf-k { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--rb-gruen); color: var(--rb-knopf-schrift); transform: scale(calc(1 + var(--h) * 0.12)); transition: transform var(--rb-dauer) var(--rb-aus); }
.kk-auf-k svg { width: 18px; height: 18px; transform: rotate(calc(var(--h) * 90deg)); transition: transform 0.4s var(--rb-aus); }
.kk-auf-t { flex: 1; min-width: 0; }
.kk-zeichen { display: inline-flex; gap: 6px; color: var(--rb-leise); }
@media (hover: hover) {
  .kk-kann:hover .kk-vorn { transform: translateY(-4px); }
  .kk-kann:hover .kk-vorn::before { opacity: 1; }
  .kk-kann:hover .kk-auf { --h: 1; }
  .kk-kann:hover .kk-bild img { transform: scale(1.05); }
  .kk-kann:hover .kk-zeichen { color: var(--rb-gruen); }
}
.kk-kann:active .kk-vorn { transform: translateY(-1px); }
.kk-auf:focus-visible { outline: none; }
.kk-kann:has(.kk-auf:focus-visible) .kk-vorn { outline: 2px solid var(--rb-fokus); outline-offset: 3px; }
.kk.ist-auf .kk-vorn { transform: none; }
.kk.ist-auf .kk-vorn::before { opacity: 1; }
.kk.ist-auf .kk-auf-k svg { transform: rotate(45deg); }

/* Breite Karte: links der Kunde, rechts Standbild und Zitat */
.kk-breit { grid-column: span 2; }
.kk-breit .kk-vorn { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto auto 1fr auto; column-gap: var(--rb-a-5); }
.kk-breit .kk-vorn > * { grid-column: 1; }
.kk-breit .kk-seite { grid-column: 2; grid-row: 1 / span 4; display: flex; flex-direction: column; gap: 14px; min-width: 0; padding-top: 2px; }
.kk-breit .kk-auf { grid-column: 1 / -1; grid-row: 5; }
.kk-bild { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--rb-r-feld); overflow: hidden; background: var(--rb-karte); }
.kk-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rb-aus); }
.kk-bild .rb-spiel { --rb-spiel-g: 40px; position: absolute; left: 10px; bottom: 10px; }
.kk-bild-zeit { position: absolute; left: 60px; bottom: 20px; font-size: var(--rb-t-1); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-weiss); text-shadow: 0 1px 6px rgba(0, 42, 56, 0.8); }
.kk-zitat p { font-size: var(--rb-t-3); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-wrap: pretty; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.kk-zitat-kurz p { font-size: var(--rb-t-2); -webkit-line-clamp: 3; }
.kk-zitat footer { margin-top: 8px; font-size: var(--rb-t-1); line-height: 1.4; color: var(--rb-leise); }
.kk-zitat footer b { color: var(--rb-tx); margin-right: 6px; }
.kk-zitat footer span { display: none; }

/* ---------- Aufgeklappt: Die Case Study steht als eigene Zeile unter der Reihe ihrer Karte ---------- */
.cs { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--rb-a-5) var(--rb-a-7); align-items: start; padding: var(--rb-karte-innen); border-radius: var(--rb-r-bild); background: var(--rb-karte-2); }
.cs-ohne-bild { grid-template-columns: minmax(0, 1fr); }
.cs-medien { min-width: 0; }
.cs-medien .film { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--rb-r-karte); }
.cs-medien .spieler { aspect-ratio: 16 / 9; }
.cs-marke { margin-bottom: 10px; }
.cs-name { font-size: var(--rb-t-6); line-height: var(--rb-zh-mittel); font-weight: var(--rb-w-kopf); letter-spacing: var(--rb-lw-kopf); color: var(--rb-kopf); }
.cs-ort { margin-top: 2px; font-size: var(--rb-t-2); color: var(--rb-leise); }
.cs-zahl { margin-top: 12px; font-size: var(--rb-t-3); color: var(--rb-tx); }
.cs-zahl b { font-size: var(--rb-t-5); font-weight: var(--rb-w-kopf); color: var(--rb-gruen); font-variant-numeric: tabular-nums; }
.cs-saetze { margin-top: 16px; display: grid; gap: 8px; max-width: var(--rb-lese); color: var(--rb-tx); }
.cs-zitat { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--rb-linie); max-width: var(--rb-lese); }
.cs-zitat p { font-size: var(--rb-t-4); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-wrap: pretty; }
.cs-zitat footer { margin-top: 10px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.cs-zitat footer b { color: var(--rb-kopf); margin-right: 6px; }
.cs .ton { max-width: 26em; }
.cs-firma { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rb-linie); max-width: var(--rb-lese); }
.cs-firma h5 { margin: 0 0 8px; font-size: var(--rb-t-1); line-height: 1.3; font-weight: var(--rb-w-mittel); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-leise); }
.cs-firma p { font-size: var(--rb-t-2); line-height: 1.5; color: var(--rb-tx); text-wrap: pretty; }
.cs-stellen { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--rb-linie); }
.cs-stellen h5 { margin: 0 0 10px; font-size: var(--rb-t-2); line-height: 1.3; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
.cs-liste { display: block; columns: 3 240px; column-gap: var(--rb-a-7); margin: 0; font-size: var(--rb-t-2); line-height: 1.35; color: var(--rb-tx); }
.cs-liste li { break-inside: avoid; padding: 3px 0; overflow-wrap: anywhere; }
.cs-zu { position: absolute; top: 14px; right: var(--rb-karte-innen); z-index: 2; }
.cs-ohne-bild .cs-text { padding-right: 6em; }
.cs-zeile { grid-column: 1 / -1; position: relative; margin: 0 0 var(--rb-a-3); }
.cs-zeile::before { content: ""; position: absolute; left: var(--x, 40px); top: -7px; width: 14px; height: 14px; background: var(--rb-karte-2); transform: rotate(45deg); border-radius: 3px 0 0 0; box-shadow: inset 1.5px 1.5px 0 var(--rb-gruen); z-index: 1; }
.cs-zeile .cs { box-shadow: inset 0 0 0 1.5px var(--rb-gruen); animation: cs-ein 0.42s var(--rb-aus) both; transform-origin: var(--x, 40px) 0; }
@keyframes cs-ein { from { opacity: 0; transform: translateY(-10px) scale(0.985); } }

/* ---------- Helle Blöcke zwischen den Branchen ---------- */
.bl { margin-top: clamp(44px, 5vw, var(--rb-a-9)); padding: clamp(40px, 5vw, var(--rb-a-9)) 0; }
.bl[hidden] { display: none; }
.bl-kopf { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px var(--rb-a-8); align-items: end; margin-bottom: var(--rb-a-6); }
.bl-gross { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, var(--rb-a-8)); align-items: center; padding-bottom: var(--rb-a-7); }
.bl-bild { border-radius: var(--rb-r-bild); overflow: hidden; aspect-ratio: 4 / 3; background: var(--rb-karte); }
.bl-bild img { width: 100%; height: 100%; object-fit: cover; }
.bl-film .film, .bl-film .spieler { aspect-ratio: 16 / 10; border-radius: 0; }
.bl-gross blockquote { font-size: var(--rb-t-5); line-height: 1.3; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-wrap: pretty; }
.bl-k { display: flex; flex-direction: column; width: min(82vw, 380px); padding: 22px 22px 24px; border-radius: var(--rb-r-karte); background: var(--rb-karte); box-shadow: var(--rb-karte-schatten); }
.bl-k blockquote { font-size: var(--rb-t-3); line-height: 1.45; font-weight: var(--rb-w-mittel); color: var(--rb-kopf); text-wrap: pretty; }
.bl-logo { width: 100px; height: 40px; margin: 0 0 12px calc(var(--lv, 0) * -100px); }
.bl-zur { margin-top: 14px; align-self: flex-start; }
.bl-stimme .pr-wer { margin-top: auto; padding-top: 16px; }
.bl-stimme .ton { margin-top: 14px; }
.bl-mit-film .film, .bl-mit-film .spieler { aspect-ratio: 16 / 9; border-radius: var(--rb-r-feld); margin-bottom: 16px; }
.bl-mit-film .film-start { --rb-spiel-g: 44px; left: 12px; bottom: 12px; }
.bl-mit-film .film-zeit { left: 66px; bottom: 24px; }
video.spieler { object-fit: cover; }
.pr-davor { font-size: var(--rb-t-2); line-height: 1.4; color: var(--rb-marke); font-weight: var(--rb-w-mittel); margin-bottom: 14px; }
.pr-davor span { margin-right: 8px; font-size: var(--rb-t-1); letter-spacing: var(--rb-lw-marke); text-transform: uppercase; color: var(--rb-leise); }
.pr-wer { margin-top: 16px; font-size: var(--rb-t-2); color: var(--rb-leise); line-height: 1.4; }
.pr-wer b { display: block; color: var(--rb-kopf); }
.pr-wer span { display: block; }
.pr-wer a { text-decoration: underline; text-underline-offset: 3px; }
.pr-video { margin-top: 16px; align-self: flex-start; }
.pr-video svg { fill: currentColor; }
.pr-spieler { margin-top: 18px; }
.pr-spieler iframe, .spieler { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--rb-r-karte); background: var(--rb-petrol); }
.klemme { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 8; overflow: hidden; }
.bl-rez-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; font-size: var(--rb-t-1); color: var(--rb-leise); }
.sw-g-text { font-size: var(--rb-t-2); line-height: 1.5; color: var(--rb-tx); white-space: pre-line; }
.bl-rez .pr-wer { margin-top: auto; padding-top: 14px; }
.gg { width: min(100%, calc(340px + 70 * var(--rb-w))); }
.gg-note { display: flex; align-items: center; gap: 16px; }
.gg-note > b { font-size: var(--rb-t-7); line-height: 1; font-weight: var(--rb-w-kopf); letter-spacing: var(--rb-lw-kopf); color: var(--rb-kopf); font-variant-numeric: tabular-nums; }
.gg-note p { margin-top: 4px; font-size: var(--rb-t-2); color: var(--rb-tx); }
.gg-verteilung { display: grid; gap: 5px; margin-top: 14px; font-size: var(--rb-t-1); color: var(--rb-leise); font-variant-numeric: tabular-nums; }
.gg-verteilung li { display: grid; grid-template-columns: 1ch minmax(0, 1fr) 2ch; gap: 10px; align-items: center; }
.gg-verteilung b { color: var(--rb-tx); text-align: right; }
.gv-balken { height: 6px; border-radius: 3px; background: var(--rb-linie); overflow: hidden; }
.gv-balken span { display: block; height: 100%; min-width: 0; border-radius: 3px; background: var(--rb-petrol); }
.gg-link { margin-top: 12px; }

/* ---------- Video und persönliche Sprachnachricht ---------- */
.film { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--rb-karte-2); }
.film img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rb-aus); }
@media (hover: hover) { .film:hover img { transform: scale(1.025); } }
.film::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, var(--rb-schleier), rgba(0, 42, 56, 0)); pointer-events: none; }
.film-start { --rb-spiel-g: var(--rb-kn-h); position: absolute; left: 16px; bottom: 16px; z-index: 1; }
.film-zeit { position: absolute; left: calc(28px + var(--rb-kn-h)); bottom: calc(16px + var(--rb-kn-h) / 2 - 0.7em); z-index: 1; font-size: var(--rb-t-1); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-weiss); }
.ton { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 12px 16px 12px 12px; border-radius: var(--rb-r-pille); background: var(--rb-hauch); }
.ton .pause, .ton.spielt .ton-start svg:first-child { display: none; }
.ton.spielt .pause { display: block; }
.ton-lauf { flex: 1; min-width: 0; }
.ton-lauf p { font-size: var(--rb-t-1); font-weight: var(--rb-w-mittel); color: var(--rb-marke); margin-bottom: 6px; }
.ton-balken { height: 4px; border-radius: 2px; background: var(--rb-linie); overflow: hidden; }
.ton-balken span { display: block; width: 0; height: 100%; background: var(--rb-marke); }
.ton-zeit { font-size: var(--rb-t-1); color: var(--rb-tx); font-variant-numeric: tabular-nums; }

/* ---------- Wand unten: alle Kunden als Bild der Menge ---------- */
.wd { padding: var(--rb-luft) 0; background: var(--rb-fl); }
.wd-kopf { margin-bottom: var(--rb-a-7); }
.wd-rahmen { position: relative; }
.wd-rahmen.zu { max-height: min(78vh, 720px); overflow: hidden; }
.wd-rahmen.zu::after { content: ""; position: absolute; inset: auto 0 0; height: 160px; background: linear-gradient(to top, var(--rb-fl) 8%, transparent); pointer-events: none; }
.wd-feld { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 2px 10px; }
.wd-feld a { display: grid; place-items: center; height: 50px; padding: 0 2px; border-radius: var(--rb-r-klein); opacity: .82; transition: opacity var(--rb-dauer); }
.wd-logo { width: 90px; height: auto; aspect-ratio: 5 / 2; }
.wd-name { font-size: var(--rb-t-1); line-height: 1.25; text-align: center; color: var(--rb-tx); overflow-wrap: anywhere; }
.wd-feld a.wd-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; height: auto; min-height: 0; max-height: 2.5em; padding: 0; align-self: center; }
.wd-feld li { display: grid; align-items: center; height: 50px; }
@media (hover: hover) { .wd-feld a:hover { opacity: 1; } a.wd-name:hover { color: var(--rb-kopf); } }
.wd-mehr { display: flex; justify-content: center; margin-top: var(--rb-a-5); position: relative; z-index: 1; }

/* ---------- Schmaler ---------- */
@media (max-width: 1099px) {
  .kk-raster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kk-unten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .bu { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .er-kopf, .bl-kopf { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 859px) {
  .kk-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kk-unten { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cs { grid-template-columns: minmax(0, 1fr); }
  .cs-zu { position: static; justify-self: start; grid-row: 99; }
  .cs-ohne-bild .cs-text { padding-right: 0; }
  .bl-gross { grid-template-columns: minmax(0, 1fr); }
  .bl-bild { aspect-ratio: 16 / 10; }
}
@media (max-width: 559px) {
  .kk-raster { grid-template-columns: minmax(0, 1fr); }
  .kk-breit { grid-column: auto; }
  /* Case Study am Handy: Standbild klein neben dem Zitat, die Stellen warten hinter dem Knopf */
  .kk-breit .kk-vorn { display: flex; }
  .kk-breit .kk-stellen, .kk-breit .kk-rest { display: none; }
  .kk-breit .kk-seite { flex-direction: row; align-items: flex-start; gap: 12px; margin-top: 14px; padding-top: 0; }
  .kk-breit .kk-bild { flex: none; width: 116px; aspect-ratio: 4 / 3; }
  .kk-bild .rb-spiel { --rb-spiel-g: 30px; left: 6px; bottom: 6px; }
  .kk-bild-zeit { display: none; }
  .kk-zitat p, .kk-zitat-kurz p { font-size: var(--rb-t-2); -webkit-line-clamp: 4; }
  .kk-cs .kk-logo, .kk-stimme .kk-logo { width: 120px; height: 48px; margin: 0 0 6px calc(var(--lv, 0) * -120px); }
  .kk-auf { min-height: 58px; }
  /* Dichte Form: eine Zeile je Kunde mit Logo, Name, Ort und Stellen */
  .kk-unten { gap: 0; }
  .kk-grund .kk-vorn { display: block; padding: 11px 0 12px; min-height: 58px; }
  .er { overflow-x: clip; }   /* das leere Feld um ein rechts stehendes Logo darf nicht über den Rand ragen */
  /* Namen stehen alle an derselben linken Kante, das Logo rechts (Auftrag 117: die Liste ist nach Größe geordnet, Zeilen mit und ohne Logo wechseln) */
  .kk-grund.kk-mit-logo .kk-vorn { padding-right: 100px; }
  .kk-grund .kk-logo { position: absolute; right: calc(var(--lv, 0) * -88px); top: 11px; width: 88px; height: auto; aspect-ratio: 5 / 2; margin: 0; transform-origin: 100% 50%; }
  .kk-grund .kk-name, .kk-grund .kk-ort { display: inline; font-size: var(--rb-t-2); line-height: 1.35; }
  .kk-grund .kk-name { font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
  .kk-grund .kk-ort { font-size: var(--rb-t-1); }
  .kk-grund .kk-ort { display: inline-block; max-width: 100%; margin: 0; white-space: nowrap; vertical-align: baseline; }   /* der Ort bricht als Ganzes um, nie mitten im Ort */
  .kk-grund .kk-name { margin-right: 8px; }
  .kk-grund .kk-summe { margin-top: 1px; }
  .kk-grund .kk-stellen { display: block; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .kk-grund .kk-stellen li { display: inline; }
  .kk-grund .kk-stellen li:not([hidden]) ~ li:not([hidden])::before { content: ", "; }
  .kk-grund.offen .kk-stellen { white-space: normal; }
  .kk-grund .kk-mehr { margin-top: 0; min-height: 28px; }
  .bs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--rb-rand)); padding-inline: var(--rb-rand); padding-top: 28px; position: relative; }
  .bs::-webkit-scrollbar { display: none; }
  .bs-t { position: absolute; top: 0; left: var(--rb-rand); width: auto; }
  .bs-k { flex: none; }
  .bahn-pfeile { display: none; }
  /* Am Handy stehen die Pfeile oben rechts neben dem Zähler, die Leiste selbst bleibt frei (Runde 32) */
  .bahn-rand { position: relative; }
  .bahn-rand .bahn-feld { position: static; }
  .bahn-rand .bahn-kopf { min-height: 44px; padding-right: 100px; align-items: center; }
  .bahn-rand .bahn-pf { top: 0; width: 44px; height: 44px; margin-top: 0; box-shadow: none; }
  .bahn-rand .bahn-pf[data-bahn="1"] { right: 0; }
  .bahn-rand .bahn-pf[data-bahn="-1"] { left: auto; right: 52px; }
  .bahn-rand .bahn-pf:disabled { opacity: .3; }
  .bahn-rand .bahn-in { --ml: 0px; --mr: 40px; scroll-padding-inline: 0; }
  .ge-k { padding: 18px 18px 20px; }
  .wd-feld { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 8px; }
  .wd-feld a { height: 46px; }
  .wd-logo { width: 88px; }
  .wd-rahmen.zu { max-height: 470px; }
  .gr-alle .rb-kn-zwei { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-zeile .cs, .kk:not(.kk-kann).blitz .kk-vorn::after { animation: none; }
  .kk-vorn, .kk-vorn::before, .kk-auf-k, .kk-auf-k svg, .kk-bild img, .film img, .wd-feld a, .bahn-pf, .ge-k, .ge-k::before { transition: none; }
  .ge-k:hover { transform: none; }
  .kk-kann:hover .kk-vorn { transform: none; }
}

/* ---------- Runde 57 (Auftrag 160) ---------- */
/* Zitate „Davor" mit Video: Standbild der Person statt eines leeren Knopfs. Klick startet den Film ab der Zeitmarke an derselben Stelle */
.pr-video-bild { position: relative; display: block; width: 100%; margin-top: 18px; padding: 0; border: 0; aspect-ratio: 16 / 9; border-radius: var(--rb-r-feld); overflow: hidden; background: var(--rb-karte-2); cursor: pointer; }
.pr-video-bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--rb-aus); }
@media (hover: hover) { .pr-video-bild:hover img { transform: scale(1.025); } }
.pr-video-bild::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(to top, var(--rb-schleier), rgba(0, 42, 56, 0)); pointer-events: none; }
.pr-video-bild .rb-spiel { --rb-spiel-g: 44px; position: absolute; left: 12px; bottom: 12px; z-index: 1; }
.pr-video-t { position: absolute; left: 66px; bottom: 23px; z-index: 1; font-size: var(--rb-t-1); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--rb-weiss); }
@media (prefers-reduced-motion: reduce) { .pr-video-bild img { transition: none; } }
/* „Hier wurde eingestellt:" als Aufzählung */
.cs-liste li { position: relative; padding-left: 18px; }
.cs-liste li::before { content: ""; position: absolute; left: 2px; top: calc(3px + 0.675em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--rb-akzent); }
/* Nachtrag 160a: Google-Block am Laptop. Note und Link links, Verteilung rechts daneben: die Bewertung ist so flach wie die Überschrift, keine leere Fläche über ihr */
@media (min-width: 1100px) {
  #google .bl-kopf { align-items: end; }
  #google .gg { display: grid; grid-template-columns: auto minmax(220px, 280px); grid-template-areas: "note vert" "link vert"; column-gap: var(--rb-a-7); align-items: end; width: auto; }
  #google .gg-note { grid-area: note; }
  #google .gg-verteilung { grid-area: vert; margin-top: 0; }
  #google .gg-link { grid-area: link; }
}

/* ---------- Handy-Durchgang (Auftrag 138, 30.11.2026) ----------
   Nur Regeln unter 768 px. Ab 768 px ändert dieser Block nichts (geprüft per Bildvergleich bei 768, 1440, 1920).
   Kopfzeile, Menü und Fuß am Handy: ../assets/ci/handy.css. Der Block bleibt der letzte der Datei. */
@media (max-width: 767px) {
  /* Filter unter der Kopfzeile: Trefffläche 44 px */
  .fl-feld { height: 44px; }
  /* Filterleiste dichter, damit Text dahinter nicht durchscheint, wenn der Browser den Hintergrund nicht weichzeichnet (wie die Kopfzeile) */
  .fl { background-color: rgba(0, 42, 56, 0.96); }
  /* Namenswand: Der ganze Platz eines Namens ist zu treffen, nicht nur die Schriftzeile. Bild bleibt gleich */
  .wd-feld li { position: relative; }
  .wd-feld a.wd-name::after { content: ""; position: absolute; inset: 0; }
}
@media (max-width: 559px) {
  /* Dichte Zeilen: Stellen brechen in zwei Zeilen um, statt nach einer Zeile mit Auslassungspunkten zu enden */
  .kk-grund .kk-stellen { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .kk-grund.offen .kk-stellen { display: block; -webkit-line-clamp: none; }
  /* „und n weitere Stellen": Trefffläche 44 px, die Zeile bleibt, wo sie ist */
  .kk-grund .kk-mehr { position: relative; }
  .kk-grund .kk-mehr::after { content: ""; position: absolute; inset: -8px -12px; }
}
