.eo-functions-hero {
  position: relative;
  overflow: hidden;
  padding: 75px 0;
  background: radial-gradient(circle at 22% 98%, rgba(62, 194, 183, 0.1), transparent 34%), radial-gradient(circle at 18% 86%, rgba(46, 110, 207, 0.12), transparent 32%), #fff;
}

.eo-functions-hero__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.eo-functions-hero__content {
  position: relative;
  z-index: 2;
}

.eo-functions-hero__highlights {
  display: grid;
  gap: 12px;
  margin-top: 26px;
  max-width: 520px;
}

.eo-functions-hero__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #10243f;
  font-weight: 700;
  font-size: 17px;
}

.eo-functions-hero__highlight span {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  flex: 0 0 22px;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
  position: relative;
  box-shadow: 0 10px 24px rgba(46, 110, 207, 0.18);
}

.eo-functions-hero__highlight span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 7px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.eo-functions-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  margin-top: 34px;
}

.eo-functions-text-link {
  color: #17345d;
  font-weight: 800;
  text-decoration: none;
}

.eo-functions-text-link:hover {
  color: #2e6ecf;
}

.eo-functions-hero__visual {
  position: relative;
  z-index: 1;
  margin-right: -70px;
  isolation: isolate;
}

.eo-functions-hero__visual img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 34px;
}

/* Fades sorgen dafür, dass keine Bildkanten sichtbar wirken */
.eo-functions-hero__fade {
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.eo-functions-hero__fade--left {
  left: -2px;
  top: 0;
  bottom: 0;
  width: 28%;
  background: linear-gradient(
    to right,
    #fff 0%,
    rgba(255,255,255,0.92) 28%,
    rgba(255,255,255,0.55) 58%,
    rgba(255,255,255,0) 100%
  );
}

.eo-functions-hero__fade--top {
  left: 0;
  right: 0;
  top: -2px;
  height: 18%;
  background: linear-gradient(
    to bottom,
    #fff 0%,
    rgba(255,255,255,0.78) 45%,
    rgba(255,255,255,0) 100%
  );
}

.eo-functions-hero__fade--bottom {
  left: 0;
  right: 0;
  bottom: -2px;
  height: 20%;
  background: linear-gradient(
    to top,
    #fff 0%,
    rgba(255,255,255,0.76) 42%,
    rgba(255,255,255,0) 100%
  );
}

/* falls dein H1-Span noch nicht global gestylt ist */
.eo-functions-hero .eo-h1 span {
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eo-premium-grid {
  display: grid;
  gap: 24px;
  margin-top: 44px;
}

.eo-premium-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eo-premium-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(15,23,42,0.07);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 22px 55px rgba(15,23,42,0.08);
}

.eo-premium-card__number {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
  color: #fff;
  font-weight: 900;
  margin-bottom: 22px;
}

.eo-premium-card h3 {
  margin-bottom: 12px;
  color: #10243f;
}

.eo-premium-card p {
  margin: 0;
  color: #52647c;
  line-height: 1.6;
}

.eo-functions-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.eo-functions-module-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 30px;
  padding: 30px;
  box-shadow: 0 22px 55px rgba(15,23,42,0.08);
  transition: all .25s ease;
}

.eo-functions-module-card:hover {
  box-shadow: 0 28px 70px rgba(15,23,42,0.12);
}

.eo-functions-module-card__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.eo-functions-module-card__header h3 {
  margin: 0;
  font-size: 20px;
  color: #10243f;
  line-height: 1.2;
  font-weight: 600;
}

.eo-functions-module-card__icon {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 19px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
  box-shadow: 0 18px 40px rgba(46, 110, 207, 0.18);
  flex: 0 0 58px;
}

.eo-functions-module-card__icon svg {
  width: 27px;
  height: 27px;
  display: block;
  stroke: currentColor;
}

.eo-functions-module-card__desc {
  color: #52647c;
  line-height: 1.6;
  margin-bottom: 0;
  min-height: 144px;
}

ul.haken {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

ul.haken li {
  position: relative;
  padding: 14px 16px 14px 48px;
  border-radius: 18px;
  background: #f8fbff;
  border: 1px solid rgba(15,23,42,0.06);
  color: #17345d;
  font-weight: 700;
  line-height: 1.5;
  transition: all .2s ease;
}

ul.haken li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
}

