/*
 * Website Kompakt – accessibility and readability layer, V10.
 * Readability takes priority over overly small legacy typography.
 */

:root {
  --wk-body-size: 18px;
  --wk-body-leading: 1.6;
  --wk-reading-width: 70ch;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: clip;
}

body,
main {
  max-width: 100%;
  overflow-x: clip;
}

/*
 * Primary body copy is never smaller than 18 px on desktop. The 70ch cap
 * keeps longer text passages readable without changing card/grid widths.
 */
:where(main p, main li, main dd, main dt, main blockquote) {
  font-size: var(--wk-body-size) !important;
  line-height: var(--wk-body-leading) !important;
  max-inline-size: var(--wk-reading-width);
}

/* Labels and supporting information remain visibly secondary, but readable. */
:where(main small) {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

/* Primary calls to action and interactive choices must never use micro type. */
:where(
  a.button,
  button,
  .outline-button,
  .contact-outline-button,
  .text-link,
  .legal-home-link,
  .legal-text-link
) {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 700;
}

/* Keep decorative miniature websites miniature; they are visual examples. */
:where(
  .showcase-screen,
  .modern-site,
  .old-site,
  .reference-device,
  .hero-device
) :where(p, li, small) {
  font-size: inherit !important;
  line-height: inherit !important;
  max-inline-size: none;
}

/* Avoid low-contrast treatment for the site's important explanatory copy. */
:where(
  .lead,
  .contact-lead,
  .section-head > p,
  .benefit-card > p,
  .search-ready p,
  .ranking-note,
  .reference-copy > p,
  .steps-wrap article p,
  .fitness-heading > p,
  .price-copy > p,
  .legal-document p,
  .legal-hero-copy > p,
  .contact-card-intro,
  .contact-next p
) {
  opacity: 1 !important;
}

.ranking-note {
  color: #344554 !important;
}

/*
 * Component-level readability fixes. Several legacy components use spans,
 * strong tags or bold tags instead of paragraphs and therefore need their own
 * minimum sizes.
 */
.hero-benefits span {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.hero-benefits i {
  width: 25px !important;
  height: 25px !important;
  flex: 0 0 25px;
  font-size: 13px !important;
}

.signal-strip :is(span, b) {
  font-size: 15px !important;
  line-height: 1.4 !important;
}

.search-ready > a,
.compare-guide :is(small, b, em),
.compare-bottom > span,
.compare-bottom > b,
.reference-facts > span,
.fitness-howto > span,
.fitness-action-prompt,
.fitness-hint,
.fitness-hint b,
.price-label,
.price-label b,
.payment > p > b,
.payment > p > span,
.payment-steps > span,
main > footer a,
.contact-footer nav a,
.contact-channel > b {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

.reference-facts b {
  width: 39px !important;
  height: 39px !important;
  flex: 0 0 39px;
  font-size: 13px !important;
}

.fitness-action-prompt {
  margin: 24px 0 14px !important;
  color: #071d35 !important;
  font-weight: 800 !important;
}

.fitness-answer-buttons > button > em {
  font-size: 12px !important;
  line-height: 1.2 !important;
  opacity: 1 !important;
}

.fitness-answer-buttons b {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.fitness-answer-buttons small {
  font-size: 16px !important;
  line-height: 1.45 !important;
  color: #596a7b !important;
}

.price-card li {
  font-size: 17px !important;
  line-height: 1.55 !important;
}

.contact-channel > small,
.contact-channel-number {
  font-size: 14px !important;
  line-height: 1.4 !important;
}

.contact-channel p,
.contact-section-head > p {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.contact-channel > b {
  padding-top: 28px !important;
}

/*
 * Subpage readability pass (V10).
 *
 * The legal and contact templates contain much of their visible copy in
 * links, spans, strong elements and component labels instead of paragraphs.
 * These selectors bring those components up to the same readable standard as
 * the home page without changing the original visual language.
 */
.legal-hero-copy > p:last-child,
.legal-card > p,
.legal-card address,
.legal-lead-card address,
.legal-rights-grid p,
.legal-rights-note,
.cookie-row p,
.legal-site-footer > p,
.contact-header > p,
.contact-next-steps p,
.contact-footer > p {
  font-size: 18px !important;
  line-height: 1.6 !important;
  opacity: 1 !important;
}

.legal-hero-copy > p:last-child,
.legal-card > p,
.legal-card address,
.legal-lead-card address,
.legal-rights-note,
.contact-card-intro,
.contact-next-copy > p:last-child {
  max-inline-size: 70ch;
}

.legal-header nav a,
.legal-home-link,
.legal-scroll,
.legal-index nav a,
.legal-index nav a span,
.legal-inline-links a,
.legal-contact-actions a,
.legal-text-link,
.legal-site-footer nav a,
.contact-phone-short,
.contact-trust-row b,
.contact-next-steps h3,
.contact-footer nav a {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.legal-kicker,
.legal-overline,
.legal-card-label,
.legal-index > p,
.legal-index-note span,
.legal-index-note b,
.legal-status small,
.cookie-live,
.cookie-scoreboard small,
.cookie-scoreboard span,
.cookie-row > b,
.contact-card-head small,
.contact-card-head > i,
.contact-price-lock small,
.contact-no-risk {
  font-size: 15px !important;
  line-height: 1.5 !important;
  opacity: 1 !important;
}

.legal-status strong,
.legal-brand-note,
.legal-brand-note b,
.legal-contact-actions small,
.legal-contact-actions b,
.legal-tax-card small,
.legal-tax-card span,
.legal-rights-grid h3,
.cookie-row h3,
.contact-card-head b,
.contact-start-card li b,
.contact-start-card li small,
.contact-channel > b {
  font-size: 17px !important;
  line-height: 1.5 !important;
}

.legal-contact-actions a,
.legal-inline-links a {
  overflow-wrap: anywhere;
}

.legal-rights-grid article {
  min-height: 220px !important;
}

.cookie-row {
  min-height: 92px;
}

.contact-card-intro {
  font-size: 18px !important;
  line-height: 1.6 !important;
}

.contact-trust-row {
  flex-wrap: wrap;
}

.contact-no-risk {
  text-align: center;
}

main > footer a,
.contact-footer nav a {
  color: #d2dae2 !important;
}

.wk-skip-link {
  position: fixed;
  z-index: 2147483647;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border: 3px solid #ffffff;
  border-radius: 10px;
  background: #08253f;
  color: #ffffff;
  padding: 12px 18px;
  font: 800 18px/1.35 Arial, Helvetica, sans-serif;
  text-decoration: none;
  box-shadow: 0 0 0 3px #c7a55b, 0 10px 28px rgba(0, 0, 0, .28);
}

@media (max-width: 640px) {
  :root {
    --wk-body-size: 17px;
    --wk-body-leading: 1.6;
  }

  :where(main small) {
    font-size: 16px !important;
  }

  :where(
    a.button,
    button,
    .outline-button,
    .contact-outline-button,
    .text-link,
    .legal-home-link,
    .legal-text-link
  ) {
    font-size: 17px !important;
  }

  .header-cta,
  .contact-header .button {
    display: none !important;
  }

  .contact-header {
    gap: 10px !important;
  }

  .contact-header > a {
    min-width: 0;
    margin-right: auto;
  }

  .contact-brand-copy b {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .contact-brand-copy small {
    display: none !important;
  }

  .chapter-header {
    gap: 10px !important;
  }

  .chapter-header .header-brand {
    margin-right: auto;
  }

  .chapter-header .brand-copy b {
    font-size: 14px !important;
    line-height: 1.05 !important;
  }

  .hero-benefits {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .hero-benefits span,
  .reference-facts > span {
    font-size: 16px !important;
  }

  .signal-strip {
    grid-template-columns: 1fr !important;
    justify-items: center;
    gap: 7px !important;
    padding-block: 22px !important;
    text-align: center;
  }

  .signal-strip > i {
    transform: rotate(90deg);
  }

  .compare-guide :is(small, b, em) {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .compare-bottom {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    min-height: 0 !important;
    padding: 16px 0 0 !important;
  }

  .compare-bottom > b {
    grid-area: auto !important;
    order: -1;
    max-width: none !important;
    padding: 15px 16px;
    border-radius: 12px;
    background: #f3eee4;
    font-size: 17px !important;
    line-height: 1.5 !important;
  }

  .compare-bottom > span {
    grid-row: auto !important;
    width: 100%;
    min-height: 48px;
    justify-content: flex-start !important;
    padding: 11px 14px;
    border: 1px solid rgba(7, 29, 53, .14);
    border-radius: 10px;
    background: #fff;
    color: #26394c !important;
    font-size: 15px !important;
  }

  .reference-facts {
    gap: 15px !important;
  }

  .fitness-howto {
    grid-template-columns: 1fr !important;
    gap: 9px !important;
  }

  .fitness-howto > b {
    display: none !important;
  }

  .fitness-howto > span {
    min-height: 44px;
    justify-content: flex-start !important;
    font-size: 15px !important;
  }

  .fitness-action-prompt {
    font-size: 16px !important;
  }

  .fitness-answer-buttons > button {
    min-height: 102px !important;
    gap: 12px !important;
  }

  .fitness-answer-buttons > button > em {
    display: none !important;
  }

  .fitness-hint,
  .fitness-hint b {
    display: block;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .fitness-hint b {
    margin-bottom: 5px;
  }

  .price-card {
    width: 100%;
    min-width: 0;
  }

  .price-label {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    font-size: 14px !important;
  }

  .price-label b {
    justify-self: start;
    font-size: 13px !important;
  }

  .price {
    flex-wrap: wrap;
  }

  .price > b {
    max-width: 100%;
    font-size: clamp(58px, 20vw, 72px) !important;
  }

  .price-card li {
    font-size: 16px !important;
  }

  .payment > p > b,
  .payment > p > span,
  .payment-steps > span {
    font-size: 15px !important;
  }

  main > footer > div,
  .contact-footer nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px !important;
    width: 100%;
  }

  main > footer > div a,
  .contact-footer nav a {
    min-height: 42px;
    padding: 10px 0;
    font-size: 15px !important;
  }

  .contact-channel {
    min-height: 300px !important;
  }

  .contact-channel > small,
  .contact-channel-number {
    font-size: 13px !important;
  }

  .contact-channel p,
  .contact-section-head > p {
    font-size: 17px !important;
  }

  .contact-channel > b {
    font-size: 16px !important;
  }

  .legal-hero-copy > p:last-child,
  .legal-card > p,
  .legal-card address,
  .legal-lead-card address,
  .legal-rights-grid p,
  .legal-rights-note,
  .cookie-row p,
  .legal-site-footer > p,
  .contact-header > p,
  .contact-card-intro,
  .contact-next-copy > p:last-child,
  .contact-next-steps p,
  .contact-footer > p {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  .legal-header nav a,
  .legal-home-link,
  .legal-scroll,
  .legal-index nav a,
  .legal-index nav a span,
  .legal-inline-links a,
  .legal-contact-actions a,
  .legal-text-link,
  .legal-site-footer nav a,
  .contact-phone-short,
  .contact-trust-row b,
  .contact-next-steps h3,
  .contact-footer nav a {
    font-size: 16px !important;
  }

  .legal-kicker,
  .legal-overline,
  .legal-card-label,
  .legal-index > p,
  .legal-index-note span,
  .legal-index-note b,
  .legal-status small,
  .cookie-live,
  .cookie-scoreboard small,
  .cookie-scoreboard span,
  .cookie-row > b,
  .contact-card-head small,
  .contact-card-head > i,
  .contact-price-lock small,
  .contact-no-risk {
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .legal-status strong,
  .legal-brand-note,
  .legal-brand-note b,
  .legal-contact-actions small,
  .legal-contact-actions b,
  .legal-tax-card small,
  .legal-tax-card span,
  .legal-rights-grid h3,
  .cookie-row h3,
  .contact-card-head b,
  .contact-start-card li b,
  .contact-start-card li small,
  .contact-channel > b {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }

  .legal-header nav,
  .legal-site-footer nav,
  .contact-footer nav {
    row-gap: 10px !important;
  }

  .legal-index nav a {
    min-height: 48px;
  }

  .legal-rights-grid article {
    min-height: 0 !important;
  }

  .cookie-row {
    min-height: 112px;
  }

  .contact-trust-row b {
    color: #d2dae2 !important;
  }

  .contact-hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .contact-hero > *,
  .contact-start-card,
  .contact-price-lock {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .contact-start-card {
    width: 100% !important;
  }

  .contact-card-button {
    white-space: normal !important;
    text-align: center;
  }
}

.wk-skip-link:focus {
  transform: translateY(0);
}

.wk-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid #e5bd68 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 2px #ffffff !important;
}

main[id="main-content"] {
  scroll-margin-top: 110px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-delay: 0s !important;
    transition-duration: .01ms !important;
  }

  [data-reveal="true"] {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .wk-skip-link,
  :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
    border-color: ButtonText;
    outline-color: Highlight !important;
    box-shadow: none !important;
  }
}
