:root {
  /* Farver og typografi fra kommahr.com */
  --bg: #f6f3ee;          /* paper */
  --bg-alt: #efeae1;      /* paper-deep */
  --surface: #ffffff;
  --ink: #333333;
  --ink-soft: #6a7686;    /* slate */
  --line: #e4dfd5;
  --accent: #00693e;      /* forest */
  --accent-dark: #00522f; /* forest-dk */
  --accent-soft: #e0f4e9; /* lys mint */
  --mint: #8fe3b4;
  --grass: #00a550;
  --amber: #e8973a;
  --coral: #e83946;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 32px -12px rgba(31,26,15,.14);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.04), 0 30px 70px -24px rgba(31,26,15,.28);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Mona Sans", -apple-system, system-ui, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1, h2, blockquote p { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); line-height: 1.1; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  font-weight: 700; color: var(--accent); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.comma { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  background: var(--accent); color: #fff; border: 2px solid var(--accent);
  padding: .85em 1.6em; border-radius: 999px; font: inherit; font-weight: 600;
  box-shadow: 0 8px 22px -10px rgba(0,105,62,.7);
  transition: background .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--accent); border-color: var(--line); box-shadow: 0 8px 22px -12px rgba(0,0,0,.35); }
.btn-ghost:hover { background: var(--surface); color: var(--accent-dark); border-color: var(--accent); }
.btn-small { padding: .5em 1.1em; font-size: .95rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 243, 238, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 46px; width: auto; }
.nav { --nav-gap: 28px; display: flex; align-items: center; gap: var(--nav-gap); }
.nav a:not(.btn) { text-decoration: none; font-size: .97rem; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--ink-soft); font-size: .95rem; }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 8px; }

.hero-visual { position: relative; min-height: 440px; }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); padding: 22px; }
.hero-visual .card { position: absolute; }
.profile-card { top: 0; left: 0; right: 40px; }
.match-card { top: 210px; right: 0; display: flex; gap: 16px; align-items: center; width: 290px; }
.connect-card { bottom: 0; left: 24px; display: flex; flex-direction: column; gap: 10px; font-size: .9rem; color: var(--ink-soft); }
.profile-top { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; }
.profile-top strong, .match-card strong { display: block; }
.profile-top span, .match-card span { color: var(--ink-soft); font-size: .9rem; }
.match-card small { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; }

.avatar {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 600; color: #fff; font-size: .9rem; flex-shrink: 0; border: 3px solid var(--surface);
}
.av-1 { background: var(--ink); width: 56px; height: 56px; }
.av-2 { background: var(--ink-soft); } .av-3 { background: var(--accent); } .av-4 { background: var(--amber); }
.avatar.more { background: var(--bg-alt); color: var(--ink); }
.avatars { display: flex; }
.avatars .avatar + .avatar { margin-left: -12px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chips span { background: var(--bg-alt); border-radius: 999px; padding: 4px 12px; font-size: .85rem; }
.status { font-size: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grass); box-shadow: 0 0 0 4px rgba(0,165,80,.18); }