ul.haken li::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-60%) rotate(45deg);
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
}

ul.haken li:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(15,23,42,0.08);
}

.eo-functions-process {
  padding: 50px 0;
  background: #fff;
}

.eo-functions-process__line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 48px;
}

.eo-functions-process__step {
  position: relative;
  padding: 28px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 18px 45px rgba(15,23,42,0.07);
}

.eo-functions-process__step span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}

.eo-functions-process__step h3 {
  color: #10243f;
  margin-bottom: 10px;
}

.eo-functions-process__step p {
  color: #52647c;
  line-height: 1.55;
  margin: 0;
}

.eo-functions-erp-box {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  padding: 54px;
  border-radius: 38px;
  background:
    radial-gradient(circle at 90% 0%, rgba(62,194,183,0.18), transparent 36%),
    radial-gradient(circle at 10% 100%, rgba(46,110,207,0.14), transparent 34%),
    #fff;
  box-shadow: 0 28px 75px rgba(15,23,42,0.09);
  border: 1px solid rgba(15,23,42,0.06);
}

.eo-functions-erp-box__grid {
  display: grid;
  gap: 16px;
}

.eo-functions-erp-box__grid article {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 16px 38px rgba(15,23,42,0.06);
}

.eo-functions-erp-box__grid strong {
  display: block;
  color: #10243f;
  font-size: 18px;
  margin-bottom: 7px;
}

.eo-functions-erp-box__grid span {
  display: block;
  color: #52647c;
  line-height: 1.55;
}

.eo-functions-feature-tabs {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  margin-top: 46px;
  align-items: start;
}

.eo-functions-feature-tabs__nav {
  position: sticky;
  top: 110px;
  display: grid;
  gap: 14px;
}

.eo-functions-feature-tabs__nav button {
  width: 100%;
  text-align: left;
  border: 1px solid rgba(15,23,42,0.08);
  background: #fff;
  border-radius: 24px;
  padding: 22px;
  color: #10243f;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(15,23,42,0.06);
  cursor: pointer;
  transition: all .25s ease;
}

.eo-functions-feature-tabs__nav button span {
  display: block;
  margin-top: 8px;
  color: #64748b;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.eo-functions-feature-tabs__nav button.active {
  color: #fff;
  border-color: #eee;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
}

.eo-functions-feature-tabs__nav button.active span {
  color: rgba(255,255,255,0.82);
}

.eo-functions-feature-tabs__content {
  min-width: 0;
}

.eo-functions-feature-panel {
  display: none;
  padding: 38px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 100% 0%, rgba(62,194,183,0.12), transparent 34%),
    #fff;
  border: 1px solid rgba(15,23,42,0.07);
  box-shadow: 0 24px 65px rgba(15,23,42,0.08);
}

.eo-functions-feature-panel.active {
  display: block;
  animation: eoFadeUp .28s ease;
}

.eo-functions-feature-panel__head {
  max-width: 820px;
  margin-bottom: 30px;
}

.eo-functions-feature-panel__head span {
  display: inline-block;
  color: #2e6ecf;
  font-weight: 900;
  margin-bottom: 10px;
}

.eo-functions-feature-panel__head h3 {
  font-size: 34px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #071b36;
}

.eo-functions-feature-panel__head p {
  color: #52647c;
  line-height: 1.65;
}

.eo-functions-feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.eo-functions-feature-list article {
  position: relative;
  padding: 24px 24px 24px 58px;
  border-radius: 24px;
  background: #f8fbff;
  border: 1px solid rgba(15,23,42,0.06);
}

.eo-functions-feature-list article::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 28px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3ec2b7 0%, #2e6ecf 100%);
}

.eo-functions-feature-list article::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 32px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.eo-functions-feature-list h4 {
  margin-bottom: 8px;
  color: #10243f;
  font-size: 18px;
}

.eo-functions-feature-list p {
  margin: 0;
  color: #52647c;
  line-height: 1.6;
}

.eo-functions-final-cta {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 46px;
  align-items: center;
  padding: 64px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 90% 10%, rgba(62,194,183,0.22), transparent 34%),
    radial-gradient(circle at 10% 90%, rgba(46,110,207,0.16), transparent 36%),
    #fff;
  box-shadow: 0 30px 85px rgba(15,23,42,0.11);
  border: 1px solid rgba(15,23,42,0.06);
}

