/* Theme-level Knechtli overrides loaded after the base UDesign styles. */

.elementor-section > .elementor-shape-bottom,
.elementor-section > .e-con-inner > .elementor-shape-bottom,
.e-con > .elementor-shape-bottom,
.e-con > .e-con-inner > .elementor-shape-bottom {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: auto !important;
  bottom: -1px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.elementor-section > .elementor-shape-bottom svg,
.elementor-section > .e-con-inner > .elementor-shape-bottom svg,
.e-con > .elementor-shape-bottom svg,
.e-con > .e-con-inner > .elementor-shape-bottom svg {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  top: auto !important;
  bottom: 0 !important;
  z-index: 1 !important;
}

/* Keep global dividers native: use real Elementor wave SVGs instead of pseudo-elements. */
body .elementor:not(.elementor-location-header):not(.elementor-location-footer):not(.elementor-location-popup) > .elementor-top-section,
body .elementor:not(.elementor-location-header):not(.elementor-location-footer):not(.elementor-location-popup) > .elementor-element.elementor-top-section,
body .elementor[data-elementor-type="wp-page"] > .e-con,
body .elementor[data-elementor-type="wp-post"] > .e-con,
body .elementor[data-elementor-type="single"] > .e-con {
  position: relative !important;
  overflow: visible !important;
}

body .elementor .elementor-shape-bottom svg,
body .e-con .elementor-shape-bottom svg {
  height: clamp(42px, 5vw, 64px) !important;
}

/* Screenshot-matched wave: a single smooth crest between hero and content. */
:root {
  --k3-wave-fill: #c44e4e;
  --k3-wave-height: clamp(250px, 8vw, 200px);
}
/* Desktop überschreiben */
@media (min-width: 1025px) {
  :root {
    --k3-wave-height: clamp(300px, 10vw, 360px);
  }
}
.custom-shape-divider {
  position: relative !important;
  overflow: visible !important;
}

.custom-shape-divider > .elementor-shape-bottom,
.custom-shape-divider > .e-con-inner > .elementor-shape-bottom {
  display: none !important;
}

.custom-shape-divider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: var(--k3-wave-height);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 70C170 56 330 52 490 70C650 86 810 90 970 72C1130 56 1290 52 1440 70V120H0Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 4;
}

/* Mobile and portrait tablets: flatten the white crest. */
@media (max-width: 767px),
       (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .custom-shape-divider::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0 80C170 74 330 72 490 80C650 86 810 88 970 82C1130 74 1290 72 1440 80V120H0Z'/%3E%3C/svg%3E");
  }
}

/* Mobile: quiet the decorative wave lines in the homepage hero. */
@media (max-width: 767px) {
  .elementor-2 .elementor-element-ae2abe2::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.34);
    pointer-events: none;
    z-index: 1;
  }
}

/* Kill legacy pseudo-wave overlay from base style.css that renders as a white block. */
body .elementor:not(.elementor-location-header):not(.elementor-location-footer):not(.elementor-location-popup) > .elementor-top-section:first-child:not(.custom-shape-divider)::after,
body .elementor:not(.elementor-location-header):not(.elementor-location-footer):not(.elementor-location-popup) > .elementor-element.elementor-top-section:first-child:not(.custom-shape-divider)::after {
  content: none !important;
  display: none !important;
  height: 0 !important;
  background: none !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.page-id-21 .elementor-element-883bc9e {
  padding-top: 110px !important;
  padding-bottom: 30px !important;
}

/* Kontakt: social labels must not render as low-contrast grey (PSI accessibility). */
body.page-id-7983 .elementor-element-dada5e3 .social-icon span {
  color: #043f79 !important;
}

body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-email,
body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-email span {
  color: #8b2e22 !important;
}

body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-facebook,
body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-facebook span {
  color: #2d4373 !important;
}

body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-instagram,
body.page-id-7983 .elementor-element-dada5e3 .social-icon.social-instagram span {
  color: #9b0f14 !important;
}

body.page-id-7983 .elementor-element-dada5e3 .social-icon:focus-visible {
  outline: 2px solid #043f79;
  outline-offset: 3px;
}

.page-id-21 .elementor-element-209e967 .elementor-element-19b8168 {
  display: none !important;
}

.page-id-21 .elementor-element-209e967 {
  margin-top: 24px !important;
}

.page-id-21 .elementor-element-209e967 .elementor-element-cebcece {
  margin-left: 0 !important;
}

/* Benutzerkonto login widget (local knechtli.localhost) */
body.kn-env-local.page-id-21 .elementor-element-209e967 .col-half-section {
  width: 100% !important;
  max-width: 100% !important;
}

body.kn-env-local.page-id-21 .elementor-element-209e967 .elementor-element-cebcece,
body.kn-env-local.page-id-21 .elementor-element-209e967 .elementor-element-cebcece .elementor-widget-container,
body.kn-env-local.page-id-21 .elementor-element-209e967 .elementor-shortcode,
body.kn-env-local.page-id-21 .k3-login-widget-shell,
body.kn-env-local.page-id-21 #k3-login-widget,
body.kn-env-local.page-id-21 .k3-login-auth {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}

body.kn-env-local.page-id-21 #k3-login-widget {
  font-size: 15px;
}

body.kn-env-local.page-id-21 .k3-login-auth__toggle {
  width: 100% !important;
  max-width: 100% !important;
  align-self: stretch;
}

