/**
 * Lukas Teissl – Webinar- und Terminbox für die Finanzexperten-Seiten
 * Mobile-first, vollständig auf .teisslfx begrenzt.
 */
.teisslfx .fx-events-section {
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(50px, 6vw, 78px);
  background: #fff;
}

.teisslfx .fx-events-card,
.teisslfx .fx-events-card * {
  min-width: 0;
}

.teisslfx .fx-events-card {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  overflow: hidden;
  padding: 22px 18px;
  border: 1px solid rgba(37, 99, 235, .15);
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(58, 139, 3, .13), transparent 33%),
    radial-gradient(circle at 0% 100%, rgba(124, 58, 237, .10), transparent 38%),
    linear-gradient(145deg, #fbfdff 0%, #f5f9ff 52%, #f4faef 100%);
  box-shadow: 0 20px 58px rgba(11, 18, 32, .10);
}

.teisslfx .fx-events-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -86px;
  right: -78px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(58, 139, 3, .13);
  border-radius: 50%;
  pointer-events: none;
}

.teisslfx .fx-events-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 20%;
  bottom: -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(37, 99, 235, .045);
  filter: blur(1px);
  pointer-events: none;
}

.teisslfx .fx-events-copy,
.teisslfx .fx-events-visual {
  width: 100%;
  max-width: 100%;
}

.teisslfx .fx-events-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  margin-bottom: 12px;
  padding: 7px 11px;
  border: 1px solid rgba(58, 139, 3, .18);
  border-radius: 999px;
  color: #286500;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 8px 22px rgba(11, 18, 32, .05);
  font-size: .75rem;
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: .045em;
  text-transform: uppercase;
}

.teisslfx .fx-events-eyebrow i {
  flex: 0 0 auto;
  color: #3a8b03;
  font-size: .9rem;
}

.teisslfx .fx-events-title {
  max-width: 760px;
  margin: 0 0 11px;
  color: #0b1220;
  font-size: clamp(1.62rem, 7vw, 2.45rem);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: -.035em;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

.teisslfx .fx-events-lead {
  max-width: 760px;
  margin: 0 0 17px;
  color: #445065;
  font-size: .94rem;
  line-height: 1.62;
}

.teisslfx .fx-events-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.teisslfx .fx-events-feature {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 999px;
  color: #253044;
  background: rgba(255, 255, 255, .82);
  font-size: .78rem;
  font-weight: 820;
  line-height: 1.25;
}

.teisslfx .fx-events-feature i {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: .82rem;
}

.teisslfx .fx-events-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.teisslfx .fx-events-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, border-color .18s ease;
}

.teisslfx .fx-events-button:hover,
.teisslfx .fx-events-button:focus-visible {
  transform: translateY(-2px);
}

.teisslfx .fx-events-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .20);
  outline-offset: 3px;
}

.teisslfx .fx-events-button--primary {
  color: #fff !important;
  background: linear-gradient(135deg, #3a8b03, #286500);
  box-shadow: 0 15px 34px rgba(58, 139, 3, .23);
}

.teisslfx .fx-events-button--primary:hover,
.teisslfx .fx-events-button--primary:focus-visible {
  color: #fff !important;
  box-shadow: 0 19px 40px rgba(58, 139, 3, .29);
}

.teisslfx .fx-events-button--secondary {
  color: #0b1220 !important;
  border-color: rgba(15, 23, 42, .12);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 25px rgba(11, 18, 32, .06);
}

.teisslfx .fx-events-button--secondary:hover,
.teisslfx .fx-events-button--secondary:focus-visible {
  color: #2563eb !important;
  border-color: rgba(37, 99, 235, .24);
  background: #fff;
}

.teisslfx .fx-events-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 12px 0 0;
  color: #6b7280;
  font-size: .76rem;
  line-height: 1.45;
}

.teisslfx .fx-events-note i {
  flex: 0 0 auto;
  margin-top: 3px;
  color: #3a8b03;
}

.teisslfx .fx-events-visual {
  display: grid;
  gap: 9px;
}

.teisslfx .fx-events-tile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(15, 23, 42, .075);
  border-radius: 17px;
  background: rgba(255, 255, 255, .90);
  box-shadow: 0 9px 24px rgba(11, 18, 32, .055);
}

.teisslfx .fx-events-tile-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: #2563eb;
  background: linear-gradient(135deg, rgba(37, 99, 235, .11), rgba(124, 58, 237, .09));
  font-size: 1.02rem;
}

.teisslfx .fx-events-tile:nth-child(2) .fx-events-tile-icon {
  color: #3a8b03;
  background: rgba(58, 139, 3, .11);
}

.teisslfx .fx-events-tile:nth-child(3) .fx-events-tile-icon {
  color: #7c3aed;
  background: rgba(124, 58, 237, .10);
}

.teisslfx .fx-events-tile strong,
.teisslfx .fx-events-tile span {
  display: block;
}

.teisslfx .fx-events-tile strong {
  margin: 0;
  color: #0b1220;
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.28;
}

.teisslfx .fx-events-tile span {
  margin-top: 3px;
  color: #5f6b7a;
  font-size: .76rem;
  line-height: 1.42;
}

@media (min-width: 560px) {
  .teisslfx .fx-events-card {
    padding: 28px;
  }

  .teisslfx .fx-events-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .teisslfx .fx-events-button {
    width: auto;
  }

  .teisslfx .fx-events-tile {
    grid-template-columns: 48px minmax(0, 1fr);
    padding: 14px;
  }

  .teisslfx .fx-events-tile-icon {
    width: 48px;
    height: 48px;
  }
}

@media (min-width: 920px) {
  .teisslfx .fx-events-card {
    grid-template-columns: minmax(0, 1.17fr) minmax(330px, .83fr);
    gap: clamp(34px, 4vw, 54px);
    padding: 34px;
    border-radius: 28px;
  }

  .teisslfx .fx-events-title {
    max-width: 23ch;
    font-size: clamp(2rem, 2.8vw, 2.55rem);
  }

  .teisslfx .fx-events-lead {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .teisslfx .fx-events-section {
    padding-bottom: 48px;
  }

  .teisslfx .fx-events-card {
    gap: 18px;
    padding: 20px 15px;
    border-radius: 21px;
  }

  .teisslfx .fx-events-eyebrow {
    font-size: .68rem;
    letter-spacing: .035em;
  }

  .teisslfx .fx-events-title {
    font-size: clamp(1.48rem, 7.4vw, 1.82rem);
    line-height: 1.15;
  }

  .teisslfx .fx-events-lead {
    font-size: .89rem;
    line-height: 1.56;
  }

  .teisslfx .fx-events-feature {
    font-size: .73rem;
  }

  .teisslfx .fx-events-tile {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
    border-radius: 15px;
  }

  .teisslfx .fx-events-tile-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    font-size: .94rem;
  }

  .teisslfx .fx-events-tile strong {
    font-size: .84rem;
  }

  .teisslfx .fx-events-tile span {
    font-size: .71rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .teisslfx .fx-events-button {
    transition: none;
  }
}
