/* =========================================================
   Clavis — Landing Page
   Palette derived from the product UI (navy / emerald / amber)
   ========================================================= */

/* Self-hosted fonts — no external CDN call (data sovereignty / DSGVO).
   Files live in ../fonts and are served from the same origin. */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/space-grotesk-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/space-grotesk-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/space-grotesk-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/space-grotesk-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-600-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Sans';font-style:normal;font-weight:700;font-display:swap;src:url('../fonts/ibm-plex-sans-latin-700-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-400-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-weight:600;font-display:swap;src:url('../fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');}

:root{
  /* brand */
  --navy-950:#0f1b30;
  --navy-900:#142339;
  --navy-800:#1b2e49;
  --navy-700:#26395a;
  --ink:#16223a;
  --slate-600:#4d5a72;
  --slate-500:#697892;
  --slate-400:#93a0b5;

  --bg:#f5f7fb;
  --bg-2:#eef2f8;
  --surface:#ffffff;
  --border:#e4e8f0;
  --border-strong:#d4dae6;

  --emerald-700:#127049;
  --emerald-600:#15835660;
  --emerald:#178a55;
  --emerald-500:#1f9d63;
  --emerald-100:#e4f3ea;
  --emerald-50:#f0f8f3;

  --teal:#1f9b86;

  --amber:#d6a23a;
  --amber-deep:#b07e1d;
  --amber-bg:#fbf3df;

  --danger:#c2533f;
  --danger-bg:#fbeae6;

  /* brand accent — azure/slate blue matching the Clavis software */
  --blue-700:#1c4fb5;
  --blue:#2563d6;
  --blue-100:#dbe6fb;
  --blue-50:#eef3fd;

  /* accent is tweakable — mapped to the software blue.
     (--emerald / --amber stay defined for the product mock's semantic
     status colors: green = compliant, amber = partial.) */
  --accent:var(--blue);
  --accent-600:var(--blue-700);
  --accent-100:var(--blue-100);
  --accent-50:var(--blue-50);

  --radius:14px;
  --radius-sm:10px;
  --radius-lg:20px;

  --shadow-sm:0 1px 2px rgba(20,35,57,.05), 0 1px 3px rgba(20,35,57,.06);
  --shadow:0 4px 14px rgba(20,35,57,.07), 0 1px 3px rgba(20,35,57,.05);
  --shadow-lg:0 18px 50px rgba(15,27,48,.14), 0 6px 18px rgba(15,27,48,.08);

  --display:'Space Grotesk', system-ui, sans-serif;
  --sans:'IBM Plex Sans', system-ui, sans-serif;
  --mono:'IBM Plex Mono', ui-monospace, monospace;

  --maxw:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  line-height:1.6;
}
h1,h2,h3,h4{font-family:var(--display); font-weight:600; line-height:1.08; margin:0; color:var(--ink); letter-spacing:-.02em;}
p{margin:0;}
a{color:inherit; text-decoration:none;}
code,pre,.mono{font-family:var(--mono);}

.wrap{max-width:var(--maxw); margin:0 auto; padding:0 32px;}
.section{padding:96px 0;}
.section.tight{padding:64px 0;}

/* ---------- eyebrow / labels ---------- */
.eyebrow{
  font-family:var(--mono);
  font-size:12px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--accent-600); font-weight:500;
  display:inline-flex; align-items:center; gap:9px;
}
.eyebrow::before{
  content:''; width:18px; height:1.5px; background:var(--accent); display:inline-block;
}
.eyebrow.on-dark{color:#8fb6f2;}
.eyebrow.on-dark::before{background:#8fb6f2;}

.section-intro{max-width:680px; margin-bottom:52px;}
.section-intro h2{font-size:clamp(30px, 3.6vw, 44px); margin-top:18px;}
.section-intro p{margin-top:18px; font-size:18px; color:var(--slate-600);}

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--sans); font-weight:600; font-size:15.5px;
  padding:14px 24px; border-radius:11px; cursor:pointer;
  border:1.5px solid transparent; transition:.18s ease;
  white-space:nowrap;
}
.btn .ic{width:17px; height:17px; display:inline-flex;}
.btn-primary{background:var(--accent); color:#fff; box-shadow:0 6px 16px color-mix(in srgb, var(--accent) 32%, transparent);}
.btn-primary:hover{filter:brightness(1.05); transform:translateY(-1px);}
.btn-dark{background:var(--navy-900); color:#fff;}
.btn-dark:hover{background:var(--navy-800); transform:translateY(-1px);}
.btn-outline{background:var(--surface); color:var(--ink); border-color:var(--border-strong);}
.btn-outline:hover{border-color:var(--slate-400); background:var(--bg);}
.btn-ghost-light{background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.22);}
.btn-ghost-light:hover{background:rgba(255,255,255,.16);}
.btn-lg{padding:16px 28px; font-size:16.5px;}
.btn-sm{padding:9px 16px; font-size:14px; border-radius:9px;}

/* ---------- nav ---------- */
.nav{
  position:sticky; top:0; z-index:40;
  background:rgba(245,247,251,.82);
  backdrop-filter:saturate(160%) blur(14px);
  border-bottom:1px solid var(--border);
}
.nav-inner{
  max-width:var(--maxw); margin:0 auto; padding:14px 32px;
  display:flex; align-items:center; gap:14px;
}
.brand{display:flex; align-items:center; gap:11px; font-family:var(--display); font-weight:600; font-size:20px; letter-spacing:-.01em;}
.brand-mark{
  width:34px; height:34px; border-radius:9px; display:block; flex:none;
  box-shadow:0 3px 8px rgba(37,99,214,.32);
}
.nav-links{display:flex; gap:6px; margin-left:24px;}
.nav-links a{
  font-size:15px; color:var(--slate-600); padding:8px 13px; border-radius:8px; font-weight:500;
  transition:.15s;
}
.nav-links a:hover{color:var(--ink); background:var(--bg-2);}
.nav-right{margin-left:auto; display:flex; align-items:center; gap:10px;}
.nav-login{font-size:15px; font-weight:600; color:var(--slate-600); padding:8px 6px;}
.nav-login:hover{color:var(--ink);}

/* ---------- hero ---------- */
.hero{position:relative; overflow:hidden; padding:88px 0 56px;}
.hero::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:
    radial-gradient(900px 500px at 78% -8%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%),
    radial-gradient(700px 460px at 8% 12%, rgba(37,99,214,.07), transparent 60%);
  pointer-events:none;
}
.hero-inner{position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; padding:0 32px;
  display:grid; grid-template-columns:1.08fr .92fr; gap:56px; align-items:center;}
