/* =========================================================
 * ALMARA Forms + Kontakt Partner Page CSS v3.7.0
 * File: almara-forms.css
 *
 * Purpose:
 * - Final targeted recovery for /de/kontakt-partner/
 * - CSS-only page structure with a tiny loader guard that only removes stale inline width styles
 * - Desktop: cards constrained to premium stage
 * - Tablet: true tablet layout
 * - Mobile: correct stage width, full-width cards, visible hero image, stable pills
 * - Footer: left to frozen footer runtime in loader
 * ========================================================= */

:root {
  --alm-navy: #073246;
  --alm-aqua: #6EC1C2;
  --alm-aqua-strong: #38c6d9;
  --alm-sand: #f5ecdf;
  --alm-cream: #fbf8f1;
  --alm-soft: #f7f4ea;
  --alm-ink: #1f3c4c;
  --alm-muted: rgba(31, 60, 76, 0.68);
  --alm-line: rgba(7, 50, 70, 0.14);
  --alm-shadow-card: 0 12px 28px rgba(7, 50, 70, 0.11);
  --alm-shadow-button: 0 12px 26px rgba(7, 50, 70, 0.14);
  --alm-radius-card: 12px;
  --alm-radius-button: 999px;
  --alm-serif: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --alm-sans: "Inter", Arial, sans-serif;
  --alm-stage: min(1120px, calc(100vw - 48px));
  --alm-hero-stage: min(1180px, calc(100vw - 48px));
  --alm-benefit-stage: min(1020px, calc(100vw - 48px));
  --alm-step-stage: min(1120px, calc(100vw - 48px));
  --alm-form-border: rgba(7, 50, 70, 0.18);
  --alm-form-border-focus: rgba(7, 50, 70, 0.55);
}
/* =========================================================
 * FORM TOGGLE — Initial hide (must be at top of file)
 * Both forms hidden until user clicks a toggle button.
 * JS in almara-forms-loader.php handles the show/hide on click.
 * CSS is the safety net for when JS runs before elements exist.
 * ========================================================= */
#alm-form-location,
#alm-form-operator {
  display: none !important;
}



/* =========================================================
 * 01. Contact page isolation + wrapper reset
 * ========================================================= */

html body.almara-contact-partner-ready {
  overflow-x: hidden !important;
  background: var(--alm-sand) !important;
}

html body.almara-contact-partner-ready :is(
  .site-main,
  main,
  article,
  .page-content,
  .entry-content,
  .alm-b2b-page,
  .alm-b2b-page > .elementor-element,
  .alm-b2b-page > .e-con,
  .alm-b2b-page .elementor-widget-template,
  .alm-b2b-page .elementor-widget-template > .elementor-widget-container,
  .alm-b2b-page .elementor-template,
  .alm-b2b-page .elementor-template > .elementor
) {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box !important;
  overflow-x: clip !important;
}

html body.almara-contact-partner-ready  *,
html body.almara-contact-partner-ready  *::before,
html body.almara-contact-partner-ready  *::after {
  box-sizing: border-box !important;
  min-width: 0 !important;
}

/* Full-bleed section bands. Content is constrained by the inner components below. */
html body.almara-contact-partner-ready  :is(.alm-section, .alm-b2b-page.alm-section) {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(72px, 7vw, 112px) 0 !important;
  overflow: hidden !important;
  background: var(--alm-sand) !important;
}

html body.almara-contact-partner-ready  :is(#alm-b2b-operators-impact, .almara-section--center) {
  background: linear-gradient(90deg, rgba(110, 193, 194, 0.10) 0%, rgba(251, 248, 241, 0.94) 45%, rgba(245, 236, 223, 0.98) 100%) !important;
}

/* =========================================================
 * 02. Hero
 * ========================================================= */

html body.almara-contact-partner-ready  .almara-grid--hero,
html body.almara-contact-partner-ready  .almara-grid--hero > .e-con-inner {
  display: grid !important;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr) !important;
  column-gap: clamp(42px, 6vw, 92px) !important;
  row-gap: 36px !important;
  align-items: center !important;
  justify-items: stretch !important;
  justify-content: stretch !important;
  width: var(--alm-hero-stage) !important;
  max-width: var(--alm-hero-stage) !important;
  min-width: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready  :is(.almara-copy, .almara-visual),
html body.almara-contact-partner-ready  .almara-grid--hero > .elementor-element,
html body.almara-contact-partner-ready  .almara-grid--hero > .e-con-inner > .elementor-element {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-self: stretch !important;
  align-self: center !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready .almara-copy,
html body.almara-contact-partner-ready .almara-copy > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 0 !important;
}