.match-ring {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center;
  background: conic-gradient(var(--accent) 94%, var(--accent-soft) 0);
}
.match-ring span { background: var(--surface); width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.steps p { color: var(--ink-soft); margin: 0; }
.step-no {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; margin-bottom: 20px;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-rev .split-copy { order: 2; }
.split-copy > p { color: var(--ink-soft); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700;
}

.network-svg { width: 100%; max-width: 460px; margin-inline: auto; display: block; }
.network-svg line { stroke: var(--ink); stroke-width: 2; opacity: .5; stroke-dasharray: 4 6; animation: dash 20s linear infinite; }
.network-svg line.faint { opacity: .18; }
.network-svg circle { fill: var(--surface); stroke: var(--ink); stroke-width: 2; }
.network-svg circle.me { fill: var(--ink); }
.network-svg text { text-anchor: middle; font-family: inherit; font-weight: 600; font-size: 15px; fill: var(--ink); }
.network-svg text.me-t { fill: #fff; font-size: 17px; }
@keyframes dash { to { stroke-dashoffset: -200; } }

.skills-card { padding: 32px; }
.skills-card h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft); margin: 0 0 16px; }
.skills-card h4:not(:first-child) { margin-top: 28px; }
.skill { display: grid; grid-template-columns: 160px 1fr; align-items: center; gap: 12px; margin-bottom: 12px; font-size: .95rem; }
.bar { height: 8px; background: var(--bg-alt); border-radius: 999px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--ink); border-radius: inherit; }
.skill:nth-child(odd) .bar i { background: var(--accent); }
.timeline { border-left: 2px solid var(--line); padding-left: 18px; display: grid; gap: 14px; }
.timeline div { position: relative; font-size: .95rem; }
.timeline div::before { content: ""; position: absolute; left: -24px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline b { display: block; font-size: .8rem; color: var(--ink-soft); font-weight: 500; }

.section-dark { background: var(--accent); color: #fff; }
.section-dark .lead { color: rgba(255,255,255,.8); }
.section-dark .eyebrow { color: var(--mint); }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; }
.feature p { color: rgba(255,255,255,.78); margin: 0; font-size: .97rem; }
.icon { font-size: 1.6rem; margin-bottom: 14px; }

.quote-section { padding: 88px 0; }
blockquote { margin: 0 auto; max-width: 860px; text-align: center; }
blockquote p { font-size: clamp(1.5rem, 3vw, 2.2rem); font-style: italic; line-height: 1.35; }
cite { font-style: normal; color: var(--accent); font-weight: 500; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
summary { cursor: pointer; padding: 20px 24px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 24px 20px; margin: 0; color: var(--ink-soft); }

.cta-section { padding-top: 0; background: linear-gradient(var(--bg-alt) 50%, var(--bg) 50%); }
.cta-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg);
  padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
}
.cta-box > div p { color: var(--ink-soft); font-size: 1.1rem; }
.signup { display: grid; gap: 14px; }
.signup label { display: grid; gap: 6px; font-size: .9rem; font-weight: 500; }
.signup input, .signup select {
  font: inherit; padding: 12px 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink);
}
.signup input:focus, .signup select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.signup .btn { justify-self: start; }
.form-msg { margin: 0; font-size: .95rem; min-height: 1.5em; }
.form-msg.ok { color: var(--accent); }
.form-msg.err { color: var(--coral); }

.site-footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-inner img { height: 44px; width: auto; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner a { text-decoration: none; color: var(--ink-soft); }
.footer-inner p { margin: 0; color: var(--ink-soft); font-size: .9rem; }

/* Header højre side: menu, flagvælger og burger */
.header-right { display: flex; align-items: center; gap: 16px; }

/* Flagvælger (fra kommahr.com) */
.langsel { position: relative; }
.langsel-btn {
  display: flex; align-items: center; gap: 5px; padding: 5px 8px 5px 6px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color .18s, box-shadow .18s;
}
.langsel-btn:hover { border-color: var(--ink-soft); }
.langsel[data-open] .langsel-btn { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0,105,62,.14); }
.flag { width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto; box-shadow: inset 0 0 0 1px rgba(0,0,0,.22); }
.langsel .chev { width: 14px; height: 14px; color: var(--ink-soft); transition: transform .2s cubic-bezier(.4,0,.2,1); }
.langsel:not([data-open]) .chev { transform: rotate(180deg); }
.langsel-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70; margin: 0; padding: 6px; list-style: none;
  min-width: 200px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 2px 6px rgba(31,26,15,.06), 0 24px 48px -16px rgba(31,26,15,.28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s cubic-bezier(.4,0,.2,1), visibility 0s linear .18s;
}
.langsel[data-open] .langsel-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.langsel-menu button {
  display: flex; align-items: center; gap: 13px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px;
  background: transparent; cursor: pointer; font: inherit; font-size: 1rem; font-weight: 500; color: var(--ink); text-align: left;
  transition: background .15s;
}
.langsel-menu button:hover { background: var(--bg); }
.langsel-menu button[aria-selected="true"] { background: rgba(0,105,62,.07); font-weight: 600; }