body.kn-env-local.page-id-21 .k3-login-auth__tab {
  font-size: 15px !important;
  white-space: normal;
  line-height: 1.25;
  padding: 10px 14px;
}

body.kn-env-local.page-id-21 .k3-login-auth__label,
body.kn-env-local.page-id-21 #k3-login-message {
  font-size: 15px !important;
}

/* Kursorte (/kursorte/): spacing under map + borderless location cards */
body.page-id-7965 .locationtpl-map.locationtpl-map-all {
  margin-bottom: 36px !important;
}

body.page-id-7965 .locationtpl-shortcode-title {
  margin-top: 32px !important;
  margin-bottom: 20px !important;
  padding-top: 0 !important;
}

body.page-id-7965 .elementor-element-k3sc0001 {
  margin-top: 16px !important;
}

body.page-id-7965 .locationtpl-rendered table.kurslist-block-alt,
body.page-id-7965 .locationtpl-shortcode-wrapper table.kurslist-block-alt {
  padding: 0 !important;
  border: 1px solid #d4dce4 !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  border-collapse: separate !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td {
  padding: 8px 16px !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered td[data-cell-id="r0-c0"] {
  display: none !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r0-c1"] {
  padding: 12px 16px 10px !important;
  border-bottom: 1px solid #d4dce4 !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r1-c1"],
body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r1-c2"] {
  padding: 8px 16px !important;
  border-bottom: 1px solid #d4dce4 !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r1-c1"] {
  border-right: 1px solid #d4dce4 !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt tr:last-child td,
body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r2-c1"] {
  border-bottom: none !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r0-c0"] {
  border-bottom: none !important;
}

body.page-id-7965 .locationtpl-shortcode-wrapper .locationtpl-rendered table.kurslist-block-alt td[data-cell-id="r2-c1"] {
  padding: 16px 18px 18px !important;
}

/* Unsere Trainer (/unsere-trainer/): card shadow + rounded corners */
body.page-id-7959 .kursleiter-shortcode-root .kursleiter-preview-wrapper table.kursleiter-table,
body.page-id-7959 .kursleiter-preview-wrapper table.kursleiter-table {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2) !important;
  border-radius: 15px !important;
  overflow: hidden;
  border-collapse: separate !important;
  border-spacing: 0;
}

/* Trainer cards: name and Details use the site blue, not #005ba9 / link cyan. */
.kursleiter-shortcode-root .kursleiter-table td[data-cell-id="r0-c1"],
.kursleiter-shortcode-root .kursleiter-table td[data-cell-id="r2-c0"] a,
.kursleiter-shortcode-root .kursleiter-table td[data-cell-id="r2-c0"] a:hover,
.kursleiter-shortcode-root .kursleiter-table td[data-cell-id="r2-c0"] a:focus {
  color: #043f79 !important;
}

/* Homepage hero: must beat [data-lazy]:not(img) { background-image: none !important; } on first paint. */
.elementor-2 .elementor-element.elementor-element-ae2abe2:not(.elementor-motion-effects-element-type-background),
.elementor-2 .elementor-element.elementor-element-ae2abe2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: url("/wp-content/uploads/2025/11/Blaues-Muster-mit-tropfenfoermigem-Zentrum-hero-q90.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (max-width: 991px) {
  .elementor-2 .elementor-element.elementor-element-ae2abe2:not(.elementor-motion-effects-element-type-background),
  .elementor-2 .elementor-element.elementor-element-ae2abe2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
    background-size: cover !important;
    background-position: center -7rem !important;
  }

  .elementor-2 .elementor-element.elementor-element-4126b18:not(.elementor-motion-effects-element-type-background),
  .elementor-2 .elementor-element.elementor-element-4126b18 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: 100% auto !important;
    background-position: center top !important;
  }

  .elementor-2 .elementor-element.elementor-element-7814720 {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center !important;
  }

  .elementor-2 .elementor-element.elementor-element-7814720 img {
    width: min(100%, 470px) !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-4126b18:not(.elementor-motion-effects-element-type-background),
  .elementor-2 .elementor-element.elementor-element-4126b18 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-size: contain !important;
  }

  .elementor-2 .elementor-element.elementor-element-ae2abe2:not(.elementor-motion-effects-element-type-background),
  .elementor-2 .elementor-element.elementor-element-ae2abe2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: #ffffff !important;
    background-size: cover !important;
    background-position: center -10rem !important;
  }

  .elementor-2 .elementor-element.elementor-element-7814720 {
    margin: -32px auto 0 auto !important;
  }

  .page-id-21 .elementor-element-883bc9e {
    padding-top: 86px !important;
  }

  .elementor-2 .elementor-element.elementor-element-7814720 img {
    width: min(84vw, 360px) !important;
  }
}

/* Homepage offer cards (#kurse): uniform image crop aligned with live Elementor thumbs */
.elementor-element-b19d2cf .image-box figure {
  display: block;
  width: 100%;
}

.elementor-element-b19d2cf .image-box figure img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  height: auto;
}

/* Homepage "Unsere Angebote": Elementor widget styles from live post-2.css */
.elementor-2 .elementor-element.elementor-element-3c276af {
  text-align: center;
}

.elementor-element-145abe6 .image-box,
.elementor-element-d627eee .image-box,
.elementor-element-ad0a0f6 .image-box {
  text-align: center;
  padding: 0 0 2em;
  border-radius: 1em;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}

