/* ═══════════ Basis ═══════════ */
:root { --acc: 56 189 248; --acc-dark: 125 211 252; --on-acc: 17 17 19; --font-head: "Inter Tight", sans-serif; --d000000: 0 0 0; --d08080a: 8 8 10; --d0a0a0c: 10 10 12; --d0b0b0d: 11 11 13; --d0d0e10: 13 14 16; --d0e0e10: 14 14 16; --d0e0e11: 14 14 17; --d0f0f11: 15 15 17; --d0f0f12: 15 15 18; --d111113: 17 17 19; --d141416: 20 20 22; --d151518: 21 21 24; --d15171c: 21 23 28; --d17171b: 23 23 27; --d18181b: 24 24 27; --d18181c: 24 24 28; --d1b1b1f: 27 27 31; --d1c1517: 28 21 23; --d1c1c20: 28 28 32; --d1d1d1f: 29 29 31; --d1d1d22: 29 29 34; --d1f1f23: 31 31 35; --d26262b: 38 38 43; --d26262c: 38 38 44; --d27272a: 39 39 42; --d2a2a2e: 42 42 46; --d3a3a42: 58 58 66; --red: rgb(var(--acc)); --ease: cubic-bezier(0.22, 1, 0.36, 1); interpolate-size: allow-keywords; }
html { background: rgb(var(--d111113)); }
html:not(.has-lenis) { scroll-behavior: smooth; }
body { background: rgb(var(--d111113)); color: #fff; position: relative; }
.mono { font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace; }
.is-hidden { display: none !important; }

/* Lenis (Smooth Scroll) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Rauschen */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}

/* ═══════════ Einblendungen ═══════════ */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-stagger].is-visible > * { opacity: 1; transform: none; }
[data-stagger].is-visible > *:nth-child(2) { transition-delay: .08s; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: .16s; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: .24s; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: .32s; }
[data-stagger].is-visible > *:nth-child(n+6) { transition-delay: .4s; }

/* Wort für Wort aus einer Maske */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .08em .14em; margin: 0 -.08em -.14em; }
.wi { display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.is-visible .wi { transform: none; }

.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

/* ═══════════ Buttons & Nav ═══════════ */
@keyframes glow-pulse { 0%,100% { box-shadow: 0 0 20px rgb(var(--acc) / .25); } 50% { box-shadow: 0 0 40px rgb(var(--acc) / .5); } }
.btn-primary { animation: glow-pulse 3s ease-in-out infinite; }
.btn-primary:hover { animation: none; }
[data-magnetic] { transition: transform .5s var(--ease), background-color .2s, border-color .2s; will-change: transform; }
.nav-blur { backdrop-filter: blur(16px) saturate(180%); -webkit-backdrop-filter: blur(16px) saturate(180%); }

/* ═══════════ Marquee ═══════════ */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }

