/* Three contact choices stay compact and legible on narrow screens. */
.wm-styled-form .wm-channel-selector { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wm-styled-form .wm-channel-selector .wm-chip { min-width: 0; margin: 0; }
.wm-styled-form .wm-channel-selector .wm-chip > span {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px;
  padding: 10px 6px; font-size: 14px; line-height: 1.35; text-align: center; overflow-wrap: normal;
}
.wm-styled-form .wm-channel-selector input:focus-visible + span { outline: 3px solid #10628c; outline-offset: 3px; }
/* Class pages share the clear typography of the main premium pages. */
body.fw-class-premium .elementor h1.elementor-heading-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: clamp(32px, 3.6vw, 52px) !important;
  font-weight: 750 !important;
  line-height: 1.1 !important;
  letter-spacing: -1.4px !important;
  text-transform: none !important;
  color: #0a3d58 !important;
}
body.fw-class-premium .elementor :is(h2,h3).elementor-heading-title {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  letter-spacing: -.5px !important;
}
body.fw-class-premium .elementor h2.elementor-heading-title { font-size: clamp(25px, 2.3vw, 32px) !important; }
body.fw-class-premium .elementor h3.elementor-heading-title { font-size: 23px !important; }
/* Readable text links on established navy surfaces. No assets or scripting. */
body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card,
  .fw-campaign .ff-highlight, .fw-home-dark, .fw-advice-aside,
  .fw-hero-photo .elementor-widget-text-editor)
  a:any-link:not(.elementor-button):not(.btn):not(.fw-text-marker) {
  color: #fdd318 !important;
  text-decoration: underline;
  text-decoration-color: currentColor;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  text-decoration-skip-ink: auto;
  border-bottom-color: transparent;
  border-radius: 3px;
}

/* Deliberate editorial actions; inline prose links retain their natural flow. */
body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card) .fc-link a:any-link,
body .elementor .fw-home-dark .fw-link a:any-link,
body .elementor .fw-advice-aside .fw-advice-local a:any-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card,
  .fw-campaign .ff-highlight, .fw-home-dark, .fw-advice-aside,
  .fw-hero-photo .elementor-widget-text-editor)
  a:any-link:not(.elementor-button):not(.btn):not(.fw-text-marker):is(:hover, :focus-visible) {
  color: #fff !important;
  text-decoration-thickness: 2px;
}

body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card,
  .fw-campaign .ff-highlight, .fw-home-dark, .fw-advice-aside,
  .fw-hero-photo .elementor-widget-text-editor) a:focus-visible {
  outline: 3px solid #fdd318;
  outline-offset: 5px;
}

/* Keep all trust items within their shared card, including long translations. */
.wm-trust-bar .wm-trust-inner {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  min-width: 0;
}
.wm-trust-bar .wm-trust-divider { display: none; }
.wm-trust-bar .wm-trust-item {
  min-width: 0;
  white-space: normal !important;
  flex-shrink: 1;
}
.wm-trust-bar .wm-trust-icon { flex: 0 0 auto; }
.wm-trust-bar .wm-trust-text {
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
@media (max-width: 1024px) {
  .wm-trust-bar .wm-trust-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 550px) {
  .wm-trust-bar .wm-trust-inner { grid-template-columns: minmax(0, 1fr) !important; }
}

body:is(.postid-4188, .page-id-5817, .page-id-5957, .page-id-5819) .elementor-heading-title,
body:is(.postid-4188, .page-id-5817, .page-id-5957, .page-id-5819) .elementor-widget-text-editor h3 {
  font-family: Inter, sans-serif !important;
  text-transform: none !important;
  color: #0a3d58 !important;
  line-height: 1.15 !important;
}
body:is(.postid-4188, .page-id-5817, .page-id-5957, .page-id-5819) h1.elementor-heading-title {
  font-size: clamp(34px, 4vw, 52px) !important;
}
body:is(.postid-4188, .page-id-5817, .page-id-5957, .page-id-5819) h2.elementor-heading-title {
  font-size: clamp(26px, 2.8vw, 36px) !important;
}
body:is(.postid-4188, .page-id-5817, .page-id-5957, .page-id-5819) .elementor-widget-text-editor h3 {
  font-size: 21px !important;
  margin-top: 28px;
}

@media (forced-colors: active) {
  body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card,
    .fw-campaign .ff-highlight, .fw-home-dark, .fw-advice-aside,
    .fw-hero-photo .elementor-widget-text-editor)
    a:any-link:not(.elementor-button):not(.btn):not(.fw-text-marker) {
    color: LinkText !important;
    border-bottom-color: transparent;
  }
  body .elementor :is(.fw-campaign.fc-choice, .fw-campaign .b196-price-card,
    .fw-campaign .ff-highlight, .fw-home-dark, .fw-advice-aside,
    .fw-hero-photo .elementor-widget-text-editor) a:focus-visible {
    outline-color: Highlight;
  }
}

