/* Furbase Funktionsseite – Funktionsraster und App-Abschnitt
   Scope: .fb-feat (wird nur auf der Seite "Funktionen" geladen)
   Tokens sind bewusst hier dupliziert, damit die Datei unabhängig von
   pricing.css funktioniert und beide Seiten sich nicht gegenseitig beeinflussen. */

.fb-feat {
  --fb-ink: #07375f;
  --fb-ink-soft: #0d4b7d;
  --fb-muted: #526c85;
  --fb-accent: #ff6545;
  --fb-accent-dark: #e2472a;
  --fb-green: #16764f;
  --fb-line: #e4ebf2;
  --fb-line-strong: #cfdbe6;
  --fb-card: #ffffff;
  --fb-tint: #fff7f4;
  --fb-radius: 18px;
  --fb-ease: cubic-bezier(.2, .8, .2, 1);
  --fb-shadow: 0 2px 4px rgba(7, 55, 95, .04), 0 14px 34px rgba(7, 55, 95, .06);
  --fb-shadow-hover: 0 4px 8px rgba(7, 55, 95, .05), 0 26px 54px rgba(7, 55, 95, .13);

  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  /* margin-bottom bringt den Abstand zum Footer auf denselben Wert
     wie auf der Preisseite (dort entsteht er durch den Onboarding-Block) */
  margin: 0 auto clamp(28px, 4vw, 52px);
  padding: clamp(12px, 4vw, 32px) clamp(16px, 4vw, 24px) clamp(16px, 3vw, 32px);
  color: var(--fb-ink);
  font-family: "Poppins", "Helvetica Neue", Arial, sans-serif;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

.fb-feat *,
.fb-feat *::before,
.fb-feat *::after {
  box-sizing: border-box;
}

/* ---------------------------------------------------------------- Kopfbereich */

.fb-feat__head {
  max-width: 760px;
  margin: 0 auto clamp(32px, 5vw, 52px);
  text-align: center;
}

.fb-feat__title {
  margin: 0 0 14px;
  color: var(--fb-ink);
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.015em;
}

.fb-feat__title em {
  color: var(--fb-accent);
  font-style: normal;
}

.fb-feat__lead {
  margin: 0 auto;
  max-width: 680px;
  color: var(--fb-muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

/* ---------------------------------------------------------------- Funktionsraster */

/* Neun Funktionen – 3x3 geht sauber auf */
.fb-feat__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.fb-fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: var(--fb-card);
  box-shadow: var(--fb-shadow);
  transition: transform .38s var(--fb-ease), box-shadow .38s var(--fb-ease), border-color .38s var(--fb-ease);
}

.fb-fcard::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--fb-mx, 50%) var(--fb-my, 0%), rgba(255, 101, 69, .09), transparent 62%);
  opacity: 0;
  transition: opacity .35s var(--fb-ease);
  pointer-events: none;
}

@media (hover: hover) {
  .fb-fcard:hover {
    transform: translateY(-6px);
    border-color: var(--fb-line-strong);
    box-shadow: var(--fb-shadow-hover);
  }

  .fb-fcard:hover::before {
    opacity: 1;
  }

  .fb-fcard:hover .fb-fcard__icon {
    background: var(--fb-accent);
    color: #fff;
    transform: scale(1.06) rotate(-4deg);
  }
}

.fb-fcard__body {
  position: relative;
  z-index: 1;
}

.fb-fcard__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: var(--fb-tint);
  color: var(--fb-accent);
  transition: background-color .35s var(--fb-ease), color .35s var(--fb-ease), transform .35s var(--fb-ease);
}

.fb-fcard__icon svg {
  width: 23px;
  height: 23px;
}

.fb-fcard__title {
  margin: 0 0 9px;
  color: var(--fb-ink);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.fb-fcard__text {
  margin: 0;
  color: var(--fb-muted);
  font-size: .93rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------------- App-Abschnitt */

.fb-apps {
  position: relative;
  margin-top: clamp(34px, 5vw, 56px);
  padding: clamp(30px, 4vw, 46px);
  border-radius: var(--fb-radius);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 101, 69, .28) 0%, transparent 55%),
    linear-gradient(135deg, var(--fb-ink) 0%, var(--fb-ink-soft) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.fb-apps::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -180px;
  z-index: -1;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.fb-apps__head {
  max-width: 720px;
  margin-bottom: clamp(24px, 3vw, 34px);
}

.fb-apps__kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fb-apps__title {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.45rem, 2.8vw, 1.95rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
}

.fb-apps__lead {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.65;
}

.fb-apps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.fb-app {
  display: flex;
  flex-direction: column;
  padding: 26px 24px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  transition: border-color .35s var(--fb-ease), background-color .35s var(--fb-ease), transform .35s var(--fb-ease);
}

@media (hover: hover) {
  .fb-app:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .12);
  }
}

.fb-app__role {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 12px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.01em;
}

.fb-app__role svg {
  width: 19px;
  height: 19px;
  flex: none;
  color: var(--fb-accent);
}

.fb-app__text {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  line-height: 1.6;
}

.fb-app__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fb-app__list li {
  position: relative;
  margin: 0;
  padding-left: 24px;
  color: rgba(255, 255, 255, .88);
  font-size: .92rem;
  line-height: 1.45;
}

.fb-app__list li::after {
  content: "";
  position: absolute;
  top: .34em;
  left: 2px;
  width: 11px;
  height: 6px;
  border-bottom: 2.2px solid var(--fb-accent);
  border-left: 2.2px solid var(--fb-accent);
  transform: rotate(-45deg);
}

/* Store-Buttons */

