/* Branchen-Übersicht – 5 Fassungen (05.11.) */

 
.bv a { color: #0b0f06; text-decoration: none; }
.bv li::before { content: none !important; }
.bv .bv-go { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0b0f06; color: #c5f74f; flex: none; transition: transform .3s, background .3s, color .3s; }
.bv .bv-go svg { width: 18px; height: 18px; }
.bv a:hover .bv-go { transform: rotate(45deg); }
.bv .bv-pills { display: flex; flex-wrap: wrap; gap: 6px; } .bv .bv-pills em { padding: 6px 11px; border-radius: 99px; background: #0b0f06; color: #c5f74f; font: 700 12px/1 var(--display); font-style: normal; }
.bv .bv-pills em.o { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
.bv s { text-decoration-color: #c5f74f; text-decoration-thickness: 3px; }
.bv small { display: block; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.bv .bv-shot { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -24px rgba(11,15,6,.5); }
.bv .bv-shot .bar { display: flex; gap: 4px; padding: 7px 9px; background: #e9eae6; } .bv .bv-shot .bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cbc4; }
.bv .bv-shot img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.bv .bv-shot figcaption { position: absolute; left: 10px; bottom: 10px; padding: 5px 9px; border-radius: 99px; background: #0b0f06; color: #f4f5f2; font: 600 11px/1 var(--display); }
.bv-arw { fill: none; stroke: #0b0f06; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

/* 1 · Cluster wie Referenzen */
.bv1-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.6vw, 24px); align-items: start; }
.bv1-col { display: grid; gap: clamp(16px, 1.6vw, 24px); }
.bv1-col:nth-child(2) { margin-top: clamp(60px, 8vw, 140px); }
.bv1-c { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 12px; padding: 12px; border-radius: 30px; background: var(--tn); transition: transform .35s; }
.bv1-c:hover { transform: translateY(-4px); }
.bv1-name { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 230px; padding: 24px; border-radius: 22px; background: #c5f74f; }
.bv1-name b { font: 900 clamp(30px, 2.8vw, 46px)/.95 var(--display); font-stretch: 80%; text-transform: uppercase; }
.bv1-name .bv-go { position: absolute; right: 18px; bottom: 18px; }
.bv1-obj { display: grid; place-items: center; border-radius: 22px; background: #fff; }
.bv1-obj img { width: 82%; filter: drop-shadow(0 22px 26px rgba(11,15,6,.28)); transition: transform .5s; } .bv1-c:hover .bv1-obj img { transform: rotate(-6deg) scale(1.05); }
.bv1-h, .bv1-m { display: grid; gap: 10px; padding: 20px 22px; border-radius: 22px; font: 600 16px/1.4 var(--display); }
.bv1-h { background: #0b0f06; color: #f4f5f2; } .bv1-m { background: #fff; font-weight: 500; }
@media (max-width: 960px) { .bv1-cols { grid-template-columns: 1fr; } .bv1-col:nth-child(2) { margin-top: 0; } .bv1-c { grid-template-columns: 1fr 120px; } .bv1-h, .bv1-m { grid-column: 1 / -1; } }

/* 2 · Grosse Liste */
.bv2-list { margin: 0; padding: 0; list-style: none; border-top: 2px solid #0b0f06; counter-reset: none; }
.bv2-list li { border-bottom: 2px solid #0b0f06; }
.bv2-list a { position: relative; display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1fr) 44px; align-items: center; gap: 24px; padding: clamp(22px, 2.4vw, 36px) 0; transition: background .3s, padding .3s; }
.bv2-nr { font: 500 14px/1 var(--mono); opacity: .5; }
.bv2-list b { font: 900 clamp(40px, 5.6vw, 92px)/.9 var(--display); font-stretch: 75%; text-transform: uppercase; transition: color .3s; }
.bv2-txt { display: grid; gap: 8px; font-size: 16px; line-height: 1.45; } .bv2-txt s { color: rgba(11,15,6,.55); }
.bv2-list img { position: absolute; right: 90px; top: 50%; width: 150px; translate: 0 -50%; opacity: 0; scale: .7; rotate: -10deg; filter: drop-shadow(0 22px 26px rgba(11,15,6,.3)); transition: opacity .35s, scale .35s, rotate .35s; pointer-events: none; }
.bv2-list a:hover { background: #c5f74f; padding-left: 20px; padding-right: 20px; }
.bv2-list a:hover img { opacity: 1; scale: 1; rotate: 0deg; }
.bv2-list a:hover .bv2-txt { opacity: .15; }
@media (max-width: 960px) { .bv2-list a { grid-template-columns: 40px 1fr 44px; } .bv2-txt { grid-column: 2 / -1; } .bv2-list img { display: none; } }

/* 3 · Heute → mit uns Reihen */
.bv3-rows { display: grid; gap: clamp(14px, 1.4vw, 20px); }
.bv3-r { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr) 110px minmax(0, 1.15fr); align-items: center; gap: 18px; padding: 16px; border-radius: 28px; background: #fff; transition: transform .3s; }
.bv3-r:hover { transform: translateX(6px); }
.bv3-n { position: relative; display: grid; gap: 10px; padding: 14px 14px 14px 110px; }
.bv3-n img { position: absolute; left: 0; top: 50%; width: 96px; translate: 0 -50%; filter: drop-shadow(0 16px 18px rgba(11,15,6,.25)); }
.bv3-n b { font: 900 clamp(26px, 2.4vw, 38px)/.95 var(--display); font-stretch: 80%; text-transform: uppercase; }
.bv3-h, .bv3-m { position: relative; display: grid; gap: 10px; padding: 22px; border-radius: 20px; font: 600 16px/1.4 var(--display); }
.bv3-h { background: #0b0f06; color: #f4f5f2; rotate: -1.5deg; } .bv3-m { background: #c5f74f; padding-right: 74px; }
.bv3-m .bv-go { position: absolute; right: 16px; top: 50%; translate: 0 -50%; }
.bv3-r .bv-arw { width: 100px; }
@media (max-width: 960px) { .bv3-r { grid-template-columns: 1fr; } .bv3-r .bv-arw { justify-self: center; rotate: 90deg; width: 70px; } }

/* 4 · Bento-Mosaik */
.bv4-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(260px, auto); gap: clamp(14px, 1.4vw, 20px); }
.bv4-t { position: relative; display: grid; align-content: end; gap: 10px; padding: 26px 26px 84px; border-radius: 26px; background: #fff; overflow: hidden; transition: transform .3s; }
.bv4-t:hover { transform: translateY(-4px); }
.bv4-t b { font: 900 clamp(28px, 2.4vw, 40px)/.95 var(--display); font-stretch: 80%; text-transform: uppercase; }
.bv4-t s { font-size: 15px; opacity: .6; } .bv4-t > span:not(.bv-pills):not(.bv4-refs) { font-size: 16px; line-height: 1.45; }
.bv4-ic { position: absolute; top: 18px; right: 18px; width: 110px; filter: drop-shadow(0 18px 22px rgba(11,15,6,.28)); }
.bv4-t .bv-go { position: absolute; left: 26px; bottom: 24px; }
.bv4-t0 { grid-column: span 2; grid-row: span 2; background: #0b0f06; color: #f4f5f2; align-content: start; padding-top: 34px; } .bv4-t0 .bv4-ic { width: 170px; }
.bv4-t0 .bv-go { background: #c5f74f; color: #0b0f06; } .bv4-t0 .bv-pills em { background: #c5f74f; color: #0b0f06; }
.bv4-t0 b { font-size: clamp(40px, 4.4vw, 72px); max-width: 70%; }
.bv4-refs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.bv4-t1 { grid-column: span 2; background: #c5f74f; }
.bv4-t2 { background: #e4e5e7; } .bv4-t4 { background: #e3eaf5; }
@media (max-width: 960px) { .bv4-grid { grid-template-columns: 1fr; } .bv4-t0, .bv4-t1 { grid-column: auto; grid-row: auto; } }

/* 5 · Auswahl + Bühne */
.bv5-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 50px); align-items: start; }
.bv5-tabs { display: grid; gap: 4px; position: sticky; top: 110px; }
.bv5-tabs button { display: flex; align-items: baseline; gap: 14px; padding: 16px 18px; border: 0; border-radius: 16px; background: transparent; color: #0b0f06; text-align: left; font: 900 clamp(24px, 2.4vw, 38px)/1 var(--display); font-stretch: 80%; text-transform: uppercase; cursor: pointer; transition: background .25s, padding .25s; }
.bv5-tabs button small { opacity: .45; }
.bv5-tabs button:hover { background: rgba(11,15,6,.06); }
.bv5-tabs button[aria-selected="true"] { background: #0b0f06; color: #c5f74f; padding-left: 26px; }
.bv5-stage { position: relative; min-height: 560px; padding: clamp(28px, 3vw, 48px); border-radius: 30px; background: #c5f74f; overflow: hidden; }
.bv5-p { display: grid; gap: 18px; max-width: 60%; }
.bv5-ic { position: absolute; right: 30px; top: 30px; width: min(32%, 260px); filter: drop-shadow(0 30px 34px rgba(11,15,6,.3)); }
.bv5-p p { display: grid; gap: 10px; margin: 0; font: 700 clamp(20px, 1.8vw, 28px)/1.3 var(--display); }
.bv5-h s { color: rgba(11,15,6,.6); }
.bv5-refs { display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 12px; }
.bv5-p .btn { justify-self: start; }
@media (max-width: 960px) { .bv5-wrap { grid-template-columns: 1fr; } .bv5-tabs { position: static; grid-auto-flow: column; overflow-x: auto; } .bv5-tabs button { white-space: nowrap; font-size: 20px; } .bv5-p { max-width: none; } .bv5-ic { position: static; width: 140px; } }

/* Korrekturen nach Durchsicht */
.bv .bv1-h, .bv .bv1-h s, .bv .bv1-h small, .bv .bv3-h, .bv .bv3-h s, .bv .bv3-h small { color: #f4f5f2 !important; }
.bv .bv4-t0, .bv .bv4-t0 b, .bv .bv4-t0 s, .bv .bv4-t0 small, .bv .bv4-t0 > span:not(.bv-pills):not(.bv4-refs) { color: #f4f5f2 !important; }
.bv .bv4-t0 .bv-pills em { color: #0b0f06 !important; }
.bv .bv4-t4 { grid-column: span 4; padding-right: 160px; } .bv .bv4-t4 .bv4-ic { top: 50%; translate: 0 -50%; right: 40px; }
@media (max-width: 960px) { .bv .bv4-t4 { grid-column: auto; padding-right: 26px; } .bv .bv4-t4 .bv4-ic { top: 18px; translate: none; right: 18px; } }
@media (min-width: 961px) { .bv .bv3-r { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 100px minmax(0, 1.1fr); } }
.bv .bv3-n b { font-size: clamp(22px, 2vw, 32px); overflow-wrap: anywhere; }
.bv .bv5-p .btn { background: #0b0f06 !important; color: #c5f74f !important; }
.bv .bv5-p .btn::before { background: #f4f5f2 !important; }
/* 1 am Handy: Reihenfolge 01–05 statt Spalte für Spalte, nichts über den Rand */
@media (max-width: 960px) {
  .bv .bv1-cols { display: flex; flex-direction: column; gap: 16px; }
  .bv .bv1-col { display: contents; }
  .bv .bv1-c { grid-template-columns: minmax(0, 1fr) 104px; min-width: 0; }
  .bv .bv1-name { min-height: 200px; min-width: 0; }
  .bv .bv1-name b { font-size: clamp(26px, 8vw, 34px); overflow-wrap: anywhere; }
}
@media (max-width: 960px) {
  .bv .bv2-list a > * { min-width: 0; } .bv .bv2-txt { grid-column: 2 / 3; } .bv .bv2-list .bv-go { grid-column: 3; grid-row: 1; }
  .bv .bv3-r { min-width: 0; overflow: hidden; } .bv .bv3-r > * { min-width: 0; } .bv .bv3-h { rotate: none; }
}

/* ===== Runde 2: Bento-Fassungen (bw) ===== */
.bw .bw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: clamp(14px, 1.4vw, 20px); }
.bw .bw-t { position: relative; display: grid; align-content: end; gap: 10px; padding: 26px 26px 84px; border-radius: 26px; background: #fff; color: #0b0f06; overflow: hidden; isolation: isolate; transition: transform .3s; }
.bw a.bw-t:hover { transform: translateY(-4px); }
.bw .bw-t b { font: 900 clamp(28px, 2.4vw, 40px)/.95 var(--display); font-stretch: 80%; text-transform: uppercase; }
.bw .bw-t s { font-size: 15px; opacity: .65; } .bw .bw-mit { font-size: 16px; line-height: 1.45; }
.bw .bw-ic { position: absolute; top: 18px; right: 18px; width: 110px; filter: drop-shadow(0 18px 22px rgba(11,15,6,.28)); transition: transform .5s; z-index: -1; }
.bw a.bw-t:hover .bw-ic { transform: rotate(-8deg) scale(1.06); }
.bw .bw-t > .bv-go { position: absolute; left: 26px; bottom: 24px; }
.bw .bw-refs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 10px; }
/* Raster: Bau 2×2, Firmengruppen 2×1, Büros, Praxen, Handel 2×1, Kontakt 2×1 */
.bw .bw-t0 { grid-column: span 2; grid-row: span 2; background: #0b0f06; color: #f4f5f2; align-content: start; padding-top: 34px; }
.bw .bw-t0 b { font-size: clamp(40px, 4.4vw, 72px); max-width: 70%; } .bw .bw-t0 .bw-ic { width: 170px; }
.bw .bw-t1 { grid-column: span 2; background: #c5f74f; }
.bw .bw-t2 { background: #e4e5e7; } .bw .bw-t3 { background: #fff; }
.bw .bw-t4 { grid-column: span 2; background: #e3eaf5; }
.bw .bw-cta { grid-column: span 2; background: #0b0f06; color: #f4f5f2; padding-right: 150px; }
.bw .bw-cta b { font-size: clamp(28px, 2.6vw, 44px); }
.bw .bw-cta .bw-rober { position: absolute; right: 26px; top: 26px; width: 104px; height: 104px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #c5f74f; }
.bw .bw-t0, .bw .bw-t0 :is(b, s, small, .bw-mit), .bw .bw-cta, .bw .bw-cta :is(b, small, span) { color: #f4f5f2 !important; }
.bw :is(.bw-t0, .bw-cta) .bv-go { background: #c5f74f; color: #0b0f06; }
.bw .bw-t0 .bv-pills em { background: #c5f74f; color: #0b0f06 !important; } .bw .bw-t0 .bv-pills em.o { background: transparent; color: #c5f74f !important; }

/* bw2 · Fotos: Bild füllt die Kachel, Schrift hell auf Verlauf */
.bw2 .bw-t:not(.bw-cta) { background: #0b0f06; color: #f4f5f2; }
.bw2 .bw-ph { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.bw2 .bw-t:not(.bw-cta)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,6,0) 25%, rgba(11,15,6,.88) 100%); }
.bw2 a.bw-t:hover .bw-ph { transform: scale(1.05); }
.bw2 .bw-t:not(.bw-cta) :is(b, small, .bw-mit) { color: #f4f5f2 !important; }
.bw2 .bw-t0 { align-content: end; }
.bw2 .bw-t .bv-pills em { background: #c5f74f; color: #0b0f06; } .bw2 .bw-t .bv-pills em.o { background: transparent; color: #c5f74f; }
.bw2 .bw-t:not(.bw-cta) .bv-go { background: #c5f74f; color: #0b0f06; }

/* bw3 · kompakt: drei Spalten, Heute weg, grosse Objekte */
.bw3 .bw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); }
.bw3 .bw-t0 { grid-column: span 2; grid-row: span 1; align-content: end; } .bw3 .bw-t0 b { font-size: clamp(36px, 3.6vw, 60px); }
.bw3 .bw-t1 { grid-column: span 1; } .bw3 .bw-t4 { grid-column: span 1; }
.bw3 .bw-cta { grid-column: span 3; }
.bw3 .bw-ic { width: 140px; } .bw3 .bw-t0 .bw-ic { width: 190px; }
.bw3 .bw-mit { max-width: 26rem; }

/* bw4 · Heute/Mit uns in jeder Kachel */
.bw4 .bw-t { align-content: start; padding-top: 30px; }
.bw4 .bw-top { display: grid; gap: 10px; padding-right: 110px; }
.bw4 .bw-split { display: grid; gap: 8px; margin-top: 8px; }
.bw4 .bw-h, .bw4 .bw-m { display: grid; gap: 6px; padding: 14px 16px; border-radius: 16px; font-size: 15px; line-height: 1.4; }
.bw4 .bw-h { background: #0b0f06; color: #f4f5f2; } .bw4 .bw-h s { opacity: 1; color: #f4f5f2; }
.bw4 .bw-m { background: rgba(255,255,255,.7); }
.bw4 .bw-t0 .bw-h { background: #24281f; } .bw4 .bw-t0 .bw-m { background: #c5f74f; color: #0b0f06 !important; } .bw4 .bw-t0 .bw-m small { color: #0b0f06 !important; }
.bw4 .bw-t0 .bw-split { grid-template-columns: 1fr 1fr; margin-top: 18px; }
.bw4 .bw-t1 .bw-h { background: #0b0f06; } .bw4 .bw-t1 .bw-m { background: #fff; }

/* bw5 · Bento + Leistungen-Kachel */
.bw5 .bw-grid { grid-template-areas: "a a s s" "a a b c" "d e f f"; }
.bw5 .bw-t0 { grid-area: a; } .bw5 .bw-svc { grid-area: s; } .bw5 .bw-t1 { grid-area: b; grid-column: auto; } .bw5 .bw-t2 { grid-area: c; } .bw5 .bw-t3 { grid-area: d; } .bw5 .bw-t4 { grid-area: e; grid-column: auto; } .bw5 .bw-cta { grid-area: f; }
.bw5 .bw-svc { background: #c5f74f; padding-bottom: 26px; align-content: start; }
.bw5 .bw-svc small { margin-bottom: 4px; }
.bw5 .bw-svc a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px 12px 8px 6px; border-radius: 16px; background: rgba(255,255,255,.55); color: #0b0f06; font: 800 20px/1 var(--display); transition: background .25s; }
.bw5 .bw-svc a:hover { background: #fff; } .bw5 .bw-svc img { width: 56px; } .bw5 .bw-svc i { font-style: normal; }
.bw5 .bw-t1 { background: #e3eaf5; } .bw5 .bw-t4 { background: #c5f74f; }

@media (max-width: 960px) {
  .bw .bw-grid, .bw3 .bw-grid { grid-template-columns: 1fr; grid-template-areas: none; }
  .bw .bw-t, .bw5 .bw-t, .bw5 .bw-svc { grid-column: auto !important; grid-row: auto !important; grid-area: auto !important; }
  .bw .bw-t0 b { max-width: none; } .bw .bw-cta { padding-right: 26px; padding-top: 140px; }
  .bw4 .bw-t0 .bw-split { grid-template-columns: 1fr; }
}
/* Runde 2 – Korrekturen: Objekte in kleinen Kacheln kleiner, Namen frei; Referenzbilder flacher */
.bw .bw-t:not(.bw-t0) .bw-ic { width: 84px; top: 14px; right: 14px; }
.bw .bw-t:not(.bw-t0):not(.bw-cta) { padding-top: 96px; }
.bw .bw-t:not(.bw-t0) b { font-size: clamp(24px, 2.1vw, 36px); overflow-wrap: anywhere; }
.bw3 .bw-t:not(.bw-t0) .bw-ic { width: 96px; }
.bw .bw-t:not(.bw-t0) .bw-refs .bv-shot img { aspect-ratio: 16 / 7; }
.bw1 .bw-t0 .bw-refs { margin-top: auto; }
.bw2 .bw-t:not(.bw-t0):not(.bw-cta) { padding-top: 26px; }
.bw .bw-t:not(.bw-t0) .bw-refs { grid-template-columns: repeat(auto-fill, minmax(150px, 230px)); }
.bw .bw-t:not(.bw-t0) .bw-refs .bv-shot img { aspect-ratio: 16 / 9; }

/* ===== Runde 3: Bilder je Kachelform (bx) – Raster von bw5 ===== */
.bx .bw-t { padding: 26px 26px 84px; align-content: end; }
.bx .bw-t .bx-tx { display: grid; gap: 10px; }
.bx .bw-t:not(.bw-t0):not(.bw-cta):not(.bw-svc) b { font-size: clamp(24px, 2vw, 34px); }
.bx .bw-t:not(.bw-t0):not(.bw-cta):not(.bw-svc) .bw-mit { font-size: 14px; }
/* 1 · vollflächig: quadratisches Foto füllt die quadratische Kachel, Verlauf unten */
.bx1 .bw-t.bxm-full { background: #0b0f06; color: #f4f5f2; min-height: 330px; }
.bx1 .bx-full { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.bx1 .bw-t.bxm-full::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,15,6,0) 30%, rgba(11,15,6,.9) 100%); }
.bx1 .bw-t.bxm-full:hover .bx-full { transform: scale(1.05); }
.bx1 .bw-t.bxm-full :is(b, small, .bw-mit) { color: #f4f5f2 !important; }
.bx1 .bw-t.bxm-full .bv-pills em { background: #c5f74f; color: #0b0f06; } .bx1 .bw-t.bxm-full .bv-pills em.o { background: transparent; color: #c5f74f; }
.bx1 .bw-t.bxm-full .bv-go { background: #c5f74f; color: #0b0f06; }
/* 2 · Einsatz: Foto als abgerundetes Quadrat oben rechts, Kachelfarben bleiben */
.bx2 .bw-t { align-content: start; padding-top: 26px; }
.bx2 .bx-inset { display: block; width: 100%; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 6px; }
.bx2 .bw-t0 .bx-inset { aspect-ratio: 4 / 3; }
.bx2 .bx-inset img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .bx2 .bw-t:hover .bx-inset img { transform: scale(1.05); }
/* 3 · 3D gross: dunkle Kacheln, Objekt als Bild, Lime-Akzente */
.bx3 .bw-t.bxm-obj { background: #0b0f06; color: #f4f5f2; padding-top: 170px; }
.bx3 .bw-t.bxm-obj :is(b, small, .bw-mit) { color: #f4f5f2 !important; }
.bx3 .bx-obj { position: absolute; top: 14px; left: 50%; translate: -50% 0; height: 170px; width: auto; filter: drop-shadow(0 0 40px rgba(197,247,79,.35)) drop-shadow(0 20px 30px rgba(0,0,0,.6)); transition: transform .5s; }
.bx3 .bw-t0.bxm-obj { padding-top: 360px; } .bx3 .bw-t0 .bx-obj { height: 340px; }
.bx3 .bw-t.bxm-obj:hover .bx-obj { transform: rotate(-6deg) scale(1.06); }
.bx3 .bw-t.bxm-obj .bv-pills em { background: #c5f74f; color: #0b0f06; } .bx3 .bw-t.bxm-obj .bv-pills em.o { background: transparent; color: #c5f74f; }
.bx3 .bw-t.bxm-obj .bv-go { background: #c5f74f; color: #0b0f06; }
.bx3 .bw-t2.bxm-obj, .bx3 .bw-t4.bxm-obj { background: #1a1f14; }
/* 4 · App-Ansichten: Fenster mit Oberfläche oben, Rand angeschnitten */
.bx4 .bw-t { align-content: start; padding-top: 26px; }
.bx4 .bx-app { display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 20px 40px -24px rgba(11,15,6,.5); margin-bottom: 8px; }
.bx4 .bx-app .bar { display: flex; gap: 4px; padding: 7px 9px; background: #e9eae6; } .bx4 .bx-app .bar i { width: 7px; height: 7px; border-radius: 50%; background: #c9cbc4; }
.bx4 .bx-app img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.bx4 .bw-t0 .bx-app img { aspect-ratio: 4 / 3; }
/* 5 · Foto oben, Text unten: obere Hälfte Foto (randlos), untere Hälfte Text */
.bx5 .bw-t.bxm-half { padding: 0 0 84px; align-content: start; }
.bx5 .bx-half { display: block; width: 100%; aspect-ratio: 16 / 11; overflow: hidden; } .bx5 .bw-t0 .bx-half { aspect-ratio: 16 / 12; }
.bx5 .bx-half img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; } .bx5 .bw-t:hover .bx-half img { transform: scale(1.05); }
.bx5 .bw-t.bxm-half .bx-tx { padding: 20px 24px 0; }
/* Leistungs- und Kontakt-Kachel in allen Runde-3-Fassungen gleich */
.bx .bw-svc { padding-bottom: 26px; align-content: start; }
@media (max-width: 960px) { .bx3 .bw-t0.bxm-obj { padding-top: 220px; } .bx3 .bw-t0 .bx-obj { height: 200px; } }
.bx3 .bw-t.bxm-obj:not(.bw-t0) { padding-top: 140px; } .bx3 .bw-t.bxm-obj:not(.bw-t0) .bx-obj { height: 112px; }
@media (max-width: 960px) {
  .bx .bw-cta { padding-top: 150px !important; padding-right: 26px !important; }
  .bx1 .bw-t.bxm-full::after { background: linear-gradient(180deg, rgba(11,15,6,.05) 0%, rgba(11,15,6,.55) 40%, rgba(11,15,6,.94) 75%); }
}
@media (min-width: 961px) { .bx1 .bw-t.bxm-full::after { background: linear-gradient(180deg, rgba(11,15,6,0) 20%, rgba(11,15,6,.6) 55%, rgba(11,15,6,.94) 100%); } }

/* ===== Runde 4: Look der Referenzen-Übersicht (rx) ===== */
.rx { --g: clamp(12px, 1.2vw, 18px); }
.rx .rx-mas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 28px); align-items: start; }
.rx .rx-col { display: grid; gap: clamp(16px, 1.8vw, 28px); align-content: start; }
.rx .rx-col:nth-child(2) { margin-top: clamp(40px, 6vw, 110px); }
/* Cluster */
.rx .rx-b { display: grid; gap: var(--g); padding: var(--g); border-radius: clamp(26px, 2.6vw, 38px); background: var(--tn); color: #0b0f06; transition: translate .35s cubic-bezier(.2,.8,.2,1); }
.rx a.rx-b:hover { translate: 0 -5px; }
.rx .rx-b.plain { padding: 0; background: none; }
/* Kacheln */
.rx .rx-t, .rx .rx-name, .rx .rx-heute, .rx .rx-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: clamp(22px, 2vw, 30px); background: #fff; box-shadow: 0 30px 60px -50px rgba(11,15,6,.45); }
/* Foto mit Rand (wie das Fenster in den Referenz-Kacheln) */
.rx .rx-ph { display: block; margin: clamp(12px, 1.2vw, 18px); border-radius: clamp(12px, 1.2vw, 16px); overflow: hidden; box-shadow: 0 24px 40px -28px rgba(11,15,6,.55); }
.rx .rx-ph img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.rx a:hover .rx-ph img { transform: scale(1.04); }
.rx .rx-ph.w { aspect-ratio: 16 / 10; } .rx .rx-ph.sq { aspect-ratio: 1; } .rx .rx-ph.big { aspect-ratio: 4 / 5; }
/* Namenskarte (wie rb-name) */
.rx .rx-name { gap: 10px; padding: clamp(22px, 2.2vw, 34px); min-height: clamp(170px, 13vw, 220px); }
.rx .rx-name.lime { background: #c5f74f; }
.rx .rx-name small, .rx .rx-heute small, .rx .rx-you small, .rx .rx-svch small { font: 500 var(--tc-fs-mini, 12px)/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11,15,6,.5); }
.rx .rx-name b, .rx .rx-you b { font: 900 clamp(30px, 2.6vw, 44px)/.9 var(--display); font-stretch: 72%; letter-spacing: -.005em; text-transform: uppercase; }
.rx .rx-lab { font: 600 var(--tc-fs-text, 17px)/1.35 var(--display); }
.rx .rx-tease { margin-top: auto; padding-right: 54px; font: 400 var(--tc-fs-klein, 15px)/1.5 var(--display); color: rgba(11,15,6,.66); }
.rx .rb-arr { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #0b0f06; color: #c5f74f; transition: rotate .35s cubic-bezier(.2,.8,.2,1); }
.rx .rb-arr svg { width: 17px; height: 17px; } .rx a:hover .rb-arr { rotate: 45deg; }
/* Heute-Karte (statt Farbpalette) */
.rx .rx-heute { gap: 12px; justify-content: space-between; padding: clamp(20px, 2vw, 28px); background: #0b0f06; color: #f4f5f2; }
.rx .rx-heute small { color: rgba(244,245,242,.55); }
.rx .rx-heute s { font: 600 16px/1.4 var(--display); color: #f4f5f2; text-decoration-color: #c5f74f; text-decoration-thickness: 3px; }
/* Reihen */
.rx .rx-nr { display: flex; gap: var(--g); align-items: stretch; } .rx .rx-nr > .rx-name { flex: 1.35; } .rx .rx-nr > .rx-heute { flex: 1; } .rx .rx-nr > .rx-t { flex: 1; }
.rx .rx-nr2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.rx .rx-fit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--g); } .rx .rx-stack { display: grid; gap: var(--g); }
.rx .rx-pt .rx-ph, .rx .rx-sq .rx-ph, .rx .rx-big .rx-ph { margin: clamp(12px, 1.2vw, 18px); }
.rx .rx-card { background: var(--tn); } .rx .rx-card .rx-name { background: transparent; box-shadow: none; overflow: visible; min-height: 0; padding-top: 6px; }
.rx .rx-card .rx-name .rb-arr { bottom: 18px; }
/* Leistungen als Cluster */
.rx .rx-svcb { padding: clamp(18px, 1.8vw, 26px); }
.rx .rx-svch { display: grid; gap: 8px; padding: 6px 6px 4px; } .rx .rx-svch b { font: 900 clamp(28px, 2.4vw, 40px)/.95 var(--display); font-stretch: 72%; text-transform: uppercase; }
.rx .rx-svc { position: relative; display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 14px; padding: 10px 70px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.6); color: #0b0f06; transition: background .25s; }
.rx .rx-svc:hover { background: #fff; } .rx .rx-svc img { width: 64px; } .rx .rx-svc b { display: block; font: 800 20px/1.1 var(--display); } .rx .rx-svc small { font-size: 14px; color: rgba(11,15,6,.6); }
.rx .rx-svc .rb-arr { top: 50%; bottom: auto; translate: 0 -50%; width: 38px; height: 38px; }
/* „Hier könnte eure Branche stehen“ (wie rb-you) */
.rx .rx-you { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; min-height: 260px; padding: clamp(22px, 2.2vw, 34px); border-radius: clamp(26px, 2.6vw, 38px); background: #0b0f06; color: #f4f5f2; }
.rx .rx-you small, .rx .rx-you .rx-tease { color: rgba(244,245,242,.62); }
.rx .rx-you img { position: absolute; top: 24px; right: 24px; width: 96px; height: 96px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px #c5f74f; }
.rx .rx-you .rb-arr { background: #c5f74f; color: #0b0f06; }
@media (max-width: 960px) {
  .rx .rx-mas { grid-template-columns: 1fr; } .rx .rx-col:nth-child(2) { margin-top: 0; }
  .rx .rx-nr { flex-direction: column; } .rx .rx-fit, .rx .rx-nr2 { grid-template-columns: 1fr; }
  .rx .rx-ph.big { aspect-ratio: 4 / 3; }
}
.rx .rx-you { padding-top: 150px; } .rx .rx-you b { max-width: 14ch; }

/* ===== Runde 5: näher an /referenzen/ (rx5) ===== */
/* Namenskarte ohne Fläche auf dem Ton (wie re-b .rb-k-name:not(.rb-lime)) */
.rx5 .rx-name.flat { background: transparent; box-shadow: none; }
.rx5 .rx-name.flat .rb-arr { background: #0b0f06; color: #c5f74f; }
/* Foto rechts */
.rx5 .rx-fit.flip > .rx-t { order: 2; }
/* „Leistungen“-Karte wie die Farbpalette: weiss, Label oben, Pillen */
.rx5 .rx-pal { background: #fff; color: #0b0f06; justify-content: flex-start; }
.rx5 .rx-pal small { color: rgba(11,15,6,.5); }
.rx5 .rx-pal .bv-pills em { font-size: 13px; padding: 8px 12px; }
/* Heute hell */
.rx5 .rx-light { background: #fff; color: #0b0f06; } .rx5 .rx-light small { color: rgba(11,15,6,.5); } .rx5 .rx-light s { color: rgba(11,15,6,.75); }
/* Name oben breit: Foto + Karte darunter */
.rx5 .rx-b > .rx-name + .rx-fit .rx-ph.big { aspect-ratio: 4 / 3; }
/* Leistungen-Cluster weiss (Lime nur, wenn ausdrücklich) */
.rx5 .rx-svcb[style*="#fff"] .rx-svc { background: #f1f2ee; } .rx5 .rx-svcb[style*="#fff"] .rx-svc:hover { background: #c5f74f; }
/* Foto-Kachel füllt die Höhe des Clusters (kein weisser Rest unter dem Bild) */
.rx .rx-fit > .rx-big { display: flex; } .rx .rx-fit > .rx-big .rx-ph { flex: 1; aspect-ratio: auto; min-height: 260px; }
@media (max-width: 960px) { .rx .rx-fit > .rx-big .rx-ph { aspect-ratio: 4 / 3; flex: none; } }

/* ===== Runde 6: Heute-Karte (rx6) ===== */
/* gemeinsamer Grund: der durchgestrichene Satz ist die Aussage der Karte – gross, Display-Schrift */
.rx6 .rx-heute.hv { position: relative; justify-content: flex-end; gap: 14px; }
.rx6 .rx-heute.hv s { font: 800 clamp(22px, 2vw, 32px)/1.15 var(--display); font-stretch: 85%; text-decoration-thickness: 4px; letter-spacing: -.005em; }
.rx6 .rx-light.hv s { color: #0b0f06; }
/* Name oben (Handel): Foto breit oben, Heute als Streifen darunter */
.rx6 .rx-top6 { grid-template-columns: 1fr !important; }
.rx6 .rx-top6 > .rx-big .rx-ph { aspect-ratio: 16 / 9; min-height: 0; flex: none; }
.rx6 .rx-top6 > .rx-heute { min-height: 0; }
/* a · gross: Text oben links, viel Fläche, grosse Schrift */
.r6a .rx-heute.hv { justify-content: space-between; }
.r6a .rx-heute.hv s { font-size: clamp(26px, 2.4vw, 40px); }
/* b · 3D-Objekt oben rechts füllt die Kachel */
.r6b .hv-ic { position: absolute; top: 14px; right: 14px; width: min(46%, 150px); filter: drop-shadow(0 18px 24px rgba(0,0,0,.35)); }
.r6b .rx-heute.hv { padding-top: 120px; }
.r6b .rx-top6 .rx-heute.hv { padding-top: clamp(20px, 2vw, 28px); padding-right: 170px; } .r6b .rx-top6 .hv-ic { top: 50%; translate: 0 -50%; width: 120px; }
/* c · Pfeil: handgezeichneter Pfeil zeigt von Heute zur Namenskarte */
.r6c .rx-arw { position: absolute; top: 18px; right: 18px; width: 96px; fill: none; stroke: #c5f74f; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; rotate: -60deg; }
.r6c .rx-light .rx-arw { stroke: #0b0f06; }
.r6c .rx-heute.hv { padding-top: 90px; }
.r6c .rx-top6 .rx-heute.hv { padding-top: clamp(20px, 2vw, 28px); padding-right: 140px; } .r6c .rx-top6 .rx-arw { top: 50%; translate: 0 -50%; rotate: 0deg; }
/* d · Heute oben, darunter die Leistungen als „Mit uns“ */
.r6d .rx-heute.hv { justify-content: space-between; }
.r6d .hv-pills { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid rgba(244,245,242,.18); }
.r6d .rx-light .hv-pills { border-top-color: rgba(11,15,6,.12); }
.r6d .rx-heute:not(.rx-light) .hv-pills .bv-pills em { background: #c5f74f; color: #0b0f06; } .r6d .rx-heute:not(.rx-light) .hv-pills .bv-pills em.o { background: transparent; color: #c5f74f; }
/* e · Karte nur so hoch wie ihr Inhalt, Namenskarte nimmt den Rest */
.r6e .rx-stack { grid-template-rows: 1fr auto; }
.r6e .rx-heute.hv { min-height: 0; justify-content: flex-start; }
@media (max-width: 960px) { .r6b .rx-heute.hv { padding-top: 110px; } .r6b .rx-top6 .rx-heute.hv, .r6c .rx-top6 .rx-heute.hv { padding-right: 24px; } .r6b .rx-top6 .hv-ic { top: 14px; translate: none; width: 90px; } }
/* Bildmasse-Skript setzt width/height ins HTML – Höhe hier wieder aus dem Seitenverhältnis */
.rx .rx-svc img, .rx .hv-ic, .rx .rx-you img { height: auto; }
.rx .rx-you img { height: 96px; }
.rx .rx-ph img { height: 100%; }
/* Handy: Reihenfolge 01–05 (Leistungen nach Bau, „Hier könnte …“ am Ende) statt Spalte für Spalte */
@media (max-width: 960px) {
  .rx6 .rx-mas { display: flex; flex-direction: column; gap: 16px; }
  .rx6 .rx-col { display: contents; }
  .rx6 .rx-b { order: var(--o, 50); } .rx6 .rx-svcb { order: 1; } .rx6 .rx-you { order: 99; }
}


/* Branchen-Übersicht: Hover genau wie die Karten auf /referenzen/ (Dirk 06.11.): 5 px anheben + weicher Schatten, Pfeil dreht,
   gleiche Kurve .45 s. Kein Foto-Zoom, keine Farbwechsel. Die Einblend-Klasse (nxa-on) überschrieb vorher die Übergänge → Hover sprang hart. */
#branchen-liste a.rx-b { box-shadow: 0 30px 60px -50px rgba(11,15,6,.45); }
#branchen-liste a.rx-b, .nxa #branchen-liste 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; }
#branchen-liste a.rx-b:hover { translate: 0 -5px; box-shadow: 0 50px 80px -50px rgba(11,15,6,.5); }
#branchen-liste a:hover .rx-ph img { transform: none; }
#branchen-liste .rx-svc:hover { background: rgba(255,255,255,.6); }
#branchen-liste .rx-svcb[style*="#fff"] .rx-svc:hover { background: #f1f2ee; }
