/* Projektstyrer marketingsite - deler visuel identitet med appen (stone/amber) */
:root {
  --bg: #F5F2EC;
  --panel: #FFFFFF;
  --panel2: #FAF7F1;
  --line: #E5DFD3;
  --ink: #1C1917;
  --mute: #57534E;
  --faint: #A8A29E;
  --accent: #F59E0B;
  --accent-dark: #D97706;
  --green: #16A34A;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 236, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 18px; text-decoration: none;
}
.nav-logo-mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--accent); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--mute); font-size: 15px; font-weight: 500;
  padding: 10px 12px; border-radius: 8px; display: inline-block;
}
.nav-links a:hover { color: var(--ink); background: var(--panel2); }
.nav-links a.active { color: var(--ink); font-weight: 600; }

.btn {
  display: inline-block; text-decoration: none; text-align: center;
  font-weight: 600; font-size: 15px; border-radius: 10px;
  padding: 12px 22px; border: 0; cursor: pointer;
  min-height: 44px;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #33302C; }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { background: var(--panel2); }
.btn-lg { padding: 15px 28px; font-size: 16px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-size: 18px; cursor: pointer;
  min-width: 44px; min-height: 44px;
}

/* ── Sektioner ──────────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-dark);
  margin-bottom: 12px;
}
h1 { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(24px, 3.5vw, 32px); line-height: 1.2; font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 18px; font-weight: 600; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--mute); max-width: 640px; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { padding: 84px 0 64px; }
.hero .lead { margin-top: 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: var(--faint); }

/* ── Kort/grids ─────────────────────────────────────────────── */
.grid { display: grid; gap: 18px; margin-top: 36px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px;
}
.card-icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--panel2);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px;
}
.card h3 { margin-bottom: 6px; }
.card p { font-size: 14.5px; color: var(--mute); }

.steps { counter-reset: step; }
.step { position: relative; padding-left: 0; }
.step-number {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--ink); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}

/* ── App-preview (stiliseret produkt-illustration) ──────────── */
.app-preview {
  margin-top: 44px; background: var(--panel); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 20px 50px -30px rgba(28, 25, 23, 0.35);
  overflow: hidden;
}
.app-preview-bar {
  background: var(--ink); padding: 10px 16px; display: flex; gap: 6px; align-items: center;
}
.app-preview-dot { width: 10px; height: 10px; border-radius: 50%; background: #57534E; }
.app-preview-dot:first-child { background: var(--accent); }
.app-preview-body { display: flex; min-height: 260px; }
.app-preview-side {
  width: 170px; background: var(--panel2); border-right: 1px solid var(--line);
  padding: 16px 12px; display: flex; flex-direction: column; gap: 8px;
}
.app-preview-side span {
  font-size: 13px; color: var(--mute); padding: 8px 10px; border-radius: 8px;
}
.app-preview-side span.active { background: var(--accent); color: var(--ink); font-weight: 600; }
.app-preview-main { flex: 1; padding: 20px; }
.app-preview-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.app-preview-stat {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 12px;
}
.app-preview-stat b { display: block; font-size: 20px; }
.app-preview-stat small { color: var(--faint); font-size: 12px; }
.app-preview-row {
  background: var(--panel2); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; margin-bottom: 8px; display: flex; justify-content: space-between;
  align-items: center; font-size: 14px;
}
.app-preview-row .tag {
  background: #DCFCE7; color: #166534; font-size: 12px; font-weight: 600;
  padding: 2px 10px; border-radius: 99px;
}
.app-preview-row .tag.amber { background: #FEF3C7; color: #92400E; }

/* ── Pris ───────────────────────────────────────────────────── */
.price-card {
  max-width: 440px; margin: 36px auto 0;
  background: var(--panel); border: 2px solid var(--ink); border-radius: 18px;
  padding: 32px; text-align: left;
}
.price-badge {
  display: inline-block; background: var(--accent); color: var(--ink);
  font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 99px;
  margin-bottom: 14px;
}
.price-amount { font-size: 44px; font-weight: 700; }
.price-amount small { font-size: 16px; font-weight: 500; color: var(--mute); }
.price-vat { font-size: 13px; color: var(--faint); margin-bottom: 18px; }
.price-list { list-style: none; margin: 0 0 24px; }
.price-list li {
  padding: 8px 0 8px 30px; position: relative; font-size: 15px;
  border-bottom: 1px solid var(--panel2);
}
.price-list li::before {
  content: "✓"; position: absolute; left: 2px; color: var(--green); font-weight: 700;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq { max-width: 720px; margin: 36px auto 0; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  margin-bottom: 10px; padding: 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 16px 20px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 44px;
}
.faq summary::after { content: "+"; font-size: 20px; color: var(--faint); flex-shrink: 0; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 16px; color: var(--mute); font-size: 15px; }

/* ── CTA-banner ─────────────────────────────────────────────── */
.cta-banner {
  background: var(--ink); color: #fff; border-radius: 18px;
  padding: 44px 32px; text-align: center;
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: #D6D3D1; max-width: 560px; margin: 10px auto 24px; }

/* ── Juridiske sider ────────────────────────────────────────── */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 20px 72px; }
.legal h1 { font-size: 30px; margin-bottom: 8px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--mute); font-size: 15.5px; margin-bottom: 10px; }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 14px; }
.legal-updated { font-size: 13px; color: var(--faint); margin-bottom: 24px; }
.draft-banner {
  background: #FEF3C7; border: 2px solid var(--accent); border-radius: 12px;
  padding: 14px 18px; margin: 20px 0 28px; font-size: 14.5px; color: #92400E;
  font-weight: 600;
}

/* ── Diverse ────────────────────────────────────────────────── */
.integration-row {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px;
}
.integration-pill {
  background: var(--panel); border: 1px solid var(--line); border-radius: 99px;
  padding: 10px 20px; font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; gap: 8px;
}

.app-banner {
  display: none; background: var(--ink); color: #fff; text-align: center;
  padding: 10px 16px; font-size: 14px;
}
.app-banner a { color: var(--accent); font-weight: 600; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line); padding: 44px 0 36px; margin-top: 24px;
  font-size: 14px; color: var(--mute);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); margin-bottom: 12px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--mute); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }

/* ── Mobil ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .app-preview-side { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 56px 0 44px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--panel); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 12px 16px 16px; gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .btn { margin-top: 6px; }
  .hero-cta .btn { width: 100%; }
  .app-preview-stats { grid-template-columns: 1fr; }
}
