/* Stillingssider · Habeo design v01.1 */
/* Top: marine flade som forsidens, overskrift i to toner */
.jhero {
  background: var(--navy);
  color: #f7f5ef;
  padding: 92px 0 0;
}
.jhero .crumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.4px;
  color: #a9b6c8;
  margin-bottom: 34px;
}
.jhero .crumb a:hover {
  color: #fff;
}
.jhero .crumb b {
  overflow-wrap: anywhere;
  min-width: 0;
  font-weight: 500;
  color: #e7e9ee;
}
.jhero :is(.jheadline, h1:not(.eyebrow)) {
  font-size: clamp(44px, 5.2vw, 78px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -3.6px;
  max-width: 15em;
  text-wrap: balance;
}
.jhero .jheadline em {
  color: #ead7b3;
  display: block;
}
.jhero.stilling h1 {
  font-size: clamp(40px, 4.5vw, 66px);
  letter-spacing: -2.8px;
}
.jhero .lead {
  font-size: 17px;
  line-height: 1.7;
  color: #c4cfdd;
  max-width: 36em;
  margin: 28px 0 0;
}
.jhero .cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.jhero .btn {
  text-decoration: none;
}
.jfacts {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid #ffffff1c;
  margin-top: 64px;
}
.jfacts div {
  padding: 24px 28px 30px 0;
  min-width: 0;
}
.jfacts div + div {
  border-left: 1px solid #ffffff1c;
  padding-left: 28px;
}
.jfacts dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #cbb58f;
  margin-bottom: 9px;
}
.jfacts dd {
  margin: 0;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.4px;
  color: #f7f5ef;
  overflow-wrap: anywhere;
}
.jfacts dd small {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  color: #a9b6c8;
  margin-top: 5px;
  line-height: 1.5;
}
.jfacts dd a {
  border-bottom: 1px solid #ffffff3a;
}

/* Oversigten */
.jsec {
  padding: 96px 0 32px;
}
.jsec h2 em {
  color: #7c8b9d;
  display: block;
}
.jcards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 44px;
}
.jcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 32px 30px 28px;
  transition:
    border 0.2s,
    transform 0.3s,
    box-shadow 0.3s;
}
.jcard:hover,
.jcard:focus-visible {
  transform: translateY(-4px);
  border-color: #c1a16a;
  box-shadow: 0 15px 30px #2539540c;
}
.jcard small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9b8d77;
  margin-bottom: 14px;
}
.jcard h3 {
  font-size: 27px;
  line-height: 1.14;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 12px;
  text-wrap: balance;
}
.jcard p {
  font-size: 14px;
  line-height: 1.7;
  color: #5c6c81;
  margin-bottom: 26px;
}
.jcard dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  border-top: 1px solid #e6eaef;
  margin: auto 0 0;
  padding-top: 20px;
}
.jcard dt {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #8e9baa;
  margin-bottom: 5px;
}
.jcard dd {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink);
}
.jgo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  margin-top: 24px;
}
.jcard.u {
  grid-column: 1/-1;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: #f3ecdd;
  border-color: #e6dcc6;
  padding: 28px 30px;
}
.jcard.u h3 {
  font-size: 22px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}
.jcard.u p {
  margin: 0;
  max-width: 44em;
}
.jcard.u .jgo {
  margin: 0;
  white-space: nowrap;
}
.jtom {
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 40px 36px;
  margin-top: 44px;
  max-width: 760px;
}
.jtom h3 {
  font-size: 27px;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 12px;
}
.jtom p {
  font-size: 15px;
  line-height: 1.7;
  color: #5c6c81;
  margin-bottom: 26px;
  max-width: 36em;
}

/* Trin */
.jsteps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  margin-top: 44px;
  padding: 0;
  list-style: none;
}
.jsteps li {
  padding: 30px 28px 32px;
}
.jsteps li + li {
  border-left: 1px solid #e6eaef;
}
.jsteps i {
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.6px;
  color: #ad8a4c;
  display: block;
  margin-bottom: 16px;
}
.jsteps b {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--navy);
  display: block;
  margin-bottom: 9px;
}
.jsteps span {
  font-size: 13.5px;
  line-height: 1.7;
  color: #5c6c81;
  display: block;
}