html body.almara-contact-partner-ready .almara-eyebrow .elementor-heading-title {
  margin: 0 0 22px !important;
  font-family: var(--alm-sans) !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: 0.26em !important;
  text-transform: uppercase !important;
  color: rgba(31, 60, 76, 0.72) !important;
}

html body.almara-contact-partner-ready .almara-hero-title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--alm-serif) !important;
  font-size: clamp(52px, 6vw, 78px) !important;
  line-height: 0.97 !important;
  font-weight: 500 !important;
  letter-spacing: -0.045em !important;
  color: var(--alm-navy) !important;
  text-align: left !important;
}

html body.almara-contact-partner-ready .almara-lead,
html body.almara-contact-partner-ready .almara-lead p {
  margin: 28px 0 0 !important;
  max-width: 760px !important;
  font-family: var(--alm-sans) !important;
  font-size: 16px !important;
  line-height: 1.72 !important;
  font-weight: 500 !important;
  color: var(--alm-muted) !important;
  text-align: left !important;
}

html body.almara-contact-partner-ready .almara-actions,
html body.almara-contact-partner-ready .almara-actions > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 34px 0 0 !important;
  padding: 0 !important;
}

html body.almara-contact-partner-ready :is(.almara-actions, .alm-form-toggle-row) .elementor-widget-button,
html body.almara-contact-partner-ready :is(.almara-actions, .alm-form-toggle-row) .elementor-button-wrapper {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: 0 0 auto !important;
}

html body.almara-contact-partner-ready .almara-btn .elementor-button,
html body.almara-contact-partner-ready .alm-toggle-btn .elementor-button,
html body.almara-contact-partner-ready .almara-actions .elementor-button,
html body.almara-contact-partner-ready .alm-form-toggle-row .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  padding: 13px 28px !important;
  border-radius: var(--alm-radius-button) !important;
  border: 1px solid rgba(7, 50, 70, 0.14) !important;
  font-family: var(--alm-sans) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  white-space: nowrap !important;
  box-shadow: var(--alm-shadow-button) !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready :is(.almara-btn--primary, .alm-btn--primary) .elementor-button {
  background: var(--alm-navy) !important;
  color: #fff !important;
  border-color: var(--alm-navy) !important;
}

html body.almara-contact-partner-ready :is(.almara-btn--secondary, .alm-btn--secondary, .alm-toggle-btn) .elementor-button {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--alm-navy) !important;
}

html body.almara-contact-partner-ready .almara-btn .elementor-button:hover,
html body.almara-contact-partner-ready .alm-toggle-btn .elementor-button:hover {
  background: var(--alm-aqua) !important;
  color: #fff !important;
  border-color: var(--alm-aqua) !important;
  transform: translateY(-1px) !important;
}

html body.almara-contact-partner-ready .almara-visual-img,
html body.almara-contact-partner-ready .almara-visual-img .elementor-widget-container {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body.almara-contact-partner-ready .almara-visual-img img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  aspect-ratio: 16 / 10 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* =========================================================
 * 03. Center sections + cards
 * ========================================================= */

html body.almara-contact-partner-ready .almara-section--center {
  text-align: center !important;
}

html body.almara-contact-partner-ready .almara-section-title,
html body.almara-contact-partner-ready .almara-section-title .elementor-widget-container {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  text-align: center !important;
}

html body.almara-contact-partner-ready .almara-section-title .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--alm-serif) !important;
  font-size: clamp(34px, 4vw, 48px) !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  letter-spacing: -0.035em !important;
  color: var(--alm-navy) !important;
  text-align: center !important;
}

html body.almara-contact-partner-ready .almara-section-lead,
html body.almara-contact-partner-ready .almara-section-lead .elementor-widget-container,
html body.almara-contact-partner-ready .almara-section-lead p {
  width: 100% !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  font-family: var(--alm-sans) !important;
  font-size: 15px !important;
  line-height: 1.72 !important;
  font-weight: 500 !important;
  color: var(--alm-muted) !important;
}

html body.almara-contact-partner-ready .almara-section-lead {
  margin-top: 18px !important;
  margin-bottom: 42px !important;
}

