/* Phone Size */
.tabletDesktop {
  display: none;
}

.component {
  max-width: 1230px;
  margin: auto;
  text-align: center;
  padding: 3rem 0;
}

.componentContent {
  width: 90vw;
  padding: 0;
  text-align: left;
  margin: 0 auto;
  border-radius: 0.75rem;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.25);
}

.backgroundColor {
  background-color: #f4f6fa;
  height: auto;
}

.tab {
  color: #2870ed;
  font-weight: 600;
  margin: 1rem auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 87%;
  gap: 5px;
}

.tab button {
  border: none;
  padding: 0.5rem 1.5rem;
  justify-self: start;
}

.tab button.active {
  border-radius: 2rem;
  border-color: #2870ed;
  background-color: #2870ed;
  color: #fff;
}

.tabcontent {
  display: none;
  margin: auto;
  padding-bottom: 2rem;
  background-color: #f4f6fa;
  border-radius: 1.2rem;
}

.descriptionFlex {
  min-height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  margin-bottom: 1.2rem;
}

.description {
  width: 100%;
  padding: 0.625rem;
}

.description h4 {
  font-weight: 700;
  margin: 0.625rem 0 0 0;
    font-size: 1.375rem;
    line-height: 2.2rem;
}

.paragraph,
.description p {
  margin: 0.625rem 0;
  font-weight: 500;
}

.checkbox {
  accent-color: #2870ed;
}

.comparisonGridHeadline {
  width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-areas: 'headline .';
}

.comparisonGrid {
  width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: 132px 1fr;
  grid-template-areas: '. KontoContent';
}

.comparisonGrid > div {
  padding: 0.5rem 0;
}

.comparisonGridService {
  width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: 'serviceDescription';
}

.comparisonGridRowWhite > div:nth-child(1),
.comparisonGridRowGray > div:nth-child(1) {
  padding-left: 0.625rem;
}

.comparisonGridRowWhite > div:nth-child(n + 2),
.comparisonGridRowGray > div:nth-child(n + 2) {
  text-align: center;
  margin: auto;
  width: 100%;
}

.comparisonGridRowWhite > div:nth-child(n + 2) > img,
.comparisonGridRowGray > div:nth-child(n + 2) > img {
  margin: auto;
}

.comparisonGridRowWhite > div {
  background-color: #fff;
  height: 100%;
}
.comparisonGridRowGray > div {
  background-color: #eef0f4;
  height: 100%;
}

.KontoContent {
  grid-area: KontoContent;
  position: relative;
}

.KontoContent > div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.sticky {
  position: sticky;
  left: 0;
  height: 100%;
  z-index: 1;
  border-right: 2px solid #f4f6fa;
}

.EPUSmart {
  grid-area: EPUSmart;
}

.EPUPlus {
  grid-area: EPUPlus;
}

.Geschaeft {
  grid-area: Geschaeft;
  position: relative;
}

