
/***** FONTS *****/
/*---------------*/

div[role="main"].container-fluid .richtext h1 {
  font-size: 46px;
  line-height: 120%;
  font-weight: 900;
  font-family: Guardian;
  color: #00175A;
}

div[role="main"].container-fluid .richtext h2 {
  font-size: 40px;
  line-height: 120%;
  font-weight: 900;
  font-family: Guardian;
  color: #00175A;
}

div[role="main"].container-fluid .richtext h3 {
  font-size: 34px;
  line-height: 120%;
  font-weight: 500;
  font-family: BentonSans;
}

div[role="main"].container-fluid .richtext h3.small {
  font-size: 24px;
  line-height: 120%;
  font-weight: 500;
  font-family: BentonSans;
}

div[role="main"].container-fluid .richtext h4 {
  font-size: 24px;
  line-height: 120%;
  font-weight: 300;
  font-family: BentonSans;
}

/* Body Text */
div[role="main"].container-fluid .richtext p {
  font-size: 16px;
  line-height: 150%;
}


/***** SPACING *****/
/*-----------------*/

/* Main Container */
div[role="main"].container-fluid.pad-0-lr .tab-content.pad-responsive-lr {
  padding: 0;
}

/* No Padding */
.vd--grid-no-padding .container {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Section Padding */
.vd--grid-padding-all {
  padding-top: 8rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.vd--grid-above {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.vd--grid-liquidity-above {
  padding-top: 8rem;
  padding-bottom: 2rem;
}

.vd--grid-liquidity-button {
  padding-top: 2rem;
  padding-bottom: 8rem;
}

.vd--grid-legal {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Horizontal Align */
.vd--horizontal-align .row {
  flex-wrap: wrap;
  align-items: center;
}

.vd--standard-align .row {
  flex-wrap: initial;
  align-items: initial;
}


/***** STICKY NAV *****/
/*--------------------*/

.vd--sticky-nav .col-md-12 > div {
  display: flex;
  gap: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.vd--sticky-nav a.link-underlined.text-link.linkout {
  text-decoration: none;
}

.vd--sticky-nav a.link-underlined.text-link.linkout:hover,
.vd--sticky-nav a.link-underlined.text-link.linkout:focus {
  text-decoration: underline;
}



/***** HERO BENEFITS MODULE *****/
/*------------------------------*/

/* Adds top/bottom padding and applies a two-tone background. */
.vd--hero-benefits-wrapper {
  padding-top: 20px;
  padding-bottom: 20px;
  background: linear-gradient(
      to bottom,
      var(--Blue-Dark-Blue, #00175A) 50%,
      #F6F8FA 50%
  );
  border-top: none !important;
  box-shadow: none !important;
}

.vd--hero-benefits {
  border-radius: 12px;
  background: #F6F8FA;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.20);
  padding: 30px 24px;
}

.vd--hero-benefits > .card-img-bg {
  background: transparent !important;
}

/* Removes unnecessary top padding in the benefits-bar area. */
.vd--hero-benefits > .container > .row > .col-md-12 > div:has(> .grid) {
  padding-top: 0 !important;
}

/* Icon List */
section .vd--icon-list > .container > .row > .col-md-12 > div {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding-top: initial;
}

.vd--icon-list .container {
  padding-left: 0;
  padding-right: 0;
}

.vd--icon {
  height: 40px;
  width: 40px
}

.vd--round-corners > div {
  border-radius: 12px;
}


/***** THREE STEPS MODULE *****/ 
/*----------------------------*/

.container-fluid.pad-0-lr .tab-menu {
  background-color: #ECEDEE;
  display: flex;
  width: 100%;
}

.container-fluid.pad-0-lr .tab-menu .tab-link {
  flex: 1;
  text-align: center;
    white-space: initial; /*Add white-space to tab-link*/
}

.container-fluid.pad-0-lr .tab-menu .tab-link span {
  font-weight: bold;
  display: inline-block;
  /*Remove white space*/
}

.container-fluid.pad-0-lr .tab-menu .tab-link[aria-selected="true"] {
  background-color: #00175A;
  color: white;
  position: relative;
  border: none;
}

.vd--steps .row {
  gap: 2rem;
  justify-content: space-between;

}

.vd--steps .col-md-4 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vd--steps .pad-3-t.pad-3-b.pad-2-l.pad-2-r {
  width: 100%;
  margin: 0 auto;
}

.vd--steps-icon-list .container {
  width: 100%;
}

.vd--stroke {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Aligns the two buttons in a row */
.vd--two-buttons > .container > .row.pad-3-t > .col-md-12 > div:has(> .button.parbase) {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Buttons adjust to text width and prevent line breaks. */
.vd--two-buttons .button.parbase .btn {
  max-width: none;
  overflow: visible;
  white-space: nowrap;
}



/***** CARD SLIDER MODULE *****/
/*----------------------------*/

.vd--cards-slider {
  display: block;
  width: 100%;
  padding-top: 4rem;
}

.container-fluid.pad-0-lr .vd--cards-slider .container {
    width: 100%;
}

section .vd--cards-slider > .container > .row > .col-md-12 {
  overflow-x: auto;
}

/* Center by default */
section .vd--cards-slider > .container > .row > .col-md-12 > div{
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  justify-content: center;
  padding: 0 var(--grid-padding);
}

section .vd--cards-slider > .container > .row > .col-md-12.overflowing > div{
  justify-content: flex-start;
}

.container-fluid.pad-0-lr .vd--cards-slider .container .row .col-md-12 > div::-webkit-scrollbar {
  display: none;
}

.container-fluid.pad-0-lr .vd--card-wrapper {
  scroll-snap-align: start;
}

.vd--card-wrapper {
  flex: 0 0 auto;
  min-width: 360px;
  max-width: 360px;
  padding-bottom: 2rem;
}

.vd--cards-slider .container {
  width: 100%;
  padding: 0;
  max-width: 100%;
}

.vd--cards-slider .row {
  margin: 0;
}

.vd--card {
  padding: 1.5rem 1rem;
  height: 100%;
}

.vd--card-callout {
  display: inline-block;
  height: 32px;
  align-content: center;
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  z-index: 10;
  padding: 4px;
}

/* Stacks buttons vertically, centers them, and adds vertical spacing. */
.vd--table-button-wrapper > .container > .row > .col-md-12.margin-0-tb > div:has(> .button.parbase) {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Removes extra top padding for buttons in the table button wrapper. */
.vd--table-button-wrapper .button.pad-2-t {
  padding-top: 0!important;
}

/* Adapt spacing between buttons to 12px = 0.75rem
Alternative: Change class="btn btncomp links-item display-block margin-1-b margin-center btn-sm" to margin-0-b */
.vd--table-button-wrapper .button.pad-2-t .btn {
  margin-bottom: 0!important;
  width: 260px;
}

/* Removes unnecessary top margin for the card comparison wrapper. */
.vd--card-comparison-wrapper {
  margin-top: 0!important;
}

/* Adds a callout to first business card */
.vd--cards-slider .vd--card-comparison-wrapper:has(.vd--table-callout) .vd--card-comparison-column .card-img-bg.dls-white-bg {
  border: 1px solid var(--Blue-Light-Blue, #006FCF);
}
.vd--cards-slider .vd--card-comparison-wrapper:has(.vd--table-callout) .image.parbase {
  background: linear-gradient(180deg, #00175A 2.03%, #006FCF 94.31%);
  padding: 14px 10px;
  border-radius: 12px 12px 0 0;
}

.vd--table-callout {
  bottom: -3rem;
}

.vd--table-callout-no-color {
  height: 25px;
}

.vd--card-comparison-wrapper .image.parbase {
  height: 160px;
  padding: 14px 10px;
}

/*Important that this comes after .vd--card-comparison-wrapper .vd--card-image-top to account for callout spacing*/
.first-business-card-highlight .vd--card-image-top {
  bottom: -1.125rem !important; 
}

/* Offsets the card comparison column upward to visually overlap with 
   the colored background area, creating a stacked / layered card effect. */
.vd--card-comparison-wrapper .vd--card-comparison-column {
  margin-top: -1.875rem;
}


/* Horizontal grid */
.vd--grid-horizontal .col-md-12 > div {
  display: flex;
  padding-top: 5rem;
  gap: 2rem;
}

/* Button grid */
.vd--button-grid .col-md-6 {
  flex: 0 1 auto;
}



/***** UPGRADE CHANGES MODULE *****/
/*--------------------------------*/

.vd--what-changes .row {
  gap: 4rem;
  justify-content: space-between;
}

.vd--what-changes .col-md-6 {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vd--what-changes  .vd--icon-list .col-md-12 > div {
    gap: 2rem !important;
  padding-bottom: 1rem;
}


/* Tab Bar */
.container-fluid.pad-0-lr .tab-menu {
  background-color: #ECEDEE;
  display: flex;
  width: 100%;
  border-radius: 12px 12px 0 0;
}

.tab-menu .tab-link  {
  padding: 1.5rem 1.25rem !important;
}


.container-fluid.pad-0-lr .tab-menu .tab-link {
  flex: 1;
  text-align: center;
  white-space: initial; /*Add white-space to tab-link*/
  position: relative;
  z-index: 1;
  min-width: 0; /* Verhindert, dass flex-items Ã¼ber die Container-Breite hinausgehen */
  background-color: #F4F4F4;
  border: 0.5px solid #E0E0E0;
  box-shadow: 0 4px 4px rgba(0,0,0,0.1);
  outline: none;
  justify-content: center;
}

.container-fluid.pad-0-lr .tab-menu .tab-link span {
  font-weight: bold;
  display: inline-block;
}


.container-fluid.pad-0-lr .tab-menu .tab-link[aria-selected="true"] {
  background-color: #00175A;
  border: 0.5px solid #E0E0E0;
  color: white;
  position: relative;
  border-color: #00175A;
  box-shadow: 0 4px 4px rgba(0,0,0,0.2);
  outline: none;
  z-index: 10; /* Aktiver Button liegt oben */
}

.tab-menu .tab-link:not([aria-selected="true"]):hover {
  background-color: #EDEDED;
}

.container-fluid.pad-0-lr .tab-menu .tab-link[aria-selected="true"]::after {
  content: none; /* entfernt das Pseudoelement komplett */
}

.tab-link.pad-responsive-lr:nth-of-type(1) {
  margin-right: -15px;
  border-radius: 12px;
}

.tab-link.pad-responsive-lr:nth-of-type(1)[aria-selected="true"] {
  margin-left: 0px;
}

.tab-link.pad-responsive-lr:nth-of-type(2) {
  margin-left: 0px;
  border-radius: 12px;
}

.tab-link.pad-responsive-lr:nth-of-type(2) [aria-selected="true"] {
  margin-right: 0px;
}

.tabs.border {
  border: none;
}

.tabs .tab-menu .tab-link:focus {
  outline: none !important;
}

/* Adjusts styles of tabs and associated content. */
.upgrade-tab-module {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* Wrapper als Grid innerhalb des Containers */
.vd--overlap-wrapper > .container > .row > .col-md-12.margin-0-tb > div:has(.grid) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Tabs on the left. */
.vd--tabs-wrapper {
  position: relative;
  z-index: 2;
  margin-right: clamp(-220px, -10vw, -710px);
  flex: 1;
}

/* Padding set to override component defaults */
.tab-content {
  padding: 50px 40px 40px 40px !important;
  border-radius: 0 0 12px 12px;
  margin-top:-10px;
}

.tab-content .vd--icon-list {
  margin-bottom: 1.5rem !important; 
}


.tab-content .vd--icon-list .richtext.parbase {
  width: 570px !important;
}

.tab-content .vd--two-buttons > .container > .row {
  padding-top: 11px !important;
}

.tab-content .vd--two-buttons > .container > .row > .col-md-12.margin-0-tb > div {
  justify-content: flex-start !important;
}


/* Image on the right */
.vd--overlap-image {
  z-index: 1;
  width: 710px; 
  height: auto;
  flex: 1;
}


/* Card Table */
.vd--card-image-top {
  position: relative;
  top: 3rem;
  z-index: 2
}

.vd--card-image-top img {
  width: 170px;
}

.vd--card-comparison-wrapper {
  flex: 0 0 auto;
  min-width: 386px;
  max-width: 386px;
  margin-top: -3rem;
}

.vd--card-comparison-column {
  padding-top: 1.5rem;
}

/* Max width grid */
.vd--grid-max-width {
  max-width: 820px;
  margin: 0 auto;
}

/* Liquidity Image */
.vd--liquidity-plus {
  min-width: 800px;
  align-items: center;
}

/* Cross Sell Card */
.vd--grid-cross-sell {
  max-width: 1000px;
  margin: 0 auto;
}

section .vd--cross-sell-card > .container > .row > .col-md-12 > div {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.vd--cross-sell-card-image-wrapper .container {
  padding: 0;
  margin: 0;
}

.vd--cross-sell-card-image-wrapper img {
  padding: 0;
  margin: 0;
}

/***** HELP BUBBLE *****/
/*---------------------*/

.vd--questions-wrapper {
  position: fixed !important;
  z-index: 29;
  bottom: 2.5rem;
  width: 100%;
  padding: 0 2.5rem !important;
  pointer-events: none;
}

.vd--questions-wrapper > .container {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-right: 0 !important;
}

.vd--questions-wrapper > .container > .row > .col-md-12.margin-0-tb > div {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.vd--questions-wrapper > .container > .row > .col-md-12.margin-0-tb > div > .grid {
  position: absolute;
  bottom: 48px;
  right: 1rem;
  z-index: -1
}

.vd--questions-button {
  width: 112px;
  pointer-events: auto;
  cursor: pointer;
}

.vd--questions-button-phone {
  visibility: hidden;
  width: 0;
}

.vd--questions-button:hover {
  scale: 1.45;
  transition: scale 0.25s ease-in-out;
}

/* Questions overlay and popup visibility */
.vd--questions-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 28; /* below wrapper (29), above page content */
}

.vd--questions-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.vd--questions-button {
  transition: scale 0.25s ease-in-out;
}

.vd--questions-button.is-active {
  scale: 1.45;
}

/* swap button visuals when questions are open */
.vd--questions-wrapper.questions-open .vd--questions-button {
  visibility: hidden;
  width: 0;
}

.vd--questions-wrapper.questions-open .vd--questions-button-phone {
  visibility: visible;
  width: 112px;
  scale: 1.45;
}

/* fade-in grid content when active */
.vd--questions-wrapper > .container > .row > .col-md-12.margin-0-tb > div > .grid {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
}

.vd--questions-wrapper > .container > .row > .col-md-12.margin-0-tb > div > .grid.is-open {
  opacity: 1;
  pointer-events: auto;
}

.vd--questions-popup .container {
  width: 310px;
  padding: 18px 16px;
  background-color: #fff;
  border-radius: 8px;
}

.vd--questions-popup .container > .row > .col-md-12.margin-0-tb > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vd--questions-popup .container > .row > .col-md-12.margin-0-tb > div >  .richtext.parbase:nth-child(2) p {
  padding-right: 6px;
}

.vd--questions-popup p {
  line-height: 1.25 !important;
}


/***************************** 
Adjustments for Tablet
*****************************/

@media (max-width: 1024px) {

  .vd--grid-horizontal .col-md-12 > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .vd--icon-list .col-md-12 > div {
    display: flex;
    gap: 0.75rem;
    padding-top: 0;
  }

}



/***************************** 
Adjustments for Mobile
*****************************/

@media (max-width: 768px) {


/***** FONTS *****/
/*---------------*/

div[role="main"].container-fluid .richtext h1 {
  font-size: 30px;
  font-weight:900;
}

div[role="main"].container-fluid .richtext h2 {
  font-size: 28px;
  font-weight:900;
}

div[role="main"].container-fluid .richtext h3 {
  font-size: 24px;
  font-weight:900;
}

div[role="main"].container-fluid .richtext h3.small {
  font-size: 22px;
}

  
div[role="main"].container-fluid .richtext h4 {
  font-size: 20px;
}



/***** SPACING *****/
/*---------------*/

/* Section Padding */
.vd--grid-padding-all {
  padding: 2.5rem 1rem;
}

.vd--grid-above {
  padding: 2rem 1rem;
}

.vd--grid-legal {
  padding: 2rem 1rem;
}

section .vd--cards-slider > .container > .row > .col-md-12 > div{
  gap: 1rem;
}
  
.vd--card-wrapper {
  flex: 0 0 auto;
  min-width: 320px;
  max-width: 320px;
  padding-bottom: 2rem;
}

.vd--card-comparison-wrapper {
  flex: 0 0 auto;
  min-width: 340px;
  max-width: 340px;
  margin-top: -3rem;
}

.vd--grid-padding-all .row {
  gap: 2rem;
}

.vd--grid-no-mobile-btm-padding {
  padding-bottom: 0 !important;
}

/***** HERO *****/
/*---------------*/

.vd--horizontal-align > .container > .row > .col-md-6.margin-0-tb > div:has(.richtext.parbase) {
  text-align: center;
}

.vd--horizontal-align .vd--button-stack > .container > .row > .col-md-12.margin-0-tb > div  {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vd--horizontal-align .vd--button-stack > .container > .row > .col-md-12.margin-0-tb > div > .button.parbase > .button > .btn {
  margin-right: 0 !important;
  margin-bottom: 40px !important;
}

.vd--horizontal-align > .container > .row > .col-md-6.margin-0-tb > div > .richtext.parbase > .pad-2-b {
  padding-bottom: 24px !important;
}

.lazy.pad-2-t.pad-2-b {
  width: 230px;
  padding-top: 0 !important;
  padding-bottom: 24px !important;
}

/***** HERO BENEFITS MODULE *****/
/*------------------------------*/

.vd--hero-benefits-wrapper {
    padding: 0;
  }
  
.vd--hero-benefits-wrapper > .container {
  padding: 24px !important; 
}

.vd--grid-horizontal .col-md-12 > div {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 1.25rem;
}

/* Icon and text block */
.vd--icon-list .col-md-12 > div {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.vd--hero-benefits .vd--icon-list b {
  white-space: normal; 
  word-break: break-word; 
  flex: 1; 
}


/***** THREE STEPS MODULE *****/
/*------------------------------*/

.vd--steps .row {
  flex-direction: column;
  gap: 4rem;
}

.vd--steps .col-md-4 {
  width: 100%;
}

.vd--grid-liquidity-mobile {
  padding: 0 4rem;
}

.vd--two-buttons > .container > .row.pad-3-t > .col-md-12 > div:has(> .button.parbase) {
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.vd--two-buttons > .container > .row.pad-3-t > .col-md-12 > div > .button.parbase > .vd--button-long > .btn.btncomp {
  margin-bottom: 0px !important;
}


/* Cross Sell Card */
.vd--grid-cross-sell {
  max-width: 1000px;
  margin: 0 auto;
}

.vd--cross-sell-card .col-md-12 > div {
  flex-direction: column;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  gap: 2rem;
}

.vd--cross-sell-card-text .col-md-12 > div {
  gap: 0;
}

.vd--cross-sell-card-image-wrapper .container {
  width: 100%;
}


/***** UPGRADE CHANGES MODULE *****/
/*--------------------------------*/

.vd--mobile-grid-padding-top-double {
  padding-top: 4rem !important;
}

.vd--overlap-wrapper > .container > .row > .col-md-12.margin-0-tb > div:has(.grid) {
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.vd--tabs-wrapper {
  margin-right: 0;
}

.tab-menu {
  flex-direction: row !important;
}

.tab-menu .tab-link.pad-responsive-lr  {
  padding: 24px 20px !important;
}

.tab-menu .tab-link.pad-responsive-lr > span {
  text-align: center;
}

.vd--overlap-image {
  width: 100%;
}

.vd--overlap-wrapper > .container > .row > .col-md-12.margin-0-tb > div > .grid {
  order: 2 !important;
  margin-top: -12px;
}

.tab-content {
  padding: 50px 24px 80px 24px !important;
}

.tab-content .vd--icon-list .richtext.parbase {
  width: 100% !important;
}

.vd--card-comparison-wrapper {
  min-width: 100%;
  max-width: 100%;
  margin-top: 0;
}

body.vd--no-scroll {
  overflow: hidden;
}

}