/*-- imported fonts --*/
@font-face {
  font-family: "regular";
  src: url("../fonts/Ubuntu-Regular.woff") format("woff");
}

@font-face {
  font-family: "bold";
  src: url("../fonts/Ubuntu-Bold.woff") format("woff");
}

/*-- vars --*/
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  overflow-x: hidden;
  max-width: 100%;
}

h1 {
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: #231f20;
  font-size: 100px;
  line-height: 110px;
  margin: 0;
}

@media (max-width: 992px) {
  h1 {
    font-size: 42px;
    line-height: 50px;
  }
}

h2 {
  font-family: "din-condensed", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: #231f20;
  font-size: 50px;
  line-height: 58px;
  margin: 50px 0 20px;
}

@media (max-width: 992px) {
  h2 {
    font-size: 26px;
    line-height: 32px;
  }
}

h3 {
  font-family: "bold", sans-serif;
  color: #fff;
  font-size: 22px;
  line-height: 30px;
  margin: 0 0 22px;
}

p {
  font-family: "regular", sans-serif;
  color: #231f20;
  font-size: 16px;
  line-height: 22px;
}

@media (max-width: 768px) {
  p {
    font-size: 16px;
  }
}

.bold {
  font-family: "bold", sans-serif;
}

.p-link {
  font-family: "regular", sans-serif;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  text-decoration: none;
  position: relative;
  padding: 0 20px 0 0;
  font-weight: 700;
  transition: all 0.2s ease;
}

.p-link:before {
  content: url(../img/p-link-arrow.svg);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate(0, -50%);
  transition: all 0.2s ease;
}

.p-link:hover:before {
  right: -5px;
  transition: all 0.2s ease;
}

/*-- colors --*/
.bg-lightbeige {
  background: #f6f4f1;
}

.bg-lightbeige .container {
  position: relative;
  z-index: 1;
}

.white {
  color: #fff;
}

.bg-grey {
  background: #ddd8d8;
}

/*-- img + border --*/
.img-radius {
  border-radius: 10px;
}
.img-border-2 {
  box-shadow: 10px 10px 0 #f04d22;
  border-radius: 10px;
}

.img-border-1 {
  box-shadow: -10px 10px 0 #f04d22;
  border-radius: 10px;
}

@media (max-width: 576px) {
  .img-border-2 {
    box-shadow: 5px 5px 0 #f04d22;
  }
}
/*-- topbar --*/
.topbar {
  background: #fff;
  padding: 15px 0;
  transition: all 0.2s ease;
}

.topbar .logo {
  width: 170px;
}

@media (max-width: 992px) {
  .topbar .logo {
    width: 150px;
  }
}

/*-- topbar scroll --*/
.topbar-scroll {
  transition: all 0.2s ease;
  padding: 10px 0;
}

/*-- hero Vector --*/
.hero-bg-vector {
  position: absolute;
  top: 100px;
  width: 70%;
  min-width: 1150px;
  z-index: -1;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .hero-bg-vector {
    min-width: 900px;
  }
}

@media (max-width: 992px) {
  .hero-bg-vector {
    min-width: 700px;
  }
}

@media (max-width: 768px) {
  .hero-bg-vector {
    min-width: 500px;
  }
}
/*-- hero --*/
.hero {
  margin-top: 80px;
  padding: 5rem 0 20rem 0;
}

@media (max-width: 768px) {
  .hero {
    padding: 3rem 0 10rem 0;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 2.5rem 0 10rem 0;
  }
}

.intro {
  font-family: "din-condensed", sans-serif;
  font-size: 35px;
  line-height: 42px;
}

@media (max-width: 768px) {
  .intro {
    font-size: 26px;
    line-height: 30px;
  }
}

/*-- Video position --*/
.video-position-hero {
  margin-top: -17rem;
  z-index: 9;
}

@media (max-width: 992px) {
  .video-position-hero {
    margin-top: -9rem;
  }
}

