/* ===========================================================
   FLUXON GmbH — Futuristic Logistics Theme
   =========================================================== */

:root {
  --fx-bg: #05070d;
  --fx-bg-2: #080c16;
  --fx-surface: rgba(255, 255, 255, 0.035);
  --fx-surface-2: rgba(255, 255, 255, 0.06);
  --fx-border: rgba(255, 255, 255, 0.09);
  --fx-border-strong: rgba(0, 229, 255, 0.35);
  --fx-cyan: #00e5ff;
  --fx-indigo: #6366f1;
  --fx-violet: #a855f7;
  --fx-lime: #a3e635;
  --fx-text: #e7eef6;
  --fx-muted: #93a1b5;
  --fx-grad: linear-gradient(120deg, #00e5ff 0%, #6366f1 55%, #a855f7 100%);
  --fx-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --fx-radius: 20px;
  --fx-font-head: "Space Grotesk", system-ui, sans-serif;
  --fx-font-body: "Inter", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { scroll-behavior: smooth; }

html { scroll-padding-top: 90px; }

body {
  background: var(--fx-bg);
  color: var(--fx-text);
  font-family: var(--fx-font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--fx-font-head); font-weight: 700; letter-spacing: -0.01em; }

::selection { background: rgba(0, 229, 255, 0.3); color: #fff; }

a { color: var(--fx-cyan); text-decoration: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #05070d; }
::-webkit-scrollbar-thumb { background: linear-gradient(#0e7490, #4338ca); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(#00e5ff, #6366f1); }

/* ---------- Accessibility ---------- */
.skip-link {
  position: fixed; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--fx-cyan); color: #001018; padding: 8px 18px; border-radius: 0 0 12px 12px;
  font-weight: 600; z-index: 2000; transition: top .25s ease;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid var(--fx-cyan); outline-offset: 3px; border-radius: 4px; }

/* ---------- Background FX ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  animation: gridPan 24s linear infinite;
}
@keyframes gridPan { from { background-position: 0 0; } to { background-position: 48px 48px; } }

.bg-glow {
  position: fixed; z-index: -2; width: 620px; height: 620px; border-radius: 50%;
  filter: blur(140px); opacity: 0.4; pointer-events: none;
}
.bg-glow-1 { top: -200px; right: -150px; background: radial-gradient(circle, #0891b2, transparent 70%); animation: float1 14s ease-in-out infinite; }
.bg-glow-2 { bottom: -250px; left: -180px; background: radial-gradient(circle, #6d28d9, transparent 70%); animation: float2 18s ease-in-out infinite; }
@keyframes float1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-40px, 50px); } }
@keyframes float2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(50px, -40px); } }

/* ---------- Preloader ---------- */
#preloader {
  position: fixed; inset: 0; z-index: 3000; background: var(--fx-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.pre-logo { display: flex; align-items: center; gap: 12px; }
.pre-mark {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
  background: var(--fx-grad); color: #001018; font-family: var(--fx-font-head); font-weight: 700; font-size: 1.5rem;
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.6); animation: pulse 1.4s ease-in-out infinite;
}
.pre-mark .mark-svg { width: 26px; height: 26px; filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.7)); }
.pre-name { font-family: var(--fx-font-head); font-weight: 700; letter-spacing: .3em; font-size: 1.2rem; }
.pre-bar { width: 160px; height: 3px; background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.pre-bar span { display: block; height: 100%; width: 40%; background: var(--fx-grad); border-radius: 20px; animation: loadbar 1s ease-in-out infinite; }
@keyframes loadbar { 0% { transform: translateX(-100%); } 100% { transform: translateX(400%); } }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.08); opacity: .75; } }

/* ---------- Navbar ---------- */
.fx-navbar { padding: 18px 0; transition: all .35s ease; }
.fx-navbar.scrolled {
  padding: 10px 0; background: rgba(6, 9, 16, 0.72); backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%); border-bottom: 1px solid var(--fx-border);
  box-shadow: 0 10px 40px -20px rgba(0,0,0,.8);
}
.fx-brand { display: flex; align-items: center; gap: 10px; font-family: var(--fx-font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; color: #fff; }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--fx-grad); color: #001018; font-size: 1.15rem; box-shadow: 0 0 22px rgba(0, 229, 255, 0.45);
  transition: transform .5s cubic-bezier(.5,0,.2,1);
}
.fx-brand:hover .brand-mark { transform: rotate(-12deg) scale(1.06); }
.brand-text em { font-style: normal; color: transparent; background: var(--fx-grad); -webkit-background-clip: text; background-clip: text; }
.mark-svg { display: block; width: 22px; height: 22px; color: #fff; filter: drop-shadow(0 0 6px rgba(0, 229, 255, 0.55)); }
.fx-brand:hover .mark-svg { animation: markSpin .9s cubic-bezier(.6, 0, .2, 1); }
@keyframes markSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.fx-nav .nav-link {
  color: var(--fx-muted); font-weight: 500; margin: 0 .25rem; position: relative; padding: .4rem .85rem !important; transition: color .25s;
}
.fx-nav .nav-link::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .1rem; height: 2px;
  background: var(--fx-grad); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.fx-nav .nav-link:hover, .fx-nav .nav-link.active { color: #fff; }
.fx-nav .nav-link.active::after, .fx-nav .nav-link:hover::after { transform: scaleX(1); }

.fx-toggler { border: 1px solid var(--fx-border); background: var(--fx-surface); padding: .5rem .7rem; border-radius: 10px; }
.toggler-bars, .toggler-bars::before, .toggler-bars::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .3s ease; position: relative;
}
.toggler-bars::before { position: absolute; top: -7px; }
.toggler-bars::after { position: absolute; top: 7px; }
.fx-toggler[aria-expanded="true"] .toggler-bars { background: transparent; }
.fx-toggler[aria-expanded="true"] .toggler-bars::before { top: 0; transform: rotate(45deg); }
.fx-toggler[aria-expanded="true"] .toggler-bars::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.fx-btn-primary {
  background: var(--fx-grad); color: #001018; font-weight: 600; border: none; border-radius: 12px;
  padding: .7rem 1.5rem; position: relative; overflow: hidden; transition: transform .2s ease, box-shadow .3s ease;
  box-shadow: 0 8px 30px -8px rgba(0, 229, 255, 0.5);
}
.fx-btn-primary:hover { color: #001018; transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(0, 229, 255, 0.7); }
.fx-btn-primary::before {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.5), transparent); transform: skewX(-20deg); transition: left .6s ease;
}
.fx-btn-primary:hover::before { left: 160%; }

.fx-btn-outline {
  border: 1px solid var(--fx-border-strong); color: var(--fx-text); border-radius: 12px; padding: .7rem 1.5rem; font-weight: 500;
  background: rgba(0, 229, 255, 0.04); transition: all .25s ease;
}
.fx-btn-outline:hover { color: #fff; border-color: var(--fx-cyan); background: rgba(0, 229, 255, 0.12); box-shadow: 0 0 24px rgba(0,229,255,.25); }

.fx-btn-ghost { color: var(--fx-text); border: 1px solid var(--fx-border); border-radius: 12px; padding: .7rem 1.3rem; font-weight: 500; transition: all .25s; }
.fx-btn-ghost:hover { color: #fff; border-color: var(--fx-cyan); background: var(--fx-surface-2); }

/* ---------- Hero ---------- */
.fx-hero { min-height: 100vh; padding: 130px 0 90px; position: relative; }
.net-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .55; }
.fx-hero .container { z-index: 1; }

.fx-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: .5rem 1rem; border-radius: 100px;
  background: var(--fx-surface); border: 1px solid var(--fx-border); color: var(--fx-muted); font-size: .85rem; font-weight: 500;
  backdrop-filter: blur(8px);
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--fx-lime); box-shadow: 0 0 0 0 rgba(163,230,53,.7); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(163,230,53,.6); } 70% { box-shadow: 0 0 0 10px rgba(163,230,53,0); } 100% { box-shadow: 0 0 0 0 rgba(163,230,53,0); } }