.eo-functions-final-cta__content .eo-h2 {
  max-width: 850px;
}

.eo-functions-final-cta__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.eo-functions-final-cta__facts span {
  padding: 10px 15px;
  border-radius: 999px;
  background: #f3f8ff;
  color: #17345d;
  font-weight: 800;
}

.eo-functions-final-cta__action {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.eo-functions-final-cta__action small {
  color: #64748b;
  line-height: 1.5;
}

@keyframes eoFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .eo-functions-hero {
    padding: 50px 0;
  }

  .eo-functions-hero__layout,
  .eo-premium-grid--3,
  .eo-functions-module-grid,
  .eo-functions-process__line,
  .eo-functions-erp-box,
  .eo-functions-feature-tabs,
  .eo-functions-final-cta {
    grid-template-columns: 1fr;
  }

  .eo-functions-hero__layout {
    gap: 42px;
  }

  .eo-functions-module-card__desc {
    min-height: auto;
  }

  ul.haken {
    gap: 10px;
  }

  ul.haken li {
    padding: 12px 14px 12px 42px;
    border-radius: 16px;
    font-size: 14.5px;
  }

  ul.haken li::before {
    width: 18px;
    height: 18px;
    left: 14px;
  }

  ul.haken li::after {
    left: 19px;
    width: 5px;
    height: 9px;
  }

  .eo-functions-feature-tabs {
    display: block;
    margin-top: 30px;
  }

  .eo-functions-feature-tabs__nav {
    position: relative;
    top: auto;
    display: flex;
    grid-template-columns: none;
    gap: 10px;
    overflow-x: auto;
    padding: 4px 4px 14px;
    margin: 0 -4px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .eo-functions-feature-tabs__nav::-webkit-scrollbar {
    display: none;
  }

  .eo-functions-feature-tabs__nav button {
    flex: 0 0 auto;
    width: auto;
    min-width: 210px;
    max-width: 230px;
    scroll-snap-align: start;
    border-radius: 18px;
    padding: 15px 16px;
    font-size: 15px;
    line-height: 1.25;
    box-shadow: 0 10px 26px rgba(15,23,42,0.07);
  }

  .eo-functions-feature-tabs__nav button span {
    display: none;
  }

  .eo-functions-feature-panel {
    padding: 24px;
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15,23,42,0.08);
  }

  .eo-functions-feature-panel__head {
    margin-bottom: 22px;
  }

  .eo-functions-feature-panel__head span {
    font-size: 13px;
    margin-bottom: 8px;
  }

  .eo-functions-feature-panel__head h3 {
    font-size: 25px;
    line-height: 1.2;
    margin-bottom: 10px;
  }

  .eo-functions-feature-panel__head p {
    font-size: 15px;
    line-height: 1.55;
    margin-bottom: 0;
  }

  .eo-functions-feature-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .eo-functions-feature-list article {
    padding: 18px 18px 18px 48px;
    border-radius: 20px;
  }

  .eo-functions-feature-list article::before {
    left: 18px;
    top: 22px;
    width: 18px;
    height: 18px;
  }

  .eo-functions-feature-list article::after {
    left: 24px;
    top: 25px;
    width: 5px;
    height: 9px;
  }

  .eo-functions-feature-list h4 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .eo-functions-feature-list p {
    font-size: 14.5px;
    line-height: 1.55;
  }

  .eo-functions-erp-box,
  .eo-functions-final-cta {
    padding: 30px;
  }
}

@media (max-width: 575px) {
  .eo-functions-feature-tabs {
    margin-top: 24px;
  }

  .eo-functions-feature-tabs__nav {
    gap: 8px;
    margin-bottom: 14px;
  }

  .eo-functions-feature-tabs__nav button {
    min-width: 175px;
    max-width: 190px;
    padding: 13px 14px;
    border-radius: 16px;
    font-size: 14px;
  }

  .eo-functions-feature-panel {
    padding: 20px;
    border-radius: 24px;
  }

  .eo-functions-feature-panel__head h3 {
    font-size: 23px;
  }

  .eo-functions-feature-panel__head p {
    font-size: 14.5px;
  }

  .eo-functions-feature-list article {
    padding: 16px 16px 16px 44px;
  }
}