/* ======================= style.css (ALUXA — CLEAN / REPLACE) ======================= */
:root{
  --max:1180px;

  --bg:#ffffff;
  --surface:#ffffff;
  --text:#0b1020;
  --muted:rgba(11,16,32,.64);
  --hair:rgba(11,16,32,.14);
  --soft:rgba(11,16,32,.08);

  --blue:#0a66ff;
  --violet:#7c5cff;
  --mint:#18c7a3;
  --amber:#ffb020;

  --blueTint:rgba(10,102,255,.12);
  --violetTint:rgba(124,92,255,.12);
  --mintTint:rgba(24,199,163,.12);
  --amberTint:rgba(255,176,32,.14);

  --shadow:0 18px 55px rgba(11,16,32,.12);
  --shadow2:0 10px 30px rgba(11,16,32,.10);

  --r:18px;
  --r2:26px;
  --speed:.18s;
}

html.is-dark{
  --bg:#070a12;
  --surface:#0b1020;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.62);
  --hair:rgba(255,255,255,.14);
  --soft:rgba(255,255,255,.08);

  --shadow:0 22px 70px rgba(0,0,0,.55);
  --shadow2:0 12px 40px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(var(--max), calc(100% - 48px)); margin-inline:auto}
.muted{color:var(--muted)}

/* ================= Header (SOLID) ================= */
.topbar{
  position:sticky; top:0; z-index:60;
  background: var(--bg);
  border-bottom:1px solid var(--hair);
}
.topbar-inner{
  height:72px;
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}

.brand{display:flex;align-items:center}
.brand-logo{height:62px;width:auto;opacity:.98}

.nav-main{display:flex;align-items:center;gap:10px}
.nav-link{
  font-size:15px;
  font-weight:800;
  padding:10px 12px;
  border-radius:999px;
  color:rgba(11,16,32,.78);
  transition: background var(--speed) ease, color var(--speed) ease, transform var(--speed) ease;
}
html.is-dark .nav-link{ color: rgba(255,255,255,.86); }
.nav-link:hover{ background:rgba(11,16,32,.06); }
html.is-dark .nav-link:hover{ background:rgba(255,255,255,.08); }

.nav-actions{display:flex;align-items:center;gap:10px}

/* Moon icon */
.icon-btn{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
  cursor:pointer;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease, background var(--speed) ease;
}
html.is-dark .icon-btn{ background: rgba(255,255,255,.06); }
.icon-btn:hover{ box-shadow:0 14px 30px rgba(10,102,255,.14); }
.icon-btn:active{ transform: translateY(1px); }
.icon{ width:18px;height:18px; color: rgba(11,16,32,.80); }
html.is-dark .icon{ color: rgba(255,255,255,.88); }
.icon svg{ width:20px;height:20px; }

/* Burger */
.nav-toggle{
  display:none;
  width:46px; height:44px;
  border-radius:16px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
  padding:0 11px;
  cursor:pointer;
}
html.is-dark .nav-toggle{ background: rgba(255,255,255,.06); }
.nav-toggle span{display:block;height:2px;border-radius:2px;background:rgba(11,16,32,.78)}
html.is-dark .nav-toggle span{background:rgba(255,255,255,.85)}
.nav-toggle span+span{margin-top:6px}

/* Mobile menu */
.nav-mobile{
  border-top:1px solid var(--hair);
  background: var(--bg);
}
.nav-mobile-inner{padding:10px 0 18px; display:flex; flex-direction:column; gap:6px}
.nav-m{
  padding:12px 10px;
  border-radius:16px;
  font-weight:850;
  border:1px solid transparent;
}
.nav-m:hover{background:rgba(11,16,32,.06)}
html.is-dark .nav-m:hover{background:rgba(255,255,255,.08)}
.nav-mobile-actions{margin-top:10px; display:grid; gap:10px}

/* ================= Buttons ================= */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:850;
  font-size:13px;
  transition: transform var(--speed) ease, box-shadow var(--speed) ease, background var(--speed) ease, border-color var(--speed) ease;
}
.btn:active{transform:translateY(1px)}
.btn--full{width:100%}

