/* Beispiele-Seite: Branchen-Wechsler mit Laptop und Handy, Karten aller Branchen. Baut auf style.css auf. */
.bx-hero { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: clamp(28px, 4vw, 48px); display: grid; gap: 18px; }
.bx-crumb { font-size: var(--step--1); color: var(--muted); }
.bx-crumb a { color: var(--text); text-underline-offset: 4px; }
.bx-hero h1 { font-size: var(--step-4); max-width: 16ch; }
.bx-lead { color: #C9CCD8; font-size: var(--step-1); line-height: 1.45; max-width: 52ch; }
.bx-honest { display: flex; gap: 10px; align-items: flex-start; max-width: 68ch; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--glass-edge); background: var(--glass-gloss), var(--glass); font-size: var(--step--1); color: #C9CCD8; }
.bx-honest::before { content: "i"; flex: none; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--grad); color: var(--ink); font-weight: 700; font-size: .75rem; }

/* Reiter der Branchen */
.bx-tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 18px; scroll-padding-inline: var(--gutter); }
.bx-tabs::-webkit-scrollbar { display: none; }
.bx-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--glass-edge); background: var(--glass-gloss), var(--glass); color: var(--muted); cursor: pointer; font-weight: 500; font-size: var(--step--1); transition: color .2s, background-color .2s, box-shadow .2s; }
.bx-tab:hover { color: var(--text); }
.bx-tab[aria-selected="true"] { color: var(--text); background: var(--glass-brand); box-shadow: var(--glass-shadow), 0 0 24px rgb(255 79 163 / .25); }
.bx-tab .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--muted)); }
.bx-tab:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

/* Bühne */
.bx-stage { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; padding-bottom: clamp(56px, 8vw, 104px); }
@media (min-width: 1000px) { .bx-stage { grid-template-columns: 1.35fr 1fr; } }
.bx-devices { position: relative; padding-right: 14%; padding-bottom: 8%; }
.bx-devices::before { content: ""; position: absolute; inset: 10% 0 0 10%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, var(--glow, rgb(255 79 163 / .28)), transparent); filter: blur(30px); transition: background .6s; }
.bx-laptop__screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border: clamp(6px, 1vw, 12px) solid #1B1D24; border-radius: 14px 14px 4px 4px; background: #0E0F14; box-shadow: 0 0 0 1px rgb(255 255 255 / .08); }
.bx-laptop__base { height: clamp(10px, 1.4vw, 16px); margin: 0 -7%; border-radius: 0 0 18px 18px; background: linear-gradient(#2A2D36, #15161B); box-shadow: 0 24px 40px -18px rgb(0 0 0 / .8); }
.bx-laptop__base::after { content: ""; display: block; width: 16%; height: 5px; margin: 0 auto; border-radius: 0 0 6px 6px; background: #0E0F14; }
.bx-phone { position: absolute; right: 0; bottom: 0; width: 27%; }
.bx-phone__screen { position: relative; aspect-ratio: 9 / 19; overflow: hidden; border: clamp(4px, .7vw, 8px) solid #1B1D24; border-radius: clamp(18px, 3vw, 34px); background: #0E0F14; box-shadow: 0 0 0 1px rgb(255 255 255 / .1), 0 30px 60px -20px rgb(0 0 0 / .9); }
.bx-phone__screen::before { content: ""; position: absolute; z-index: 2; top: 6px; left: 50%; translate: -50% 0; width: 30%; height: 4.5%; max-height: 18px; border-radius: 999px; background: #1B1D24; }
.bx-shot { position: absolute; left: 0; top: 0; width: 100%; height: auto; will-change: transform; transition: opacity .35s; }
.bx-devices.is-loading .bx-shot { opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .bx-shot.is-running { animation: bx-scroll var(--dur, 20s) ease-in-out infinite alternate; }
  .bx-devices:hover .bx-shot, .bx-devices:focus-within .bx-shot { animation-play-state: paused; }
}
@keyframes bx-scroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--dist, 0px)); } }
@media (prefers-reduced-motion: reduce) { .bx-laptop__screen, .bx-phone__screen { overflow-y: auto; } .bx-shot { position: static; } }

.bx-info { display: grid; gap: 16px; align-content: center; }
.bx-badge { justify-self: start; padding: 4px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 500; border: 1px solid var(--glass-edge); background: var(--glass); }
.bx-badge.is-real { background: var(--grad); color: var(--ink); border-color: transparent; }
.bx-name { font-size: var(--step-3); }
.bx-branch { color: var(--muted); margin-top: -8px; }
.bx-text { color: #C9CCD8; }
.bx-info h3:not(.bx-name), .bx-info h4 { margin: 6px 0 0; font: 700 var(--step-0)/1.3 var(--display); letter-spacing: -0.01em; }
.bx-needs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bx-needs li { display: flex; gap: 10px; align-items: baseline; }
.bx-needs li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 2px; background: var(--grad); translate: 0 -1px; }
.bx-pick { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); }
.bx-pick span { font-size: .8125rem; color: var(--muted); }
.bx-pick b { font-family: var(--display); font-size: var(--step-2); font-weight: 300; letter-spacing: -0.02em; }
.bx-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Karten aller Branchen */
.bx-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .bx-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bx-grid { grid-template-columns: repeat(4, 1fr); } }
.bx-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.bx-card:hover { transform: translateY(-4px); border-color: var(--glass-edge); }
.bx-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.bx-card__body { display: grid; gap: 10px; align-content: start; padding: 20px; }
.bx-card h3 { font-size: var(--step-1); }
.bx-card p { color: var(--muted); font-size: var(--step--1); }
.bx-card a { justify-self: start; color: var(--text); font-weight: 500; text-underline-offset: 4px; }
.bx-card a::after { content: " →"; }
.bx-card .bx-badge { font-size: .75rem; }