.hero h1{font-size:clamp(40px, 5.2vw, 64px); letter-spacing:-.03em;}
.hero h1 .hl{position:relative; white-space:nowrap; color:var(--accent-600);}
.hero h1 .hl::after{
  content:''; position:absolute; left:-2px; right:-2px; bottom:.06em; height:.34em; z-index:-1;
  background:color-mix(in srgb, var(--accent) 22%, transparent); border-radius:3px;
}
.hero-lede{margin-top:26px; font-size:19px; color:var(--slate-600); max-width:560px;}
.hero-lede code{font-family:var(--mono); font-size:.86em; background:var(--bg-2); padding:2px 7px; border-radius:6px; color:var(--navy-800); border:1px solid var(--border);}
.hero-cta{display:flex; gap:13px; margin-top:34px; flex-wrap:wrap; align-items:center;}
.hero-note{font-size:13.5px; color:var(--slate-500); margin-top:16px; display:flex; align-items:center; gap:8px;}
.hero-note .dot{width:6px; height:6px; border-radius:50%; background:var(--accent); flex:none;}

.trustline{
  margin-top:40px; padding-top:26px; border-top:1px solid var(--border);
  display:flex; flex-wrap:wrap; gap:10px 26px;
}
.trustline .ti{
  font-family:var(--mono); font-size:12px; letter-spacing:.04em; color:var(--slate-500);
  display:inline-flex; align-items:center; gap:8px;
}
.trustline .ti svg{width:15px; height:15px; color:var(--accent);}

/* hero side card -> dashboard preview */
.hero-card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  box-shadow:var(--shadow-lg); overflow:hidden;
  transform:perspective(1600px) rotateY(-7deg) rotateX(2.5deg);
  transform-origin:center right;
}

/* ---------- generic card ---------- */
.card{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  box-shadow:var(--shadow-sm);
}

/* ---------- pain ---------- */
.pain{background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}
.pain-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.pain-card{padding:34px 30px; border-radius:var(--radius); border:1px solid var(--border); background:var(--bg); position:relative; overflow:hidden;}
.pain-card .pc-ic{
  width:46px; height:46px; border-radius:12px; display:grid; place-items:center;
  background:var(--danger-bg); color:var(--danger); margin-bottom:20px;
}
.pain-card .pc-ic svg{width:23px; height:23px;}
.pain-card h3{font-size:21px; margin-bottom:10px;}
.pain-card p{font-size:15px; color:var(--slate-600);}
.pain-card .pc-tag{margin-top:18px; font-family:var(--mono); font-size:11.5px; letter-spacing:.06em; color:var(--danger); text-transform:uppercase;}