.elementor-element-145abe6 .position-top .image-box-content,
.elementor-element-d627eee .position-top .image-box-content,
.elementor-element-ad0a0f6 .position-top .image-box-content {
  margin-top: 1.5rem;
}

.elementor-element-145abe6 .image-box .title,
.elementor-element-d627eee .image-box .title,
.elementor-element-ad0a0f6 .image-box .title {
  font-size: 1.5em;
}

.elementor-element-145abe6 .image-box .content,
.elementor-element-d627eee .image-box .content,
.elementor-element-ad0a0f6 .image-box .content {
  line-height: 1.5em;
  margin: 1em;
}

.elementor-2 .elementor-element.elementor-element-975cd0e > .elementor-element-populated,
.elementor-2 .elementor-element.elementor-element-895e589 > .elementor-element-populated,
.elementor-2 .elementor-element.elementor-element-b705ef9 > .elementor-element-populated {
  border-radius: 1em;
}

/* Shared course-card layout: applies to all pages using .kurs-card blocks. */
body main .elementor-top-section:has(.kurs-card) > .elementor-container {
  align-items: stretch;
}

body main .elementor-top-column:has(.kurs-card) {
  display: flex;
  height: auto;
}

body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

body:has(main .kurs-card) {
  --k3-course-card-image-height: 300px;
}

/* Image block gets a unified visual height and crops consistently. */
body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:first-child {
  height: var(--k3-course-card-image-height);
  min-height: var(--k3-course-card-image-height);
  max-height: var(--k3-course-card-image-height);
  flex: 0 0 var(--k3-course-card-image-height);
  display: flex;
}

body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:first-child > .elementor-container,
body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:first-child .elementor-column,
body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:first-child .elementor-widget-wrap {
  height: 100%;
}

body main .elementor-top-column:has(.kurs-card) .elementor-widget-image,
body main .elementor-top-column:has(.kurs-card) .elementor-widget-image .elementor-widget-container,
body main .elementor-top-column:has(.kurs-card) .elementor-widget-image a {
  display: block;
  height: 100%;
}

body main .elementor-top-column:has(.kurs-card) .elementor-widget-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text block height is normalized to avoid uneven card bottoms in the same row. */
body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:last-child {
  flex: 1 1 auto;
  min-height: 0;
  margin-top: -20px;
  position: relative;
  z-index: 3;
}

body main .kurs-card,
body main .kurs-card > .elementor-widget-wrap {
  height: 100%;
}

body main .kurs-card > .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start !important;
  margin-top: 0 !important;
  padding-top: 20px;
}

body main .kurs-card .elementor-widget-heading {
  min-height: 5.2em;
}

/* Prevent Elementor transform/centering effects from shifting card copy upward. */
body main .kurs-card .e-transform,
body main .kurs-card .elementor-widget,
body main .kurs-card .elementor-widget-container {
  transform: none !important;
}

body main .kurs-card .elementor-widget {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0;
}

body main .kurs-card .elementor-widget-container,
body main .kurs-card .elementor-widget-text-editor,
body main .kurs-card .elementor-widget-heading {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body main .kurs-card .elementor-widget-text-editor,
body main .kurs-card .elementor-widget-text-editor p {
  margin-top: 0;
}

@media (max-width: 1024px) {
  body:has(main .kurs-card) {
    --k3-course-card-image-height: 260px;
  }

  body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:first-child {
    height: var(--k3-course-card-image-height);
    min-height: var(--k3-course-card-image-height);
    max-height: var(--k3-course-card-image-height);
  }

  body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:last-child {
    flex: 1 1 auto;
    min-height: 0;
  }
}

@media (max-width: 767px) {
  html body:has(main .kurs-card),
  html body:has(main .kurs-card) .page-wrapper,
  html body:has(main .kurs-card) main,
  html body:has(main .kurs-card) .page-content {
    overflow-x: clip;
  }

  body:has(main .kurs-card) {
    --k3-course-card-image-height: 220px;
  }

  /* Mobile: keep visual style, but allow card text areas to grow naturally. */
  body main .elementor-top-section:has(.kurs-card) > .elementor-container {
    align-items: flex-start;
  }

  /* Remove inherited side offsets that push text cards out of viewport on mobile. */
  body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section > .elementor-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body main .elementor-top-column:has(.kurs-card),
  body main .kurs-card,
  body main .kurs-card > .elementor-widget-wrap {
    height: auto !important;
  }

  body main .kurs-card > .elementor-widget-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  body main .elementor-top-column:has(.kurs-card) > .elementor-widget-wrap > .elementor-inner-section:last-child {
    flex: 0 0 auto;
    min-height: 0;
    height: auto;
    margin-top: -16px;
  }

  body main .kurs-card .elementor-widget-heading {
    min-height: 0;
  }

  body main .kurs-card .elementor-widget-text-editor,
  body main .kurs-card .elementor-widget-text-editor p {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
  }
}

/* Lighthouse: skip non-composited appear animations on mobile (UDesign + Elementor). */
@media (max-width: 767px) {
  .appear-animate,
  .elementor-invisible,
  body.alpha-disable-mobile-animation .appear-animate,
  body.alpha-disable-mobile-animation .elementor-invisible {
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Mobile: fixed parallax backgrounds are expensive on the main thread. */
@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-b01c521:not(.elementor-motion-effects-element-type-background),
  .elementor-2 .elementor-element.elementor-element-b01c521 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-attachment: scroll !important;
  }
}

/* Keep scroll-to-top clear of the fixed K3 language chooser. */
@media (min-width: 768px) {
  body:has(.k3-ai-translate-switcher--fixed) #scroll-top.show {
    bottom: calc(6.5rem + var(--alpha-bottom-sticky-h, 0px));
  }
}
/* -------------------------------------------------------------------------
   Mobile menu popup (Elementor 4893) — site-wide
   Source mirrored from mu-plugins/assets/kn-mobile-menu.css
   ------------------------------------------------------------------------- */