/* Stillingssiden */
.jbody {
  display: grid;
  grid-template-columns: minmax(0, 720px) 330px;
  justify-content: space-between;
  gap: 72px;
  padding: 80px 0 104px;
}
.jprose > p:first-child {
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 26px;
}
.jprose :is(h2, h3) {
  font-size: 31px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  color: var(--navy);
  margin: 60px 0 18px;
  text-wrap: balance;
}
.jprose p {
  font-size: 16px;
  line-height: 1.78;
  color: #4a5a70;
  margin-bottom: 16px;
}
.jprose ul {
  list-style: none;
  margin: 8px 0 26px;
  padding: 0;
}
.jprose li {
  position: relative;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  padding: 9px 0 9px 30px;
}
.jprose li:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 15px;
  width: 11px;
  height: 6px;
  border-left: 1.6px solid #ad8a4c;
  border-bottom: 1.6px solid #ad8a4c;
  transform: rotate(-45deg);
}
.jside {
  position: sticky;
  top: 112px;
  align-self: start;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 28px;
}
.jside small {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: #9b8d77;
  display: block;
  margin-bottom: 12px;
}
.jside b {
  font-size: 21px;
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.7px;
  color: var(--navy);
  display: block;
  margin-bottom: 22px;
  text-wrap: balance;
}
.jside .btn {
  width: 100%;
}
.jside .kp {
  border-top: 1px solid #e6eaef;
  margin-top: 24px;
  padding-top: 20px;
  font-size: 13.5px;
  line-height: 1.8;
  color: #5c6c81;
}
.jside .kp strong {
  font-weight: 500;
  color: var(--navy);
  display: block;
  font-size: 15px;
}
.jside .kp a {
  color: var(--navy);
  border-bottom: 1px solid #d7e0ea;
}