/*-- save job btn --*/
.jobad-element-myjob {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jobad-element-myjob a {
  border-radius: 8px;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  font-family: "regular", sans-serif;
  background: #a8968a;
  padding: 15px 30px 15px 50px;
  display: block;
  text-decoration: none;
  margin: 0 10px 0 0;
  position: relative;
  transition: all 0.2s ease;
}

.jobad-element-myjob svg {
  position: absolute;
  top: 50%;
  left: 35px;
  transform: translate(-50%, -50%);
}

.jobad-element-myjob:hover a {
  background: #c8beb8;
  transition: all 0.2s ease;
  color: #231f20;
}

@media (max-width: 992px) {
  .jobad-element-myjob a {
    padding: 15px 20px 15px 45px;
  }
  .jobad-element-myjob svg {
    left: 30px;
  }
}

/*-- JIX btn and  --*/
.cta,
.jix_onlineapplication_button .button {
  font-family: "regular", sans-serif;
  background: #f04d22;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  font-weight: 400;
  border-radius: 8px;
  border: 0;
  margin: 0;
  padding: 15px 30px;
  text-align: center;
  transition: all 0.2s ease;
  position: relative;
  text-decoration: none;
  display: inline-block;
}

@media (max-width: 992px) {
  .cta,
  .jix_onlineapplication_button .button {
    padding: 15px 20px;
  }
}

.cta:hover,
.cta:active,
.jix_onlineapplication_button .button:hover,
.jix_onlineapplication_button .button:active {
  transition: all 0.2s ease;
  color: #fff;
  background: #f58a20;
  box-shadow: none;
}

/*-- cta secondary --*/
.cta-secondary {
  font-family: "bold", sans-serif;
  font-size: 18px;
  line-height: 24px;
  color: #f58a20;
}

.cta-secondary-img {
  width: 60px;
  padding: 8px;
}

.read-more-btn:hover .con-box .cta-secondary {
  background: #f58a20;
  color: #fff;
  transition: all 0.2s ease;
}

.shake {
  animation: shake 2s ease infinite;
}
@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }
  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }
  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

/*-- Liste --*/
.liste ul {
  list-style: none;
  padding: 30px 0;
  margin: 20px 0 40px;
}

.liste ul li:before {
  content: none;
  width: 20px;
  display: inline-block;
  position: absolute;
  top: -5px;
  left: 0;
}

@media (max-width: 992px) {
  .liste ul {
    padding: 20px 15px;
    margin: 20px 0 10px;
  }
}

.liste ul li {
  font-family: "regular", sans-serif;
  color: #000;
  font-size: 16px;
  line-height: 22px;
  margin: 0 0 25px;
  padding: 0 0 0 40px;
  position: relative;
}
.liste ul li:before {
  content: url(../img/list-checkmark.svg);
  width: 20px;
  display: inline-block;
  position: absolute;
  top: 2px;
  left: 0;
}

/*-- krav - elev img --*/
@media (max-width: 992px) {
  .elev-img {
    object-fit: cover;
    object-position: center center;
    max-height: 530px;
    min-height: 250px;
  }
}

@media (max-width: 576px) {
  .elev-img {
    object-fit: cover;
    object-position: top center;
    max-height: 270px;
    min-height: 250px;
  }
}

/*-- ratings --*/
.sub-footer {
  background: #000;
}

.ratings .sr-only {
  display: none;
}

.ratings .svg-icon {
  font-size: 30px;
  color: #fff;
}

.ratings p {
  font-size: 18px;
}

.ratings-wrapper {
  background: #000;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ratings-flex-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  padding: 2rem 0;
}

/* Tekst-styling */
.rating-text {
  color: #fff;
  font-family: "regular", sans-serif;
  font-size: 14px;
  line-height: 1;
  margin: 0 !important;
  display: flex;
  align-items: center;
}

.rating-text strong {
  font-weight: 700;
  margin-right: 4px;
}

jix-rating {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 576px) {
  .ratings-flex-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .ratings-flex-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .rating-text {
    line-height: 1.4;
  }

  .ratings p {
    font-size: 16px;
  }
}

/*-- quotes --*/
.quote,
blockquote,
.blockquote-small {
  background: #ddd8d8;
  padding: 50px;
}

@media (max-width: 992px) {
  .quote,
  blockquote,
  .blockquote-small {
    padding: 30px;
  }
}

.quote p,
blockquote p,
.blockquote-small p {
  color: #231f20;
  font-size: 26px !important;
  line-height: 34px !important;
  font-style: normal !important;
  font-family: "bold", sans-serif;
  font-weight: 600;
  margin: 0 0 15px;
}

@media (max-width: 992px) {
  .quote p,
  blockquote p,
  .blockquote-small p {
    font-size: 20px !important;
    line-height: 28px !important;
    margin: 0 0 15px;
  }
}

.quote p:before,
blockquote p:before,
.blockquote-small p:before {
  content: url(../img/quote-icon.svg) !important;
  display: block;
  margin: 0 0 15px;
}

@media (max-width: 992px) {
  .quote p:before,
  blockquote p:before,
  .blockquote-small p:before {
    content: url(../img/quote-icon-small.svg) !important;
  }
}

.quote footer,
.quote span,
blockquote footer,
blockquote span,
.blockquote-small footer,
.blockquote-small span {
  font-family: "regular", sans-serif;
  color: #231f20;
  font-size: 14px !important;
  line-height: 20px !important;
  left: 0 !important;
  margin-left: 0 !important;
}