.fx-hero-title {
  font-size: clamp(2.6rem, 6vw, 4.8rem); line-height: 1.03; margin-bottom: 1.2rem;
  background: linear-gradient(180deg, #fff 30%, rgba(231,238,246,.65)); -webkit-background-clip: text; background-clip: text;
}
.grad-text { color: transparent; background: var(--fx-grad); -webkit-background-clip: text; background-clip: text; }

.fx-lead { font-size: 1.15rem; color: var(--fx-muted); max-width: 560px; line-height: 1.7; }

.fx-hero-stats { max-width: 520px; }
.mini-stat { font-family: var(--fx-font-head); font-size: 2.1rem; font-weight: 700; color: #fff; line-height: 1; }
.ms-plus { font-size: 1.3rem; color: transparent; background: var(--fx-grad); -webkit-background-clip: text; background-clip: text; }
.ms-label { font-size: .82rem; color: var(--fx-muted); margin-top: 4px; }

/* HUD card */
.hud-card {
  max-width: 400px; background: rgba(10, 15, 26, 0.72); border: 1px solid var(--fx-border);
  border-radius: var(--fx-radius); padding: 22px; backdrop-filter: blur(18px); box-shadow: var(--fx-shadow);
  position: relative; animation: floatCard 6s ease-in-out infinite;
}
.hud-card::before {
  content: ""; position: absolute; inset: -1px; border-radius: var(--fx-radius); padding: 1px;
  background: linear-gradient(135deg, rgba(0,229,255,.5), transparent 40%, transparent 60%, rgba(168,85,247,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hud-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.hud-title { font-weight: 600; font-size: .95rem; color: #fff; }
.hud-title i { color: var(--fx-cyan); }
.hud-status { font-size: .75rem; color: var(--fx-lime); display: flex; align-items: center; gap: 5px; }
.hud-status i { font-size: .55rem; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .3; } }

.hud-route { margin: 6px 0 18px; }
.route-line { height: 4px; background: rgba(255,255,255,.1); border-radius: 20px; position: relative; }
.route-vehicle {
  position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); width: 30px; height: 30px; border-radius: 50%;
  background: var(--fx-grad); display: grid; place-items: center; color: #001018; font-size: .85rem; box-shadow: 0 0 18px rgba(0,229,255,.6);
  animation: drive 5s ease-in-out infinite;
}
@keyframes drive { 0% { left: 6%; } 50% { left: 94%; } 100% { left: 6%; } }
.route-ends { display: flex; justify-content: space-between; margin-top: 10px; font-size: .78rem; color: var(--fx-muted); font-weight: 600; letter-spacing: .05em; }

.hud-metrics { display: flex; justify-content: space-between; gap: 10px; padding: 14px; background: var(--fx-surface); border-radius: 12px; margin-bottom: 14px; }
.hm { text-align: center; }
.hm small { display: block; color: var(--fx-muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .05em; }
.hm strong { font-family: var(--fx-font-head); font-size: 1.15rem; }
.hm .eco { color: var(--fx-lime); }

.hud-rows { display: flex; flex-direction: column; gap: 9px; }
.hud-row { font-size: .82rem; color: var(--fx-muted); display: flex; align-items: center; gap: 8px; }
.hud-row b { color: #fff; }
.hud-row i { font-size: .9rem; color: var(--fx-cyan); }
.hud-row .ok { color: var(--fx-lime); }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--fx-border-strong); border-radius: 14px; z-index: 1; }
.scroll-hint span { position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 4px; height: 8px; background: var(--fx-cyan); border-radius: 4px; animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; top: 7px; } 40% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ---------- Marquee ---------- */
.fx-marquee-wrap { border-block: 1px solid var(--fx-border); background: var(--fx-surface); padding: 18px 0; overflow: hidden; }
.fx-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.mq-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: marquee 28s linear infinite; }
.mq-track span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fx-font-head); font-weight: 600; color: var(--fx-muted); font-size: 1rem; letter-spacing: .02em; }
.mq-track span i { color: var(--fx-cyan); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.fx-section { padding: 100px 0; position: relative; }
.fx-section-alt { background: linear-gradient(180deg, rgba(255,255,255,.02), transparent); border-block: 1px solid var(--fx-border); }

.section-head { max-width: 680px; margin-bottom: 3.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: .4rem 1rem; border-radius: 100px; margin-bottom: 1rem;
  background: rgba(0, 229, 255, 0.08); border: 1px solid var(--fx-border-strong); color: var(--fx-cyan);
  font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.12; margin-bottom: 1rem; }
.section-sub { color: var(--fx-muted); font-size: 1.08rem; line-height: 1.7; max-width: 620px; margin-inline: auto; }

/* ---------- Cards ---------- */
.fx-card {
  background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 2rem;
  position: relative; overflow: hidden; transition: transform .35s ease, border-color .35s ease, background .35s ease;
}
.fx-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--fx-radius); padding: 1px; opacity: 0;
  background: var(--fx-grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; transition: opacity .35s ease;
}
.fx-card:hover { transform: translateY(-8px); background: var(--fx-surface-2); border-color: transparent; }
.fx-card:hover::after { opacity: 1; }
.fx-icon {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.3rem;
  background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(99,102,241,.15)); color: var(--fx-cyan);
  border: 1px solid var(--fx-border); transition: transform .4s ease, color .3s;
}
.fx-card:hover .fx-icon { transform: scale(1.08) rotate(-6deg); color: #fff; }
.fx-card h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.fx-card p { color: var(--fx-muted); font-size: .96rem; line-height: 1.65; margin-bottom: 1.1rem; }
.card-tag { font-size: .74rem; color: var(--fx-cyan); background: rgba(0,229,255,.08); border: 1px solid var(--fx-border-strong); padding: .25rem .7rem; border-radius: 100px; font-weight: 500; }

/* ---------- Feature list (Tech) ---------- */
.fx-feature-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-direction: column; gap: 1.1rem; }
.fx-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.fx-feature-list i { color: var(--fx-lime); font-size: 1.4rem; flex-shrink: 0; line-height: 1.2; }
.fx-feature-list strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }
.fx-feature-list span { color: var(--fx-muted); font-size: .92rem; }