/* Virksomhed-link i menu */
.nav a.nav-biz {
  position: relative; color: var(--ink); font-weight: 500;
  padding: .4em 1em; margin-inline: -.4em; border: 1.5px solid transparent; border-radius: 999px;
  transition: border-color .2s, background .2s;
}
.nav a.nav-biz::before {
  content: ""; position: absolute; top: 20%; bottom: 20%; width: 1px; background: var(--line);
  left: calc(var(--nav-gap) / -2 - .4em);
}
.nav a.nav-biz:hover { border-color: var(--line); }
.nav a.nav-biz[aria-current="page"] { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }

/* Virksomhedsside */
.tag { display: block; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .72rem; margin-bottom: 6px; }
.meta { display: block; color: var(--ink-soft); font-size: .9rem; margin-bottom: 14px; }
.biz-visual { min-height: 520px; }
.job-card { top: 0; left: 0; width: 300px; }
.job-card strong { display: block; font-size: 1.15rem; }
.job-card .chips { margin: 0; }
.candidates-card { top: 140px; right: 0; width: 330px; }
.applied-card { bottom: 0; left: 0; display: flex; gap: 14px; align-items: center; }
.applied-card strong, .applied-card span { display: block; }
.applied-card span { color: var(--ink-soft); font-size: .9rem; }
.check-badge { width: 40px; height: 40px; border-radius: 50%; background: var(--grass); color: #fff; display: grid; place-items: center; font-weight: 700; flex-shrink: 0; }
.cand-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.pill { background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 2px 10px; font-size: .8rem; font-weight: 600; }
.cand-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.cand-list li { display: flex; align-items: center; gap: 12px; }
.cand-list .avatar { width: 40px; height: 40px; font-size: .8rem; border-width: 0; }
.cand-info { flex: 1; min-width: 0; }
.cand-info b { display: block; font-weight: 600; font-size: .95rem; }
.cand-info span { color: var(--ink-soft); font-size: .82rem; }
.score { font-weight: 700; color: var(--accent); }

.ad-match { padding: 32px; }
.ad-text { font-size: 1.05rem; line-height: 1.7; margin: 4px 0 8px; }
.ad-text mark { background: var(--accent-soft); color: var(--accent-dark); padding: 1px 6px; border-radius: 6px; font-weight: 500; }
.ad-arrow { text-align: center; font-size: 1.4rem; color: var(--accent); margin: 4px 0 10px; }

.radius-svg { width: 100%; max-width: 440px; margin-inline: auto; display: block; }
.radius-svg .ring { fill: none; stroke: var(--ink); stroke-dasharray: 4 6; }
.radius-svg .r1 { fill: var(--accent-soft); stroke: none; opacity: .8; }
.radius-svg .r2 { opacity: .35; } .radius-svg .r3 { opacity: .2; }
.radius-svg .pin.on { fill: var(--accent); stroke: var(--surface); stroke-width: 3; }
.radius-svg .pin.off { fill: var(--line); }
.radius-svg .hq { fill: var(--ink); }
.radius-svg text { text-anchor: middle; font-family: inherit; }
.radius-svg .hq-t { fill: #fff; font-size: 13px; font-weight: 600; }
.radius-svg .lbl { fill: var(--ink-soft); font-size: 13px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .network-svg line { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; text-align: center; }
  .nav a.nav-biz { margin: 0; border-radius: 0; border-width: 0 0 1px; border-color: var(--line); padding: 14px 0; }
  .nav a.nav-biz::before { display: none; }
  .nav a.nav-biz[aria-current="page"] { align-self: flex-start; margin: 10px 0 4px; padding: 8px 18px; border-width: 1.5px; border-radius: 999px; }
}
@media (max-width: 1120px) {
  .nav { --nav-gap: 18px; }
  .nav a:not(.btn) { font-size: .92rem; }
}
@media (max-width: 1000px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 880px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid, .split, .cta-box { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .split-rev .split-copy { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-box { padding: 32px 24px; gap: 28px; }
  .hero-visual { max-width: 460px; }
  .biz-visual { min-height: 540px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand img { height: 38px; }
  .header-right { gap: 8px; }
  .langsel-btn { padding: 4px 6px 4px 5px; }
  .flag { width: 21px; height: 21px; }
  .features { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; display: grid; gap: 16px; }
  .hero-visual .card { position: static; width: auto; }
  .biz-visual .applied-card { display: none; }
  .skill { grid-template-columns: 1fr; gap: 6px; }
  .signup .btn { justify-self: stretch; text-align: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