/* Fahrlinie. Retain the classifier's old class name for backwards compatibility.
 * #content also gives this shared link system precedence over page-specific styles.
 * Inline prose wraps naturally; action links have a separate destination mark.
 */
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker {
  --fw-marker-ink: #0a3d58;
  --fw-route-accent: #ffdb22;
  color: var(--fw-marker-ink) !important;
  font-weight: 650 !important;
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: .3em !important;
  text-decoration-skip-ink: auto;
  border-bottom: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-inline: 0;
  border-radius: 0;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: text-decoration-thickness .18s ease;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker--dark {
  --fw-marker-ink: #fff;
  --fw-route-accent: #ffdb22;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker--backed {
  --fw-marker-ink: #fff;
  --fw-route-accent: #ffdb22;
  background-color: #0a3d58 !important;
  padding: .08em .25em !important;
  border-radius: 3px;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker:hover {
  text-decoration-thickness: 2px !important;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}

body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker.wm-route-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 100%;
  min-width: 0;
  min-height: 44px;
  padding-block: 7px 10px !important;
  border-bottom: 1px solid currentColor !important;
  text-decoration: none !important;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  bottom: -2px;
  width: 28px;
  height: 4px;
  background: var(--fw-route-accent);
  transition: width .18s ease;
  pointer-events: none;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action :is(.wm-route-arrow, .wm-link-arrow, .wp-link-arrow, .wm-arrow) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  color: inherit;
  font-size: 20px;
  transition: transform .18s ease;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action .wm-link-label {
  min-width: 0;
  text-decoration: none !important;
}
body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action:focus-visible::after { width: min(90px, 50%); }
@media (hover: hover) {
  body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action:hover::after { width: min(90px, 50%); }
  body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.wm-route-action:hover :is(.wm-route-arrow, .wm-link-arrow, .wp-link-arrow, .wm-arrow) { transform: translate(2px, -2px); }
}

/* One native link contains the complete course card, including its heading. */
body.home .elementor-995 .fw-home-paths .fw-path-card > a.fw-path-card-link {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  width: 100%;
  min-width: 0;
  color: inherit !important;
  text-decoration: none !important;
  background-image: none !important;
  cursor: pointer;
}
body.home .elementor-995 .fw-home-paths .fw-path-card > a.fw-path-card-link:focus-visible {
  outline: 3px solid #10628c;
  outline-offset: 5px;
}
body.home .elementor-995 .fw-home-paths .fw-path-card > a.fw-path-card-link .fw-path-card-cta {
  color: #0a3d58;
  font-weight: 650;
  background: none;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .3em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0 0 .15em;
  border-bottom: 0;
}
@media (hover: hover) {
  body.home .elementor-995 .fw-home-paths .fw-path-card > a.fw-path-card-link:hover {
    border-color: #8baebf;
    box-shadow: 0 8px 30px #0a3d5812;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.fw-links-enhanced a.fw-text-marker,
  body.fw-links-enhanced a.wm-route-action::after,
  body.fw-links-enhanced a.wm-route-action :is(.wm-route-arrow, .wm-link-arrow, .wp-link-arrow, .wm-arrow) { transition: none !important; transform: none !important; }
}
@media (forced-colors: active) {
  body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker {
    color: LinkText !important;
    background: none !important;
    text-decoration: underline !important;
  }
  body.fw-links-enhanced :is(#content, .site-main, .elementor, footer) a.fw-text-marker:focus-visible,
  body.home .elementor-995 .fw-home-paths .fw-path-card > a.fw-path-card-link:focus-visible {
    outline-color: Highlight;
  }
  body.fw-links-enhanced a.wm-route-action::after { display: none; }
}

body a.wm-route-card-link { display: block; width: 100%; height: 100%; min-width: 0; color: inherit; text-decoration: none; background-image: none; }
body a.wm-route-card-link:focus-visible { outline: 3px solid #10628c; outline-offset: 4px; }
body a.wm-route-card-link .fw-path-card-cta { display: inline-block; padding-block: 8px; border-bottom: 1px solid currentColor; background-image: none !important; }