/* ---------- Dashboard mock ---------- */
.dash-shell { max-width: 460px; background: rgba(8, 12, 22, 0.85); border: 1px solid var(--fx-border); border-radius: 16px; overflow: hidden; box-shadow: var(--fx-shadow); backdrop-filter: blur(12px); }
.dash-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--fx-border); background: rgba(255,255,255,.02); }
.d-dot { width: 11px; height: 11px; border-radius: 50%; }
.d-dot.r { background: #ff5f57; } .d-dot.y { background: #febc2e; } .d-dot.g { background: #28c840; }
.dash-url { margin-left: 12px; font-size: .75rem; color: var(--fx-muted); background: var(--fx-surface); padding: 3px 12px; border-radius: 6px; }
.dash-body { display: flex; min-height: 320px; }
.dash-side { width: 52px; border-right: 1px solid var(--fx-border); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 0; }
.ds-item { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; color: var(--fx-muted); transition: all .25s; cursor: pointer; }
.ds-item:hover { color: #fff; background: var(--fx-surface-2); }
.ds-item.active { color: #001018; background: var(--fx-grad); }
.dash-main { flex: 1; padding: 16px; }
.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 11px; padding: 10px; }
.kpi small { display: block; font-size: .65rem; color: var(--fx-muted); text-transform: uppercase; letter-spacing: .04em; }
.kpi strong { font-family: var(--fx-font-head); font-size: 1.2rem; }
.kpi span { font-size: .68rem; font-weight: 600; }
.kpi .up { color: var(--fx-lime); } .kpi .down { color: var(--fx-cyan); }

.chart { display: flex; align-items: flex-end; gap: 8px; height: 90px; padding: 10px; background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 11px; margin-bottom: 14px; }
.chart span { flex: 1; background: linear-gradient(180deg, var(--fx-cyan), var(--fx-indigo)); border-radius: 5px 5px 0 0; height: var(--h); animation: grow 1.4s cubic-bezier(.2,.8,.2,1) both; opacity: .85; }
.chart span:nth-child(even) { background: linear-gradient(180deg, var(--fx-violet), var(--fx-indigo)); }
@keyframes grow { from { height: 0; opacity: 0; } }

.dash-map { position: relative; height: 80px; background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 11px; overflow: hidden; }
.dash-map .map-line { position: absolute; inset: 0; width: 100%; height: 100%; }
.dash-map .map-line path { fill: none; stroke: var(--fx-cyan); stroke-width: .7; stroke-dasharray: 3 2; opacity: .7; animation: dashmove 3s linear infinite; }
@keyframes dashmove { to { stroke-dashoffset: -20; } }
.map-pin { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--fx-lime); box-shadow: 0 0 0 0 rgba(163,230,53,.6); animation: ping 2s infinite; transform: translate(-50%, -50%); }

/* ---------- Timeline ---------- */
.fx-timeline { counter-reset: step; position: relative; }
.tl-step { background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 2rem 1.6rem; height: 100%; position: relative; transition: transform .35s ease, border-color .35s; }
.tl-step:hover { transform: translateY(-6px); border-color: var(--fx-border-strong); }
.tl-num { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--fx-font-head); font-size: 2.4rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1px var(--fx-border-strong); }
.tl-step i { font-size: 1.8rem; color: var(--fx-cyan); margin-bottom: 1rem; display: block; }
.tl-step h4 { font-size: 1.2rem; margin-bottom: .5rem; }
.tl-step p { color: var(--fx-muted); font-size: .92rem; margin: 0; }