/**
 * Knechtli mobile menu popup - site-wide (Elementor popup 4893)
 * Loaded as a standalone global stylesheet (excluded from Autoptimize).
 */

/* Shared roots: static markup and AJAX/Magnific-loaded popup */
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-37c0c33,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-widget-udesign_widget_iconlist {
    display: none !important;
}

/* Scrollable popup shell - content area is the scroll container */
.mfp-alpha-4893 .popup,
#alpha-popup-4893.popup {
    height: 100vh !important;
    max-height: 100vh !important;
    overflow: hidden !important;
}

.mfp-alpha-4893 .alpha-popup-content,
#alpha-popup-4893 .alpha-popup-content {
    display: block !important;
    height: 100% !important;
    max-height: 100vh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    justify-content: flex-start !important;
    align-items: stretch !important;
}

.mfp-alpha-4893 .alpha-popup-content > .alpha-block,
#alpha-popup-4893 .alpha-popup-content > .alpha-block,
.mfp-alpha-4893 .elementor-4893,
#alpha-popup-4893 .elementor-4893 {
    min-height: 0;
    height: auto;
    max-height: none;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-402bef7 {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 1.25rem 1rem !important;
}

@media (max-width: 767px) {
    :is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-402bef7 {
        padding: 1rem 0.85rem !important;
    }
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-3360edf {
    margin: 0 0 0.75rem !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-fad3ee9 {
    margin: 0 0 1rem !important;
    width: 100% !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-ed3fd2e {
    margin: 1rem 0 0.5rem !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-fad3ee9 .menu,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .elementor-element-fad3ee9 .toggle-menu {
    width: 100% !important;
    max-width: 100% !important;
}

/* Keep collapsible submenus stacked (not flyout) */
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu.vertical-menu > li > ul,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu.vertical-menu > li.show > ul,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu.vertical-menu > li:hover > ul,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu li > ul {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu .menu-item-has-children:after,
:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu .menu-item-has-children > a:after {
    content: none !important;
    border: 0 !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu .menu-item-has-children li {
    padding: 0 !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu {
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu .menu-item > a {
    position: relative;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    box-sizing: border-box;
    padding-top: 0.85rem !important;
    padding-bottom: 0.85rem !important;
    padding-right: 2.5rem !important;
    border-bottom: 1px solid #009ee3;
    line-height: 1.35;
    text-align: left;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu .menu-item > a .toggle-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu > .menu-item > a {
    padding-left: 12px !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu > .menu-item > ul > .menu-item > a {
    padding-left: 28px !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu > .menu-item > ul > .menu-item > ul > .menu-item > a {
    padding-left: 44px !important;
}

:is(.elementor-4893, #alpha-popup-4893, .mfp-alpha-4893) .menu.collapsible-menu > .menu-item > ul > .menu-item > ul > .menu-item > ul > .menu-item > a {
    padding-left: 60px !important;
}

/* -------------------------------------------------------------------------
   Shared chrome fallback (header menu + inner-page hero).
   Kurssuche skips Autoptimize CSS aggregation; UDesign merged CSS truncates
   Elementor post-9 (menu typography) and hero CSS is scoped to page 829.
   ------------------------------------------------------------------------- */
#header.header-9 .elementor-element-45e204e .menu > li > a {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.7em;
  letter-spacing: 0;
  color: #043f79;
}

#header.header-9 .elementor-element-45e204e .menu > li > a svg {
  stroke: #043f79;
  fill: #043f79;
}

#header.header-9 .elementor-element-45e204e .menu > li:hover > a,
#header.header-9 .elementor-element-45e204e .menu > .current-menu-item > a,
#header.header-9 .elementor-element-45e204e .menu > li.current-menu-ancestor > a {
  color: #043f79;
}

/* Header column layout from Elementor post-9.css (logo / menu / login / icons).
   Kurssuche often drops the start of merged post-9, so col-25 defaults cram the menu. */
#header.header-9 .elementor-element-47dbf64 > .elementor-container {
  align-items: center;
}

#header.header-9 .elementor-element-45e204e {
  /* Was 105.716% — overflowed into Login/Search and caused the overlay boxes. */
  width: auto !important;
  max-width: 100% !important;
  margin: 0 24px 0 0;
  --container-widget-width: auto;
  --container-widget-flex-grow: 0;
  flex: 1 1 auto;
  min-width: 0;
}

#header.header-9 .elementor-element-45e204e .menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

#header.header-9 .elementor-element-45e204e .menu > li {
  margin: 0;
}

#header.header-9 .elementor-element-45e204e .menu > li:last-child {
  margin-right: 0;
}

#header.header-9 .elementor-element-45e204e .menu > li > a {
  padding: 25px 0;
}

#header.header-9 .elementor-element-f832a1a {
  margin: 0 40px 0 0;
}

#header.header-9 .elementor-element-f832a1a .btn {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 1.25em 2.73em;
  white-space: nowrap;
}

#header.header-9 .elementor-element-f832a1a .btn span {
  white-space: nowrap;
}

