/* ===================================================================
 * paricon framework CSS — loaded on solution pages only
 * Pages: DIF(677), DMF(348), SDP(715), DRF(707), DQF(685), IRS(2001), DPS(140)
 * Migrated from Kit #9 custom CSS field — Batch 3
 * =================================================================== */

/* Long German compounds in solution-page headings must be allowed to break
   inside the word when the Elementor flex column gets narrow. */
.wrap-heading .elementor-heading-title {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Page 348 (DMF) hero only: the headline is a 3-word unit ("Jede SAP
   Datenmigration"). Prefer whole-word wrapping over the cohort's mid-word
   break so "DATENMIGRATION" stays intact on tablet/mobile; break-word still
   prevents true overflow. Scoped to 348 so the other framework heroes keep
   the cohort default above. */
body.page-id-348 .wrap-heading .elementor-heading-title {
  overflow-wrap: break-word;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Mobile solution-page hero titles. */
@media (max-width: 767px) {
  .elementor-widget-heading.wrap-heading h1.elementor-heading-title {
    font-size: 36px !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }
}

@media (max-width: 380px) {
  .elementor-widget-heading.wrap-heading h1.elementor-heading-title {
    font-size: 32px !important;
    line-height: 1.08 !important;
  }
}

/* A11 update: card is the trigger — hide separate Details-lesen button + collapse space */
[data-id="2a17122c"] .elementor-widget-bdt-modal,
[data-id="1c1e718"] .elementor-widget-bdt-modal {
    margin: 0 !important;
    padding: 0 !important;
}
[data-id="2a17122c"] .elementor-widget-bdt-modal .elementor-widget-container,
[data-id="1c1e718"] .elementor-widget-bdt-modal .elementor-widget-container {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
    font-size: 0;
}
[data-id="2a17122c"] .bdt-modal-wrapper,
[data-id="1c1e718"] .bdt-modal-wrapper {
    display: flex;
    flex-direction: column;
}
[data-id="2a17122c"] .bdt-modal-button,
[data-id="1c1e718"] .bdt-modal-button {
    display: none !important;
}
/* Cards get pointer cursor */
[data-id="2a17122c"] .elementor-widget-uicore-icon-box,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
[data-id="2a17122c"] .elementor-widget-uicore-icon-box:hover,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box:hover {
    opacity: 0.85;
}

/* B4 — Venn circles: centered + larger text, both viewports */

/* Desktop: vertically center content in circles */
[data-id="359226a"],
[data-id="ea85609"],
[data-id="11478d8"] {
  justify-content: center !important;
  align-items: center !important;
}
[data-id="8ef738e"],
[data-id="b56c199"],
[data-id="8915201"] {
  align-items: center !important;
}
/* Desktop: COMPLIANCE label (inside 8915201, id 1785581) */
[data-id="8915201"] .elementor-heading-title {
  font-size: 22px !important;
}

/* Mobile: true round circles */
@media (max-width: 767px) {
  [data-id="359226a"],
  [data-id="ea85609"],
  [data-id="11478d8"] {
    width: 155px !important;
    height: 155px !important;
    min-height: 155px !important;
    flex-shrink: 0 !important;
    overflow: hidden !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 10px !important;
  }
  [data-id="ea85609"] { margin-left: -28px; }
  [data-id="4766cd2"] { margin-top: -28px; justify-content: center !important; }
  [data-id="c894a50"] { justify-content: center !important; gap: 0 !important; }
  [data-id="8ef738e"],
  [data-id="b56c199"],
  [data-id="8915201"] {
    width: auto !important;
    max-width: 135px !important;
    align-items: center !important;
  }
  /* Mobile: override desktop font sizes to fit in 155px circles */
  [data-id="359226a"] .elementor-heading-title,
  [data-id="ea85609"] .elementor-heading-title,
  [data-id="11478d8"] .elementor-heading-title {
    font-size: 13px !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  [data-id="4d104bf"] .elementor-heading-title {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-align: center !important;
    letter-spacing: 0.5px !important;
  }
  [data-id="8915201"] .elementor-heading-title {
    font-size: 13px !important;
  }
}

/* B4 — Venn circles: mobile responsive (cascade override) */
@media (max-width: 767px) {
  /* Fixed round circles — 155x155px, properly sized */
  [data-id="359226a"],
  [data-id="ea85609"],
  [data-id="11478d8"] {
    width: 155px !important;
    min-height: 155px !important;
    flex-shrink: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }
  /* Overlap: right circle nudges left over left circle */
  [data-id="ea85609"] {
    margin-left: -28px;
  }
  /* Overlap: bottom circle nudges up over top row */
  [data-id="4766cd2"] {
    margin-top: -28px;
  }
  /* Center the top row */
  [data-id="c894a50"] {
    justify-content: center !important;
    gap: 0 !important;
  }
  /* Inner content: auto width, centered text */
  [data-id="8ef738e"],
  [data-id="b56c199"],
  [data-id="8915201"] {
    width: auto !important;
    max-width: 125px !important;
    align-items: center !important;
  }
  /* Smaller font in circles for mobile */
  [data-id="359226a"] .elementor-heading-title,
  [data-id="ea85609"] .elementor-heading-title,
  [data-id="11478d8"] .elementor-heading-title {
    font-size: 10px !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  /* SAP CLEAN CORE label (overlap center text) */
  [data-id="4d104bf"] .elementor-heading-title {
    font-size: 9px !important;
    letter-spacing: 0.5px !important;
    text-align: center !important;
  }
}

/* B6+ Dealer Zone: overflow + mobile stacking + CTA ordering (v3) */

/* Fix 1: Clip animated backgrounds at border-radius edge */
[data-id="17ed0161"],
[data-id="5b599dee"], [data-id="98c0f5b"], [data-id="74fce28f"],
[data-id="c676089"],
[data-id="d3db9fd"], [data-id="109552a5"], [data-id="18c14d"] {
  overflow: hidden !important;
}

@media (max-width: 767px) {
  /* Fix 2: ALL containers inside dealer zone tabs — column + full width */
  [data-id="c724b41"] .e-n-tabs-content .e-con,
  [data-id="7a2e8393"] .e-n-tabs-content .e-con {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 24px !important;
  }

  /* Fix 3: Remove 95% max-width on ALL inner wrappers */
  [data-id="c724b41"] .e-n-tabs-content .e-con-inner,
  [data-id="7a2e8393"] .e-n-tabs-content .e-con-inner {
    max-width: 100% !important;
  }

  /* Fix 4: Push ALL button widgets to bottom of their parent container */
  [data-id="c724b41"] .e-n-tabs-content .elementor-widget-button,
  [data-id="7a2e8393"] .e-n-tabs-content .elementor-widget-button {
    order: 100 !important;
    width: 100% !important;
  }

  /* Fix 5: Tab panel padding */
  [data-id="c724b41"] .e-n-tabs-content > .e-con,
  [data-id="7a2e8393"] .e-n-tabs-content > .e-con {
    padding: 24px 20px !important;
  }

  /* Fix 6: SDP Tab1 — push icon-list+CTA container after text */
  [data-id="c5c8c11"] {
    order: 50 !important;
  }

  /* Fix 7: Image widgets inside tab panels — no excessive height */
  [data-id="c724b41"] .e-n-tabs-content .elementor-widget-image img,
  [data-id="7a2e8393"] .e-n-tabs-content .elementor-widget-image img {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Fix 1: Clip animated backgrounds at border-radius edge */
[data-id="17ed0161"],
[data-id="5b599dee"],
[data-id="98c0f5b"],
[data-id="74fce28f"],
[data-id="c676089"],
[data-id="d3db9fd"],
[data-id="109552a5"],
[data-id="18c14d"] {
  overflow: hidden !important;
}

/* Fix 2+3: Mobile column stacking + full-width children */
@media (max-width: 767px) {
  /* All dealer zone tab panels — column layout */
  [data-id="76df0ed4"],
  [data-id="73728ff4"],
  [data-id="7951b382"],
  [data-id="5b599dee"],
  [data-id="98c0f5b"],
  [data-id="74fce28f"],
  [data-id="6da895b8"],
  [data-id="66f0d74"],
  [data-id="8a796d8"],
  [data-id="d3db9fd"],
  [data-id="109552a5"],
  [data-id="18c14d"] {
    flex-direction: column !important;
    gap: 24px !important;
  }

  /* Direct child containers — full width */
  [data-id="76df0ed4"] > .e-con,
  [data-id="73728ff4"] > .e-con,
  [data-id="7951b382"] > .e-con,
  [data-id="5b599dee"] > .e-con,
  [data-id="98c0f5b"] > .e-con,
  [data-id="74fce28f"] > .e-con,
  [data-id="6da895b8"] > .e-con,
  [data-id="66f0d74"] > .e-con,
  [data-id="8a796d8"] > .e-con,
  [data-id="d3db9fd"] > .e-con,
  [data-id="109552a5"] > .e-con,
  [data-id="18c14d"] > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }

  /* Inner wrappers — remove 95% max-width constraint */
  [data-id="76df0ed4"] > .e-con > .e-con-inner,
  [data-id="73728ff4"] > .e-con > .e-con-inner,
  [data-id="7951b382"] > .e-con > .e-con-inner,
  [data-id="5b599dee"] > .e-con > .e-con-inner,
  [data-id="98c0f5b"] > .e-con > .e-con-inner,
  [data-id="74fce28f"] > .e-con > .e-con-inner,
  [data-id="6da895b8"] > .e-con > .e-con-inner,
  [data-id="66f0d74"] > .e-con > .e-con-inner,
  [data-id="8a796d8"] > .e-con > .e-con-inner,
  [data-id="d3db9fd"] > .e-con > .e-con-inner,
  [data-id="109552a5"] > .e-con > .e-con-inner,
  [data-id="18c14d"] > .e-con > .e-con-inner {
    max-width: 100% !important;
  }

  /* Tab panel padding: tighter on mobile */
  [data-id="76df0ed4"],
  [data-id="73728ff4"],
  [data-id="7951b382"],
  [data-id="5b599dee"],
  [data-id="98c0f5b"],
  [data-id="74fce28f"],
  [data-id="6da895b8"],
  [data-id="66f0d74"],
  [data-id="8a796d8"],
  [data-id="d3db9fd"],
  [data-id="109552a5"],
  [data-id="18c14d"] {
    padding-left: 20px !important;
    padding-right: 20px !important;
    padding-top: 24px !important;
    padding-bottom: 24px !important;
  }
}

/* Fix 1: Clip animated backgrounds at border-radius edge.
   Applies globally (desktop + mobile) so rounded corners are always clean. */
[data-id="17ed0161"],
[data-id="5b599dee"], [data-id="98c0f5b"], [data-id="74fce28f"],
[data-id="c676089"],
[data-id="d3db9fd"], [data-id="109552a5"], [data-id="18c14d"] {
  overflow: hidden !important;
}

/* Fix 2: Stack tab panels to column on mobile */
/* Fix 3: Full-width direct child containers */
@media (max-width: 767px) {
  /* All dealer zone tab panels — column layout */
  [data-id="76df0ed4"],
  [data-id="73728ff4"],
  [data-id="7951b382"],
  [data-id="5b599dee"],
  [data-id="98c0f5b"],
  [data-id="74fce28f"],
  [data-id="6da895b8"],
  [data-id="66f0d74"],
  [data-id="8a796d8"],
  [data-id="d3db9fd"],
  [data-id="109552a5"],
  [data-id="18c14d"] {
    flex-direction: column !important;
    gap: 32px !important;
  }

  /* All direct child containers inside tab panels — full width */
  [data-id="76df0ed4"] > .e-con-inner > .e-con,
  [data-id="73728ff4"] > .e-con-inner > .e-con,
  [data-id="7951b382"] > .e-con-inner > .e-con,
  [data-id="5b599dee"] > .e-con-inner > .e-con,
  [data-id="98c0f5b"] > .e-con-inner > .e-con,
  [data-id="74fce28f"] > .e-con-inner > .e-con,
  [data-id="6da895b8"] > .e-con-inner > .e-con,
  [data-id="66f0d74"] > .e-con-inner > .e-con,
  [data-id="8a796d8"] > .e-con-inner > .e-con,
  [data-id="d3db9fd"] > .e-con-inner > .e-con,
  [data-id="109552a5"] > .e-con-inner > .e-con,
  [data-id="18c14d"] > .e-con-inner > .e-con {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* Partner logo container */
.elementor-element-acc33eb > .e-con-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 200px !important;
  padding: 40px !important;
}
.elementor-element-acc33eb img {
  max-width: 260px !important;
  width: 100% !important;
  height: auto !important;
  max-height: 100px !important;
  object-fit: contain !important;
}
@media (max-width: 767px) {
  .elementor-element-acc33eb > .e-con-inner {
    min-height: 120px !important;
    padding: 24px !important;
  }
  .elementor-element-acc33eb img {
    max-width: 180px !important;
    max-height: 70px !important;
  }
}

/* B10: CTA buttons full-width on mobile */
@media (max-width: 767px) {
  [data-id="5d2f71f"] .elementor-button {
    width: 100% !important;
    text-align: center !important;
  }
}

/* The a959414 container is the Venn wrapper; position relative so absolute child works */
[data-id="a959414"] {
    position: relative !important;
}
/* The 4d104bf heading is now absolute inside a959414 */
[data-id="4d104bf"] {
    position: absolute !important;
    /* Center horizontally */
    left: 50% !important;
    transform: translateX(-50%) !important;
    /* Vertically: the Venn has top row ~550px and bottom circle overlapping ~28px up.
       The visual center of the 3-circle overlap is roughly 55-60% down from top. */
    top: 55% !important;
    z-index: 10 !important;
    /* Styling for the centered label */
    text-align: center !important;
    pointer-events: none;
}
[data-id="4d104bf"] .elementor-heading-title {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #FFFFFF !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6), 0 0 20px rgba(2,203,255,0.3) !important;
    letter-spacing: 1px !important;
    line-height: 1.3 !important;
    background: rgba(10, 22, 40, 0.7);
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(2, 203, 255, 0.3);
}

/* Mobile: adjust Venn center label position */
@media (max-width: 767px) {
    [data-id="4d104bf"] {
        top: 45% !important;
    }
    [data-id="4d104bf"] .elementor-heading-title {
        font-size: 11px !important;
        padding: 6px 12px;
    }
}

/* Venn: SAP Clean Core — plain centered text in triple overlap (cascade override) */
[data-id="a959414"] > .elementor-element.elementor-widget-heading[data-id="4d104bf"] {
  position: absolute !important;
  left: 50% !important;
  top: 38% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10;
}
[data-id="4d104bf"] .elementor-heading-title {
  color: #FFFFFF !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  text-align: center !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
  background: none !important;
  border: none !important;
  padding: 0 !important;
}
@media (max-width: 767px) {
  [data-id="a959414"] > .elementor-element.elementor-widget-heading[data-id="4d104bf"] {
    top: 35% !important;
  }
  [data-id="4d104bf"] .elementor-heading-title {
    font-size: 12px !important;
    letter-spacing: 0.5px !important;
  }
}

/* === HERAUSFORDERUNG CARD HOVER: Blur + CTA Reveal (all 7 framework pages) === */
/* Base */
[data-id="2a17122c"] .elementor-widget-uicore-icon-box,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box {
  cursor: pointer;
  border-radius: 16px !important;
  border: 1px solid rgba(255,255,255,0.06) !important;
  border-bottom: 2px solid transparent !important;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
              border-color 0.3s ease,
              box-shadow 0.4s ease !important;
}
[data-id="2a17122c"] .elementor-widget-uicore-icon-box .elementor-widget-container,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box .elementor-widget-container {
  border-radius: 16px !important;
  transition: filter 0.4s ease !important;
}
/* Shine sweep */
[data-id="2a17122c"] .elementor-widget-uicore-icon-box::before,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box::before {
  content: "";
  position: absolute;
  top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
  transition: left 0.6s ease;
  pointer-events: none; z-index: 2;
}
/* CTA overlay */
[data-id="2a17122c"] .elementor-widget-uicore-icon-box::after,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box::after {
  content: "Mehr erfahren";
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: Barlow, sans-serif; font-size: 18px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #FFFFFF;
  background: rgba(10,22,40,0.5); border-radius: 16px;
  opacity: 0; transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none; z-index: 5;
}
/* Hover: lift + pink accent + blur content + show CTA */
[data-id="2a17122c"] .elementor-widget-uicore-icon-box:hover,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box:hover {
  transform: scale(1.06) translateY(-6px) !important;
  border-color: rgba(255,255,255,0.1) !important;
  border-bottom-color: #FF0071 !important;
  box-shadow: 0 20px 50px rgba(255,0,113,0.12), 0 10px 30px rgba(0,0,0,0.3) !important;
}
[data-id="2a17122c"] .elementor-widget-uicore-icon-box:hover .elementor-widget-container,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box:hover .elementor-widget-container {
  filter: blur(6px) brightness(0.6) !important;
}
[data-id="2a17122c"] .elementor-widget-uicore-icon-box:hover::before,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box:hover::before {
  left: 120%;
}
[data-id="2a17122c"] .elementor-widget-uicore-icon-box:hover::after,
[data-id="1c1e718"] .elementor-widget-uicore-icon-box:hover::after {
  opacity: 1;
  transform: scale(1);
}
/* Hide modal trigger buttons */
[data-id="2a17122c"] .elementor-widget-bdt-modal,
[data-id="1c1e718"] .elementor-widget-bdt-modal {
  margin: 0 !important; padding: 0 !important;
}
[data-id="2a17122c"] .bdt-modal-button,
[data-id="1c1e718"] .bdt-modal-button {
  display: none !important;
}
/* === END HERAUSFORDERUNG === */

/* Partnermodelle tab icons — stronger fill + subtle glow */
.pm-highlight svg path { fill: rgba(2,203,255,0.80) !important; }
.pm-highlight svg { filter: drop-shadow(0 0 6px rgba(2,203,255,0.35)); }

/* Consulting cross-ref section on framework pages */
.prc-consulting-xref .elementor-icon-list-item a {
  transition: color 0.2s ease;
}
.prc-consulting-xref .elementor-icon-list-item a:hover {
  color: #02CBFF !important;
}
