/* =====================================================================
   V2 – "Wow"-Ebene (lädt nach style.css)
   ===================================================================== */
:root { --mono: ui-monospace, "Cascadia Code", "SF Mono", Consolas, "Liberation Mono", monospace; }

/* Scroll-Fortschritt + Körnung */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 300; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), var(--cyan)); box-shadow: 0 0 12px var(--cyan); }
.grain {
  position: fixed; inset: 0; z-index: 250; pointer-events: none; opacity: .045; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
[data-theme="dark"] .grain { mix-blend-mode: screen; opacity: .035; }

.btn-xl { --h: 60px; padding: 0 2rem; font-size: 1.05rem; }
.magnetic { will-change: transform; transition: transform .25s var(--ease), box-shadow .2s, background-color .2s, color .2s, border-color .2s; }

/* ---------- HERO V2 ---------- */
.hx {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: -94px; padding: calc(94px + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(5rem, 9vw, 7rem);
  min-height: max(760px, min(100svh, 1000px)); display: grid; align-items: center;
}
.hx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hx-aura {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(45% 55% at 85% 35%, rgba(94,194,240,.22), transparent 70%),
    radial-gradient(40% 50% at 10% 15%, rgba(79,134,179,.16), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
[data-theme="dark"] .hx-aura {
  background:
    radial-gradient(45% 55% at 85% 35%, rgba(80,170,230,.18), transparent 70%),
    radial-gradient(40% 50% at 10% 15%, rgba(79,134,179,.16), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--bg));
}
.hx-inner { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hx-title { font-size: clamp(2.9rem, 5.5vw, 5.3rem); line-height: .98; letter-spacing: -.048em; font-weight: 800; margin: 0 0 1.6rem; }
.hx-line { display: block; white-space: nowrap; }
.rotator { position: relative; display: inline-block; vertical-align: top; white-space: nowrap; color: var(--brand); transition: width .55s var(--ease); }
.rot-word { display: inline-block; will-change: transform, opacity, filter; }
.rot-word.out { animation: rotOut .38s var(--ease) forwards; }
.rot-word.in { animation: rotIn .5s var(--ease) both; }
@keyframes rotOut { to { opacity: 0; transform: translateY(-45%) rotateX(40deg); filter: blur(6px); } }
@keyframes rotIn { from { opacity: 0; transform: translateY(45%) rotateX(-40deg); filter: blur(6px); } }
.rot-measure { position: absolute; left: 0; top: 0; visibility: hidden; white-space: nowrap; pointer-events: none; }
.grad-anim {
  background: linear-gradient(90deg, var(--brand), var(--cyan), #8fd3ff, var(--brand)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 8s ease-in-out infinite;
  padding-bottom: .08em;
}
@keyframes gradShift { 50% { background-position: 100% 0; } }
.hx-in { animation: hxIn 1s var(--ease) both; animation-delay: calc(var(--i, 0) * .12s + .15s); }
@keyframes hxIn { from { opacity: 0; transform: translateY(28px); filter: blur(8px); } }

/* Monitoring-Konsole */
.console {
  position: relative; border-radius: 22px; overflow: hidden; font-size: .86rem;
  background: var(--glass); border: 1px solid var(--border); box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.4) inset;
  backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%);
  transform: perspective(1400px) rotateY(var(--ry, -9deg)) rotateX(var(--rx, 4deg)); transition: transform .5s var(--ease);
}
.console.hx-in { animation-name: hxInConsole; }
@keyframes hxInConsole { from { opacity: 0; filter: blur(8px); translate: 0 28px; } }
[data-theme="dark"] .console { box-shadow: var(--shadow-lg), 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 80px -20px rgba(94,194,240,.25); }
.console::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 40%); opacity: .6; }
[data-theme="dark"] .console::before { opacity: .08; }
.console-bar { display: flex; align-items: center; gap: .8rem; padding: .8rem 1rem; border-bottom: 1px solid var(--border); }
.dots { display: flex; gap: 6px; } .dots i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; } .dots i:nth-child(2) { background: #febc2e; } .dots i:nth-child(3) { background: #28c840; }
.console-title { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; font-family: var(--mono); font-size: .7rem; font-weight: 700; letter-spacing: .1em; color: var(--ok); }
.live .dot-live { width: 7px; height: 7px; margin: 0 .45rem 0 0; }
.console-body { padding: .5rem .6rem .7rem; }
.mon-row { display: grid; grid-template-columns: 34px 1fr 110px 74px; align-items: center; gap: .8rem; padding: .65rem .5rem; border-bottom: 1px dashed var(--border); }
.mon-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); }
.mon-ic .i { width: 16px; height: 16px; }
.mon-name { font-weight: 650; color: var(--text); line-height: 1.25; }
.mon-name small { display: block; font-weight: 500; font-size: .74rem; color: var(--muted); }
.spark { width: 110px; height: 28px; overflow: visible; }
.spark-line { fill: none; stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 160; animation: spark 4s ease-in-out infinite; }
@keyframes spark { 0% { stroke-dashoffset: 160; } 50%, 100% { stroke-dashoffset: 0; } }
.meter { display: block; height: 7px; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--border); overflow: hidden; }
.meter i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--cyan)); animation: meterWobble 3s ease-in-out infinite; }
@keyframes meterWobble { 50% { width: calc(var(--w) + 18%); } }
.meter-run i { width: 0; animation: meterRun 7s var(--ease) infinite; }
@keyframes meterRun { 0% { width: 0; } 80%, 100% { width: 100%; } }
.eq { display: flex; align-items: center; gap: 3px; height: 26px; }
.eq i { flex: 1; height: 100%; border-radius: 2px; background: linear-gradient(180deg, var(--cyan), var(--brand)); transform-origin: 50% 50%; animation: eq 1.1s ease-in-out infinite; animation-delay: var(--d); }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.badge-ok, .badge-run { justify-self: end; font-family: var(--mono); font-size: .7rem; font-weight: 700; padding: .25rem .55rem; border-radius: 99px; white-space: nowrap; }
.badge-ok { color: var(--ok); background: color-mix(in srgb, var(--ok) 14%, transparent); }
.badge-run { position: relative; color: var(--brand); background: var(--brand-soft); }
.badge-run .b-done { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; color: var(--ok); background: color-mix(in srgb, var(--ok) 16%, var(--surface)); opacity: 0; animation: badgeDone 7s infinite; }
@keyframes badgeDone { 0%, 79% { opacity: 0; } 82%, 100% { opacity: 1; } }
.term {
  margin: .8rem .2rem 0; padding: 1rem 1.1rem; min-height: 10.4em; border-radius: 14px;
  background: #0a121c; color: #a9c6e2; border: 1px solid #1a2836;
  font-family: var(--mono); font-size: .78rem; line-height: 1.6; white-space: pre-wrap; overflow: hidden;
}
.term .p { color: #5ec2f0; } .term .ok { color: #3ccf8e; } .term .dim { color: #5d7389; }
.term .cur { display: inline-block; width: .55em; height: 1.1em; vertical-align: text-bottom; background: #a9c6e2; animation: blinkCur 1s steps(1) infinite; }
@keyframes blinkCur { 50% { opacity: 0; } }

.scroll-hint { position: absolute; left: 50%; bottom: 1.8rem; translate: -50% 0; width: 26px; height: 42px; border-radius: 99px; border: 2px solid var(--border-strong); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brand); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Text-Band ---------- */
.ticker { overflow: hidden; padding: 1.4rem 0; border-block: 1px solid var(--border); background: var(--surface); }
.ticker-track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 45s linear infinite; }
.ticker span { font-size: clamp(2.6rem, 6.5vw, 5.6rem); font-weight: 800; letter-spacing: -.045em; line-height: 1.05; color: color-mix(in srgb, var(--text) 9%, transparent); transition: color .3s; }
.ticker span:hover { color: var(--brand); }
.ticker b { font-size: 1.8rem; color: var(--brand); }

/* ---------- Hilfe-Wähler ---------- */
.chooser { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 1.2rem; align-items: stretch; }
.chooser-tabs { display: grid; gap: .7rem; align-content: start; }
.ch-tab {
  display: flex; align-items: center; gap: 1rem; width: 100%; padding: 1.05rem 1.1rem; text-align: left; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1.04rem; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, box-shadow .25s, color .25s;
}
.ch-tab small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ch-tab:hover { border-color: var(--brand); transform: translateX(4px); }
.ch-ic { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 13px; background: var(--brand-soft); color: var(--brand); transition: background-color .25s, color .25s; }
.ch-arrow { margin-left: auto; display: flex; opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s var(--ease); }
.ch-tab[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(120deg, #2f6a9a, #4f86b3 60%, #5aa6d6); box-shadow: 0 16px 34px -14px rgba(47,106,154,.7); transform: translateX(6px); }
.ch-tab[aria-selected="true"] small { color: rgba(255,255,255,.75); }
.ch-tab[aria-selected="true"] .ch-ic { background: rgba(255,255,255,.18); color: #fff; }
.ch-tab[aria-selected="true"] .ch-arrow { opacity: 1; transform: none; }
.chooser-panels { position: relative; }
.ch-panel {
  position: relative; overflow: hidden; height: 100%; padding: clamp(1.8rem, 4vw, 3rem); padding-right: clamp(1.8rem, 20vw, 15rem);
  background: radial-gradient(60% 80% at 100% 50%, color-mix(in srgb, var(--cyan) 10%, transparent), transparent 70%), var(--surface);
  border: 1px solid var(--border); border-radius: 28px; box-shadow: var(--shadow);
  animation: panelIn .5s var(--ease);
}
.ch-panel[hidden] { display: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } }
.ch-panel h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.03em; }
.ch-panel > p { font-size: 1.08rem; color: var(--text-2); max-width: 36em; }
.ch-panel .ticks { margin-top: 1.2rem; }
.ch-panel .actions { margin-top: 1.8rem; }
.ch-visual { position: absolute; right: clamp(1.5rem, 4vw, 3.5rem); top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 170px; height: 170px; }
.ch-big { width: 64px; height: 64px; color: var(--brand); stroke-width: 1.5; position: relative; z-index: 1; }
.ch-visual::before { content: ""; position: absolute; inset: 22px; border-radius: 36px; background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 25%, transparent); }
.ch-ring { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--brand); opacity: 0; animation: ring 3s var(--ease) infinite; }
.ch-ring.r2 { animation-delay: 1.5s; }
@keyframes ring { 0% { transform: scale(.55); opacity: .5; } 100% { transform: scale(1.15); opacity: 0; } }

