/* ==========================================================================
   Klant worden (beta design, page 4) – .kw-*
   Uses the theme tokens from absoluteyou/css/config.css.
   ========================================================================== */

.kw-page {
  --kw-field: #eeecf3;
  --kw-text: #666;
  color: var(--kw-text);
}

/* Buttons & links ---------------------------------------------------------- */
.kw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.7em 2.2em;
  border: 1px solid transparent;
  border-radius: 50px;
  font-family: var(--poppins-semibold);
  font-size: 0.95vw;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.2s, opacity 0.2s;
}
.kw-btn:hover {
  box-shadow: 0 4px 12px rgba(109, 86, 154, 0.25);
}
.kw-btn--gradient,
.kw-btn--gradient:hover {
  background: var(--gradient);
  color: var(--color-white) !important;
}
/* "Volgende →": bold arrow. Poppins has no arrow glyph (a thin fallback
   font draws it), so it is thickened with a stroke in the text colour. */
.kw-next span[aria-hidden="true"] {
  font-weight: 700;
  -webkit-text-stroke: 0.06em currentColor;
}
.kw-btn--outline,
.kw-btn--outline:hover {
  background: var(--color-white);
  border-color: var(--primary-color);
  color: var(--primary-color) !important;
}
.kw-btn--white,
.kw-btn--white:hover {
  background: var(--color-white);
  color: var(--primary-color) !important;
}
.kw-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--primary-color);
  font-family: var(--poppins-semibold);
  text-decoration: underline;
  cursor: pointer;
}

/* Hero -------------------------------------------------------------------- */
.kw-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4vw;
  align-items: start;
  padding-top: 1vw;
  /* The section's own bottom padding gives the space to the next section. */
  padding-bottom: 0;
}
.kw-hero__body {
  font-family: var(--poppins-medium);
  font-size: 1vw;
}
.kw-hero__body > h1,
.kw-hero__body > h2,
.kw-hero__body > .font-30 {
  color: var(--primary-color);
  font-family: var(--poppins-medium);
  font-size: 2.8vw;
  line-height: 1.15;
  margin-bottom: 2vw;
}
.kw-hero__body > h1 strong,
.kw-hero__body > h2 strong,
.kw-hero__body > .font-30 strong {
  font-family: var(--poppins-bold);
}
.kw-hero__body > p {
  margin-bottom: 1.4vw;
}
.kw-hero__body > ul {
  list-style: none;
  padding: 0;
  margin: 1.6vw 0 0;
}
.kw-hero__body > ul > li {
  position: relative;
  padding-left: 2vw;
  margin-bottom: 0.9vw;
  font-family: var(--poppins-regular);
  font-size: 0.85vw;
}
.kw-hero__body > ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.2em;
  height: 1.2em;
  border-radius: 50%;
  background: var(--primary-color) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* Contact box */
.kw-contact {
  margin-top: 3vw;
  padding: 1.8vw 2vw;
  border-radius: 1.2vw;
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  max-width: 34vw;
}
.kw-contact__title {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 1.3vw;
  margin-bottom: 1.2vw;
}
.kw-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
}
.kw-contact__btn {
  display: flex;
  flex-direction: column;
  padding: 0.5vw 1.6vw;
  border: 1px solid var(--primary-color);
  border-radius: 0.8vw;
  color: var(--primary-color);
  font-size: 0.75vw;
  line-height: 1.4;
  text-decoration: none;
}
.kw-contact__btn:hover {
  background: var(--search-bg);
  color: var(--primary-color);
}
.kw-contact__btn strong {
  font-family: var(--poppins-semibold);
  font-weight: normal;
}
.kw-contact__login {
  margin: 1.2vw 0 0;
  font-family: var(--poppins-semibold);
  font-size: 0.75vw;
}
.kw-contact__login a {
  color: var(--primary-color);
}
/* "Log in op MyCORE →" (design): arrow after the link, part of the link. */
.kw-contact__login a::after {
  content: "\00a0\2192";
}

