:root {
  --navy: #1B2838;
  --navy-deep: #16202D;
  --cream: #F6F2EE;
  --cream-text: #EFEAE1;
  --ink: #18181B;
  --espresso: #2A2018;
  --orange: #FB5200;
  --muted-dark: rgba(24, 24, 27, 0.65);
  --muted-light: rgba(246, 242, 238, 0.75);
  --muted-light-soft: rgba(246, 242, 238, 0.55);
  --line-light: rgba(246, 242, 238, 0.15);
  --line-cream: #DDD9D3;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

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

body {
  background: var(--navy);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em, .case-title em { font-style: italic; color: var(--orange); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.mono { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.serif { font-family: var(--serif); font-weight: 400; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease;
}
/* Tekst på orange skal vaere moerkere end navy for at klare WCAG AA (4,5:1) */
.btn-primary { background: var(--orange); color: #101820; }
.btn-primary:hover { background: #d94700; }
.btn-secondary { border: 1px solid rgba(246, 242, 238, 0.45); color: var(--cream-text); padding: 15px 32px; }
.btn-secondary:hover { border-color: var(--cream-text); }

/* Announcement + nav */
.announcement {
  background: var(--cream);
  color: var(--ink);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.nav {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 72px;
  padding: 0 64px;
  border-bottom: 1px solid var(--line-cream);
}
.nav-links { display: flex; gap: 32px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(42, 32, 24, 0.62); }
.nav-right { justify-content: flex-end; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { color: var(--orange); }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; font-size: 19px; letter-spacing: 0.28em; }

/* Hero */
.hero {
  background: radial-gradient(1100px 600px at 82% 0%, rgba(122, 72, 42, 0.28), rgba(27, 40, 56, 0)) var(--navy);
  color: var(--cream-text);
  padding: 96px 64px 104px;
}
.hero-inner {
  max-width: 1312px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-text .eyebrow { margin-bottom: 0; }
h1 { font-size: clamp(46px, 5.3vw, 76px); line-height: 1.04; color: var(--cream-text); }
.lead { font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--muted-light); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }

.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.hero-viewer { position: relative; border: 1px solid rgba(246, 242, 238, 0.14); aspect-ratio: 208 / 105; overflow: hidden; }
.hero-viewer img, .hero-viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-viewer canvas { touch-action: none; }
.hero-caption { display: flex; justify-content: space-between; gap: 16px; color: var(--muted-light-soft); font-weight: 400; }

/* Light sections */
.statement { background: var(--cream); padding: 120px 64px; }
.statement-inner { max-width: 860px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.statement h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; color: var(--espresso); margin-bottom: 20px; }
.statement p { font-size: 18px; font-weight: 300; line-height: 1.7; color: rgba(24, 24, 27, 0.7); max-width: 620px; }

.section-inner { max-width: 1200px; margin: 0 auto; }

.how { background: var(--cream); padding: 0 64px 120px; }
.how h2 { font-size: clamp(28px, 3vw, 44px); color: var(--espresso); margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { border-top: 2px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-number { color: var(--orange); font-size: 12px; }
.step h3 { font-size: 24px; font-weight: 500; color: var(--espresso); }
.step p { color: var(--muted-dark); }

/* Case */
.case {
  background: radial-gradient(900px 500px at 15% 10%, rgba(122, 72, 42, 0.22), rgba(27, 40, 56, 0)) var(--navy);
  color: var(--cream-text);
  padding: 120px 64px;
}
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; align-items: center; }
.case-figure { display: flex; flex-direction: column; gap: 14px; }
.case-figure img { border: 1px solid rgba(246, 242, 238, 0.14); }
.case-figure figcaption { color: var(--muted-light-soft); font-weight: 400; }
.case-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.case-text .eyebrow { margin-bottom: 0; }
.case-title { font-size: clamp(40px, 4.2vw, 60px); line-height: 1.05; color: var(--cream-text); }
.case-text .lead { max-width: none; }
.case-stats { display: flex; flex-wrap: wrap; gap: 48px; border-top: 1px solid var(--line-light); padding-top: 24px; width: 100%; }
.case-stats dt { font-size: clamp(24px, 2.4vw, 34px); color: var(--cream-text); }
.case-stats dd { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; color: var(--orange); margin-top: 6px; }

/* Pricing */
.pricing { background: var(--cream); padding: 120px 64px; }
.pricing h2 { font-size: clamp(28px, 3vw, 44px); color: var(--espresso); margin-bottom: 56px; }
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.tier { border-top: 2px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.tier-number { font-size: clamp(44px, 4.8vw, 68px); color: var(--espresso); line-height: 1.1; }
.tier p { color: var(--muted-dark); }
.pricing-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 56px; }
.pricing-cta p { color: var(--muted-dark); }

/* Quote form */
.quote {
  background: radial-gradient(1000px 500px at 50% 0%, rgba(122, 72, 42, 0.18), rgba(27, 40, 56, 0)) var(--navy);
  color: var(--cream-text);
  padding: 120px 64px;
}
.quote-inner { max-width: 760px; margin: 0 auto; }
/* Formularen skal klare WCAG AA: tekst >= 4,5:1 og feltrammer >= 3:1 mod navy */
.quote .eyebrow { color: #FF7A33; }
.quote h2 { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; color: var(--cream-text); margin-bottom: 40px; }
#quote-form { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
#quote-form label { display: flex; flex-direction: column; gap: 8px; width: 100%; }
#quote-form label > .mono { color: var(--muted-light); }
#quote-form input[type="text"],
#quote-form input[type="email"] {
  border: 1px solid rgba(246, 242, 238, 0.45);
  background: rgba(246, 242, 238, 0.04);
  color: var(--cream-text);
  height: 52px;
  padding: 0 16px;
  font-family: var(--sans);
  font-size: 16px;
}
#quote-form input[type="file"] {
  border: 1px dashed rgba(246, 242, 238, 0.45);
  background: rgba(246, 242, 238, 0.04);
  color: var(--muted-light);
  padding: 22px 16px;
  font-family: var(--mono);
  font-size: 11px;
  width: 100%;
}
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted-light); }
.form-status { color: #FF7A33; min-height: 1.4em; font-weight: 400; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: var(--muted-light-soft);
  border-top: 1px solid rgba(246, 242, 238, 0.08);
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--cream-text); font-weight: 500; letter-spacing: 0.28em; }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px; font-weight: 400; }
.footer-meta a:hover { color: var(--cream-text); }
.footer p { font-weight: 300; font-size: 14px; }

/* Mobile */
@media (max-width: 900px) {
  .nav { padding: 0 20px; grid-template-columns: 1fr auto 1fr; }
  .nav-links { display: none; }
  .nav-logo { grid-column: 2; }
  .hero, .statement, .how, .case, .pricing, .quote { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero-inner, .case-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps, .tiers { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .statement, .how, .case, .pricing, .quote { padding-top: 64px; padding-bottom: 64px; }
  .how { padding-top: 0; }
  .hero-actions { width: 100%; }
  .hero-actions .btn { flex: 1; text-align: center; }
  .case-stats { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