html body.almara-contact-partner-ready .almara-card-grid,
html body.almara-contact-partner-ready .almara-card-grid > .e-con-inner,
html body.almara-contact-partner-ready #alm-partners-benefit-grid,
html body.almara-contact-partner-ready #alm-partners-steps-grid {
  display: grid !important;
  min-width: 0 !important;
  gap: 24px !important;
  align-items: stretch !important;
  justify-content: center !important;
  justify-items: stretch !important;
  margin: 0 auto !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready #alm-partners-benefit-grid,
html body.almara-contact-partner-ready .alm-grid--3 {
  width: var(--alm-benefit-stage) !important;
  max-width: var(--alm-benefit-stage) !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

html body.almara-contact-partner-ready #alm-partners-steps-grid,
html body.almara-contact-partner-ready .alm-grid--4 {
  width: var(--alm-step-stage) !important;
  max-width: var(--alm-step-stage) !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

html body.almara-contact-partner-ready .almara-card,
html body.almara-contact-partner-ready .almara-card-grid > .elementor-element,
html body.almara-contact-partner-ready #alm-partners-benefit-grid > .elementor-element,
html body.almara-contact-partner-ready #alm-partners-steps-grid > .elementor-element {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 168px !important;
  margin: 0 !important;
  padding: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  border: 1px solid var(--alm-line) !important;
  border-top: 4px solid var(--alm-aqua-strong) !important;
  border-radius: var(--alm-radius-card) !important;
  box-shadow: var(--alm-shadow-card) !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready .almara-card > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.almara-contact-partner-ready .almara-card__title .elementor-heading-title,
html body.almara-contact-partner-ready .almara-card h3,
html body.almara-contact-partner-ready .almara-card .elementor-heading-title {
  margin: 0 !important;
  font-family: var(--alm-serif) !important;
  font-size: clamp(18px, 1.45vw, 22px) !important;
  line-height: 1.12 !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: var(--alm-navy) !important;
  text-align: left !important;
}

html body.almara-contact-partner-ready .almara-card__body,
html body.almara-contact-partner-ready .almara-card__body p,
html body.almara-contact-partner-ready .almara-card p {
  margin: 0 !important;
  font-family: var(--alm-sans) !important;
  font-size: 14px !important;
  line-height: 1.68 !important;
  font-weight: 500 !important;
  color: var(--alm-muted) !important;
  text-align: left !important;
}

/* =========================================================
 * 04. Final form toggles / CTA pills
 * ========================================================= */

html body.almara-contact-partner-ready .alm-form-toggle-row,
html body.almara-contact-partner-ready .alm-form-toggle-row > .e-con-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  width: var(--alm-stage) !important;
  max-width: var(--alm-stage) !important;
  margin: 30px auto 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

html body.almara-contact-partner-ready .alm-form-template-wrap {
  width: min(900px, var(--alm-stage)) !important;
  max-width: min(900px, var(--alm-stage)) !important;
  margin: 38px auto 0 !important;
}

/* Elementor Forms */
#alm-form-waitlist .elementor-field-label,
#alm-form-contact .elementor-field-label,
#alm-form-location .elementor-field-label,
#alm-form-operator .elementor-field-label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--alm-sans);
  font-size: 11px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(82, 111, 125, 1);
}

#alm-form-waitlist .elementor-field-group input[type="text"],
#alm-form-waitlist .elementor-field-group input[type="email"],
#alm-form-waitlist .elementor-field-group input[type="tel"],
#alm-form-waitlist .elementor-field-group select,
#alm-form-contact .elementor-field-group input[type="text"],
#alm-form-contact .elementor-field-group input[type="email"],
#alm-form-contact .elementor-field-group input[type="tel"],
#alm-form-contact .elementor-field-group select,
#alm-form-contact .elementor-field-group textarea,
#alm-form-location .elementor-field-group input[type="text"],
#alm-form-location .elementor-field-group input[type="email"],
#alm-form-location .elementor-field-group input[type="tel"],
#alm-form-location .elementor-field-group select,
#alm-form-location .elementor-field-group textarea,
#alm-form-operator .elementor-field-group input[type="text"],
#alm-form-operator .elementor-field-group input[type="email"],
#alm-form-operator .elementor-field-group input[type="tel"],
#alm-form-operator .elementor-field-group select,
#alm-form-operator .elementor-field-group textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 0 9px;
  border: none;
  border-bottom: 1.5px solid var(--alm-form-border);
  border-radius: 0;
  outline: none;
  box-shadow: none;
  background: transparent;
  color: var(--alm-navy);
  font-family: var(--alm-sans);
  font-size: 15px;
  line-height: 1.4;
  -webkit-appearance: none;
  appearance: none;
}