.btn--primary{
  background: linear-gradient(135deg, var(--blue), #2f8cff);
  color:#fff;
  box-shadow:0 18px 40px rgba(10,102,255,.25);
}
.btn--primary:hover{ box-shadow:0 22px 48px rgba(10,102,255,.30); }

.btn--ghost{
  background:transparent;
  border-color:var(--hair);
}
.btn--ghost:hover{ background:rgba(11,16,32,.06); }
html.is-dark .btn--ghost:hover{ background:rgba(255,255,255,.08); }

.btn--soft{
  background: linear-gradient(135deg, rgba(10,102,255,.12), rgba(124,92,255,.10));
  border-color: rgba(10,102,255,.22);
}
.btn--soft:hover{ border-color: rgba(10,102,255,.30); }

.btn--dark{
  background: var(--text);
  color: var(--bg);
  box-shadow: 0 18px 40px rgba(11,16,32,.20);
}
html.is-dark .btn--dark{ box-shadow: 0 18px 40px rgba(0,0,0,.55); }

/* Login button (für deinen Header-Link) */
.btn-login{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
  color:#fff;
  background: linear-gradient(135deg, var(--blue), #2f8cff);
  box-shadow:0 18px 40px rgba(10,102,255,.25);
}
.btn-login:hover{ box-shadow:0 22px 48px rgba(10,102,255,.30); }

/* ================= Hero ================= */
.hero{ position:relative; padding: 92px 0 52px; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; pointer-events:none; }
.gridlines{
  position:absolute; inset:-120px -120px auto -120px;
  height:680px;
  background:
    linear-gradient(to right, transparent 0 23px, rgba(10,102,255,.14) 23px 24px) 0 0/110px 110px,
    linear-gradient(to bottom, transparent 0 23px, rgba(10,102,255,.14) 23px 24px) 0 0/110px 110px;
  opacity:.12;
  mask-image: radial-gradient(circle at 30% 25%, rgba(0,0,0,.9), transparent 58%);
}
.glow{
  position:absolute; width:520px; height:520px; filter: blur(34px); opacity:.18; border-radius: 999px;
}
.glow--a{ left:-180px; top:-140px; background: radial-gradient(circle, var(--blue), transparent 65%); }
.glow--b{ right:-210px; top:-170px; background: radial-gradient(circle, var(--violet), transparent 65%); }
.glow--c{ right:120px; bottom:-240px; background: radial-gradient(circle, var(--mint), transparent 65%); }

.hero-wrap{
  position:relative;
  display:grid;
  grid-template-columns: 1.02fr .98fr;
  gap: 44px;
  align-items:center;
}
.kicker{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:12px; }
.pill{
  font-size:12px; font-weight:900;
  padding:7px 10px; border-radius:999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
html.is-dark .pill{ background: rgba(255,255,255,.06); }
.pill--blue{ border-color: rgba(10,102,255,.26); background: var(--blueTint); color: var(--blue); }
.pill--violet{ border-color: rgba(124,92,255,.26); background: var(--violetTint); color: var(--violet); }
.pill--mint{ border-color: rgba(24,199,163,.26); background: var(--mintTint); color: var(--mint); }
.pill--amber{ border-color: rgba(255,176,32,.30); background: var(--amberTint); color: var(--amber); }

.hero-copy h1{
  margin:0 0 12px;
  font-size:clamp(34px, 4.2vw, 58px);
  line-height:1.05;
  letter-spacing:-.02em;
}
.h-accent{
  background: linear-gradient(90deg, var(--blue), var(--violet), var(--mint));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.lead{ margin:0 0 10px; line-height:1.65; max-width: 62ch; font-size: 15.5px; color: rgba(11,16,32,.82); }
html.is-dark .lead{ color: rgba(255,255,255,.80); }
.hero-actions{ display:flex; flex-wrap:wrap; gap:12px; margin-top:18px; }
.stats{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:12px; margin-top:22px; }
.stat{
  border:1px solid var(--soft);
  background: rgba(11,16,32,.03);
  border-radius: 18px;
  padding: 12px 12px;
}
html.is-dark .stat{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.stat b{ display:block; font-size:13px; }
.stat small{ display:block; color: var(--muted); margin-top:3px; }

/* ================= Live demo ================= */
.hero-card{
  border-radius: var(--r2);
  border: 1px solid var(--hair);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 16px;
}
.demo{
  border-radius: 22px;
  overflow:hidden;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.02);
}
html.is-dark .demo{ background: rgba(255,255,255,.05); }

.demo-top{
  display:flex; align-items:center; gap:10px;
  padding: 12px 12px;
  border-bottom:1px solid var(--soft);
}
.dots{ display:flex; gap:6px; }
.dots span{ width:8px;height:8px;border-radius:999px;background:rgba(11,16,32,.22); }
html.is-dark .dots span{ background:rgba(255,255,255,.22); }
.demo-title{ flex:1; font-size:12.5px; color: var(--muted); font-weight:800; }
.demo-live{ font-size:12px; color: var(--muted); display:flex; align-items:center; gap:6px; font-weight:800; }
.demo-live i{ width:7px;height:7px;border-radius:999px;background: rgba(24,199,163,.90); display:inline-block; }

.demo-body{
  padding: 14px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 12px;
}

.demo-plan{
  border:1px solid var(--soft);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10,102,255,.05), transparent 60%);
  overflow:hidden;
}
.plan-toolbar{
  display:flex; flex-wrap:wrap; gap:8px;
  padding: 10px 10px;
  border-bottom: 1px solid var(--soft);
}
.chip{
  font-size:11px; font-weight:900;
  padding: 6px 9px;
  border-radius:999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.03);
}
html.is-dark .chip{ background: rgba(255,255,255,.06); }
.chip--blue{ border-color: rgba(10,102,255,.30); background: var(--blueTint); color: var(--blue); }
.chip--violet{ border-color: rgba(124,92,255,.30); background: var(--violetTint); color: var(--violet); }
.chip--mint{ border-color: rgba(24,199,163,.30); background: var(--mintTint); color: var(--mint); }
.chip--amber{ border-color: rgba(255,176,32,.34); background: var(--amberTint); color: var(--amber); }

.plan-preview{
  position:relative;
  padding: 14px;
  min-height: 240px;
  background:
    radial-gradient(circle at 22% 20%, rgba(124,92,255,.12), transparent 55%),
    radial-gradient(circle at 80% 25%, rgba(24,199,163,.10), transparent 60%);
}
.plan-grid{
  position:absolute; inset:0;
  background:
    linear-gradient(to right, transparent 0 19px, rgba(10,102,255,.20) 19px 20px) 0 0/92px 92px,
    linear-gradient(to bottom, transparent 0 19px, rgba(10,102,255,.20) 19px 20px) 0 0/92px 92px;
  opacity:.18;
  mask-image: radial-gradient(circle at 35% 30%, rgba(0,0,0,.92), transparent 62%);
}
.plan-strokes{
  position:absolute; inset:0;
  opacity:.65;
  background:
    linear-gradient(transparent 0 40%, rgba(11,16,32,.10) 40% 41%, transparent 41% 100%),
    linear-gradient(90deg, transparent 0 62%, rgba(11,16,32,.10) 62% 63%, transparent 63% 100%),
    linear-gradient(transparent 0 72%, rgba(11,16,32,.10) 72% 73%, transparent 73% 100%);
  mask-image: radial-gradient(circle at 45% 45%, rgba(0,0,0,.92), transparent 68%);
}
html.is-dark .plan-strokes{
  background:
    linear-gradient(transparent 0 40%, rgba(255,255,255,.12) 40% 41%, transparent 41% 100%),
    linear-gradient(90deg, transparent 0 62%, rgba(255,255,255,.12) 62% 63%, transparent 63% 100%),
    linear-gradient(transparent 0 72%, rgba(255,255,255,.12) 72% 73%, transparent 73% 100%);
}

.callout{
  position:absolute;
  border-radius: 16px;
  border:1px solid var(--hair);
  background: rgba(255,255,255,.78);
  padding: 10px 10px;
  box-shadow: 0 14px 26px rgba(11,16,32,.10);
  display:grid; gap:2px;
  width: 140px;
}
html.is-dark .callout{ background: rgba(11,16,32,.78); border-color: rgba(255,255,255,.16); box-shadow:none; }
.callout .dot{ width:10px;height:10px;border-radius:999px; display:inline-block; margin-bottom:4px; }
.callout b{ font-size:12.5px; }
.callout small{ color: var(--muted); font-size:12px; }

.callout--amber{ left:14px; top:72px; }
.callout--amber .dot{ background: var(--amber); box-shadow:0 0 0 4px rgba(255,176,32,.18); }

.callout--mint{ left: 32px; bottom:18px; }
.callout--mint .dot{ background: var(--mint); box-shadow:0 0 0 4px rgba(24,199,163,.18); }

.callout--violet{ right: 14px; top:92px; }
.callout--violet .dot{ background: var(--violet); box-shadow:0 0 0 4px rgba(124,92,255,.18); }

.cursor{
  position:absolute;
  width:12px;height:12px;border-radius:4px;
  background: rgba(10,102,255,.90);
  right: 48px; top: 64px;
  opacity:.55;
  animation: cursorMove 2.8s ease-in-out infinite;
}
@keyframes cursorMove{
  0%{ transform: translate(0,0); opacity:.55; }
  50%{ transform: translate(-30px, 18px); opacity:.75; }
  100%{ transform: translate(0,0); opacity:.55; }
}

.demo-panel{
  border:1px solid var(--soft);
  border-radius: 18px;
  background: rgba(11,16,32,.03);
  padding: 12px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
html.is-dark .demo-panel{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }

.panel-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.panel-head h3{ margin:0; font-size: 14px; letter-spacing:-.01em; }
.panel-pill{
  font-size:12px; font-weight:900;
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(24,199,163,.24);
  background: rgba(24,199,163,.12);
  color: var(--mint);
}

.panel-list{ display:grid; gap:10px; }
.row{
  display:flex; align-items:center; gap:10px;
  padding: 10px;
  border-radius: 16px;
  border:1px solid var(--hair);
  background: rgba(255,255,255,.76);
}
html.is-dark .row{ background: rgba(11,16,32,.70); border-color: rgba(255,255,255,.16); }

.row-ico{
  width:30px; height:30px;
  border-radius: 12px;
  display:grid; place-items:center;
  font-weight:950;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
.row-main{ display:grid; }
.row-main b{ font-size:12.5px; }
.row-main span{ font-size:12px; color: var(--muted); }
.row-meta{ margin-left:auto; font-size:12px; color: var(--muted); font-weight:900; }

.row--blue .row-ico{ border-color: rgba(10,102,255,.30); background: var(--blueTint); color: var(--blue); }
.row--mint .row-ico{ border-color: rgba(24,199,163,.30); background: var(--mintTint); color: var(--mint); }
.row--amber .row-ico{ border-color: rgba(255,176,32,.34); background: var(--amberTint); color: var(--amber); }
.row--violet .row-ico{ border-color: rgba(124,92,255,.30); background: var(--violetTint); color: var(--violet); }

.panel-footer{ margin-top:auto; }

.hero-demo-text{
  margin: 12px 4px 0;
  color: var(--muted);
  font-size: 13px;
  line-height:1.55;
}

/* ================= Sections ================= */
.section{ padding: 78px 0; border-top: 1px solid var(--soft); }
.section--tight{ padding: 64px 0; }
.section--tint{
  background: linear-gradient(180deg, rgba(10,102,255,.04), rgba(124,92,255,.03), transparent 60%);
}
.section-head{ max-width: 920px; }
.section-head h2{ margin:0; font-size: 30px; letter-spacing:-.02em; }
.section-head .sub{ margin: 10px 0 0; color: var(--muted); line-height: 1.6; font-size: 15px; }

/* ================= Zielgruppe ================= */
.zg-grid{ margin-top:26px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.zg-card{
  border:1px solid var(--hair);
  background: rgba(11,16,32,.02);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
}
html.is-dark .zg-card{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }
.zg-card--muted{ opacity:.96; }
.zg-banner{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px;
  border-radius:16px;
  border:1px solid var(--hair);
}
.zg-ico{ width:20px;height:20px; display:inline-flex; }
.zg-ico svg{ width:20px;height:20px; }
.zg-title{ margin:0; font-size: 14px; letter-spacing:-.01em; }
.zg-banner--blue{ background: linear-gradient(135deg, var(--blueTint), rgba(255,255,255,.55)); border-color: rgba(10,102,255,.22); color: var(--blue); }
.zg-banner--violet{ background: linear-gradient(135deg, var(--violetTint), rgba(255,255,255,.55)); border-color: rgba(124,92,255,.22); color: var(--violet); }
.zg-banner--mint{ background: linear-gradient(135deg, var(--mintTint), rgba(255,255,255,.55)); border-color: rgba(24,199,163,.22); color: var(--mint); }
.zg-banner--neutral{ background: rgba(11,16,32,.05); }
html.is-dark .zg-banner--neutral{ background: rgba(255,255,255,.06); }
.zg-meta{ margin: 10px 2px 2px; color: var(--muted); font-size: 12.5px; }
.zg-item{ padding: 10px 2px; border-top: 1px solid var(--soft); }
.zg-item:first-of-type{ border-top:none; }
.zg-item strong{ display:block; font-size: 13.5px; }
.zg-item p{ margin:6px 0 0; color: var(--muted); font-size: 13.5px; line-height:1.55; }

/* ================= Features ================= */
.features-grid{ margin-top:26px; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.feature-card{
  border:1px solid var(--hair);
  background: rgba(11,16,32,.02);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  position:relative;
  overflow:hidden;
}
html.is-dark .feature-card{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }
.feature-card::before{ content:""; position:absolute; inset:-60px -60px auto -60px; height:160px; opacity:.55; }
.feature-card--blue::before{ background: radial-gradient(circle at 20% 30%, rgba(10,102,255,.18), transparent 65%); }
.feature-card--violet::before{ background: radial-gradient(circle at 20% 30%, rgba(124,92,255,.18), transparent 65%); }
.feature-card--mint::before{ background: radial-gradient(circle at 20% 30%, rgba(24,199,163,.18), transparent 65%); }
.feature-card--amber::before{ background: radial-gradient(circle at 20% 30%, rgba(255,176,32,.18), transparent 65%); }
.feature-icon{
  width:36px;height:36px;border-radius:14px;
  border:1px solid var(--hair);
  display:grid;place-items:center;
  margin-bottom:10px; position:relative;
  background: rgba(11,16,32,.03);
}
.feature-icon svg{ width:20px;height:20px; }
.feature-card--blue .feature-icon{ border-color: rgba(10,102,255,.26); background: var(--blueTint); color: var(--blue); }
.feature-card--mint .feature-icon{ border-color: rgba(24,199,163,.26); background: var(--mintTint); color: var(--mint); }
.feature-card--amber .feature-icon{ border-color: rgba(255,176,32,.30); background: var(--amberTint); color: var(--amber); }
.feature-card--violet .feature-icon{ border-color: rgba(124,92,255,.26); background: var(--violetTint); color: var(--violet); }
.feature-card h3{ margin:0; font-size: 14.5px; letter-spacing:-.01em; position:relative; }
.feature-card p{ margin:8px 0 0; color: var(--muted); font-size: 13.5px; line-height:1.55; position:relative; }

/* ================= Ablauf (flowx) ================= */
.flowx{ position:relative; }
.flowx-wrap{
  margin-top: 22px;
  display:grid;
  grid-template-columns: 360px 1fr;
  gap: 16px;
  align-items:start;
}
.flowx-steps{
  border:1px solid var(--hair);
  background: rgba(11,16,32,.02);
  border-radius: var(--r2);
  padding: 10px;
  display:grid;
  gap: 8px;
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
}
html.is-dark .flowx-steps{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }

.flowx-step{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
  padding: 12px 12px;
  border-radius: 18px;
  border:1px solid transparent;
  background: transparent;
  cursor:pointer;
  text-align:left;
  font-weight: 900;
  color: rgba(11,16,32,.80);
  transition: background var(--speed) ease, border-color var(--speed) ease, transform var(--speed) ease;
}
html.is-dark .flowx-step{ color: rgba(255,255,255,.86); }
.flowx-step:hover{ background: rgba(11,16,32,.05); }
html.is-dark .flowx-step:hover{ background: rgba(255,255,255,.08); }
.flowx-step.is-active{
  border-color: rgba(10,102,255,.22);
  background: linear-gradient(135deg, rgba(10,102,255,.12), rgba(124,92,255,.10));
}

.badge{
  width:36px; height:30px;
  border-radius: 999px;
  display:grid; place-items:center;
  font-size: 12px;
  border: 1px solid var(--hair);
  background: rgba(11,16,32,.03);
}
.badge--blue{ border-color: rgba(10,102,255,.30); background: var(--blueTint); color: var(--blue); }
.badge--violet{ border-color: rgba(124,92,255,.30); background: var(--violetTint); color: var(--violet); }
.badge--mint{ border-color: rgba(24,199,163,.30); background: var(--mintTint); color: var(--mint); }
.badge--amber{ border-color: rgba(255,176,32,.34); background: var(--amberTint); color: var(--amber); }

.flowx-cards{
  border:1px solid var(--hair);
  border-radius: var(--r2);
  background: rgba(11,16,32,.02);
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  padding: 14px;
}
html.is-dark .flowx-cards{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }

.flowx-card{
  display:none;
  border:1px solid var(--soft);
  background: rgba(255,255,255,.70);
  border-radius: 22px;
  padding: 16px;
}
html.is-dark .flowx-card{ background: rgba(11,16,32,.70); border-color: rgba(255,255,255,.14); }
.flowx-card.is-active{ display:block; }

.flowx-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.flowx-top h3{
  margin:0;
  font-size: 16px;
  letter-spacing:-.01em;
}
.list{
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13.5px;
}

.cta-row{
  margin-top: 18px;
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ================= Pricing ================= */
.billing{
  margin-top: 18px;
  position:relative;
  width: 240px;
  height: 44px;
  border-radius: 999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.03);
  display:grid;
  grid-template-columns: 1fr 1fr;
  overflow:hidden;
}
html.is-dark .billing{ background: rgba(255,255,255,.06); }
.billing-pill{
  appearance:none;
  border:none;
  background:transparent;
  cursor:pointer;
  font-weight: 950;
  font-size: 13px;
  z-index: 2;
  color: rgba(11,16,32,.70);
}
html.is-dark .billing-pill{ color: rgba(255,255,255,.78); }
.billing-pill.is-active{ color: rgba(11,16,32,.92); }
html.is-dark .billing-pill.is-active{ color: rgba(255,255,255,.92); }
.billing-slider{
  position:absolute;
  inset: 4px auto 4px 4px;
  width: calc(50% - 4px);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  box-shadow: 0 14px 26px rgba(10,102,255,.22);
  transform: translateX(0%);
  transition: transform .22s ease;
}

.price-grid{
  margin-top: 18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  align-items: stretch;
}
.price-card{
  border:1px solid var(--hair);
  border-radius: var(--r2);
  background: rgba(11,16,32,.02);
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  padding: 14px;
  display:flex;
  flex-direction:column;
  min-height: 220px;
}
html.is-dark .price-card{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }

.price-card--hot{
  background:
    radial-gradient(circle at 20% 20%, rgba(10,102,255,.10), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(124,92,255,.10), transparent 60%),
    rgba(11,16,32,.02);
  border-color: rgba(10,102,255,.22);
}
html.is-dark .price-card--hot{
  background:
    radial-gradient(circle at 20% 20%, rgba(10,102,255,.16), transparent 55%),
    radial-gradient(circle at 80% 30%, rgba(124,92,255,.16), transparent 60%),
    rgba(255,255,255,.05);
}
.hot{
  align-self:flex-start;
  font-weight: 950;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--violet), var(--blue));
  color:#fff;
  box-shadow: 0 14px 26px rgba(124,92,255,.18);
  margin-bottom: 10px;
}

.price-top{ display:grid; gap: 6px; margin-bottom: 12px; }
.price-top h3{ margin:0; font-size: 16px; letter-spacing:-.01em; }
.note{ margin:0; color: var(--muted); font-size: 13px; line-height:1.55; }

.ribbon{
  width:max-content;
  font-size: 12px;
  font-weight: 950;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
.ribbon--blue{ border-color: rgba(10,102,255,.28); background: var(--blueTint); color: var(--blue); }
.ribbon--violet{ border-color: rgba(124,92,255,.28); background: var(--violetTint); color: var(--violet); }
.ribbon--mint{ border-color: rgba(24,199,163,.28); background: var(--mintTint); color: var(--mint); }
.ribbon--amber{ border-color: rgba(255,176,32,.32); background: var(--amberTint); color: var(--amber); }

.price{
  font-size: 28px;
  font-weight: 980;
  letter-spacing: -.02em;
}
.price small{
  font-size: 13px;
  font-weight: 900;
  color: var(--muted);
}

/* ================= Matrix ================= */
.matrix{
  margin-top: 22px;
  border:1px solid var(--hair);
  border-radius: var(--r2);
  background: rgba(11,16,32,.02);
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  padding: 14px;
}
html.is-dark .matrix{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }

.matrix-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.matrix-head h3{ margin:0; font-size: 16px; letter-spacing:-.01em; }
.legend{ display:flex; gap:12px; flex-wrap:wrap; color: var(--muted); font-size: 12.5px; }
.legend-item{ display:inline-flex; align-items:center; gap:6px; }

.matrix-wrap{
  overflow:auto;
  border-radius: 18px;
  border: 1px solid var(--soft);
  background: rgba(255,255,255,.70);
}
html.is-dark .matrix-wrap{ background: rgba(11,16,32,.70); border-color: rgba(255,255,255,.14); }

.matrix-table{
  width:100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 860px;
}
.matrix-table thead th{
  position:sticky; top:0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--soft);
  padding: 12px 12px;
  font-size: 12.5px;
  text-align:left;
}
html.is-dark .matrix-table thead th{
  background: rgba(11,16,32,.92);
  border-color: rgba(255,255,255,.14);
}
.th-feature{ min-width: 320px; }
.th-plan{ text-align:center; font-weight: 950; }
.th-trial{ color: var(--blue); }
.th-basic{ color: var(--mint); }
.th-standard{ color: var(--violet); }
.th-premium{ color: var(--amber); }

.matrix-table tbody td{
  padding: 12px 12px;
  border-bottom: 1px solid var(--soft);
  font-size: 13.5px;
  color: rgba(11,16,32,.82);
}
html.is-dark .matrix-table tbody td{
  color: rgba(255,255,255,.84);
  border-color: rgba(255,255,255,.12);
}
.matrix-table tbody tr:last-child td{ border-bottom:none; }

.matrix-table td:nth-child(n+2){
  text-align:center;
  width: 140px;            /* equal column spacing */
  min-width: 140px;
  max-width: 140px;
}

.row-strong td{ font-weight: 950; }

.val{
  font-weight: 980;
  letter-spacing: -.01em;
}

.mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  font-weight: 980;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
html.is-dark .mark{ background: rgba(255,255,255,.06); }
.mark--on{ color: rgba(11,16,32,.88); }
html.is-dark .mark--on{ color: rgba(255,255,255,.92); }
.mark--off{ color: rgba(11,16,32,.40); }
html.is-dark .mark--off{ color: rgba(255,255,255,.40); }

.mark--blue{ border-color: rgba(10,102,255,.28); background: var(--blueTint); color: var(--blue); }
.mark--mint{ border-color: rgba(24,199,163,.28); background: var(--mintTint); color: var(--mint); }
.mark--violet{ border-color: rgba(124,92,255,.28); background: var(--violetTint); color: var(--violet); }
.mark--amber{ border-color: rgba(255,176,32,.32); background: var(--amberTint); color: var(--amber); }

/* Mobile matrix cards */
.matrix-cards{
  margin-top: 14px;
  display:none;
  gap: 12px;
}
.mcard{
  border:1px solid var(--hair);
  border-radius: var(--r2);
  background: rgba(11,16,32,.02);
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  overflow:hidden;
}
html.is-dark .mcard{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }
.mcard.hot{ border-color: rgba(124,92,255,.28); }
.mcard summary{
  list-style:none;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 14px;
  cursor:pointer;
  font-weight: 950;
}
.mcard summary::-webkit-details-marker{display:none}
.mcard-title{ flex:1; }
.mcard-chev{ opacity:.65; font-weight: 950; }

.mcard-badge{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
.badge--blue{ border-color: rgba(10,102,255,.28); background: var(--blueTint); color: var(--blue); }
.badge--mint{ border-color: rgba(24,199,163,.28); background: var(--mintTint); color: var(--mint); }
.badge--violet{ border-color: rgba(124,92,255,.28); background: var(--violetTint); color: var(--violet); }
.badge--amber{ border-color: rgba(255,176,32,.32); background: var(--amberTint); color: var(--amber); }

.mfeat{
  margin:0;
  padding: 0 14px 14px;
  display:grid;
  gap: 10px;
}
.mfeat li{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 10px 10px;
  border-radius: 16px;
  border:1px solid var(--soft);
  background: rgba(255,255,255,.70);
}
html.is-dark .mfeat li{ background: rgba(11,16,32,.70); border-color: rgba(255,255,255,.14); }

.mfeat li span{ color: rgba(11,16,32,.78); font-size: 13px; }
html.is-dark .mfeat li span{ color: rgba(255,255,255,.82); }

.b-ok{ color: var(--mint); }
.b-off{ color: rgba(11,16,32,.45); }
html.is-dark .b-off{ color: rgba(255,255,255,.40); }

/* ===== Mobile Matrix wieder aktivieren ===== */

.matrix-cards{ display:none; gap:12px; margin-top:14px; }

@media (max-width: 980px){
  .matrix-wrap{ display:none !important; }   /* Tabelle aus */
  .matrix-cards{ display:grid !important; } /* Cards an  */
}

/* etwas nicer auf mobile */
.mcard summary{
  background: rgba(11,16,32,.02);
}
html.is-dark .mcard summary{
  background: rgba(255,255,255,.05);
}

/* ================= FAQ ================= */
.faq{
  margin-top: 16px;
  display:grid;
  gap: 12px;
  max-width: 900px;
}
.faq details{
  border:1px solid var(--hair);
  border-radius: var(--r2);
  background: rgba(11,16,32,.02);
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  overflow:hidden;
}
html.is-dark .faq details{ background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); box-shadow:none; }

.faq summary{
  cursor:pointer;
  padding: 14px 16px;
  font-weight: 950;
  list-style:none;
}
.faq summary::-webkit-details-marker{display:none}
.answer{
  padding: 0 16px 14px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 13.5px;
}

/* ================= Contact ================= */
.form{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
  max-width: 900px;
}
.field{ display:grid; gap: 6px; }
.field--full{ grid-column: 1 / -1; }

label{
  font-size: 12.5px;
  font-weight: 900;
  color: rgba(11,16,32,.72);
}
html.is-dark label{ color: rgba(255,255,255,.72); }

input, textarea{
  width:100%;
  border-radius: 18px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.03);
  padding: 12px 12px;
  font: inherit;
  color: var(--text);
  outline: none;
}
html.is-dark input, html.is-dark textarea{ background: rgba(255,255,255,.06); }
textarea{ min-height: 120px; resize: vertical; }

input:focus, textarea:focus{
  border-color: rgba(10,102,255,.42);
  box-shadow: 0 0 0 4px rgba(10,102,255,.14);
}

/* ================= FOOTER (FULL, FIX) ================= */

.footer{
  border-top: 1px solid var(--soft);
  padding: 44px 0 18px;
  background: linear-gradient(180deg, rgba(10,102,255,.03), transparent 55%);
}
html.is-dark .footer{
  background: linear-gradient(180deg, rgba(10,102,255,.06), transparent 55%);
}

.footer-top{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.1fr;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--soft);
}

.footer-brand{ display:grid; gap: 10px; }
.footer-logo{ height: 60px; width:auto; opacity:.98; }

.footer-text{
  margin:0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 13.5px;
  max-width: 42ch;
}

.footer-badges{ display:flex; flex-wrap:wrap; gap:8px; }

.fchip{
  font-size:11px;
  font-weight:950;
  padding: 6px 9px;
  border-radius:999px;
  border:1px solid var(--hair);
  background: rgba(11,16,32,.04);
}
html.is-dark .fchip{ background: rgba(255,255,255,.06); }

.fchip--blue{ border-color: rgba(10,102,255,.28); background: var(--blueTint); color: var(--blue); }
.fchip--mint{ border-color: rgba(24,199,163,.28); background: var(--mintTint); color: var(--mint); }
.fchip--violet{ border-color: rgba(124,92,255,.28); background: var(--violetTint); color: var(--violet); }
.fchip--amber{ border-color: rgba(255,176,32,.32); background: var(--amberTint); color: var(--amber); }

.footer-col h4{
  margin: 0 0 10px;
  font-size: 12.5px;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(11,16,32,.72);
}
html.is-dark .footer-col h4{ color: rgba(255,255,255,.72); }

.footer-col a{
  display:block;
  padding: 7px 0;
  color: rgba(11,16,32,.80);
  font-weight: 800;
  font-size: 13.5px;
  opacity:.92;
  transition: opacity var(--speed) ease, transform var(--speed) ease;
}
html.is-dark .footer-col a{ color: rgba(255,255,255,.86); }
.footer-col a:hover{ opacity:1; transform: translateX(2px); }

.footer-mini{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-social{
  display:flex;
  gap: 12px;
  flex-wrap:wrap;
  margin-top: 12px;
}
.footer-social a{
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(11,16,32,.03);
  font-weight: 900;
  font-size: 12.5px;
}
html.is-dark .footer-social a{ background: rgba(255,255,255,.06); }

.footer-bottom{
  padding-top: 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color: var(--muted);
}
.footer-right{ opacity:.9; }

/* Footer responsive */
@media (max-width: 1040px){
  .footer-top{ grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 760px){
  .footer-top{ grid-template-columns: 1fr; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }
}


/* ================= AUTH (login page) ================= */
.auth-body{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  background: #f5f6f8;
  font-family: system-ui, -apple-system, BlinkMacSystemFont;
}
html.is-dark .auth-body{ background: #070a12; }

.auth-card{
  width: 100%;
  max-width: 380px;
  background: var(--surface);
  padding: 32px;
  border-radius: 18px;
  border:1px solid var(--hair);
  box-shadow: var(--shadow2);
  text-align:center;
}

.auth-card h1{ margin: 0 0 4px; font-weight: 900; }
.auth-sub{ color: var(--muted); margin: 0 0 22px; }

.auth-card input{
  width:100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 14px;
  border: 1px solid var(--hair);
  background: rgba(11,16,32,.03);
  color: var(--text);
  font-size: 15px;
}
html.is-dark .auth-card input{ background: rgba(255,255,255,.06); }

.auth-card button{
  width:100%;
  padding: 14px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--blue), #2f8cff);
  color:#fff;
  font-size: 16px;
  font-weight: 800;
  cursor:pointer;
  box-shadow:0 18px 40px rgba(10,102,255,.25);
}
.auth-card button:hover{ box-shadow:0 22px 48px rgba(10,102,255,.30); }

.auth-note{ margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ================= DASHBOARD (no conflicts with landing) ================= */
.dash-topbar{
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--bg);
  border-bottom: 1px solid var(--hair);
}
.dash-inner{
  height: 64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.dash-brand{ display:flex; align-items:center; }
.dash-logo{ height: 30px; width:auto; display:block; }
.dash-actions{ display:flex; align-items:center; gap: 10px; }

.dash-wrap{
  width:min(980px, calc(100% - 48px));
  margin-inline:auto;
  padding: 28px 0;
}
.dash-card{
  border:1px solid var(--hair);
  background: rgba(11,16,32,.02);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: 0 14px 30px rgba(11,16,32,.06);
  margin-top: 14px;
}
html.is-dark .dash-card{
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.16);
  box-shadow:none;
}

/* ================= Responsive ================= */
@media (max-width: 1040px){
  .features-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .flowx-wrap{ grid-template-columns: 1fr; }
  .price-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 980px){
  .nav-main{ display:none; }
  .nav-toggle{ display:inline-flex; flex-direction:column; justify-content:center; }
  .hero-wrap{ grid-template-columns: 1fr; gap: 26px; }
  .demo-body{ grid-template-columns: 1fr; }
  .zg-grid{ grid-template-columns: 1fr; }
  .stats{ grid-template-columns: 1fr; }
}

@media (max-width: 540px){
  .container{ width:min(var(--max), calc(100% - 28px)); }
  .topbar-inner{ height: 66px; }
  .hero{ padding: 76px 0 40px; }
  .price-grid{ grid-template-columns: 1fr; }
  .form{ grid-template-columns: 1fr; }
}
