/* ============================================
   Ekon Components CSS Library
   Reusable classes for Leistungen sub-pages
   Stand: April 2026 – Design-System-konform
   Breakpoints: Tablet ≤1024px, Mobile ≤768px
   ============================================ */

/* 1. Back link */
.ekon-back-link {
  color: #5057E6;
  text-decoration: none;
  font-size: 14px;
}

/* 2. Pull quote with left border */
.ekon-quote {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-style: italic;
  color: #919191;
  line-height: 1.6;
  padding-left: 16px;
  border-left: 3px solid #5057E6;
  margin: 0;
}

/* 3. Dot badge (flex container) */
.ekon-dot-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.ekon-dot-badge .ekon-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5057E6;
  display: inline-block;
  flex-shrink: 0;
}
.ekon-dot-badge .ekon-dot-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #919191;
}

/* 4. Uppercase blue pill badge */
.ekon-tag {
  display: inline-block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: #5057E6;
  background: #EEF0FF;
  padding: 2px 8px;
  border-radius: 4px;
}

/* 5. Section title (h3) */
.ekon-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #313131;
  margin-bottom: 12px;
}

/* 6. Colored subtitle */
.ekon-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #5057E6;
  margin-bottom: 16px;
}

/* 7. Body paragraph */
.ekon-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #676767;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* 8. Italic body text */
.ekon-body-italic {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-style: italic;
  color: #919191;
  line-height: 1.6;
  margin-bottom: 16px;
}

/* 9. Result box with left border */
.ekon-result-box {
  background: rgba(80,87,230,0.04);
  border-radius: 10px;
  padding: 16px 18px;
  border-left: 3px solid #5057E6;
}

/* 10. Result box with full border */
.ekon-result-box-bordered {
  background: rgba(80,87,230,0.04);
  border-radius: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(80,87,230,0.1);
}

/* 11. Result label */
.ekon-result-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #5057E6;
  margin-bottom: 4px;
}

/* 12. Result text */
.ekon-result-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #313131;
  line-height: 1.55;
  margin: 0;
}

/* 13. Check list container */
.ekon-check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

/* 14. Check item */
.ekon-check-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #676767;
}

/* 15. Check icon */
.ekon-check-icon {
  color: #5057E6;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}

/* 16. Service number */
.ekon-service-number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(80,87,230,0.1);
  line-height: 1;
  margin-bottom: 8px;
}

/* 17. Tag wrapper */
.ekon-tag-wrapper {
  margin-bottom: 16px;
}

/* ============================================
   Tablet breakpoint (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .ekon-section-title {
    font-size: 22px;
  }
  .ekon-quote {
    font-size: 15px;
  }
  .ekon-body {
    font-size: 15px;
    line-height: 1.65;
  }
  .ekon-body-italic {
    font-size: 15px;
  }
  .ekon-result-box,
  .ekon-result-box-bordered {
    padding: 14px 16px;
  }
  .ekon-service-number {
    font-size: 42px;
  }
}

/* ============================================
   Mobile breakpoint (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .ekon-back-link {
    font-size: 13px;
  }
  .ekon-quote {
    font-size: 15px;
    padding-left: 12px;
  }
  .ekon-dot-badge .ekon-dot-text {
    font-size: 12px;
  }
  .ekon-tag {
    font-size: 10px;
    padding: 2px 8px;
  }
  .ekon-section-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .ekon-subtitle {
    font-size: 12px;
    margin-bottom: 12px;
  }
  .ekon-body {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .ekon-body-italic {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .ekon-result-box,
  .ekon-result-box-bordered {
    padding: 14px 16px;
    border-radius: 8px;
  }
  .ekon-result-label {
    font-size: 10px;
  }
  .ekon-result-text {
    font-size: 13px;
  }
  .ekon-check-list {
    gap: 8px;
    margin-bottom: 16px;
  }
  .ekon-check-item {
    font-size: 13px;
    gap: 8px;
  }
  .ekon-service-number {
    font-size: 36px;
  }
  .ekon-tag-wrapper {
    margin-bottom: 12px;
  }
  /* Contact form iOS zoom fix */
  #ekon-agents-cf .ea-field-group input,
  #ekon-agents-cf .ea-field-group textarea {
    font-size: 16px !important;
  }
}