#alm-form-contact .elementor-field-group textarea,
#alm-form-location .elementor-field-group textarea,
#alm-form-operator .elementor-field-group textarea {
  min-height: 96px;
  resize: vertical;
  padding: 12px 14px;
  border: 1.5px solid var(--alm-form-border);
  border-radius: 8px;
}

#alm-form-waitlist .elementor-button,
#alm-form-contact .elementor-button,
#alm-form-location .elementor-button,
#alm-form-operator .elementor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 40px;
  border: none;
  border-radius: var(--alm-radius-button);
  background: var(--alm-navy);
  color: #fff;
  font-family: var(--alm-sans);
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

/* =========================================================
 * 05. Tablet: true tablet, no phone upscaling
 * ========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  html body.almara-contact-partner-ready {
    --alm-stage: min(880px, calc(100vw - 56px));
    --alm-hero-stage: min(920px, calc(100vw - 56px));
    --alm-benefit-stage: min(820px, calc(100vw - 56px));
    --alm-step-stage: min(880px, calc(100vw - 56px));
  }

  html body.almara-contact-partner-ready  :is(.alm-section, .alm-b2b-page.alm-section) {
    padding-top: 76px !important;
    padding-bottom: 76px !important;
  }

  html body.almara-contact-partner-ready  .almara-grid--hero,
  html body.almara-contact-partner-ready  .almara-grid--hero > .e-con-inner {
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr) !important;
    gap: 34px !important;
  }

  html body.almara-contact-partner-ready .almara-hero-title .elementor-heading-title {
    font-size: clamp(42px, 6vw, 56px) !important;
  }

  html body.almara-contact-partner-ready #alm-partners-benefit-grid,
  html body.almara-contact-partner-ready .alm-grid--3,
  html body.almara-contact-partner-ready #alm-partners-steps-grid,
  html body.almara-contact-partner-ready .alm-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 22px !important;
  }

  html body.almara-contact-partner-ready .almara-card,
  html body.almara-contact-partner-ready .almara-card-grid > .elementor-element,
  html body.almara-contact-partner-ready #alm-partners-benefit-grid > .elementor-element,
  html body.almara-contact-partner-ready #alm-partners-steps-grid > .elementor-element {
    min-height: 156px !important;
    padding: 26px !important;
  }

  html body.almara-contact-partner-ready .alm-form-toggle-row,
  html body.almara-contact-partner-ready .alm-form-toggle-row > .e-con-inner {
    justify-content: center !important;
  }
}


/* =========================================================
 * ADDITIONS v4.0 — Clean, no accumulated conflicts
 * ========================================================= */

/* ── PILLS: button wrappers auto-width ─────────────────── */
html body.almara-contact-partner-ready .alm-form-toggle-row > .elementor-element,
html body.almara-contact-partner-ready .alm-form-toggle-row > .elementor-widget {
  width: auto !important;
  flex:  0 0 auto !important;
}

/* ── CTA ACTIONS: button wrappers auto-width ───────────── */
html body.almara-contact-partner-ready .almara-actions > .elementor-element,
html body.almara-contact-partner-ready .almara-actions > .elementor-widget {
  width: auto !important;
  flex:  0 0 auto !important;
}

/* ── SECTION CONTENT MAX-WIDTH ─────────────────────────── */
html body.almara-contact-partner-ready .almara-section--center > .elementor-element,
html body.almara-contact-partner-ready .almara-form-section > .elementor-element {
  max-width:    1200px !important;
  margin-left:  auto !important;
  margin-right: auto !important;
  width:        100% !important;
}

/* ── SECTION TEXT ALIGNMENT ─────────────────────────────── */
html body.almara-contact-partner-ready .almara-section--center .almara-section-title .elementor-heading-title,
html body.almara-contact-partner-ready .almara-form-section .almara-section-title .elementor-heading-title {
  text-align: center !important;
}

html body.almara-contact-partner-ready .almara-section--center .almara-section-lead,
html body.almara-contact-partner-ready .almara-section--center .almara-section-lead p,
html body.almara-contact-partner-ready .almara-form-section .almara-section-lead,
html body.almara-contact-partner-ready .almara-form-section .almara-section-lead p {
  text-align:   center !important;
  max-width:    760px !important;
  margin-left:  auto !important;
  margin-right: auto !important;
}

/* ── HERO IMAGE ─────────────────────────────────────────── */
html body.almara-contact-partner-ready .almara-visual > .elementor-element {
  width: 100% !important;
}
html body.almara-contact-partner-ready .almara-visual .elementor-widget-container {
  width: 100% !important;
}
html body.almara-contact-partner-ready .almara-visual-img img {
  display:       block !important;
  width:         100% !important;
  height:        auto !important;
  object-fit:    cover !important;
  border-radius: 16px !important;
}