#header.header-9 .elementor-element-4266a1b {
  margin: -5px 40px 0 23px;
}

#header.header-9 .elementor-element-4266a1b .search-toggle {
  color: #043f79;
}

#header.header-9 .elementor-element-4266a1b .search-toggle i {
  font-size: 17px;
  margin-right: 0;
}

#header.header-9 .elementor-element-367dde7 {
  margin: 8px 0 0 -20px;
}

#header.header-9 .elementor-element-fbcd868 img {
  transform: translateX(-13.24%);
}

@media (max-width: 767px) {
  #header.header-9 .elementor-element-a5d9859 > .elementor-widget-wrap {
    margin-top: 10px !important;
  }

  #header.header-9 .elementor-element-fbcd868 img {
    width: 148px !important;
    max-width: 42vw !important;
    height: auto !important;
  }
}

@media (min-width: 768px) {
  #header.header-9 .elementor-element-a5d9859 {
    width: 28% !important;
    flex: 0 0 28% !important;
    max-width: 28% !important;
  }

  #header.header-9 .elementor-element-a1093cc {
    width: 57.393% !important;
    flex: 0 0 57.393% !important;
    max-width: 57.393% !important;
  }

  #header.header-9 .elementor-element-f8319fb {
    width: 11.326% !important;
    flex: 0 0 11.326% !important;
    max-width: 11.326% !important;
  }

  #header.header-9 .elementor-element-7e56c2e {
    width: 3.238% !important;
    flex: 0 0 3.238% !important;
    max-width: 3.238% !important;
  }
}

@media (max-width: 1439px) {
  #header.header-9 .elementor-element-45e204e {
    margin: 0 16px 0 0;
  }

  #header.header-9 .elementor-element-367dde7 {
    margin: 10px 0 0 0;
  }
}

@media (max-width: 1199px) {
  #header.header-9 .elementor-element-367dde7 {
    margin: 12px 0 0 5px;
  }
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e:not(.elementor-motion-effects-element-type-background),
body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: var(--e-global-color-primary, #009ee3) !important;
  background-image: url("/wp-content/uploads/2025/11/Blaues-Muster-mit-tropfenfoermigem-Zentrum-hero-q90.webp") !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
}