/* Formular og virksomhedskontakt */
.japply {
  background: #eef2f6;
  border-top: 1px solid #e0e6ee;
  padding: 96px 0 104px;
}
.japply .g {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}
.japply h2 em {
  color: #7c8b9d;
  display: block;
}
.japply .lede {
  font-size: 1rem;
  line-height: 1.75;
  color: #5c6c81;
  max-width: 30em;
  margin-top: 22px;
}
.japply .ct {
  border-top: 1px solid #d3dbe6;
  margin-top: 34px;
  padding-top: 22px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #5c6c81;
}
.japply .ct :is(b, strong) {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  display: block;
}
.japply .ct a {
  color: var(--navy);
  text-underline-offset: 3px;
  text-decoration: underline;
}
.lf {
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 10px;
  padding: 34px 32px 32px;
  min-width: 0;
}
.lf .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.lf .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.lf fieldset {
  grid-column: 1/-1;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.lf [hidden] {
  display: none !important;
}
.lf :is(.w, .fu, .cs, .ac, .err),
.lf label:has(input[type="email"], input[type="file"], input[type="checkbox"], textarea) {
  grid-column: 1/-1;
}
.lf label {
  display: block;
  color: #4e6077;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.5;
}
.lf :is(input:not([type="checkbox"]):not([type="hidden"]), textarea) {
  width: 100%;
  min-width: 0;
  border-radius: 6px;
  border: 1px solid #b9c6d6;
  padding: 12px 14px;
  font-size: 1rem;
  margin-top: 6px;
  background: #fff;
  color: var(--navy);
}
.lf input.f[type="file"] {
  border-style: dashed;
  background: #f8fafc;
}
.lf input::file-selector-button {
  margin-right: 10px;
  color: var(--navy);
  background: #fff;
  border: 1px solid #c9d3e0;
  padding: 8px 12px;
  border-radius: 6px;
  font: inherit;
  cursor: pointer;
}
.lf textarea {
  resize: vertical;
  line-height: 1.6;
  min-height: 125px;
}
.lf .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.lf label:has(input[type="checkbox"]) {
  display: flex;
  align-items: start;
  gap: 10px;
  color: #4a5a70;
  font-weight: 400;
}
.lf input[type="checkbox"] {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin: 2px 0 0;
  accent-color: var(--navy);
}
.lf a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lf button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.lf .ac {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.lf .hd {
  font-size: 0.8125rem;
  color: #526278;
}
.lf [role="status"] {
  margin: 0 0 20px;
  color: var(--ink);
}
.lf [role="alert"] {
  color: #8a392c;
}
.jluk {
  padding: 8px 0 104px;
  max-width: 44em;
}
.jb {
  display: none;
}
.jfaq {
  padding-bottom: 88px;
}
.jfaq h2 {
  margin-bottom: 32px;
}
.jfaq :is(details, dt) {
  border-top: 1px solid var(--line);
}
.jfaq summary,
.jfaq dt {
  padding: 18px 0;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 500;
}
.jfaq summary {
  cursor: pointer;
}
.jfaq :is(dd, details p) {
  line-height: 1.65;
  margin: 0 0 20px;
  max-width: 65ch;
}
.jobs .eyebrow {
  text-transform: uppercase;
}
.jhero h1.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
}
.jhero .crumb {
  flex-wrap: wrap;
}
.jhero .lead:empty,
.jfacts:empty {
  display: none;
}
.jhero h1,
.jprose {
  overflow-wrap: anywhere;
}
@media (max-width: 1100px) {
  .jbody {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 48px;
  }
  .japply .g {
    gap: 48px;
  }
}
@media (max-width: 900px) {
  .jhero {
    padding: 56px 0 0;
  }
  .jhero :is(.jheadline, h1:not(.eyebrow)) {
    letter-spacing: -2.2px;
  }
  .jhero.stilling h1 {
    letter-spacing: -1.8px;
  }
  .jhero .lead {
    font-size: 16px;
  }
  .jfacts {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
    margin-top: 44px;
  }
  .jfacts div {
    padding: 18px 16px 20px 0;
    border-bottom: 1px solid #ffffff1c;
  }
  .jfacts div + div {
    border-left: 0;
    padding-left: 0;
  }
  .jfacts div:nth-child(even) {
    border-left: 1px solid #ffffff1c;
    padding-left: 18px;
  }
  .jfacts div:last-child:nth-child(odd) {
    grid-column: 1/-1;
  }
  .jfacts dd {
    font-size: 17px;
  }
  .jsec {
    padding: 64px 0 16px;
  }
  .jcards {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .jcard {
    padding: 26px 22px 24px;
  }
  .jcard h3 {
    font-size: 24px;
  }
  .jcard.u {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
  }
  .jsteps {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .jsteps li {
    padding: 24px 22px;
  }
  .jsteps li + li {
    border-left: 0;
    border-top: 1px solid #e6eaef;
  }
  .jbody {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 48px 0 64px;
  }
  .jside {
    display: none;
  }
  .jprose > p:first-child {
    font-size: 20px;
  }
  .jprose :is(h2, h3) {
    font-size: 26px;
    margin-top: 46px;
  }
  .japply {
    padding: 64px 0 72px;
  }
  .japply .g {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lf {
    padding: 24px 18px;
  }
  .lf .form-grid {
    grid-template-columns: 1fr;
  }
  .lf .f {
    font-size: 16px;
  }
  .jtom {
    padding: 28px 22px;
  }
  .jb {
    display: flex;
    position: sticky;
    min-width: 0;
    grid-column: 1/-1;
    bottom: 0;
    z-index: 40;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: var(--navy-deep);
    color: #e7e9ee;
    border-top: 1px solid #ffffff1c;
    padding: 11px 18px calc(11px + env(safe-area-inset-bottom, 0px));
    transition: transform 0.2s;
  }
  .jb span {
    font-size: 12.5px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .jb a {
    flex: none;
    font-size: 13px;
    font-weight: 500;
    background: var(--gold);
    color: var(--navy);
    border-radius: 7px;
    padding: 11px 16px;
  }
  .jfaq {
    padding-bottom: 60px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .jb,
  .jcard {
    transition: none;
  }
}

.jobs .lf label[hidden] {
  display: none;
}