.wahl {
  background-color: #2870ed;
  border-radius: 0.75rem 0.75rem 0 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.Gruender {
  grid-area: Gruender;
  position: relative;
}

.headlineRow {
  grid-area: headline;
  display: flex;
  gap: 0.5rem;
  font-weight: 700;
  width: 160px;
  padding-top: 0.625rem;
  align-items: center;
}

.headlineRow > img {
  width: auto;
  height: 17px;
}

.headlineRowService {
  grid-area: service;
  display: flex;
  gap: 0.5rem;
  font-weight: 700;
  padding-top: 0.625rem;
}

.headlineRowService > img {
  width: 17px;
  height: 21px;
}

.serviceDescription {
  grid-area: serviceDescription;
  padding: 0.625rem 0;
}

.details {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.disclaimer {
  padding: 1.2rem 1rem 0 1rem;
}

.disclaimer > div:first-child {
  margin-bottom: 1rem;
}

.disclaimerTablet {
  display: none;
}

.roundedCornersTopLeft {
  border-radius: 0.75rem 0 0 0;
}

.roundedCornersTopRight {
  border-radius: 0 0.75rem 0 0;
}

.roundedCornersBottomLeft {
  border-radius: 0 0 0 0.75rem;
}

.roundedCornersBottomRight {
  border-radius: 0 0 0.75rem 0;
}

.roundedCornersBottom {
  border-radius: 0 0 0.75rem 0.75rem;
}

.infoDescr {
  display: inline-block;
  margin: 0 4px;
}

.infoDescr,
.infoKondi {
  width: 15px;
  height: auto;
  cursor: pointer;
}

.alignTextStart {
  text-align: left !important;
}

.infoTextDescrMobile {
  position: absolute;
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 0.625rem;
  margin-top: 0.5rem;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  z-index: 2;
  left: 10%;
  width: 80%;
  text-align: center;
  will-change: filter;
}

.infoTextKondiMobile {
  position: absolute;
  width: 130%;
  display: none;
  background-color: #fff;
  border-radius: 0.75rem;
  padding: 0.625rem;
  margin-top: 0.5rem;
  right: 7px;
  filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
  z-index: 2;
  will-change: filter;
}

.width80 {
  width: 80vw !important;
  left: 3%;
}

.listGeorge > li {
  display: flex;
}

.listGeorge > li::before {
  content: url('https://cdn0.erstegroup.com/content/dam/at/spk-sgruppe/common/custom/product-comparison-business/Checkmark.svg');
  height: 20px;
}

.button {
  padding: 0;
  border: none;
  text-align: center;
}

.button a {
  width: auto;
}

.posRelative {
  position: relative;
}

/* .button img {
  margin-bottom: 1rem;
} */

.price > div:nth-child(n + 2) {
  font-weight: 700;
  color: #028661;
  text-align: center;
}

/* Tablet size */
@media (min-width: 768px) {
  .mobile {
    display: none;
  }

  .description h4 {
    margin: 0; 
  }

  .tabletDesktop {
    display: block;
    margin: 0 3rem;
    overflow-x: auto;
  }

  .component {
    padding: 3rem 0 1.5rem 0;
  }

  .componentContent {
    /* max-width: 100%; */
    width: 1230px;
    overflow: visible;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 0 0;
  }

  .comparisonGridHeadline {
    width: 100%;

    display: grid;
    grid-template-columns:
      160px var(--c1, 1fr) var(--c2, 1fr) var(--c3, 1fr) var(--c4, 1fr);
    grid-template-areas: 'headline EPUSmart EPUPlus Geschaeft Gruender';
    gap: 0.3rem;

    overflow-x: visible;
  }

  .comparisonGrid {
    width: 100%;
    display: grid;
    grid-template-columns:
      160px var(--c1, 1fr) var(--c2, 1fr) var(--c3, 1fr) var(--c4, 1fr);
    grid-template-areas: 'empty EPUSmart EPUPlus Geschaeft Gruender';
    gap: 0.3rem;
    overflow-x: visible;
  }

  .comparisonGrid.active1,
  .comparisonGridHeadline.active1 {
    --c1: 70px;
  }

  .comparisonGrid.active2,
  .comparisonGridHeadline.active2 {
    --c2: 70px;
  }

  .comparisonGrid.active3,
  .comparisonGridHeadline.active3 {
    --c3: 70px;
  }

  .comparisonGrid.active4,
  .comparisonGridHeadline.active4 {
    --c4: 70px;
  }

  .comparisonGrid.active5,
  .comparisonGridHeadline.active5 {
    --c5: 70px;
  }

  .comparisonGrid.active6,
  .comparisonGridHeadline.active6 {
    --c6: 70px;
  }

  .comparisonGridService {
    width: 100%;
    display: grid;
    grid-template-columns: 160px 4fr;
    grid-template-areas: 'service serviceDescription serviceDescription serviceDescription serviceDescription';
    gap: 0.3rem;
    overflow-x: visible;
  }

  .empty {
    grid-area: empty;
    width: 160px;
  }

  .descriptionFlex {
    height: 320px;
    margin: 0;
    align-items: space-between;
  }

  .details {
    margin-bottom: 1rem;
    margin-top: 0;
  }

  .EPUSmart > .descriptionFlex > .description,
  .EPUPlus > .descriptionFlex > .description {
    padding-top: 40px;
  }

  .Geschaeft > .descriptionFlex > .description,
  .Gruender > .descriptionFlex > .description {
    padding-top: 0;
  }

  .wahl {
    border-radius: 20px;
    font-size: 1rem;
    width: 90%;
    height: 30px;
    position: relative;
    left: 5%;
  }

  .Geschaeft > div:nth-child(2),
  .Gruender > div:nth-child(2) {
    height: 7.3rem;
    border-radius: 1.2rem;
    margin-top: 1rem;
  }

  /* for rounded corners in tbody */

  label {
    display: block;
    text-align: center;
    margin-top: 1rem;
  }

  .infoDescr {
    display: inline-block;
    margin: 0 4px;
  }

  .infoDescr,
  .infoKondi {
    width: 15px;
    height: auto;
    cursor: pointer;
  }

  .infoTextDescr {
    width: 200px;
    position: absolute;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 1rem;
    margin: 0.5rem auto 0 auto;
    left: 0;
    right: 0;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
    z-index: 2;
    will-change: filter;
  }

  .george {
    width: 350px !important;
    left: 165px !important;
    top: 0;
  }

  .infoTextKondi {
    width: 170px;
    position: absolute;
    background-color: #fff;
    border-radius: 0.75rem;
    padding: 0.625rem;
    margin: 1rem auto 0 auto;
    left: 0;
    right: 0;
    filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 0.25));
    z-index: 2;
    will-change: filter;
  }

  .infoDescr + .infoTextDescr,
  .infoKondi + .infoTextKondi {
    display: none;
  }

  .disclaimerTablet {
    background-color: #f4f6fa;
    max-width: 1230px;
    margin: auto;
    display: block;
    padding: 0 1rem 2rem;
  }

  .disclaimerTablet > div:first-child {
    margin-bottom: 1rem;
  }

}

/* Desktop size */
/* @media (min-width: 992px) {
  .componentContent {
    overflow-x: visible;
  }
} */

@media (min-width: 1320px) {
  .sticky {
    border-right: 0px solid #f4f6fa;
  }
}

@media (hover: hover) {
  .infoDescr:hover + .infoTextDescr,
  .infoKondi:hover + .infoTextKondi {
    display: block;
  }
}