@media (max-width: 767px) {
  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e:not(.elementor-motion-effects-element-type-background),
  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image:
      linear-gradient(rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.34)),
      url("/wp-content/uploads/2025/11/Blaues-Muster-mit-tropfenfoermigem-Zentrum-hero-q90.webp") !important;
  }
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e {
  padding: 17.4rem 0 12rem;
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-shape-bottom .elementor-shape-fill,
body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .e-con-inner > .elementor-shape-bottom .elementor-shape-fill {
  fill: #ffffff;
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-shape-bottom svg,
body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .e-con-inner > .elementor-shape-bottom svg {
  fill: #ffffff;
  height: 49px;
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-013bcd1 {
  margin: 0 0 calc(var(--kit-widget-spacing, 0px) + 1.9rem) 0;
  text-align: center;
}

body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-013bcd1 .elementor-heading-title {
  font-weight: 400;
  color: var(--alpha-secondary-color, #043f79);
}

/* Shared page-title bar (template 829): heading + breadcrumb centered on every page. */
.elementor-829 .elementor-element-b4f635b > .elementor-widget-wrap {
  align-items: center;
  justify-content: center;
  text-align: center;
}

.elementor-829 .elementor-element-013bcd1,
.elementor-829 .elementor-element-013bcd1 .elementor-heading-title,
.elementor-829 .elementor-element-94f4ccf,
.elementor-829 .elementor-element-94f4ccf .breadcrumb {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center !important;
}

.elementor-829 .elementor-element-94f4ccf .breadcrumb {
  display: flex;
  justify-content: center !important;
}

body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb,
body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb a,
body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb a:hover,
body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb a:focus,
body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb .delimiter,
body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb .breadcrumb-comma {
  color: var(--alpha-secondary-color, #043f79);
}

body.wp-singular.page:not(.page-id-2) .elementor-element-94f4ccf .breadcrumb {
  font-size: 18px;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1439px) {
  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-013bcd1 {
    margin: 0 0 calc(var(--kit-widget-spacing, 0px) + 1rem) 0;
  }
}

@media (max-width: 991px) {
  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e {
    padding: 13rem 0 9rem;
  }

  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-shape-bottom svg {
    height: 35px;
  }
}

@media (max-width: 767px) {
  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e {
    padding: 14rem 0 8rem;
  }

  body.wp-singular.page:not(.page-id-2) .elementor-element.elementor-element-883bc9e > .elementor-shape-bottom svg {
    height: 20px;
  }
}

/* Homepage KURSE circle (7fa805c): Elementor saved hover bg/border as #fff,
   which cancels .btn-white hover (primary fill + white label). */
.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-white {
  --alpha-btn-hover-color: #fff;
  --alpha-btn-hover-bd-color: #043f79;
  --alpha-btn-hover-bg-color: #043f79;
  --alpha-btn-active-color: #fff;
  --alpha-btn-active-bd-color: #043f79;
  --alpha-btn-active-bg-color: #043f79;
}

/*
 * post-2.css historically omitted udesign_widget_button 7fa805c.
 * Force circle + slogan geometry from Elementor _elementor_data.
 */
.elementor-2 .elementor-element.elementor-element-7fa805c {
  width: var(--container-widget-width, 170px) !important;
  max-width: 170px !important;
  --container-widget-width: 170px;
  --container-widget-flex-grow: 0;
  position: relative;
  z-index: 5;
}

.elementor-2 .elementor-element.elementor-element-7fa805c.overflow-hidden {
  overflow: visible !important;
}

.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  width: 170px !important;
  height: 170px !important;
  max-width: 170px !important;
  padding: 0 !important;
  border-width: 0 !important;
  border-radius: 50% !important;
  font-size: 18px !important;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2 !important;
  letter-spacing: 0;
  white-space: nowrap;
}

.elementor-2 .elementor-element.elementor-element-fa15bf1 {
  width: var(--container-widget-width, 27.2rem) !important;
  max-width: 27.2rem !important;
  --container-widget-width: 27.2rem;
  --container-widget-flex-grow: 0;
  margin: -0.4em 0 0 0 !important;
  padding: 0 0 0 2.1em !important;
}

/* Homepage hero accents: brand blue circle, white label. */
.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle,
.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-white {
  --alpha-btn-color: #fff;
  --alpha-btn-bg-color: #043f79;
  --alpha-btn-bd-color: #043f79;
  --alpha-btn-hover-color: #fff;
  --alpha-btn-hover-bg-color: #043f79;
  --alpha-btn-hover-bd-color: #043f79;
  --alpha-btn-active-color: #fff;
  --alpha-btn-active-bg-color: #043f79;
  --alpha-btn-active-bd-color: #043f79;
  background-color: #043f79 !important;
  border-color: #043f79 !important;
  color: #fff !important;
}

.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle span,
.elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-white span {
  color: #fff !important;
}

.elementor-2 .elementor-element.elementor-element-8e208a0,
.elementor-2 .elementor-element.elementor-element-5c7a759 {
  display: none !important;
}

/* Titles removed: compact gap under the header logo.
   Extra bottom padding so the homepage wave sits fully below the Kurse circle. */
@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-bb62191 {
    padding-bottom: calc(var(--k3-wave-height) * 0.75 + 5rem) !important;
  }
}

@media (min-width: 768px) {
  .elementor-2 .elementor-element.elementor-element-bb62191 {
    padding-top: 19rem !important;
    padding-bottom: calc(var(--k3-wave-height) * 0.75 + 4rem) !important;
  }
}

@media (min-width: 1200px) {
  .elementor-2 .elementor-element.elementor-element-bb62191 {
    padding-top: calc(15.25vw + 2.4rem) !important;
    padding-bottom: calc(var(--k3-wave-height) * 0.75 + 5rem) !important;
  }
}

.elementor-2 .elementor-element.elementor-element-8e208a0 .title,
.elementor-2 .elementor-element.elementor-element-8e208a0 .elementor-heading-title {
  color: #043f79 !important;
}

.elementor-2 .elementor-element.elementor-element-5c7a759 .elementor-heading-title {
  color: #fff !important;
}

.elementor-2 .elementor-element.elementor-element-fa15bf1 .elementor-heading-title {
  color: #043f79 !important;
  font-size: 24px !important;
  line-height: 1.2em !important;
}

.elementor-2 .elementor-element.elementor-element-fa15bf1 .kn-hero-slogan-line {
  display: inline-block;
  border-bottom: 3px solid #043f79;
  padding-bottom: 0.1em;
  line-height: 1.15;
}

.elementor-2 .elementor-element.elementor-element-841cea5 .elementor-icon-list-text,
.elementor-2 .elementor-element.elementor-element-a70c6c2 .elementor-icon-list-text,
.elementor-2 .elementor-element.elementor-element-fd2a3a0 .elementor-icon-list-text {
  color: #003366 !important;
}

@media (max-width: 1200px) {
  .elementor-2 .elementor-element.elementor-element-7fa805c {
    width: 141px !important;
    max-width: 141px !important;
    --container-widget-width: 141px;
  }
  .elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle {
    width: 141px !important;
    height: 141px !important;
    max-width: 141px !important;
    font-size: 15px !important;
  }
}

@media (max-width: 1024px) {
  .elementor-2 .elementor-element.elementor-element-7fa805c {
    width: 122px !important;
    max-width: 122px !important;
    --container-widget-width: 122px;
  }
  .elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle {
    width: 122px !important;
    height: 122px !important;
    max-width: 122px !important;
    font-size: 13px !important;
  }
  .elementor-2 .elementor-element.elementor-element-fa15bf1 {
    width: 20.8rem !important;
    max-width: 20.8rem !important;
    --container-widget-width: 20.8rem;
    padding: 0 0 0 1.5em !important;
  }
  .elementor-2 .elementor-element.elementor-element-fa15bf1 .elementor-heading-title {
    font-size: 18px !important;
  }
}

@media (max-width: 767px) {
  .elementor-2 .elementor-element.elementor-element-7fa805c {
    width: 103px !important;
    max-width: 103px !important;
    --container-widget-width: 103px;
  }
  .elementor-2 .elementor-element.elementor-element-7fa805c .btn.btn-circle {
    width: 103px !important;
    height: 103px !important;
    max-width: 103px !important;
    font-size: 11px !important;
  }
  .elementor-2 .elementor-element.elementor-element-fa15bf1 {
    width: 17.6rem !important;
    max-width: 17.6rem !important;
    --container-widget-width: 17.6rem;
    padding: 0 0 0 1em !important;
  }
  .elementor-2 .elementor-element.elementor-element-fa15bf1 .elementor-heading-title {
    font-size: 15px !important;
  }
}

/*
 * Header chrome: Login + Suche in one row; hamburger (#menu-toggle / 367dde7)
 * lives in the Login column and must stay hidden from tablet_extra up.
 * 7e56c2e is the mobile logo column only.
 */
#header.header-9 .elementor-element-a1093cc > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  min-width: 0;
}

#header.header-9 .elementor-element-f8319fb > .elementor-widget-wrap {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 0;
}

#header.header-9 .elementor-element-f832a1a {
  margin: 0 16px 0 0 !important;
  flex: 0 0 auto;
}