/* ---------- Branchen ---------- */
.ind-tile {
  background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 16px; padding: 2rem 1rem; height: 100%;
  display: flex; flex-direction: column; align-items: center; gap: 12px; transition: all .3s ease; cursor: default;
}
.ind-tile i { font-size: 2rem; color: var(--fx-cyan); transition: transform .3s ease; }
.ind-tile span { font-weight: 600; }
.ind-tile:hover { transform: translateY(-6px) scale(1.02); background: var(--fx-surface-2); border-color: var(--fx-border-strong); box-shadow: 0 12px 40px -12px rgba(0,229,255,.3); }
.ind-tile:hover i { transform: scale(1.18); }

/* ---------- Warum ---------- */
.why-item { display: flex; flex-direction: column; gap: 4px; padding: 1.2rem; background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 14px; transition: all .3s; }
.why-item:hover { border-color: var(--fx-border-strong); transform: translateX(4px); }
.why-item i { font-size: 1.4rem; color: var(--fx-cyan); margin-bottom: 6px; }
.why-item h5 { font-size: 1.05rem; margin: 0; }
.why-item p { color: var(--fx-muted); font-size: .88rem; margin: 0; }

.quote-card { background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 2.4rem; position: relative; overflow: hidden; }
.quote-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--fx-grad); }
.quote-mark { font-size: 4rem; color: var(--fx-border-strong); line-height: .6; font-family: Georgia, serif; }
.quote-text { font-size: 1.25rem; line-height: 1.6; color: var(--fx-text); margin: 1rem 0 1.6rem; font-weight: 500; }
.quote-author { display: flex; align-items: center; gap: 14px; }
.qa-avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--fx-grad); color: #001018; display: grid; place-items: center; font-weight: 700; font-family: var(--fx-font-head); }
.quote-author strong { display: block; }
.quote-author span { font-size: .85rem; color: var(--fx-muted); }