/* ═══════════ Hero ═══════════ */
.hero-head { display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
@media (min-width: 1024px) { .hero-head { display: grid; grid-template-columns: 1fr 270px; align-items: center; gap: 56px; text-align: left; } }
/* Ansprechpartner: mobil als Zeile mit rundem Foto, ab Desktop als Porträtkarte */
.me-card { position: relative; display: flex; align-items: center; gap: 14px; margin: 0; text-align: left; }
.me-photo { width: 64px; height: 64px; flex: none; border-radius: 50%; overflow: hidden; border: 2px solid rgb(var(--acc) / .7); }
.me-photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.6); transform-origin: 50% 30%; }
.me-card figcaption b { display: block; font-size: 16px; font-weight: 700; color: #fff; }
.me-card figcaption span { display: block; font-size: 14px; color: rgba(255,255,255,.72); }
.me-card figcaption .me-loc { display: flex; align-items: center; gap: 5px; margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.6); }
.me-loc svg { width: 13px; height: 13px; flex: none; color: rgb(var(--acc)); }
.flight-start { position: absolute; right: -26px; top: 50%; width: 1px; height: 1px; }
@media (min-width: 1024px) {
  .me-card { display: block; width: 270px; }
  .me-photo { width: 100%; height: auto; aspect-ratio: 5 / 6; border-radius: 28px; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 30px 70px -30px rgb(var(--acc) / .55); }
  .me-photo img { transform: scale(1.32); transform-origin: 50% 30%; }
  .me-card figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 44px 18px 16px; border-radius: 0 0 28px 28px; background: linear-gradient(transparent, rgb(var(--d0e0e10) / .92)); }
  .me-card figcaption span { font-size: 13.5px; }
  .me-card figcaption .me-loc { font-size: 12.5px; }
  .flight-start { right: -30px; top: 34px; }
}
@keyframes typeIn { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: .2em; color: rgba(255,255,255,.6); }
.scroll-hint i { width: 1px; height: 44px; background: linear-gradient(rgba(255,255,255,.5), transparent); transform-origin: top; animation: hint 2.2s var(--ease) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ═══════════ Papierflieger-Route ═══════════ */
#flight-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 40; }
#flight { position: absolute; left: 0; top: 0; overflow: visible; }
#flight .route { fill: none; stroke: rgba(255,255,255,.1); stroke-width: 1.5; stroke-dasharray: 1 10; stroke-linecap: round; }
#flight .flown { fill: none; stroke: rgb(var(--acc) / .55); stroke-width: 1.5; stroke-linecap: round; }
#flight .plane { filter: drop-shadow(0 8px 10px rgb(var(--d000000) / .55)); }

/* ═══════════ Leistungen: kleine Illustrationen ═══════════ */
.spot { --mx: 50%; --my: 50%; position: relative; }
.spot::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgb(var(--acc) / .12), transparent 60%); }
.spot:hover::after { opacity: 1; }
.card-lift { transition: opacity .7s var(--ease), transform .5s var(--ease), box-shadow .4s ease, border-color .4s; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgb(var(--d000000) / .5), 0 0 0 1px rgb(var(--acc) / .3); }
.ill { height: 128px; border-radius: 14px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.06); margin-bottom: 26px; position: relative; overflow: hidden; display: grid; place-items: center; }
.ill-web .win { width: 72%; border-radius: 8px; background: rgb(var(--d1f1f23)); border: 1px solid rgba(255,255,255,.1); padding: 18px 10px 10px; position: relative; }
.ill-web .win::before { content: ''; position: absolute; top: 7px; left: 9px; width: 22px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.2); }
.ill-web .sk { display: block; height: 6px; border-radius: 3px; background: rgba(255,255,255,.18); margin-bottom: 6px; transform-origin: left; animation: sk 4.2s var(--ease) infinite both; }
.ill-web .sk.h { width: 62%; height: 10px; background: var(--red); color: rgb(var(--on-acc)); }
.ill-web .sk.a { width: 92%; animation-delay: .2s; } .ill-web .sk.b { width: 70%; animation-delay: .4s; }
.ill-web .cards { display: flex; gap: 5px; margin-top: 8px; }
.ill-web .cards i { flex: 1; height: 18px; border-radius: 3px; background: rgba(255,255,255,.1); transform-origin: bottom; animation: sk 4.2s var(--ease) infinite both; }
.ill-web .cards i:nth-child(1) { animation-delay: .6s; } .ill-web .cards i:nth-child(2) { animation-delay: .75s; } .ill-web .cards i:nth-child(3) { animation-delay: .9s; }
@keyframes sk { 0% { transform: scale(0); opacity: 0; } 14%, 82% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.ill-app .ph { width: 70px; height: 112px; margin-top: 34px; border-radius: 14px; border: 3px solid rgb(var(--d2a2a2e)); background: #f4f5f7; padding: 12px 7px; display: grid; gap: 6px; align-content: start; }
.ill-app .ph i { display: block; height: 13px; border-radius: 3px; background: #fff; position: relative; }
.ill-app .ph i::before { content: ''; position: absolute; left: 3px; top: 3px; width: 7px; height: 7px; border-radius: 2px; border: 1px solid #9ca3af; animation: tick 4.8s infinite; }
.ill-app .ph i::after { content: ''; position: absolute; left: 14px; right: 6px; top: 5px; height: 3px; border-radius: 2px; background: #d1d5db; }
.ill-app .ph i:nth-child(2)::before { animation-delay: .6s; } .ill-app .ph i:nth-child(3)::before { animation-delay: 1.2s; } .ill-app .ph i:nth-child(4)::before { animation-delay: 1.8s; }
@keyframes tick { 0%, 12% { background: transparent; border-color: #9ca3af; } 20%, 86% { background: var(--red); border-color: var(--red); color: rgb(var(--on-acc)); } 100% { background: transparent; border-color: #9ca3af; } }
.ill-auto .env { position: absolute; left: 10%; top: 50%; width: 28px; height: 19px; margin-top: -10px; border-radius: 3px; background: #fff; animation: env 3.3s cubic-bezier(.5,0,.3,1) infinite both; }
.ill-auto .env::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 11px; background: linear-gradient(to bottom right, transparent 47%, #c4c4cc 50%, transparent 53%) left/50% 100% no-repeat, linear-gradient(to bottom left, transparent 47%, #c4c4cc 50%, transparent 53%) right/50% 100% no-repeat; }
.ill-auto .env:nth-child(2) { animation-delay: 1.1s; } .ill-auto .env:nth-child(3) { animation-delay: 2.2s; }
@keyframes env { 0% { left: 6%; opacity: 0; transform: translateY(14px) rotate(-8deg); } 15% { opacity: 1; } 55% { transform: translateY(-14px) rotate(6deg); } 78% { left: calc(84% - 60px); opacity: 1; transform: translateY(0) scale(.7); } 88%, 100% { left: calc(84% - 50px); opacity: 0; transform: scale(.3); } }
.ill-auto .folder { position: absolute; right: 16%; top: 50%; width: 56px; height: 42px; margin-top: -18px; border-radius: 3px 7px 7px 7px; background: var(--red); animation: bump 1.1s ease-in-out infinite; animation-delay: .75s; color: rgb(var(--on-acc)); }
.ill-auto .folder::before { content: ''; position: absolute; left: 0; top: -7px; width: 22px; height: 9px; border-radius: 4px 4px 0 0; background: var(--red); color: rgb(var(--on-acc)); }
@keyframes bump { 0%, 70%, 100% { transform: none; } 82% { transform: scale(1.08); } }

/* ═══════════ Ablauf ═══════════ */
.route-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 50%; height: 2px; margin-top: -1px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.16) 0 6px, transparent 6px 14px); }
.route-fill { position: absolute; inset: 0; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s; color: rgb(var(--on-acc)); }
.is-visible .route-fill { transform: scaleX(1); }
.route-pt { position: relative; z-index: 1; width: 18px; height: 18px; border-radius: 50%; background: rgb(var(--d111113)); border: 2px solid rgba(255,255,255,.25); margin: 0 auto; transition: border-color .4s, background .4s, box-shadow .4s; }
.is-visible .route-pt { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 6px rgb(var(--acc) / .15); color: rgb(var(--on-acc)); }
.is-visible .route-pt.p2 { transition-delay: 1.1s; } .is-visible .route-pt.p3 { transition-delay: 2.1s; }

/* ═══════════ Referenzen: Fallstudien-Karten ═══════════ */
.case-card { display: grid; gap: 28px; align-items: center; position: relative; overflow: hidden; border-radius: 28px; padding: 18px 18px 26px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.012)); border: 1px solid rgba(255,255,255,.08);
  transition: border-color .4s, opacity .9s var(--ease), transform .9s var(--ease); --mx: 50%; --my: 50%; }
.case-card::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(560px circle at var(--mx) var(--my), rgb(var(--acc) / .13), transparent 60%); }
.case-card:hover::before, .case-card:focus-visible::before { opacity: 1; }
.case-card:hover, .case-card:focus-visible { border-color: rgb(var(--acc) / .4); outline: none; }
@media (min-width: 1024px) {
  .case-card { grid-template-columns: 1.15fr 1fr; padding: 40px; gap: 56px; }
  .case-card.rev .case-visual { order: 2; }
}
.case-visual { position: relative; perspective: 1400px; }
.tilt { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.case-num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: rgba(255,255,255,.55); }
.vn { display: grid; gap: 10px; margin: 22px 0 26px; }
.vn-row { display: grid; grid-template-columns: 78px 1fr; gap: 14px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); }
.vn-k { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.64); padding-top: 3px; }
.vn-row p { font-size: .95rem; line-height: 1.55; color: rgba(255,255,255,.68); }
.vn-after { background: rgb(var(--acc) / .09); border-color: rgb(var(--acc) / .28); }
.vn-after .vn-k { color: color-mix(in srgb, rgb(var(--acc)) 75%, white); } .vn-after p { color: #fff; }
@media (max-width: 480px) { .vn-row { grid-template-columns: 1fr; gap: 4px; } }
.case-cta { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; font-size: .95rem; }
.case-cta .arr { width: 40px; height: 40px; border-radius: 50%; background: var(--red); display: grid; place-items: center; transition: transform .5s var(--ease); color: rgb(var(--on-acc)); }
.case-card:hover .case-cta .arr, .mini-card:hover .arr { transform: translateX(6px); }

.browser-frame { background: rgb(var(--d1f1f23)); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; box-shadow: 0 30px 80px rgb(var(--d000000) / .55); }
.browser-bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgb(var(--d27272a)); }
.browser-bar span { width: 9px; height: 9px; border-radius: 99px; background: rgba(255,255,255,.18); }
.browser-frame img, .phone-frame img { display: block; width: 100%; height: auto; }
.phone-frame { background: rgb(var(--d0b0b0d)); border: 6px solid rgb(var(--d2a2a2e)); border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgb(var(--d000000) / .6); }
.figcap { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.62); }
.badge { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 99px; white-space: nowrap; }
.badge-green { background: rgba(16,185,129,.15); color: #6ee7b7; }
.badge-amber { background: rgba(245,158,11,.15); color: #fcd34d; }
.badge-blue  { background: rgba(14,165,233,.15); color: #7dd3fc; }
.check-list { display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: rgba(255,255,255,.75); font-size: .95rem; line-height: 1.5; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }

/* Schematische Ansicht des Anfrage-Assistenten (bewusst neutral gestaltet) */
.mock-cat { aspect-ratio: 16 / 10.4; background: #f7f7f4; color: #1d1d1f; padding: 5% 6%; display: flex; flex-direction: column; gap: 4.5%; font-family: Inter, sans-serif; }
.mc-nav { display: flex; gap: 6%; align-items: center; } .mc-nav i { width: 9%; height: 6px; border-radius: 3px; background: #d6d6d0; } .mc-nav i:first-child { width: 18%; background: rgb(var(--d1d1d1f)); } .mc-nav b { margin-left: auto; width: 15%; height: 16px; border-radius: 99px; background: #2f6f5e; }
.mc-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2%; } .mc-prog i { height: 5px; border-radius: 3px; background: #e2e2dc; } .mc-prog i.on { background: #2f6f5e; }
.mc-h { font-weight: 800; font-size: clamp(14px, 2.3vw, 26px); letter-spacing: -.02em; }
.mc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3%; flex: 1; }
.mc-grid span { border: 1.5px solid #e2e2dc; border-radius: 10px; background: #fff; display: flex; align-items: flex-end; padding: 6%; font-weight: 700; font-size: clamp(10px, 1.3vw, 15px); }
.mc-grid span.sel { border-color: #2f6f5e; background: #e8f1ee; }
.mc-foot { display: flex; justify-content: space-between; align-items: center; font-size: clamp(9px, 1.1vw, 13px); color: #6b6b66; } .mc-foot b { background: #2f6f5e; color: #fff; padding: 6px 14px; border-radius: 99px; }

/* Kleine Projektkarten */
.mini-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: rgb(var(--d18181b)); border: 1px solid rgba(255,255,255,.08); }
.mini-card:hover, .mini-card:focus-visible { border-color: rgb(var(--acc) / .4); outline: none; }
.mini-card .arr { display: inline-block; transition: transform .5s var(--ease); }
.thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: rgb(var(--d0f0f11)); border-bottom: 1px solid rgba(255,255,255,.08); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.mini-card:hover .thumb img { transform: scale(1.05); }
.thumb-phone { background: linear-gradient(135deg, rgb(var(--acc) / .2), rgb(var(--d0f0f11))); }
.thumb-phone img { width: 42%; height: auto; margin: 18px auto 0; border-radius: 14px 14px 0 0; border: 4px solid rgb(var(--d2a2a2e)); border-bottom: 0; object-fit: initial; }

/* ═══════════ Fallstudien-Ansicht (Dialog) ═══════════ */
.case-dlg { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(var(--d0e0e10)); color: #fff; overflow: hidden; }
.case-dlg::backdrop { background: rgb(var(--d000000) / .55); }
.case-dlg:focus, .case-dlg:focus-visible, .case-scroll:focus, .case-scroll:focus-visible { outline: none; }
.case-dlg[open]::backdrop { animation: fade .5s ease both; }
@keyframes fade { from { opacity: 0; } }
.case-scroll { height: 100%; overflow-y: auto; overscroll-behavior: contain; }
.case-close { position: fixed; top: 16px; right: 16px; z-index: 5; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; place-items: center; transition: background .2s, transform .4s var(--ease); }
.case-close:hover { background: var(--red); transform: rotate(90deg); color: rgb(var(--on-acc)); }
.case-inner { max-width: 1120px; margin: 0 auto; padding: 84px 24px 72px; }
.case-inner > * { animation: csIn .8s var(--ease) both; animation-delay: calc(var(--d, 0) * 70ms + 260ms); }
@keyframes csIn { from { opacity: 0; transform: translateY(30px); } }
.cs-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.cs-title { font-family: var(--font-head); font-weight: 700; line-height: 1.04; font-size: clamp(36px, 5.6vw, 72px); margin-bottom: 22px; }
.cs-title em { color: var(--red); }
.cs-lead { color: rgba(255,255,255,.66); font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65; max-width: 780px; }
.cs-vn { display: grid; gap: 14px; margin: 44px 0; }
@media (min-width: 768px) { .cs-vn { grid-template-columns: 1fr 56px 1fr; } }
.cs-vn .box { padding: 24px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); }
.cs-vn .box.after { background: rgb(var(--acc) / .09); border-color: rgb(var(--acc) / .32); }
.cs-vn .k { display: block; font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.64); margin-bottom: 10px; }
.cs-vn .after .k { color: color-mix(in srgb, rgb(var(--acc)) 75%, white); }
.cs-vn p { font-size: 1.05rem; line-height: 1.55; color: rgba(255,255,255,.8); }
.cs-vn .after p { color: #fff; }
.cs-vn .mid { display: grid; place-items: center; color: var(--red); }
@media (max-width: 767px) { .cs-vn .mid { transform: rotate(90deg); height: 30px; } }
.cs-h { display: block; font-family: 'JetBrains Mono', monospace; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.cs-demo { margin: 52px 0; padding: 22px; border-radius: 26px; background: rgb(var(--d151518)); border: 1px solid rgba(255,255,255,.08); }
@media (min-width: 768px) { .cs-demo { padding: 34px; } }
.cs-demo-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.cs-demo-head .cs-h { margin: 0; } .cs-demo-head p { color: rgba(255,255,255,.72); font-size: 14px; }
.cs-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.6); }
.cs-grid { display: grid; gap: 40px; margin: 52px 0; }
@media (min-width: 900px) { .cs-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; } }
.value-list { display: grid; gap: 10px; counter-reset: v; }
.value-list li { counter-increment: v; position: relative; padding: 16px 18px 16px 56px; border-radius: 14px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); line-height: 1.5; }
.value-list li::before { content: counter(v, decimal-leading-zero); position: absolute; left: 18px; top: 17px; font-family: 'JetBrains Mono', monospace; font-size: 12px; color: var(--red); }
.value-list li b { display: block; }
.value-list li span { color: rgba(255,255,255,.75); font-size: .93rem; }
.cs-gallery { display: grid; gap: 18px; }
@media (min-width: 768px) { .cs-gallery.two { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.cs-gallery img { width: 100%; height: auto; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); cursor: zoom-in; display: block; }
.cs-gallery img.phone { max-width: 300px; margin: 0 auto; border: 6px solid rgb(var(--d2a2a2e)); border-radius: 26px; }
.cs-gallery figcaption { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.62); }
.cs-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 600; border-bottom: 1px solid var(--red); padding-bottom: 2px; }
.cs-link:hover { color: var(--red); }
.cs-nextwrap { margin-top: 72px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 32px; }
.cs-next { width: 100%; display: flex; align-items: center; gap: 18px; text-align: left; padding: 22px 26px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08); transition: border-color .3s, background .3s; }
.cs-next:hover { border-color: rgb(var(--acc) / .45); background: rgb(var(--acc) / .07); }
.cs-next .mono { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.64); display: block; margin-bottom: 4px; }
.cs-next b { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 30px); }
.cs-next .arr { margin-left: auto; flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: 22px; transition: transform .5s var(--ease); color: rgb(var(--on-acc)); }
.cs-next:hover .arr { transform: translateX(6px); }