#header.header-9 .elementor-element-4266a1b {
  margin: 0 !important;
  flex: 0 0 auto;
}

/*
 * Values block (icons + overhead pool photo) is position:absolute and
 * rotated 90deg, so the photo used to paint 270px into the trainer section
 * and cover the white "Trainer" heading. Margin does not resize that
 * absolute box; it only moves the next section below the photo.
 */
.elementor-2 .elementor-element-4f09065 {
  margin-bottom: 290px;
}

@media (max-width: 1024px) {
  .elementor-2 .elementor-element-4f09065 {
    margin-bottom: 180px;
  }
}

@media (max-width: 767px) {
  .elementor-2 .elementor-element-4f09065 {
    margin-bottom: 40px;
  }
}

/* Hero: keep Kurse + slogan as a horizontal pair, vertically centered. */
.elementor-2 .elementor-element-59eac9c > .elementor-widget-wrap {
  align-items: center !important;
}

@media (min-width: 1025px) {
  #header.header-9 .elementor-element-7e56c2e,
  #header.header-9 .elementor-element-367dde7,
  #header.header-9 #menu-toggle {
    display: none !important;
  }

  #header.header-9 .elementor-element-f8319fb {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    min-width: 0;
  }

  #header.header-9 .elementor-element-a1093cc {
    width: auto !important;
    flex: 1 1 auto !important;
    max-width: none !important;
    min-width: 0;
  }
}

/* Tablet + phone: Login/Suche off, hamburger on (avoids overlay boxes). */
@media (max-width: 1024px) {
  #header.header-9 .elementor-element-f832a1a,
  #header.header-9 .elementor-element-4266a1b {
    display: none !important;
  }

  #header.header-9 .elementor-element-367dde7,
  #header.header-9 #menu-toggle {
    display: flex !important;
    align-items: center !important;
    margin: 8px 8px 0 0 !important;
  }

  #header.header-9 .elementor-element-367dde7 .btn,
  #header.header-9 #menu-toggle .btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  /* White SVG sits on the light wave hero; match the logo / Kurse navy. */
  #header.header-9 #menu-toggle svg,
  #header.header-9 #menu-toggle svg path,
  #header.header-9 .elementor-element-367dde7 svg,
  #header.header-9 .elementor-element-367dde7 svg path {
    fill: #043f79 !important;
  }

  #header.header-9 .elementor-element-45e204e {
    display: none !important;
  }

  #header.header-9 .elementor-element-f8319fb {
    width: auto !important;
    flex: 0 0 auto !important;
    max-width: none !important;
    margin-left: auto !important;
  }
}

/*
 * Value icons (post-2.css never emitted these widgets).
 * Restore the saved circle size, aqua fills and the vertical margins
 * that space each block evenly beside the pool photo.
 */