/* ---------- answer / docker steps ---------- */
.answer{background:var(--bg-2);}
.steps{display:grid; grid-template-columns:repeat(3,1fr); gap:24px;}
.step{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:26px; box-shadow:var(--shadow-sm); display:flex; flex-direction:column;}
.step-head{display:flex; align-items:center; gap:12px; margin-bottom:16px;}
.step-num{width:30px; height:30px; border-radius:8px; background:var(--accent-100); color:var(--accent-600); font-family:var(--mono); font-weight:600; display:grid; place-items:center; font-size:14px;}
.step h3{font-size:18px;}
.step p{font-size:14.5px; color:var(--slate-600); margin-top:auto;}
.term{
  background:var(--navy-950); border-radius:11px; padding:16px 17px; margin:4px 0 16px;
  font-family:var(--mono); font-size:13px; line-height:1.85; color:#cdd8e8; overflow-x:auto;
}
.term .pr{color:var(--teal);}
.term .ok{color:#5fd197;}
.term .cm{color:#6b7c96;}
.term .fl{color:#e7c980;}

/* ---------- modules ---------- */
.mod-grid{display:grid; grid-template-columns:repeat(4,1fr); gap:14px;}
.mod{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:18px 18px 16px; transition:.16s; position:relative; min-height:128px;
  display:flex; flex-direction:column;
}
.mod:hover{border-color:var(--accent); box-shadow:var(--shadow); transform:translateY(-2px);}
.mod-top{display:flex; align-items:center; justify-content:space-between; margin-bottom:13px;}
.mod-ic{width:34px; height:34px; border-radius:9px; background:var(--accent-50); color:var(--accent-600); display:grid; place-items:center;}
.mod-ic svg{width:18px; height:18px;}
.mod-art{font-family:var(--mono); font-size:10.5px; letter-spacing:.03em; color:var(--slate-400); background:var(--bg); border:1px solid var(--border); padding:3px 7px; border-radius:6px;}
.mod h4{font-family:var(--sans); font-weight:600; font-size:15.5px; letter-spacing:0; margin-bottom:4px;}
.mod p{font-size:12.8px; color:var(--slate-500); line-height:1.45;}
.mod.cross{background:var(--bg); border-style:dashed;}
.mod.cross .mod-ic{background:var(--navy-900); color:#fff;}

.mod-foot{margin-top:26px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; font-size:14px; color:var(--slate-500);}
.mod-foot .lg{display:inline-flex; align-items:center; gap:8px;}
.mod-foot .sw{width:13px; height:13px; border-radius:4px; border:1px solid var(--border-strong);}

/* ---------- comparison ---------- */
.compare{background:var(--navy-900);}
.compare .section-intro h2, .compare .section-intro p{color:#fff;}
.compare .section-intro p{color:#aeb9cc;}
.ctable{
  background:var(--navy-950); border:1px solid rgba(255,255,255,.09); border-radius:var(--radius-lg);
  overflow:hidden;
}
.crow{display:grid; grid-template-columns:1.3fr 1fr 1fr;}
.crow > div{padding:18px 24px; border-bottom:1px solid rgba(255,255,255,.07);}
.crow > div + div{border-left:1px solid rgba(255,255,255,.07);}
.crow:last-child > div{border-bottom:none;}
.chead > div{padding:20px 24px;}
.chead .h-crit{color:#8b97ad; font-family:var(--mono); font-size:12px; letter-spacing:.08em; text-transform:uppercase;}
.chead .h-clavis{background:var(--accent); color:#fff; font-family:var(--display); font-weight:600; font-size:18px; display:flex; align-items:center; gap:9px;}
.chead .h-clavis .bm{width:22px; height:22px; display:block; flex:none; object-fit:contain;}
.chead .h-saas{color:#cdd6e4; font-family:var(--display); font-weight:600; font-size:18px;}
.crit{color:#e6ebf3; font-weight:500; font-size:15px;}
.crow .clavis{background:color-mix(in srgb, var(--accent) 12%, var(--navy-950));}
.cell-yes{color:#fff; font-size:14.5px; display:flex; gap:10px; align-items:flex-start;}
.cell-yes .mk{color:#73e2a8; flex:none; margin-top:2px;}
.cell-no{color:#c5cee0; font-size:14.5px; display:flex; gap:10px; align-items:flex-start;}
.cell-no .mk{color:#e0846f; flex:none; margin-top:2px;}
.cell-neu{color:#aab4c8; font-size:14.5px; display:flex; gap:10px; align-items:flex-start;}
.cell-neu .mk{color:#8b97ad; flex:none; margin-top:2px;}
.cell-detail{display:block; color:#8b97ad; font-size:12.5px; margin-top:4px;}
.cell-yes .cell-detail{color:#9fd9b8;}

/* ---------- dashboard showcase ---------- */
.showcase{background:var(--surface); border-top:1px solid var(--border);}
.showcase-grid{display:grid; grid-template-columns:.85fr 1.15fr; gap:56px; align-items:center;}
.showcase ul{list-style:none; padding:0; margin:24px 0 0; display:flex; flex-direction:column; gap:14px;}
.showcase li{display:flex; gap:13px; font-size:15.5px; color:var(--slate-600);}
.showcase li .li-ic{width:24px; height:24px; border-radius:7px; background:var(--accent-100); color:var(--accent-600); display:grid; place-items:center; flex:none; margin-top:1px;}
.showcase li .li-ic svg{width:14px; height:14px;}
.showcase li b{color:var(--ink); font-weight:600;}

/* product dashboard mock */
.pd{
  border:1px solid var(--border); border-radius:16px; overflow:hidden; background:#fbfcfe;
  box-shadow:var(--shadow-lg);
}
.pd-bar{display:flex; align-items:center; gap:7px; padding:11px 15px; background:var(--surface); border-bottom:1px solid var(--border);}
.pd-bar .dot{width:10px; height:10px; border-radius:50%;}
.pd-bar .tt{margin-left:10px; font-family:var(--mono); font-size:11.5px; color:var(--slate-400);}
.pd-body{display:grid; grid-template-columns:148px 1fr;}
.pd-side{background:var(--navy-900); padding:16px 12px; display:flex; flex-direction:column; gap:3px;}
.pd-side .s-brand{display:flex; align-items:center; gap:8px; color:#fff; font-family:var(--display); font-weight:600; font-size:15px; padding:4px 6px 14px;}
.pd-side .s-brand .bm{width:22px; height:22px; border-radius:6px; display:block; flex:none;}
.pd-side .s-grp{font-family:var(--mono); font-size:8.5px; letter-spacing:.12em; color:#5b6b86; margin:12px 6px 4px;}
.pd-side .s-item{display:flex; align-items:center; gap:8px; padding:6px 8px; border-radius:7px; color:#9fadc6; font-size:12px;}
.pd-side .s-item svg{width:13px; height:13px;}
.pd-side .s-item.active{background:rgba(255,255,255,.1); color:#fff;}
.pd-main{padding:20px; background:#f7f9fc;}
.pd-h{display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:16px;}
.pd-h h4{font-family:var(--display); font-size:19px;}
.pd-h .sub{font-size:11.5px; color:var(--slate-500); margin-top:3px;}
.pd-h .mini-btn{background:var(--navy-900); color:#fff; font-size:11px; font-weight:600; padding:7px 11px; border-radius:8px; display:inline-flex; gap:6px; align-items:center;}
.pd-kpis{display:grid; grid-template-columns:repeat(5,1fr); gap:9px; margin-bottom:14px;}
.pd-kpi{background:var(--surface); border:1px solid var(--border); border-radius:10px; padding:11px;}
.pd-kpi .k-top{display:flex; justify-content:space-between; align-items:center;}
.pd-kpi .k-lbl{font-size:9.5px; color:var(--slate-500); line-height:1.3;}
.pd-kpi .k-ic{width:18px; height:18px; color:var(--slate-400);}
.pd-kpi .k-ic svg{width:15px; height:15px;}
.pd-kpi .k-val{font-family:var(--display); font-weight:600; font-size:23px; margin-top:7px;}
.pd-kpi .k-meta{font-size:9px; color:var(--slate-400); margin-top:1px;}
.pd-kpi.alert{background:#fdf6ee; border-color:#f0d9b8;}
.pd-kpi.alert .k-ic, .pd-kpi.alert .k-val{color:var(--amber-deep);}
.pd-kpi.alert .k-lbl{color:var(--amber-deep);}
.pd-cols{display:grid; grid-template-columns:1.25fr 1fr; gap:12px;}
.pd-score{background:var(--surface); border:1px solid var(--border); border-radius:11px; padding:16px;}
.pd-score-h{display:flex; justify-content:space-between; align-items:center; margin-bottom:12px;}
.pd-score-h .t{font-family:var(--display); font-weight:600; font-size:15px;}
.pd-score-h .badge{font-family:var(--display); font-weight:600; font-size:12px; color:var(--amber-deep); background:var(--amber-bg); padding:3px 11px; border-radius:999px;}
.pd-mainbar{height:8px; border-radius:5px; background:var(--bg-2); overflow:hidden; margin-bottom:16px;}
.pd-mainbar > div{height:100%; background:var(--amber); border-radius:5px;}
.pd-srow{display:flex; align-items:center; gap:10px; margin-bottom:8px;}
.pd-srow .nm{width:118px; font-size:10.5px; color:var(--slate-600); flex:none;}
.pd-srow .tr{flex:1; height:6px; border-radius:4px; background:var(--bg-2); overflow:hidden;}
.pd-srow .tr > div{height:100%; border-radius:4px;}
.pd-srow .pc{width:30px; text-align:right; font-family:var(--mono); font-size:10px; font-weight:500; color:var(--slate-600);}
.pd-tasks{background:var(--surface); border:1px solid var(--border); border-radius:11px; padding:16px; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center;}
.pd-tasks .t{font-family:var(--display); font-weight:600; font-size:14px; align-self:flex-start; margin-bottom:auto;}
.pd-tasks .check{width:34px; height:34px; border-radius:50%; background:var(--emerald-50); color:var(--emerald); display:grid; place-items:center; margin:18px 0 9px;}
.pd-tasks .msg{font-size:11px; color:var(--slate-500);}

/* ---------- trust ---------- */
.trust{background:var(--bg-2);}
.trust-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:18px;}
.trust-card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:26px 24px;}
.trust-card .tc-ic{width:42px; height:42px; border-radius:11px; background:var(--accent-50); color:var(--accent-600); display:grid; place-items:center; margin-bottom:16px;}
.trust-card .tc-ic svg{width:21px; height:21px;}
.trust-card h4{font-family:var(--display); font-size:17px; margin-bottom:7px;}
.trust-card p{font-size:14px; color:var(--slate-600);}
.trust-flag{display:inline-flex; align-items:center; gap:9px; font-family:var(--mono); font-size:12px; letter-spacing:.05em; color:var(--slate-500); margin-top:6px;}
.trust-flag .fl{width:22px; height:15px; border-radius:2px; overflow:hidden; display:inline-grid; grid-template-rows:1fr 1fr 1fr; border:1px solid var(--border);}
.trust-flag .fl i{display:block;}

/* ---------- pricing ---------- */
.pricing{background:var(--bg);}
.price-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:22px; align-items:stretch;}
.price-card{
  position:relative; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg);
  padding:32px 28px; display:flex; flex-direction:column; box-shadow:var(--shadow-sm);
}
.price-card.featured{
  border:1.5px solid var(--accent); box-shadow:0 18px 44px color-mix(in srgb, var(--accent) 16%, transparent);
  transform:translateY(-6px);
}
.pc-flag{
  position:absolute; top:-13px; left:28px; background:var(--accent); color:#fff;
  font-family:var(--mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 12px; border-radius:999px; font-weight:500;
}
.pc-tier{font-family:var(--mono); font-size:12.5px; letter-spacing:.06em; text-transform:uppercase; color:var(--slate-500);}
.pc-price{display:flex; align-items:baseline; gap:8px; margin-top:16px;}
.pc-price .amt{font-family:var(--display); font-weight:600; font-size:46px; letter-spacing:-.03em; color:var(--ink);}
.pc-price .per{font-size:16px; color:var(--slate-500); font-weight:500;}
.pc-cycle{font-size:13.5px; color:var(--slate-500); margin-top:4px;}
.pc-desc{font-size:14.5px; color:var(--slate-600); margin-top:18px;}
.pc-feat{list-style:none; padding:0; margin:20px 0 26px; display:flex; flex-direction:column; gap:11px;}
.pc-feat li{position:relative; padding-left:28px; font-size:14.5px; color:var(--ink);}
.pc-feat li::before{
  content:''; position:absolute; left:0; top:2px; width:18px; height:18px; border-radius:50%;
  background:var(--accent-100);
}
.pc-feat li::after{
  content:''; position:absolute; left:5px; top:7px; width:8px; height:5px;
  border-left:2px solid var(--accent-600); border-bottom:2px solid var(--accent-600);
  transform:rotate(-45deg);
}
.pc-cta{margin-top:auto; justify-content:center;}
.pc-sub{display:block; text-align:center; margin-top:12px; font-size:13px; color:var(--slate-500); font-weight:500;}
.pc-sub:hover{color:var(--accent-600); text-decoration:underline; text-underline-offset:2px;}
.pc-feat code{font-family:var(--mono); font-size:.86em; background:var(--bg-2); padding:1px 6px; border-radius:5px; border:1px solid var(--border);}

.price-addon{
  margin-top:24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:24px 28px; display:flex; align-items:center; gap:22px; box-shadow:var(--shadow-sm);
}
.price-addon .pa-ic{
  width:48px; height:48px; border-radius:12px; background:var(--accent-50); color:var(--accent-600);
  display:grid; place-items:center; flex:none;
}
.price-addon .pa-ic svg{width:24px; height:24px;}
.price-addon .pa-body{flex:1;}
.price-addon h4{font-family:var(--display); font-size:17px; margin-bottom:5px;}
.price-addon .pa-amt{color:var(--accent-600);}
.price-addon p{font-size:14px; color:var(--slate-600);}
.price-addon p a{color:var(--accent-600); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.price-addon .pc-cta{flex:none; margin:0;}

/* ---------- final cta ---------- */
.final{background:var(--navy-900); position:relative; overflow:hidden;}
.final::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(800px 400px at 85% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 55%);
}
.final-inner{position:relative; z-index:1; display:grid; grid-template-columns:1.3fr .7fr; gap:48px; align-items:center;}
.final h2{color:#fff; font-size:clamp(30px,3.8vw,46px);}
.final p{color:#aeb9cc; font-size:17px; margin-top:18px; max-width:560px;}
.final-cta{display:flex; flex-direction:column; gap:12px;}
.final .btn{justify-content:center;}

/* =========================================================
   Clavis — "Jetzt starten" page only
   ========================================================= */
.start-hero{padding:64px 0 56px; position:relative; overflow:hidden;}
.start-hero::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:radial-gradient(800px 460px at 82% -10%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 60%);
  pointer-events:none;
}
.start-hero-inner{position:relative; z-index:1; display:grid; grid-template-columns:1fr .92fr; gap:52px; align-items:center;}
.start-hero h1{font-size:clamp(34px,4.4vw,52px); letter-spacing:-.03em; margin-top:20px;}
.start-hero .lede{font-size:18px; color:var(--slate-600); margin-top:22px; max-width:520px;}
.crumb{font-size:14px; color:var(--slate-500);}
.crumb a{color:var(--accent-600); font-weight:600;}
.crumb a:hover{text-decoration:underline;}

.facts{display:flex; gap:14px; margin-top:30px; flex-wrap:wrap;}
.fact{background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:14px 18px; box-shadow:var(--shadow-sm);}
.fact .fv{font-family:var(--display); font-weight:600; font-size:22px; color:var(--ink);}
.fact .fl{font-size:12.5px; color:var(--slate-500); margin-top:2px;}

/* download card */
.dl-card{
  background:var(--navy-900); border-radius:var(--radius-lg); padding:28px; color:#fff;
  box-shadow:var(--shadow-lg); position:relative; overflow:hidden;
}
.dl-card::before{
  content:''; position:absolute; inset:0;
  background:radial-gradient(420px 220px at 90% 0%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%);
  pointer-events:none;
}
.dl-card .dl-h{position:relative; display:flex; align-items:center; gap:14px; margin-bottom:20px;}
.dl-card .dl-fileic{width:52px; height:52px; border-radius:13px; background:rgba(255,255,255,.1); display:grid; place-items:center; flex:none;}
.dl-card .dl-fileic svg{width:26px; height:26px; color:#8fb6f2;}
.dl-card .dl-name{font-family:var(--mono); font-size:15px; font-weight:500; word-break:break-all;}
.dl-card .dl-tag{font-size:12.5px; color:#9fb4cf; margin-top:2px;}
.dl-meta{position:relative; display:grid; grid-template-columns:1fr 1fr; gap:1px; background:rgba(255,255,255,.08); border-radius:10px; overflow:hidden; margin-bottom:20px;}
.dl-meta div{background:var(--navy-900); padding:11px 14px;}
.dl-meta .ml{font-size:11px; color:#8b9cb6; letter-spacing:.04em;}
.dl-meta .mv{font-family:var(--mono); font-size:13px; color:#e6edf6; margin-top:2px;}
.dl-card .btn{position:relative; width:100%; justify-content:center;}
.dl-sha{position:relative; margin-top:14px; font-family:var(--mono); font-size:11px; color:#7e90ab; word-break:break-all; line-height:1.6;}
.dl-sha b{color:#9fb4cf; font-weight:500;}

/* install steps */
.install-list{position:relative; margin-top:8px;}
.istep{position:relative; display:grid; grid-template-columns:54px 1fr; gap:20px; padding-bottom:36px;}
.istep:last-child{padding-bottom:0;}
.istep::before{
  content:''; position:absolute; left:26px; top:46px; bottom:-6px; width:2px; background:var(--border-strong);
}
.istep:last-child::before{display:none;}
.istep .inum{
  width:52px; height:52px; border-radius:14px; background:var(--surface); border:1.5px solid var(--accent);
  color:var(--accent-600); font-family:var(--display); font-weight:600; font-size:22px;
  display:grid; place-items:center; z-index:1; box-shadow:var(--shadow-sm);
}
.istep .ibody{padding-top:4px;}
.istep h3{font-family:var(--display); font-size:20px; margin-bottom:8px;}
.istep p{font-size:15px; color:var(--slate-600); max-width:620px;}
.istep p code, .istep .ibody > code{font-family:var(--mono); font-size:.86em; background:var(--bg-2); padding:2px 7px; border-radius:6px; border:1px solid var(--border); color:var(--navy-800);}
.istep .term{max-width:620px; margin:14px 0 0;}
.istep .hint{font-size:13px; color:var(--slate-500); margin-top:10px; display:flex; gap:8px; align-items:flex-start;}
.istep .hint svg{width:16px; height:16px; color:var(--accent-600); flex:none; margin-top:2px;}

/* requirements */
.req-layout{display:grid; grid-template-columns:.85fr 1.15fr; gap:48px; align-items:start;}
.req{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-sm);}
.req-row{display:grid; grid-template-columns:1fr 2fr; border-bottom:1px solid var(--border);}
.req-row:last-child{border-bottom:none;}
.req-row > div{padding:15px 22px;}
.req-row .rk{font-weight:600; font-size:14.5px; color:var(--ink); background:var(--bg);}
.req-row .rv{font-size:13.5px; color:var(--slate-600); font-family:var(--mono);}

/* help callout */
.help{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius-lg); padding:32px; display:grid; grid-template-columns:1fr auto; gap:28px; align-items:center; box-shadow:var(--shadow-sm);}
.help h3{font-family:var(--display); font-size:22px; margin-bottom:8px;}
.help p{font-size:15px; color:var(--slate-600); max-width:620px;}
.help .help-cta{display:flex; gap:12px; flex-wrap:wrap;}

@media (max-width:1080px){
  .start-hero-inner{grid-template-columns:1fr;}
  .help{grid-template-columns:1fr;}
}

/* ---------- footer ---------- */
.footer{background:var(--navy-950); color:#9fadc6; padding:64px 0 36px;}
.footer-grid{display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:36px;}
.footer .brand{color:#fff; margin-bottom:14px;}
.footer p{font-size:14px; max-width:300px;}
.footer h5{font-family:var(--display); font-weight:600; font-size:14px; color:#fff; margin-bottom:14px; letter-spacing:0;}
.footer ul{list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:9px;}
.footer ul a{font-size:14px; color:#9fadc6;}
.footer ul a:hover{color:#fff;}
.footer-base{border-top:1px solid rgba(255,255,255,.08); margin-top:48px; padding-top:24px; display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#6b7c96;}
.footer-base .mono{font-family:var(--mono); letter-spacing:.04em;}

/* ---------- responsive ---------- */
@media (max-width:1080px){
  .hero-inner, .showcase-grid, .final-inner{grid-template-columns:1fr;}
  .hero-card{transform:none; margin-top:12px;}
  .mod-grid{grid-template-columns:repeat(3,1fr);}
  .final-cta{flex-direction:row; flex-wrap:wrap;}
  .price-grid{grid-template-columns:1fr;}
  .price-card.featured{transform:none;}
  .price-addon{flex-direction:column; align-items:flex-start;}
}
@media (max-width:820px){
  .pain-grid, .steps, .trust-grid{grid-template-columns:1fr;}
  .mod-grid{grid-template-columns:repeat(2,1fr);}
  .pd-kpis{grid-template-columns:repeat(3,1fr);}
  .pd-cols{grid-template-columns:1fr;}
  .nav-links{display:none;}
  .crow{grid-template-columns:1fr;}
  .crow > div + div{border-left:none;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}

/* ---------- legal / prose pages ---------- */
.legal{padding:56px 0 84px; position:relative; overflow:hidden;}
.legal::before{
  content:''; position:absolute; inset:0; z-index:0;
  background:radial-gradient(760px 380px at 85% -12%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 60%);
  pointer-events:none;
}
.legal .wrap{position:relative; z-index:1; max-width:820px;}
.legal h1{font-size:clamp(30px,3.6vw,42px); margin-top:14px;}
.legal .updated{font-size:13px; color:var(--slate-500); margin-top:16px; font-family:var(--mono);}
.prose{margin-top:34px;}
.prose h2{font-size:22px; margin-top:36px;}
.prose h3{font-family:var(--display); font-size:17px; margin-top:24px;}
.prose p, .prose li{font-size:15.5px; color:var(--slate-600); line-height:1.7;}
.prose p{margin-top:12px;}
.prose ul{margin-top:12px; padding-left:22px;}
.prose li{margin-top:6px;}
.prose a{color:var(--accent-600); font-weight:600; text-decoration:underline; text-underline-offset:2px;}
.prose code{font-family:var(--mono); font-size:.88em; background:var(--bg-2); padding:2px 6px; border-radius:6px; border:1px solid var(--border); color:var(--navy-800);}
.prose .todo{
  background:var(--amber-bg); border:1px solid #f0d9b8; color:var(--amber-deep);
  border-radius:12px; padding:14px 18px; font-size:14px; margin-top:20px; line-height:1.6;
}
.prose .todo b{color:var(--amber-deep);}

/* =========================================================
   MOBILE OPTIMIZATION
   Everything below lives inside max-width media queries so the
   desktop presentation (> 1080px) stays byte-for-byte identical.
   The mobile-nav scaffolding is inert on desktop too: the menu
   wrapper is display:contents (generates no box, so layout is
   unchanged) and the hamburger button is display:none.
   ========================================================= */
.nav-menu{display:contents;}
.nav-toggle{display:none;}

/* Safety net: below desktop, never allow horizontal page scroll. clip is
   used (not hidden) so it does NOT turn the page into a scroll container —
   position:sticky on the nav keeps working. Root causes are fixed below;
   this only guarantees nothing can ever bleed past the right edge. */
@media (max-width:1080px){
  html, body{overflow-x:clip;}
}

/* ---------- navigation: hamburger + dropdown (≤820px) ---------- */
@media (max-width:820px){
  .nav-inner{position:relative;}

  /* Overflow containment — the core fix for content bleeding past the
     right edge on phones. Grid/flex items default to min-width:auto, so a
     long German word or a wide <pre> would force a track wider than the
     screen. minmax(0,1fr) lets tracks shrink, min-width:0 lets the items
     shrink, and overflow-wrap breaks the long words. */
  .pain-grid, .steps, .trust-grid{grid-template-columns:minmax(0,1fr);}
  .mod-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pain-card, .step, .trust-card, .mod, .price-card, .hero-card{min-width:0;}
  .term{max-width:100%;}
  .istep{grid-template-columns:54px minmax(0,1fr);}
  .istep .ibody{min-width:0;}
  .req-layout > div{min-width:0;}
  .req-row{grid-template-columns:minmax(0,1fr) minmax(0,2fr);}
  .req-row > div{min-width:0;}
  .pd-body{grid-template-columns:148px minmax(0,1fr);}
  .mod h4, .mod p, .crit, .req-row .rv, .footer ul a,
  .cell-yes > span, .cell-no > span, .cell-neu > span{overflow-wrap:break-word;}

  .nav-toggle{
    display:inline-flex; align-items:center; justify-content:center;
    margin-left:auto; width:44px; height:44px; padding:0; flex:none;
    background:var(--surface); border:1px solid var(--border-strong);
    border-radius:11px; color:var(--ink); cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }
  .nav-toggle:hover{border-color:var(--slate-400);}
  .nav-toggle-bars{position:relative; width:20px; height:14px; display:block;}
  .nav-toggle-bars span{
    position:absolute; left:0; right:0; height:2px; border-radius:2px; background:currentColor;
    transition:transform .22s ease, opacity .15s ease, top .22s ease;
  }
  .nav-toggle-bars span:nth-child(1){top:0;}
  .nav-toggle-bars span:nth-child(2){top:6px;}
  .nav-toggle-bars span:nth-child(3){top:12px;}
  .nav.open .nav-toggle-bars span:nth-child(1){top:6px; transform:rotate(45deg);}
  .nav.open .nav-toggle-bars span:nth-child(2){opacity:0;}
  .nav.open .nav-toggle-bars span:nth-child(3){top:6px; transform:rotate(-45deg);}

  .nav-menu{
    position:absolute; top:100%; left:0; right:0;
    display:flex; flex-direction:column; align-items:stretch; gap:4px;
    padding:12px 20px 18px; margin:0;
    background:var(--surface);
    border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-lg);
    max-height:80vh; overflow-y:auto;
    opacity:0; visibility:hidden; transform:translateY(-10px);
    transition:opacity .2s ease, transform .2s ease, visibility .2s;
    pointer-events:none;
  }
  .nav.open .nav-menu{opacity:1; visibility:visible; transform:none; pointer-events:auto;}

  .nav-menu .nav-links{display:flex; flex-direction:column; gap:2px; margin-left:0;}
  .nav-menu .nav-links a{font-size:16px; padding:12px; border-radius:10px; color:var(--ink);}
  .nav-menu .nav-links a:hover{background:var(--bg-2);}
  .nav-menu .nav-right{
    margin-left:0; flex-direction:column; align-items:stretch; gap:9px;
    margin-top:10px; padding-top:14px; border-top:1px solid var(--border);
  }
  .nav-menu .nav-right .btn{width:100%; justify-content:center; padding:13px 18px; font-size:15.5px;}

  /* ---------- comparison table → stacked cards ---------- */
  .ctable{border-radius:var(--radius);}
  .crow.chead{display:none;}
  .crow{display:block; padding:18px 18px 16px; border-bottom:1px solid rgba(255,255,255,.09);}
  .crow:last-child{border-bottom:none;}
  .crow > div{padding:0; border:none;}
  .crow .crit{font-size:15.5px; font-weight:600; color:#fff; margin-bottom:13px;}
  .crow .clavis, .crow > div:last-child{border-radius:10px; padding:12px 14px;}
  .crow .clavis{background:color-mix(in srgb, var(--accent) 15%, var(--navy-950)); margin-bottom:9px;}
  .crow > div:last-child{background:rgba(255,255,255,.035);}
  .crow .clavis::before, .crow > div:last-child::before{
    display:block; font-family:var(--mono); font-size:10px; letter-spacing:.1em;
    text-transform:uppercase; margin-bottom:7px;
  }
  .crow .clavis::before{content:"Clavis · On-Premise"; color:#8fb6f2;}
  .crow > div:last-child::before{content:"SaaS-DSGVO-Tools"; color:#8b97ad;}

  /* requirements grid (jetzt-starten) collapses to one column */
  .req-layout{grid-template-columns:1fr; gap:28px;}
}

/* ---------- phone layout (≤640px) ---------- */
@media (max-width:640px){
  .wrap{padding:0 20px;}
  .nav-inner{padding:12px 20px;}
  .hero-inner{padding:0 20px;}

  .section{padding:60px 0;}
  .section-intro{margin-bottom:34px;}
  .section-intro p{font-size:16px; margin-top:14px;}

  /* hero */
  .hero{padding:52px 0 40px;}
  .hero h1{font-size:34px;}
  .hero-lede{font-size:17px; margin-top:20px;}
  .hero-cta{flex-direction:column; align-items:stretch; gap:10px; margin-top:26px;}
  .hero-cta .btn{width:100%; justify-content:center;}
  .hero-note{margin-top:18px;}
  .trustline{margin-top:30px; padding-top:20px; gap:9px 20px;}
  .btn-lg{padding:15px 22px; font-size:16px;}

  /* final CTA blocks stack full-width */
  .final-inner{gap:28px;}
  .final-cta{flex-direction:column;}
  .final .btn{width:100%;}

  /* pricing */
  .price-card{padding:28px 22px;}
  .pc-price .amt{font-size:40px;}
  .price-addon{padding:22px 20px;}
  .price-addon .pc-cta{width:100%; justify-content:center;}

  /* product dashboard mock — drop the sidebar, give the body room */
  .pd-side{display:none;}
  .pd-body{grid-template-columns:minmax(0,1fr);}
  .pd-main{padding:15px;}
  .pd-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
  .pd-srow .nm{width:92px; font-size:10px;}

  /* footer */
  .footer{padding:52px 0 32px;}
  .footer-base{flex-direction:column; gap:10px; align-items:flex-start; margin-top:36px;}

  /* jetzt-starten */
  .start-hero{padding:44px 0 40px;}
  .start-hero h1{font-size:30px;}
  .start-hero .lede{font-size:16.5px; margin-top:18px;}
  .dl-card{padding:22px;}
  .istep{gap:16px; padding-bottom:28px;}
  .help{padding:24px 22px;}
  .help-cta{flex-direction:column;}
  .help-cta .btn{width:100%; justify-content:center;}

  /* legal / prose */
  .legal{padding:44px 0 60px;}
  .prose h2{font-size:20px;}
}

/* ---------- small phones (≤400px) ---------- */
@media (max-width:400px){
  .wrap{padding:0 16px;}
  .nav-inner{padding:11px 16px;}
  .hero-inner{padding:0 16px;}

  .hero h1{font-size:29px;}
  .start-hero h1{font-size:26px;}
  .legal h1{font-size:27px;}
  .section-intro h2{font-size:25px;}
  .pc-price .amt{font-size:36px;}

  .term{font-size:12px; padding:14px 13px;}
  .mod{padding:14px 13px; min-height:0;}
  .mod h4{font-size:15px;}

  .footer-grid{grid-template-columns:1fr;}
}

/* ---------- FAQ ---------- */
.faq{background:var(--bg-2);}
.faq-list{max-width:820px; display:grid; gap:12px;}
.faq-item{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:0 24px;}
.faq-item summary{display:flex; align-items:center; justify-content:space-between; gap:16px; cursor:pointer; list-style:none; padding:20px 0;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary h3{font-family:var(--display); font-size:18px; margin:0; font-weight:600;}
.faq-ic{flex:0 0 auto; width:22px; height:22px; border-radius:50%; border:1px solid var(--border); position:relative;}
.faq-ic::before,.faq-ic::after{content:""; position:absolute; left:50%; top:50%; width:10px; height:2px; background:var(--navy-800); transform:translate(-50%,-50%);}
.faq-ic::after{transform:translate(-50%,-50%) rotate(90deg); transition:transform .2s;}
.faq-item[open] .faq-ic::after{transform:translate(-50%,-50%) rotate(0);}
.faq-body{padding:0 0 22px; color:var(--slate-600, #4b5873); line-height:1.65;}
.faq-body p{margin:0; max-width:70ch;}
