:root {
  color-scheme: light;
  --paper: #f7f8f2;
  --ink: #181e17;
  --muted: #4e594d;
  --line: #d6dcd1;
  --green: #253b2e;
  --green-dark: #182a20;
  --lime: #d8eacb;
  --white: #fff;
  font-family: 'Aptos', 'Segoe UI', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); }
h1, h2, h3, p { margin: 0; }
p { line-height: 1.68; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #47745a; outline-offset: 4px;
}
.wrap { width: min(100% - 80px, 1200px); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -6rem; padding: .7rem; background: var(--white); z-index: 3; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; min-height: 76px; gap: 24px; }
.header-inner { justify-content: space-between; }
.identity { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 1.22rem; letter-spacing: -.04em; font-weight: 750; }
.identity img { display: block; }
nav { display: flex; gap: clamp(14px, 2.7vw, 36px); }
nav a { color: var(--muted); text-decoration: none; font-size: .95rem; font-weight: 600; padding-block: .4rem; }
nav a:hover, nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .45em; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); margin-top: 32px; border-radius: 1rem; overflow: hidden; background: var(--green-dark); color: var(--paper); }
.hero-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; padding: clamp(32px, 5.2vw, 74px); min-height: 426px; }
.job-meta { display: flex; flex-wrap: wrap; gap: 9px 16px; font-size: .9rem; color: #e6eee1; }
.job-meta span + span::before { content: '·'; margin-right: 16px; color: #b7c9b2; }
.hero h1 { font-size: clamp(2.7rem, 5.8vw, 5.45rem); line-height: .98; font-weight: 720; letter-spacing: -.072em; overflow-wrap: anywhere; }
.hero-salgsrekrutterer h1 { font-size: clamp(2rem, 4.6vw, 4.45rem); }
.hero p { color: #e1ebdf; max-width: 40ch; font-size: 1.11rem; line-height: 1.57; }
.hero-pay { display: grid; gap: 6px; }
.hero .hero-pay p { font-size: 1rem; }
.hero .hero-pay .pay-range { color: var(--lime); font-size: clamp(1.25rem, 2.3vw, 1.85rem); font-weight: 700; line-height: 1.2; }
.hero-image { position: relative; min-width: 0; min-height: 100%; overflow: hidden; background: #405643; }
.hero-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero-image.salgsleder img { object-position: 26% 50%; }
.hero-image.salgsrekrutterer img { object-position: 66% 48%; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; border: 1px solid transparent; border-radius: 6px; text-decoration: none; font: inherit; font-weight: 700; cursor: pointer; }
.button-light { color: var(--green-dark); background: var(--lime); }
.button-light:hover { background: #edf6e6; }
.button-dark { color: var(--white); background: var(--green); }
.button-dark:hover { background: var(--green-dark); }
.button:disabled { cursor: default; color: #465146; background: #e1e6de; }
.section { margin-top: clamp(48px, 7vw, 88px); }
.section h2, .apply-section h2 { font-size: clamp(1.65rem, 3vw, 2.55rem); line-height: 1.09; letter-spacing: -.054em; }
.section h3 { font-size: 1.15rem; letter-spacing: -.022em; }
.section-intro { display: grid; grid-template-columns: 1fr 1.18fr; gap: 22px; align-items: baseline; margin-bottom: 26px; }
.section-intro p, .mandate-grid p, .net-highlights p, .home-grid p, .apply-intro p { color: var(--muted); }
.mandate-grid, .home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.mandate-grid article, .home-grid article { padding: clamp(22px, 3.4vw, 38px); background: #e9efe5; border-radius: 9px; }
.mandate-grid h3, .home-grid h2 { margin-bottom: .63rem; }
.mandate-grid p, .home-grid p { max-width: 55ch; }
.role-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 6vw, 94px); }
.role-details h2 { margin-bottom: 20px; }
.points { color: var(--muted); line-height: 1.58; list-style: none; margin: 0; padding: 0; }
.points li { position: relative; padding: 0 0 14px 20px; }
.points li::before { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #557b5c; top: .69em; left: 1px; }
.net-highlights { padding: 29px 0; border-block: 1px solid var(--line); display: grid; grid-template-columns: .82fr 1.28fr; gap: 24px; }
.net-highlights p + p { margin-top: 12px; }

.apply-section { margin: clamp(54px, 8vw, 100px) 0; scroll-margin-top: 25px; display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(25px, 5vw, 80px); }
.apply-intro p { margin-top: 13px; max-width: 36ch; }
.apply-panel { padding: clamp(18px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-radius: 9px; }
.form-notice { background: #edf3ea; color: var(--green-dark); padding: 11px 13px; border-radius: 5px; margin: 12px 0 0; font-weight: 600; }
.form-notice[data-error="true"] { color: #7a2624; background: #fbefed; }
.form-notice[hidden] { display: none; }
.form-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.field { display: block; font-size: .94rem; line-height: 1.46; font-weight: 650; }
.field input, .field textarea, .field select { display: block; width: 100%; color: var(--ink); background: #fff; padding: 10px 11px; min-height: 44px; margin-top: 5px; border: 1px solid #aeb8ae; font: inherit; font-size: 1rem; font-weight: 400; border-radius: 5px; }
.field input[type="file"] { padding: 9px; }
.field textarea { resize: vertical; }
.field :disabled { background: #f4f6f3; opacity: 1; }
.span { grid-column: 1 / -1; }
.optional { color: var(--muted); font-weight: 400; }
.field-help { display: block; margin: 5px 0 0; font-size: .9rem; }
.remove-cv { min-height: 44px; padding: 0; border: 0; background: none; color: var(--green-dark); text-decoration: underline; font: inherit; cursor: pointer; }
.form-bottom { display: grid; gap: 13px; justify-items: start; }
.form-bottom p { font-size: .9rem; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.honeypot { display: none; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { flex-wrap: wrap; gap: 12px 26px; font-size: .92rem; }
.footer-inner span { margin-right: auto; }
.home-grid { margin-bottom: 80px; }
.home-meta { display: block; margin-bottom: 13px; color: var(--muted); font-size: .92rem; }
.home-grid .button { margin-top: 20px; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 46px, 1200px); }
  .hero-copy { min-height: 365px; padding: 32px; }
  .hero h1 { font-size: clamp(2.45rem, 5.7vw, 4.05rem); }
}
@media (max-width: 620px) {
  .wrap { width: calc(100% - 34px); }
  .header-inner { min-height: 61px; gap: 10px; }
  .identity { font-size: 1.05rem; gap: 4px; }
  .identity img { width: 31px; height: 31px; }
  nav { gap: 12px; }
  nav a { font-size: .87rem; }
  .hero { grid-template-columns: 1fr; margin-top: 17px; }
  .hero-copy { min-height: auto; gap: 17px; padding: 25px 22px; }
  .hero h1 { font-size: clamp(2.55rem, 9.5vw, 3.8rem); }
  .hero-salgsrekrutterer h1 { font-size: clamp(2rem, 8vw, 3.6rem); }
  .hero-image { min-height: 223px; }
  .hero p { font-size: 1rem; }
  .section-intro, .mandate-grid, .role-details, .net-highlights, .apply-section, .home-grid { grid-template-columns: 1fr; }
  .section-intro { gap: 10px; }
  .role-details, .net-highlights { gap: 20px; }
  .form-fields { grid-template-columns: 1fr; }
  .footer-inner { padding-block: 19px; }
}
@media (max-width: 365px) { .identity span { display: none; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
