:root {
  --content-wide-max-width: 640px;
  --swiper-pagination-color: #004b76 !important;
  --swiper-pagination-bullet-inactive-color: #bfbfbf !important;
  --swiper-pagination-bullet-inactive-opacity: 1 !important;
}

@font-face {
  font-family: "bkw";
  src: url("../font/KlintforBKWW05-Regular.woff2") format("woff");
}

@font-face {
  font-family: "bkw";
  src: url("../font/KlintforBKWW05-Bold.woff2") format("woff");
  font-weight: bold;
}

/* Reset */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: disc;
  list-style-position: inside;
  margin: 0;
  padding: 0 0 0 10px;
}

li {
  margin: 0;
  padding: 0;
}

/* Globals */

html,
body {
  position: relative;
  height: 100%;
}

body {
  background: #fff;
  font-family: bkw, Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%; /* 27px */
  color: #121212;
}

/* Layout */

#page {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#page header {
  border-top: 40px solid transparent;
  padding: 0px 15px 10px;
}

@media (min-width: 768px) {
  #page header {
    padding: 0px 50px 20px;
  }
  #page.home header,
  #page.languages header {
    border-color: #121212;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  #page.onboarding header {
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
}

#page header .header_actions {
  display: flex;
  justify-content: space-between;
  padding: 15px 0px 20px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  #page header .header_actions {
    padding-top: 40px;
  }
}

#page header #logo {
  width: 100px;
}

@media (min-width: 768px) {
  #page header #logo {
    width: 190px;
  }
}

#page header .help.mobile {
  padding-top: 15px;
  text-align: right;
}

.help.desktop {
  position: absolute;
  bottom: 50px;
  right: 50px;
  width: 40px;
  height: 42px;
  z-index: 9000;
  display: none;
}

@media (min-width: 768px) {
  #page header .help.mobile {
    display: none;
  }
  .help.desktop {
    display: inline-block;
  }
}

#page main {
  flex: 1;
}

#page main .swiper-slide {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#page main .content_header {
}

#page main .content_header_inner {
  padding: 10px 15px 0px;
  width: 100%;
  max-width: var(--content-wide-max-width, 640px);
  margin: 0 auto;
}

@media (min-width: 768px) {
  #page.onboarding main .content_header {
    border-color: #121212;
    border-top: 40px solid #000;
    background: #85cfe8;
  }
  #page main .content_header_inner {
    height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
}

.scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
}

#page main .content {
  width: 100%;
}

#page main .content .content_inner {
  padding: 10px 15px 100px;
  max-width: 420px;
  margin: 0 auto;
}

#page.home main .content .content_inner {
  padding-top: 20px;
}

#page.home main .content .content_inner p {
  font-size: 21px;
  line-height: 150%;
  max-width: 500px;
  color: #002d69;
}

@media (min-width: 768px) {
  #page.home main .content .content_inner p {
    font-size: 24px;
    line-height: 150%;
    max-width: 500px;
  }
  #page main .content .content_inner {
    padding-top: 60px;
    padding-bottom: 200px;
  }
  #page.home main .content .content_inner {
    max-width: 670px;
  }
}

@media (min-width: 768px) {
  #page main .content .content_inner.wide {
    max-width: 770px;
  }
  #page main .content .two_col {
    display: flex;
    width: 100%;
    gap: 20px;
    align-items: center;
  }
  #page main .content .two_col .preview_image img {
    width: 385px;
    height: auto;
  }
}

#page main .next_slide {
  padding: 20px 15px;
  position: absolute;
  -webkit-transform: translate3d(0, 0, 0);
  z-index: 20000;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 82px;
  text-align: center;
  background-image: url("../img/layout/footer-gradient.png");
  pointer-events: none;
}

@media (min-width: 768px) {
  #page main .next_slide {
    border-bottom: 73px solid #fff;
  }
}

#page main .next_slide .button {
  pointer-events: all;
}

#page main .next_slide .button img {
  pointer-events: none;
}

/* Checkboxes */

.checkbox_list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

input[type="checkbox"] {
  display: none;
}

input[type="checkbox"] + label {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #767676;
  cursor: pointer;
}

input[type="checkbox"]:checked + label {
  color: #121212;
}

input[type="checkbox"] + label span {
  flex: 1;
}

input[type="checkbox"] + label span ul {
  margin-top: 16px;
}

input[type="checkbox"] + label:before {
  content: "";
  display: block;
  position: relative;
  top: 2px;
  flex-basis: 21px;
  width: 21px;
  height: 21px;
  background-image: url("../img/layout/checkbox-default.svg");
}

input[type="checkbox"]:checked + label:before {
  background-image: url("../img/layout/checkbox-checked.svg");
}

/* Swiper */

.swiper {
  width: 100%;
  height: 100%;
}

/* Swiper - Pagination */

.swiper-button-prev {
  position: static;
  width: auto;
  height: auto;
  margin-top: 0;
  display: flex;
  align-items: center;
  color: #004b76;
  gap: 10px;
}

.swiper-button-prev:after {
  display: none;
}

.swiper-pagination_wrap {
  width: 100%;
}

.swiper-pagination {
  position: static;
  display: flex;
  gap: 4px;
}

@media (min-width: 768px) {
  .swiper-pagination_wrap {
    position: fixed;
    bottom: 0px;
    left: 0px;
    right: 0px;
    padding-bottom: 25px;
    padding-left: 15px;
    padding-right: 15px;
  }
  .swiper-pagination {
    position: static;
    display: flex;
    gap: 4px;
    max-width: 610px;
    margin: 0 auto;
  }
}