/* Form card ---------------------------------------------------------------- */
.kw-card {
  padding: 2.4vw 2.6vw 1.6vw;
  border-radius: 1.2vw;
  background: var(--color-white);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}
/* Old theme styles for the form (lilac box, flex column). */
form.kw-form.employer-info-form {
  display: block;
  background: none;
}
/* Old theme styles for this wrapper (lilac box, padding). */
.kw-hero__form.personal-form-wrapper {
  padding: 0;
  background: none;
  border-radius: 0;
}

.kw-form.kw-js .kw-step {
  display: none;
}
.kw-form.kw-js .kw-step.is-active {
  display: block;
}
.kw-step + .kw-step {
  margin-top: 2vw;
}
.kw-form.kw-js .kw-step + .kw-step {
  margin-top: 0;
}
.kw-step__title {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 1.5vw;
  line-height: 1.25;
  margin-bottom: 0.4vw;
}
.kw-step__subtitle {
  color: var(--kw-text);
  font-size: 0.8vw;
  margin-bottom: 1.6vw;
}
.kw-step__subtitle:empty {
  display: none;
}

/* Progress bar */
.kw-steps {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 0 1.8vw;
  padding: 0;
}
.kw-steps__item {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: var(--kw-text);
  font-family: var(--poppins-semibold);
  font-size: 0.75vw;
  white-space: nowrap;
}
/* Steps 2 and 3 take the free space: their connecting line grows, so the bar
   spans the full width of the card (design). */
.kw-steps__item + .kw-steps__item {
  flex: 1 1 auto;
}
.kw-steps__item + .kw-steps__item::before {
  content: "";
  flex: 1 1 3vw;
  min-width: 3vw;
  height: 1px;
  margin: 0 0.8vw;
  background: var(--primary-color);
}
.kw-steps__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.7vw;
  height: 1.7vw;
  border-radius: 50%;
  background: var(--search-bg);
  color: var(--primary-color);
  font-size: 0.7vw;
}
.kw-steps__item.is-current .kw-steps__dot,
.kw-steps__item.is-done .kw-steps__dot {
  background: var(--primary-color);
  color: var(--color-white);
}

/* Fields */
.kw-form .form-item,
.kw-form .js-form-wrapper.form-wrapper {
  margin: 0 0 1.2vw;
}
.kw-form label,
.kw-form .fieldset-legend,
.kw-form legend {
  display: block;
  margin-bottom: 0.4vw;
  color: var(--kw-text);
  font-family: var(--poppins-bold);
  font-size: 0.8vw;
}
.kw-form legend span,
.kw-form label span {
  font-family: var(--poppins-regular);
}
.kw-form input.form-control,
.kw-form select.form-control,
.kw-form textarea.form-control {
  width: 100%;
  min-height: 2.6vw;
  padding: 0.55vw 1vw;
  border: 1px solid transparent;
  border-radius: 0.5vw;
  background-color: var(--kw-field);
  box-shadow: none;
  color: #333;
  font-size: 0.85vw;
}
.kw-form input.form-control:focus,
.kw-form select.form-control:focus,
.kw-form textarea.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}
.kw-form fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}
.kw-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.2vw;
}
.kw-form .phone-container .iti {
  width: 100%;
}
.kw-form .iti--allow-dropdown input.form-control,
.kw-form .iti--separate-dial-code input.form-control {
  padding-left: 52px;
}

/* VAT row */
.kw-vat-row {
  display: grid;
  /* Design: input ~63%, "Opzoeken" ~37% of the row. */
  grid-template-columns: minmax(0, 63fr) minmax(0, 37fr);
  gap: 0 1vw;
  align-items: end;
}
.kw-vat-row .form-item {
  margin-bottom: 0;
}
/* Empty VAT field (design): bold purple "BE" in front of the grey
   placeholder "0123.456.789". A placeholder can't mix styles, so "BE" is
   drawn in front of it. Only while the field is empty and not focused: on
   click it disappears and the cursor starts at the normal position, so the
   visitor can type the number with or without "BE". */