/* ---------- Live-Bento ---------- */
.bento2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.b2 {
  position: relative; display: flex; flex-direction: column; padding: 1.4rem; overflow: hidden; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s, box-shadow .3s;
}
.b2:hover { transform: translateY(-4px); border-color: var(--border-strong); box-shadow: var(--shadow-lg); color: inherit; }
.b2 h3 { display: flex; align-items: center; gap: .55rem; margin: 0 0 .4rem; font-size: 1.15rem; }
.b2 h3 .i { color: var(--brand); width: 1.05em; }
.b2 p { margin: 0; color: var(--muted); font-size: .97rem; }
.b2-feature { grid-column: span 2; grid-row: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; padding: 2.2rem;
  background: radial-gradient(70% 70% at 100% 100%, color-mix(in srgb, var(--cyan) 14%, transparent), transparent 70%), var(--surface); }
.b2-text { display: flex; flex-direction: column; }
.b2-text h3 { display: block; font-size: clamp(1.7rem, 2.8vw, 2.4rem); letter-spacing: -.035em; line-height: 1.08; margin-bottom: 1rem; }
.b2-text p { font-size: 1.05rem; }
.b2-text .link-arrow { margin-top: auto; padding-top: 1.5rem; }
.b2-remote { grid-column: span 2; flex-direction: row; align-items: center; gap: 1.5rem; padding: 2.2rem; color: #fff; border-color: transparent;
  background: radial-gradient(60% 120% at 100% 50%, rgba(94,194,240,.45), transparent 60%), linear-gradient(120deg, #0f2233, #1f4a6e 60%, #2f6a9a); }
.b2-remote:hover { color: #fff; border-color: transparent; }
.b2-remote::after { content: ""; position: absolute; right: -60px; top: 50%; width: 320px; height: 320px; translate: 0 -50%; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(255,255,255,.10) 0 1px, transparent 1px 26px); }
.b2-remote h3 { margin-bottom: .4rem; font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -.03em; color: #fff; }
.b2-remote p { color: rgba(255,255,255,.78); font-size: 1.02rem; }
.b2-remote .tile-ic { width: 64px; height: 64px; border-radius: 20px; background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.2); }
.b2-remote .tile-ic .i { width: 28px; height: 28px; }
.b2-remote .round-arrow { position: relative; z-index: 1; width: 58px; height: 58px; background: #fff; color: #1f4a6e; }

.viz { position: relative; height: 150px; margin-bottom: 1.3rem; border-radius: 18px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: center; }

/* Chat */
.chat { display: flex; flex-direction: column; justify-content: flex-end; gap: .55rem; padding: 1.2rem; border-radius: 20px; background: var(--surface-2); border: 1px solid var(--border); min-height: 330px; }
.msg { max-width: 88%; padding: .65rem .9rem; border-radius: 16px; font-size: .9rem; line-height: 1.45; opacity: 0; transform: translateY(10px) scale(.97); }
.msg .who { display: block; font-size: .7rem; font-weight: 750; letter-spacing: .04em; opacity: .65; margin-bottom: .1rem; }
.msg-in { align-self: flex-start; background: var(--surface); border: 1px solid var(--border); border-bottom-left-radius: 5px; color: var(--text-2); }
.msg-out { align-self: flex-end; background: linear-gradient(135deg, #4f86b3, #5aa6d6); color: #fff; border-bottom-right-radius: 5px; }
.typing { align-self: flex-end; display: flex; gap: 4px; padding: 0 .9rem; max-height: 0; opacity: 0; overflow: hidden; border-radius: 16px; background: var(--brand-soft); }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: typingDot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typingDot { 50% { transform: translateY(-4px); opacity: .5; } }
.b2-feature.in .msg { animation: chatIn .5s var(--ease) forwards; animation-delay: calc(.5s + var(--t) * 1.1s); }
.b2-feature.in .typing { animation: typingShow 1.2s var(--ease) forwards; animation-delay: calc(.4s + var(--t) * 1.1s); }
@keyframes chatIn { to { opacity: 1; transform: none; } }
@keyframes typingShow { 0% { opacity: 0; max-height: 0; padding: 0 .9rem; } 15%, 85% { opacity: 1; max-height: 40px; padding: .7rem .9rem; } 100% { opacity: 0; max-height: 0; padding: 0 .9rem; margin-top: -.55rem; } }

/* Switch-Ports */
.viz-ports { background: linear-gradient(180deg, #1a2531, #111922); border-color: #233140; grid-template-columns: repeat(12, 1fr); gap: 7px; padding: 1.4rem 1.1rem; align-content: center; place-items: stretch; }
.viz-ports i { position: relative; height: 20px; border-radius: 3px; background: #0a1017; box-shadow: inset 0 2px 3px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.05); }
.viz-ports i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 4px; height: 3px; border-radius: 1px; background: #3ccf8e; box-shadow: 0 0 6px #3ccf8e; animation: blink 1.2s steps(2) infinite; animation-delay: var(--d); }
.viz-ports i::before { content: ""; position: absolute; top: 3px; right: 3px; width: 4px; height: 3px; border-radius: 1px; background: #f5a623; opacity: .8; }
.viz-ports i.off::after { background: #2a3846; box-shadow: none; animation: none; }
.viz-ports i.off::before { opacity: 0; }

/* VMs */
.viz-vms { place-items: stretch; align-content: center; gap: .55rem; padding: 1rem 1.2rem; }
.vm { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: .7rem; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.vm b { position: relative; height: 10px; border-radius: 99px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.vm b::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--cyan)); animation: vmLoad 5.2s ease-in-out infinite; animation-delay: var(--d); }
@keyframes vmLoad { 0%, 100% { width: 22%; } 30% { width: 68%; } 60% { width: 41%; } 80% { width: 83%; } }

/* Telefonie-Wellenform */
.viz-wave { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 1.2rem; }
.viz-wave i { flex: 1; max-width: 6px; height: var(--h); border-radius: 3px; background: linear-gradient(180deg, var(--cyan), var(--brand)); animation: eq 1.3s ease-in-out infinite; animation-delay: var(--d); }

/* Backup-Ring */
.viz-backup svg { width: 112px; height: 112px; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: var(--border); stroke-width: 9; }
.ring-fg { fill: none; stroke: var(--brand); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; animation: ringFill 5s var(--ease) infinite; }
@keyframes ringFill { 0% { stroke-dashoffset: 314; stroke: var(--brand); } 75% { stroke-dashoffset: 0; stroke: var(--brand); } 80%, 100% { stroke-dashoffset: 0; stroke: var(--ok); } }
.viz-backup .pct { position: absolute; inset: 0; display: grid; place-items: center; color: var(--brand); }
.viz-backup .pct .i { width: 32px; height: 32px; animation: shieldOk 5s infinite; }
@keyframes shieldOk { 0%, 76% { color: var(--brand); transform: scale(1); } 82% { color: var(--ok); transform: scale(1.18); } 88%, 100% { color: var(--ok); transform: scale(1); } }

/* Kamera */
.viz-cam {
  background:
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)),
    radial-gradient(60% 80% at 30% 100%, #2c4256, transparent 70%),
    linear-gradient(160deg, #18242f, #0b1219);
  border-color: #233140; color: #d8e6f2; font-family: var(--mono); font-size: .72rem;
}
.viz-cam::before { content: ""; position: absolute; left: 12%; right: 12%; bottom: 0; height: 46%; background: linear-gradient(180deg, #1d2c3a, #0f1821); clip-path: polygon(0 40%, 22% 40%, 22% 0, 58% 0, 58% 25%, 100% 25%, 100% 100%, 0 100%); opacity: .9; }
.rec { position: absolute; top: 10px; left: 12px; display: flex; align-items: center; gap: 6px; font-weight: 700; letter-spacing: .08em; }
.rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4b4b; box-shadow: 0 0 8px #ff4b4b; animation: blink 1.2s steps(2) infinite; }
.cam-time { position: absolute; top: 10px; right: 12px; opacity: .8; }
.corner { position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.75); }
.c1 { top: 34px; left: 34%; border-right: 0; border-bottom: 0; } .c2 { top: 34px; right: 34%; border-left: 0; border-bottom: 0; }
.c3 { bottom: 22px; left: 34%; border-right: 0; border-top: 0; } .c4 { bottom: 22px; right: 34%; border-left: 0; border-top: 0; }
.scan { position: absolute; left: 0; right: 0; height: 40px; background: linear-gradient(180deg, transparent, rgba(94,194,240,.22), transparent); animation: scan 3.2s linear infinite; }
@keyframes scan { from { top: -40px; } to { top: 100%; } }

/* Geräte */
.viz-devices { display: flex; justify-content: center; gap: 1rem; }
.dev { position: relative; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border); color: var(--brand); box-shadow: var(--shadow-sm); }
.dev .i { width: 28px; height: 28px; stroke-width: 1.6; }
.dev b { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); color: #fff; font-size: .7rem; transform: scale(0); animation: devOk 4.5s var(--ease) infinite; animation-delay: calc(var(--t) * .45s); }
@keyframes devOk { 0%, 15% { transform: scale(0); } 25% { transform: scale(1.2); } 30%, 85% { transform: scale(1); } 95%, 100% { transform: scale(0); } }

/* ---------- Vergleich ---------- */
.strike { position: relative; color: var(--muted); white-space: nowrap; }
.strike::after { content: ""; position: absolute; left: -2%; right: -2%; top: 55%; height: .09em; border-radius: 99px; background: #e5484d; transform: scaleX(0); transform-origin: 0 50%; transition: transform .8s var(--ease) .5s; }
.section-head.in .strike::after { transform: scaleX(1); }
.vs { border-radius: 28px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.vs-head, .vs-row { display: grid; grid-template-columns: 220px 1fr 1.25fr; }
.vs-head > span, .vs-row > span { padding: 1.2rem 1.6rem; }
.vs-head { font-weight: 750; border-bottom: 1px solid var(--border); }
.vs-col { display: flex; align-items: center; gap: .6rem; }
.vs-col img { border-radius: 8px; }
.vs-head .vs-them { color: var(--muted); }
.vs-row { border-bottom: 1px solid var(--border); transition: background-color .2s; }
.vs-row:last-child { border-bottom: 0; }
.vs-row:hover { background: var(--surface-2); }
.vs-topic { font-weight: 700; color: var(--text); }
.vs-row .vs-them { display: flex; gap: .7rem; color: var(--muted); }
.vs-row .vs-us { display: flex; gap: .7rem; font-weight: 650; color: var(--text); }
.vs .vs-us { background: color-mix(in srgb, var(--brand) 7%, transparent); box-shadow: inset 2px 0 0 var(--brand); }
.vs .x { color: #e5484d; font-weight: 700; opacity: .7; }
.vs .ok { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; background: var(--ok); color: #fff; }
.vs .ok .i { width: 13px; height: 13px; stroke-width: 3.2; }

/* ---------- Partner (dunkle Bühne) ---------- */
.section-dark { position: relative; overflow: hidden; isolation: isolate; background: #070c12; color: #c9d6e3; }
[data-theme="dark"] .section-dark { background: #04080d; border-block: 1px solid #16202b; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #9fb0c2; font-size: 1.08rem; }
.section-dark .eyebrow { color: #6fd0ff; }
.dark-grid { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(50% 60% at 80% 40%, rgba(79,134,179,.35), transparent 70%),
    linear-gradient(rgba(140,190,235,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(140,190,235,.06) 1px, transparent 1px);
  background-size: auto, 56px 56px, 56px 56px; }
.partner-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.partner-split .btn { margin-top: 1rem; }
.logo-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lw-tile {
  position: relative; display: grid; place-items: center; height: 150px; padding: 1.4rem 1.4rem 2.2rem; border-radius: 22px; background: #fff;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.lw-tile img { max-height: 58px; max-width: 80%; object-fit: contain; transition: transform .35s var(--ease); }
.lw-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 25px 50px -15px rgba(94,194,240,.45); }
.lw-tile:hover img { transform: scale(1.06); }
.lw-cat { position: absolute; bottom: .8rem; left: 0; right: 0; text-align: center; font-size: .7rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; color: #6b7a8a; }

/* Radar auf der Karte */
.map-radar { transform-box: view-box; animation: spin 6s linear infinite; }
.s0 { stop-color: var(--brand); stop-opacity: 0; } .s1 { stop-color: var(--brand); stop-opacity: .16; }
@keyframes spin { to { transform: rotate(-360deg); } }

/* ---------- Zitat beim Scrollen ---------- */
.quote-stage { padding: clamp(6rem, 12vw, 10rem) 0; }
.scroll-quote { margin: 0 auto; max-width: 1050px; }
.scroll-quote blockquote { margin: 0 0 2.4rem; font-size: clamp(2rem, 4.6vw, 3.9rem); line-height: 1.16; font-weight: 750; letter-spacing: -.035em; color: var(--border-strong); }
.scroll-quote .w { transition: color .35s; }
.scroll-quote .w.lit { color: var(--text); }
.scroll-quote figcaption { display: flex; align-items: center; gap: .9rem; }
.scroll-quote small { display: block; color: var(--muted); }

/* ---------- Team V2 ---------- */
.team2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.t2 { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 2rem; overflow: hidden; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: 26px; transition: transform .35s var(--ease), box-shadow .3s; }
.t2:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.t2-meta h3 { margin: 0 0 .15rem; font-size: 1.35rem; } .t2-meta p { margin: 0; color: var(--muted); }
.avatar-xl { width: 76px; height: 76px; border-radius: 24px; font-size: 1.45rem; }
.t2-call { color: #fff; border-color: transparent; background: linear-gradient(135deg, #1f4a6e, #4f86b3 65%, #6fc4f0); }
.t2-call:hover { color: #fff; }
.t2-call .t2-meta h3 { color: #fff; } .t2-call .t2-meta p { color: rgba(255,255,255,.8); }
.t2-call .avatar-ic { background: rgba(255,255,255,.18); color: #fff; }
.t2-call .round-arrow { position: absolute; right: 1.6rem; bottom: 1.6rem; background: #fff; color: #1f4a6e; }
[data-theme="dark"] .t2-call { background: linear-gradient(135deg, #10263a, #2f6a9a 65%, #4f86b3); }

/* ---------- Mega-CTA ---------- */
.mega-cta { position: relative; isolation: isolate; overflow: hidden; padding: clamp(6rem, 13vw, 11rem) 0; color: #fff; background: #0b1a29; }
.mega-bg { position: absolute; inset: -40%; z-index: -1;
  background: conic-gradient(from 0deg at 50% 50%, #0b1a29, #2f6a9a, #5ec2f0, #1e4a6e, #0b1a29);
  filter: blur(90px); opacity: .85; animation: megaSpin 22s linear infinite; }
.mega-cta::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
@keyframes megaSpin { to { transform: rotate(360deg); } }
.eyebrow.light { color: rgba(255,255,255,.8); }
.mega-title { color: #fff; font-size: clamp(2.8rem, 8vw, 7rem); line-height: .98; letter-spacing: -.05em; font-weight: 800; margin: 0 0 1.6rem; }
.mega-sign { display: flex; align-items: center; gap: .8rem; margin: 0 0 2.6rem; color: #fff; }
.mega-sign .avatar { background: rgba(255,255,255,.16); box-shadow: none; }
.mega-sign strong { display: block; } .mega-sign small { display: block; color: rgba(255,255,255,.7); font-size: .88rem; }
.mega-actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.mega-phone {
  display: inline-flex; align-items: center; gap: 1rem; padding: 1rem 1.8rem 1rem 1rem; border-radius: 999px; color: #fff;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: clamp(1.1rem, 2.2vw, 1.5rem); font-weight: 750; letter-spacing: -.02em;
}
.mega-phone:hover { color: #fff; background: rgba(255,255,255,.18); }
.mega-phone small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.mp-ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: #fff; color: #1f4a6e; }
.mp-ic .i { width: 22px; height: 22px; }

/* ---------- Footer-Wortmarke ---------- */
.footer-mark {
  margin: 2.5rem 0 -1rem; text-align: center; font-weight: 800; letter-spacing: -.07em; line-height: .78; user-select: none; overflow: hidden;
  font-size: clamp(7rem, 26vw, 24rem); color: color-mix(in srgb, var(--text) 6%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 95%); mask-image: linear-gradient(180deg, #000 30%, transparent 95%);
}
.home .site-footer { border-top: 0; }

/* ---------- Responsive V2 ---------- */
@media (max-width: 1100px) {
  .bento2 { grid-template-columns: repeat(2, 1fr); }
  .b2-feature { grid-row: auto; }
  .team2 { grid-template-columns: repeat(2, 1fr); }
  .t2-call { grid-column: span 2; }
}
@media (max-width: 960px) {
  .hx { min-height: auto; }
  .hx-inner, .chooser, .partner-split { grid-template-columns: 1fr; }
  .console { --ry: 0deg; --rx: 0deg; max-width: 560px; }
  .chooser-tabs { grid-template-columns: 1fr 1fr; }
  .ch-tab:hover, .ch-tab[aria-selected="true"] { transform: none; }
  .ch-panel { padding-right: clamp(1.8rem, 4vw, 3rem); }
  .ch-visual { display: none; }
  .vs-head, .vs-row { grid-template-columns: 150px 1fr 1.2fr; }
  .scroll-hint { display: none; }
}
@media (max-width: 640px) {
  .hx-title { font-size: clamp(2.2rem, 10.5vw, 3.2rem); }
  .btn-xl { --h: 54px; padding: 0 1.4rem; font-size: 1rem; }
  .mon-row { grid-template-columns: 30px 1fr 64px; }
  .mon-row > :nth-child(3) { display: none; }
  .chooser-tabs { grid-template-columns: 1fr; }
  .bento2, .team2 { grid-template-columns: 1fr; }
  .b2-feature, .b2-remote, .t2-call { grid-column: auto; }
  .b2-feature { grid-template-columns: 1fr; padding: 1.6rem; }
  .chat { min-height: 300px; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .lw-tile { height: 120px; }
  .vs-head { display: none; }
  .vs-row { grid-template-columns: 1fr; }
  .vs-row > span { padding: .5rem 1.2rem; }
  .vs-row .vs-topic { padding-top: 1.2rem; }
  .vs-row .vs-us { padding-bottom: 1.2rem; }
  .vs .vs-us { box-shadow: none; background: none; }
  .mega-phone { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .map-radar { display: none; }
  .ring-fg { stroke-dashoffset: 0; stroke: var(--ok); }
  .viz-backup .pct .i { color: var(--ok); }
  .dev b { transform: scale(1); }
  .meter-run i { width: 100%; }
  .badge-run .b-done { opacity: 1; }
  .msg { opacity: 1; transform: none; }
  .typing { display: none; }
  .hx-in { animation: none; }
}

.login-canvas { position: fixed; z-index: -2; }

/* =================== Terminbuchung =================== */
.bk-section { padding-top: 1rem; }
.bk {
  position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; overflow: hidden;
  border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg);
}
.bk-pick { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; align-content: start; min-width: 0; }
.bk-form { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: .95rem; align-content: start; background: var(--bg-alt); border-left: 1px solid var(--border); }
.bk-head { display: flex; align-items: center; gap: .9rem; }
.bk-head small { display: block; color: var(--muted); font-size: .86rem; }
.bk-step { display: grid; gap: .7rem; min-width: 0; }
.bk-label { display: flex; align-items: center; gap: .55rem; font-weight: 750; font-size: .95rem; }
.bk-label b { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: .75rem; background: var(--brand-soft); color: var(--brand-strong); }
.bk-label em { font-style: normal; font-weight: 600; color: var(--muted); }

.bk-seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--border); width: max-content; }
.bk-seg button {
  display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1.1rem; border: 0; border-radius: 10px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: .92rem; color: var(--muted); background: transparent; transition: background-color .2s, color .2s, box-shadow .2s;
}
.bk-seg button .i { width: 1em; height: 1em; }
.bk-seg button[aria-checked="true"] { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm), 0 0 0 1px var(--border); }

.bk-days-wrap { display: grid; grid-template-columns: auto 1fr auto; gap: .5rem; align-items: center; min-width: 0; }
.bk-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: border-color .2s, opacity .2s; }
.bk-nav:hover { border-color: var(--brand); }
.bk-nav:disabled { opacity: .35; cursor: default; }
.bk-days { display: flex; gap: .5rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; padding: 2px; scroll-snap-type: x mandatory; }
.bk-days::-webkit-scrollbar { display: none; }
.bk-day {
  flex: none; width: 74px; padding: .65rem .3rem; scroll-snap-align: start; text-align: center; cursor: pointer;
  border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit;
  transition: border-color .2s, background-color .2s, transform .2s var(--ease);
}
.bk-day small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.bk-day strong { display: block; font-size: 1.15rem; letter-spacing: -.02em; }
.bk-day span { display: block; font-size: .7rem; color: var(--brand-strong); font-weight: 650; margin-top: .1rem; }
.bk-day:hover { border-color: var(--brand); transform: translateY(-2px); }
.bk-day[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.bk-day[aria-selected="true"] small, .bk-day[aria-selected="true"] span { color: rgba(255,255,255,.85); }
[data-theme="dark"] .bk-day[aria-selected="true"] { color: #061019; }
[data-theme="dark"] .bk-day[aria-selected="true"] small, [data-theme="dark"] .bk-day[aria-selected="true"] span { color: rgba(6,16,25,.75); }

.bk-slots { min-height: 150px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.bk-slot {
  padding: .7rem .4rem; border-radius: 12px; cursor: pointer; font: inherit; font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--brand-strong);
  transition: background-color .18s, color .18s, border-color .18s, transform .18s var(--ease);
  animation: bkIn .4s var(--ease) both; animation-delay: calc(var(--n) * 18ms);
}
.bk-slot:hover { border-color: var(--brand); transform: translateY(-2px); }
.bk-slot[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 10px 24px -10px var(--brand); }
[data-theme="dark"] .bk-slot[aria-pressed="true"] { color: #061019; }
@keyframes bkIn { from { opacity: 0; transform: translateY(6px); } }
.bk-empty { padding: 1.4rem; border-radius: 14px; border: 1px dashed var(--border-strong); color: var(--muted); text-align: center; font-size: .92rem; }
.bk-skeleton { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: .5rem; }
.bk-skeleton i { height: 44px; border-radius: 12px; background: linear-gradient(90deg, var(--bg-alt), var(--border), var(--bg-alt)); background-size: 200% 100%; animation: bkShim 1.2s linear infinite; }
@keyframes bkShim { to { background-position: -200% 0; } }
.bk-note { display: flex; gap: .55rem; align-items: flex-start; margin: 0; font-size: .85rem; color: var(--muted); }
.bk-note .i { width: 1em; height: 1em; flex: none; margin-top: .2rem; color: var(--brand); }

.bk-summary { display: flex; gap: .85rem; align-items: center; padding: 1rem 1.1rem; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); margin-bottom: .3rem; transition: border-color .3s, box-shadow .3s; }
.bk-summary.is-set { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent); }
.bk-sum-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); flex: none; }
.bk-sum-ic .i { width: 20px; height: 20px; }
.bk-summary small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.bk-summary strong { font-size: 1rem; }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.bk-form .field input { height: 46px; }
.field textarea {
  width: 100%; padding: .8rem 1rem; font: inherit; color: var(--text); resize: vertical; min-height: 120px;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 20%, transparent); }
.field.has-error input, .field.has-error textarea { border-color: #d6453d; }
.field .f-err { display: block; margin-top: .35rem; font-size: .8rem; font-weight: 600; color: #d6453d; }
.bk-hint { margin: -.3rem 0 0; font-size: .8rem; color: var(--muted); }
.bk-agree { font-size: .82rem; padding: .85rem; }
.bk-agree.has-error { border-color: #d6453d; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bk-error { padding: .8rem 1rem; border-radius: 14px; font-size: .9rem; font-weight: 600; background: #fdeeee; color: #a1221f; border: 1px solid #f5c9c8; }
[data-theme="dark"] .bk-error { background: #2b1214; color: #ffb3b0; border-color: #4d1f22; }
.bk-submit { width: 100%; justify-content: center; }
.bk-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.bk-submit.is-busy span::after { content: " …"; }

.bk-done { grid-column: 1 / -1; padding: clamp(3rem, 8vw, 5rem) 1.5rem; text-align: center; display: grid; justify-items: center; gap: .4rem; }
.bk-done h2 { margin: .8rem 0 0; }
.bk-done-when { font-size: 1.25rem; font-weight: 750; color: var(--brand-strong); margin: .2rem 0; }
.bk-done .btn { margin-top: 1.2rem; }
.bk-check { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--ok); color: #fff; box-shadow: 0 0 0 12px color-mix(in srgb, var(--ok) 18%, transparent); animation: bkPop .6s cubic-bezier(.5, 1.6, .4, .8) both; }
.bk-check .i { width: 40px; height: 40px; stroke-width: 3; }
@keyframes bkPop { from { transform: scale(.3); opacity: 0; } }
.bk.is-done .bk-pick, .bk.is-done .bk-form, .bk-done[hidden], .bk-error[hidden] { display: none; }

@media (max-width: 960px) {
  .bk { grid-template-columns: 1fr; }
  .bk-form { border-left: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 520px) {
  .bk-row { grid-template-columns: 1fr; }
  .bk-nav { display: none; }
  .bk-days-wrap { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .bk-slot, .bk-check { animation: none; }
}

/* Leistungs-Raster ohne Videokachel: Fernwartung über volle Breite */
.bento2 .b2-remote { grid-column: 1 / -1; }
.t2 .link-arrow { margin-top: auto; font-weight: 700; }
@media (max-width: 1100px) { .bento2 .b2-devices { grid-column: span 2; } }
@media (max-width: 640px) { .bento2 .b2-devices { grid-column: auto; } }