.swiper-pagination-bullet {
  flex: 1;
  height: 2px;
  border-radius: 0;
  margin: 0 !important;
}

.swiper-pagination-bullet:has(~ .swiper-pagination-bullet-active) {
  background-color: #004b76;
}

/* BKW Layout */

h1 {
  color: #002d69;
  font-size: 30px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
  margin-bottom: 20px;
  min-height: 2lh;
}

#page.home h1 {
  font-size: 36px;
  line-height: 130%; /* 46.8px */
}

@media (min-width: 768px) {
  h1 {
    font-size: 48px;
    line-height: 120%;
    min-height: auto;
  }
  #page.home h1 {
    font-size: 48px;
    line-height: 120%;
    min-height: auto;
  }
}

h2 {
  color: #002d69;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
}

@media (min-width: 768px) {
  h2 {
    font-size: 30px;
    line-height: 150%;
  }
}

h2.teaser {
  font-size: 30px;
  line-height: 130%;
}

.button_list {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 200px;
  margin: 0 auto;
  padding: 20px 0;
}

@media (min-width: 768px) {
  #page.home .button_list {
    margin: 0 0;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 12px 36px;
  background-color: #004b76;
  cursor: pointer;

  color: #fff;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  text-align: center;
  text-decoration: none;

  transition: background-color 0.3s;
}
.button:hover {
  background-color: #007fa7;
}

.button.dark {
  background-color: #002d69;
}
.button.dark:hover {
  background-color: #007fa7;
}

.button.ghost {
  padding: 0px;
  background-color: transparent;
  color: #004b76;
  min-width: auto;
}
.button.ghost:hover {
  background-color: transparent;
}

.button.disabled {
  pointer-events: none;
  cursor: default;
  background-color: #bfbfbf;
  color: #fff;
}
.button.disabled:hover {
  background-color: #bfbfbf;
}

/* Home */

#page.home main {
  background: #85cfe8;
}

#home_teaser_wrapper {
  display: block;
  width: 100%;
  height: 210px;
}

#home_teaser {
  display: block;
  width: 100%;
  height: 210px;
  background-image: url("../img/layout/teaser-home.png");
  background-size: cover;
  background-position: top center;
}

@media (min-width: 768px) {
  #home_teaser_wrapper {
    height: 430px;
  }
  #home_teaser {
    height: 430px;
  }
}

/* Accordion */

.accordion {
  border-top: 1px solid #e5e5e5;
}

.accordion > div {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px;
  cursor: pointer;
}

.accordion .trigger {
  display: flex;
  align-items: center;
  gap: 15px;
}

.accordion .trigger > span {
  flex: 1;
}

.accordion .trigger:after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("../img/layout/accordion-chevron-open.svg");
}

.accordion .item.closed .trigger:after {
  background-image: url("../img/layout/accordion-chevron-closed.svg");
}

.accordion .trigger img {
  width: 32px;
  height: 32px;
}

.accordion .accordion_content {
  max-height: 500px;
  transition: all 0.5s linear;
  overflow: hidden;
}

.accordion > div.closed .accordion_content {
  max-height: 0px;
}

.accordion .accordion_content > div {
  padding: 16px 0 8px 47px;
}

/* Language Teaser */

#languages_teaser_wrapper {
  display: block;
  width: 100%;
  height: 210px;
}

#languages_teaser {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 210px;
  background: #85cfe8;
  background-image: url("../img/content/chat.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

@media (min-width: 768px) {
  #languages_teaser_wrapper {
    display: block;
    width: 100%;
    height: 280px;
  }
  #languages_teaser {
    height: 280px;
    margin-top: 40px;
  }
}

.warn {
  background-color: #85cfe8;
  padding: 24px;
  font-size: 15px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  max-width: 420px;
  margin: 0 auto;
}

.warn img {
  width: 16px;
  height: 16px;
  margin-top: 5px;
}

.preview_image {
  display: flex;
  justify-content: flex-end;
  padding-top: 20px;
  gap: 20px;
}

.preview_image img {
  width: 280px;
  margin-right: -15px;
}

#slide-apps .preview_image img {
  width: auto;
  height: 115px;
}

.overlay {
  position: absolute;
  z-index: 40000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background-color: rgba(255, 255, 255, 0.2);
}

.overlay.open {
  display: flex;
}

.overlay .overlay_content {
  background-color: #002d69;
  color: #fff;
  width: 100%;
  max-width: 340px;
  padding: 55px 30px 30px;
  position: relative;
}

.overlay .overlay_close {
  position: absolute;
  top: 10px;
  right: 10px;
}

.overlay .overlay_content h2 {
  color: #fff;
}

.overlay .overlay_content a {
  color: #fff;
  text-decoration: none;
}

.overlay_img {
  position: absolute;
  z-index: 40000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: #85cfe8;
  cursor: pointer;
}

.overlay_img.open {
  display: flex;
}

.overlay_img .overlay_close {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px;
}

.overlay_img img.closeup {
  width: auto;
  height: auto;
  max-height: 70vh;
}

@media (min-height: 970px) {
  .overlay_img img.closeup {
    max-height: 680px;
  }
}

@media (max-width: 768px) {
  .overlay_img img.closeup {
    max-height: 50vh;
  }
}

.overlay_img .overlay_content {
  width: 100%;
  padding: 30px;
  overflow-x: scroll;
  text-align: center;
}

.overlay_img .overlay_content::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 7px;
}

.overlay_img .overlay_content::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.5);
}

#back_slide {
  display: none;
}