.elementor-2 .elementor-element-e38067d .icon-box-feature,
.elementor-2 .elementor-element-00254eb .icon-box-feature,
.elementor-2 .elementor-element-a726ace .icon-box-feature,
.elementor-2 .elementor-element-a342d73 .icon-box-feature,
.elementor-2 .elementor-element-188989b .icon-box-feature,
.elementor-2 .elementor-element-46a680b .icon-box-feature {
  width: 8rem;
  height: 8rem;
  margin-right: auto;
  margin-left: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.elementor-2 .elementor-element-e38067d .icon-box-feature i,
.elementor-2 .elementor-element-00254eb .icon-box-feature i,
.elementor-2 .elementor-element-a726ace .icon-box-feature i,
.elementor-2 .elementor-element-a342d73 .icon-box-feature i,
.elementor-2 .elementor-element-188989b .icon-box-feature i,
.elementor-2 .elementor-element-46a680b .icon-box-feature i {
  color: #fff;
  line-height: 1;
}

.elementor-2 .elementor-element-e38067d .icon-box-title,
.elementor-2 .elementor-element-00254eb .icon-box-title,
.elementor-2 .elementor-element-a726ace .icon-box-title,
.elementor-2 .elementor-element-a342d73 .icon-box-title,
.elementor-2 .elementor-element-188989b .icon-box-title,
.elementor-2 .elementor-element-46a680b .icon-box-title {
  font-size: 2.4rem;
  line-height: 1.2;
}

.elementor-2 .elementor-element-e38067d .icon-box-feature { background-color: #3CCCC9 !important; }
.elementor-2 .elementor-element-e38067d .icon-box-feature i { font-size: 4rem; }
.elementor-2 .elementor-element-00254eb .icon-box-feature { background-color: #3CB9CC !important; }
.elementor-2 .elementor-element-00254eb .icon-box-feature i { font-size: 4rem; }
.elementor-2 .elementor-element-a726ace .icon-box-feature { background-color: #3CA5CC !important; }
.elementor-2 .elementor-element-a726ace .icon-box-feature i { font-size: 3.5rem; }
.elementor-2 .elementor-element-a342d73 .icon-box-feature { background-color: #3CCCC9 !important; }
.elementor-2 .elementor-element-a342d73 .icon-box-feature i { font-size: 4rem; }
.elementor-2 .elementor-element-188989b .icon-box-feature { background-color: #3CB9CC !important; }
.elementor-2 .elementor-element-188989b .icon-box-feature i { font-size: 4rem; }
.elementor-2 .elementor-element-46a680b .icon-box-feature { background-color: #3CA5CC !important; }
.elementor-2 .elementor-element-46a680b .icon-box-feature i { font-size: 3.8rem; }

.elementor-2 .elementor-element-e38067d .icon-box-desc,
.elementor-2 .elementor-element-00254eb .icon-box-desc { font-size: 1.7rem; line-height: 1.45; }
.elementor-2 .elementor-element-a726ace .icon-box-desc,
.elementor-2 .elementor-element-a342d73 .icon-box-desc,
.elementor-2 .elementor-element-188989b .icon-box-desc,
.elementor-2 .elementor-element-46a680b .icon-box-desc { font-size: 1.6rem; line-height: 1.45; }

@media (min-width: 1025px) {
  .elementor-2 .elementor-element-4084e51,
  .elementor-2 .elementor-element-45cbbf3 {
    z-index: 2;
  }

  .elementor-2 .elementor-element-e38067d { width: 89.743%; margin: 5.6rem auto 5.4rem !important; }
  .elementor-2 .elementor-element-00254eb { margin: 0 2rem 5.4rem !important; }
  .elementor-2 .elementor-element-a726ace { margin: 0 2rem 5.4rem !important; }
  .elementor-2 .elementor-element-a342d73 { width: 76.409%; margin: 5.6rem auto 5.4rem !important; }
  .elementor-2 .elementor-element-188989b { width: 84.615%; margin: 0.7rem auto 8rem !important; }
  .elementor-2 .elementor-element-46a680b { width: 85.376%; margin: -1rem auto 4rem !important; }
}

@media (max-width: 1024px) {
  /* Custom desktop widths (89% / 76% / …) are left-aligned once the side
     margins drop to 0, so the circles no longer share one vertical axis. */
  .elementor-2 .elementor-element-e38067d,
  .elementor-2 .elementor-element-00254eb,
  .elementor-2 .elementor-element-a726ace,
  .elementor-2 .elementor-element-a342d73,
  .elementor-2 .elementor-element-188989b,
  .elementor-2 .elementor-element-46a680b {
    width: 100% !important;
    max-width: 100% !important;
  }

  .elementor-2 .elementor-element-e38067d,
  .elementor-2 .elementor-element-a342d73 { margin: 2rem 0 5.4rem !important; }
  .elementor-2 .elementor-element-00254eb,
  .elementor-2 .elementor-element-a726ace,
  .elementor-2 .elementor-element-188989b,
  .elementor-2 .elementor-element-46a680b { margin: 0 0 5.4rem !important; }
}

/* Course cards: outline stays brand blue, label uses the existing heading navy. */
.elementor-2 .elementor-element-b19d2cf .image-box-content > a.btn.btn-outline3 {
  --alpha-btn-color: #003366;
  --alpha-btn-hover-color: #003366;
  --alpha-btn-active-color: #003366;
  --alpha-btn-bd-color: #009ee3;
  --alpha-btn-hover-bd-color: #003366;
  --alpha-btn-active-bd-color: #003366;
  color: #003366;
}

.elementor-2 .elementor-element-b19d2cf .image-box-content > a.btn.btn-outline3:focus-visible {
  outline: 2px solid #003366;
  outline-offset: 3px;
}

/* Newsletter-Block entfernen (Überschrift, Untertitel, Deko). */
.bottom-block,
.elementor-5670 {
  display: none !important;
}

/* Trainer-Bereich: schwarzes Logo über der Überschrift entfernen. */
.elementor-2 .elementor-element.elementor-element-13f789f {
  display: none !important;
}

/* Footer-Logo bleibt weiß und hat dieselbe Größe wie das Logo im Header. */
.elementor-687 .elementor-element.elementor-element-fd53ac2,
.elementor-687 .elementor-element.elementor-element-fd53ac2 .elementor-widget-container,
.elementor-687 .elementor-element-40548f7 > .elementor-widget-wrap {
  overflow: visible;
}

.elementor-687 .elementor-element.elementor-element-fd53ac2 img {
  width: 340px !important;
  max-width: 100%;
  height: auto;
  transform: translateX(-13.24%);
}

@media (max-width: 991px) {
  .elementor-687 .elementor-element.elementor-element-fd53ac2 img {
    width: 200px !important;
  }
}

@media (max-width: 767px) {
  .elementor-687 .elementor-element.elementor-element-fd53ac2 img {
    width: 148px !important;
    max-width: 42vw !important;
  }
}