/* ── DESKTOP HERO GRID: CSS Grid as belt-and-suspenders ─── */
/* Only desktop — tablet uses Elementor's flex_direction_tablet:column */
@media (min-width: 1025px) {
  html body.almara-contact-partner-ready .almara-grid--hero {
    display:               grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap:                   48px !important;
    align-items:           center !important;
  }
  html body.almara-contact-partner-ready .almara-grid--hero > .elementor-element {
    width:     auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

/* ── MOBILE (≤ 767px) ─────────────────────────────────────
   Hero stacking + overflow prevention.
   Override Elementor's width:50% CSS-variable via !important.
   ─────────────────────────────────────────────────────── */
@media (max-width: 767px) {

  /* Cards: 1 column */
  html body.almara-contact-partner-ready #alm-partners-benefit-grid,
  html body.almara-contact-partner-ready #alm-partners-steps-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  /* Hero grid: block so children stack */
  html body.almara-contact-partner-ready .almara-grid--hero {
    display:   block !important;
    width:     100% !important;
    max-width: 100% !important;
    padding:   0 !important;
  }

  /* Hero children: force 100% width overriding Elementor's 50% CSS variable */
  html body.almara-contact-partner-ready .almara-grid--hero > .elementor-element,
  html body.almara-contact-partner-ready .almara-copy,
  html body.almara-contact-partner-ready .almara-visual {
    display:     block !important;
    width:       100% !important;
    max-width:   100% !important;
    min-width:   0 !important;
    --width:     100% !important;   /* override Elementor CSS variable directly */
    box-sizing:  border-box !important;
    overflow-x:  hidden !important;
  }

  /* Text overflow prevention */
  html body.almara-contact-partner-ready .almara-hero-title .elementor-heading-title,
  html body.almara-contact-partner-ready .almara-lead p {
    word-break:    break-word !important;
    overflow-wrap: break-word !important;
    max-width:     100% !important;
    overflow-x:    hidden !important;
  }

  /* Hero image */
  html body.almara-contact-partner-ready .almara-visual-img img {
    display:      block !important;
    width:        100% !important;
    height:       auto !important;
    aspect-ratio: 4 / 3 !important;
    object-fit:   cover !important;
    border-radius: 10px !important;
    margin-top:   24px !important;
  }

  /* Toggle pills: column */
  html body.almara-contact-partner-ready .alm-form-toggle-row {
    flex-direction: column !important;
    align-items:    center !important;
  }
  html body.almara-contact-partner-ready .alm-form-toggle-row > .elementor-element {
    width: min(280px, 100%) !important;
    flex:  none !important;
  }
  html body.almara-contact-partner-ready .alm-form-toggle-row .elementor-button {
    width:           100% !important;
    justify-content: center !important;
  }

  /* Form fields */
  #alm-form-waitlist .elementor-field-group,
  #alm-form-contact  .elementor-field-group,
  #alm-form-location .elementor-field-group,
  #alm-form-operator .elementor-field-group {
    width:     100% !important;
    flex:      0 0 100% !important;
    max-width: 100% !important;
  }
  #alm-form-waitlist .elementor-button,
  #alm-form-contact  .elementor-button,
  #alm-form-location .elementor-button,
  #alm-form-operator .elementor-button {
    width: 100% !important;
  }
}

/* =========================================================
 * HOTFIX — Tablet/Mobile Hero + Section Title Alignment
 * ========================================================= */

/* ── Section title: target alle Ebenen ─────────────────── */
html body.almara-contact-partner-ready .almara-section--center .almara-section-title,
html body.almara-contact-partner-ready .almara-section--center .almara-section-title .elementor-widget-container,
html body.almara-contact-partner-ready .almara-section--center .almara-section-title .elementor-heading-title,
html body.almara-contact-partner-ready .almara-section--center .almara-section-title h1,
html body.almara-contact-partner-ready .almara-section--center .almara-section-title h2,
html body.almara-contact-partner-ready .almara-section--center .almara-section-title h3,
html body.almara-contact-partner-ready .almara-form-section .almara-section-title,
html body.almara-contact-partner-ready .almara-form-section .almara-section-title .elementor-heading-title,
html body.almara-contact-partner-ready .almara-form-section .almara-section-title h2 {
  text-align: center !important;
  width: 100% !important;
}