/* ═══════════ Demo: Vorgangsablage ═══════════ */
.tag { display: inline-block; font-size: 11.5px; font-weight: 600; border-radius: 6px; padding: 2px 8px; background: rgba(14,165,233,.16); color: #7dd3fc; }
.tag.gray { background: rgba(255,255,255,.08); color: rgba(255,255,255,.65); } .tag.green { background: rgba(16,185,129,.16); color: #6ee7b7; }
.ico { width: 30px; height: 36px; border-radius: 5px; display: grid; place-items: center; font-size: 9px; font-weight: 800; flex: none; color: #fff; }
.ico.pdf { background: #ef4444; } .ico.msg { background: #3b82f6; } .ico.img { background: #10b981; }
.flash { animation: flash 1.6s ease; }
@keyframes flash { 0% { background: rgb(var(--acc) / .4); } 100% { background: transparent; } }

/* ═══════════ Demo: Hausmeister-App ═══════════ */
.demo-hm { display: grid; gap: 26px; align-items: start; }
@media (min-width: 900px) { .demo-hm { grid-template-columns: 290px 1fr; } }
.hm-phone { position: relative; width: 280px; max-width: 100%; margin: 0 auto; border: 8px solid rgb(var(--d2a2a2e)); border-radius: 38px; background: #f3f4f6; color: #111; overflow: hidden; box-shadow: 0 30px 70px rgb(var(--d000000) / .5); }
.hm-screen { padding: 22px 15px 18px; min-height: 500px; display: flex; flex-direction: column; gap: 11px; }
.hm-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 17px; }
.hm-time { font-size: 12px; background: #111; color: #fff; border-radius: 6px; padding: 3px 8px; }
.hm-job { background: #fff; border-radius: 14px; padding: 13px 14px; display: grid; gap: 1px; box-shadow: 0 1px 2px rgb(var(--d000000) / .06); }
.hm-job small { color: #6b7280; font-size: 11px; } .hm-job b { font-size: 14px; margin-bottom: 5px; }
.hm-btn { width: 100%; background: var(--red); color: rgb(var(--on-acc)); font-weight: 700; border-radius: 12px; padding: 13px; font-size: 14px; transition: transform .2s; }
.hm-btn:active { transform: scale(.97); } .hm-btn.dark { background: #111; }
.hm-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hm-ph { aspect-ratio: 1.2; border-radius: 12px; border: 2px dashed #cbd5e1; font-size: 12px; font-weight: 600; color: #475569; display: grid; place-items: center; text-align: center; background: #fff; }
.hm-ph.has { border: 0; color: #fff; background: linear-gradient(135deg, #9aa7b6, #4b5563); }
.hm-ph.has.n { background: linear-gradient(135deg, #8fb3a0, #3f6b58); }
.hm-check { display: grid; gap: 6px; }
.hm-check label { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 10px; padding: 9px 12px; font-size: 13.5px; cursor: pointer; }
.hm-check input { width: 17px; height: 17px; accent-color: var(--red); }
.hm-done { margin: auto 0; text-align: center; display: grid; gap: 10px; place-items: center; font-size: 14px; color: #374151; }
.hm-done .ok { width: 64px; height: 64px; border-radius: 50%; background: #10b981; color: #fff; display: grid; place-items: center; font-size: 30px; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(0); } }
.hm-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }
.hm-office { background: rgb(var(--d1c1c20)); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.hm-office-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); }
.hm-office-head button { font-size: 12.5px; font-weight: 600; background: var(--red); padding: 7px 13px; border-radius: 99px; color: rgb(var(--on-acc)); }
.hm-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.hm-table th { text-align: left; font-weight: 500; color: rgba(255,255,255,.64); font-size: 11.5px; padding: 10px 16px; }
.hm-table td { padding: 11px 16px; border-top: 1px solid rgba(255,255,255,.05); }
.hm-table { min-width: 460px; } .hm-table td, .hm-table th { white-space: nowrap; }
.hm-wrap { overflow-x: auto; }
.hm-report { margin: 16px; background: #fff; color: #111; border-radius: 6px; padding: 20px 22px; font-size: 12.5px; box-shadow: 0 20px 50px rgb(var(--d000000) / .4); animation: pop .5s var(--ease); transform-origin: top right; }
.hm-report h5 { font-weight: 800; font-size: 14px; margin-bottom: 2px; }
.hm-report .r { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid #eee; }
.hm-report .sum { font-weight: 800; border: 0; padding-top: 10px; }

/* ═══════════ Demo: Anfrage-Assistent ═══════════ */
.demo-cat { max-width: 760px; margin: 0 auto; }
.cat-prog { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.cat-prog i { height: 4px; border-radius: 4px; background: rgba(255,255,255,.12); transition: background .5s; }
.cat-prog i.on { background: var(--red); color: rgb(var(--on-acc)); }
.cat-labels { display: grid; grid-template-columns: repeat(4, 1fr); font-size: 11.5px; color: rgba(255,255,255,.64); margin: 8px 0 26px; }
.cat-step { animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } }
.cat-step h4 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 3vw, 30px); margin-bottom: 18px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { border: 1px solid rgba(255,255,255,.16); border-radius: 99px; padding: 10px 17px; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--red); }
.chip.sel { background: var(--red); border-color: var(--red); color: rgb(var(--on-acc)); }
.cat-field { margin-bottom: 22px; }
.cat-field > span { display: block; font-size: 13px; color: rgba(255,255,255,.72); margin-bottom: 10px; }
.cat-field input[type=range] { width: 100%; accent-color: var(--red); }
.cat-actions { display: flex; gap: 12px; margin-top: 26px; }
.cat-actions button { font-weight: 600; font-size: 14px; padding: 11px 20px; border-radius: 99px; }
.cat-actions .go { background: var(--red); color: rgb(var(--on-acc)); } .cat-actions .back { border: 1px solid rgba(255,255,255,.18); }
.cat-summary { background: #fff; color: #111; border-radius: 16px; padding: 22px 24px; font-size: 14px; box-shadow: 0 24px 60px rgb(var(--d000000) / .4); animation: pop .55s var(--ease); }
.cat-summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid #eee; }
.cat-summary .row span { color: #6b7280; }
.cat-summary .row b { text-align: right; }

/* ═══════════ Demo: Reiseplanung ═══════════ */

/* ═══════════ Branchen: Laufschrift ═══════════ */

/* ═══════════ FAQ ═══════════ */
details summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details .faq-icon { transition: transform .35s var(--ease); }
details[open] .faq-icon { transform: rotate(45deg); }
details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
details[open]::details-content { height: auto; }

input:focus, textarea:focus, select:focus { outline: none; box-shadow: 0 0 0 2px rgb(var(--acc) / .5); border-color: var(--red) !important; }

/* ═══════════ Bildansicht ═══════════ */
.lightbox { max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; padding: 56px 16px 48px; border: 0; background: rgb(var(--d08080a) / .94); color: #fff; }
.lightbox[open] { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.lightbox::backdrop { background: rgb(var(--d000000) / .6); }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 140px); width: auto; height: auto; border-radius: 10px; box-shadow: 0 30px 80px rgb(var(--d000000) / .6); }
.lb-cap { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.75); text-align: center; max-width: 720px; }
.lb-close { position: absolute; top: 12px; right: 18px; font-size: 36px; line-height: 1; color: #fff; opacity: .8; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 48px; line-height: 1; color: #fff; opacity: .7; padding: 8px 14px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-close:hover, .lb-nav:hover { opacity: 1; }

/* ═══════════ Weniger Bewegung ═══════════ */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > *, .wi { opacity: 1 !important; transform: none !important; transition: none !important; }
  .marquee-track, .btn-primary, .ill *, .ill-auto .folder, .scroll-hint i { animation: none !important; }
  .case-inner > *, .cat-step, .hm-report, .cat-summary, .topic-q .dot, .avatar-thumb *, .anon-thumb * { animation: none !important; }
  .pii s, .pii b { transition: none !important; }
  #flight-wrap { display: none; }
  .route-fill { transition: none; }
}

/* ING: Anonymisierung */
.anon-thumb { position: absolute; inset: 0; padding: 9% 7%; display: flex; flex-direction: column; justify-content: center; gap: 10px; font-size: 11px; color: rgba(255,255,255,.72); background: linear-gradient(160deg, rgb(var(--d15171c)), rgb(var(--d0d0e10))); white-space: nowrap; overflow: hidden; }
.anon-thumb .sw { display: inline-grid; }
.anon-thumb .sw > * { grid-area: 1 / 1; text-decoration: none; border-radius: 4px; padding: 0 4px; justify-self: start; }
.anon-thumb s { color: #fca5a5; background: rgba(239,68,68,.12); animation: anonOut 6s infinite; }
.anon-thumb b { color: #86efac; font-weight: 500; background: rgba(34,197,94,.12); opacity: 0; animation: anonIn 6s infinite; }
.anon-thumb p:nth-child(2) * { animation-delay: .4s; } .anon-thumb p:nth-child(3) * { animation-delay: .8s; } .anon-thumb p:nth-child(4) * { animation-delay: 1.2s; }
@keyframes anonOut { 0%, 30% { opacity: 1; } 40%, 90% { opacity: 0; } 100% { opacity: 1; } }
@keyframes anonIn { 0%, 32% { opacity: 0; transform: translateY(4px); } 42%, 88% { opacity: 1; transform: none; } 98% { opacity: 0; } }
.demo-anon .anon-log { background: rgb(var(--d0d0e10)); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 16px 18px; font-size: 12.5px; line-height: 2; color: rgba(255,255,255,.7); }
.demo-anon .anon-log p { padding-left: 2ch; text-indent: -2ch; }
.pii { white-space: nowrap; text-indent: 0; }
@media (max-width: 640px) { .demo-anon .anon-log { font-size: 11.5px; line-height: 1.9; padding: 14px; } .demo-anon .anon-log p + p { margin-top: 6px; } }
.pii { position: relative; display: inline-block; }
.pii s, .pii b { display: inline-block; text-decoration: none; border-radius: 4px; padding: 0 3px; transition: opacity .35s, transform .35s var(--ease); }
.pii b, .pii.on s { position: absolute; left: 0; top: 0; white-space: nowrap; }
.pii.on b { position: static; }
.pii s { color: #fecaca; background: rgba(239,68,68,.14); }
.pii b { color: #86efac; background: rgba(34,197,94,.14); font-weight: 500; opacity: 0; transform: translateY(6px); }
.pii.on s { opacity: 0; transform: translateY(-6px); }
.pii.on b { opacity: 1; transform: none; }
.anon-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; }
.anon-go { background: var(--red); font-weight: 700; padding: 12px 22px; border-radius: 99px; font-size: 14px; color: rgb(var(--on-acc)); }
.anon-count { font-size: 12px; color: #86efac; }

/* Campana & Schott: KI-Avatar */
.avatar-thumb { position: absolute; inset: 0; display: flex; align-items: center; gap: 6%; padding: 0 8%; background: radial-gradient(circle at 25% 50%, rgb(var(--acc) / .2), rgb(var(--d0d0e10)) 70%); }
.avatar-thumb .av { position: relative; flex: none; width: 30%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 38%, rgb(var(--d3a3a42)) 0 22%, transparent 23%), radial-gradient(ellipse at 50% 100%, rgb(var(--d3a3a42)) 0 45%, transparent 46%), rgb(var(--d1d1d22)); border: 2px solid rgb(var(--acc) / .6); box-shadow: 0 0 0 6px rgb(var(--acc) / .08); }
.avatar-thumb .av i { position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgb(var(--acc) / .35); animation: avRing 2.4s infinite; }
@keyframes avRing { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.avatar-thumb .wave { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); display: flex; gap: 3px; align-items: center; height: 16px; }
.avatar-thumb .wave b { width: 3px; height: 100%; border-radius: 2px; background: var(--red); animation: wave 1s infinite ease-in-out; color: rgb(var(--on-acc)); }
.avatar-thumb .wave b:nth-child(2) { animation-delay: .15s; } .avatar-thumb .wave b:nth-child(3) { animation-delay: .3s; } .avatar-thumb .wave b:nth-child(4) { animation-delay: .45s; } .avatar-thumb .wave b:nth-child(5) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
.avatar-thumb .bubbles { display: flex; flex-direction: column; gap: 10px; font-size: 12px; line-height: 1.4; min-width: 0; }
.avatar-thumb .bubbles span { border-radius: 14px; padding: 8px 12px; max-width: 100%; }
.avatar-thumb .q { background: rgb(var(--d26262c)); color: rgba(255,255,255,.85); border-bottom-left-radius: 4px; animation: bubble 7s infinite; }
.avatar-thumb .a { background: rgba(34,197,94,.14); color: #bbf7d0; align-self: flex-end; border-bottom-right-radius: 4px; animation: bubble 7s 1.2s infinite; }
@keyframes bubble { 0% { opacity: 0; transform: translateY(8px); } 10%, 85% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* ING: Legende + Erkennungsquelle */
.pii.rx b { color: #fcd34d; background: rgba(245,158,11,.14); }
.anon-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 16px; font-size: 11px; color: rgba(255,255,255,.68); }
.anon-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 8px; vertical-align: 0; }
.lg-rx { background: #f59e0b; } .lg-ner { background: #22c55e; }

/* Campana & Schott: Sales-Coach-Demo */
.sl-setup { display: grid; gap: 18px; }
.sl-k { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.68); margin-bottom: 8px; }
.sl-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sl-go, .sl-again { justify-self: start; background: var(--red); font-weight: 700; padding: 12px 22px; border-radius: 99px; font-size: 14px; color: rgb(var(--on-acc)); }
.sl-again { margin-top: 18px; background: transparent; border: 1px solid rgba(255,255,255,.2); }
.sl-again:hover { border-color: var(--red); }
.sl-head { display: flex; gap: 16px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.sl-head p { font-size: 14px; color: rgba(255,255,255,.8); }
.sl-head .sl-k { margin-bottom: 3px; color: var(--red); }
.sl-av { position: relative; flex: none; width: 56px; height: 56px; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #4a4a54 0 20%, transparent 21%), radial-gradient(ellipse at 50% 100%, #4a4a54 0 44%, transparent 45%), rgb(var(--d1d1d22)); border: 2px solid rgba(255,255,255,.15); transition: border-color .3s, box-shadow .3s; }
.sl-av.talk { border-color: var(--red); box-shadow: 0 0 0 5px rgb(var(--acc) / .15); }
.sl-av .wave { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); display: flex; gap: 2px; height: 11px; opacity: 0; transition: opacity .3s; }
.sl-av.talk .wave { opacity: 1; }
.sl-av .wave b { width: 2.5px; height: 100%; border-radius: 2px; background: var(--red); animation: wave 1s infinite ease-in-out; color: rgb(var(--on-acc)); }
.sl-av .wave b:nth-child(2) { animation-delay: .15s; } .sl-av .wave b:nth-child(3) { animation-delay: .3s; } .sl-av .wave b:nth-child(4) { animation-delay: .45s; } .sl-av .wave b:nth-child(5) { animation-delay: .6s; }
.sl-chat { display: flex; flex-direction: column; gap: 10px; padding: 18px 0; }
.sl-msg { max-width: 82%; padding: 11px 15px; border-radius: 16px; font-size: 14px; line-height: 1.5; animation: stepIn .45s var(--ease) both; }
.sl-msg.bot { background: rgb(var(--d26262c)); border-bottom-left-radius: 4px; }
.sl-msg.me { align-self: flex-end; background: rgb(var(--acc) / .16); border: 1px solid rgb(var(--acc) / .35); border-bottom-right-radius: 4px; }
.sl-dots { display: inline-flex; gap: 4px; } .sl-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.5); animation: dot 1s infinite; }
.sl-dots i:nth-child(2) { animation-delay: .15s; } .sl-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-3px); } }
.sl-opts { display: grid; gap: 8px; }
.sl-opt { text-align: left; padding: 12px 15px; border-radius: 14px; border: 1px dashed rgba(255,255,255,.22); font-size: 14px; line-height: 1.45; color: rgba(255,255,255,.85); animation: stepIn .45s var(--ease) both; transition: border-color .2s, background .2s; }
.sl-opt:hover { border-style: solid; border-color: var(--red); background: rgb(var(--acc) / .06); }
.sl-eval { margin-top: 8px; padding: 20px; border-radius: 18px; background: rgb(var(--d0f0f12)); border: 1px solid rgba(255,255,255,.08); animation: stepIn .5s var(--ease) both; }
.sl-score > div:first-of-type { display: flex; align-items: baseline; gap: 12px; }
.sl-score b { font-size: 48px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.sl-badge { font-size: 11.5px; font-weight: 700; border-radius: 99px; padding: 3px 10px; }
.sl-badge.g { background: rgba(34,197,94,.16); color: #86efac; } .sl-badge.a { background: rgba(245,158,11,.16); color: #fcd34d; } .sl-badge.r { background: rgba(239,68,68,.16); color: #fca5a5; }
.sl-bar { height: 6px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; margin-top: 10px; }
.sl-bar.sm { height: 4px; margin-top: 6px; }
.sl-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--red); transition: width 1.1s var(--ease); color: rgb(var(--on-acc)); }
.sl-bar.on i { width: var(--v); }
.sl-cats { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 640px) { .sl-cats { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.sl-cats > div { display: flex; flex-wrap: wrap; justify-content: space-between; font-size: 13px; color: rgba(255,255,255,.75); }
.sl-cats .sl-bar { flex-basis: 100%; }
.sl-fb { display: grid; gap: 8px; margin-top: 18px; }
.sl-fb p { font-size: 13.5px; padding: 10px 14px; border-radius: 10px; border-left: 3px solid; }
.sl-fb b { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.sl-fb .plus { background: rgba(34,197,94,.07); border-color: #22c55e; } .sl-fb .plus b { color: #86efac; }
.sl-fb .minus { background: rgba(245,158,11,.07); border-color: #f59e0b; } .sl-fb .minus b { color: #fcd34d; }

/* Akkodis: Nesting-Demo */
.demo-nest { display: grid; gap: 22px; align-items: end; }
@media (min-width: 800px) { .demo-nest { grid-template-columns: 1fr 230px; } }
.nest-box { position: relative; padding: 0 0 0 2px; border-left: 2px solid rgba(255,255,255,.25); border-right: 2px solid rgba(255,255,255,.25); border-bottom: 3px solid rgba(255,255,255,.4); background: repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 12px); border-radius: 0 0 6px 6px; }
.nest-ch { position: relative; width: 100%; aspect-ratio: 24 / var(--H, 20); max-height: 420px; }
.nest-ch i { position: absolute; border-radius: 4px; border: 1.5px solid rgba(255,255,255,.55); transition: left .9s var(--ease), bottom .9s var(--ease), width .9s var(--ease), height .9s var(--ease); }
.nest-ch i.c0 { background: rgb(var(--acc) / .35); } .nest-ch i.c1 { background: rgba(255,255,255,.16); }
.nest-ch i.c2 { background: rgb(var(--acc) / .18); } .nest-ch i.c3 { background: rgba(255,255,255,.08); }
.nest-line { position: absolute; left: -10px; right: -10px; height: 0; border-top: 1.5px dashed var(--red); transition: bottom .9s .3s var(--ease); pointer-events: none; }
.nest-line span { position: absolute; right: 0; bottom: 4px; font-size: 11px; color: var(--red); background: rgb(var(--d151518)); padding: 0 6px; }
.nest-side { display: grid; gap: 14px; }
.nest-stat { padding: 14px 16px; border-radius: 14px; background: rgb(var(--d0f0f12)); border: 1px solid rgba(255,255,255,.08); }
.nest-stat span { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.68); }
.nest-stat b { font-size: 26px; font-weight: 800; font-variant-numeric: tabular-nums; }
.demo-nest.done .nest-s { color: #86efac; }
.nest-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.nest-opt { background: var(--red); font-weight: 700; padding: 12px 20px; border-radius: 99px; font-size: 14px; color: rgb(var(--on-acc)); }
.nest-opt:disabled { opacity: .4; cursor: default; }
.nest-new { border: 1px solid rgba(255,255,255,.2); font-weight: 600; padding: 12px 20px; border-radius: 99px; font-size: 14px; }
.nest-new:hover { border-color: var(--red); }

/* Akkodis: Vorschaubild */
.nest-thumb { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 10% 14% 12%; background: linear-gradient(160deg, rgb(var(--d17171b)), rgb(var(--d0d0e10))); }
.nest-thumb .ch { position: relative; width: 100%; height: 100%; border: 1.5px solid rgba(255,255,255,.22); border-top: 0; }
.nest-thumb i { position: absolute; left: calc(var(--x) * 1%); bottom: calc(var(--y) * 1%); width: calc(var(--w) * 1% - 3px); height: calc(var(--h) * 1% - 3px); margin: 1.5px; border-radius: 3px; border: 1px solid rgba(255,255,255,.5); background: rgb(var(--acc) / .25); animation: drop 6s var(--d) infinite both; }
.nest-thumb i:nth-child(even) { background: rgba(255,255,255,.12); }
.nest-thumb .hl { position: absolute; left: -8%; right: -8%; bottom: 68%; border-top: 1.5px dashed var(--red); animation: hl 6s infinite both; }
@keyframes drop { 0% { transform: translateY(-160%); opacity: 0; } 8% { opacity: 1; } 14%, 86% { transform: none; opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes hl { 0%, 30% { opacity: 0; } 40%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .nest-thumb *, .sl-msg, .sl-opt, .sl-eval, .sl-av .wave b, .sl-dots i { animation: none !important; } .nest-ch i, .nest-line, .sl-bar i { transition: none !important; } }


/* SportsRouting-Nachbau im damaligen Corporate Design */
.srx { --sb: #0d4ea6; --so: #ff6b47; position: relative; background: #f2f2f2; color: #2b2b2b; border-radius: 18px; padding: 14px 14px 18px; font-family: Figtree, Inter, sans-serif; overflow: hidden; }
@media (min-width: 768px) { .srx { padding: 16px 28px 26px; } }
.srx button { font-family: inherit; }
.srx-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #666; margin-bottom: 12px; }
.srx-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--sb); font-weight: 700; font-size: 15px; }
.srx-brand svg { width: 22px; height: 22px; }
.srx-card { background: #fff; border-radius: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.12); display: flex; flex-direction: column; min-height: 560px; }
.srx-steps { display: grid; grid-template-columns: repeat(4, 1fr); padding: 18px 16px 0; counter-reset: s; }
.srx-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 12.5px; color: #9a9a9a; }
.srx-steps li:first-child { align-items: flex-start; } .srx-steps li:last-child { align-items: flex-end; }
.srx-steps li::before { content: ''; position: absolute; top: 9px; left: 0; right: 0; height: 4px; background: #ddd; z-index: 0; }
.srx-steps li:first-child::before { left: 10px; } .srx-steps li:last-child::before { right: 10px; }
.srx-steps li.done::before, .srx-steps li.cur::before { background: linear-gradient(90deg, var(--sb) 50%, #ddd 50%); }
.srx-steps li.done::before { background: var(--sb); }
.srx-steps li:first-child.cur::before { background: linear-gradient(90deg, var(--sb) 8%, #ddd 8%); }
.srx-steps i { position: relative; z-index: 1; width: 22px; height: 22px; border-radius: 50%; background: #d6d6d6; }
.srx-steps li.done i { background: var(--sb); }
.srx-steps li.cur i { background: var(--sb); box-shadow: inset 0 0 0 5px var(--sb), inset 0 0 0 8px #fff; }
.srx-steps li.done span, .srx-steps li.cur span { color: var(--sb); }
@media (max-width: 640px) { .srx-steps li:not(.cur) span { visibility: hidden; } .srx-steps li span { white-space: nowrap; } }
.srx-body { flex: 1; padding: 20px 16px; min-height: 0; }
.srx-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid #eee; }
.srx-back { color: var(--sb); font-weight: 600; font-size: 14px; padding: 10px 18px; }
.srx-next { background: var(--so); color: #fff; font-weight: 800; font-size: 15px; padding: 14px 34px; border-radius: 8px; box-shadow: 0 4px 12px rgba(255,107,71,.35); min-width: 160px; }
.srx-next:disabled { background: #d9d9d9; box-shadow: none; cursor: default; }
.srx-info { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 34px 10px; gap: 10px; }
.srx-logo { width: 120px; color: var(--sb); }
.srx-info b { font-size: 40px; font-weight: 800; color: #0b2a5b; letter-spacing: -.01em; }
.srx-info p { max-width: 520px; font-size: 17px; color: #555; margin-top: 18px; }
.srx-split { display: grid; gap: 16px; }
@media (min-width: 860px) { .srx-split { grid-template-columns: 1fr 1fr; } .srx-split.res { grid-template-columns: 1.05fr 1fr; } }
.srx-hint { background: #f1f1f1; border-radius: 10px; padding: 13px 16px; font-size: 14px; color: #444; margin-bottom: 12px; }
.srx-scouts { display: grid; gap: 10px; }
.srx-scout { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }
.srx-scout i { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #ddd; }
.srx-scout span { flex: 1; font-size: 15px; } .srx-scout small { display: block; color: #888; font-size: 12.5px; }
.srx-scout button { font-size: 24px; color: #555; padding: 0 6px; }
.srx-example { text-align: left; border: 1.5px dashed #c5c5c5; border-radius: 8px; padding: 12px 14px; font-size: 14px; color: var(--sb); font-weight: 600; }
.srx-example:hover { border-color: var(--sb); }
.srx-mapwrap { position: relative; background: #cfe3ef; border-radius: 12px; overflow: hidden; }
.srx-mapwrap.pick { cursor: crosshair; }
.srx-map { display: block; width: 100%; height: auto; max-height: 520px; margin: 0 auto; }
.srx-map .land { fill: #eef1e6; stroke: #b9c3ad; stroke-width: 2; }
.srx-map .cty circle { fill: #8c8c8c; } .srx-map .cty text { font: 500 15px Figtree, Inter, sans-serif; fill: #6b6b6b; }
.srx-map .pin { stroke: #fff; stroke-width: 4; animation: pinIn .35s var(--ease) both; transform-box: fill-box; transform-origin: center; }
@keyframes pinIn { from { transform: scale(0); } }
.srx-map .drv { fill: none; stroke-width: 9; stroke-linecap: round; }
.srx-map .drv-in { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.srx-map .flt { fill: none; stroke-width: 3.5; stroke-dasharray: 12 8; }
.srx-map .gm { stroke: #fff; stroke-width: 3.5; }
.srx-legend { position: absolute; right: 10px; bottom: 10px; display: grid; gap: 6px; }
.srx-legend span { display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 8px; padding: 6px 12px 6px 8px; font-size: 13px; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.srx-legend i { width: 20px; height: 20px; border-radius: 50%; }
.srx-list { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.16); margin-bottom: 10px; cursor: pointer; }
.srx-list input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--sb); }
.srx-list b { display: block; font-size: 15px; } .srx-list small { display: block; font-size: 12.5px; color: #777; line-height: 1.5; margin-top: 2px; }
.srx-games { display: grid; gap: 8px; max-height: 360px; overflow: auto; }
.srx-games div, .srx-game { display: grid; grid-template-columns: 1fr auto 1fr; gap: 4px 12px; align-items: center; background: #f1f1f1; border-radius: 10px; padding: 10px 14px; font-size: 13.5px; }
.srx-games span { grid-column: 1 / -1; font-size: 12px; color: #777; }
.srx-games b:first-of-type, .srx-game b:first-of-type { text-align: right; }
.srx-games em, .srx-game em { font-style: normal; color: #555; }
.srx-empty { font-size: 13.5px; color: #888; text-align: center; padding: 10px; }
.srx-period { display: flex; align-items: center; gap: 12px; padding: 8px 16px; border-radius: 8px; box-shadow: 0 1px 4px rgba(0,0,0,.2); font-size: 13.5px; }
.srx-period svg { width: 24px; height: 24px; color: var(--sb); } .srx-period small { display: block; color: #666; font-size: 12px; }
.srx-plans { max-height: 560px; overflow: auto; padding: 2px; }
.srx-sc { border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.16); margin-bottom: 12px; background: #fff; }
.srx-sc > summary { display: flex; gap: 14px; align-items: center; padding: 12px 14px; cursor: pointer; list-style: none; }
.srx-sc > summary::-webkit-details-marker { display: none; }
.srx-sc > summary i { width: 36px; height: 36px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px #fff, 0 0 0 4px #ddd; }
.srx-sc > summary span { font-weight: 700; font-size: 15px; } .srx-sc > summary small { display: block; font-weight: 400; color: #777; font-size: 12.5px; }
.srx-sc > summary::after { content: '⌃'; margin-left: auto; color: var(--sb); transform: rotate(180deg); transition: transform .2s; }
.srx-sc[open] > summary::after { transform: none; }
.srx-day { margin: 0 10px 10px; background: #f1f1f1; border-radius: 10px; padding: 8px 12px 10px; }
.srx-dl { display: block; font-size: 13px; padding-bottom: 6px; border-bottom: 1px solid #ddd; margin-bottom: 6px; }
.srx-drive { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 13px; color: #555; padding: 5px 0; border-bottom: 1px solid #e3e3e3; flex-wrap: wrap; }
.srx-drive svg { width: 18px; height: 18px; } .srx-drive small { color: #888; font-size: 12px; flex-basis: 100%; text-align: center; }
.srx-game { background: none; padding: 8px 0 4px; font-size: 14px; }
.srx-game small { grid-column: 1 / -1; text-align: center; color: #888; font-size: 12px; }
.srx-flight { border-bottom: 1px solid #e3e3e3; }
.srx-flight > summary { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; padding: 8px 0; cursor: pointer; list-style: none; font-size: 13.5px; text-align: center; }
.srx-flight > summary::-webkit-details-marker { display: none; }
.srx-flight > summary i { width: 34px; height: 30px; border-radius: 6px; background: #dcdcdc; display: flex; align-items: center; justify-content: center; }
.srx-flight > summary svg { width: 18px; height: 18px; }
.srx-fbox { background: #fff; border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.srx-f { display: grid; grid-template-columns: auto 1fr auto auto; gap: 12px; align-items: center; font-size: 13px; padding: 4px 0; }
.srx-f span b { display: block; font-size: 14px; } .srx-f > i { height: 0; border-top: 2px dotted #bbb; }
.srx-f em { font-style: normal; font-weight: 700; background: #e6e6e6; border-radius: 8px; padding: 6px 12px; font-size: 14px; }
.srx-f.alt em { background: #f2f2f2; font-weight: 500; }
.srx-alt-h { font-weight: 700; font-size: 13px; margin: 8px 0 2px; padding-top: 8px; border-top: 1px solid #eee; }
.srx-missed { font-size: 12.5px; color: #8a5a00; background: #fff6e0; border-radius: 8px; padding: 10px 12px; }
.srx-sum { font-size: 13.5px; color: #555; }
.srx-loading { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: rgba(242,242,242,.88); font-size: 15px; color: var(--sb); font-weight: 600; }
.srx-loading span { width: 40px; height: 40px; border-radius: 50%; border: 4px solid #cfd9ea; border-top-color: var(--sb); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.srx-steps li:last-child.cur::before { background: var(--sb); }
@media (max-width: 640px) {
  .cs-demo:has(.srx) { padding: 14px 8px; }
  .srx { padding: 10px 6px 10px; border-radius: 14px; }
  .srx-body { padding: 14px 10px; } .srx-foot { padding: 12px 10px; }
  .srx-legend { position: static; display: flex; gap: 6px; padding: 0 8px 8px; }
  .srx-legend span { font-size: 12px; padding: 4px 10px 4px 6px; } .srx-legend i { width: 14px; height: 14px; }
  .srx-game { font-size: 12.5px; gap: 4px 8px; } .srx-plans { max-height: 70vh; }
  .srx-next { min-width: 0; padding: 13px 22px; }
}

/* Themen-Auswahl im Hero */
.topic { margin: 36px 0 0; padding: 18px; border-radius: 24px; text-align: left; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid rgb(var(--acc) / .45); box-shadow: 0 0 0 6px rgb(var(--acc) / .07), 0 30px 80px -30px rgb(var(--acc) / .55); }
.topic-q { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 16px; }
.topic-q b { font-family: var(--font-head); font-size: 22px; font-weight: 700; letter-spacing: -.01em; color: #fff; }
.topic-q .sub { flex-basis: 100%; font-size: 15px; color: rgba(255,255,255,.75); }
@media (min-width: 768px) {
  .topic { padding: 26px 28px 28px; }
  .topic-q b { font-size: 30px; }
  .topic-q .sub { font-size: 16.5px; }
  .topic-grid { gap: 12px; }
  .topic-grid button { padding: 18px 20px; font-size: 17px; gap: 14px; border-radius: 16px; }
  .topic-grid button svg { width: 26px; height: 26px; }
}
@media (min-width: 1024px) { .topic-grid { grid-template-columns: repeat(3, 1fr) !important; } }
.topic-q .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgb(var(--acc) / .6); animation: dotPulse 2s infinite; color: rgb(var(--on-acc)); }
@keyframes dotPulse { 70% { box-shadow: 0 0 0 9px rgb(var(--acc) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--acc) / 0); } }
.topic-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 480px) { .topic-grid { grid-template-columns: repeat(2, 1fr); } }
.topic-grid button { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.14); font-size: 14.5px; font-weight: 600; line-height: 1.25; color: #fff; transition: border-color .2s, background .2s, transform .3s var(--ease); }
.topic-grid button svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.topic-grid button span { flex: 1; }
.topic-grid button i { font-style: normal; color: var(--red); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .3s var(--ease); }
.topic-grid button:hover, .topic-grid button:focus-visible { border-color: var(--red); background: rgb(var(--acc) / .14); transform: translateY(-2px); }
.topic-grid button:hover i, .topic-grid button:focus-visible i { opacity: 1; transform: none; }
.btn-book { box-shadow: 0 10px 30px -12px rgba(255,255,255,.45); }
.marquee-band { z-index: 45; }

/* Passende Projekte in der Fallstudie */
.cs-topic { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; padding: 12px 14px; border-radius: 14px; background: rgb(var(--acc) / .08); border: 1px solid rgb(var(--acc) / .25); }
.cs-topic .mono { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-right: 6px; }
.cs-topic button { font-size: 13px; border: 1px solid rgba(255,255,255,.16); border-radius: 99px; padding: 5px 12px; transition: border-color .2s; }
.cs-topic button:hover { border-color: var(--red); }
.cs-topic button.on { background: var(--red); border-color: var(--red); color: rgb(var(--on-acc)); }

/* Terminbuchung */
.book-dlg { width: min(1000px, 94vw); height: min(780px, 90vh); max-width: none; max-height: none; padding: 0; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgb(var(--d18181b)); color: #fff; overflow: hidden; }
.book-dlg[open] { display: flex; flex-direction: column; animation: stepIn .45s var(--ease) both; }
.book-dlg::backdrop { background: rgb(var(--d000000) / .7); backdrop-filter: blur(6px); }
.book-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.book-close { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 20px; line-height: 1; }
.book-frame { flex: 1; min-height: 0; }
.book-frame iframe { width: 100%; height: 100%; border: 0; }
.book-consent { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 32px 24px; }
.book-consent h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; }
.book-consent p { max-width: 460px; font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.75); }
.book-consent p a { text-decoration: underline; }
.book-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.book-load { background: var(--red); font-weight: 700; padding: 13px 26px; border-radius: 99px; color: rgb(var(--on-acc)); }
.book-form { border: 1px solid rgba(255,255,255,.2); font-weight: 600; padding: 13px 22px; border-radius: 99px; }
.book-form:hover { border-color: var(--red); }

/* Fallstudie Werbemittel: Kennzahlen und Bausteine */
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 34px 0 8px; }
@media (min-width: 900px) { .cs-stats { grid-template-columns: repeat(4, 1fr); } }
.cs-stats div { padding: 16px 18px; border-radius: 16px; background: rgb(var(--d151518)); border: 1px solid rgba(255,255,255,.08); }
.cs-stats b { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.cs-stats span { display: block; margin-top: 4px; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.72); }
.cs-blocks { display: grid; gap: 14px; margin: 14px 0 48px; }
@media (min-width: 900px) { .cs-blocks { grid-template-columns: repeat(2, 1fr); } }
.cs-blocks > div { padding: 22px; border-radius: 18px; background: rgb(var(--d151518)); border: 1px solid rgba(255,255,255,.08); }
.cs-blocks .mono { color: var(--red); font-size: 12px; }
.cs-blocks b { display: block; font-size: 18px; margin: 6px 0 8px; }
.cs-blocks p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.75); }

/* Demo: Auftragsakte (helle Business-Oberfläche) */
.vx { --vb: #0f2a44; color: #1f2937; font-family: Inter, sans-serif; }
.vx-app { position: relative; display: grid; border-radius: 16px; overflow: hidden; background: #eef1f5; min-height: 560px; }
@media (min-width: 900px) { .vx-app { grid-template-columns: 210px 1fr; } }
.vx-side { background: var(--vb); color: #cbd5e1; padding: 14px 10px; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
@media (min-width: 900px) { .vx-side { flex-direction: column; align-items: stretch; flex-wrap: nowrap; } }
.vx-logo { display: flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; padding: 4px 8px 12px; width: 100%; }
.vx-logo i { width: 26px; height: 26px; border-radius: 7px; background: #3b82f6; display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 13px; }
.vx-side button { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 8px; font-size: 13.5px; text-align: left; color: #cbd5e1; }
.vx-side button.on { background: rgba(255,255,255,.12); color: #fff; font-weight: 600; }
.vx-side button b { background: #f59e0b; color: #111; border-radius: 99px; font-size: 11.5px; padding: 0 7px; }
.vx-sec, .vx-recent { display: none; }
@media (min-width: 900px) { .vx-sec { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #64748b; padding: 16px 11px 4px; } .vx-recent { display: block; font-size: 12px; padding: 5px 11px; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } }
.vx-main { padding: 18px; min-width: 0; }
@media (min-width: 900px) { .vx-main { padding: 22px 24px; } }
.vx-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.vx-top b { font-size: 18px; } .vx-top small { display: block; font-size: 12.5px; color: #6b7280; }
.vx-btn { background: #1d4ed8; color: #fff; font-weight: 600; font-size: 13.5px; padding: 9px 15px; border-radius: 8px; }
.vx-btn:disabled { background: #94a3b8; cursor: default; }
.vx-btn.ghost { background: #fff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.vx-btn.ghost:disabled { color: #64748b; border-color: #e2e8f0; }
.vx-chain { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; font-size: 12px; color: #475569; }
.vx-chain li { display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e2e8f0; border-radius: 99px; padding: 3px 10px 3px 4px; }
.vx-chain li span { width: 18px; height: 18px; border-radius: 50%; background: #e0e7ff; color: #3730a3; font-weight: 700; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
.vx-chain li.end { padding-left: 10px; border-style: dashed; }
.vx-mails { display: grid; gap: 8px; }
.vx-mail { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 11px 14px; transition: border-color .3s, box-shadow .3s; }
.vx-mail.run { border-color: #93c5fd; box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
.vx-mail.done.in { border-color: #fcd34d; }
.vx-mh { display: grid; gap: 2px; }
.vx-from { font-size: 12px; color: #6b7280; } .vx-subj { font-size: 14px; font-weight: 600; } .vx-subj em { font-style: normal; font-weight: 500; color: #6b7280; font-size: 12.5px; }
.vx-res { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 7px; font-size: 13px; }
.vx-chip { border-radius: 6px; padding: 2px 8px; font-weight: 600; font-size: 12px; }
.vx-chip.gray { background: #f3f4f6; color: #6b7280; } .vx-chip.run { background: #dbeafe; color: #1e40af; } .vx-chip.ok { background: #dcfce7; color: #166534; } .vx-chip.warn { background: #fef3c7; color: #92400e; }
.vx-to b { color: #111827; } .vx-why { flex-basis: 100%; color: #6b7280; font-size: 12px; }
.vx-acts { display: flex; gap: 6px; } .vx-acts button { border: 1px solid #cbd5e1; border-radius: 7px; padding: 4px 10px; font-size: 12.5px; background: #fff; }
.vx-acts button:first-child { background: #1d4ed8; border-color: #1d4ed8; color: #fff; }
.vx-ex { display: flex; gap: 12px; margin-top: 10px; padding: 12px; border-radius: 10px; background: #f8fafc; border: 1px dashed #cbd5e1; animation: stepIn .45s var(--ease) both; }
.vx-pdf { flex: none; width: 34px; height: 42px; border-radius: 5px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.vx-ex b { font-size: 13px; } .vx-ex small { display: block; color: #6b7280; font-size: 12px; }
.vx-ex dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px 14px; margin-top: 8px; }
.vx-ex dl div { animation: stepIn .4s var(--ease) both; } .vx-ex dt { font-size: 11px; color: #6b7280; } .vx-ex dd { font-size: 13px; font-weight: 600; }
.vx-auto { margin-top: 8px; font-size: 12.5px; color: #166534; font-weight: 600; }
.vx-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vx-filters button { border: 1px solid #cbd5e1; background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 12.5px; color: #334155; }
.vx-filters button.on { background: var(--vb); border-color: var(--vb); color: #fff; }
.vx-table { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.vx-tr { display: grid; grid-template-columns: 1.6fr 1.3fr .5fr .6fr .7fr; gap: 10px; align-items: center; width: 100%; text-align: left; padding: 10px 14px; font-size: 13px; }
.vx-th { background: #f8fafc; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; }
.vx-row { border-top: 1px solid #f1f5f9; transition: background .6s; }
.vx-row button.vx-tr:hover { background: #f8fafc; }
.vx-row.fresh { animation: freshRow 2.4s ease both; }
@keyframes freshRow { 0%, 40% { background: #ecfdf5; } 100% { background: transparent; } }
.vx-row small { display: block; color: #6b7280; font-size: 12px; }
.vx-band { display: inline-flex; gap: 3px; vertical-align: middle; }
.vx-band i { width: 18px; height: 7px; border-radius: 3px; background: #e5e7eb; transition: background .4s; }
.vx-band i.on { background: #2563eb; } .vx-band i.prop { background: repeating-linear-gradient(45deg, #fbbf24 0 3px, #fde68a 3px 6px); }
.vx-st { display: block; font-size: 12px; color: #334155; margin-top: 3px; }
.vx-by { font-style: normal; display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: #e0e7ff; color: #3730a3; font-size: 11px; font-weight: 700; align-items: center; justify-content: center; }
.vx-row .due { font-style: normal; color: #b91c1c; font-weight: 700; }
.vx-prop { margin: 0 14px 10px; padding: 7px 10px; border-radius: 8px; background: #fffbeb; border: 1px solid #fde68a; font-size: 12.5px; color: #92400e; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.vx-prop button { background: #f59e0b; color: #111; font-weight: 700; border-radius: 6px; padding: 3px 10px; font-size: 12px; }
.vx-prop.bad { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.vx-detail { display: grid; gap: 14px; padding: 4px 14px 14px; font-size: 12.5px; }
@media (min-width: 640px) { .vx-detail { grid-template-columns: 1fr 1fr; } }
.vx-h { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: #64748b; margin-bottom: 6px; }
.vx-detail li { padding: 3px 0; } .vx-detail li small { display: block; color: #6b7280; }
.vx-table.ship .vx-tr { grid-template-columns: 1fr 1.4fr .6fr .8fr .9fr; }
.vx-row.good { background: #f0fdf4; } .vx-row.bad { background: #fff7f7; }
.vx-row.good, .vx-row.bad { animation: stepIn .4s var(--ease) both; animation-delay: calc(var(--i) * 70ms); }
.vx-sum { margin: 12px 0; font-size: 13.5px; color: #334155; }
.vx-files { display: flex; flex-wrap: wrap; gap: 8px; }
.vx-hint { margin-top: 8px; font-size: 12.5px; color: #6b7280; }
.vx-toast { position: absolute; right: 14px; bottom: 14px; background: #0f172a; color: #fff; font-size: 13px; padding: 9px 14px; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.25); animation: stepIn .35s var(--ease) both; }
@media (max-width: 640px) {
  .cs-demo:has(.vx) { padding: 14px 8px; }
  .vx-main { padding: 14px 10px; }
  .vx-th { display: none; }
  .vx-tr { grid-template-columns: 1fr auto; gap: 6px 10px; }
  .vx-tr > span:nth-child(1) { grid-column: 1 / -1; }
  .vx-table.ship .vx-tr { grid-template-columns: 1fr auto; }
}
.vx-ex.seen, .vx-ex.seen dl div, .vx-toast.seen { animation: none; }
@media (prefers-reduced-motion: reduce) { .vx-ex, .vx-ex dl div, .vx-row, .vx-toast { animation: none !important; } }

/* Referenzen: alle Projekte in gleich gestalteten Gruppen */
.refs { display: grid; gap: 28px; }
.ref-group { padding: 40px 18px 22px; border-radius: 30px; background: linear-gradient(180deg, rgb(var(--acc) / .07), rgba(255,255,255,.015) 60%); border: 1px solid rgb(var(--acc) / .25); }
@media (min-width: 768px) { .ref-group { padding: 48px 32px 32px; } }
.ref-head { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.ref-group .mini-card { background: rgb(var(--d1b1b1f)); border-color: rgba(255,255,255,.12); }
.ref-cat { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.ref-fact { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: #fff; display: flex; gap: 8px; align-items: baseline; }
.ref-fact::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translateY(-1px); color: rgb(var(--on-acc)); }
.badge-role { background: rgba(255,255,255,.1); color: rgba(255,255,255,.88); }
.thumb-combo > img:first-child { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.thumb-combo .ph { position: absolute; right: 7%; top: 12%; width: 23%; height: auto; border-radius: 12px; border: 3px solid rgb(var(--d26262b)); box-shadow: 0 10px 30px rgb(var(--d000000) / .5); }
.thumb-mock { background: #f6f5f1; }
.thumb-mock .mock-cat { position: absolute; left: 0; top: 0; width: 160%; transform: scale(.625); transform-origin: top left; }

/* SEO & GEO: Vorschaubild und Demo */
.geo-thumb { position: absolute; inset: 0; padding: 7% 7%; display: flex; flex-direction: column; gap: 10px; background: radial-gradient(circle at 80% 0%, rgb(var(--acc) / .18), transparent 55%), linear-gradient(160deg, rgb(var(--d18181c)), rgb(var(--d0e0e11))); font-size: 12px; }
.geo-thumb .q { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.geo-thumb .q i, .geo-search i { flex: none; width: 10px; height: 10px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.geo-thumb .a { padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); line-height: 1.45; color: rgba(255,255,255,.78); animation: geoIn 5s infinite; }
.geo-thumb .lbl { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 4px; }
.geo-thumb .a b { color: #fff; background: rgb(var(--acc) / .25); border-radius: 4px; padding: 0 3px; }
.geo-thumb .src { display: inline-block; margin-top: 6px; font-size: 10.5px; color: #86efac; }
@keyframes geoIn { 0%, 8% { opacity: 0; transform: translateY(6px); } 18%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.geo-qs { display: grid; gap: 8px; }
@media (min-width: 900px) { .geo-qs { grid-template-columns: repeat(3, 1fr); } }
.geo-qs button { text-align: left; padding: 11px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,.14); font-size: 13.5px; line-height: 1.4; color: rgba(255,255,255,.8); transition: border-color .2s, background .2s; }
.geo-qs button.on { border-color: var(--red); background: rgb(var(--acc) / .1); color: #fff; }
.geo-toggle { display: inline-flex; margin: 16px 0; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.geo-toggle button { padding: 8px 16px; border-radius: 99px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.7); }
.geo-toggle button.on { background: var(--red); color: rgb(var(--on-acc)); }
.geo-grid { display: grid; gap: 14px; }
@media (min-width: 900px) { .geo-grid { grid-template-columns: 1.15fr 1fr; } }
.geo-ans, .geo-sig { padding: 18px; border-radius: 18px; background: rgb(var(--d0f0f12)); border: 1px solid rgba(255,255,255,.08); }
.geo-ans.good { border-color: rgba(34,197,94,.35); } .geo-ans.bad { border-color: rgba(245,158,11,.3); }
.geo-search { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 14px; margin-bottom: 16px; }
.geo-lbl { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-bottom: 8px; }
.geo-txt { font-size: 15.5px; line-height: 1.65; color: rgba(255,255,255,.88); min-height: 7.5em; }
.geo-txt b { color: #fff; background: rgb(var(--acc) / .22); border-radius: 4px; padding: 0 4px; }
.geo-ans.bad .geo-txt b { background: rgba(255,255,255,.1); }
.geo-src { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 14px; font-size: 12px; color: rgba(255,255,255,.6); }
.geo-src em { font-style: normal; padding: 3px 9px; border-radius: 99px; background: rgba(255,255,255,.07); color: rgba(255,255,255,.8); }
.geo-ans.good .geo-src em { background: rgba(34,197,94,.12); color: #86efac; }
.geo-sig ul { display: grid; gap: 8px; }
.geo-sig li { padding: 9px 12px 9px 34px; border-radius: 12px; background: rgba(255,255,255,.04); position: relative; animation: stepIn .4s var(--ease) both; }
.geo-sig li::before { position: absolute; left: 11px; top: 9px; font-weight: 800; }
.geo-sig li.ok::before { content: '✓'; color: #86efac; } .geo-sig li.no::before { content: '✕'; color: #fca5a5; }
.geo-sig li b { display: block; font-size: 14px; } .geo-sig li small { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); word-break: break-word; }
.geo-code { margin-top: 12px; font-size: 13px; }
.geo-code summary { cursor: pointer; color: var(--red); font-weight: 600; }
.geo-code pre { margin-top: 8px; padding: 12px; border-radius: 10px; background: rgb(var(--d0a0a0c)); border: 1px solid rgba(255,255,255,.08); font: 12px/1.55 'JetBrains Mono', monospace; color: #c4b5fd; overflow-x: auto; }
@media (prefers-reduced-motion: reduce) { .geo-thumb .a, .geo-sig li { animation: none !important; } }
.ref-group .mini-card { position: relative; }
.role-pill { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 99px; background: rgb(var(--d111113) / .86); color: #fff; border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(6px); }
.geo-thumb { justify-content: center; }
.geo-thumb { padding-top: 52px; }
.geo-thumb { justify-content: flex-end; padding-bottom: 6%; }
@media (max-width: 640px) {
  .geo-thumb { gap: 7px; font-size: 11.5px; }
  .geo-thumb .src { display: none; }
  .geo-thumb .a p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* SportsRouting-Highlight */
.sr-spot { display: grid; gap: 28px; align-items: center; padding: 26px; border-radius: 30px; background: radial-gradient(circle at 15% 0%, rgb(var(--acc) / .2), transparent 55%), linear-gradient(180deg, rgb(var(--d1c1517)), rgb(var(--d141416))); border: 1px solid rgb(var(--acc) / .45); box-shadow: 0 30px 80px -40px rgb(var(--acc) / .6); transition: border-color .3s, transform .5s var(--ease); }
@media (min-width: 1024px) { .sr-spot { grid-template-columns: 1.05fr 1fr; gap: 44px; padding: 44px; } }
.sr-spot:hover { border-color: var(--red); }
.sr-spot:hover .case-cta .arr { transform: translateX(6px); }
.sr-spot-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-top: 22px; }
.sr-spot-stats div { padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); }
.sr-spot-stats b { display: block; font-size: 20px; font-weight: 800; line-height: 1.2; }
.sr-spot-stats span { display: block; margin-top: 3px; font-size: 13px; color: rgba(255,255,255,.72); }
.sr-spot-partners { margin-top: 14px; font-size: 13px; color: rgba(255,255,255,.6); }

/* Direkt anrufen und Profil-Links */
.nav-call { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border-radius: 99px; border: 1px solid rgba(255,255,255,.18); font-size: 14px; font-weight: 600; color: #fff; transition: border-color .2s, background .2s; }
.nav-call:hover { border-color: var(--red); background: rgb(var(--acc) / .12); }
.hero-call { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.75); text-align: center; }
@media (min-width: 1024px) { .hero-call { text-align: left; } }
.hero-call a { display: inline-flex; align-items: center; gap: 6px; margin-left: 6px; font-weight: 700; color: #fff; border-bottom: 1px solid var(--red); }
.hero-call a svg { color: var(--red); }
.me-link { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: rgb(var(--d18181b)); border: 1px solid rgba(255,255,255,.1); font-size: 14.5px; font-weight: 600; transition: border-color .2s; }
.me-link:hover { border-color: var(--red); }
.me-link svg { color: var(--red); }

/* Überschriften in Inter Tight: Hervorhebungen nur farbig, nicht kursiv */
:is(h1, h2, h3, h4, .cs-title, .cs-next b) :is(em, .italic) { font-style: normal !important; }
:is(h1, h2, h3, h4, .cs-title) { letter-spacing: -.012em; }
.bg-red { color: rgb(var(--on-acc)); }
.bg-red.text-white, .btn-primary.text-white { color: rgb(var(--on-acc)); }

/* WhatsApp */
.wa-fab { position: fixed; right: 18px; bottom: 18px; z-index: 80; display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px 0 14px; border-radius: 99px; background: #25D366; color: #06280f; font-weight: 700; font-size: 15px; box-shadow: 0 12px 30px -8px rgba(37,211,102,.55); transition: transform .3s var(--ease); }
.wa-fab svg { width: 24px; height: 24px; }
.wa-fab:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .wa-fab { width: 54px; height: 54px; padding: 0; justify-content: center; } .wa-fab span { display: none; } }
.modal-open .wa-fab { display: none; }
.hero-call .sep { margin: 0 4px 0 10px; color: rgba(255,255,255,.4); }
.hero-call a[data-wa] svg { color: #25D366; }

/* Mobil: Karten als wischbare Reihen statt langer Spalten */
.swipe-dots { display: none; }
@media (max-width: 767px) {
  .swipe { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -24px; padding: 4px 24px 6px; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { flex: 0 0 84%; scroll-snap-align: center; }
  .ref-group .swipe { margin: 0 -18px; padding: 4px 18px 6px; }
  .swipe-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; }
  .swipe-dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255,255,255,.25); transition: width .3s var(--ease), background .3s; }
  .swipe-dots i.on { width: 18px; background: var(--red); }
  .ref-group { padding: 30px 18px 20px; }
  .ref-head { margin-bottom: 20px; }
  .refs { gap: 20px; }
  .topic-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .topic-grid button { padding: 10px; font-size: 13px; gap: 8px; }
  .topic-grid button svg { width: 17px; height: 17px; }
  .topic-grid button i { display: none; }
  .sr-spot { padding: 20px; }
}
.refs > *, .ref-group, .ref-group > .grid { min-width: 0; }

/* ── Unterseiten (Projekte, Leistungen) ── */
.mini-card { position: relative; }
.sub-main { padding-top: 96px; }
.sub-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,.62); margin-bottom: 8px; }
.crumbs a:hover { color: #fff; }
.crumbs .sep { color: rgba(255,255,255,.3); }
.crumbs [aria-current] { color: rgba(255,255,255,.85); }
.sub-case .case-inner { padding-top: 24px; }
.sub-case .case-inner > * { animation: none; }
.sub-hero { padding: 28px 0 20px; }
.sub-sec { padding-top: 64px; }
.sub-values { display: grid; gap: 14px; }
@media (min-width: 768px) { .sub-values { grid-template-columns: 1fr 1fr; } }
.sub-related, .sub-group { padding-top: 56px; }
.sub-group + .sub-group { padding-top: 48px; }
.sub-faq { max-width: 860px; }
.sub-cta { max-width: 1120px; margin: 88px auto 96px; padding: 48px 24px; text-align: center; border-radius: 30px; background: linear-gradient(180deg, rgb(var(--acc) / .1), rgba(255,255,255,.015)); border: 1px solid rgb(var(--acc) / .3); }
@media (max-width: 1167px) { .sub-cta { margin-left: 24px; margin-right: 24px; } }
.sub-cta .hero-call { text-align: center; }
.svc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 600; color: #fff; border-bottom: 1px solid var(--red); padding-bottom: 1px; }
.svc-link:hover { color: var(--red); }
.cs-page { margin-left: auto; font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); border-bottom: 1px solid var(--red); }
.cs-page:hover { color: #fff; }
@media (max-width: 640px) { .pii s { white-space: normal; word-break: break-all; } }

/* ═══════════ Vorher/Nachher ═══════════ */
.ba { margin-bottom: 40px; }
.ba-below { margin: 48px 0 0; }
.ba-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 18px 24px; margin-bottom: 18px; }
.ba-tabs { display: flex; gap: 4px; padding: 4px; border-radius: 99px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.ba-tabs button { padding: 8px 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.75); transition: background .2s, color .2s; }
.ba-tabs button:hover { color: #fff; }
.ba-tabs button[aria-selected="true"] { background: var(--red); color: rgb(var(--on-acc)); }
.ba-frame { border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.14); background: rgb(var(--d0d0e10)); box-shadow: 0 40px 90px -40px rgb(var(--acc) / .45); }
.ba-bar { height: 34px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: rgb(var(--d1b1b1f)); }
.ba-bar > span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.ba-url { margin-left: 10px; min-width: 0; max-width: 340px; flex: 1; padding: 3px 12px; border-radius: 6px; background: rgba(255,255,255,.06); font: 500 12px/1.4 'JetBrains Mono', ui-monospace, monospace; color: rgba(255,255,255,.65); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ba-view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
@media (max-width: 640px) { .ba-view { aspect-ratio: 4 / 5; } .ba-tabs button { padding: 7px 11px; font-size: 13px; } }
.ba-ex { position: absolute; inset: 0; }
.ba-ex[hidden] { display: none; }
.vo { position: absolute; inset: 0; z-index: 2; overflow: hidden; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); pointer-events: none; }
.ba-handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; transform: translateX(var(--kx, 0px)); border-radius: 50%; background: var(--red); border: 2px solid #fff; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.ba-handle i::before { content: '‹ ›'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 700 18px/1 Inter, sans-serif; letter-spacing: 2px; color: #fff; }
/* Ganz am linken Rand: schmale Lasche statt rundem Knopf, damit kein Text verdeckt wird */
.ba-view.edge .ba-handle { background: transparent; box-shadow: none; }
.ba-view.edge .ba-handle i { left: 1px; width: 18px; height: 64px; margin: -32px 0 0; transform: none; border-radius: 0 12px 12px 0; border-left: 0; }
.ba-view.edge .ba-handle i::before { content: '›'; font-size: 20px; letter-spacing: 0; }
.ba-lbl { position: absolute; bottom: 12px; z-index: 4; transition: opacity .25s; padding: 5px 10px; border-radius: 99px; background: rgba(0,0,0,.62); font: 600 10.5px/1 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .14em; text-transform: uppercase; color: #fff; pointer-events: none; }
.ba-lbl.l { left: 12px; } .ba-lbl.r { right: 12px; }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba-view:has(.ba-range:focus-visible) .ba-handle i { outline: 3px solid #fff; outline-offset: 3px; }
.ba-note { margin-top: 12px; font-size: 13.5px; color: rgba(255,255,255,.6); }

/* Vorher: feste Breite wie früher, wird nur verkleinert */
.old { width: 1000px; min-height: 1800px; transform: scale(var(--k, 1)); transform-origin: 0 0; font: 13px/1.45 Verdana, Geneva, sans-serif; color: #222; background: var(--o-bg); text-align: left; }
.o-top { display: flex; flex-direction: column; gap: 4px; padding: 22px 30px; background: var(--o-head); border-bottom: 4px ridge #999; }
.o-logo { font: bold 36px/1.1 "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive; color: var(--o-logo); text-shadow: 3px 3px 0 rgba(0,0,0,.45); }
.o-sub { font: italic 15px "Times New Roman", Times, serif; color: var(--o-subc, #fff); }
.o-nav { width: 100%; border-collapse: separate; border-spacing: 3px; background: var(--o-nav); }
.o-nav td { padding: 6px; text-align: center; border: 2px outset #ddd; color: #0000ee; text-decoration: underline; background: var(--o-navc, #e6e6e6); font-size: 13px; }
.o-body { display: flex; gap: 16px; width: 920px; margin: 18px auto; }
.o-side { width: 210px; flex: none; display: flex; flex-direction: column; gap: 6px; padding: 12px; background: var(--o-side); border: 2px inset #ccc; font-size: 12px; }
.o-side u { color: #0000ee; } .o-side p { margin-top: 10px; }
.o-count { align-self: flex-start; padding: 2px 6px; background: #000; color: #39ff14; font: 13px "Courier New", monospace; letter-spacing: 3px; }
.o-main { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 16px; background: #fff; border: 1px solid #999; }
.o-main h4 { font: bold 24px "Times New Roman", Times, serif; color: var(--o-h); text-decoration: underline; }
.o-img { height: 190px; display: flex; align-items: center; justify-content: center; background: #ddd; border: 1px dashed #888; color: #666; font-size: 12px; }
.o-img::before { content: '✕'; margin-right: 6px; color: #c00; font-weight: bold; }
.o-blink { color: #e00; font-weight: bold; text-align: center; animation: oBlink 1.1s steps(2, start) infinite; }
@keyframes oBlink { to { visibility: hidden; } }
.o-foot { text-align: center; font-size: 10.5px; color: #555; }
.old-maler { --o-bg: #efe9d6; --o-head: linear-gradient(#3a6fc4, #1d3f7a); --o-logo: #ffde59; --o-nav: #c9d6ea; --o-side: #dfe6f0; --o-h: #1d3f7a; }
.old-gastro { --o-bg: #0b0b0b; --o-head: #000; --o-logo: #d4af37; --o-subc: #d4af37; --o-nav: #2a1d10; --o-navc: #3b2a16; --o-side: #241a10; --o-h: #d4af37; color: #e8d8a8; }
.old-gastro .o-logo { font: italic bold 40px "Times New Roman", Times, serif; }
.old-gastro .o-nav td { color: #ffcc66; border-color: #6b5420; }
.old-gastro .o-side u { color: #ffcc66; }
.old-gastro .o-main { background: #1a120a; border-color: #6b5420; }
.old-gastro .o-main u { color: #ffcc66; }
.old-gastro .o-img { background: #2a2016; border-color: #6b5420; color: #a08a5a; }
.old-gastro .o-foot { color: #8a7a55; }
.old-haus { --o-bg: #fff; --o-head: #2e7d32; --o-logo: #fff; --o-nav: #a5d6a7; --o-side: #e8f5e9; --o-h: #2e7d32; }
.old-haus .o-logo { font: 900 34px/1.1 "Arial Black", Arial, sans-serif; letter-spacing: 1px; }

/* Nachher: echtes responsives Layout, reagiert auf die Breite des Rahmens */
.na { position: absolute; inset: 0; overflow: hidden; container-type: inline-size; background: var(--n-bg); color: var(--n-fg); font-family: Inter, system-ui, sans-serif; text-align: left; }
.na-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 32px; }
.na-logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; white-space: nowrap; }
.na-logo i { width: 22px; height: 22px; border-radius: 7px; background: var(--n-acc); }
.na-nav { display: flex; gap: 24px; font-size: 14px; opacity: .75; }
.na-cta, .na-b1 { border-radius: 99px; background: var(--n-acc); color: var(--n-on); font-weight: 700; white-space: nowrap; }
.na-cta { padding: 9px 16px; font-size: 13.5px; }
/* Text rechts, damit er bei mittiger Reglerstellung sichtbar ist */
.na-hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 36px; padding: 26px 32px 0; }
.na-hero > .na-card { order: -1; }
.na-eb { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--n-acc); }
.na-h { margin: 12px 0; font-family: var(--font-head); font-weight: 800; font-size: min(4.4cqw, 50px); line-height: 1.04; letter-spacing: -.025em; }
.na-p { max-width: 46ch; font-size: 15.5px; line-height: 1.5; opacity: .75; }
.na-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; font-size: 14.5px; }
.na-b1 { padding: 12px 20px; }
.na-b2 { padding: 11px 19px; border-radius: 99px; border: 1.5px solid currentColor; font-weight: 700; opacity: .85; }
.na-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.na-chips span { padding: 5px 11px; border-radius: 99px; background: var(--n-soft); font-size: 12.5px; font-weight: 600; }
.na-card { padding: 22px; border-radius: 22px; background: var(--n-card); box-shadow: 0 30px 60px -30px rgba(0,0,0,.4); }
.na-ct { font-size: 13px; font-weight: 700; letter-spacing: .02em; opacity: .7; margin-bottom: 14px; }
.na-menu li, .na-menu li:first-child { border-top: 0; }
.na-steps { display: flex; flex-direction: column; gap: 12px; }
.na-steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; font-weight: 600; }
.na-steps b { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--n-soft); color: var(--n-acc); font-size: 13px; }
.na-form { display: flex; flex-direction: column; gap: 8px; }
.na-form span { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--n-line); font-size: 14px; font-weight: 600; }
.na-form i { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.na-full { display: block; margin-top: 16px; padding: 12px; text-align: center; font-size: 14px; }
.na-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 28px 32px; }
.na-svc div { padding: 16px 18px; border-radius: 16px; background: var(--n-soft); }
.na-svc b { display: block; font-size: 15px; margin-bottom: 4px; }
.na-svc span { font-size: 13px; opacity: .7; }
@container (max-width: 640px) {
  .na-top { padding: 14px 16px; }
  .na-nav { display: none; }
  .na-logo { font-size: 15px; } .na-logo i { width: 18px; height: 18px; }
  .na-cta { padding: 8px 12px; font-size: 12px; }
  .na-hero { grid-template-columns: 1fr; gap: 18px; padding: 12px 16px 0 26px; }
  .na-hero > .na-card { order: 0; }
  .na-h { font-size: 27px; margin: 8px 0; }
  .na-p { font-size: 14px; }
  .na-btns { margin-top: 14px; font-size: 13.5px; } .na-b1 { padding: 11px 16px; } .na-b2 { padding: 10px 15px; }
  .na-chips { display: none; }
  .na-card { padding: 16px; border-radius: 18px; }
  .na-svc { grid-template-columns: 1fr; padding: 16px; }
}
@container (max-width: 400px) { .na-cta { display: none; } }
.na-maler { --n-bg: #f6f3ee; --n-fg: #1d2a2c; --n-acc: #0f766e; --n-on: #fff; --n-soft: rgba(15,118,110,.09); --n-card: #fff; --n-line: rgba(29,42,44,.12); }
.na-gastro { --n-bg: #1f2a22; --n-fg: #f4ecdc; --n-acc: #e0a84a; --n-on: #1f2a22; --n-soft: rgba(244,236,220,.09); --n-card: #2a3830; }
.na-haus { --n-bg: #10213a; --n-fg: #eef4fb; --n-acc: #7dd3a8; --n-on: #0c1a2c; --n-soft: rgba(238,244,251,.08); --n-card: #182f4f; --n-line: rgba(238,244,251,.14); }
@media (prefers-reduced-motion: reduce) { .o-blink { animation: none; } }
.sub-projects { padding-top: 40px; }

/* ═══════════ Kontaktleiste ═══════════ */
/* Mobil auf jeder Seite unten, in der Fallstudie immer (Desktop als schwebende Pille) */
.cbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 6px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgb(var(--d111113) / .94); backdrop-filter: blur(14px) saturate(160%); -webkit-backdrop-filter: blur(14px) saturate(160%); border-top: 1px solid rgba(255,255,255,.1); }
.cbar-t, .cbar .l { display: none; }
.cbar a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 7px 4px; border-radius: 12px; background: rgba(255,255,255,.06); font-size: 11.5px; font-weight: 600; color: #fff; white-space: nowrap; transition: background .2s; }
.cbar a svg { width: 20px; height: 20px; color: var(--red); }
.cbar a[data-wa] svg { color: #25D366; }
.cbar .cbar-main { background: var(--red); color: rgb(var(--on-acc)); }
.cbar .cbar-main svg { color: currentColor; }
@media (max-width: 767px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .wa-fab { display: none; }
}
html.modal-open .cbar.on-page { display: none; }
.case-scroll { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
@media (min-width: 768px) {
  .cbar.on-page { display: none; }
  .cbar.in-case { left: 50%; right: auto; bottom: 20px; transform: translateX(-50%); align-items: center; gap: 6px; padding: 7px 7px 7px 22px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; box-shadow: 0 20px 50px -14px rgb(var(--d000000) / .7), 0 0 0 6px rgb(var(--acc) / .06); }
  .cbar.in-case .cbar-t { display: block; margin-right: 10px; font-size: 14.5px; font-weight: 600; white-space: nowrap; }
  .cbar.in-case a { flex: none; flex-direction: row; gap: 8px; padding: 10px 16px; border-radius: 99px; font-size: 14px; }
  .cbar.in-case a svg { width: 17px; height: 17px; }
  .cbar.in-case a:not(.cbar-main):hover { background: rgba(255,255,255,.14); }
  .cbar.in-case .s { display: none; } .cbar.in-case .l { display: inline; }
}
@media (min-width: 768px) and (max-width: 1023px) { .cbar.in-case .cbar-t { display: none; } .cbar.in-case { padding-left: 7px; } }
.nav-wa svg { color: #25D366; }
.nav-call.nav-wa svg { color: #25D366; }