/* ─── Newsletter form (replaces MC4WP plugin CSS) ─── */
/* Global base */
form.mc4wp-form-custom .mc4wp-alert {
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1.5em;
  font-size: 14px;
}
form.mc4wp-form-custom label {
  cursor: pointer;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email] {
  -webkit-box-shadow: none;
  box-shadow: none;
}
/* Style 9 — form container */
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom {
  position: relative;
}
/* Mail icon left of input */
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom:before {
  display: block;
  color: var(--theme-color-text);
  content: "\e9a3";
  font-family: "fontello";
  width: 1.5em;
  height: 2em;
  line-height: 2em;
  font-size: 14px;
  position: absolute;
  top: 20px;
  left: 0;
}
/* Email input */
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email] {
  padding: 10px 35px 10px 27px;
  font-size: 16px;
  line-height: 22px;
  width: 100%;
  height: 70px;
  border-bottom: 1px solid var(--theme-color-input_bd_color);
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]::-webkit-input-placeholder {
  color: var(--theme-color-text);
  opacity: 1;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]::-moz-placeholder {
  color: var(--theme-color-text);
  opacity: 1;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]:-ms-input-placeholder {
  color: var(--theme-color-text);
  opacity: 1;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]:hover,
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]:active,
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]:focus {
  color: var(--theme-color-text_dark);
  opacity: 1;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom input[type=email]:focus {
  border-color: var(--theme-color-input_bd_hover);
}
/* Submit button — arrow icon only */
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom button {
  width: 30px;
  color: transparent !important;
  background: none !important;
  overflow: hidden;
  padding: 0 !important;
  height: 70px;
  line-height: 70px;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 13px;
  display: inline-block;
  border: none;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom button:before {
  color: var(--theme-color-text_dark);
  content: "\e9df";
  font-family: "fontello";
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  line-height: inherit;
  text-align: right;
  font-weight: 400;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom button:hover:before {
  color: var(--theme-color-text_link);
}
#style-9.mc4wp-form-custom .mc4wp-form-fields-custom button[disabled]:hover:before {
  color: var(--theme-color-text_dark);
}
/* Checkbox label */
#style-9.mc4wp-form-custom label[for] {
  display: table;
  margin: 22px 0 0;
  color: var(--theme-color-text_light);
}
/* Checkbox fake box via label:before */
#style-9.mc4wp-form-custom input[type=checkbox] + label:before {
  border-color: var(--theme-color-text_light) !important;
}
/* Checkbox checkmark color when checked */
#style-9.mc4wp-form-custom input[type=checkbox]:checked + label:before {
  color: var(--theme-color-text_link, #5057E6) !important;
  border-color: var(--theme-color-text_link, #5057E6) !important;
}
/* Status messages colored */
#style-9.mc4wp-form-custom .mc4wp-alert {
  color: var(--theme-color-text_link, #5057E6) !important;
}

/* ═══ EKON-MIGRATED-V13-START ════════════════════════════ */
/* Migriert aus 138 HTML-Widgets / 19 <style>-Blöcken am 2026-04-27 13:02 */
/* Pages: 26045, 25833, 25840, 25693, 25650, 25640, 25645, 25627, 25635, 25505, 25622, 25617, 25652, 25499, 18643 */

/* ── Page 26045: EKON Echo ──────────────────────── */

.ekon-nav-branchen {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 24px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  margin-bottom: 16px;
}
@media (hover: hover) {
  .ekon-nav-branchen:hover {
    border-color: #5057E6;
    box-shadow: 0 8px 24px rgba(80,87,230,0.1);
    background-color: #FFFFFF;
  }
}
@media (max-width: 768px) {
  .ekon-nav-branchen {
    padding: 20px;
    border-radius: 12px;
  }
}

.ekon-cross-link {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .ekon-cross-link:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-cross-link {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
  .ekon-cross-link h3 {
    font-size: 17px !important;
  }
  .ekon-cross-link p {
    font-size: 13px !important;
  }
}

.ekon-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ekon-insight-card {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
}
@media (max-width: 1024px) {
  .ekon-insights-grid { gap: 16px; }
  .ekon-insight-card { padding: 24px; }
}
@media (max-width: 768px) {
  .ekon-insights-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .ekon-insight-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
}


/* ── Page 25833: Weiterentwickeln  &#038; Begleiten ──────────────────────── */

.ekon-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ekon-service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ekon-service-card .service-number {
  transition: color 0.3s ease;
}
.ekon-service-card .result-box {
  margin-top: auto;
}
@media (hover: hover) {
  .ekon-service-card:hover {
    border-color: #5057E6;
    box-shadow: 0 12px 32px rgba(80,87,230,0.1);
  }
  .ekon-service-card:hover .service-number {
    color: rgba(80,87,230,0.35) !important;
  }
}
@media (max-width: 1024px) {
  .ekon-services-grid { gap: 16px; }
  .ekon-service-card { padding: 28px; }
}
@media (max-width: 768px) {
  .ekon-services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .ekon-service-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .ekon-service-card .service-number {
    font-size: 36px !important;
    margin-bottom: 4px !important;
  }
  .ekon-service-card h3 {
    font-size: 19px !important;
  }
  .ekon-service-card p {
    font-size: 14px !important;
  }
}

.ekon-process {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
}
.ekon-process-step {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ekon-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ekon-process-arrow svg {
  width: 24px;
  height: 24px;
  opacity: 0.35;
}
@media (hover: hover) {
  .ekon-process-step:hover {
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-process {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ekon-process-step {
    border-radius: 12px;
    padding: 24px 20px;
  }
  .ekon-process-arrow {
    justify-content: center;
    padding: 8px 0;
  }
  .ekon-process-arrow svg {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
  }
}

.ekon-cross-link {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .ekon-cross-link:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-cross-link {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
  .ekon-cross-link h3 {
    font-size: 17px !important;
  }
  .ekon-cross-link p {
    font-size: 13px !important;
  }
}


/* ── Page 25840: Aufbauen &#038; Umsetzen ──────────────────────── */

.ekon-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ekon-service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ekon-service-card .service-number {
  transition: color 0.3s ease;
}
.ekon-service-card .result-box {
  margin-top: auto;
}
@media (hover: hover) {
  .ekon-service-card:hover {
    border-color: #5057E6;
    box-shadow: 0 12px 32px rgba(80,87,230,0.1);
  }
  .ekon-service-card:hover .service-number {
    color: rgba(80,87,230,0.35) !important;
  }
}
@media (max-width: 1024px) {
  .ekon-services-grid { gap: 16px; }
  .ekon-service-card { padding: 28px; }
}
@media (max-width: 768px) {
  .ekon-services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .ekon-service-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .ekon-service-card .service-number {
    font-size: 36px !important;
    margin-bottom: 4px !important;
  }
  .ekon-service-card h3 {
    font-size: 19px !important;
  }
  .ekon-service-card p {
    font-size: 14px !important;
  }
}

.ekon-process {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
}
.ekon-process-step {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ekon-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ekon-process-arrow svg {
  width: 24px;
  height: 24px;
  opacity: 0.35;
}
@media (hover: hover) {
  .ekon-process-step:hover {
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-process {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ekon-process-step {
    border-radius: 12px;
    padding: 24px 20px;
  }
  .ekon-process-arrow {
    justify-content: center;
    padding: 8px 0;
  }
  .ekon-process-arrow svg {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
  }
}

.ekon-cross-link {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .ekon-cross-link:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-cross-link {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
  .ekon-cross-link h3 {
    font-size: 17px !important;
  }
  .ekon-cross-link p {
    font-size: 13px !important;
  }
}


/* ── Page 25693: Verstehen &#038; Befähigen ──────────────────────── */

@media (max-width: 767px) {
  .elementor-section .elementor-widget-image img {
    max-height: 280px;
    object-fit: cover;
    border-radius: 12px !important;
  }
}

.ekon-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.ekon-service-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.ekon-service-card .service-number {
  transition: color 0.3s ease;
}
.ekon-service-card .result-box {
  margin-top: auto;
}
@media (hover: hover) {
  .ekon-service-card:hover {
    border-color: #5057E6;
    box-shadow: 0 12px 32px rgba(80,87,230,0.1);
  }
  .ekon-service-card:hover .service-number {
    color: rgba(80,87,230,0.35) !important;
  }
}
@media (max-width: 1024px) {
  .ekon-services-grid { gap: 16px; }
  .ekon-service-card { padding: 28px; }
}
@media (max-width: 768px) {
  .ekon-services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .ekon-service-card {
    padding: 24px 20px;
    border-radius: 12px;
  }
  .ekon-service-card .service-number {
    font-size: 36px !important;
    margin-bottom: 4px !important;
  }
  .ekon-service-card h3 {
    font-size: 19px !important;
  }
  .ekon-service-card p {
    font-size: 14px !important;
  }
}

.ekon-process {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr;
  gap: 0;
  align-items: stretch;
}
.ekon-process-step {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ekon-process-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ekon-process-arrow svg {
  width: 24px;
  height: 24px;
  opacity: 0.35;
}
@media (hover: hover) {
  .ekon-process-step:hover {
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-process {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ekon-process-step {
    border-radius: 12px;
    padding: 24px 20px;
  }
  .ekon-process-arrow {
    justify-content: center;
    padding: 8px 0;
  }
  .ekon-process-arrow svg {
    transform: rotate(90deg);
    width: 20px;
    height: 20px;
  }
}

.ekon-thought-text .thought-headline {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.4;
  color: #313131;
  margin-bottom: 24px;
}
.ekon-thought-text .thought-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #676767;
  line-height: 1.75;
  margin-bottom: 16px;
}
.ekon-thought-text .thought-body-last {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #676767;
  line-height: 1.75;
  margin-bottom: 32px;
}
@media (max-width: 767px) {
  .ekon-thought-text .thought-headline {
    font-size: 20px !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
  }
  .ekon-thought-text .thought-body,
  .ekon-thought-text .thought-body-last {
    font-size: 15px !important;
    margin-bottom: 12px !important;
  }
  .ekon-thought-text .thought-body-last {
    margin-bottom: 24px !important;
  }
  .ekon-thought-text .thought-author {
    padding-top: 16px !important;
  }
}

.ekon-cross-link {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}
@media (hover: hover) {
  .ekon-cross-link:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-cross-link {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
  .ekon-cross-link h3 {
    font-size: 17px !important;
  }
  .ekon-cross-link p {
    font-size: 13px !important;
  }
}

.ekon-cross-link {
  background: #F6F6F6;
  border-radius: 16px;
  padding: 32px;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}
.ekon-cross-link a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.ekon-cross-link a span:last-child {
  margin-top: auto;
}
@media (hover: hover) {
  .ekon-cross-link:hover {
    background-color: #FFFFFF;
    box-shadow: inset 0 0 0 2px #5057E6, 0 8px 24px rgba(80,87,230,0.1);
  }
}
@media (max-width: 767px) {
  .ekon-cross-link {
    padding: 24px 20px !important;
    border-radius: 12px !important;
  }
}


/* ── Page 25650: Leistungen ──────────────────────── */

.ekon-pain-box p { border-left: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.ekon-pain-box p::before, .ekon-pain-box p::after { display: none !important; }
@media (max-width: 1279px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.55 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
}
@media (max-width: 767px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.5 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
  .ekon-pain-box { padding: 14px 16px !important; margin-bottom: 10px !important; }
}

.ekon-pain-box p { border-left: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.ekon-pain-box p::before, .ekon-pain-box p::after { display: none !important; }
@media (max-width: 1279px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.55 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
}
@media (max-width: 767px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.5 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
  .ekon-pain-box { padding: 14px 16px !important; margin-bottom: 10px !important; }
}

.ekon-pain-box p { border-left: none !important; padding-left: 0 !important; margin-left: 0 !important; }
.ekon-pain-box p::before, .ekon-pain-box p::after { display: none !important; }
@media (max-width: 1279px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.55 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
}
@media (max-width: 767px) {
  .ekon-pain-box p.ekon-pb-quote { font-size: 14px !important; line-height: 1.5 !important; }
  .ekon-pain-box p.ekon-pb-highlight { font-size: 12px !important; }
  .ekon-pain-box { padding: 14px 16px !important; margin-bottom: 10px !important; }
}


/* ── Page 18643: Kontakt ──────────────────────── */

#ekon-agents-cf,
    #ekon-agents-cf * {
      box-sizing: border-box !important;
    }

    #ekon-agents-cf {
      font-family: 'DM Sans', sans-serif !important;
      color: #313131 !important;
      max-width: 640px !important;
      width: 100% !important;
      margin: 0 auto !important;
      padding: 40px 0 !important;
      line-height: 1.6 !important;
    }

    /* Sections */
    #ekon-agents-cf .ea-section {
      margin: 0 0 36px 0 !important;
      padding: 0 !important;
    }

    #ekon-agents-cf .ea-section-label {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 12px !important;
      font-weight: 500 !important;
      letter-spacing: 0.08em !important;
      text-transform: uppercase !important;
      color: #838383 !important;
      margin: 0 0 20px 0 !important;
      padding: 0 0 8px 0 !important;
      border-bottom: 1px solid #CECDCD !important;
      line-height: 1.4 !important;
    }

    /* Field rows */
    #ekon-agents-cf .ea-field-row {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 16px !important;
      margin: 0 0 16px 0 !important;
      padding: 0 !important;
    }

    #ekon-agents-cf .ea-field-row.full {
      grid-template-columns: 1fr !important;
    }

    @media (max-width: 600px) {
      #ekon-agents-cf .ea-field-row {
        grid-template-columns: 1fr !important;
      }
    }

    /* Field groups */
    #ekon-agents-cf .ea-field-group {
      display: flex !important;
      flex-direction: column !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    #ekon-agents-cf .ea-field-group label {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 13px !important;
      font-weight: 500 !important;
      color: #313131 !important;
      margin: 0 0 6px 0 !important;
      padding: 0 !important;
      line-height: 1.4 !important;
    }

    #ekon-agents-cf .ea-field-group label .req {
      color: #5057E6 !important;
      margin-left: 2px !important;
    }

    #ekon-agents-cf .ea-field-group input,
    #ekon-agents-cf .ea-field-group textarea {
      width: 100% !important;
      min-width: 0 !important;
      padding: 12px 14px !important;
      border: 1.5px solid #CECDCD !important;
      border-radius: 8px !important;
      font-family: 'DM Sans', sans-serif !important;
      font-size: 14px !important;
      color: #313131 !important;
      background: #F6F6F6 !important;
      transition: border-color 0.2s, box-shadow 0.2s !important;
      outline: none !important;
      line-height: 1.6 !important;
      margin: 0 !important;
      -webkit-appearance: none !important;
      appearance: none !important;
    }

    #ekon-agents-cf .ea-field-group input:focus,
    #ekon-agents-cf .ea-field-group textarea:focus {
      border-color: #5057E6 !important;
      box-shadow: 0 0 0 3px rgba(80, 87, 230, 0.12) !important;
      background: #fff !important;
    }

    #ekon-agents-cf .ea-field-group input::placeholder,
    #ekon-agents-cf .ea-field-group textarea::placeholder {
      color: #838383 !important;
    }

    #ekon-agents-cf .ea-field-group input.error,
    #ekon-agents-cf .ea-field-group textarea.error {
      border-color: #e85d5d !important;
      box-shadow: 0 0 0 3px rgba(232, 93, 93, 0.1) !important;
    }

    #ekon-agents-cf .ea-field-group textarea {
      min-height: 140px !important;
      resize: vertical !important;
    }

    #ekon-agents-cf .ea-field-error {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 12px !important;
      color: #e85d5d !important;
      margin: 4px 0 0 0 !important;
      padding: 0 !important;
      display: none !important;
      line-height: 1.4 !important;
    }

    #ekon-agents-cf .ea-field-group input.error + .ea-field-error,
    #ekon-agents-cf .ea-field-group textarea.error + .ea-field-error {
      display: block !important;
    }

    /* Checkbox rows */
    #ekon-agents-cf .ea-checkbox-row {
      display: flex !important;
      align-items: flex-start !important;
      gap: 12px !important;
      margin: 0 0 12px 0 !important;
      padding: 14px 16px !important;
      background: #F6F6F6 !important;
      border-radius: 8px !important;
      border: 1.5px solid #CECDCD !important;
    }

    #ekon-agents-cf .ea-checkbox-row input[type="checkbox"] {
      width: 20px !important;
      height: 20px !important;
      min-width: 20px !important;
      max-width: 20px !important;
      min-height: 20px !important;
      max-height: 20px !important;
      margin: 2px 0 0 0 !important;
      padding: 0 !important;
      accent-color: #5057E6 !important;
      flex-shrink: 0 !important;
      flex-grow: 0 !important;
      cursor: pointer !important;
      -webkit-appearance: checkbox !important;
      appearance: checkbox !important;
      display: inline-block !important;
      position: relative !important;
      vertical-align: top !important;
      border: none !important;
      background: none !important;
      box-shadow: none !important;
      outline: none !important;
    }

    #ekon-agents-cf .ea-checkbox-row input[type="checkbox"]::before,
    #ekon-agents-cf .ea-checkbox-row input[type="checkbox"]::after,
    #ekon-agents-cf .ea-checkbox-row label::before,
    #ekon-agents-cf .ea-checkbox-row label::after {
      display: none !important;
      content: none !important;
      width: 0 !important;
      height: 0 !important;
    }

    #ekon-agents-cf .ea-checkbox-row label {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 13px !important;
      color: #838383 !important;
      line-height: 1.55 !important;
      cursor: pointer !important;
      margin: 0 !important;
      padding: 0 !important;
    }

    #ekon-agents-cf .ea-checkbox-row label a {
      color: #5057E6 !important;
      text-decoration: underline !important;
    }

    #ekon-agents-cf .ea-checkbox-error {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 12px !important;
      color: #e85d5d !important;
      margin: -4px 0 12px 0 !important;
      padding: 0 !important;
      display: none !important;
    }

    #ekon-agents-cf .ea-checkbox-error.visible {
      display: block !important;
    }

    /* Honeypot */
    #ekon-agents-cf .ea-hp {
      position: absolute !important;
      left: -9999px !important;
      top: -9999px !important;
      opacity: 0 !important;
      height: 0 !important;
      width: 0 !important;
      z-index: -1 !important;
      pointer-events: none !important;
    }

    /* Submit */
    #ekon-agents-cf .ea-submit-row {
      margin: 32px 0 0 0 !important;
      padding: 0 !important;
    }

    #ekon-agents-cf .ea-submit-btn {
      width: 100% !important;
      padding: 18px 40px !important;
      background: #5057E6 !important;
      color: #fff !important;
      border: none !important;
      border-radius: 10px !important;
      font-family: 'DM Sans', sans-serif !important;
      font-size: 15px !important;
      font-weight: 500 !important;
      cursor: pointer !important;
      transition: background 0.2s, transform 0.1s !important;
      margin: 0 !important;
      line-height: 1.4 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 10px !important;
      -webkit-appearance: none !important;
      appearance: none !important;
    }

    #ekon-agents-cf .ea-submit-btn:hover {
      background: #3C43D1 !important;
    }

    #ekon-agents-cf .ea-submit-btn:active {
      transform: scale(0.99) !important;
    }

    #ekon-agents-cf .ea-submit-btn:disabled {
      background: #CECDCD !important;
      cursor: not-allowed !important;
    }

    #ekon-agents-cf .ea-submit-btn svg {
      width: 18px !important;
      height: 18px !important;
      flex-shrink: 0 !important;
    }

    #ekon-agents-cf .ea-submit-note {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 12px !important;
      color: #838383 !important;
      text-align: center !important;
      margin: 12px 0 0 0 !important;
      padding: 0 !important;
      line-height: 1.4 !important;
    }

    /* Result messages */
    #ekon-agents-cf .ea-result {
      display: none;
      padding: 20px !important;
      border-radius: 8px !important;
      text-align: center !important;
      margin: 20px 0 0 0 !important;
    }

    #ekon-agents-cf .ea-result.success {
      display: block !important;
      background: #eef0fd !important;
      border: 1.5px solid #5057E6 !important;
      color: #3a3d8f !important;
    }

    #ekon-agents-cf .ea-result.error {
      display: block !important;
      background: #fdf0f0 !important;
      border: 1.5px solid #e85d5d !important;
      color: #c62828 !important;
    }

    #ekon-agents-cf .ea-result h3 {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 18px !important;
      margin: 0 0 8px 0 !important;
      padding: 0 !important;
      font-weight: 500 !important;
    }

    #ekon-agents-cf .ea-result p {
      font-family: 'DM Sans', sans-serif !important;
      font-size: 14px !important;
      line-height: 1.5 !important;
      margin: 0 !important;
      padding: 0 !important;
    }


/* ═══ EKON-MIGRATED-V13-END ══════════════════════════════ */