.quote footer:before,
blockquote footer:before,
.blockquote-small footer:before {
  content: none !important;
}

/*-- quote-small --*/
.quote-small {
  background: none;
  padding: 0;
}

.quote-small p {
  font-size: 20px !important;
  line-height: 26px !important;
  font-style: italic !important;
}

@media (max-width: 992px) {
  .quote-small p {
    font-size: 18px !important;
    line-height: 24px !important;
  }
}

.quote-small p:before {
  content: url(../img/quote-icon-small.svg) !important;
}

.quote-no-bg {
  background: none;
  padding: 0;
}

/*-- Fact boxe - 4 colors--*/
.role-card {
  padding: 3rem 2.5rem;
  color: #fff;
  overflow: hidden;
}

@media (max-width: 768px) {
  .role-card {
    padding: 2rem 1.5rem;
  }
}

.role-title {
  margin-bottom: 1rem;
  font-weight: 700;
}

.role-card p {
  line-height: 1.6;
  margin-bottom: 0;
}

.role-icon {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  width: 96px;
  pointer-events: none;
}

@media (max-width: 768px) {
  .role-icon {
    right: 1.5rem;
    left: auto;
  }
}

.role-card > *:not(.role-icon) {
  position: relative;
  z-index: 1;
}

.role-dark {
  background-color: #3f3f3f;
}

.role-orange {
  background-color: #ea8f3a;
}

.role-red {
  background-color: #e05a32;
}

.role-grey {
  background-color: #8d8d8d;
}

/*-- Two video --*/
.video-card {
  position: relative;
  border-radius: 10px;
  box-shadow: 10px 10px 0 #f04d22;
  overflow: hidden;
}

.video-embed {
  border-radius: 10px;
  overflow: hidden;
}

@media (max-width: 992px) {
  .video-card,
  .video-card-right {
    box-shadow: 8px 8px 0 #f04d22;
  }
}

/*-- Elevforløb --*/
#stepsContainer {
  width: 100%;
  margin: 0;
  padding: 0;
}

.step-col {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.step-card {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 260px;
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.step-card p {
  width: 77%;
}

.step-dark {
  background-color: #3f3f3f;
}
.step-orange {
  background-color: #ea8f3a;
}
.step-red {
  background-color: #e05a32;
}
.step-grey {
  background-color: #8d8d8d;
}

.step-number {
  font-family: "din-condensed", sans-serif;
  position: absolute;
  top: -10px;
  right: 1.5rem;
  font-size: 7rem;
  font-weight: 800;
  opacity: 0.15;
  pointer-events: none;
}

.step-icon {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 60px;
  pointer-events: none;
}

/*-- Mobile swiper --*/
/* --- MOBIL INDSTILLINGER --- */
@media (max-width: 768px) {
  #stepsContainer.swiper {
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: visible !important;
    padding: 0;
    /* Vi fjerner height: auto herfra for at lade indholdet styre det */
  }

  #stepsContainer .swiper-wrapper {
    display: flex !important;
    /* Dette er det vigtigste: det tvinger alle slides til at matche den højeste boks */
    align-items: stretch !important;
    height: auto !important;
  }

  #stepsContainer .swiper-slide {
    /* Gør hver slide til en flex-container, så kortet indeni kan strække sig */
    display: flex !important;
    height: auto !important;
  }

  .step-card {
    display: flex;
    flex-direction: column;
    /* flex: 1 tvinger kortet til at udfylde 100% af højden i swiper-slide */
    flex: 1 0 auto;
    width: 100%;
    margin: 0;
    padding: 2.5rem 1.8rem;
    border-radius: 0;
  }

  .step-card p {
    /* flex-grow: 1 skubber bunden af kortet ned, så alle kort flugter i bunden */
    flex-grow: 1;
    margin-bottom: 0;
  }
}

/* --- DESKTOP INDSTILLINGER --- */
@media (min-width: 769px) {
  #stepsContainer .swiper-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    /* Tvinger alle slides i samme række til at blive lige høje */
    align-items: stretch;
  }

  #stepsContainer .swiper-slide {
    display: flex !important;
    /* 50% minus det halve af gappet (10px) */
    width: calc(50% - 10px) !important;
    margin-bottom: 0 !important; /* Gap klarer nu det hele */
  }
}

/* --- DENNE DEL ER AFGØRENDE FOR HØJDEN --- */
/* --- DESKTOP INDSTILLINGER (Fra 769px og op) --- */
@media (min-width: 769px) {
  #stepsContainer .swiper-wrapper {
    display: flex;
    flex-wrap: wrap; /* Tillader boksene at hoppe ned på næste række */
    gap: 20px; /* Afstand mellem boksene */
    justify-content: center;
    align-items: stretch; /* Gør alle bokse i samme række lige høje */
  }

  #stepsContainer .swiper-slide {
    display: flex !important;
    /* 6 col svarer til 50% bredde. Vi trækker 10px fra pga. vores gap på 20px */
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px);
    margin-bottom: 20px;
    height: auto;
  }
}