.kw-vat-input .form-item:has(input:placeholder-shown:not(:focus)) {
  position: relative;
}
.kw-vat-input .form-item:has(input:placeholder-shown:not(:focus))::after {
  content: "BE";
  position: absolute;
  left: 1vw;
  bottom: 0;
  height: 2.6vw;
  display: flex;
  align-items: center;
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 0.85vw;
  pointer-events: none;
}
.kw-vat-input input:placeholder-shown:not(:focus) {
  padding-left: calc(1vw + 1.6em) !important;
}
.kw-vat-action .kw-btn {
  min-height: 2.6vw;
  padding-top: 0;
  padding-bottom: 0;
  font-size: 0.8vw;
}
/* "Opzoeken" (design): full-width rounded rectangle like the input next to
   it, thin purple border, bold text, no shadow. */
.kw-vat-action .kw-lookup {
  width: 100%;
  border: 1px solid var(--primary-color);
  border-radius: 0.5vw;
  font-family: var(--poppins-bold);
  font-size: 0.85vw;
}
.kw-vat-action .kw-lookup:hover {
  box-shadow: none;
  background: var(--kw-field);
}
.kw-vat-action .kw-lookup:focus {
  outline: none;
}
.kw-vat-action .kw-lookup:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}
/* Loading icon (Drupal AJAX throbber, added after the button while the
   lookup runs): on top of the button, at its right end inside the border,
   instead of on the next line. The button keeps its full width. */
.kw-vat-action {
  position: relative;
}
.kw-vat-action .ajax-progress {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1vw;
  display: flex;
  align-items: center;
  margin: 0;
  line-height: 1;
  pointer-events: none;
}
.kw-vat-action .ajax-progress .throbber {
  margin: 0;
}
@media (max-width: 991px) {
  .kw-vat-action .ajax-progress {
    right: 14px;
    bottom: auto;
    height: 44px; /* the button height on mobile */
  }
}
.kw-hint {
  margin: 0.5vw 0 0.8vw;
  color: var(--kw-text, #666);
  font-size: 0.7vw;
}
.kw-manual {
  font-size: 0.8vw;
}
.kw-messages p {
  margin: 0.4vw 0;
  color: #c0392b;
  font-size: 0.8vw;
}
.kw-messages p.d-none {
  display: none;
}

/* Company/address details: hidden until lookup or manual entry */
.kw-form.kw-js:not(.kw-details-open) .kw-details {
  display: none;
}
.kw-form.kw-details-open .kw-manual {
  display: none;
}
.kw-details {
  margin-top: 1.4vw;
  padding-top: 1.2vw;
  border-top: 1px solid var(--search-bg);
}

/* Pill choices (radios / checkboxes) */
.kw-choices .fieldset-wrapper > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6vw;
}
.kw-choices .fieldset-wrapper .form-item {
  position: relative;
  display: block;
  margin: 0;
}
.kw-choices .fieldset-wrapper .form-item label {
  width: 100%;
}
.kw-choices .fieldset-wrapper input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.kw-choices .fieldset-wrapper label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5vw;
  margin: 0;
  padding: 0.3vw 0.8vw;
  border: 1px solid var(--primary-color);
  border-radius: 0.5vw;
  background: var(--color-white);
  color: var(--kw-text);
  font-family: var(--poppins-medium);
  font-size: 0.8vw;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.kw-choices .fieldset-wrapper label::before,