/* Download-Zeile unter den beiden Rollen – eine App, ein Downloadpunkt */
.fb-apps__download {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(22px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.fb-apps__download-text {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: .98rem;
  line-height: 1.55;
}

.fb-stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fb-store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 11px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  text-decoration: none;
  transition: border-color .3s var(--fb-ease), background-color .3s var(--fb-ease), transform .3s var(--fb-ease);
}

a.fb-store:hover,
a.fb-store:focus-visible {
  transform: translateY(-2px);
  border-color: #fff;
  background: rgba(255, 255, 255, .14);
}

.fb-store:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.fb-store svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.fb-store__label {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.fb-store__small {
  color: rgba(255, 255, 255, .68);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .02em;
}

.fb-store__name {
  font-size: .95rem;
  font-weight: 700;
}

/* ---------------------------------------------------------------- Abschluss-Hinweis */

/* Baugleich mit .fb-incl auf der Preisseite, damit beide Bloecke
   dieselbe Hoehe und Aufteilung haben. */
.fb-feat__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin: clamp(28px, 4vw, 44px) 0 0;
  padding: clamp(26px, 4vw, 34px);
  border: 1px solid var(--fb-line);
  border-radius: var(--fb-radius);
  background: #fbfcfe;
}

.fb-feat__note-text {
  min-width: 0;
  flex: 1 1 420px;
}

.page-id-158 .fb-feat__note-title {
  margin: 0 0 6px !important;
  color: var(--fb-ink) !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}

.fb-feat__note-sub {
  margin: 0;
  color: var(--fb-muted);
  font-size: .96rem;
  line-height: 1.6;
}

.fb-feat__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--fb-accent-dark);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.fb-feat__link svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform .35s var(--fb-ease);
}

.fb-feat__link:hover svg,
.fb-feat__link:focus-visible svg {
  transform: translateX(4px);
}

.fb-feat__link:focus-visible {
  outline: 2px solid var(--fb-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------- Einblenden */

.fb-feat .fb-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--fb-ease), transform .6s var(--fb-ease);
  transition-delay: var(--fb-delay, 0ms);
}

.fb-feat .fb-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ----------------------------------------------------------------
   Overrides gegen das globale Elementor-Kit (Überschriften und Links) */

.fb-feat a {
  text-decoration: none !important;
}

.fb-feat .fb-feat__title {
  color: var(--fb-ink) !important;
  font-size: clamp(1.9rem, 4.2vw, 2.9rem) !important;
  font-weight: 700 !important;
  line-height: 1.12 !important;
  letter-spacing: -.015em !important;
  text-transform: none !important;
  margin: 0 0 14px !important;
}

.fb-feat .fb-feat__title em {
  color: var(--fb-accent) !important;
  font-style: normal !important;
}

.fb-feat .fb-fcard__title {
  color: var(--fb-ink) !important;
  font-size: 1.12rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -.01em !important;
  text-transform: none !important;
  margin: 0 0 9px !important;
}

.fb-feat .fb-apps__title,
.fb-feat .fb-app__role {
  color: #fff !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -.015em !important;
  text-transform: none !important;
}

.fb-feat .fb-apps__title {
  font-size: clamp(1.45rem, 2.8vw, 1.95rem) !important;
  margin: 0 0 12px !important;
}

.fb-feat .fb-app__role {
  font-size: 1.15rem !important;
  margin: 0 0 12px !important;
}

.fb-feat .fb-apps__lead,
.fb-feat .fb-app__text,
.fb-feat .fb-app__list li,
.fb-feat .fb-apps__download-text {
  color: rgba(255, 255, 255, .82) !important;
}

.fb-feat .fb-apps__kicker {
  text-transform: uppercase !important;
}

.fb-feat .fb-store,
.fb-feat .fb-store * {
  color: #fff !important;
}

.fb-feat .fb-store__small {
  color: rgba(255, 255, 255, .68) !important;
}

.fb-feat .fb-feat__link {
  color: var(--fb-accent-dark) !important;
}

.fb-feat .fb-feat__link:hover,
.fb-feat .fb-feat__link:focus-visible {
  color: var(--fb-ink) !important;
}

/* ----------------------------------------------------------------
   Vertikaler Rhythmus an die Preisseite angleichen.
   Der Elementor-Abschnitt der Funktionsseite bringt zusaetzlich 66px
   Innenabstand mit, dadurch stand das Modul deutlich tiefer als auf
   der Preisseite. Hier auf denselben Abstand zu Header und Footer bringen. */

.page-id-158 .elementor-element-1f5b8bb > .e-con-inner,
.page-id-158 .elementor-element-1f5b8bb {
  padding-top: 0;
  padding-bottom: 0;
}

/* Links im Fliesstext des Kopfbereichs müssen als Links erkennbar sein –
   .fb-feat a setzt sonst text-decoration auf none. */
.fb-feat .fb-feat__lead a {
  color: var(--fb-accent-dark) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .25s var(--fb-ease);
}

.fb-feat .fb-feat__lead a:hover,
.fb-feat .fb-feat__lead a:focus-visible {
  color: var(--fb-ink) !important;
}

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1080px) {
  .fb-feat__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 700px) {
  .fb-apps__download {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .fb-apps__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .fb-feat__grid {
    grid-template-columns: 1fr;
  }

  .fb-fcard {
    padding: 24px 20px;
  }

  .fb-apps {
    padding: 26px 20px;
  }

  .fb-stores {
    flex-direction: column;
  }

  .fb-store {
    justify-content: center;
    width: 100%;
  }

  .fb-feat__note {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }
}

/* ---------------------------------------------------------------- Reduzierte Bewegung */

@media (prefers-reduced-motion: reduce) {
  .fb-feat *,
  .fb-feat *::before,
  .fb-feat *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .fb-feat .fb-reveal {
    opacity: 1;
    transform: none;
  }

  .fb-fcard:hover,
  .fb-app:hover {
    transform: none;
  }
}