/* ---------- Kontakt ---------- */
.fx-cta-section { position: relative; }
.fx-contact-list { list-style: none; padding: 0; margin: 1.8rem 0; display: flex; flex-direction: column; gap: 1.2rem; }
.fx-contact-list li { display: flex; gap: 14px; align-items: center; }
.fx-contact-list i { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(0,229,255,.15), rgba(99,102,241,.15)); color: var(--fx-cyan); font-size: 1.2rem; border: 1px solid var(--fx-border); flex-shrink: 0; }
.fx-contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fx-muted); font-weight: 600; }
.fx-contact-list span { font-size: 1.02rem; }

.fx-social { display: flex; gap: 12px; }
.fx-social a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--fx-surface); border: 1px solid var(--fx-border); color: var(--fx-text); font-size: 1.2rem; transition: all .25s; }
.fx-social a:hover { color: #001018; background: var(--fx-grad); transform: translateY(-4px); border-color: transparent; }

.fx-form { background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: var(--fx-radius); padding: 2.2rem; backdrop-filter: blur(12px); box-shadow: var(--fx-shadow); }
.form-label { font-size: .85rem; font-weight: 600; color: var(--fx-text); margin-bottom: .4rem; }
.form-control, .form-select {
  background: rgba(5, 8, 14, 0.6); border: 1px solid var(--fx-border); color: var(--fx-text); border-radius: 11px; padding: .75rem 1rem;
  transition: all .25s;
}
.form-control:focus, .form-select:focus { background: rgba(5, 8, 14, 0.85); border-color: var(--fx-cyan); box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.12); color: #fff; }
.form-control::placeholder { color: #55637a; }
.form-control.is-invalid, .form-select.is-invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.12); }
.form-check-input { background: rgba(5,8,14,.6); border-color: var(--fx-border); }
.form-check-input:checked { background: var(--fx-grad); border-color: transparent; }
.fx-alert { background: rgba(163,230,53,.12); border: 1px solid rgba(163,230,53,.4); color: var(--fx-lime); border-radius: 12px; margin: 0; }