.kw-choices .fieldset-wrapper label::after {
  display: none !important;
}
.kw-choices input:checked + label {
  border-color: transparent;
  background: var(--gradient);
  color: var(--color-white);
}
.kw-choices input:focus-visible + label {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Consent checkbox */
.kw-form .form-item-privacy-consent {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.8vw;
  margin-top: 1.4vw;
}
.kw-form .form-item-privacy-consent input {
  flex: 0 0 auto;
  width: 1.2vw;
  height: 1.2vw;
  margin-top: 0.15vw;
  accent-color: var(--primary-color);
}
.kw-form .form-item-privacy-consent .kw-error,
.kw-form .form-item-privacy-consent .form-item--error-message {
  flex-basis: 100%;
}
.kw-form .form-item-privacy-consent label {
  flex: 1;
  margin: 0;
  font-family: var(--poppins-regular);
  font-size: 0.75vw;
  line-height: 1.6;
}
.kw-form .form-item-privacy-consent a {
  color: var(--primary-color);
}

/* Nav row + footnote */
.kw-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-top: 1.6vw;
}
.kw-nav .kw-prev {
  margin-right: auto;
  font-size: 0.85vw;
}
.kw-nav .kw-btn {
  min-width: 45%;
  font-size: 1vw;
}
.kw-footnote {
  flex-basis: 100%;
  margin: 1.4vw 0 0;
  padding-top: 0.9vw;
  border-top: 1px solid var(--primary-color);
  color: var(--kw-text, #666);
  font-size: 0.65vw;
  text-align: center;
}

/* Errors (client-side and Drupal's) */
.kw-invalid input.form-control,
.kw-invalid select.form-control,
.kw-form .error.form-control {
  border-color: #c0392b !important;
}
.kw-error,
.kw-form .form-item--error-message {
  margin: 0.3vw 0 0;
  color: #c0392b;
  font-size: 0.7vw;
}
/* Form-level error (e.g. reCAPTCHA) above the submit button. */
.kw-error--form {
  margin: 0 0 1vw;
}

/* How it works ------------------------------------------------------------ */
.kw-section-title {
  color: var(--primary-color);
  font-family: var(--poppins-medium);
  font-size: 2.8vw;
  line-height: 1.15;
  margin-bottom: 0.8vw;
}
.kw-section-title strong {
  font-family: var(--poppins-bold);
}
.kw-section-intro {
  font-family: var(--poppins-medium);
  font-size: 1vw;
  margin-bottom: 2vw;
}
.kw-how__num {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 8vw;
  line-height: 1;
}

/* "Zo eenvoudig word je klant": layout 04 block whose cards use .kw-how-item.
   !important beats the per-card inline styles of the page builder. */
.ay-desktop-view > [class*="-per-row"]:has(.kw-how-item) {
  /* Narrow cards spread over the full content width: the 4th card ends at
     the right content edge, in line with the sections above. */
  grid-template-columns: repeat(4, 1fr);
  justify-content: space-between;
  gap: 5vw;
}
.layout-4-inner-wrapper:has(.kw-how-item) {
  display: block;
  min-height: 0;
  margin: 0 !important;
  padding: 1.6vw 1.4vw 2.4vw;
  border-radius: 2.2vw !important;
  background: var(--search-bg) !important;
  color: var(--kw-text, #666) !important;
  text-align: left;
}
.layout-4-inner-wrapper:has(.kw-how-item--highlight) {
  background: var(--gradient) !important;
}
.kw-how-item .kw-how__num {
  /* Every number is one line of the same height, so the titles still start
     on one line; only a small gap between number and title. */
  min-height: 0;
  margin: 0;
  padding-left: 1.2vw;
  padding-bottom: 4vw;
}
.kw-how-item h3 {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 1.25vw;
  line-height: 1.25;
  margin-bottom: 0.8vw;
}
.kw-how-item p:not(.kw-how__num) {
  margin: 0;
  font-family: var(--poppins-medium);
  font-size: 0.9vw;
  line-height: 1.35;
}
/* Explicit colours: the theme's mobile cards force white text. */
.kw-how-item .kw-how__num,
.kw-how-item h3 {
  color: var(--primary-color) !important;
}
.kw-how-item p:not(.kw-how__num) {
  color: var(--kw-text, #666) !important;
}
.kw-how-item--highlight .kw-how__num,
.kw-how-item--highlight h3,
.kw-how-item--highlight p:not(.kw-how__num) {
  color: var(--color-white) !important;
}

/* No Google Reviews badge in this block (layout 13 adds it by default). */
.layout-13-inner-wrapper:has(.kw-app-text) .google-review-wrapper {
  display: none;
}

/* "Digitaal waar het kan": layout 13 block whose text uses .kw-app-text
   (design: PDF page 4). Text and image aligned to the top; the image is
   large and runs off the right edge of the window (phone slightly cut). */
.layout-13-inner-wrapper:has(.kw-app-text) .image-section img {
  display: block;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .layout-13-inner-wrapper:has(.kw-app-text) {
    /* minmax(0, …): the one-line heading may run into the image column. */
    grid-template-columns: minmax(0, 53fr) minmax(0, 47fr);
    gap: 2vw;
    align-items: start;
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .content-section {
    position: relative;
    z-index: 1;
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .layout13-content-container {
    width: auto;
    padding-top: 2.6vw;
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .kw-section-title {
    font-size: 3.91vw;
    line-height: 1.12;
    margin-bottom: 2.6vw;
    white-space: nowrap;
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .image-section {
    overflow: hidden;
    margin-right: calc(-1 * var(--spacer));
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .image-section img {
    display: block;
    width: 118%;
    max-width: none;
    height: auto;
  }
}
/* Tablet / mobile: same as desktop — larger image that runs to the right
   edge of the screen and is cut there (phone partly cut). */
@media (max-width: 991px) {
  .layout-13-inner-wrapper:has(.kw-app-text) .image-section {
    overflow: hidden;
    margin-right: -5vw;
  }
  .layout-13-inner-wrapper:has(.kw-app-text) .image-section img {
    width: 112%;
    max-width: none;
  }
}
.kw-app-text {
  max-width: 46vw;
  margin-bottom: 2.6vw;
  font-family: var(--poppins-medium);
  font-size: 1vw;
  line-height: 1.5;
}
.kw-app-stores {
  display: flex;
  gap: 0.6vw;
}
.kw-app-stores img {
  height: 2.4vw;
  width: auto;
}
/* CTA band ("Liever eerst even bellen?"): gradient section whose text uses
   .kw-cta__title / .kw-cta__text, with the section Link as button. It flows
   into the footer: footer curve on top, no bottom curve, no separate footer
   curve. */
.gradient-bg:has(.kw-cta__title) > .w-100:first-child {
  aspect-ratio: 1920 / 136;
  background: url("/themes/absoluteyou/images/footer-bg.png") center top / 100% auto no-repeat;
}
.gradient-bg:has(.kw-cta__title) > .w-100:first-child img,
.gradient-bg:has(.kw-cta__title) > .w-100:last-child:has(> img) {
  display: none;
}
body:has(.kw-cta__title) .gradient-bg:has(> img[src*="footer-bg.png"]) {
  display: none;
}
.gradient-bg:has(.kw-cta__title) .row {
  padding-bottom: 5vw !important;
}
[class*="-inner-wrapper"]:has(.kw-cta__title) > .row,
[class*="-inner-wrapper"]:has(.kw-cta__title) > [class*="content-"] {
  width: 100%;
}
[class*="-inner-wrapper"]:has(.kw-cta__title) .block_page_body,
[class*="-inner-wrapper"]:has(.kw-cta__title) .block_page_more {
  text-align: left !important;
}
.kw-cta__title,
.kw-cta__text {
  color: var(--color-white) !important;
}
.kw-cta__title {
  font-family: var(--poppins-medium);
  font-size: 3vw;
  line-height: 1.2;
  margin-bottom: 1.6vw;
}
.kw-cta__title strong {
  font-family: var(--poppins-bold);
}
.kw-cta__text {
  max-width: 50%;
  margin-bottom: 0;
  font-family: var(--poppins-semibold);
  font-size: 0.95vw;
  line-height: 1.5;
}
[class*="-inner-wrapper"]:has(.kw-cta__title) .block_page_more {
  margin-top: 2.5vw;
}
[class*="-inner-wrapper"]:has(.kw-cta__title) .custom-block-links {
  padding: 0.6vw 1.4vw;
  border-radius: 1vw;
  background: var(--color-white);
  color: var(--primary-color) !important;
  font-family: var(--poppins-semibold);
  font-size: 0.9vw;
}
[class*="-inner-wrapper"]:has(.kw-cta__title) .custom-block-links::before {
  display: none;
}

/* Thank-you card ---------------------------------------------------------- */
.kw-thanks {
  display: flex;
  justify-content: center;
  padding-top: 3vw;
  padding-bottom: 6vw;
}
.kw-thanks__card {
  width: 100%;
  max-width: 44vw;
  padding: 3vw 3.4vw;
}
/* In place of the form (Klant worden hero, right column). */
.kw-hero__form .kw-thanks__card {
  max-width: none;
}
.kw-thanks__title {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 2vw;
  line-height: 1.25;
  margin-bottom: 1.6vw;
}
.kw-thanks__text {
  color: #666;
  font-size: 1vw;
  margin-bottom: 2vw;
}
.kw-thanks__expect {
  padding: 1.8vw 2vw;
  border-radius: 0.6vw;
  background: var(--search-bg);
  margin-bottom: 1.6vw;
}
.kw-thanks__expect :is(h2, h3) {
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 1.6vw;
  margin-bottom: 1.4vw;
}
.kw-thanks__expect ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.kw-thanks__expect li {
  display: flex;
  align-items: center;
  gap: 1vw;
  margin-bottom: 1.2vw;
}
.kw-thanks__expect .kw-how__num {
  flex: 0 0 1.6vw;
  color: var(--primary-color);
  font-size: 2.4vw;
}
.kw-thanks__expect strong {
  display: block;
  color: var(--primary-color);
  font-family: var(--poppins-bold);
  font-size: 1.05vw;
  font-weight: normal;
}
.kw-thanks__expect span {
  color: #666;
  font-family: var(--poppins-medium);
  font-size: 0.85vw;
}

/* Tablet / mobile --------------------------------------------------------- */
@media (max-width: 991px) {
  .kw-hero {
    /* minmax(0, …) so wide content (the step bar) can't stretch the column
       past the screen. */
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .kw-hero > * {
    min-width: 0;
  }
  .kw-hero__body,
  .kw-hero__body > ul > li,
  .kw-section-intro,
  .kw-app-text {
    font-size: 15px;
  }
  .kw-hero__body > ul > li {
    padding-left: 30px;
    margin-bottom: 10px;
  }
  .kw-hero__body > h1,
  .kw-hero__body > h2,
  .kw-hero__body > .font-30,
  .kw-section-title,
  .kw-cta__title {
    font-size: 28px;
    margin-bottom: 16px;
  }
  .kw-contact,
  .kw-app-text,
  .kw-thanks__card {
    max-width: none;
  }
  .kw-contact,
  .kw-card {
    padding: 24px 20px;
    border-radius: 16px;
  }
  .kw-contact {
    margin-top: 24px;
  }
  .kw-contact__title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .kw-contact__actions {
    gap: 10px;
  }
  .kw-contact__btn {
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
  }
  .kw-contact__login {
    margin-top: 14px;
    font-size: 13px;
  }
  .kw-step__title {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .kw-step__subtitle,
  .kw-hint,
  .kw-manual,
  .kw-messages p,
  .kw-error,
  .kw-form .form-item--error-message {
    font-size: 13px;
  }
  .kw-step__subtitle {
    margin-bottom: 18px;
  }
  .kw-steps {
    margin-bottom: 20px;
  }
  .kw-steps__item {
    gap: 6px;
    font-size: 12px;
  }
  .kw-steps__item + .kw-steps__item::before {
    flex-basis: 14px;
    min-width: 14px;
    margin: 0 6px;
  }
  .kw-steps__dot {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
  .kw-form .form-item,
  .kw-form .js-form-wrapper.form-wrapper {
    margin-bottom: 14px;
  }
  .kw-form label,
  .kw-form legend {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .kw-form input.form-control,
  .kw-form select.form-control,
  .kw-form textarea.form-control {
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 16px; /* no iOS zoom */
  }
  .kw-row {
    grid-template-columns: 1fr;
  }
  .kw-btn,
  .kw-vat-action .kw-btn,
  .kw-nav .kw-btn {
    min-height: 44px;
    font-size: 15px;
  }
  .kw-vat-action .kw-lookup {
    border-radius: 8px;
  }
  .kw-vat-input .form-item:has(input:placeholder-shown:not(:focus))::after {
    left: 14px;
    height: 44px;
    font-size: 16px;
  }
  .kw-vat-input input:placeholder-shown:not(:focus) {
    padding-left: calc(14px + 1.6em) !important;
  }
  .kw-choices .fieldset-wrapper > div {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .kw-choices .fieldset-wrapper label {
    min-height: 44px;
    border-radius: 8px;
    font-size: 14px;
  }
  .kw-form .form-item-privacy-consent {
    gap: 10px;
  }
  .kw-form .form-item-privacy-consent input {
    width: 20px;
    height: 20px;
  }
  .kw-form .form-item-privacy-consent label {
    font-size: 13px;
  }
  .kw-nav {
    margin-top: 20px;
  }
  .kw-nav .kw-prev {
    font-size: 15px;
  }
  .kw-footnote {
    margin-top: 18px;
    padding-top: 12px;
    font-size: 12px;
  }
  .layout-4-container:has(.kw-how-item) {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .layout-4-inner-wrapper:has(.kw-how-item) {
    display: block;
    height: auto !important;
    min-height: 0;
    padding: 20px;
    border-radius: 22px !important;
    white-space: normal;
  }
  .layout-4-inner-wrapper:has(.kw-how-item)::before {
    display: none;
  }
  .kw-how-item .kw-how__num {
    min-height: 0;
    padding-left: 10px;
    padding-bottom: 24px;
    font-size: 64px;
  }
  .kw-how-item h3 {
    font-size: 18px;
  }
  .kw-how-item p:not(.kw-how__num) {
    font-size: 14px;
  }
  .kw-app-text {
    max-width: none;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0;
  }
  .kw-app-stores img {
    height: 40px;
  }
  .gradient-bg:has(.kw-cta__title) .row {
    padding-bottom: 40px !important;
  }
  .kw-cta__text {
    max-width: none;
    font-size: 15px;
  }
  [class*="-inner-wrapper"]:has(.kw-cta__title) .block_page_more {
    margin-top: 24px;
  }
  [class*="-inner-wrapper"]:has(.kw-cta__title) .custom-block-links {
    height: auto;
    max-width: 100%;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
  }
  .kw-thanks__title {
    font-size: 26px;
  }
  .kw-thanks__text {
    font-size: 15px;
  }
  .kw-thanks__expect {
    padding: 20px;
  }
  .kw-thanks__expect :is(h2, h3) {
    font-size: 20px;
  }
  .kw-thanks__expect .kw-how__num {
    flex-basis: 24px;
    font-size: 32px;
  }
  .kw-thanks__expect strong {
    font-size: 16px;
  }
  .kw-thanks__expect span {
    font-size: 14px;
  }
}
@media (max-width: 577px) {
  .layout-4-container:has(.kw-how-item) {
    grid-template-columns: 1fr;
  }
  .kw-vat-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  /* Step bar: only the current step keeps its label, the others show the
     number, so the bar fits on one line. */
  .kw-steps__item:not(.is-current) .kw-steps__label {
    display: none;
  }
}

/* Required fields: "*" after the label. Keep this list in line with the
   fields checked in EmployerInfoForm::validateForm(). */
.kw-form :is(
  .form-item-company-name,
  .form-item-company-name-official,
  .form-item-street,
  .form-item-street-number,
  .form-item-postal-code,
  .form-item-city,
  .form-item-first-name,
  .form-item-last-name,
  .form-item-email,
  .form-item-phone,
  .form-item-job-function,
  .form-item-call-time,
  .form-item-sector,
  .form-item-employees-per-month,
  .form-item-current-situation,
  .form-item-start-date,
  .form-item-privacy-consent
) > label::after,
.kw-form :is([data-drupal-selector="edit-employ-types"], [data-drupal-selector="edit-call-time"]) > legend .fieldset-legend::after {
  content: "*";
}
