/* Personalpunkt — Design Tokens */
:root {
  --bg: #FAFAF7;
  --bg-elev: #FFFFFF;
  --bg-soft: #F2F1EC;
  --ink: #0A0F1C;
  --ink-2: #2A2F3D;
  --ink-3: #5A6072;
  --ink-4: #8B91A1;
  --line: #E6E5DF;
  --line-2: #D9D8D1;
  --brand: #1B4F8C;
  --brand-2: #2E7BB8;
  --accent: #E87722;
  --accent-ink: #FFFFFF;
  --accent-soft: #FDEEDF;
  --success: #1F8A5B;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(10,15,28,0.04), 0 1px 1px rgba(10,15,28,0.03);
  --shadow-md: 0 4px 16px rgba(10,15,28,0.06), 0 1px 2px rgba(10,15,28,0.04);
  --shadow-lg: 0 24px 48px -12px rgba(10,15,28,0.12);

  --font-display: "Inter Tight", "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --section-y: clamp(72px, 10vw, 140px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Typography */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.95;
  font-feature-settings: "ss01";
}
.h1 { font-size: clamp(56px, 9vw, 128px); }
.h2 { font-size: clamp(40px, 6vw, 76px); line-height: 1.0; letter-spacing: -0.03em; }
.h3 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.025em; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  vertical-align: middle;
  transform: translateY(-1px);
}
.lede { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 56ch; }
.muted { color: var(--ink-3); }
.tabular { font-variant-numeric: tabular-nums; }

/* Layout */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(56px, 7vw, 96px) 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, border-color .2s, color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { filter: brightness(1.05); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 500; color: var(--ink);
  border-bottom: 1px solid var(--line-2);
  padding-bottom: 2px;
}
.btn-link:hover { border-bottom-color: var(--accent); color: var(--accent); }
.btn .arrow { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.btn:hover .arrow { transform: translateX(3px); }

/* Cards */
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s;
}
.card:hover { border-color: var(--ink); }
.card-soft {
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-lg);
}

/* Pill */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 30px; padding: 0 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 13px;
  color: var(--ink-2);
  border: 1px solid var(--line);
}
.pill .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--success) 18%, transparent);
}

/* Divider */
.hr { height: 1px; background: var(--line); border: 0; }

/* Logo */
.logo {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.025em;
  font-size: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
}
.logo img.mark {
  height: 1.6em;
  width: auto;
  display: block;
}
.logo .word { display: inline-flex; align-items: baseline; }
.logo .word .pers { color: var(--brand); }
.logo .word .punktword { color: var(--accent); }

/* Nav */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  transition: background .25s, border-color .25s, backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav-wrap.scrolled {
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-link {
  height: 36px; padding: 0 14px;
  display: inline-flex; align-items: center;
  border-radius: 999px;
  font-size: 14.5px; color: var(--ink-2);
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--ink); background: var(--bg-soft); }
.nav-link.active { color: var(--ink); background: var(--bg-soft); }

/* Marquee / Logo bar */
.trustbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px;
  align-items: center;
}
.trustbar .logo-mark {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink-4);
  font-size: 20px;
  text-align: center;
  transition: color .2s;
}
.trustbar .logo-mark:hover { color: var(--ink); }

/* Stat */
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* Form */
.input, .select, .textarea {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: var(--bg-elev);
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.textarea { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--ink) 8%, transparent);
}
.label { font-size: 13px; color: var(--ink-3); display: block; margin-bottom: 6px; }

/* Tags */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  font-size: 12.5px;
  color: var(--ink-2);
  font-family: var(--font-mono);
  border: 1px solid var(--line);
}

/* Subtle hatch placeholder */
.hatch {
  background-image: repeating-linear-gradient(135deg, var(--line) 0 1px, transparent 1px 8px);
  background-color: var(--bg-soft);
}

/* Animation utilities */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp .6s cubic-bezier(.2,.8,.2,1) both; }

/* Mobile */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .trustbar { grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
}