/* ---------- Footer ---------- */
.fx-footer { background: var(--fx-bg-2); border-top: 1px solid var(--fx-border); padding: 60px 0 26px; margin-top: 40px; }
.footer-tag { color: var(--fx-muted); font-size: .9rem; max-width: 240px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { color: var(--fx-muted); font-weight: 500; transition: color .25s; }
.footer-nav a:hover { color: var(--fx-cyan); }
.footer-bottom { border-top: 1px solid var(--fx-border); margin-top: 40px; padding-top: 22px; color: var(--fx-muted); gap: 10px; }

/* ---------- To top ---------- */
.to-top { position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 14px; border: 1px solid var(--fx-border-strong);
  background: rgba(6,9,16,.8); backdrop-filter: blur(10px); color: var(--fx-cyan); font-size: 1.2rem; z-index: 1050; opacity: 0; visibility: hidden;
  transform: translateY(12px); transition: all .3s ease; cursor: pointer; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--fx-grad); color: #001018; transform: translateY(-4px); }

/* ---------- Modals ---------- */
.fx-modal .modal-content { background: #0a0e18; border: 1px solid var(--fx-border); border-radius: 18px; }
.fx-modal .modal-header, .fx-modal .modal-footer { border-color: var(--fx-border); }
.fx-modal .modal-title { font-family: var(--fx-font-head); }

/* ---------- Reveal animations ---------- */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
[data-reveal].revealed { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .fx-nav { background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 14px; padding: 1rem; margin-top: 12px; }
  .fx-nav .nav-link::after { left: 1rem; right: auto; width: 0; }
  .fx-nav .nav-link.active::after { width: 24px; }
  #navContent .d-flex { margin-top: 14px; }
  .hud-card { margin-top: 20px; }
}
@media (max-width: 575px) {
  .fx-section { padding: 70px 0; }
  .fx-form { padding: 1.4rem; }
  .mini-stat { font-size: 1.7rem; }
  .quote-text { font-size: 1.05rem; }
  .dash-side { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .net-canvas { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
}