/* ── Hero section: ensure visible left/right padding ───── */
html body.almara-contact-partner-ready .almara-section.almara-hero {
  padding-left:  clamp(20px, 5vw, 80px) !important;
  padding-right: clamp(20px, 5vw, 80px) !important;
}

/* ── Tablet hero: explicit 1-column ────────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  html body.almara-contact-partner-ready .almara-grid--hero {
    display:        flex !important;
    flex-direction: column !important;
    gap:            32px !important;
    width:          100% !important;
  }
  html body.almara-contact-partner-ready .almara-grid--hero > .elementor-element {
    width:     100% !important;
    max-width: 100% !important;
    --width:   100% !important;
    flex:      none !important;
  }
  html body.almara-contact-partner-ready .almara-visual-img img {
    aspect-ratio:  16 / 10 !important;
    border-radius: 12px !important;
  }
}

/* ── Mobile hero: same approach, 100% width forced ─────── */
@media (max-width: 767px) {
  html body.almara-contact-partner-ready .almara-grid--hero > .elementor-element {
    --width:   100% !important;   /* Elementor CSS variable */
    width:     100% !important;
    max-width: 100% !important;
    flex:      none !important;
  }
}

/* =========================================================
 * v4.2 FINAL — only reliable selectors
 * ========================================================= */

/* ── Section padding fallback (also set via custom_css in JSON) ─ */
html body.almara-contact-partner-ready #alm-b2b-operators-impact,
html body.almara-contact-partner-ready #alm-partners-steps-section {
  padding: 64px clamp(20px,5vw,80px) !important;
}

html body.almara-contact-partner-ready #alm-b2b-form-section {
  padding: 48px clamp(20px,5vw,80px) !important;
}

/* ── Form section: hide empty space when no form active ─────── */
html body.almara-contact-partner-ready #alm-b2b-form-section .alm-form-template-wrap {
  min-height: 0 !important;
}

/* ── Section lead text: target by widget class ──────────────── */
html body.almara-contact-partner-ready .almara-section-lead p {
  text-align: center !important;
  max-width:  720px !important;
  margin:     0 auto 40px !important;
}

/* ── Tablet: ensure pills row stays centered ────────────────── */
@media (min-width: 768px) and (max-width: 1024px) {
  html body.almara-contact-partner-ready .alm-form-toggle-row {
    justify-content: center !important;
  }
}

/* =========================================================
 * DIRECT HEADLINE CENTER — no body-class scope
 * Scopeless so it works regardless of body class state.
 * High specificity via html + element chain.
 * ========================================================= */
html .elementor .almara-section-title .elementor-heading-title,
html .elementor-widget-heading.almara-section-title .elementor-heading-title {
  text-align: center !important;
}

html .elementor .almara-section-lead,
html .elementor .almara-section-lead p,
html .elementor .almara-section-lead .elementor-widget-container {
  text-align: center !important;
}

/* =========================================================
 * HEADLINE CENTERING — ID-basiert [1,1,0] > Elementor [0,2,0]
 * IDs sind im DOM bestätigt.
 * ========================================================= */

#alm-b2b-operators-impact .elementor-heading-title,
#alm-partners-steps-section .elementor-heading-title,
#alm-b2b-form-section .elementor-heading-title {
  text-align: center !important;
  width: 100% !important;
}

/* Fallback: alle section-title headings via Widget-Klasse */
.almara-section-title h1.elementor-heading-title,
.almara-section-title h2.elementor-heading-title,
.almara-section-title h3.elementor-heading-title {
  text-align: center !important;
}

/* =========================================================
 * HEADLINE FIX — widget-container + h2 full width
 * computed:center war korrekt, aber h2 war als Flex-Item
 * nur content-width breit → visuelle Links-Ausrichtung.
 * ========================================================= */

#alm-b2b-operators-impact .almara-section-title .elementor-widget-container,
#alm-b2b-operators-impact .almara-section-title h2.elementor-heading-title,
#alm-partners-steps-section .almara-section-title .elementor-widget-container,
#alm-partners-steps-section .almara-section-title h2.elementor-heading-title,
#alm-b2b-form-section .almara-section-title .elementor-widget-container,
#alm-b2b-form-section .almara-section-title h2.elementor-heading-title {
  width: 100% !important;
  max-width: 100% !important;
  text-align: center !important;
  display: block !important;
}

/* Breiter Fallback über Widget-Klasse */
.almara-section-title .elementor-widget-container {
  width: 100% !important;
  display: block !important;
}