/* --- GENEREL KORT STYLING (Vigtig for højden) --- */
.step-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  flex: 1; /* Tvinger kortet til at fylde hele højden af sliden */
  padding: 2.5rem 1.8rem;
  position: relative;
  min-height: 0;
}

.step-card p {
  flex-grow: 1; /* Skubber bunden ned, så alle kort flugter */
  margin-bottom: 0;
}
/*-- kick-off --*/
section.kick-off.hero.bg-lightbeige.position-relative.overflow-hidden {
  margin-top: 0;
  padding: 1rem 0 10rem 0;
}

@media (max-width: 576px) {
  section.kick-off.hero.bg-lightbeige.position-relative.overflow-hidden {
    margin-top: 0;
    padding: 1rem 0 10rem 0;
  }
}

.video-position-kick-off {
  margin-top: -8rem;
  z-index: 9;
}

/*-- Ansog + ctw --*/
section.ansog-sektion.hero.bg-lightbeige.position-relative.overflow-hidden {
  padding: 2rem 0 5rem 0;
  margin-top: 7rem;
}

@media (max-width: 1200px) {
  section.ansog-sektion.hero.bg-lightbeige.position-relative.overflow-hidden {
    margin-top: 2rem;
  }
}

@media (max-width: 992px) {
  section.ansog-sektion.hero.bg-lightbeige.position-relative.overflow-hidden {
    margin-top: 5rem;
  }
}

@media (max-width: 576px) {
  section.ansog-sektion.hero.bg-lightbeige.position-relative.overflow-hidden {
    padding: 1rem 0 3.5rem 0;
    margin-top: 4rem;
  }
}
/*-- footer --*/
.footer {
  background: #231f20;
}

.footer a {
  color: #fff;
}

.footer-logo {
  width: 170px;
  display: block;
}

@media (max-width: 992px) {
  .footer-logo {
    margin: 0 auto;
  }
}

.footer h5 {
  font-family: "regular", sans-serif;
  font-size: 22px;
  line-height: 26px;
  color: #000;
  margin: 0 0 20px;
}

/*-- some --*/
.some a {
  display: inline-block;
  opacity: 1;
  transition: all 0.2s ease;
  margin: 0 0 0 10px;
}

.some a:hover {
  opacity: 0.6;
  transition: all 0.2s ease;
}

.some-centered a {
  margin: 0 5px 0;
}

/*-- ScrollTrigger GSAP --*/
.fade-up,
.fade-up-two,
.fade-up-three {
  opacity: 0;
  transform: translate(0, 70px);
}

.fade-down,
.fade-down-two,
.fade-down-three {
  opacity: 0;
  transform: translate(0, -70px);
}

.fade-in,
.fade-in-two,
.fade-in-three {
  opacity: 0;
  position: relative;
  z-index: 60;
}

.shake-arrow {
  display: inline-block;
}

/*-- modal vindue pop-up --*/
.fixed-bottom-right {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 220px;
  cursor: pointer;
  z-index: 1050;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.fixed-bottom-right:hover {
  transform: translateY(-5px);
}

.launcher-header {
  background-color: #5da0e9;
  color: #ffffff;
  padding: 10px 15px;
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.launcher-body {
  background-color: #f8f9fa;
  color: #333333;
  padding: 12px 15px;
  text-align: center;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.modal-dialog {
  max-width: 780px;
}
.assessment-modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.assessment-modal-header {
  background-color: #5da0e9 !important;
  color: #ffffff;
  border: none;
  padding: 1.5rem;
}

.assessment-description {
  margin-bottom: 1.5rem;
  color: #444;
}

.assessment-info-strip {
  background-color: #f1f1f1;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
}

.info-divider {
  color: #ccc;
}

.assessment-deadline {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.btn-assessment-cta {
  background-color: #f04d22;
  color: #ffffff;
  padding: 10px 40px;
  border: none;
  border-radius: 10px;
  text-transform: none;
  transition: opacity 0.2s ease;
}

.btn-assessment-cta:hover {
  background-color: #f58a20;
  color: #ffffff;
  transition: opacity 0.2s ease;
}

.modal-backdrop.show {
  opacity: 0.7;
}

@media (max-width: 576px) {
  .assessment-info-strip {
    flex-direction: column;
    gap: 5px;
  }
  .info-divider {
    display: none;
  }
}
